]> git.lyx.org Git - lyx.git/blob - lib/doc/UserGuide.lyx
doc files: correct preamble commands
[lyx.git] / lib / doc / UserGuide.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the User's Guide prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the User's Guide may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % for correct jump positions whe clicking on a link to a float
19 \usepackage[figure]{hypcap}
20
21 % the pages of the TOC is numbered roman
22 % and a pdf-bookmark for the TOC is added
23 \let\myTOC\tableofcontents
24 \renewcommand\tableofcontents{%
25   \frontmatter
26   \pdfbookmark[1]{\contentsname}{}
27   \myTOC
28   \mainmatter }
29
30 % macro for italic page numbers in the index
31 \newcommand{\IndexDef}[1]{\textit{#1}}
32
33 % for customized page headers/footers
34 % only needed because they are only used in one section of the document
35 \usepackage{fancyhdr}
36 % change header rule width
37 \renewcommand{\headrulewidth}{2pt}
38
39 % used to have extra space in table cells
40 \@ifundefined{extrarowheight}
41  {\usepackage{array}}{}
42 \setlength{\extrarowheight}{2pt}
43
44 % workaround for a makeindex bug,
45 % see sec. "Index Entry Order"
46 % only uncomment this when you are using makindex
47 %\let\OrgIndex\index 
48 %\renewcommand*{\index}[1]{\OrgIndex{#1}}
49 \end_preamble
50 \options refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
51 \use_default_options false
52 \begin_modules
53 customHeadersFooters
54 enumitem
55 \end_modules
56 \maintain_unincluded_children false
57 \language english
58 \language_package default
59 \inputencoding auto
60 \fontencoding global
61 \font_roman "lmodern" "default"
62 \font_sans "lmss" "default"
63 \font_typewriter "lmtt" "default"
64 \font_math "auto" "auto"
65 \font_default_family default
66 \use_non_tex_fonts false
67 \font_sc false
68 \font_osf false
69 \font_sf_scale 100 100
70 \font_tt_scale 100 100
71 \use_microtype false
72 \use_dash_ligatures false
73 \graphics default
74 \default_output_format pdf2
75 \output_sync 0
76 \bibtex_command bibtex
77 \index_command default
78 \paperfontsize 12
79 \spacing single
80 \use_hyperref true
81 \pdf_title "The LyX User's Guide"
82 \pdf_author "LyX Team"
83 \pdf_subject "LyX"
84 \pdf_keywords "LyX"
85 \pdf_bookmarks true
86 \pdf_bookmarksnumbered true
87 \pdf_bookmarksopen false
88 \pdf_bookmarksopenlevel 1
89 \pdf_breaklinks false
90 \pdf_pdfborder false
91 \pdf_colorlinks true
92 \pdf_backref false
93 \pdf_pdfusetitle false
94 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
95 \papersize default
96 \use_geometry false
97 \use_package amsmath 1
98 \use_package amssymb 1
99 \use_package cancel 1
100 \use_package esint 1
101 \use_package mathdots 1
102 \use_package mathtools 1
103 \use_package mhchem 1
104 \use_package stackrel 1
105 \use_package stmaryrd 1
106 \use_package undertilde 1
107 \cite_engine basic
108 \cite_engine_type default
109 \biblio_style plain
110 \use_bibtopic false
111 \use_indices false
112 \paperorientation portrait
113 \suppress_date false
114 \justification true
115 \use_refstyle 1
116 \use_minted 0
117 \notefontcolor #0000ff
118 \branch Question
119 \selected 1
120 \filename_suffix 0
121 \color #00ff00
122 \end_branch
123 \branch Answer
124 \selected 0
125 \filename_suffix 0
126 \color #aa55ff
127 \end_branch
128 \index Index
129 \shortcut idx
130 \color #008000
131 \end_index
132 \secnumdepth 3
133 \tocdepth 2
134 \paragraph_separation skip
135 \defskip medskip
136 \is_math_indent 0
137 \math_numbering_side default
138 \quotes_style english
139 \dynamic_quotes 0
140 \papercolumns 1
141 \papersides 2
142 \paperpagestyle default
143 \tracking_changes false
144 \output_changes false
145 \html_math_output 0
146 \html_css_as_file 0
147 \html_be_strict true
148 \end_header
149
150 \begin_body
151
152 \begin_layout Title
153 The \SpecialChar LyX
154  User's Guide
155 \end_layout
156
157 \begin_layout Author
158 by the \SpecialChar LyX
159  Team
160 \begin_inset Foot
161 status collapsed
162
163 \begin_layout Plain Layout
164 \noindent
165 If you have comments on or error corrections to this documentation, please
166  send them to the \SpecialChar LyX
167  Documentation mailing list: 
168 \begin_inset CommandInset href
169 LatexCommand href
170 target "lyx-docs@lists.lyx.org"
171 type "mailto:"
172 literal "false"
173
174 \end_inset
175
176
177 \end_layout
178
179 \end_inset
180
181
182 \begin_inset Newline newline
183 \end_inset
184
185
186 \begin_inset Newline newline
187 \end_inset
188
189 Version 2.3.x
190 \begin_inset Note Note
191 status collapsed
192
193 \begin_layout Plain Layout
194 The latest PDF-version of this document can be found here:
195 \begin_inset Newline newline
196 \end_inset
197
198
199 \series bold
200 https://wiki.lyx.org/LyX/Manuals#UserGuide
201 \end_layout
202
203 \end_inset
204
205
206 \end_layout
207
208 \begin_layout Standard
209 \begin_inset CommandInset toc
210 LatexCommand tableofcontents
211
212 \end_inset
213
214
215 \end_layout
216
217 \begin_layout Chapter
218 Getting Started
219 \end_layout
220
221 \begin_layout Section
222 What is \SpecialChar LyX
223 ?
224 \end_layout
225
226 \begin_layout Standard
227 \SpecialChar LyX
228  is a document preparation system.
229  It is a tool for producing beautiful manu\SpecialChar softhyphen
230 scripts, publishable books, business
231  letters and proposals, and even poetry.
232  It is unlike most other 
233 \begin_inset Quotes eld
234 \end_inset
235
236 word processors
237 \begin_inset Quotes erd
238 \end_inset
239
240  in the sense that it uses the paradigm of a markup language as its core
241  editing style.
242  That means that when you type a section header, you mark it as a 
243 \begin_inset Quotes eld
244 \end_inset
245
246 Section
247 \begin_inset Quotes erd
248 \end_inset
249
250 , not as 
251 \begin_inset Quotes eld
252 \end_inset
253
254 Bold, 17
255 \begin_inset space \thinspace{}
256 \end_inset
257
258 pt type, left justified, 5
259 \begin_inset space \thinspace{}
260 \end_inset
261
262 mm space below
263 \begin_inset Quotes erd
264 \end_inset
265
266 .
267  \SpecialChar LyX
268  takes care of the typesetting for you; so you deal only with concepts,
269  not with mechanics.
270 \end_layout
271
272 \begin_layout Standard
273 This philosophy is explained in greater detail in the 
274 \emph on
275 Introduction
276 \emph default
277  manual.
278  If you haven't read it yet, you need to.
279  Yes, we mean now.
280 \end_layout
281
282 \begin_layout Standard
283 The 
284 \emph on
285 Introduction
286 \emph default
287  manual describes several things in addition to \SpecialChar LyX
288 's philosophy: most importantly,
289  the format of all of the manuals.
290  If you don't read it, you will have a bear of a time navigating this manual.
291  You might also be better served looking in one of the other manuals instead
292  of this one.
293  The 
294 \emph on
295 Introduction
296 \emph default
297  manual describes that, too.
298 \end_layout
299
300 \begin_layout Section
301 How \SpecialChar LyX
302  Looks
303 \end_layout
304
305 \begin_layout Standard
306 Like most applications, \SpecialChar LyX
307  has the familiar menu bar across the top of its
308  window.
309  Below it is a toolbar with a pulldown box and various buttons.
310  There is, of course, a vertical scrollbar and a main work area for editing
311  documents.
312 \end_layout
313
314 \begin_layout Standard
315 Note that there is no horizontal scrollbar.
316  This is not a bug or an oversight, but intentional.
317  When you read a book, you expect the end of a line to wrap around to the
318  next line.
319  Text overflows onto new pages in a vertical fashion, hence the need for
320  only a vertical scrollbar.
321  There are three cases where you might want a horizontal scrollbar.
322  The first case is large images.
323  To avoid them being displayed larger than your screen, left click on the
324  image and use the option 
325 \family sans
326 Scale on Screen
327 \family default
328  in the tab 
329 \family sans
330 \SpecialChar LaTeX
331  and \SpecialChar LyX
332  options
333 \family default
334 .
335  The second and third cases are tables and equations which are wider than
336  the \SpecialChar LyX
337  window.
338  You can use the arrow keys to scroll horizontally through the table, but
339  this doesn't work for equations yet.
340 \end_layout
341
342 \begin_layout Standard
343 For a brief description of all \SpecialChar LyX
344  menus and toolbar buttons, have a look at
345  Appendix
346 \begin_inset space ~
347 \end_inset
348
349
350 \begin_inset CommandInset ref
351 LatexCommand ref
352 reference "chap:The-User-Interface"
353
354 \end_inset
355
356 .
357 \end_layout
358
359 \begin_layout Section
360 HELP
361 \end_layout
362
363 \begin_layout Standard
364 The help system consists of the \SpecialChar LyX
365  manuals.
366  You can read all of the manuals from inside \SpecialChar LyX
367 .
368  Just select the manual you want to read from the 
369 \family sans
370 Help
371 \family default
372  menu.
373 \end_layout
374
375 \begin_layout Section
376 Basic \SpecialChar LyX
377  Setup
378 \begin_inset CommandInset label
379 LatexCommand label
380 name "sec:Basic-LyX-Setup"
381
382 \end_inset
383
384
385 \end_layout
386
387 \begin_layout Standard
388 Almost all features of \SpecialChar LyX
389  can be configured via the menu 
390 \family sans
391 Tools\SpecialChar menuseparator
392 Preferences
393 \family default
394 .
395 \begin_inset Index idx
396 status collapsed
397
398 \begin_layout Plain Layout
399 Preferences
400 \end_layout
401
402 \end_inset
403
404  \SpecialChar LyX
405  is able to inspect your system to see what programs, \SpecialChar LaTeX
406  document classes
407  and \SpecialChar LaTeX
408  packages are available.
409  It uses this knowledge to give reasonable defaults for the preferences
410  settings.
411  Although this configuration has already been done when \SpecialChar LyX
412  was installed on
413  your system, you might have some items that you installed locally, e.
414 \begin_inset space \thinspace{}
415 \end_inset
416
417 g.
418 \begin_inset space \space{}
419 \end_inset
420
421 new \SpecialChar LaTeX
422  classes, and which are not seen by \SpecialChar LyX
423 .
424  To force \SpecialChar LyX
425  to re-inspect your system, you should use 
426 \family sans
427 Tools\SpecialChar menuseparator
428 Reconfigure
429 \family default
430 .
431 \begin_inset Index idx
432 status collapsed
433
434 \begin_layout Plain Layout
435 Reconfiguration of \SpecialChar LyX
436
437 \end_layout
438
439 \end_inset
440
441  You should then restart \SpecialChar LyX
442  to ensure that the changes are taken into account.
443 \end_layout
444
445 \begin_layout Section
446 \SpecialChar LaTeX
447  Setup
448 \begin_inset CommandInset label
449 LatexCommand label
450 name "sec:LaTeX-Setup"
451
452 \end_inset
453
454
455 \end_layout
456
457 \begin_layout Standard
458 You can edit documents in \SpecialChar LyX
459  without having \SpecialChar LaTeX
460  installed, but you will not be
461  able to create PDFs or print your documents unless you do have it installed.
462  However, some \SpecialChar LyX
463  documents use DocBook as the “backend” that can produce
464  PDFs and the like, and every \SpecialChar LyX
465  document can always be output as plain text
466  or as XHTML.
467 \end_layout
468
469 \begin_layout Standard
470 Some document classes may depend upon specific \SpecialChar LaTeX
471  or DocBook classes or packages.
472  Such document classes can be used even if you do not have the required
473  files installed, but you will not be able to produce certain kinds of output.
474 \end_layout
475
476 \begin_layout Standard
477 The \SpecialChar LaTeX
478  packages that \SpecialChar LyX
479  has found on your system are listed in a file you can
480  view from the menu 
481 \family sans
482 Help\SpecialChar menuseparator
483 LaTeX
484 \begin_inset space ~
485 \end_inset
486
487 Configuration
488 \family default
489 .
490  If you are missing packages you need, then you must install them and then
491  reconfigure \SpecialChar LyX
492  (menu 
493 \family sans
494 Tools\SpecialChar menuseparator
495 Reconfigure
496 \family default
497 ).
498 \begin_inset Index idx
499 status collapsed
500
501 \begin_layout Plain Layout
502 Reconfiguration of \SpecialChar LyX
503
504 \end_layout
505
506 \end_inset
507
508  See section 
509 \emph on
510 Installing new \SpecialChar LaTeX
511  files
512 \emph default
513  of the 
514 \emph on
515 Customization
516 \emph default
517  manual for more information on installing additional \SpecialChar LaTeX
518  packages.
519 \end_layout
520
521 \begin_layout Chapter
522 How to work with \SpecialChar LyX
523
524 \end_layout
525
526 \begin_layout Section
527 Basic File Operations
528 \begin_inset Index idx
529 status collapsed
530
531 \begin_layout Plain Layout
532 File Operations
533 \end_layout
534
535 \end_inset
536
537
538 \end_layout
539
540 \begin_layout Standard
541 Under the 
542 \family sans
543 File
544 \family default
545  menu and in the standard toolbar are basic operations for any word processor
546  in addition to some more advanced operations:
547 \end_layout
548
549 \begin_layout Itemize
550
551 \family sans
552 New, 
553 \family default
554
555 \begin_inset Info
556 type  "shortcut"
557 arg   "buffer-new"
558 \end_inset
559
560  or
561 \family sans
562  
563 \begin_inset Info
564 type  "icon"
565 arg   "buffer-new"
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Itemize
572
573 \family sans
574 New
575 \begin_inset space ~
576 \end_inset
577
578 from
579 \begin_inset space ~
580 \end_inset
581
582 Template, 
583 \family default
584
585 \begin_inset Info
586 type  "shortcut"
587 arg   "buffer-new-template"
588 \end_inset
589
590
591 \end_layout
592
593 \begin_layout Itemize
594
595 \family sans
596 Open, 
597 \family default
598
599 \begin_inset Info
600 type  "shortcut"
601 arg   "file-open"
602 \end_inset
603
604  or
605 \family sans
606  
607 \begin_inset Info
608 type  "icon"
609 arg   "file-open"
610 \end_inset
611
612
613 \end_layout
614
615 \begin_layout Itemize
616
617 \family sans
618 Open
619 \begin_inset space ~
620 \end_inset
621
622 Recent
623 \end_layout
624
625 \begin_layout Itemize
626
627 \family sans
628 Close, 
629 \family default
630
631 \begin_inset Info
632 type  "shortcut"
633 arg   "view-close"
634 \end_inset
635
636
637 \end_layout
638
639 \begin_layout Itemize
640
641 \family sans
642 Save, 
643 \family default
644
645 \begin_inset Info
646 type  "shortcut"
647 arg   "buffer-write"
648 \end_inset
649
650  or
651 \family sans
652  
653 \begin_inset Info
654 type  "icon"
655 arg   "buffer-write"
656 \end_inset
657
658
659 \end_layout
660
661 \begin_layout Itemize
662
663 \family sans
664 Save
665 \begin_inset space ~
666 \end_inset
667
668 As, 
669 \family default
670
671 \begin_inset Info
672 type  "shortcut"
673 arg   "buffer-write-as"
674 \end_inset
675
676
677 \end_layout
678
679 \begin_layout Itemize
680
681 \family sans
682 Revert
683 \begin_inset space ~
684 \end_inset
685
686 to
687 \begin_inset space ~
688 \end_inset
689
690 saved
691 \end_layout
692
693 \begin_layout Itemize
694
695 \family sans
696 Exit, 
697 \family default
698
699 \begin_inset Info
700 type  "shortcut"
701 arg   "lyx-quit"
702 \end_inset
703
704
705 \end_layout
706
707 \begin_layout Standard
708 They all do pretty much the same thing as in other word processors, with
709  a few minor differences.
710  The 
711 \family sans
712 File\SpecialChar menuseparator
713 New
714 \begin_inset space ~
715 \end_inset
716
717 from
718 \begin_inset space ~
719 \end_inset
720
721 Template
722 \family default
723  command lists the available templates.
724  Selecting a template will automatically set certain layout features for
725  the document, features you would otherwise need to change manually.
726  They can be of use for certain classes, especially those for writing letters
727  (see section
728 \begin_inset space ~
729 \end_inset
730
731
732 \begin_inset CommandInset ref
733 LatexCommand ref
734 reference "sec:Document-Classes"
735
736 \end_inset
737
738 ).
739 \end_layout
740
741 \begin_layout Standard
742 \begin_inset Note Greyedout
743 status open
744
745 \begin_layout Plain Layout
746
747 \series bold
748 Note:
749 \series default
750  There is no 
751 \begin_inset Quotes eld
752 \end_inset
753
754 default file
755 \begin_inset Quotes erd
756 \end_inset
757
758  or document named 
759 \begin_inset Quotes eld
760 \end_inset
761
762 Untitled
763 \begin_inset Quotes erd
764 \end_inset
765
766  or 
767 \begin_inset Quotes eld
768 \end_inset
769
770 scratch.
771 \begin_inset Quotes erd
772 \end_inset
773
774  Unless you tell \SpecialChar LyX
775  to open a file or create a new one, that big, blank space
776  is just that — a big, blank space.
777 \end_layout
778
779 \end_inset
780
781
782 \end_layout
783
784 \begin_layout Standard
785
786 \family sans
787 Revert
788 \begin_inset space ~
789 \end_inset
790
791 to
792 \begin_inset space ~
793 \end_inset
794
795 saved
796 \family default
797  and 
798 \family sans
799 Version
800 \begin_inset space ~
801 \end_inset
802
803 Control
804 \family default
805  are useful if more people work on the same document at the same time.
806 \begin_inset Foot
807 status collapsed
808
809 \begin_layout Plain Layout
810 If you plan to do this, you should check out the Version Control feature
811  in \SpecialChar LyX
812  also.
813  Read Additional Features\SpecialChar endofsentence
814
815 \end_layout
816
817 \end_inset
818
819  
820 \family sans
821 Revert
822 \begin_inset space ~
823 \end_inset
824
825 to
826 \begin_inset space ~
827 \end_inset
828
829 saved
830 \family default
831  will reload the document from disk.
832  You can of course also use it if you regret that you changed a document
833  and want to restore it to the last save.
834  With
835 \family sans
836  Version
837 \begin_inset space ~
838 \end_inset
839
840 Control 
841 \family default
842 you can register the changes you made to a document so that others can identify
843  them as your changes.
844 \end_layout
845
846 \begin_layout Section
847 Basic Editing Features
848 \begin_inset Index idx
849 status collapsed
850
851 \begin_layout Plain Layout
852 Editing
853 \end_layout
854
855 \end_inset
856
857
858 \begin_inset CommandInset label
859 LatexCommand label
860 name "sec:Basic-Editing-Features"
861
862 \end_inset
863
864
865 \end_layout
866
867 \begin_layout Standard
868 Like most modern word processors, \SpecialChar LyX
869  can perform cut and paste operations
870  on blocks of text, can move by character, word, or page of text, and can
871  delete whole words as well as individual characters.
872  The next four sections cover the basic \SpecialChar LyX
873  editing features and how to access
874  them.
875  We will start with cut and paste.
876 \end_layout
877
878 \begin_layout Standard
879 As you might expect, the 
880 \family sans
881 Edit
882 \family default
883  menu and the standard toolbar has the cut and paste commands, along with
884  various other editing features.
885  Some of these are special and covered in later sections.
886  The basic ones are:
887 \end_layout
888
889 \begin_layout Itemize
890
891 \family sans
892 Cut
893 \family default
894
895 \begin_inset Index idx
896 status collapsed
897
898 \begin_layout Plain Layout
899 Cut
900 \end_layout
901
902 \end_inset
903
904
905 \family sans
906
907 \family default
908
909 \begin_inset Info
910 type  "shortcut"
911 arg   "cut"
912 \end_inset
913
914  or
915 \family sans
916  
917 \family default
918
919 \begin_inset Info
920 type  "icon"
921 arg   "cut"
922 \end_inset
923
924
925 \end_layout
926
927 \begin_layout Itemize
928
929 \family sans
930 Copy
931 \family default
932
933 \begin_inset Index idx
934 status collapsed
935
936 \begin_layout Plain Layout
937 Copy
938 \end_layout
939
940 \end_inset
941
942
943 \family sans
944
945 \family default
946
947 \begin_inset Info
948 type  "shortcut"
949 arg   "copy"
950 \end_inset
951
952  or
953 \family sans
954  
955 \family default
956
957 \begin_inset Info
958 type  "icon"
959 arg   "copy"
960 \end_inset
961
962
963 \end_layout
964
965 \begin_layout Itemize
966
967 \family sans
968 Paste
969 \family default
970
971 \begin_inset Index idx
972 status collapsed
973
974 \begin_layout Plain Layout
975 Paste
976 \end_layout
977
978 \end_inset
979
980
981 \begin_inset Info
982 type  "shortcut"
983 arg   "paste"
984 \end_inset
985
986  or
987 \family sans
988  
989 \family default
990
991 \begin_inset Info
992 type  "icon"
993 arg   "paste"
994 \end_inset
995
996
997 \end_layout
998
999 \begin_layout Itemize
1000
1001 \family sans
1002 Paste
1003 \begin_inset space ~
1004 \end_inset
1005
1006 Recent
1007 \end_layout
1008
1009 \begin_layout Itemize
1010
1011 \family sans
1012 Paste
1013 \begin_inset space ~
1014 \end_inset
1015
1016 Special
1017 \end_layout
1018
1019 \begin_layout Itemize
1020
1021 \family sans
1022 Find
1023 \begin_inset space ~
1024 \end_inset
1025
1026 &
1027 \begin_inset space ~
1028 \end_inset
1029
1030 Replace
1031 \family default
1032
1033 \begin_inset Index idx
1034 status collapsed
1035
1036 \begin_layout Plain Layout
1037
1038 \family sans
1039 Find
1040 \end_layout
1041
1042 \end_inset
1043
1044
1045 \begin_inset Index idx
1046 status collapsed
1047
1048 \begin_layout Plain Layout
1049
1050 \family sans
1051 Replace
1052 \end_layout
1053
1054 \end_inset
1055
1056
1057 \family sans
1058
1059 \family default
1060
1061 \begin_inset Info
1062 type  "shortcut"
1063 arg   "dialog-show findreplaceadv"
1064 \end_inset
1065
1066  or
1067 \family sans
1068  
1069 \family default
1070
1071 \begin_inset Info
1072 type  "icon"
1073 arg   "dialog-show findreplace"
1074 \end_inset
1075
1076
1077 \end_layout
1078
1079 \begin_layout Standard
1080 The first three are self-explanatory.
1081  You can also copy text between \SpecialChar LyX
1082  and other programs by 
1083 \family sans
1084 Cut
1085 \family default
1086
1087 \family sans
1088 Copy
1089 \family default
1090  and 
1091 \family sans
1092 Paste
1093 \family default
1094 .
1095  
1096 \family sans
1097 Cut
1098 \family default
1099  and 
1100 \family sans
1101 Copy
1102 \family default
1103  put text in two versions into the clipboard (formatted and unformatted),
1104  so that other programs can choose the most suitable form.
1105  
1106 \family sans
1107 Paste
1108 \family default
1109  supports formatted and unformatted text as well, and additionally graphics.
1110  It tries to interpret the clipboard contents in an intelligent way.
1111  For example if the clipboard contains text in the format of comma separated
1112  values (CSV) and the cursor is inside a table, the text will be pasted
1113  into individual cells.
1114  The submenu of 
1115 \family sans
1116 Paste
1117 \begin_inset space ~
1118 \end_inset
1119
1120 Recent
1121 \family default
1122  shows you a list with the last strings you have pasted.
1123  You can insert one at the current cursor position by clicking on a list
1124  entry.
1125 \end_layout
1126
1127 \begin_layout Standard
1128 The submenu 
1129 \family sans
1130 Paste
1131 \begin_inset space ~
1132 \end_inset
1133
1134 Special
1135 \family default
1136  contains optional items for specific formats, depending on the clipboard
1137  contents.
1138  These include HTML, \SpecialChar LaTeX
1139 , Linkback
1140 \begin_inset space ~
1141 \end_inset
1142
1143 PDF
1144 \begin_inset Foot
1145 status collapsed
1146
1147 \begin_layout Plain Layout
1148 OS X only
1149 \end_layout
1150
1151 \end_inset
1152
1153 , PDF, PNG, JPEG and EMF.
1154  These menu items are useful if the clipboard contains the same contents
1155  in different formats, and you want to select one format explicitly.
1156  (E.
1157 \begin_inset space \thinspace{}
1158 \end_inset
1159
1160 g.
1161 \begin_inset space \space{}
1162 \end_inset
1163
1164 some programs put an image into the clipboard as graphics and as a short
1165  text which is often meaningless.) The menu item 
1166 \family sans
1167 Paste
1168 \begin_inset space ~
1169 \end_inset
1170
1171 Special\SpecialChar menuseparator
1172 Plain
1173 \begin_inset space ~
1174 \end_inset
1175
1176 Text,
1177 \begin_inset space \thinspace{}
1178 \end_inset
1179
1180 Join
1181 \begin_inset space ~
1182 \end_inset
1183
1184 Lines
1185 \family default
1186  is equivalent to 
1187 \family sans
1188 Paste
1189 \family default
1190 , with the only difference that it acts on text only.
1191  It will insert the text in the clipboard so that the whole text is inserted
1192  as one paragraph.
1193  A new paragraph is only started when there is a blank line in the text.
1194  Without 
1195 \family sans
1196 Join
1197 \begin_inset space ~
1198 \end_inset
1199
1200 Lines
1201 \family default
1202  the text is inserted as paragraphs where the line breaks of the text will
1203  start a new paragraph.
1204  This is for example useful to copy contents of tables from webpages to
1205  a table in \SpecialChar LyX
1206 .
1207  The items 
1208 \family sans
1209 Paste
1210 \begin_inset space ~
1211 \end_inset
1212
1213 Special\SpecialChar menuseparator
1214 Selection,
1215 \begin_inset space \thinspace{}
1216 \end_inset
1217
1218 Join
1219 \begin_inset space ~
1220 \end_inset
1221
1222 Lines
1223 \family default
1224  and 
1225 \family sans
1226 Paste
1227 \begin_inset space ~
1228 \end_inset
1229
1230 Special\SpecialChar menuseparator
1231 Selection
1232 \family default
1233  paste from the primary selection.
1234  This is normally the currently selected text.
1235 \end_layout
1236
1237 \begin_layout Standard
1238 The 
1239 \family sans
1240 Edit\SpecialChar menuseparator
1241 Find
1242 \begin_inset space ~
1243 \end_inset
1244
1245 &
1246 \begin_inset space ~
1247 \end_inset
1248
1249 Replace
1250 \family default
1251  item opens the 
1252 \family sans
1253 Find
1254 \begin_inset space ~
1255 \end_inset
1256
1257 and
1258 \begin_inset space ~
1259 \end_inset
1260
1261 Replace
1262 \family default
1263  dialog.
1264  Once you have found a word or expression, \SpecialChar LyX
1265  selects it.
1266  Hitting the 
1267 \family sans
1268 Replace
1269 \family default
1270  button replaces the selected text with the contents of the 
1271 \family sans
1272 Replace
1273 \begin_inset space ~
1274 \end_inset
1275
1276 with
1277 \family default
1278  field.
1279  You can click the 
1280 \family sans
1281 Find
1282 \begin_inset space ~
1283 \end_inset
1284
1285 Next
1286 \family default
1287  button to skip the current word.
1288  Hit 
1289 \family sans
1290 Replace
1291 \begin_inset space ~
1292 \end_inset
1293
1294 All
1295 \family default
1296  to replace all occurrences of the text in the document automatically.
1297  The 
1298 \family sans
1299 Case
1300 \begin_inset space ~
1301 \end_inset
1302
1303 sensitive
1304 \family default
1305  option can be used if you want the search to consider the case of the search
1306  word.
1307  If the toggle is set, searching for 
1308 \begin_inset Quotes eld
1309 \end_inset
1310
1311
1312 \family typewriter
1313 Test
1314 \family default
1315
1316 \begin_inset Quotes erd
1317 \end_inset
1318
1319  will not match the word 
1320 \begin_inset Quotes eld
1321 \end_inset
1322
1323
1324 \family typewriter
1325 test
1326 \family default
1327
1328 \begin_inset Quotes erd
1329 \end_inset
1330
1331 .
1332  The 
1333 \family sans
1334 Match whole words only
1335 \family default
1336  option can be used to force \SpecialChar LyX
1337  to only find complete words, e.
1338 \begin_inset space \thinspace{}
1339 \end_inset
1340
1341 g., searching for 
1342 \begin_inset Quotes eld
1343 \end_inset
1344
1345
1346 \family typewriter
1347 star
1348 \family default
1349
1350 \begin_inset Quotes erd
1351 \end_inset
1352
1353  will not match 
1354 \begin_inset Quotes eld
1355 \end_inset
1356
1357
1358 \family typewriter
1359 starlet
1360 \family default
1361
1362 \begin_inset Quotes erd
1363 \end_inset
1364
1365 .
1366  \SpecialChar LyX
1367  offers also an advanced 
1368 \family sans
1369 Find
1370 \begin_inset space ~
1371 \end_inset
1372
1373 &
1374 \begin_inset space ~
1375 \end_inset
1376
1377 Replace
1378 \family default
1379  feature that is described in section
1380 \begin_inset space ~
1381 \end_inset
1382
1383
1384 \begin_inset CommandInset ref
1385 LatexCommand ref
1386 reference "sec:Advanced-Find-and"
1387
1388 \end_inset
1389
1390 .
1391 \end_layout
1392
1393 \begin_layout Standard
1394 Things like notes, floats, etc.
1395 \begin_inset space \space{}
1396 \end_inset
1397
1398 (the so called 
1399 \begin_inset Quotes eld
1400 \end_inset
1401
1402 insets
1403 \begin_inset Quotes erd
1404 \end_inset
1405
1406 ) can be dissolved.
1407  This means that the inset is deleted and its content is left as normal
1408  text.
1409  Dissolving an inset is done by setting the cursor to the beginning of an
1410  inset and pressing 
1411 \family sans
1412 Backspace
1413 \family default
1414  or by setting the cursor to the end and pressing 
1415 \family sans
1416 Delete
1417 \family default
1418 .
1419 \end_layout
1420
1421 \begin_layout Standard
1422 Using the shortcut 
1423 \begin_inset Info
1424 type  "shortcuts"
1425 arg   "inset-select-all"
1426 \end_inset
1427
1428  while the cursor is in normal text selects the whole document.
1429  When the cursor is inside an inset 
1430 \begin_inset Info
1431 type  "shortcuts"
1432 arg   "inset-select-all"
1433 \end_inset
1434
1435  selects the content of the inset.
1436  Using 
1437 \begin_inset Info
1438 type  "shortcuts"
1439 arg   "inset-select-all"
1440 \end_inset
1441
1442  consecutively will increase the selection to the whole inset and then to
1443  the whole document.
1444  The shortcut 
1445 \begin_inset Info
1446 type  "shortcuts"
1447 arg   "command-sequence buffer-begin ; buffer-end-select"
1448 \end_inset
1449
1450  selects the whole document in every case and puts the cursor to the end
1451  of the document.
1452 \end_layout
1453
1454 \begin_layout Section
1455 Undo and Redo
1456 \begin_inset Index idx
1457 status collapsed
1458
1459 \begin_layout Plain Layout
1460 Redo
1461 \end_layout
1462
1463 \end_inset
1464
1465
1466 \begin_inset Index idx
1467 status collapsed
1468
1469 \begin_layout Plain Layout
1470 Undo
1471 \end_layout
1472
1473 \end_inset
1474
1475
1476 \begin_inset CommandInset label
1477 LatexCommand label
1478 name "sec:Undo-and-Redo"
1479
1480 \end_inset
1481
1482
1483 \end_layout
1484
1485 \begin_layout Standard
1486 If you make a mistake, you can easily recover from it.
1487  \SpecialChar LyX
1488  has a large-capacity undo/redo buffer.
1489  Select 
1490 \family sans
1491 Edit\SpecialChar menuseparator
1492 Undo
1493 \family default
1494  or the toolbar button 
1495 \begin_inset Info
1496 type  "icon"
1497 arg   "undo"
1498 \end_inset
1499
1500  to undo some mistake.
1501  If you accidentally undo too much, use 
1502 \family sans
1503 Edit\SpecialChar menuseparator
1504 Redo
1505 \family default
1506  or the toolbar button 
1507 \begin_inset Info
1508 type  "icon"
1509 arg   "redo"
1510 \end_inset
1511
1512  to 
1513 \begin_inset Quotes eld
1514 \end_inset
1515
1516 undo the undo.
1517 \begin_inset Quotes erd
1518 \end_inset
1519
1520  The undo mechanism is currently limited to 100
1521 \begin_inset space \thinspace{}
1522 \end_inset
1523
1524 steps to minimize memory overhead.
1525 \end_layout
1526
1527 \begin_layout Standard
1528 Note that if you revert back all changes to arrive at the document as it
1529  was last saved, the 
1530 \begin_inset Quotes eld
1531 \end_inset
1532
1533 changed
1534 \begin_inset Quotes erd
1535 \end_inset
1536
1537  status of the document is unfortunately not reset.
1538  This is a consequence of the 100
1539 \begin_inset space \thinspace{}
1540 \end_inset
1541
1542 step undo limit mentioned above.
1543 \end_layout
1544
1545 \begin_layout Standard
1546
1547 \family sans
1548 Undo
1549 \family default
1550  and 
1551 \family sans
1552 Redo
1553 \family default
1554  work on almost everything in \SpecialChar LyX
1555 .
1556  But they will not undo or redo text character by character, but by blocks
1557  of text.
1558 \end_layout
1559
1560 \begin_layout Section
1561 Mouse Operations
1562 \begin_inset Index idx
1563 status collapsed
1564
1565 \begin_layout Plain Layout
1566 Mouse Operations
1567 \end_layout
1568
1569 \end_inset
1570
1571
1572 \end_layout
1573
1574 \begin_layout Standard
1575 These are the most basic mouse operations.
1576 \end_layout
1577
1578 \begin_layout Enumerate
1579 Motion
1580 \end_layout
1581
1582 \begin_deeper
1583 \begin_layout Itemize
1584 Click the 
1585 \emph on
1586 left mouse button
1587 \emph default
1588  once anywhere in the edit window.
1589  The cursor moves to the text under the mouse.
1590 \end_layout
1591
1592 \end_deeper
1593 \begin_layout Enumerate
1594 Selecting Text
1595 \end_layout
1596
1597 \begin_deeper
1598 \begin_layout Itemize
1599 Hold down the 
1600 \emph on
1601 left mouse button
1602 \emph default
1603  and drag the mouse.
1604  \SpecialChar LyX
1605  marks the text between the old and new mouse positions.
1606  Use 
1607 \family sans
1608 Edit\SpecialChar menuseparator
1609 Copy
1610 \family default
1611  to create a copy of the text in \SpecialChar LyX
1612 's buffer (and the clipboard).
1613 \end_layout
1614
1615 \begin_layout Itemize
1616 Re-position the cursor and then paste the text back into \SpecialChar LyX
1617  using 
1618 \family sans
1619 Edit\SpecialChar menuseparator
1620 Paste
1621 \family default
1622 .
1623 \end_layout
1624
1625 \end_deeper
1626 \begin_layout Enumerate
1627 Insets (Footnotes, Notes, Floats, etc.)
1628 \end_layout
1629
1630 \begin_deeper
1631 \begin_layout Standard
1632 Right-click on them to set their properties.
1633  Also check the appropriate section of this manual for more details.
1634 \end_layout
1635
1636 \end_deeper
1637 \begin_layout Section
1638 Navigating
1639 \begin_inset CommandInset label
1640 LatexCommand label
1641 name "sec:Navigating"
1642
1643 \end_inset
1644
1645
1646 \begin_inset Index idx
1647 status collapsed
1648
1649 \begin_layout Plain Layout
1650 Navigating
1651 \end_layout
1652
1653 \end_inset
1654
1655
1656 \end_layout
1657
1658 \begin_layout Standard
1659 \SpecialChar LyX
1660  offers you several ways to navigate in documents:
1661 \end_layout
1662
1663 \begin_layout Itemize
1664 The 
1665 \family sans
1666 Navigate
1667 \family default
1668  menu lists all sections of the document as submenu entries that you can
1669  click to jump to the corresponding document part.
1670 \end_layout
1671
1672 \begin_layout Itemize
1673 The “Outline”, which is accessed either by the menu 
1674 \family sans
1675 View\SpecialChar menuseparator
1676 Outline
1677 \begin_inset space ~
1678 \end_inset
1679
1680 Pane
1681 \family default
1682  or by the toolbar button 
1683 \begin_inset Info
1684 type  "icon"
1685 arg   "dialog-toggle toc"
1686 \end_inset
1687
1688 .
1689 \end_layout
1690
1691 \begin_layout Itemize
1692 You can set bookmarks in your document under 
1693 \family sans
1694 Navigate\SpecialChar menuseparator
1695 Bookmarks
1696 \family default
1697  and use the same menu to return to them.
1698  Note that bookmarks are saved between sessions.
1699 \end_layout
1700
1701 \begin_layout Standard
1702 The toolbar button 
1703 \begin_inset Info
1704 type  "icon"
1705 arg   "bookmark-goto 0"
1706 \end_inset
1707
1708  (also 
1709 \family sans
1710 Navigate\SpecialChar menuseparator
1711 Bookmarks\SpecialChar menuseparator
1712 Navigate
1713 \begin_inset space ~
1714 \end_inset
1715
1716 Back
1717 \family default
1718 ) jumps to the position in the document where you recently changed something.
1719  This is useful when you have a large document and have navigated or scrolled
1720  to another document part to look for something, and want to go back to
1721  your last editing position.
1722 \end_layout
1723
1724 \begin_layout Standard
1725 By pressing the 
1726 \family sans
1727 F5
1728 \family default
1729  key the cursor will be vertically centered in \SpecialChar LyX
1730 's main window.
1731 \end_layout
1732
1733 \begin_layout Subsection
1734 The Outliner
1735 \begin_inset CommandInset label
1736 LatexCommand label
1737 name "subsec:The-Outliner"
1738
1739 \end_inset
1740
1741
1742 \begin_inset Index idx
1743 status collapsed
1744
1745 \begin_layout Plain Layout
1746 Navigating ! Outline
1747 \end_layout
1748
1749 \end_inset
1750
1751
1752 \begin_inset Index idx
1753 status collapsed
1754
1755 \begin_layout Plain Layout
1756 Outline
1757 \end_layout
1758
1759 \end_inset
1760
1761
1762 \end_layout
1763
1764 \begin_layout Standard
1765 In the pull-down box at the top of the outline window, you can choose between
1766  several different lists, including other TOC-like objects, such as lists
1767  of tables and figures, but also lists of footnotes, or labels and cross-referen
1768 ces (see section
1769 \begin_inset space ~
1770 \end_inset
1771
1772
1773 \begin_inset CommandInset ref
1774 LatexCommand ref
1775 reference "sec:Cross-References"
1776
1777 \end_inset
1778
1779 ), or notes, or citations (see section
1780 \begin_inset space ~
1781 \end_inset
1782
1783
1784 \begin_inset CommandInset ref
1785 LatexCommand ref
1786 reference "sec:Bibliography"
1787
1788 \end_inset
1789
1790 ).
1791  Clicking on any of these will take you to the corresponding object in your
1792  document.
1793 \end_layout
1794
1795 \begin_layout Standard
1796 Right-clicking on elements in the Outline opens in many cases a context
1797  menu that will allow for direct modification of those elements.
1798  For example, with citations, the context menu allows you to open the citation
1799  dialog and to modify the citation.
1800 \end_layout
1801
1802 \begin_layout Standard
1803 The 
1804 \family sans
1805 Filter
1806 \family default
1807  field at the top allows you to restrict which entries appear in the outline.
1808  For example, if you are displaying the list of 
1809 \emph on
1810 Labels and References
1811 \emph default
1812  and wish to see only references to subsections, you can enter the text
1813  
1814 \begin_inset Quotes eld
1815 \end_inset
1816
1817 sub
1818 \begin_inset Quotes erd
1819 \end_inset
1820
1821  in the filter, and only entries containing that text will be displayed.
1822 \end_layout
1823
1824 \begin_layout Standard
1825 At the bottom of the outline are several buttons and the like that allow
1826  you further to control the display.
1827  The 
1828 \family sans
1829 Sort
1830 \family default
1831  option sorts the current list alphabetically.
1832  Otherwise, the elements appear in the order in which they occur in the
1833  document.
1834  The 
1835 \family sans
1836 Keep
1837 \family default
1838  option keeps it in the current view state.
1839  Keeping means that when you have, for example, the subsections of sections
1840 \begin_inset space ~
1841 \end_inset
1842
1843 2 and 4 displayed and click on section
1844 \begin_inset space ~
1845 \end_inset
1846
1847 3, the subsections of sections
1848 \begin_inset space ~
1849 \end_inset
1850
1851 2 and 4 will still be displayed.
1852  Without the 
1853 \family sans
1854 Keep
1855 \family default
1856  option they will be hidden to highlight the clicked section
1857 \begin_inset space ~
1858 \end_inset
1859
1860 3.
1861  Finally, the slider at the left can be used to open the Outline to a given
1862  
1863 \begin_inset Quotes eld
1864 \end_inset
1865
1866 depth
1867 \begin_inset Quotes erd
1868 \end_inset
1869
1870 .
1871  It is best just to experiment with it to see how it works.
1872 \end_layout
1873
1874 \begin_layout Standard
1875 The 
1876 \begin_inset Info
1877 type  "icon"
1878 arg   "reload"
1879 \end_inset
1880
1881  button refreshes the TOC (though this should not usually be necessary).
1882  Next to it are buttons that allow you to change the position of sections
1883  in your document.
1884  The 
1885 \begin_inset Info
1886 type  "icon"
1887 arg   "outline-down"
1888 \end_inset
1889
1890  and 
1891 \begin_inset Info
1892 type  "icon"
1893 arg   "outline-up"
1894 \end_inset
1895
1896  buttons move sections up and down in the document.
1897  So, for example, you can move section
1898 \begin_inset space ~
1899 \end_inset
1900
1901 2.5 before section
1902 \begin_inset space ~
1903 \end_inset
1904
1905 2.4 or after section
1906 \begin_inset space ~
1907 \end_inset
1908
1909 2.6.
1910  \SpecialChar LyX
1911  will then automatically renumber the sections to the new order.
1912  With the buttons 
1913 \begin_inset Info
1914 type  "icon"
1915 arg   "outline-out"
1916 \end_inset
1917
1918  and 
1919 \begin_inset Info
1920 type  "icon"
1921 arg   "outline-in"
1922 \end_inset
1923
1924  (or the corresponding key bindings 
1925 \family sans
1926 Tab
1927 \family default
1928  and 
1929 \family sans
1930 Shift-Tab
1931 \family default
1932 ) you can change the level of sections.
1933  So you can for example make section
1934 \begin_inset space ~
1935 \end_inset
1936
1937 2.5 chapter
1938 \begin_inset space ~
1939 \end_inset
1940
1941 3 or subsection
1942 \begin_inset space ~
1943 \end_inset
1944
1945 2.4.1.
1946 \end_layout
1947
1948 \begin_layout Standard
1949 By right-clicking on a section in the outliner you can select the whole
1950  section to copy, cut or delete it.
1951 \end_layout
1952
1953 \begin_layout Subsection
1954 Horizontal Scrolling
1955 \begin_inset Index idx
1956 status collapsed
1957
1958 \begin_layout Plain Layout
1959 Navigating ! Horizontal Scrolling
1960 \end_layout
1961
1962 \end_inset
1963
1964
1965 \end_layout
1966
1967 \begin_layout Standard
1968 \SpecialChar LyX
1969  does not have a horizontal scrollbar because the standard output page formats
1970  like e.
1971 \begin_inset space \thinspace{}
1972 \end_inset
1973
1974 g.
1975 \begin_inset space \space{}
1976 \end_inset
1977
1978 ISO
1979 \begin_inset space ~
1980 \end_inset
1981
1982 A4 are less wide than PC or laptop screens.
1983  Therefore you will get troubles in the output of your document if document
1984  parts exceed the width of the \SpecialChar LyX
1985  main screen.
1986 \end_layout
1987
1988 \begin_layout Standard
1989 There are of course exceptions where horizontal scrolling is necessary.
1990  For example
1991 \end_layout
1992
1993 \begin_layout Itemize
1994 \SpecialChar LyX
1995  is used on a small tablet computer
1996 \end_layout
1997
1998 \begin_layout Itemize
1999 Wide tables that are rotated 90° to fit a whole page
2000 \begin_inset Foot
2001 status collapsed
2002
2003 \begin_layout Plain Layout
2004 See section 
2005 \emph on
2006 Rotated Floats
2007 \emph default
2008  of the 
2009 \emph on
2010 Embedded
2011 \begin_inset space ~
2012 \end_inset
2013
2014 Objects
2015 \emph default
2016  manual.
2017 \end_layout
2018
2019 \end_inset
2020
2021
2022 \end_layout
2023
2024 \begin_layout Itemize
2025 Math constructs with long command names
2026 \end_layout
2027
2028 \begin_layout Standard
2029 For these cases \SpecialChar LyX
2030  has an mechanism that scrolls automatically when the cursor
2031  is moved.
2032  As example shrink the \SpecialChar LyX
2033  windows so that table
2034 \begin_inset space ~
2035 \end_inset
2036
2037
2038 \begin_inset CommandInset ref
2039 LatexCommand ref
2040 reference "tab:Horizontal-scrollong-test"
2041
2042 \end_inset
2043
2044  is wider.
2045  You will now see a dotted red line at the right or the left side of the
2046  table.
2047  Put the cursor into the table and move it with the Tab or the arrow keys
2048  to see the horizontal scrolling of the table.
2049 \end_layout
2050
2051 \begin_layout Standard
2052 \begin_inset Float table
2053 placement h
2054 wide false
2055 sideways false
2056 status open
2057
2058 \begin_layout Plain Layout
2059 \begin_inset Caption Standard
2060
2061 \begin_layout Plain Layout
2062 \begin_inset CommandInset label
2063 LatexCommand label
2064 name "tab:Horizontal-scrollong-test"
2065
2066 \end_inset
2067
2068 Horizontal scrolling test.
2069 \end_layout
2070
2071 \end_inset
2072
2073
2074 \end_layout
2075
2076 \begin_layout Plain Layout
2077 \align center
2078 \begin_inset Tabular
2079 <lyxtabular version="3" rows="1" columns="3">
2080 <features tabularvalignment="middle">
2081 <column alignment="center" valignment="top" width="4.7cm">
2082 <column alignment="center" valignment="top" width="4.7cm">
2083 <column alignment="center" valignment="top" width="4.7cm">
2084 <row>
2085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2086 \begin_inset Text
2087
2088 \begin_layout Plain Layout
2089 a
2090 \end_layout
2091
2092 \end_inset
2093 </cell>
2094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2095 \begin_inset Text
2096
2097 \begin_layout Plain Layout
2098 b
2099 \end_layout
2100
2101 \end_inset
2102 </cell>
2103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2104 \begin_inset Text
2105
2106 \begin_layout Plain Layout
2107 c
2108 \end_layout
2109
2110 \end_inset
2111 </cell>
2112 </row>
2113 </lyxtabular>
2114
2115 \end_inset
2116
2117
2118 \end_layout
2119
2120 \end_inset
2121
2122
2123 \end_layout
2124
2125 \begin_layout Section
2126 Input/Word Completion
2127 \begin_inset CommandInset label
2128 LatexCommand label
2129 name "sec:Input-Completion"
2130
2131 \end_inset
2132
2133
2134 \begin_inset Index idx
2135 status collapsed
2136
2137 \begin_layout Plain Layout
2138 Input completion
2139 \end_layout
2140
2141 \end_inset
2142
2143
2144 \begin_inset Index idx
2145 status collapsed
2146
2147 \begin_layout Plain Layout
2148 Word completion|see
2149 \begin_inset ERT
2150 status collapsed
2151
2152 \begin_layout Plain Layout
2153
2154 {
2155 \end_layout
2156
2157 \end_inset
2158
2159 Input completion
2160 \begin_inset ERT
2161 status collapsed
2162
2163 \begin_layout Plain Layout
2164
2165 }
2166 \end_layout
2167
2168 \end_inset
2169
2170
2171 \end_layout
2172
2173 \end_inset
2174
2175
2176 \end_layout
2177
2178 \begin_layout Standard
2179 \SpecialChar LyX
2180  provides completion of words by scanning all documents that are currently
2181  opened.
2182  Every word that appears in these documents is added to a database that
2183  is used to propose completions.
2184 \end_layout
2185
2186 \begin_layout Standard
2187 Input completion can be activated in the \SpecialChar LyX
2188  preferences (menu 
2189 \family sans
2190 Tools\SpecialChar menuseparator
2191 Preferences
2192 \family default
2193 ) in the section 
2194 \family sans
2195 Editing\SpecialChar menuseparator
2196 Input Completion
2197 \family default
2198 .
2199  With the option 
2200 \family sans
2201 Automatic
2202 \begin_inset space ~
2203 \end_inset
2204
2205 inline
2206 \begin_inset space ~
2207 \end_inset
2208
2209 completion
2210 \family default
2211  the proposed completion is shown directly after the cursor.
2212  With the option 
2213 \family sans
2214 Automatic
2215 \begin_inset space ~
2216 \end_inset
2217
2218 popup
2219 \family default
2220  the completions are always shown in a popup.
2221  The cursor completion indicator can be turned off by deselecting the option
2222  
2223 \family sans
2224 Cursor
2225 \begin_inset space ~
2226 \end_inset
2227
2228 indicator
2229 \family default
2230 .
2231  With the general options you can define the delay time for the inline and
2232  popup completion, you can set the minimal number of characters a word must
2233  have that it will be taken into account for a completion and you can choose
2234  if long completions should be abbreviated.
2235 \end_layout
2236
2237 \begin_layout Standard
2238 \SpecialChar LyX
2239  displays a small triangle after the cursor as an indicator that there are
2240  completions available.
2241  Press the 
2242 \family sans
2243 Tab
2244 \family default
2245  key to accept a proposed completion.
2246  If several completions are possible, a popup is opened showing them.
2247  You can select a completion in the popup using the mouse or the arrow keys,
2248  and accept the chosen completion by pressing 
2249 \family sans
2250 Return
2251 \family default
2252 .
2253 \end_layout
2254
2255 \begin_layout Standard
2256 The completion options for math in the preferences do the same as the correspond
2257 ing options for text.
2258  The special math option 
2259 \family sans
2260 Autocorrection
2261 \family default
2262  enables characters to be composed.
2263  If, for example, you want to insert the character 
2264 \begin_inset Formula $\Rightarrow$
2265 \end_inset
2266
2267 , you can then input the characters 
2268 \begin_inset Quotes eld
2269 \end_inset
2270
2271
2272 \series bold
2273 =>
2274 \series default
2275
2276 \begin_inset Quotes erd
2277 \end_inset
2278
2279  to a formula to get it.
2280  So this is a quick alternative to the insertion of commands or the use
2281  of the math toolbar.
2282  A list with supported character combinations can be found in the file 
2283 \family typewriter
2284 autocorrect
2285 \family default
2286  that is in \SpecialChar LyX
2287 's installation folder.
2288  Math autocorrection can at any time be turned on by pressing the exclamation
2289  mark key “!”.
2290  Pressing 
2291 \family sans
2292 Space
2293 \family default
2294  turns it off.
2295 \end_layout
2296
2297 \begin_layout Section
2298 Basic Key Bindings
2299 \begin_inset Index idx
2300 status collapsed
2301
2302 \begin_layout Plain Layout
2303 Key Bindings
2304 \end_layout
2305
2306 \end_inset
2307
2308
2309 \begin_inset Index idx
2310 status collapsed
2311
2312 \begin_layout Plain Layout
2313 Bindings|see
2314 \begin_inset ERT
2315 status collapsed
2316
2317 \begin_layout Plain Layout
2318
2319 {
2320 \end_layout
2321
2322 \end_inset
2323
2324 Key Bindings
2325 \begin_inset ERT
2326 status collapsed
2327
2328 \begin_layout Plain Layout
2329
2330 }
2331 \end_layout
2332
2333 \end_inset
2334
2335
2336 \end_layout
2337
2338 \end_inset
2339
2340
2341 \begin_inset Index idx
2342 status collapsed
2343
2344 \begin_layout Plain Layout
2345 Shortcuts|see
2346 \begin_inset ERT
2347 status collapsed
2348
2349 \begin_layout Plain Layout
2350
2351 {
2352 \end_layout
2353
2354 \end_inset
2355
2356 Key Bindings
2357 \begin_inset ERT
2358 status collapsed
2359
2360 \begin_layout Plain Layout
2361
2362 }
2363 \end_layout
2364
2365 \end_inset
2366
2367
2368 \end_layout
2369
2370 \end_inset
2371
2372
2373 \end_layout
2374
2375 \begin_layout Standard
2376 There are at least two different primary binding maps: 
2377 \family typewriter
2378 cua
2379 \family default
2380  and 
2381 \family typewriter
2382 emacs
2383 \family default
2384 .
2385  \SpecialChar LyX
2386 's default is 
2387 \family typewriter
2388 cua
2389 \family default
2390 , which can be changed in the \SpecialChar LyX
2391  preferences under 
2392 \family sans
2393 Editing\SpecialChar menuseparator
2394 Shortcuts
2395 \family default
2396 .
2397  (You can list or change any key bindings as explained in section
2398 \begin_inset space ~
2399 \end_inset
2400
2401
2402 \begin_inset CommandInset ref
2403 LatexCommand ref
2404 reference "subsec:Editing-Shortcuts"
2405
2406 \end_inset
2407
2408 .)
2409 \end_layout
2410
2411 \begin_layout Standard
2412 Some keys, like 
2413 \family sans
2414 Page
2415 \begin_inset space ~
2416 \end_inset
2417
2418 Up
2419 \family default
2420
2421 \family sans
2422 Page
2423 \begin_inset space ~
2424 \end_inset
2425
2426 Down
2427 \family default
2428
2429 \family sans
2430 Left
2431 \family default
2432
2433 \family sans
2434 Right
2435 \family default
2436
2437 \family sans
2438 Up
2439 \family default
2440  and 
2441 \family sans
2442 Down
2443 \family default
2444 , do exactly what you expect them to do.
2445  Other keys don't:
2446 \end_layout
2447
2448 \begin_layout Labeling
2449 \labelwidthstring 00.00.0000
2450
2451 \family sans
2452 Tab
2453 \begin_inset CommandInset nomenclature
2454 LatexCommand nomenclature
2455 symbol "Tab"
2456 description "Tabulator key"
2457 literal "false"
2458
2459 \end_inset
2460
2461
2462 \family default
2463  There is no such thing as a tab stop in \SpecialChar LyX
2464 .
2465  If you do not understand this, go read sections
2466 \begin_inset space ~
2467 \end_inset
2468
2469
2470 \begin_inset CommandInset ref
2471 LatexCommand ref
2472 reference "sec:Par-indent-intro"
2473
2474 \end_inset
2475
2476  and 
2477 \begin_inset CommandInset ref
2478 LatexCommand ref
2479 reference "sec:Paragraph-Environments"
2480
2481 \end_inset
2482
2483 , especially section
2484 \begin_inset space ~
2485 \end_inset
2486
2487
2488 \begin_inset CommandInset ref
2489 LatexCommand ref
2490 reference "subsec:Lists"
2491
2492 \end_inset
2493
2494 , right now.
2495  Yes, right now.
2496  If you are still confused, look in the 
2497 \emph on
2498 Tutorial
2499 \emph default
2500 .
2501 \begin_inset Newline newline
2502 \end_inset
2503
2504 In \SpecialChar LyX
2505  the 
2506 \family sans
2507 Tab
2508 \family default
2509  key is only used to accept proposed input completions, to move the cursor
2510  in tables or math matrices or to change the nesting level in Itemize or
2511  Enumerate.
2512 \end_layout
2513
2514 \begin_layout Labeling
2515 \labelwidthstring 00.00.0000
2516
2517 \family sans
2518 Esc
2519 \begin_inset CommandInset nomenclature
2520 LatexCommand nomenclature
2521 symbol "Esc"
2522 description "Escape key"
2523 literal "false"
2524
2525 \end_inset
2526
2527
2528 \family default
2529  This is the 
2530 \begin_inset Quotes eld
2531 \end_inset
2532
2533 cancel key.
2534 \begin_inset Quotes erd
2535 \end_inset
2536
2537  It is used, generically, to cancel operations.
2538  Other parts of the manual will go into greater detail about this.
2539 \end_layout
2540
2541 \begin_layout Labeling
2542 \labelwidthstring 00.00.0000
2543
2544 \family sans
2545 Home
2546 \family default
2547
2548 \begin_inset space ~
2549 \end_inset
2550
2551 and
2552 \begin_inset space ~
2553 \end_inset
2554
2555
2556 \family sans
2557 End
2558 \family default
2559  These move the cursor, respectively, to the beginning and end of a line,
2560  unless you are using the Emacs bindings where they jump to the beginning
2561  or end of the file.
2562 \end_layout
2563
2564 \begin_layout Standard
2565 There are three modifier keys:
2566 \end_layout
2567
2568 \begin_layout Labeling
2569 \labelwidthstring 00.00.0000
2570
2571 \family sans
2572 Control
2573 \family default
2574  (Denoted by 
2575 \begin_inset Quotes eld
2576 \end_inset
2577
2578
2579 \family sans
2580 Ctrl
2581 \family default
2582
2583 \begin_inset Quotes erd
2584 \end_inset
2585
2586
2587 \begin_inset CommandInset nomenclature
2588 LatexCommand nomenclature
2589 symbol "Ctrl"
2590 description "Control key"
2591 literal "false"
2592
2593 \end_inset
2594
2595  in the documentation files) This has a couple of different uses, depending
2596  on which keys it is used in combination with:
2597 \end_layout
2598
2599 \begin_deeper
2600 \begin_layout Itemize
2601
2602 \family sans
2603 Backspace
2604 \family default
2605  or 
2606 \family sans
2607 Delete
2608 \family default
2609 , it deletes an entire word instead of a single character.
2610 \end_layout
2611
2612 \begin_layout Itemize
2613
2614 \family sans
2615 Left
2616 \family default
2617  and 
2618 \family sans
2619 Right
2620 \family default
2621 , it moves by words instead of characters.
2622 \end_layout
2623
2624 \begin_layout Itemize
2625
2626 \family sans
2627 Home
2628 \family default
2629  and 
2630 \family sans
2631 End
2632 \family default
2633 , it moves to the beginning and the end of the document, respectively.
2634 \end_layout
2635
2636 \end_deeper
2637 \begin_layout Labeling
2638 \labelwidthstring 00.00.0000
2639
2640 \family sans
2641 Shift
2642 \family default
2643  (Denoted by 
2644 \begin_inset Quotes eld
2645 \end_inset
2646
2647
2648 \family sans
2649 Shift
2650 \family default
2651
2652 \begin_inset Quotes erd
2653 \end_inset
2654
2655
2656 \begin_inset CommandInset nomenclature
2657 LatexCommand nomenclature
2658 symbol "Shift"
2659 description "Shift key"
2660 literal "false"
2661
2662 \end_inset
2663
2664  in the documentation files) Use this with any of the arrow keys to select
2665  the text between the old and new cursor positions.
2666 \end_layout
2667
2668 \begin_layout Labeling
2669 \labelwidthstring 00.00.0000
2670
2671 \family sans
2672 Alt
2673 \family default
2674  (Denoted by 
2675 \begin_inset Quotes eld
2676 \end_inset
2677
2678
2679 \family sans
2680 Alt
2681 \family default
2682
2683 \begin_inset Quotes erd
2684 \end_inset
2685
2686
2687 \begin_inset CommandInset nomenclature
2688 LatexCommand nomenclature
2689 symbol "Alt"
2690 description "Alt or Meta key"
2691 literal "false"
2692
2693 \end_inset
2694
2695  in the documentation files) This is the Alt key on many keyboards, unless
2696  your keyboard has a distinct Meta key.
2697  If you have both keys, you will need to try out which one actually performs
2698  the 
2699 \family sans
2700 Alt+
2701 \family default
2702  function.
2703 \begin_inset Newline newline
2704 \end_inset
2705
2706 This key does many different things, but it also activates the 
2707 \emph on
2708 menu accelerator keys
2709 \emph default
2710 .
2711  If you use this in combination with any of the underlined letters in a
2712  menu or menu item, it selects that menu item.
2713 \end_layout
2714
2715 \begin_deeper
2716 \begin_layout Standard
2717 For example, the sequence 
2718 \begin_inset Quotes eld
2719 \end_inset
2720
2721
2722 \family sans
2723 Alt
2724 \begin_inset space ~
2725 \end_inset
2726
2727 e
2728 \begin_inset space ~
2729 \end_inset
2730
2731 s
2732 \family default
2733
2734 \begin_inset space ~
2735 \end_inset
2736
2737
2738 \family sans
2739 c
2740 \family default
2741
2742 \begin_inset Quotes erd
2743 \end_inset
2744
2745  brings up the 
2746 \begin_inset Quotes eld
2747 \end_inset
2748
2749 Text Style
2750 \begin_inset Quotes erd
2751 \end_inset
2752
2753  dialog.
2754  Typing 
2755 \begin_inset Quotes eld
2756 \end_inset
2757
2758
2759 \family sans
2760 Alt
2761 \begin_inset space ~
2762 \end_inset
2763
2764 f
2765 \family default
2766
2767 \begin_inset Quotes erd
2768 \end_inset
2769
2770  opens the 
2771 \family sans
2772 File
2773 \family default
2774  menu.
2775 \end_layout
2776
2777 \begin_layout Standard
2778 The 
2779 \emph on
2780 Shortcuts
2781 \emph default
2782  manual lists all other things bound to the 
2783 \family sans
2784 Alt
2785 \family default
2786  key.
2787 \end_layout
2788
2789 \end_deeper
2790 \begin_layout Standard
2791 You will learn more and more key bindings and short-cut keys as you use
2792  \SpecialChar LyX
2793 , because most actions will prompt a small message in the status bar at
2794  the bottom of \SpecialChar LyX
2795 's main window which describes the name of the action you
2796  have just triggered, and any existing key bindings for that action.
2797  The \SpecialChar LyX
2798  menus also list the defined key bindings.
2799  The notation for the key bindings is very similar to the notation used
2800  in this documentation, so you should not have any problems understanding
2801  it.
2802  However, notice that Shift-modifiers are explicitly mentioned, so 
2803 \begin_inset Quotes eld
2804 \end_inset
2805
2806
2807 \family sans
2808 Alt+P Shift+A
2809 \family default
2810
2811 \begin_inset Quotes erd
2812 \end_inset
2813
2814  means 
2815 \family sans
2816 Alt+P
2817 \family default
2818  followed by a capital 
2819 \family sans
2820 A
2821 \family default
2822 .
2823 \end_layout
2824
2825 \begin_layout Chapter
2826 \SpecialChar LyX
2827  Basics
2828 \begin_inset Index idx
2829 status collapsed
2830
2831 \begin_layout Plain Layout
2832 \SpecialChar LyX
2833  ! Basics
2834 \end_layout
2835
2836 \end_inset
2837
2838
2839 \end_layout
2840
2841 \begin_layout Section
2842 Document Types
2843 \begin_inset Index idx
2844 status collapsed
2845
2846 \begin_layout Plain Layout
2847 Document ! Types
2848 \end_layout
2849
2850 \end_inset
2851
2852
2853 \end_layout
2854
2855 \begin_layout Subsection
2856 Introduction
2857 \end_layout
2858
2859 \begin_layout Standard
2860 Before you do anything else, before you ever start writing a document, you
2861  need to decide what type of document you want to edit.
2862  Different types of documents use different types of spacing, headings,
2863  numbering schemes, and so on.
2864  Additionally, different documents use different paragraph environments,
2865  and format the title of your document differently.
2866 \end_layout
2867
2868 \begin_layout Standard
2869
2870 \emph on
2871 document class
2872 \emph default
2873  describes a group of properties common to a particular set of documents.
2874  By setting the document class, you automatically select these properties,
2875  making it easier to create the type of document you want.
2876  If you don't choose a document class, \SpecialChar LyX
2877  picks one for you by default.
2878  So it is up to you to change the class of your document.
2879 \end_layout
2880
2881 \begin_layout Subsection
2882 Document Classes
2883 \begin_inset Index idx
2884 status collapsed
2885
2886 \begin_layout Plain Layout
2887 Document ! Classes
2888 \end_layout
2889
2890 \end_inset
2891
2892
2893 \begin_inset CommandInset label
2894 LatexCommand label
2895 name "sec:Document-Classes"
2896
2897 \end_inset
2898
2899
2900 \end_layout
2901
2902 \begin_layout Standard
2903 You can select a class using the 
2904 \family sans
2905 Document\SpecialChar menuseparator
2906 Settings\SpecialChar menuseparator
2907 Document Class
2908 \family default
2909
2910 \begin_inset Index idx
2911 status collapsed
2912
2913 \begin_layout Plain Layout
2914 Document ! Settings
2915 \end_layout
2916
2917 \end_inset
2918
2919  dialog.
2920  Select the class you want to use, and make any fine tunings of the options
2921  you may need.
2922 \end_layout
2923
2924 \begin_layout Subsubsection
2925 Overview
2926 \end_layout
2927
2928 \begin_layout Standard
2929 There are four standard document classes in \SpecialChar LyX
2930 .
2931  They are:
2932 \end_layout
2933
2934 \begin_layout Description
2935 Article for basic articles
2936 \end_layout
2937
2938 \begin_layout Description
2939 Report for basic reports
2940 \end_layout
2941
2942 \begin_layout Description
2943 Book for writing a book
2944 \end_layout
2945
2946 \begin_layout Description
2947 Letter for US-style letters
2948 \end_layout
2949
2950 \begin_layout Standard
2951 There are also some non-standard classes, which \SpecialChar LyX
2952  only uses if you have installed
2953  the corresponding \SpecialChar LaTeX
2954  class files, though most \SpecialChar LaTeX
2955  distributions will include
2956  many of these.
2957  Here are some of the classes.
2958  The full list with detailed explanations can be found in chapter 
2959 \emph on
2960 Special Document Classes
2961 \emph default
2962  in the 
2963 \emph on
2964 Additional Features
2965 \emph default
2966  manual:
2967 \end_layout
2968
2969 \begin_layout Description
2970 A&A Journal articles in the style and format used in Astronomy & Astrophysics
2971 \end_layout
2972
2973 \begin_layout Description
2974 ACS For submissions to the journals published by the American Chemistry
2975  Society
2976 \end_layout
2977
2978 \begin_layout Description
2979 AGU For submissions to the journals published by the American Geophysical
2980  Union
2981 \end_layout
2982
2983 \begin_layout Description
2984 AMS Layouts for articles and books in the style and format used by the American
2985  Mathematical Society (AMS).
2986  There are three article layouts available.
2987  The standard one uses a typical numbering scheme for theorems etc., that
2988  prepends the section number to the number of the result.
2989  All result-type statements (propositions, corollaries, and so on) are sequenced
2990  together, but definitions, examples, and the like have their own sequence.
2991  The 
2992 \begin_inset Quotes eld
2993 \end_inset
2994
2995 sequential numbering
2996 \begin_inset Quotes erd
2997 \end_inset
2998
2999  scheme does not place the section number with each result, but numbers
3000  them throughout the article in a single sequence.
3001  Each type of result gets its own sequence.
3002  There is also a layout that dispenses with numbering of statements altogether.
3003 \end_layout
3004
3005 \begin_layout Description
3006 Beamer Layout for presentations
3007 \end_layout
3008
3009 \begin_layout Description
3010 Broadway Layout for writing plays.
3011  It is not an existing \SpecialChar LaTeX
3012  document class, but a new one that is distributed
3013  with \SpecialChar LyX
3014 .
3015 \end_layout
3016
3017 \begin_layout Description
3018 Chess Layout to write about chess games
3019 \end_layout
3020
3021 \begin_layout Description
3022 Curriculum
3023 \begin_inset space ~
3024 \end_inset
3025
3026 vitae classes to create curriculum vitae
3027 \end_layout
3028
3029 \begin_layout Description
3030 Elsarticle Layout for journals of the Elsevier publishing group
3031 \end_layout
3032
3033 \begin_layout Description
3034 Foils Used to make transparencies
3035 \end_layout
3036
3037 \begin_layout Description
3038 Hollywood Used to type spec scripts for the US film industry.
3039  It is not an existing \SpecialChar LaTeX
3040  document class, but a new one that is distributed
3041  with \SpecialChar LyX
3042 .
3043 \end_layout
3044
3045 \begin_layout Description
3046 IEEEtran Layout for the journals published by the Institute of Electrical
3047  and Electronics Engineers (IEEE)
3048 \end_layout
3049
3050 \begin_layout Description
3051 IOP Layout for journals of the Institute of Physics publishing group
3052 \end_layout
3053
3054 \begin_layout Description
3055 Kluwer Layout for journals of the Kluwer publishing group
3056 \end_layout
3057
3058 \begin_layout Description
3059 KOMA-Script a replacement for the standard classes, offers many useful features
3060  like caption formatting, automatic print space calculation etc.
3061  (Is used by this document.)
3062 \end_layout
3063
3064 \begin_layout Description
3065 Memoir another replacement for the standard classes
3066 \end_layout
3067
3068 \begin_layout Description
3069 Powerdot Layout for presentations
3070 \end_layout
3071
3072 \begin_layout Description
3073 REV
3074 \family sans
3075 TeX
3076 \family default
3077  is used to write articles for the publications of the American Physical
3078  Society (APS), American Institute of Physics (AIP), and Optical Society
3079  of America (OSA).
3080  This class is not completely compatible with all \SpecialChar LyX
3081  features.
3082 \end_layout
3083
3084 \begin_layout Description
3085 Slides Used to make transparencies
3086 \end_layout
3087
3088 \begin_layout Description
3089 SPIE
3090 \begin_inset space ~
3091 \end_inset
3092
3093 Proceedings Layout for the journals published by The International Society
3094  for Optical Engineering (SPIE)
3095 \end_layout
3096
3097 \begin_layout Description
3098 Springer Layouts for journals of the Springer publishing group
3099 \end_layout
3100
3101 \begin_layout Standard
3102 We will not go into detail about how to use these different document classes
3103  here.
3104  You can find details about the non-standard classes in chapter 
3105 \emph on
3106 Special Document Classes
3107 \emph default
3108  of the 
3109 \emph on
3110 Additional Features
3111 \emph default
3112  manual.
3113  Here, we will settle for a list of some of the common properties of all
3114  of the document classes.
3115 \end_layout
3116
3117 \begin_layout Subsubsection
3118 Availability
3119 \end_layout
3120
3121 \begin_layout Standard
3122 You will probably find that many of the document classes listed under 
3123 \family sans
3124 Document\SpecialChar menuseparator
3125 Settings\SpecialChar menuseparator
3126 Document Class
3127 \begin_inset Index idx
3128 status collapsed
3129
3130 \begin_layout Plain Layout
3131 Document ! Settings
3132 \end_layout
3133
3134 \end_inset
3135
3136  
3137 \family default
3138 are marked as 
3139 \begin_inset Quotes eld
3140 \end_inset
3141
3142 Unavailable
3143 \begin_inset Quotes erd
3144 \end_inset
3145
3146 .
3147  If you open a document that uses such a class, you will receive a warning
3148  saying that there are files that are required to produce output that are
3149  not installed.
3150  So it may seem that something is wrong.
3151 \end_layout
3152
3153 \begin_layout Standard
3154 Nothing is wrong.
3155  \SpecialChar LyX
3156  includes many more document classes than you will ever need to use, and
3157  some of them, like 
3158 \family sans
3159 IOP
3160 \family default
3161 , are highly specialized.
3162  \SpecialChar LyX
3163  tries to support as many different types of documents as possible, and
3164  it includes almost one hundred different layout files, with a growing number.
3165  No \SpecialChar LaTeX
3166  distribution will install by default all files that might be needed
3167  by some document class.
3168  There are just too many of them.
3169  That is why some of the document classes are unavailable.
3170 \end_layout
3171
3172 \begin_layout Standard
3173 If there is a document class you would like to use that is marked as 
3174 \begin_inset Quotes eld
3175 \end_inset
3176
3177 Unavailable
3178 \begin_inset Quotes erd
3179 \end_inset
3180
3181 , you just need to install the appropriate package files.
3182  The easiest way to find out which files you need to install is to use that
3183  document class for a new file.
3184  \SpecialChar LyX
3185  will display a dialog that will list the missing files.
3186  See section 
3187 \emph on
3188 Installing new \SpecialChar LaTeX
3189  files
3190 \emph default
3191  in of the 
3192 \emph on
3193 Customization
3194 \emph default
3195  manual for information on how to install them.
3196 \begin_inset VSpace medskip
3197 \end_inset
3198
3199
3200 \end_layout
3201
3202 \begin_layout Standard
3203 Although \SpecialChar LyX
3204  provides support for many different sorts of documents, it does
3205  not include support for every document class people might want to use.
3206  For example, many universities provide \SpecialChar LaTeX
3207  class files to be used for dissertation
3208 s submitted to those universities.
3209  The \SpecialChar LyX
3210  team cannot write layout files to support every one of these.
3211  There are too many.
3212  Fortunately, users can write their own layout files, and many users have
3213  done so.
3214  Chapter 
3215 \emph on
3216 Installing New Document Classes, Layouts, and Templates
3217 \emph default
3218  of the 
3219 \emph on
3220 Customization
3221 \emph default
3222  manual contains information on how to create layout files.
3223 \end_layout
3224
3225 \begin_layout Subsubsection
3226 Modules
3227 \begin_inset CommandInset label
3228 LatexCommand label
3229 name "subsec:Modules"
3230
3231 \end_inset
3232
3233
3234 \begin_inset Index idx
3235 status collapsed
3236
3237 \begin_layout Plain Layout
3238 Document ! Modules
3239 \end_layout
3240
3241 \end_inset
3242
3243
3244 \end_layout
3245
3246 \begin_layout Standard
3247 Modules load additional features that are not by default available in the
3248  chosen document class.
3249  For example you might want to write Braille (embossed printing) in a document.
3250  This is not available in any document class, so you have to load the correspond
3251 ing module in the 
3252 \family sans
3253 Modules
3254 \family default
3255  section of the 
3256 \family sans
3257 Document\SpecialChar menuseparator
3258 Settings
3259 \family default
3260
3261 \begin_inset Index idx
3262 status collapsed
3263
3264 \begin_layout Plain Layout
3265 Document ! Settings
3266 \end_layout
3267
3268 \end_inset
3269
3270  dialog.
3271  Highlighting a module in the dialog will bring up a description of what
3272  it does.
3273 \end_layout
3274
3275 \begin_layout Standard
3276 Some modules require \SpecialChar LaTeX
3277  packages or file format converters that are not always
3278  installed by default.
3279  \SpecialChar LyX
3280  will warn you if you do not have a required package or converter, and
3281  it will tell you what exactly you are missing.
3282  You can still use the module while editing your file, but you will not
3283  be able to export to PDF or print your document, since \SpecialChar LyX
3284  will not be able
3285  to compile the \SpecialChar LaTeX
3286  file without the missing prerequisites.
3287  If you want to be able to produce this kind of output, then you need to
3288  install the missing prerequisites and then reconfigure \SpecialChar LyX
3289  by selecting 
3290 \family sans
3291 Tools\SpecialChar menuseparator
3292 Reconfigure
3293 \family default
3294 .
3295 \begin_inset Index idx
3296 status collapsed
3297
3298 \begin_layout Plain Layout
3299 Reconfiguration of \SpecialChar LyX
3300
3301 \end_layout
3302
3303 \end_inset
3304
3305  See section Installing new \SpecialChar LaTeX
3306  files of the 
3307 \emph on
3308 Customization
3309 \emph default
3310  manual for more information on installing required packages.
3311 \end_layout
3312
3313 \begin_layout Standard
3314 \begin_inset Note Greyedout
3315 status open
3316
3317 \begin_layout Plain Layout
3318
3319 \series bold
3320 Note:
3321 \series default
3322  Some modules require other modules, and some pairs of modules are incompatible.
3323  \SpecialChar LyX
3324  will advise you about these things.
3325 \end_layout
3326
3327 \end_inset
3328
3329
3330 \end_layout
3331
3332 \begin_layout Subsubsection
3333 Local Layout
3334 \begin_inset CommandInset label
3335 LatexCommand label
3336 name "subsec:Local-Layout"
3337
3338 \end_inset
3339
3340
3341 \begin_inset Index idx
3342 status collapsed
3343
3344 \begin_layout Plain Layout
3345 Document ! Local Layout
3346 \end_layout
3347
3348 \end_inset
3349
3350
3351 \end_layout
3352
3353 \begin_layout Standard
3354 Modules are to \SpecialChar LyX
3355  much as packages are to \SpecialChar LaTeX
3356 : They are intended to be used in
3357  a variety of different documents.
3358  If you often find yourself needing the same sort of thing in different
3359  documents, you should consider writing a module for this purpose.
3360  Sometimes, however, a particular document has very special needs, but you
3361  need a specific inset or character style only that one time.
3362  You want something that is like a document's own \SpecialChar LaTeX
3363  preamble.
3364  What you want is \SpecialChar LyX
3365 's 
3366 \begin_inset Quotes eld
3367 \end_inset
3368
3369 Local Layout
3370 \begin_inset Quotes erd
3371 \end_inset
3372
3373 .
3374  See section 
3375 \emph on
3376 Local Layout
3377 \emph default
3378  of the 
3379 \emph on
3380 Customization
3381 \emph default
3382  manual for information on how to use it.
3383 \end_layout
3384
3385 \begin_layout Subsubsection
3386 Properties
3387 \end_layout
3388
3389 \begin_layout Standard
3390 Each class has a default set of options.
3391  Here's a quick table describing them:
3392 \end_layout
3393
3394 \begin_layout Standard
3395 \begin_inset VSpace 0.3cm
3396 \end_inset
3397
3398
3399 \end_layout
3400
3401 \begin_layout Standard
3402 \align center
3403 \begin_inset Tabular
3404 <lyxtabular version="3" rows="5" columns="5">
3405 <features tabularvalignment="middle">
3406 <column alignment="center" valignment="top" width="0pt">
3407 <column alignment="center" valignment="top" width="0pt">
3408 <column alignment="center" valignment="top" width="0pt">
3409 <column alignment="center" valignment="top" width="0pt">
3410 <column alignment="center" valignment="top" width="0pt">
3411 <row>
3412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3413 \begin_inset Text
3414
3415 \begin_layout Plain Layout
3416
3417 \end_layout
3418
3419 \end_inset
3420 </cell>
3421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3422 \begin_inset Text
3423
3424 \begin_layout Plain Layout
3425
3426 \family sans
3427 \series medium
3428 \shape up
3429 \size normal
3430 \emph off
3431 \bar no
3432 \noun off
3433 \color none
3434 Page style
3435 \end_layout
3436
3437 \end_inset
3438 </cell>
3439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3440 \begin_inset Text
3441
3442 \begin_layout Plain Layout
3443
3444 \family sans
3445 \series medium
3446 \shape up
3447 \size normal
3448 \emph off
3449 \bar no
3450 \noun off
3451 \color none
3452 Sides
3453 \end_layout
3454
3455 \end_inset
3456 </cell>
3457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3458 \begin_inset Text
3459
3460 \begin_layout Plain Layout
3461
3462 \family sans
3463 \series medium
3464 \shape up
3465 \size normal
3466 \emph off
3467 \bar no
3468 \noun off
3469 \color none
3470 Columns
3471 \end_layout
3472
3473 \end_inset
3474 </cell>
3475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3476 \begin_inset Text
3477
3478 \begin_layout Plain Layout
3479
3480 \series medium
3481 \shape up
3482 \size normal
3483 \emph off
3484 \bar no
3485 \noun off
3486 \color none
3487 Max.
3488  sectioning level
3489 \end_layout
3490
3491 \end_inset
3492 </cell>
3493 </row>
3494 <row>
3495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3496 \begin_inset Text
3497
3498 \begin_layout Plain Layout
3499
3500 \series medium
3501 \shape up
3502 \size normal
3503 \emph off
3504 \bar no
3505 \noun off
3506 \color none
3507 article
3508 \end_layout
3509
3510 \end_inset
3511 </cell>
3512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3513 \begin_inset Text
3514
3515 \begin_layout Plain Layout
3516
3517 \family sans
3518 \series medium
3519 \shape up
3520 \size normal
3521 \emph off
3522 \bar no
3523 \noun off
3524 \color none
3525 Plain
3526 \end_layout
3527
3528 \end_inset
3529 </cell>
3530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3531 \begin_inset Text
3532
3533 \begin_layout Plain Layout
3534
3535 \family sans
3536 \series medium
3537 \shape up
3538 \size normal
3539 \emph off
3540 \bar no
3541 \noun off
3542 \color none
3543 One
3544 \end_layout
3545
3546 \end_inset
3547 </cell>
3548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3549 \begin_inset Text
3550
3551 \begin_layout Plain Layout
3552
3553 \family sans
3554 \series medium
3555 \shape up
3556 \size normal
3557 \emph off
3558 \bar no
3559 \noun off
3560 \color none
3561 One
3562 \end_layout
3563
3564 \end_inset
3565 </cell>
3566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3567 \begin_inset Text
3568
3569 \begin_layout Plain Layout
3570
3571 \family sans
3572 \series medium
3573 \shape up
3574 \size normal
3575 \emph off
3576 \bar no
3577 \noun off
3578 \color none
3579 Section
3580 \end_layout
3581
3582 \end_inset
3583 </cell>
3584 </row>
3585 <row>
3586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3587 \begin_inset Text
3588
3589 \begin_layout Plain Layout
3590
3591 \series medium
3592 \shape up
3593 \size normal
3594 \emph off
3595 \bar no
3596 \noun off
3597 \color none
3598 report
3599 \end_layout
3600
3601 \end_inset
3602 </cell>
3603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3604 \begin_inset Text
3605
3606 \begin_layout Plain Layout
3607
3608 \family sans
3609 \series medium
3610 \shape up
3611 \size normal
3612 \emph off
3613 \bar no
3614 \noun off
3615 \color none
3616 Plain
3617 \end_layout
3618
3619 \end_inset
3620 </cell>
3621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3622 \begin_inset Text
3623
3624 \begin_layout Plain Layout
3625
3626 \family sans
3627 \series medium
3628 \shape up
3629 \size normal
3630 \emph off
3631 \bar no
3632 \noun off
3633 \color none
3634 One
3635 \end_layout
3636
3637 \end_inset
3638 </cell>
3639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3640 \begin_inset Text
3641
3642 \begin_layout Plain Layout
3643
3644 \family sans
3645 \series medium
3646 \shape up
3647 \size normal
3648 \emph off
3649 \bar no
3650 \noun off
3651 \color none
3652 One
3653 \end_layout
3654
3655 \end_inset
3656 </cell>
3657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3658 \begin_inset Text
3659
3660 \begin_layout Plain Layout
3661
3662 \family sans
3663 \series medium
3664 \shape up
3665 \size normal
3666 \emph off
3667 \bar no
3668 \noun off
3669 \color none
3670 Chapter
3671 \end_layout
3672
3673 \end_inset
3674 </cell>
3675 </row>
3676 <row>
3677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3678 \begin_inset Text
3679
3680 \begin_layout Plain Layout
3681
3682 \series medium
3683 \shape up
3684 \size normal
3685 \emph off
3686 \bar no
3687 \noun off
3688 \color none
3689 book
3690 \end_layout
3691
3692 \end_inset
3693 </cell>
3694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3695 \begin_inset Text
3696
3697 \begin_layout Plain Layout
3698
3699 \family sans
3700 \series medium
3701 \shape up
3702 \size normal
3703 \emph off
3704 \bar no
3705 \noun off
3706 \color none
3707 Headings
3708 \end_layout
3709
3710 \end_inset
3711 </cell>
3712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3713 \begin_inset Text
3714
3715 \begin_layout Plain Layout
3716
3717 \family sans
3718 \series medium
3719 \shape up
3720 \size normal
3721 \emph off
3722 \bar no
3723 \noun off
3724 \color none
3725 Two
3726 \end_layout
3727
3728 \end_inset
3729 </cell>
3730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3731 \begin_inset Text
3732
3733 \begin_layout Plain Layout
3734
3735 \family sans
3736 \series medium
3737 \shape up
3738 \size normal
3739 \emph off
3740 \bar no
3741 \noun off
3742 \color none
3743 One
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3749 \begin_inset Text
3750
3751 \begin_layout Plain Layout
3752
3753 \family sans
3754 \series medium
3755 \shape up
3756 \size normal
3757 \emph off
3758 \bar no
3759 \noun off
3760 \color none
3761 Chapter
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 </row>
3767 <row>
3768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Plain Layout
3772
3773 \series medium
3774 \shape up
3775 \size normal
3776 \emph off
3777 \bar no
3778 \noun off
3779 \color none
3780 letter
3781 \end_layout
3782
3783 \end_inset
3784 </cell>
3785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3786 \begin_inset Text
3787
3788 \begin_layout Plain Layout
3789
3790 \family sans
3791 \series medium
3792 \shape up
3793 \size normal
3794 \emph off
3795 \bar no
3796 \noun off
3797 \color none
3798 Plain
3799 \end_layout
3800
3801 \end_inset
3802 </cell>
3803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3804 \begin_inset Text
3805
3806 \begin_layout Plain Layout
3807
3808 \family sans
3809 \series medium
3810 \shape up
3811 \size normal
3812 \emph off
3813 \bar no
3814 \noun off
3815 \color none
3816 One
3817 \end_layout
3818
3819 \end_inset
3820 </cell>
3821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3822 \begin_inset Text
3823
3824 \begin_layout Plain Layout
3825
3826 \family sans
3827 \series medium
3828 \shape up
3829 \size normal
3830 \emph off
3831 \bar no
3832 \noun off
3833 \color none
3834 One
3835 \end_layout
3836
3837 \end_inset
3838 </cell>
3839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3840 \begin_inset Text
3841
3842 \begin_layout Plain Layout
3843
3844 \series medium
3845 \shape up
3846 \size normal
3847 \emph off
3848 \bar no
3849 \noun off
3850 \color none
3851 none
3852 \end_layout
3853
3854 \end_inset
3855 </cell>
3856 </row>
3857 </lyxtabular>
3858
3859 \end_inset
3860
3861
3862 \end_layout
3863
3864 \begin_layout Standard
3865 \begin_inset VSpace 0.3cm
3866 \end_inset
3867
3868
3869 \end_layout
3870
3871 \begin_layout Standard
3872 You're probably also wondering what 
3873 \begin_inset Quotes eld
3874 \end_inset
3875
3876 Max.
3877 \begin_inset space ~
3878 \end_inset
3879
3880 sectioning level
3881 \begin_inset Quotes erd
3882 \end_inset
3883
3884  means.
3885  There are several paragraph environments used to create section headings.
3886  Different document classes allow different types of section headings.
3887  Only two use the 
3888 \family sans
3889 Chapter
3890 \family default
3891  heading; the rest do not and begin instead with the 
3892 \family sans
3893 Section
3894 \family default
3895  heading.
3896  Some document classes, such as the ones for letters, don't use any section
3897  headings.
3898  In addition to 
3899 \family sans
3900 Chapter
3901 \family default
3902  and 
3903 \family sans
3904 Section
3905 \family default
3906  headings, there are also 
3907 \family sans
3908 Subsection
3909 \family default
3910  headings, 
3911 \family sans
3912 Subsubsection
3913 \family default
3914  headings, and so on.
3915  We will describe these headings fully in section
3916 \begin_inset space ~
3917 \end_inset
3918
3919
3920 \begin_inset CommandInset ref
3921 LatexCommand ref
3922 reference "subsec:Headings"
3923
3924 \end_inset
3925
3926 .
3927 \end_layout
3928
3929 \begin_layout Subsection
3930 Document Layout
3931 \begin_inset CommandInset label
3932 LatexCommand label
3933 name "subsec:Document-Layout"
3934
3935 \end_inset
3936
3937
3938 \begin_inset Index idx
3939 status collapsed
3940
3941 \begin_layout Plain Layout
3942 Document ! Layout
3943 \end_layout
3944
3945 \end_inset
3946
3947
3948 \begin_inset Index idx
3949 status collapsed
3950
3951 \begin_layout Plain Layout
3952 Document ! Settings
3953 \end_layout
3954
3955 \end_inset
3956
3957
3958 \end_layout
3959
3960 \begin_layout Standard
3961 The most important properties of document classes are set in the menu 
3962 \family sans
3963 Document\SpecialChar menuseparator
3964 Settings
3965 \family default
3966 .
3967  There in the 
3968 \family sans
3969 Class
3970 \begin_inset space ~
3971 \end_inset
3972
3973 options
3974 \family default
3975  field under 
3976 \family sans
3977 Documents
3978 \begin_inset space ~
3979 \end_inset
3980
3981 Class
3982 \family default
3983 , you can enter special options for your document class in a comma-separated
3984  list.
3985  This is only necessary if \SpecialChar LyX
3986  doesn't support special options you want to
3987  use for your document.
3988  To learn more about your favorite \SpecialChar LaTeX
3989 -class and its options, you have to read
3990  its manual.
3991 \end_layout
3992
3993 \begin_layout Standard
3994 The drop box 
3995 \family sans
3996 Headings
3997 \begin_inset space ~
3998 \end_inset
3999
4000 style
4001 \family default
4002  in the 
4003 \family sans
4004 Document\SpecialChar menuseparator
4005 Settings
4006 \family default
4007  dialog under 
4008 \family sans
4009 Page
4010 \begin_inset space ~
4011 \end_inset
4012
4013 Layout
4014 \family default
4015  controls what sorts of headings and page numbers go on a page.
4016  You can choose between the following five options:
4017 \end_layout
4018
4019 \begin_layout Labeling
4020 \labelwidthstring 00.00.0000
4021
4022 \family sans
4023 Default
4024 \family default
4025  Use default page style of current class.
4026 \end_layout
4027
4028 \begin_layout Labeling
4029 \labelwidthstring 00.00.0000
4030
4031 \family sans
4032 empty
4033 \family default
4034  No page numbers or headings.
4035 \end_layout
4036
4037 \begin_layout Labeling
4038 \labelwidthstring 00.00.0000
4039
4040 \family sans
4041 plain
4042 \family default
4043  Page numbers only.
4044 \end_layout
4045
4046 \begin_layout Labeling
4047 \labelwidthstring 00.00.0000
4048
4049 \family sans
4050 headings
4051 \family default
4052  Page numbers and either the current chapter or section title and number.
4053  Whether \SpecialChar LyX
4054  uses the current chapter or the current section depends on the
4055  maximum sectioning level of the class.
4056 \end_layout
4057
4058 \begin_layout Labeling
4059 \labelwidthstring 00.00.0000
4060
4061 \family sans
4062 fancy
4063 \family default
4064  This allows you to define fully customizable headers and footers if you
4065  have the \SpecialChar LaTeX
4066 -package 
4067 \series bold
4068 fancyhdr
4069 \series default
4070
4071 \begin_inset Index idx
4072 status collapsed
4073
4074 \begin_layout Plain Layout
4075 \SpecialChar LaTeX
4076  packages ! fancyhdr
4077 \end_layout
4078
4079 \end_inset
4080
4081  installed.
4082  How they are defined is explained in section
4083 \begin_inset space ~
4084 \end_inset
4085
4086
4087 \begin_inset CommandInset ref
4088 LatexCommand ref
4089 reference "sec:Customized-Page-Headers"
4090
4091 \end_inset
4092
4093 .
4094 \end_layout
4095
4096 \begin_layout Standard
4097 The separation of paragraphs is described in section
4098 \begin_inset space ~
4099 \end_inset
4100
4101
4102 \begin_inset CommandInset ref
4103 LatexCommand ref
4104 reference "subsec:Paragraph-Separation"
4105
4106 \end_inset
4107
4108 .
4109 \end_layout
4110
4111 \begin_layout Subsection
4112 Paper Size and Orientation
4113 \begin_inset Index idx
4114 status collapsed
4115
4116 \begin_layout Plain Layout
4117 Document ! Paper size
4118 \end_layout
4119
4120 \end_inset
4121
4122
4123 \begin_inset CommandInset label
4124 LatexCommand label
4125 name "subsec:Paper-Size,-Orientation"
4126
4127 \end_inset
4128
4129
4130 \end_layout
4131
4132 \begin_layout Standard
4133 You can find the following options in the menu 
4134 \family sans
4135 Page
4136 \begin_inset space ~
4137 \end_inset
4138
4139 Layout
4140 \family default
4141  of the 
4142 \family sans
4143 Document\SpecialChar menuseparator
4144 Settings
4145 \family default
4146  dialog:
4147 \begin_inset Index idx
4148 status collapsed
4149
4150 \begin_layout Plain Layout
4151 Document ! Settings
4152 \end_layout
4153
4154 \end_inset
4155
4156
4157 \end_layout
4158
4159 \begin_layout Labeling
4160 \labelwidthstring 00.00.0000
4161
4162 \family sans
4163 Paper
4164 \begin_inset space ~
4165 \end_inset
4166
4167 Format
4168 \family default
4169  What size paper to print on.
4170  The choices are
4171 \end_layout
4172
4173 \begin_deeper
4174 \begin_layout Itemize
4175
4176 \family sans
4177 Default
4178 \end_layout
4179
4180 \begin_layout Itemize
4181
4182 \family sans
4183 A0 – A6
4184 \end_layout
4185
4186 \begin_layout Itemize
4187
4188 \family sans
4189 B0 – B6
4190 \end_layout
4191
4192 \begin_layout Itemize
4193
4194 \family sans
4195 C0 – C6
4196 \end_layout
4197
4198 \begin_layout Itemize
4199
4200 \family sans
4201 US letter, US legal, US executive
4202 \end_layout
4203
4204 \begin_layout Itemize
4205
4206 \family sans
4207 JIS B0 – JIS B6
4208 \end_layout
4209
4210 \begin_layout Itemize
4211
4212 \family sans
4213 Custom
4214 \end_layout
4215
4216 \end_deeper
4217 \begin_layout Labeling
4218 \labelwidthstring 00.00.0000
4219
4220 \family sans
4221 Orientation
4222 \family default
4223  To choose whether to output as 
4224 \family sans
4225 Landscape
4226 \family default
4227  or as 
4228 \family sans
4229 Portrait
4230 \family default
4231 .
4232 \end_layout
4233
4234 \begin_layout Labeling
4235 \labelwidthstring 00.00.0000
4236
4237 \family sans
4238 Two-sided
4239 \begin_inset space ~
4240 \end_inset
4241
4242 document
4243 \family default
4244  Adjusts the print space to print both sides of paper.
4245  That means that the print space for odd- and even-numbered pages is different.
4246 \end_layout
4247
4248 \begin_layout Subsection
4249 Margins
4250 \begin_inset CommandInset label
4251 LatexCommand label
4252 name "subsec:Margins"
4253
4254 \end_inset
4255
4256
4257 \begin_inset Index idx
4258 status collapsed
4259
4260 \begin_layout Plain Layout
4261 Document ! Margins
4262 \end_layout
4263
4264 \end_inset
4265
4266
4267 \begin_inset Index idx
4268 status collapsed
4269
4270 \begin_layout Plain Layout
4271 Margins
4272 \end_layout
4273
4274 \end_inset
4275
4276
4277 \end_layout
4278
4279 \begin_layout Standard
4280 Paper margins are set in the menu 
4281 \family sans
4282 Document\SpecialChar menuseparator
4283 Settings
4284 \family default
4285 .
4286 \begin_inset Index idx
4287 status collapsed
4288
4289 \begin_layout Plain Layout
4290 Document ! Settings
4291 \end_layout
4292
4293 \end_inset
4294
4295
4296 \end_layout
4297
4298 \begin_layout Standard
4299 If you use a KOMA-Script document class, you can use the default settings
4300  because KOMA-Script calculates the print space automatically by taking
4301  the paper format and the font size into account.
4302 \end_layout
4303
4304 \begin_layout Subsection
4305 Important Note
4306 \end_layout
4307
4308 \begin_layout Standard
4309 If you change a document class, \SpecialChar LyX
4310  has to convert 
4311 \emph on
4312 everything
4313 \emph default
4314  into the new class.
4315  That includes the paragraph environments.
4316  Some paragraph environments are standard, in so far as all of the document
4317  classes have them; but some classes have special paragraph environments.
4318  If this is the case, and you change the document class, \SpecialChar LyX
4319  will mark the
4320  paragraphs whose styles it no longer understands as 
4321 \begin_inset Quotes eld
4322 \end_inset
4323
4324 unknown
4325 \begin_inset Quotes erd
4326 \end_inset
4327
4328 .
4329  The name of the style is retained, in case you should want to go back to
4330  the old class.
4331  But these paragraphs will be output with no special formatting, so you
4332  will either need to create a new style yourself or else convert these paragraph
4333 s manually to a style present in your new document class.
4334 \end_layout
4335
4336 \begin_layout Section
4337 Paragraph Indentation and Separation
4338 \begin_inset Index idx
4339 status collapsed
4340
4341 \begin_layout Plain Layout
4342 Paragraph ! Indentation
4343 \end_layout
4344
4345 \end_inset
4346
4347
4348 \end_layout
4349
4350 \begin_layout Subsection
4351 Introduction
4352 \begin_inset CommandInset label
4353 LatexCommand label
4354 name "sec:Par-indent-intro"
4355
4356 \end_inset
4357
4358
4359 \end_layout
4360
4361 \begin_layout Standard
4362 Before describing all of the various paragraph environments, we'd like to
4363  say a word or two about paragraph indentation.
4364 \end_layout
4365
4366 \begin_layout Standard
4367 Everyone seems to have their own convention for separating paragraphs.
4368  Most Americans indent the first line of a paragraph.
4369  Others don't indent but put extra space between the paragraphs.
4370  If you choose indentation for paragraphs the 
4371 \emph on
4372 first
4373 \emph default
4374  paragraph of a section, or after a figure, an equation, a table, a list,
4375  etc., is 
4376 \emph on
4377 not
4378 \emph default
4379  indented.
4380  Only a paragraph following another paragraph gets indented.
4381  Note that the indentation behavior is different when you use another document
4382  language than English.
4383  \SpecialChar LaTeX
4384  takes care that the indentation follows the rules of the language used.
4385 \end_layout
4386
4387 \begin_layout Standard
4388 The space between paragraphs, like the line spacing, the space between headings
4389  and text — in fact, all the spacing for just about everything —is pre-coded
4390  into \SpecialChar LyX
4391 .
4392  As we said, you don't worry about how much space to add between what.
4393  \SpecialChar LyX
4394  takes care of that.
4395  In fact, these pre-coded vertical spacings aren't a single number but a
4396  range.
4397  That way, \SpecialChar LyX
4398  can squish or stretch the space between lines to make sure figures
4399  fit on a page with text, so that sections don't start at the bottom of
4400  a page, and so on.
4401 \begin_inset Foot
4402 status collapsed
4403
4404 \begin_layout Plain Layout
4405 \SpecialChar LaTeX
4406  does this when \SpecialChar LyX
4407  goes to produce a printable file.
4408 \end_layout
4409
4410 \end_inset
4411
4412  However, pre-coded doesn't mean you can't change them.
4413  \SpecialChar LyX
4414  gives you the ability globally to change 
4415 \emph on
4416 all
4417 \emph default
4418  these pre-coded spacings.
4419  We will explain more later.
4420 \end_layout
4421
4422 \begin_layout Subsection
4423 Paragraph Separation
4424 \begin_inset CommandInset label
4425 LatexCommand label
4426 name "subsec:Paragraph-Separation"
4427
4428 \end_inset
4429
4430
4431 \begin_inset Index idx
4432 status collapsed
4433
4434 \begin_layout Plain Layout
4435 Paragraph ! Separation
4436 \end_layout
4437
4438 \end_inset
4439
4440
4441 \end_layout
4442
4443 \begin_layout Standard
4444 Select 
4445 \family sans
4446 Indentation
4447 \family default
4448  or 
4449 \family sans
4450 Vertical
4451 \begin_inset space ~
4452 \end_inset
4453
4454 space
4455 \family default
4456  in the submenu 
4457 \family sans
4458 Text
4459 \begin_inset space ~
4460 \end_inset
4461
4462 Layout
4463 \family default
4464  of the dialog 
4465 \family sans
4466 Document\SpecialChar menuseparator
4467 Settings
4468 \family default
4469
4470 \begin_inset Index idx
4471 status collapsed
4472
4473 \begin_layout Plain Layout
4474 Document ! Settings
4475 \end_layout
4476
4477 \end_inset
4478
4479  to indent paragraphs or to add extra space between paragraphs, respectively.
4480 \end_layout
4481
4482 \begin_layout Subsection
4483 Fine-Tuning
4484 \end_layout
4485
4486 \begin_layout Standard
4487 You can also change the separation method of a single paragraph.
4488  Open the 
4489 \family sans
4490 Edit\SpecialChar menuseparator
4491 Paragraph
4492 \begin_inset space ~
4493 \end_inset
4494
4495 Settings
4496 \family default
4497  dialog and toggle the 
4498 \family sans
4499 Indent
4500 \begin_inset space ~
4501 \end_inset
4502
4503 Paragraph
4504 \family default
4505  option to change the state of the current paragraph (shortcut 
4506 \begin_inset Info
4507 type  "shortcut"
4508 arg   "paragraph-params \\indent-toggle"
4509 \end_inset
4510
4511 ).
4512  If paragraphs have no indentation but use extra space for separation, this
4513  button will be ignored (you can't indent a single paragraph by toggling
4514  this).
4515 \end_layout
4516
4517 \begin_layout Standard
4518 You should only need to change the indentation method for a single paragraph
4519  if you need to do some fine-tuning.
4520 \end_layout
4521
4522 \begin_layout Subsection
4523 Line Spacing
4524 \begin_inset Index idx
4525 status collapsed
4526
4527 \begin_layout Plain Layout
4528 Paragraph ! Line spacing
4529 \end_layout
4530
4531 \end_inset
4532
4533
4534 \end_layout
4535
4536 \begin_layout Standard
4537 In the 
4538 \family sans
4539 Document\SpecialChar menuseparator
4540 Settings
4541 \noun on
4542
4543 \begin_inset Index idx
4544 status collapsed
4545
4546 \begin_layout Plain Layout
4547 Document ! Settings
4548 \end_layout
4549
4550 \end_inset
4551
4552
4553 \family default
4554 \noun default
4555  dialog you can set the line spacing for the whole document in the submenu
4556  
4557 \family sans
4558 Text
4559 \begin_inset space ~
4560 \end_inset
4561
4562 Layout
4563 \family default
4564 .
4565 \begin_inset Foot
4566 status collapsed
4567
4568 \begin_layout Plain Layout
4569 You need to have the \SpecialChar LaTeX
4570 -package 
4571 \series bold
4572 setspace
4573 \series default
4574
4575 \begin_inset Index idx
4576 status collapsed
4577
4578 \begin_layout Plain Layout
4579 \SpecialChar LaTeX
4580  packages ! setspace
4581 \end_layout
4582
4583 \end_inset
4584
4585  installed to use this feature.
4586 \end_layout
4587
4588 \end_inset
4589
4590  You can set it for a single paragraph in the 
4591 \family sans
4592 Edit\SpecialChar menuseparator
4593 Paragraph
4594 \begin_inset space ~
4595 \end_inset
4596
4597 Settings
4598 \family default
4599  dialog but this should be used very exceptionally because vertical spacing
4600  is normally defined in the environment's style.
4601 \end_layout
4602
4603 \begin_layout Section
4604 Paragraph Environments
4605 \begin_inset CommandInset label
4606 LatexCommand label
4607 name "sec:Paragraph-Environments"
4608
4609 \end_inset
4610
4611
4612 \begin_inset Index idx
4613 status collapsed
4614
4615 \begin_layout Plain Layout
4616 Paragraph ! Environments
4617 \end_layout
4618
4619 \end_inset
4620
4621
4622 \begin_inset Index idx
4623 status collapsed
4624
4625 \begin_layout Plain Layout
4626 Paragraph environments|(
4627 \end_layout
4628
4629 \end_inset
4630
4631
4632 \end_layout
4633
4634 \begin_layout Subsection
4635 Overview
4636 \end_layout
4637
4638 \begin_layout Standard
4639 Paragraph environments correspond to the
4640 \end_layout
4641
4642 \begin_layout Standard
4643
4644 \series bold
4645
4646 \backslash
4647 begin{
4648 \emph on
4649 environment
4650 \emph default
4651 } \SpecialChar ldots
4652  
4653 \backslash
4654 end{
4655 \emph on
4656 environment
4657 \emph default
4658 }
4659 \series default
4660
4661 \begin_inset Newline newline
4662 \end_inset
4663
4664 command sequence in \SpecialChar LaTeX
4665  files.
4666  If you don't know \SpecialChar LaTeX
4667 , or the concept of a paragraph environment is totally
4668  alien to you, we urge you to read the 
4669 \emph on
4670 Tutorial
4671 \emph default
4672 .
4673  The 
4674 \emph on
4675 Tutorial
4676 \emph default
4677  also contains many more examples than this section does.
4678 \end_layout
4679
4680 \begin_layout Standard
4681 A paragraph environment is simply a 
4682 \begin_inset Quotes eld
4683 \end_inset
4684
4685 container
4686 \begin_inset Quotes erd
4687 \end_inset
4688
4689  for a paragraph which gives that paragraph certain properties.
4690  This can include a particular style of font, different margins, a numbering
4691  scheme, labels, and so on.
4692  Additionally, you can 
4693 \begin_inset Quotes eld
4694 \end_inset
4695
4696 nest
4697 \begin_inset Quotes erd
4698 \end_inset
4699
4700  the different environments inside one another, allowing one environment
4701  to inherit some of the properties of another.
4702  The different paragraph environments totally replace the need for messy
4703  tab stops, on the fly margin adjustment, and other hangovers from the days
4704  of typewriters.
4705  There are several paragraph environments that are specific to a particular
4706  document type.
4707  We will only be covering the most common ones here.
4708 \end_layout
4709
4710 \begin_layout Standard
4711 To choose a new paragraph environment, use the pull-down box 
4712 \begin_inset Graphics
4713         filename clipart/ToolbarEnvBox.png
4714         scale 70
4715         clip
4716
4717 \end_inset
4718
4719  at the left end of the toolbar.
4720  \SpecialChar LyX
4721  will change the environment of the 
4722 \emph on
4723 entire
4724 \emph default
4725  paragraph in which the cursor sits.
4726  You can also change the environment of an entire group of paragraphs if
4727  you select them before choosing the new environment.
4728  
4729 \end_layout
4730
4731 \begin_layout Standard
4732 Note that entering 
4733 \family sans
4734 Return
4735 \family default
4736  will 
4737 \emph on
4738 typically
4739 \emph default
4740  create a new paragraph using the 
4741 \family sans
4742 Standard
4743 \family default
4744  paragraph environment.
4745  We say 
4746 \begin_inset Quotes eld
4747 \end_inset
4748
4749 typically
4750 \begin_inset Quotes erd
4751 \end_inset
4752
4753  because if you are in one of these environments:
4754 \end_layout
4755
4756 \begin_layout Itemize
4757
4758 \family sans
4759 Quote
4760 \end_layout
4761
4762 \begin_layout Itemize
4763
4764 \family sans
4765 Quotation
4766 \end_layout
4767
4768 \begin_layout Itemize
4769
4770 \family sans
4771 Verse
4772 \end_layout
4773
4774 \begin_layout Itemize
4775
4776 \family sans
4777 Itemize
4778 \end_layout
4779
4780 \begin_layout Itemize
4781
4782 \family sans
4783 Enumerate
4784 \end_layout
4785
4786 \begin_layout Itemize
4787
4788 \family sans
4789 Description
4790 \end_layout
4791
4792 \begin_layout Itemize
4793
4794 \family sans
4795 List
4796 \end_layout
4797
4798 \begin_layout Standard
4799 \SpecialChar LyX
4800  keeps the old paragraph environment when you enter 
4801 \family sans
4802 Return
4803 \family default
4804 , rather than resetting it to 
4805 \family sans
4806 Standard
4807 \family default
4808 .
4809  Also the nesting depth is preserved (for more on nesting see section
4810 \begin_inset space ~
4811 \end_inset
4812
4813
4814 \begin_inset CommandInset ref
4815 LatexCommand ref
4816 reference "sec:Nesting"
4817
4818 \end_inset
4819
4820 ).
4821 \end_layout
4822
4823 \begin_layout Subsection
4824 Standard
4825 \end_layout
4826
4827 \begin_layout Standard
4828 The default paragraph environment is 
4829 \family sans
4830 Standard
4831 \family default
4832  for most classes.
4833  It creates a plain paragraph.
4834  If \SpecialChar LyX
4835  resets the paragraph environment, this is the one it chooses.
4836  In fact, the paragraph you're reading right now (and most of the ones in
4837  this manual) are in the 
4838 \family sans
4839 Standard
4840 \family default
4841  environment.
4842 \end_layout
4843
4844 \begin_layout Standard
4845 You can nest a paragraph using the 
4846 \family sans
4847 Standard
4848 \family default
4849  environment in just about anything else, but you can't really nest anything
4850  in a 
4851 \family sans
4852 Standard
4853 \family default
4854  environment.
4855 \end_layout
4856
4857 \begin_layout Subsection
4858 Document Title
4859 \begin_inset Index idx
4860 status collapsed
4861
4862 \begin_layout Plain Layout
4863 Document ! Title
4864 \end_layout
4865
4866 \end_inset
4867
4868
4869 \end_layout
4870
4871 \begin_layout Standard
4872 A \SpecialChar LaTeX
4873  title page has three parts: the title itself, the name(s) of the author(s)
4874  and a 
4875 \begin_inset Quotes eld
4876 \end_inset
4877
4878 footnote
4879 \begin_inset Quotes erd
4880 \end_inset
4881
4882  for thanks or contact information.
4883  For certain types of documents, \SpecialChar LaTeX
4884  places all of this on a separate page
4885  along with today's date.
4886  For other types of documents, the title 
4887 \begin_inset Quotes eld
4888 \end_inset
4889
4890 page
4891 \begin_inset Quotes erd
4892 \end_inset
4893
4894  goes at the top of the first page of the document.
4895  
4896 \end_layout
4897
4898 \begin_layout Standard
4899 \SpecialChar LyX
4900  provides an interface to the title page commands through the paragraph
4901  environments 
4902 \family sans
4903 Title
4904 \family default
4905
4906 \family sans
4907 Author
4908 \family default
4909 , and 
4910 \family sans
4911 Date
4912 \family default
4913 .
4914  Here's how you use them:
4915 \end_layout
4916
4917 \begin_layout Itemize
4918 Put the title of your document in the 
4919 \family sans
4920 Title
4921 \family default
4922  environment.
4923 \end_layout
4924
4925 \begin_layout Itemize
4926 Put the author name in the 
4927 \family sans
4928 Author
4929 \family default
4930  environment.
4931 \end_layout
4932
4933 \begin_layout Itemize
4934 If you want the date to have a certain appearance, want to use a fixed date,
4935  or want other text to appear in place of today's date, put that text in
4936  the 
4937 \family sans
4938 Date
4939 \family default
4940  environment.
4941  Note that using this environment is optional.
4942  If you don't provide any, \SpecialChar LaTeX
4943  will automatically insert today's date.
4944  If you don't want a date, use the option 
4945 \family sans
4946 Suppress default date on front page
4947 \family default
4948  in the menu 
4949 \family sans
4950 Document\SpecialChar menuseparator
4951 Settings\SpecialChar menuseparator
4952 Document
4953 \begin_inset space ~
4954 \end_inset
4955
4956 class
4957 \family default
4958 .
4959 \end_layout
4960
4961 \begin_layout Standard
4962 You can use footnotes to insert 
4963 \begin_inset Quotes eld
4964 \end_inset
4965
4966 thanks
4967 \begin_inset Quotes erd
4968 \end_inset
4969
4970  or contact information.
4971 \end_layout
4972
4973 \begin_layout Subsection
4974 Headings
4975 \begin_inset Index idx
4976 status collapsed
4977
4978 \begin_layout Plain Layout
4979 Section headings
4980 \end_layout
4981
4982 \end_inset
4983
4984
4985 \begin_inset CommandInset label
4986 LatexCommand label
4987 name "subsec:Headings"
4988
4989 \end_inset
4990
4991
4992 \end_layout
4993
4994 \begin_layout Standard
4995 There are several paragraph environments for producing section headings.
4996  \SpecialChar LyX
4997  takes care of the numbering for you.
4998 \end_layout
4999
5000 \begin_layout Subsubsection
5001 Numbered Headings
5002 \begin_inset Index idx
5003 status collapsed
5004
5005 \begin_layout Plain Layout
5006 Section headings ! Numbered
5007 \end_layout
5008
5009 \end_inset
5010
5011
5012 \end_layout
5013
5014 \begin_layout Standard
5015 There are 7 numbered types of section headings.
5016  They are:
5017 \end_layout
5018
5019 \begin_layout Enumerate
5020
5021 \family sans
5022 Part
5023 \end_layout
5024
5025 \begin_layout Enumerate
5026
5027 \family sans
5028 Chapter
5029 \end_layout
5030
5031 \begin_layout Enumerate
5032
5033 \family sans
5034 Section
5035 \end_layout
5036
5037 \begin_layout Enumerate
5038
5039 \family sans
5040 Subsection
5041 \end_layout
5042
5043 \begin_layout Enumerate
5044
5045 \family sans
5046 Subsubsection
5047 \end_layout
5048
5049 \begin_layout Enumerate
5050
5051 \family sans
5052 Paragraph
5053 \end_layout
5054
5055 \begin_layout Enumerate
5056
5057 \family sans
5058 Subparagraph
5059 \end_layout
5060
5061 \begin_layout Standard
5062 \SpecialChar LyX
5063  labels each heading with a series of numbers, separated by periods.
5064  The numbers describe where in the document you are.
5065  Unlike the other headings, parts are numbered with Latin letters.
5066 \end_layout
5067
5068 \begin_layout Standard
5069 Headings all subdivide your document into different pieces of text.
5070  For example, suppose you're writing a book.
5071  You group the book into chapters.
5072  \SpecialChar LyX
5073  does a similar grouping:
5074 \end_layout
5075
5076 \begin_layout Itemize
5077
5078 \family sans
5079 Part
5080 \family default
5081  is divided into either 
5082 \family sans
5083 Chapter
5084 \family default
5085 s or 
5086 \family sans
5087 Section
5088 \family default
5089 s
5090 \end_layout
5091
5092 \begin_layout Itemize
5093
5094 \family sans
5095 Chapter
5096 \family default
5097 s are divided into 
5098 \family sans
5099 Section
5100 \family default
5101 s
5102 \end_layout
5103
5104 \begin_layout Itemize
5105
5106 \family sans
5107 Section
5108 \family default
5109 s are divided into 
5110 \family sans
5111 Subsection
5112 \family default
5113 s
5114 \end_layout
5115
5116 \begin_layout Itemize
5117
5118 \family sans
5119 Subsection
5120 \family default
5121 s are divided into 
5122 \family sans
5123 Subsubsection
5124 \family default
5125 s
5126 \end_layout
5127
5128 \begin_layout Itemize
5129
5130 \family sans
5131 Subsubsection
5132 \family default
5133 s are divided into 
5134 \family sans
5135 Paragraph
5136 \family default
5137 s
5138 \end_layout
5139
5140 \begin_layout Itemize
5141
5142 \family sans
5143 Paragraph
5144 \family default
5145 s are divided into 
5146 \family sans
5147 Subparagraph
5148 \family default
5149 s
5150 \end_layout
5151
5152 \begin_layout Standard
5153 \begin_inset Note Greyedout
5154 status open
5155
5156 \begin_layout Plain Layout
5157
5158 \series bold
5159 Note:
5160 \series default
5161  Not all document types use the 
5162 \family sans
5163 Chapter
5164 \family default
5165  heading as the maximum sectioning level.
5166  In that case the 
5167 \family sans
5168 Section
5169 \family default
5170  is the top-level heading.
5171 \end_layout
5172
5173 \end_inset
5174
5175
5176 \end_layout
5177
5178 \begin_layout Standard
5179 So, if you use the 
5180 \family sans
5181 Subsubsection
5182 \family default
5183  environment to label a new sub-subsection, \SpecialChar LyX
5184  labels it with its number,
5185  along with the number of the subsection, section and, if applicable, chapter
5186  that it's in.
5187  For example: the fifth section of the second chapter of this book has the
5188  label 
5189 \begin_inset Quotes eld
5190 \end_inset
5191
5192 2.5
5193 \begin_inset Quotes erd
5194 \end_inset
5195
5196 .
5197 \end_layout
5198
5199 \begin_layout Subsubsection
5200 Unnumbered Headings
5201 \begin_inset Index idx
5202 status collapsed
5203
5204 \begin_layout Plain Layout
5205 Section headings ! Unnumbered
5206 \end_layout
5207
5208 \end_inset
5209
5210
5211 \end_layout
5212
5213 \begin_layout Standard
5214 The unnumbered section headings have a 
5215 \begin_inset Quotes eld
5216 \end_inset
5217
5218 *
5219 \begin_inset Quotes erd
5220 \end_inset
5221
5222  at the end of their name.
5223  They work the same as their numbered counterparts but will not appear in
5224  the table of contents, see section
5225 \begin_inset space ~
5226 \end_inset
5227
5228
5229 \begin_inset CommandInset ref
5230 LatexCommand ref
5231 reference "sec:toc"
5232
5233 \end_inset
5234
5235 .
5236 \end_layout
5237
5238 \begin_layout Subsubsection
5239 Changing the Numbering
5240 \begin_inset CommandInset label
5241 LatexCommand label
5242 name "subsec:Numbering-depth"
5243
5244 \end_inset
5245
5246
5247 \end_layout
5248
5249 \begin_layout Standard
5250 You can also alter which sectioning levels get numbered and which ones appear
5251  in the Table of Contents.
5252  Now, this doesn't remove any of the levels; that's preset in the document
5253  class.
5254  Just as certain classes start with 
5255 \family sans
5256 Chapter
5257 \family default
5258  and go down to the 
5259 \family sans
5260 Subparagraph
5261 \family default
5262  level.
5263  Others start at 
5264 \family sans
5265 Section
5266 \family default
5267 .
5268  Similarly, not all document classes number all sectioning levels.
5269  Most don't number 
5270 \family sans
5271 Paragraph
5272 \family default
5273  or 
5274 \family sans
5275 Subparagraph
5276 \family default
5277 .
5278  This is something you can change.
5279 \end_layout
5280
5281 \begin_layout Standard
5282 Open the 
5283 \family sans
5284 Document\SpecialChar menuseparator
5285 Settings
5286 \family default
5287  dialog.
5288 \begin_inset Index idx
5289 status collapsed
5290
5291 \begin_layout Plain Layout
5292 Document ! Settings
5293 \end_layout
5294
5295 \end_inset
5296
5297  Under 
5298 \family sans
5299 Numbering
5300 \begin_inset space ~
5301 \end_inset
5302
5303 &
5304 \begin_inset space ~
5305 \end_inset
5306
5307 TOC
5308 \family default
5309  you will see two counters.
5310  The one named 
5311 \family sans
5312 Numbering
5313 \family default
5314  controls how far down in the sectioning hierarchy \SpecialChar LyX
5315  numbers a section heading.
5316  The other one controls the appearance of the section headings in the table
5317  of contents.
5318 \end_layout
5319
5320 \begin_layout Subsubsection
5321 Short Titles of Headings
5322 \begin_inset Index idx
5323 status collapsed
5324
5325 \begin_layout Plain Layout
5326 Section headings ! Short titles
5327 \end_layout
5328
5329 \end_inset
5330
5331
5332 \begin_inset Argument 1
5333 status collapsed
5334
5335 \begin_layout Plain Layout
5336 Short Titles
5337 \end_layout
5338
5339 \end_inset
5340
5341
5342 \begin_inset CommandInset label
5343 LatexCommand label
5344 name "sec:Short-Titles"
5345
5346 \end_inset
5347
5348
5349 \end_layout
5350
5351 \begin_layout Standard
5352 Some section or chapter titles, such as this one, can get quite long.
5353  This can cause trouble when there is limited horizontal space.
5354  For example, if the header of the page is set to show the current section
5355  title, a long title will protrude over the page margins and look awful.
5356 \end_layout
5357
5358 \begin_layout Standard
5359 \SpecialChar LaTeX
5360  allows you to specify a short title for section headings.
5361  This short title is used in the header and in the actual table of contents,
5362  avoiding the problem mentioned.
5363  To specify a short title, set the cursor behind the title and use the menu
5364  
5365 \family sans
5366 Insert\SpecialChar menuseparator
5367 Short
5368 \begin_inset space ~
5369 \end_inset
5370
5371 Title
5372 \family default
5373 .
5374  This will insert a box labeled 
5375 \begin_inset Quotes eld
5376 \end_inset
5377
5378 Short
5379 \begin_inset space ~
5380 \end_inset
5381
5382 Title
5383 \begin_inset Quotes erd
5384 \end_inset
5385
5386  which you can use to enter the short title text.
5387  This also works for captions inside floats.
5388  There can only be one short title per title.
5389 \end_layout
5390
5391 \begin_layout Standard
5392 The title of this section is a good example of using this feature.
5393 \end_layout
5394
5395 \begin_layout Subsubsection
5396 Special Information
5397 \end_layout
5398
5399 \begin_layout Standard
5400 The following information applies to all section headings:
5401 \end_layout
5402
5403 \begin_layout Itemize
5404 You cannot do any nesting with these environments.
5405 \end_layout
5406
5407 \begin_layout Itemize
5408 You cannot use a margin note in any of these environments.
5409 \end_layout
5410
5411 \begin_layout Itemize
5412 You can only use inline math in these environments.
5413 \end_layout
5414
5415 \begin_layout Itemize
5416 You can use labels and cross-references to refer to their numbers.
5417 \end_layout
5418
5419 \begin_layout Subsection
5420 Quotes and Poetry
5421 \end_layout
5422
5423 \begin_layout Standard
5424 \SpecialChar LyX
5425  has three paragraph environments for writing poetry and quotations.
5426  They are 
5427 \family sans
5428 Quote
5429 \family default
5430
5431 \family sans
5432 Quotation
5433 \family default
5434 , and 
5435 \family sans
5436 Verse
5437 \family default
5438 .
5439  Forget the days of changing line spacing and twiddling with margins.
5440  These three paragraph environments already have those changes built-in.
5441  They all widen the left margin and add a bit of extra space above and below
5442  the text they contain.
5443  They also allow nesting, so you can put a 
5444 \family sans
5445 Verse
5446 \family default
5447  in a 
5448 \family sans
5449 Quotation
5450 \family default
5451 , as well as in some other paragraph environments.
5452 \end_layout
5453
5454 \begin_layout Standard
5455 There is another feature of these three paragraph environments: they do
5456  
5457 \emph on
5458 not
5459 \emph default
5460  reset to 
5461 \family sans
5462 Standard
5463 \family default
5464  when you start a new paragraph.
5465  So, you can type in that poem and merrily enter 
5466 \family sans
5467 Return
5468 \family default
5469  without worrying about the paragraph environment changing on you.
5470  Of course, that means that, once you are done typing in that poem, you
5471  have to change back to the 
5472 \family sans
5473 Standard
5474 \family default
5475  environment yourself.
5476 \end_layout
5477
5478 \begin_layout Subsubsection
5479 Quote and Quotation
5480 \begin_inset CommandInset label
5481 LatexCommand label
5482 name "sec:Quote"
5483
5484 \end_inset
5485
5486
5487 \begin_inset Index idx
5488 status collapsed
5489
5490 \begin_layout Plain Layout
5491 Quotation
5492 \end_layout
5493
5494 \end_inset
5495
5496
5497 \end_layout
5498
5499 \begin_layout Standard
5500 Now that we've described the similarities of these three environments, it's
5501  time for the differences.
5502  
5503 \family sans
5504 Quote
5505 \family default
5506  and 
5507 \family sans
5508 Quotation
5509 \family default
5510  are identical except for one difference: 
5511 \family sans
5512 Quote
5513 \family default
5514  uses extra spacing to separate paragraphs and never indents the first line.
5515  
5516 \family sans
5517 Quotation
5518 \family default
5519  
5520 \emph on
5521 always
5522 \emph default
5523  indents the first line of a paragraph and uses the same line spacing throughout.
5524 \end_layout
5525
5526 \begin_layout Standard
5527 Here's an example of the 
5528 \family sans
5529 Quote
5530 \family default
5531  environment:
5532 \end_layout
5533
5534 \begin_layout Quote
5535 This is in the 
5536 \family sans
5537 Quote
5538 \family default
5539  environment.
5540  I can keep writing, extending this line out further and further until it
5541  wraps.
5542  See – no indentation!
5543 \end_layout
5544
5545 \begin_layout Quote
5546 Here's the second paragraph of this quote.
5547  Again, there's no indentation, but there is extra space between me and
5548  the other paragraph.
5549 \end_layout
5550
5551 \begin_layout Standard
5552 Here's another example, this time in the 
5553 \family sans
5554 Quotation
5555 \family default
5556  environment:
5557 \end_layout
5558
5559 \begin_layout Quotation
5560 This is in the 
5561 \family sans
5562 Quotation
5563 \family default
5564  environment.
5565  If I keep writing, you will see the indentation.
5566  If your country uses a writing style that indicates new paragraphs by indenting
5567  the first line, then 
5568 \family sans
5569 Quotation
5570 \family default
5571  is the environment for you! Well, you'd use it 
5572 \emph on
5573 if
5574 \emph default
5575  you were quoting other text.
5576 \end_layout
5577
5578 \begin_layout Quotation
5579 Here's a new paragraph.
5580  I could ramble on and on, like a politician at election time.
5581  If I did that, though, you'd get bored.
5582 \end_layout
5583
5584 \begin_layout Standard
5585 As the examples show, 
5586 \family sans
5587 Quote
5588 \family default
5589  is for those people who use extra space to separate paragraphs.
5590  They should put quotes in the 
5591 \family sans
5592 Quote
5593 \family default
5594  environment.
5595  Those who use indentation to mark a new paragraph should use the 
5596 \family sans
5597 Quotation
5598 \family default
5599  paragraph environment for quoted text.
5600 \end_layout
5601
5602 \begin_layout Subsubsection
5603 Verse
5604 \begin_inset Index idx
5605 status collapsed
5606
5607 \begin_layout Plain Layout
5608 Paragraph ! Verse
5609 \end_layout
5610
5611 \end_inset
5612
5613
5614 \begin_inset Index idx
5615 status collapsed
5616
5617 \begin_layout Plain Layout
5618 Poetry
5619 \end_layout
5620
5621 \end_inset
5622
5623
5624 \begin_inset CommandInset label
5625 LatexCommand label
5626 name "sec:Verse"
5627
5628 \end_inset
5629
5630
5631 \end_layout
5632
5633 \begin_layout Standard
5634
5635 \family sans
5636 Verse
5637 \family default
5638  is a paragraph environment for poetry, rhymes, verses, and so on.
5639  Here's an example:
5640 \end_layout
5641
5642 \begin_layout Verse
5643 This is in Verse
5644 \begin_inset Newline newline
5645 \end_inset
5646
5647 Which I did not rehearse!
5648 \end_layout
5649
5650 \begin_layout Verse
5651 It could be much worse.
5652  This line could be long, very long, oh so long, so very long that it wraps
5653  around.
5654  It looks okay on screen, but in the printed version, the extra lines are
5655  indented a bit more than the first.
5656  Okay, so it's turned to prose and doesn't rhyme anymore.
5657  So sue me.
5658 \end_layout
5659
5660 \begin_layout Verse
5661 To break a line
5662 \begin_inset Newline newline
5663 \end_inset
5664
5665 And make things look fine
5666 \begin_inset Newline newline
5667 \end_inset
5668
5669 Use 
5670 \begin_inset Info
5671 type  "shortcut"
5672 arg   "newline-insert newline"
5673 \end_inset
5674
5675 .
5676 \end_layout
5677
5678 \begin_layout Standard
5679 As you can see, 
5680 \family sans
5681 Verse
5682 \family default
5683  does not indent both margins.
5684  Each stanza of the verse or poem is in its own paragraph.
5685  To separate the individual lines of a stanza, use the shortcut 
5686 \begin_inset Info
5687 type  "shortcut"
5688 arg   "newline-insert newline"
5689 \end_inset
5690
5691 .
5692 \end_layout
5693
5694 \begin_layout Subsection
5695 Lists
5696 \begin_inset Index idx
5697 status collapsed
5698
5699 \begin_layout Plain Layout
5700 Lists
5701 \end_layout
5702
5703 \end_inset
5704
5705
5706 \begin_inset CommandInset label
5707 LatexCommand label
5708 name "subsec:Lists"
5709
5710 \end_inset
5711
5712
5713 \end_layout
5714
5715 \begin_layout Standard
5716 \SpecialChar LyX
5717  has four different paragraph environments for creating different kinds
5718  of lists.
5719  In the 
5720 \family sans
5721 Itemize
5722 \family default
5723  and 
5724 \family sans
5725 Enumerate
5726 \family default
5727  environments, \SpecialChar LyX
5728  labels your list items with bullets or numbers, respectively.
5729  In the 
5730 \family sans
5731 Description
5732 \family default
5733  and 
5734 \family sans
5735 List
5736 \family default
5737  environments, \SpecialChar LyX
5738  lets you provide your own label.
5739  We will present the individual details of each type of list next after
5740  describing some general features of all four of them.
5741 \end_layout
5742
5743 \begin_layout Subsubsection
5744 General Features
5745 \end_layout
5746
5747 \begin_layout Standard
5748 The four paragraph environments for lists differ from the other environments
5749  in several ways.
5750  First, \SpecialChar LyX
5751  treats each paragraph as a list item.
5752  Hitting 
5753 \family sans
5754 Return
5755 \family default
5756  does 
5757 \emph on
5758 not
5759 \emph default
5760  reset the environment to 
5761 \family sans
5762 Standard
5763 \family default
5764  but keeps the current environment and creates a new list item.
5765  The nesting depth is thereby kept.
5766  If you want to keep the paragraph environment but reset the current nesting
5767  depth, you can use 
5768 \begin_inset Info
5769 type  "shortcut"
5770 arg   "paragraph-break inverse"
5771 \end_inset
5772
5773 .
5774  If you do this at the top level of a list, it returns you to the 
5775 \family sans
5776 Standard
5777 \family default
5778  environment.
5779 \end_layout
5780
5781 \begin_layout Standard
5782 You can nest lists of any type inside one another.
5783  In fact, \SpecialChar LyX
5784  changes the labels on some list items depending on how it is
5785  nested.
5786  If you intend to use any of the list paragraph environments, we suggest
5787  you read all of section
5788 \begin_inset space ~
5789 \end_inset
5790
5791
5792 \begin_inset CommandInset ref
5793 LatexCommand ref
5794 reference "sec:Nesting"
5795
5796 \end_inset
5797
5798 .
5799 \end_layout
5800
5801 \begin_layout Subsubsection
5802 Itemize
5803 \begin_inset Index idx
5804 status collapsed
5805
5806 \begin_layout Plain Layout
5807 Lists ! Itemize
5808 \end_layout
5809
5810 \end_inset
5811
5812
5813 \begin_inset CommandInset label
5814 LatexCommand label
5815 name "sec:Itemize"
5816
5817 \end_inset
5818
5819
5820 \end_layout
5821
5822 \begin_layout Standard
5823 The first type of list we will describe in detail is the 
5824 \family sans
5825 Itemize
5826 \family default
5827  paragraph environment.
5828  It has the following properties:
5829 \end_layout
5830
5831 \begin_layout Itemize
5832 Each item has a particular bullet or symbol as its label.
5833 \end_layout
5834
5835 \begin_deeper
5836 \begin_layout Itemize
5837 \SpecialChar LyX
5838  uses the same symbol for all of the items in a given nesting level.
5839 \end_layout
5840
5841 \begin_layout Itemize
5842 The symbol appears at the beginning of the first line.
5843 \end_layout
5844
5845 \end_deeper
5846 \begin_layout Itemize
5847 The items can have any length.
5848  \SpecialChar LyX
5849  automatically offsets the left margin of each item.
5850  The offset is always relative to whatever environment the 
5851 \family sans
5852 Itemize
5853 \family default
5854  list may be in.
5855 \end_layout
5856
5857 \begin_layout Itemize
5858 If you nest an 
5859 \family sans
5860 Itemize
5861 \family default
5862  environment inside another 
5863 \family sans
5864 Itemize
5865 \family default
5866  environment, the label changes to a new symbol.
5867 \end_layout
5868
5869 \begin_deeper
5870 \begin_layout Itemize
5871 There are four different symbols for up to a four-fold nesting.
5872 \end_layout
5873
5874 \begin_layout Itemize
5875 \SpecialChar LyX
5876  always shows the same symbol on screen.
5877 \end_layout
5878
5879 \begin_layout Itemize
5880 See section
5881 \begin_inset space ~
5882 \end_inset
5883
5884
5885 \begin_inset CommandInset ref
5886 LatexCommand ref
5887 reference "sec:Nesting"
5888
5889 \end_inset
5890
5891  for a full explanation of nesting.
5892 \end_layout
5893
5894 \end_deeper
5895 \begin_layout Standard
5896 Of course, that explanation was also an example of an 
5897 \family sans
5898 Itemize
5899 \family default
5900  list.
5901  The 
5902 \family sans
5903 Itemize
5904 \family default
5905  environment is best suited for lists where the order doesn't matter.
5906 \end_layout
5907
5908 \begin_layout Standard
5909 We said that different levels use different symbols as their label.
5910  Here's an example of all four possible symbols.
5911 \end_layout
5912
5913 \begin_layout Itemize
5914 The label for the first level 
5915 \family sans
5916 Itemize
5917 \family default
5918  is a large black dot, or bullet.
5919 \end_layout
5920
5921 \begin_deeper
5922 \begin_layout Itemize
5923 The label for the second level is a dash.
5924 \end_layout
5925
5926 \begin_deeper
5927 \begin_layout Itemize
5928 The label for the third is an asterisk.
5929 \end_layout
5930
5931 \begin_deeper
5932 \begin_layout Itemize
5933 The label for the fourth is a centered dot.
5934 \end_layout
5935
5936 \end_deeper
5937 \begin_layout Itemize
5938 Back out to the third level.
5939 \end_layout
5940
5941 \end_deeper
5942 \begin_layout Itemize
5943 Back to the second level.
5944 \end_layout
5945
5946 \end_deeper
5947 \begin_layout Itemize
5948 Back to the outermost level.
5949 \end_layout
5950
5951 \begin_layout Standard
5952 These are the default labels for an 
5953 \family sans
5954 Itemize
5955 \family default
5956  list.
5957  You can customize how these labels are displayed in the output in the 
5958 \family sans
5959 Document\SpecialChar menuseparator
5960 Settings
5961 \family default
5962  dialog in the submenu 
5963 \family sans
5964 Bullets
5965 \family default
5966 .
5967 \begin_inset Index idx
5968 status collapsed
5969
5970 \begin_layout Plain Layout
5971 Document ! Settings
5972 \end_layout
5973
5974 \end_inset
5975
5976  These customizations are not displayed in \SpecialChar LyX
5977 .
5978 \end_layout
5979
5980 \begin_layout Standard
5981 Notice how the space between items decreases with increasing depth.
5982  We will explain nesting and all the tricks you can do with different depths
5983  in section
5984 \begin_inset space ~
5985 \end_inset
5986
5987
5988 \begin_inset CommandInset ref
5989 LatexCommand ref
5990 reference "sec:Nesting"
5991
5992 \end_inset
5993
5994 .
5995 \end_layout
5996
5997 \begin_layout Subsubsection
5998 Enumerate
5999 \begin_inset Index idx
6000 status collapsed
6001
6002 \begin_layout Plain Layout
6003 Lists ! Enumerate
6004 \end_layout
6005
6006 \end_inset
6007
6008
6009 \begin_inset CommandInset label
6010 LatexCommand label
6011 name "sec:Enumerate"
6012
6013 \end_inset
6014
6015
6016 \end_layout
6017
6018 \begin_layout Standard
6019 The 
6020 \family sans
6021 Enumerate
6022 \family default
6023  environment is used to create numbered lists and outlines.
6024  It has these properties:
6025 \end_layout
6026
6027 \begin_layout Enumerate
6028 Each item has a numeral as its label.
6029 \end_layout
6030
6031 \begin_deeper
6032 \begin_layout Enumerate
6033 The label type depends on the nesting depth.
6034 \end_layout
6035
6036 \end_deeper
6037 \begin_layout Enumerate
6038 \SpecialChar LyX
6039  automatically counts the items for you and updates the label as appropriate.
6040 \end_layout
6041
6042 \begin_layout Enumerate
6043 Each new 
6044 \family sans
6045 Enumerate
6046 \family default
6047  environment resets the counter to one.
6048 \end_layout
6049
6050 \begin_layout Enumerate
6051 Like the 
6052 \family sans
6053 Itemize
6054 \family default
6055  environment, the 
6056 \family sans
6057 Enumerate
6058 \family default
6059  environment:
6060 \end_layout
6061
6062 \begin_deeper
6063 \begin_layout Enumerate
6064 Offsets the items relative to the left margin.
6065  Items can have any length.
6066 \end_layout
6067
6068 \begin_layout Enumerate
6069 Reduces the space between items as the nesting depth increases.
6070 \end_layout
6071
6072 \begin_layout Enumerate
6073 Uses different types of labels depending on the nesting depth.
6074 \end_layout
6075
6076 \begin_layout Enumerate
6077 Allows up to a four-fold nesting.
6078 \end_layout
6079
6080 \end_deeper
6081 \begin_layout Standard
6082 Unlike the 
6083 \family sans
6084 Itemize
6085 \family default
6086  environment, 
6087 \family sans
6088 Enumerate
6089 \family default
6090  shows the different labels for each item in \SpecialChar LyX
6091 .
6092  Here is how \SpecialChar LyX
6093  labels the four different levels in an 
6094 \family sans
6095 Enumerate
6096 \family default
6097 :
6098 \end_layout
6099
6100 \begin_layout Enumerate
6101 The first level of an 
6102 \family sans
6103 Enumerate
6104 \family default
6105  uses Arabic numerals followed by a period.
6106 \end_layout
6107
6108 \begin_deeper
6109 \begin_layout Enumerate
6110 The second level uses lower case letters surrounded by parentheses.
6111 \end_layout
6112
6113 \begin_deeper
6114 \begin_layout Enumerate
6115 The third level uses lower-case Roman numerals followed by a period.
6116 \end_layout
6117
6118 \begin_deeper
6119 \begin_layout Enumerate
6120 The fourth level uses capital letters followed by a period.
6121 \end_layout
6122
6123 \begin_layout Enumerate
6124 Again, notice the decrease in the spacing between items as the nesting depth
6125  increases.
6126 \end_layout
6127
6128 \end_deeper
6129 \begin_layout Enumerate
6130 Back to the third level
6131 \end_layout
6132
6133 \end_deeper
6134 \begin_layout Enumerate
6135 Back to the second level.
6136 \end_layout
6137
6138 \end_deeper
6139 \begin_layout Enumerate
6140 Back to the outermost level.
6141 \end_layout
6142
6143 \begin_layout Standard
6144 You can customize the type of numbering used in the 
6145 \family sans
6146 Enumerate
6147 \family default
6148  environment, see section
6149 \begin_inset space ~
6150 \end_inset
6151
6152
6153 \begin_inset CommandInset ref
6154 LatexCommand ref
6155 reference "subsec:Customized-Lists"
6156
6157 \end_inset
6158
6159 .
6160  Such customization only shows up in the printed version, not in \SpecialChar LyX
6161 .
6162 \end_layout
6163
6164 \begin_layout Standard
6165 There is more to nesting 
6166 \family sans
6167 Enumerate
6168 \family default
6169  environments than we've stated here.
6170  You should read section
6171 \begin_inset space ~
6172 \end_inset
6173
6174
6175 \begin_inset CommandInset ref
6176 LatexCommand ref
6177 reference "sec:Nesting"
6178
6179 \end_inset
6180
6181  to learn more about nesting.
6182 \end_layout
6183
6184 \begin_layout Subsubsection
6185 Description
6186 \begin_inset Index idx
6187 status collapsed
6188
6189 \begin_layout Plain Layout
6190 Lists ! Description
6191 \end_layout
6192
6193 \end_inset
6194
6195
6196 \end_layout
6197
6198 \begin_layout Standard
6199 Unlike the previous two environments, the 
6200 \family sans
6201 Description
6202 \family default
6203  list has no fixed label.
6204  Instead, \SpecialChar LyX
6205  uses the first 
6206 \begin_inset Quotes eld
6207 \end_inset
6208
6209 word
6210 \begin_inset Quotes erd
6211 \end_inset
6212
6213  of the first line as the label.
6214  Here's an example:
6215 \end_layout
6216
6217 \begin_layout Description
6218 Example: This is an example of the 
6219 \family sans
6220 Description
6221 \family default
6222  environment.
6223 \end_layout
6224
6225 \begin_layout Standard
6226 \SpecialChar LyX
6227  typesets the label in boldface and puts extra space between it and the
6228  rest of the line.
6229 \end_layout
6230
6231 \begin_layout Standard
6232 With the first 
6233 \begin_inset Quotes eld
6234 \end_inset
6235
6236 word
6237 \begin_inset Quotes erd
6238 \end_inset
6239
6240  it is meant that the first usage of the 
6241 \family sans
6242 Space
6243 \family default
6244  key ends the label if you are at the beginning of the first line of an
6245  item.
6246  If you need to use more than one word in a label use a 
6247 \family sans
6248 Protected Space
6249 \family default
6250 .
6251  (Use either 
6252 \begin_inset Info
6253 type  "shortcut"
6254 arg   "command-alternatives math-space ; space-insert protected"
6255 \end_inset
6256
6257  or the menu 
6258 \family sans
6259 Insert\SpecialChar menuseparator
6260 Formatting\SpecialChar menuseparator
6261 Protected
6262 \begin_inset space ~
6263 \end_inset
6264
6265 Space
6266 \family default
6267 ; see section
6268 \begin_inset space ~
6269 \end_inset
6270
6271
6272 \begin_inset CommandInset ref
6273 LatexCommand ref
6274 reference "subsec:Protected-Space"
6275
6276 \end_inset
6277
6278  for more information.) Here is an example:
6279 \end_layout
6280
6281 \begin_layout Description
6282 Second
6283 \begin_inset space ~
6284 \end_inset
6285
6286 Example: This one shows how to use a 
6287 \family sans
6288 Protected
6289 \begin_inset space ~
6290 \end_inset
6291
6292 Space
6293 \family default
6294  in the label of a 
6295 \family sans
6296 Description
6297 \family default
6298  list item.
6299 \end_layout
6300
6301 \begin_layout Description
6302 Usage: You should use the 
6303 \family sans
6304 Description
6305 \family default
6306  environment for things like definitions and theorems.
6307  Use it when you need to make one word in particular stand out in the text
6308  that describes it.
6309  It's not a good idea to use a 
6310 \family sans
6311 Description
6312 \family default
6313  environment when you have an entire sentence that you want to describe.
6314  You're better off using 
6315 \family sans
6316 Itemize
6317 \family default
6318  or 
6319 \family sans
6320 Enumerate
6321 \family default
6322  and nesting several 
6323 \family sans
6324 Standard
6325 \family default
6326  paragraphs into them.
6327 \end_layout
6328
6329 \begin_layout Description
6330 Nesting: You can nest 
6331 \family sans
6332 Description
6333 \family default
6334  environments inside one another, nest them in other types of lists, and
6335  so on.
6336 \end_layout
6337
6338 \begin_layout Standard
6339 Notice that after the first line, \SpecialChar LyX
6340  indents subsequent lines, offsetting
6341  them from the first line.
6342 \end_layout
6343
6344 \begin_layout Subsubsection
6345 Labeling
6346 \begin_inset Index idx
6347 status collapsed
6348
6349 \begin_layout Plain Layout
6350 Lists ! Labeling
6351 \end_layout
6352
6353 \end_inset
6354
6355
6356 \end_layout
6357
6358 \begin_layout Standard
6359 The 
6360 \family sans
6361 Labeling
6362 \family default
6363  environment is a \SpecialChar LyX
6364  extension to \SpecialChar LaTeX
6365 .
6366 \end_layout
6367
6368 \begin_layout Standard
6369 Like the 
6370 \family sans
6371 Description
6372 \family default
6373  list the 
6374 \family sans
6375 Labeling
6376 \family default
6377  list has user-defined labels for each list item but it provides some additional
6378  features.
6379  Here are its properties:
6380 \end_layout
6381
6382 \begin_layout Labeling
6383 \labelwidthstring 00.00.0000
6384 item
6385 \begin_inset space ~
6386 \end_inset
6387
6388 labels \SpecialChar LyX
6389  uses the first 
6390 \begin_inset Quotes eld
6391 \end_inset
6392
6393 word
6394 \begin_inset Quotes erd
6395 \end_inset
6396
6397  of each line as the item label.
6398  The first 
6399 \family sans
6400 Space
6401 \family default
6402  after the beginning of the first line of an item marks the end of the label.
6403  If you need to use more than one word in an item label, use a protected
6404  space as described above.
6405 \end_layout
6406
6407 \begin_layout Labeling
6408 \labelwidthstring 00.00.0000
6409 margins As you can see, \SpecialChar LyX
6410  uses different margins for the item label and the
6411  body of the item text.
6412  The body of the text has a larger left margin, which is equal to the default
6413  label width plus a little extra space.
6414  
6415 \end_layout
6416
6417 \begin_layout Labeling
6418 \labelwidthstring 00.00.0000
6419 label
6420 \begin_inset space ~
6421 \end_inset
6422
6423 width \SpecialChar LyX
6424  uses the width of the label, or the default width, whatever is larger.
6425  If the label width is larger, the label 
6426 \begin_inset Quotes eld
6427 \end_inset
6428
6429 extends
6430 \begin_inset Quotes erd
6431 \end_inset
6432
6433  into the first line.
6434  In other words, the text of the first line isn't aligned with the left
6435  margin of the rest of the item text.
6436 \end_layout
6437
6438 \begin_layout Labeling
6439 \labelwidthstring 00.00.0000
6440 default
6441 \begin_inset space ~
6442 \end_inset
6443
6444 width You can set the default label width to ensure that the text of all
6445  items in a 
6446 \family sans
6447 Labeling
6448 \family default
6449  environment has the same left margin.
6450 \begin_inset Newline newline
6451 \end_inset
6452
6453 To change the default width, select all items in the list.
6454  Now open the 
6455 \family sans
6456 Edit\SpecialChar menuseparator
6457 Paragraph
6458 \begin_inset space ~
6459 \end_inset
6460
6461 Settings
6462 \family default
6463  dialog (toolbar button 
6464 \begin_inset Info
6465 type  "icon"
6466 arg   "layout-paragraph"
6467 \end_inset
6468
6469 ).
6470  The text in the box 
6471 \family sans
6472 Longest
6473 \begin_inset space ~
6474 \end_inset
6475
6476 label
6477 \family default
6478  determines the default label width.
6479  You can use the text of your largest label here, but you can also use the
6480  letter 
6481 \begin_inset Quotes eld
6482 \end_inset
6483
6484 M
6485 \begin_inset Quotes erd
6486 \end_inset
6487
6488  multiple times instead.
6489  M is the widest character and is a standard unit of widths in \SpecialChar LaTeX
6490 .
6491  By using 
6492 \begin_inset Quotes eld
6493 \end_inset
6494
6495 M
6496 \begin_inset Quotes erd
6497 \end_inset
6498
6499  as the unit of width you don't need to keep changing the contents of 
6500 \family sans
6501 Longest
6502 \begin_inset space ~
6503 \end_inset
6504
6505 label
6506 \family default
6507  every time you alter a label in a 
6508 \family sans
6509 List
6510 \family default
6511  environment.
6512 \begin_inset Newline newline
6513 \end_inset
6514
6515 The predefined default width is the length of 
6516 \begin_inset Quotes eld
6517 \end_inset
6518
6519 00.00.0000
6520 \begin_inset Quotes erd
6521 \end_inset
6522
6523  (equal to 6
6524 \begin_inset space ~
6525 \end_inset
6526
6527 M).
6528 \end_layout
6529
6530 \begin_layout Standard
6531 You should use the 
6532 \family sans
6533 Labeling
6534 \family default
6535  list the same way as the 
6536 \family sans
6537 Description
6538 \family default
6539  list: When you need one word to stand out from the text that describes
6540  it.
6541  The 
6542 \family sans
6543 Labeling
6544 \family default
6545  environment gives you another way to do this, using a different overall
6546  layout.
6547 \end_layout
6548
6549 \begin_layout Standard
6550 You can nest 
6551 \family sans
6552 Labeling
6553 \family default
6554  lists inside one another, nest them in other types of lists, and so on.
6555  They work just like the other list paragraph environments.
6556  Read section
6557 \begin_inset space ~
6558 \end_inset
6559
6560
6561 \begin_inset CommandInset ref
6562 LatexCommand ref
6563 reference "sec:Nesting"
6564
6565 \end_inset
6566
6567  to learn about nesting.
6568 \end_layout
6569
6570 \begin_layout Standard
6571 There is yet another feature of the 
6572 \family sans
6573 Labeling
6574 \family default
6575  list: As you can see in the examples, \SpecialChar LyX
6576  left-justifies the item labels by
6577  default.
6578  You can use additional 
6579 \family sans
6580 HFills
6581 \family default
6582  to change how \SpecialChar LyX
6583  justifies the item label.
6584  
6585 \family sans
6586 Hfills
6587 \family default
6588  are documented in section
6589 \begin_inset space ~
6590 \end_inset
6591
6592
6593 \begin_inset CommandInset ref
6594 LatexCommand ref
6595 reference "subsec:Horizontal-Space"
6596
6597 \end_inset
6598
6599 .
6600  Here are some examples:
6601 \end_layout
6602
6603 \begin_layout Labeling
6604 \labelwidthstring 00.00.0000
6605 Left The default for 
6606 \family sans
6607 Labeling
6608 \family default
6609  item labels.
6610 \end_layout
6611
6612 \begin_layout Labeling
6613 \labelwidthstring 00.00.0000
6614 \begin_inset space \hfill{}
6615 \end_inset
6616
6617 Right One 
6618 \family sans
6619 HFill
6620 \family default
6621  at the beginning of the label right justifies it.
6622 \end_layout
6623
6624 \begin_layout Labeling
6625 \labelwidthstring 00.00.0000
6626 \begin_inset space \hfill{}
6627 \end_inset
6628
6629 Center
6630 \begin_inset space \hfill{}
6631 \end_inset
6632
6633  One 
6634 \family sans
6635 HFill
6636 \family default
6637  at the beginning of the label and one at the end centers it.
6638 \end_layout
6639
6640 \begin_layout Subsection
6641 Customized Lists
6642 \begin_inset CommandInset label
6643 LatexCommand label
6644 name "subsec:Customized-Lists"
6645
6646 \end_inset
6647
6648
6649 \begin_inset Index idx
6650 status collapsed
6651
6652 \begin_layout Plain Layout
6653 Lists ! Customized
6654 \end_layout
6655
6656 \end_inset
6657
6658
6659 \end_layout
6660
6661 \begin_layout Standard
6662 The features described in this section require that the module 
6663 \family sans
6664 Customisable Lists (enumitem)
6665 \family default
6666  is loaded in the document settings.
6667  The module uses the \SpecialChar LaTeX
6668 -package 
6669 \series bold
6670 enumitem
6671 \series default
6672
6673 \begin_inset Index idx
6674 status collapsed
6675
6676 \begin_layout Plain Layout
6677 \SpecialChar LaTeX
6678  packages ! enumitem
6679 \end_layout
6680
6681 \end_inset
6682
6683 .
6684 \end_layout
6685
6686 \begin_layout Subsubsection
6687 Custom Enumerate Lists
6688 \begin_inset Index idx
6689 status collapsed
6690
6691 \begin_layout Plain Layout
6692 Lists ! Enumerate ! Custom
6693 \end_layout
6694
6695 \end_inset
6696
6697
6698 \end_layout
6699
6700 \begin_layout Standard
6701 \noindent
6702 The default numbering of numbered lists can be changed by adding an optional
6703  argument (menu 
6704 \family sans
6705 Insert\SpecialChar menuseparator
6706 Enumerate Options
6707 \family default
6708 ) to the first item of each level in the list.
6709  There you add the command
6710 \end_layout
6711
6712 \begin_layout Standard
6713
6714 \series bold
6715 label=
6716 \backslash
6717 roman{enumi}
6718 \end_layout
6719
6720 \begin_layout Standard
6721 in \SpecialChar TeX
6722  Code (shortcut 
6723 \begin_inset Info
6724 type  "shortcut"
6725 arg   "ert-insert"
6726 \end_inset
6727
6728 ).
6729 \begin_inset Foot
6730 status collapsed
6731
6732 \begin_layout Plain Layout
6733 For more about \SpecialChar TeX
6734  Code, look at section
6735 \begin_inset space ~
6736 \end_inset
6737
6738
6739 \begin_inset CommandInset ref
6740 LatexCommand ref
6741 reference "sec:TeX-Code"
6742
6743 \end_inset
6744
6745 .
6746 \end_layout
6747
6748 \end_inset
6749
6750
6751 \emph on
6752  enumi
6753 \emph default
6754  is hereby the first level counter of the enumeration.
6755  The command 
6756 \series bold
6757
6758 \backslash
6759 roman
6760 \series default
6761  outputs the counter as a small Roman numeral.
6762  For capital Roman numerals replace 
6763 \series bold
6764
6765 \backslash
6766 roman
6767 \series default
6768  with 
6769 \series bold
6770
6771 \backslash
6772 Roman
6773 \series default
6774  in the command above.
6775  For Arabic numerals use 
6776 \series bold
6777
6778 \backslash
6779 arabic
6780 \series default
6781 .
6782  To 
6783 \begin_inset Quotes eld
6784 \end_inset
6785
6786 number
6787 \begin_inset Quotes erd
6788 \end_inset
6789
6790  items with capital or small Latin letters use 
6791 \series bold
6792
6793 \backslash
6794 Alph
6795 \series default
6796  or 
6797 \series bold
6798
6799 \backslash
6800 alph
6801 \series default
6802 , respectively.
6803 \end_layout
6804
6805 \begin_layout Standard
6806 \noindent
6807 \begin_inset Note Greyedout
6808 status open
6809
6810 \begin_layout Plain Layout
6811
6812 \series bold
6813 Note:
6814 \series default
6815  You can only number 26
6816 \begin_inset space ~
6817 \end_inset
6818
6819 items with Latin letters, because this numbering is limited to single letters.
6820 \end_layout
6821
6822 \end_inset
6823
6824
6825 \end_layout
6826
6827 \begin_layout Standard
6828 To change the numbering for the list sublevels, replace the 'i' in the command
6829  by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv).
6830 \end_layout
6831
6832 \begin_layout Standard
6833 Here is a list with custom numbering:
6834 \end_layout
6835
6836 \begin_layout Enumerate
6837 \begin_inset Argument 1
6838 status open
6839
6840 \begin_layout Plain Layout
6841 \begin_inset ERT
6842 status open
6843
6844 \begin_layout Plain Layout
6845
6846 label=
6847 \backslash
6848 #
6849 \backslash
6850 Alph{enumi}
6851 \backslash
6852 #
6853 \end_layout
6854
6855 \end_inset
6856
6857
6858 \end_layout
6859
6860 \end_inset
6861
6862 Level 1
6863 \end_layout
6864
6865 \begin_deeper
6866 \begin_layout Enumerate
6867 \begin_inset Argument 1
6868 status open
6869
6870 \begin_layout Plain Layout
6871 \begin_inset ERT
6872 status open
6873
6874 \begin_layout Plain Layout
6875
6876 label=
6877 \backslash
6878 Alph{enumi}.
6879 \backslash
6880 arabic{enumii}
6881 \end_layout
6882
6883 \end_inset
6884
6885
6886 \end_layout
6887
6888 \end_inset
6889
6890 Level 2
6891 \end_layout
6892
6893 \begin_layout Enumerate
6894 Level 2
6895 \end_layout
6896
6897 \begin_deeper
6898 \begin_layout Enumerate
6899 \begin_inset Argument 1
6900 status open
6901
6902 \begin_layout Plain Layout
6903 \begin_inset ERT
6904 status open
6905
6906 \begin_layout Plain Layout
6907
6908 label=
6909 \backslash
6910 bfseries{
6911 \backslash
6912 arabic{enumiii}}
6913 \end_layout
6914
6915 \end_inset
6916
6917
6918 \end_layout
6919
6920 \end_inset
6921
6922 Level 3
6923 \end_layout
6924
6925 \begin_deeper
6926 \begin_layout Enumerate
6927 \begin_inset Argument 1
6928 status open
6929
6930 \begin_layout Plain Layout
6931 \begin_inset ERT
6932 status open
6933
6934 \begin_layout Plain Layout
6935
6936 label=
6937 \backslash
6938 emph{
6939 \backslash
6940 roman{enumiv})}
6941 \end_layout
6942
6943 \end_inset
6944
6945
6946 \end_layout
6947
6948 \end_inset
6949
6950 Level 4
6951 \end_layout
6952
6953 \end_deeper
6954 \end_deeper
6955 \end_deeper
6956 \begin_layout Standard
6957 For this list these commands were used:
6958 \end_layout
6959
6960 \begin_layout Standard
6961 \noindent
6962
6963 \series bold
6964 label=
6965 \backslash
6966 #
6967 \backslash
6968 Alph{enumi}
6969 \backslash
6970 #
6971 \begin_inset Newline newline
6972 \end_inset
6973
6974 label=
6975 \backslash
6976 Alph{enumi}.
6977 \backslash
6978 arabic{enumii}
6979 \begin_inset Newline newline
6980 \end_inset
6981
6982 label=
6983 \backslash
6984 bfseries{
6985 \backslash
6986 arabic{enumiii}}
6987 \begin_inset Newline newline
6988 \end_inset
6989
6990 label=
6991 \backslash
6992 emph{
6993 \backslash
6994 roman{enumiv})}
6995 \end_layout
6996
6997 \begin_layout Standard
6998 where the command 
6999 \series bold
7000
7001 \backslash
7002 emph{}
7003 \series default
7004  makes the label emphasized and 
7005 \series bold
7006
7007 \backslash
7008 bfseries{}
7009 \series default
7010  makes it bold.
7011 \end_layout
7012
7013 \begin_layout Standard
7014 \begin_inset Note Greyedout
7015 status open
7016
7017 \begin_layout Plain Layout
7018
7019 \series bold
7020 Note:
7021 \series default
7022  When you change the label of a list level, it will be used for all following
7023  lists until you change the definition.
7024 \end_layout
7025
7026 \end_inset
7027
7028
7029 \end_layout
7030
7031 \begin_layout Subsubsection
7032 Resumed Enumeration
7033 \begin_inset Index idx
7034 status collapsed
7035
7036 \begin_layout Plain Layout
7037 Lists ! Enumerate ! Resumed
7038 \end_layout
7039
7040 \end_inset
7041
7042
7043 \end_layout
7044
7045 \begin_layout Standard
7046 Enumerations can be resumed after intermediate paragraphs:
7047 \end_layout
7048
7049 \begin_layout Enumerate
7050 \begin_inset Argument 1
7051 status open
7052
7053 \begin_layout Plain Layout
7054 \begin_inset ERT
7055 status open
7056
7057 \begin_layout Plain Layout
7058
7059 label=
7060 \backslash
7061 arabic{enumi}.
7062 \end_layout
7063
7064 \end_inset
7065
7066
7067 \end_layout
7068
7069 \end_inset
7070
7071 first
7072 \begin_inset Note Note
7073 status open
7074
7075 \begin_layout Plain Layout
7076 goes back to default numbering
7077 \end_layout
7078
7079 \end_inset
7080
7081
7082 \end_layout
7083
7084 \begin_layout Enumerate
7085 second
7086 \end_layout
7087
7088 \begin_layout Standard
7089 regular text
7090 \end_layout
7091
7092 \begin_layout Enumerate-Resume
7093 resumed
7094 \end_layout
7095
7096 \begin_layout Standard
7097 To resume an enumeration, use the style 
7098 \family sans
7099 Enumerate-Resume
7100 \family default
7101 .
7102  Its numbering appears in blue within \SpecialChar LyX
7103  to indicate that it is a resumed
7104  list and that the numbering will not be correct in \SpecialChar LyX
7105 , but in the output.
7106 \end_layout
7107
7108 \begin_layout Standard
7109 \begin_inset Note Greyedout
7110 status open
7111
7112 \begin_layout Plain Layout
7113
7114 \series bold
7115 Note:
7116 \series default
7117  If there is no previous enumeration to resume, you will get a \SpecialChar LaTeX
7118  error.
7119 \end_layout
7120
7121 \end_inset
7122
7123
7124 \end_layout
7125
7126 \begin_layout Standard
7127 Perhaps you might want to resume the list with a different number from the
7128  next one.
7129  Or you want to start a new enumeration with a defined number.
7130  This is possible by adding an optional argument to the first list item
7131  of a normal enumeration.
7132  There, insert the command
7133 \end_layout
7134
7135 \begin_layout Standard
7136
7137 \series bold
7138 start=number
7139 \end_layout
7140
7141 \begin_layout Standard
7142 where 
7143 \emph on
7144 number
7145 \emph default
7146  is the number with which you want to resume the list.
7147  An example:
7148 \end_layout
7149
7150 \begin_layout Enumerate
7151 first item
7152 \end_layout
7153
7154 \begin_layout Enumerate
7155 second item
7156 \end_layout
7157
7158 \begin_layout Standard
7159 Enumeration starting at a given value:
7160 \end_layout
7161
7162 \begin_layout Enumerate
7163 \begin_inset Argument 1
7164 status open
7165
7166 \begin_layout Plain Layout
7167 \begin_inset ERT
7168 status open
7169
7170 \begin_layout Plain Layout
7171
7172 start=4
7173 \end_layout
7174
7175 \end_inset
7176
7177
7178 \end_layout
7179
7180 \end_inset
7181
7182 This enumeration starts at 4
7183 \end_layout
7184
7185 \begin_layout Subsubsection
7186 List Spacing
7187 \begin_inset Index idx
7188 status collapsed
7189
7190 \begin_layout Plain Layout
7191 Lists ! Spacing
7192 \end_layout
7193
7194 \end_inset
7195
7196
7197 \end_layout
7198
7199 \begin_layout Standard
7200 In some cases you might want less or more vertical space between the items
7201  of a list.
7202  For example if the default space is too much in your opinion in this case:
7203 \end_layout
7204
7205 \begin_layout Itemize
7206 A bullet list
7207 \end_layout
7208
7209 \begin_layout Itemize
7210 with standard spacing 
7211 \end_layout
7212
7213 \begin_layout Standard
7214 You can decrease the space by adding an optional argument to the first item
7215  of the list.
7216  Add there the command 
7217 \series bold
7218 nolistsep
7219 \series default
7220  to get no additional list space like in this example:
7221 \end_layout
7222
7223 \begin_layout Itemize
7224 \begin_inset Argument 1
7225 status open
7226
7227 \begin_layout Plain Layout
7228 \begin_inset ERT
7229 status open
7230
7231 \begin_layout Plain Layout
7232
7233 nolistsep
7234 \end_layout
7235
7236 \end_inset
7237
7238
7239 \end_layout
7240
7241 \end_inset
7242
7243 A bullet list
7244 \end_layout
7245
7246 \begin_layout Itemize
7247 without additional
7248 \end_layout
7249
7250 \begin_layout Itemize
7251 vertical space
7252 \end_layout
7253
7254 \begin_layout Standard
7255 To add space you can use several other commands provided by the \SpecialChar LaTeX
7256 -package
7257  
7258 \series bold
7259 enumitem
7260 \series default
7261
7262 \begin_inset Index idx
7263 status collapsed
7264
7265 \begin_layout Plain Layout
7266 \SpecialChar LaTeX
7267  packages ! enumitem
7268 \end_layout
7269
7270 \end_inset
7271
7272 .
7273  For more information see its documentation, 
7274 \begin_inset CommandInset citation
7275 LatexCommand cite
7276 key "enumitem"
7277 literal "true"
7278
7279 \end_inset
7280
7281 .
7282 \end_layout
7283
7284 \begin_layout Standard
7285 There are also many commands available to change the horizontal spacing
7286  and indentation.
7287  Here is an example where the indentation was changed to that of the paragraphs
7288  in the document and the label separation was set to 2
7289 \begin_inset space \thinspace{}
7290 \end_inset
7291
7292 cm so that the number is in the page margin:
7293 \end_layout
7294
7295 \begin_layout Enumerate
7296 \begin_inset Argument 1
7297 status open
7298
7299 \begin_layout Plain Layout
7300 \begin_inset ERT
7301 status open
7302
7303 \begin_layout Plain Layout
7304
7305 labelindent=
7306 \backslash
7307 parindent, labelsep=2cm
7308 \end_layout
7309
7310 \end_inset
7311
7312
7313 \end_layout
7314
7315 \end_inset
7316
7317 An enumeration
7318 \end_layout
7319
7320 \begin_layout Enumerate
7321 with negative indentation
7322 \end_layout
7323
7324 \begin_layout Subsubsection
7325 Further Customization
7326 \begin_inset Index idx
7327 status collapsed
7328
7329 \begin_layout Plain Layout
7330 Lists ! Customization
7331 \end_layout
7332
7333 \end_inset
7334
7335
7336 \end_layout
7337
7338 \begin_layout Standard
7339 You can also change the style of description lists.
7340  The command
7341 \end_layout
7342
7343 \begin_layout Standard
7344
7345 \series bold
7346 font=definition
7347 \end_layout
7348
7349 \begin_layout Standard
7350 changes the description label font, the command
7351 \end_layout
7352
7353 \begin_layout Standard
7354
7355 \series bold
7356 style=definition
7357 \end_layout
7358
7359 \begin_layout Standard
7360 sets the list style.
7361 \end_layout
7362
7363 \begin_layout Standard
7364 An example where the command
7365 \end_layout
7366
7367 \begin_layout Standard
7368
7369 \series bold
7370 font=
7371 \backslash
7372 itshape, style=nextline
7373 \end_layout
7374
7375 \begin_layout Standard
7376 is used:
7377 \end_layout
7378
7379 \begin_layout Description
7380 Ionizing
7381 \begin_inset space ~
7382 \end_inset
7383
7384 radiation: 
7385 \begin_inset Argument 1
7386 status collapsed
7387
7388 \begin_layout Plain Layout
7389 \begin_inset ERT
7390 status open
7391
7392 \begin_layout Plain Layout
7393
7394 labelindent=0pt, labelsep=1cm, font=
7395 \backslash
7396 itshape, style=nextline
7397 \end_layout
7398
7399 \end_inset
7400
7401
7402 \end_layout
7403
7404 \end_inset
7405
7406 Ionizing radiation consists of particles or electromagnetic waves that are
7407  energetic enough to detach electrons from atoms or molecules, therefore
7408  ionizing them.
7409 \end_layout
7410
7411 \begin_layout Description
7412 Reference
7413 \begin_inset space ~
7414 \end_inset
7415
7416 counting: In computer science, reference counting is a technique of storing
7417  the number of references, pointers, or handles to a resource such as an
7418  object, block of memory, disk space or other resource.
7419 \end_layout
7420
7421 \begin_layout Standard
7422 There are many more commands and features provided by the \SpecialChar LaTeX
7423 -package 
7424 \series bold
7425 enumitem
7426 \series default
7427
7428 \begin_inset Index idx
7429 status collapsed
7430
7431 \begin_layout Plain Layout
7432 \SpecialChar LaTeX
7433  packages ! enumitem
7434 \end_layout
7435
7436 \end_inset
7437
7438 .
7439  For more information see its documentation 
7440 \begin_inset CommandInset citation
7441 LatexCommand cite
7442 key "enumitem"
7443 literal "true"
7444
7445 \end_inset
7446
7447 .
7448 \end_layout
7449
7450 \begin_layout Subsection
7451 Letters
7452 \begin_inset Index idx
7453 status collapsed
7454
7455 \begin_layout Plain Layout
7456 Letters
7457 \end_layout
7458
7459 \end_inset
7460
7461
7462 \end_layout
7463
7464 \begin_layout Subsubsection
7465 Address and Right
7466 \begin_inset space ~
7467 \end_inset
7468
7469 Address: An Overview
7470 \end_layout
7471
7472 \begin_layout Standard
7473 Although \SpecialChar LyX
7474  has document classes for letters, we've also created two paragraph
7475  environments called 
7476 \family sans
7477 Address
7478 \family default
7479  and 
7480 \family sans
7481 Right
7482 \begin_inset space ~
7483 \end_inset
7484
7485 Address
7486 \family default
7487 .
7488  To use the letter class, you need to use specific paragraph environments
7489  in a specific order, otherwise \SpecialChar LaTeX
7490  gags on the document.
7491  In contrast, you can use the 
7492 \family sans
7493 Address
7494 \family default
7495  and 
7496 \family sans
7497 Right
7498 \begin_inset space ~
7499 \end_inset
7500
7501 Address
7502 \family default
7503  paragraph environments anywhere with no problem.
7504  You can even nest them inside other environments, though you can't nest
7505  anything in them.
7506 \end_layout
7507
7508 \begin_layout Standard
7509 Of course, you're not limited to using 
7510 \family sans
7511 Address
7512 \family default
7513  and 
7514 \family sans
7515 Right
7516 \begin_inset space ~
7517 \end_inset
7518
7519 Address
7520 \family default
7521  for letters only.
7522  
7523 \family sans
7524 Right
7525 \begin_inset space ~
7526 \end_inset
7527
7528 Address
7529 \family default
7530 , in particular, is useful for creating article titles like those used in
7531  some European academic papers.
7532 \end_layout
7533
7534 \begin_layout Subsubsection
7535 Usage
7536 \begin_inset CommandInset label
7537 LatexCommand label
7538 name "sec:Address-Usage"
7539
7540 \end_inset
7541
7542
7543 \end_layout
7544
7545 \begin_layout Standard
7546 The 
7547 \family sans
7548 Address
7549 \family default
7550  environment formats text in the style of an address, which is also used
7551  for the opening and signature in some countries.
7552  Similarly, the 
7553 \family sans
7554 Right
7555 \begin_inset space ~
7556 \end_inset
7557
7558 Address
7559 \family default
7560  environment formats text in the style of a right-justified address, which
7561  is used for the sender's address and today's date in some countries.
7562  Here's an example of each:
7563 \end_layout
7564
7565 \begin_layout Right Address
7566 Right Address
7567 \begin_inset Newline newline
7568 \end_inset
7569
7570 Who I am
7571 \begin_inset Newline newline
7572 \end_inset
7573
7574 Where I am
7575 \begin_inset Newline newline
7576 \end_inset
7577
7578 When is it? What is today?
7579 \end_layout
7580
7581 \begin_layout Standard
7582 That was 
7583 \family sans
7584 Right
7585 \begin_inset space ~
7586 \end_inset
7587
7588 Address
7589 \family default
7590 .
7591  Notice that the lines all have the same left margin, which \SpecialChar LyX
7592  sets to fit
7593  the largest block of text on a single line.
7594  Here's an example of the 
7595 \family sans
7596 Address
7597 \family default
7598  environment:
7599 \end_layout
7600
7601 \begin_layout Address
7602 Who are you
7603 \begin_inset Newline newline
7604 \end_inset
7605
7606 Where do I send this
7607 \begin_inset Newline newline
7608 \end_inset
7609
7610 Your post office and country
7611 \end_layout
7612
7613 \begin_layout Standard
7614 As you can see, both 
7615 \family sans
7616 Address
7617 \family default
7618  and 
7619 \family sans
7620 Right
7621 \begin_inset space ~
7622 \end_inset
7623
7624 Address
7625 \family default
7626  add extra space between themselves and the next paragraph.
7627  If you enter 
7628 \family sans
7629 Return
7630 \family default
7631  in either of these environments, \SpecialChar LyX
7632  resets the nesting depth and sets the
7633  environment to 
7634 \family sans
7635 Standard
7636 \family default
7637 .
7638  This makes sense, since 
7639 \family sans
7640 Return
7641 \family default
7642  is the 
7643 \family typewriter
7644 paragraph-break
7645 \family default
7646  function, and the individual lines of an address are not paragraphs.
7647  Thus, you have to use 
7648 \family typewriter
7649 break-line
7650 \family default
7651  (
7652 \begin_inset Info
7653 type  "shortcut"
7654 arg   "newline-insert newline"
7655 \end_inset
7656
7657  or 
7658 \family sans
7659 Insert\SpecialChar menuseparator
7660 Formatting\SpecialChar menuseparator
7661 Ragged
7662 \begin_inset space ~
7663 \end_inset
7664
7665 Line
7666 \begin_inset space ~
7667 \end_inset
7668
7669 Break
7670 \family default
7671 ) to start a new line in an 
7672 \family sans
7673 Address
7674 \family default
7675  or 
7676 \family sans
7677 Right
7678 \begin_inset space ~
7679 \end_inset
7680
7681 Address
7682 \family default
7683  environment.
7684 \end_layout
7685
7686 \begin_layout Subsection
7687 Academic Writing
7688 \end_layout
7689
7690 \begin_layout Standard
7691 Most academic writing begins with an abstract and ends with a bibliography
7692  or list of references.
7693  \SpecialChar LyX
7694  contains paragraph environments for both of these.
7695 \end_layout
7696
7697 \begin_layout Subsubsection
7698 Abstract
7699 \begin_inset Index idx
7700 status collapsed
7701
7702 \begin_layout Plain Layout
7703 Abstracts
7704 \end_layout
7705
7706 \end_inset
7707
7708
7709 \end_layout
7710
7711 \begin_layout Standard
7712 The 
7713 \family sans
7714 Abstract
7715 \family default
7716  environment is used for the abstract of an article.
7717  Technically, you could use this environment anywhere, but you really should
7718  only use it at the beginning of the document, after the title.
7719  Also, don't bother trying to nest 
7720 \family sans
7721 Abstract
7722 \family default
7723  in anything else or 
7724 \emph on
7725 vice versa
7726 \emph default
7727 .
7728  It will not work.
7729  The 
7730 \family sans
7731 Abstract
7732 \family default
7733  environment is only useful in the article and report document classes.
7734  The book document classes ignores the 
7735 \family sans
7736 Abstract
7737 \family default
7738  completely, and it's utterly silly to use 
7739 \family sans
7740 Abstract
7741 \family default
7742  in a letter document class.
7743 \end_layout
7744
7745 \begin_layout Standard
7746 The 
7747 \family sans
7748 Abstract
7749 \family default
7750  environment does several things for you.
7751  First, it puts the centered label 
7752 \begin_inset Quotes eld
7753 \end_inset
7754
7755 Abstract
7756 \begin_inset Quotes erd
7757 \end_inset
7758
7759  above the text.
7760  The label and the text of the abstract are separated by some extra vertical
7761  space.
7762  Second, it typesets everything in a smaller font, just as you'd expect.
7763  Lastly, it adds a bit of extra vertical space between the abstract and
7764  the subsequent text.
7765  Well, that's how it will appear on the \SpecialChar LyX
7766  screen.
7767  The actual appearance in the output depends on the document class you are
7768  using.
7769 \end_layout
7770
7771 \begin_layout Standard
7772 Starting a new paragraph by entering 
7773 \family sans
7774 Return
7775 \family default
7776  does not reset the paragraph environment.
7777  The new paragraph will still be in the 
7778 \family sans
7779 Abstract
7780 \family default
7781  environment.
7782  So, you will have to change the paragraph environment yourself when you
7783  finish entering the abstract of your document.
7784 \end_layout
7785
7786 \begin_layout Standard
7787 \begin_inset Float figure
7788 wide false
7789 sideways false
7790 status open
7791
7792 \begin_layout Plain Layout
7793 \align center
7794 \begin_inset Graphics
7795         filename clipart/Abstract.pdf
7796
7797 \end_inset
7798
7799
7800 \end_layout
7801
7802 \begin_layout Plain Layout
7803 \begin_inset Caption Standard
7804
7805 \begin_layout Plain Layout
7806 \begin_inset CommandInset label
7807 LatexCommand label
7808 name "fig:Paragraph-in-the"
7809
7810 \end_inset
7811
7812 Paragraph in the 
7813 \family sans
7814 Abstract
7815 \family default
7816  environment
7817 \end_layout
7818
7819 \end_inset
7820
7821
7822 \end_layout
7823
7824 \end_inset
7825
7826
7827 \end_layout
7828
7829 \begin_layout Standard
7830 We would love to demonstrate the 
7831 \family sans
7832 Abstract
7833 \family default
7834  environment, but since this document is in the 
7835 \begin_inset Quotes eld
7836 \end_inset
7837
7838 book
7839 \begin_inset Quotes erd
7840 \end_inset
7841
7842  class, we can't do this.
7843  We inserted it therefore as figure
7844 \begin_inset space ~
7845 \end_inset
7846
7847
7848 \begin_inset CommandInset ref
7849 LatexCommand ref
7850 reference "fig:Paragraph-in-the"
7851
7852 \end_inset
7853
7854 .
7855  If you have never heard of an 
7856 \begin_inset Quotes eld
7857 \end_inset
7858
7859 abstract
7860 \begin_inset Quotes erd
7861 \end_inset
7862
7863  before, you can safely ignore this environment.
7864 \end_layout
7865
7866 \begin_layout Subsubsection
7867 Bibliography
7868 \begin_inset Index idx
7869 status collapsed
7870
7871 \begin_layout Plain Layout
7872 Bibliography
7873 \end_layout
7874
7875 \end_inset
7876
7877
7878 \begin_inset CommandInset label
7879 LatexCommand label
7880 name "subsec:Biblio_environment"
7881
7882 \end_inset
7883
7884
7885 \end_layout
7886
7887 \begin_layout Standard
7888 The 
7889 \family sans
7890 Bibliography
7891 \family default
7892  environment is used to list references.
7893  Technically, you could use this environment anywhere, but you really should
7894  only use it at the end of the document.
7895  Nesting 
7896 \family sans
7897 Bibliography
7898 \family default
7899  in anything else or 
7900 \emph on
7901 vice versa
7902 \emph default
7903  will not work.
7904 \end_layout
7905
7906 \begin_layout Standard
7907 When you first open a 
7908 \family sans
7909 Bibliography
7910 \family default
7911  environment, \SpecialChar LyX
7912  adds a large vertical space, followed by the heading 
7913 \begin_inset Quotes eld
7914 \end_inset
7915
7916 Bibliography
7917 \begin_inset Quotes erd
7918 \end_inset
7919
7920  or 
7921 \begin_inset Quotes eld
7922 \end_inset
7923
7924 References,
7925 \begin_inset Quotes erd
7926 \end_inset
7927
7928  depending on the document class.
7929  The heading is in a large boldface font.
7930  Each paragraph of the 
7931 \family sans
7932 Bibliography
7933 \family default
7934  environment is a bibliography entry.
7935  Thus, entering 
7936 \family sans
7937 Return
7938 \family default
7939  does not reset the paragraph environment.
7940  Each new paragraph is still in the 
7941 \family sans
7942 Bibliography
7943 \family default
7944  environment.
7945 \end_layout
7946
7947 \begin_layout Standard
7948 There is another, usually better way to include references in your document
7949  by using a Bib\SpecialChar TeX
7950  database.
7951  For more information on that, and for a detailed description of \SpecialChar LyX
7952 's bibliography
7953  handling, have a look at section
7954 \begin_inset space ~
7955 \end_inset
7956
7957
7958 \begin_inset CommandInset ref
7959 LatexCommand ref
7960 reference "sec:Bibliography"
7961
7962 \end_inset
7963
7964 .
7965 \end_layout
7966
7967 \begin_layout Subsection
7968 Special Environments
7969 \end_layout
7970
7971 \begin_layout Standard
7972 \SpecialChar LyX
7973  provides two environments that can be used to emulate the behavior of a
7974  computer console/terminal and a typewriter.
7975 \end_layout
7976
7977 \begin_layout Subsubsection
7978 \SpecialChar LyX
7979
7980 \family sans
7981 -Code
7982 \begin_inset Index idx
7983 status collapsed
7984
7985 \begin_layout Plain Layout
7986 \SpecialChar LyX
7987 -Code
7988 \end_layout
7989
7990 \end_inset
7991
7992
7993 \begin_inset CommandInset label
7994 LatexCommand label
7995 name "subsec:LyX-Code"
7996
7997 \end_inset
7998
7999
8000 \end_layout
8001
8002 \begin_layout Standard
8003 The 
8004 \family sans
8005 \SpecialChar LyX
8006 -Code
8007 \family default
8008  environment is a \SpecialChar LyX
8009  extension.
8010  It type-sets text in a typewriter-style font.
8011  It also treats the 
8012 \family sans
8013 Space
8014 \family default
8015  key as a fixed whitespace.
8016 \begin_inset Foot
8017 status collapsed
8018
8019 \begin_layout Plain Layout
8020 In the 
8021 \family sans
8022 \SpecialChar LyX
8023 -Code
8024 \family default
8025  environment, the 
8026 \family sans
8027 Space
8028 \family default
8029  key is treated as a 
8030 \family sans
8031 Protected
8032 \begin_inset space ~
8033 \end_inset
8034
8035 Blank
8036 \family default
8037  instead of an end-of-word marker.
8038 \end_layout
8039
8040 \end_inset
8041
8042  
8043 \family sans
8044 \SpecialChar LyX
8045 -Code
8046 \family default
8047
8048 \family sans
8049 Verbatim
8050 \family default
8051  and 
8052 \family sans
8053 Verbatim
8054 \family default
8055 * are the only environments in which you can type multiple whitespaces in
8056  \SpecialChar LyX
8057 .
8058  If you need to insert blank lines, you will still need to use 
8059 \begin_inset Info
8060 type  "shortcut"
8061 arg   "newline-insert newline"
8062 \end_inset
8063
8064  (the 
8065 \family typewriter
8066 break-line
8067 \family default
8068  function).
8069  
8070 \family sans
8071 Return
8072 \family default
8073  breaks paragraphs.
8074  Note, however, that 
8075 \family sans
8076 Return
8077 \family default
8078  does not reset the paragraph environment.
8079  So, when you finish using the 
8080 \family sans
8081 \SpecialChar LyX
8082 -Code
8083 \family default
8084  environment, you will need to change the paragraph environment yourself.
8085  Also, you can nest the 
8086 \family sans
8087 \SpecialChar LyX
8088 -Code
8089 \family default
8090  environment inside of others.
8091 \end_layout
8092
8093 \begin_layout Standard
8094 There are a few quirks with this environment:
8095 \end_layout
8096
8097 \begin_layout Itemize
8098 You cannot use 
8099 \begin_inset Info
8100 type  "shortcut"
8101 arg   "newline-insert newline"
8102 \end_inset
8103
8104  at the beginning of a new paragraph (i.
8105 \begin_inset space \thinspace{}
8106 \end_inset
8107
8108 e.
8109 \begin_inset space \space{}
8110 \end_inset
8111
8112 you can't follow 
8113 \family sans
8114 Return
8115 \family default
8116  with a 
8117 \begin_inset Info
8118 type  "shortcut"
8119 arg   "newline-insert newline"
8120 \end_inset
8121
8122 ).
8123 \end_layout
8124
8125 \begin_layout Itemize
8126 You cannot follow a 
8127 \begin_inset Info
8128 type  "shortcut"
8129 arg   "newline-insert newline"
8130 \end_inset
8131
8132  with a 
8133 \family sans
8134 Space
8135 \family default
8136  but with a 
8137 \begin_inset Info
8138 type  "shortcut"
8139 arg   "command-alternatives math-space ; space-insert protected"
8140 \end_inset
8141
8142 .
8143 \end_layout
8144
8145 \begin_layout Itemize
8146 You cannot have an empty paragraph or an empty line.
8147  You must put at least one 
8148 \family sans
8149 Space
8150 \family default
8151  in any line you want blank.
8152  Otherwise, \SpecialChar LaTeX
8153  generates errors.
8154 \end_layout
8155
8156 \begin_layout Itemize
8157 You cannot get the typewriter double quotes by typing 
8158 \family sans
8159 "
8160 \family default
8161  since that will insert 
8162 \emph on
8163 real
8164 \emph default
8165  quotes.
8166  You get the typewriter double quotes with 
8167 \begin_inset Info
8168 type  "shortcut"
8169 arg   "self-insert \""
8170 \end_inset
8171
8172 .
8173 \end_layout
8174
8175 \begin_layout Standard
8176 Here is an example:
8177 \end_layout
8178
8179 \begin_layout LyX-Code
8180 #include <stdio.h>
8181 \end_layout
8182
8183 \begin_layout LyX-Code
8184  
8185 \end_layout
8186
8187 \begin_layout LyX-Code
8188 int main(void)
8189 \end_layout
8190
8191 \begin_layout LyX-Code
8192 {
8193 \end_layout
8194
8195 \begin_layout LyX-Code
8196     printf("Hello World!
8197 \backslash
8198 n");
8199 \end_layout
8200
8201 \begin_layout LyX-Code
8202     return 0;
8203 \end_layout
8204
8205 \begin_layout LyX-Code
8206 }
8207 \end_layout
8208
8209 \begin_layout Standard
8210 This is just the standard 
8211 \begin_inset Quotes eld
8212 \end_inset
8213
8214 Hello world!
8215 \begin_inset Quotes erd
8216 \end_inset
8217
8218  program.
8219  
8220 \end_layout
8221
8222 \begin_layout Standard
8223
8224 \family sans
8225 \SpecialChar LyX
8226 -Code
8227 \family default
8228  has one purpose: to typeset code, such as program source, shell scripts
8229  and so on.
8230  Use it only in those very special cases where you need to generate text
8231  as if you used a typewriter.
8232 \begin_inset Index idx
8233 status collapsed
8234
8235 \begin_layout Plain Layout
8236 Paragraph environments|)
8237 \end_layout
8238
8239 \end_inset
8240
8241  For longer parts of programming code, use the listings inset that is described
8242  in the chapter 
8243 \emph on
8244 Program Code Listings
8245 \emph default
8246  of the 
8247 \emph on
8248 Embedded
8249 \begin_inset space ~
8250 \end_inset
8251
8252 Objects
8253 \emph default
8254  manual.
8255 \end_layout
8256
8257 \begin_layout Subsubsection
8258 Verbatim
8259 \family sans
8260
8261 \begin_inset Index idx
8262 status collapsed
8263
8264 \begin_layout Plain Layout
8265 Verbatim
8266 \end_layout
8267
8268 \end_inset
8269
8270
8271 \end_layout
8272
8273 \begin_layout Standard
8274 The 
8275 \family sans
8276 Verbatim
8277 \family default
8278  environment is similar to the 
8279 \family sans
8280 \SpecialChar LyX
8281 -Code
8282 \family default
8283  environment with the difference that its content will be treated like a
8284  computer console text.
8285  
8286 \family sans
8287 Verbatim
8288 \family default
8289  does therefore not have paragraphs so that 
8290 \family sans
8291 Return
8292 \family default
8293  breaks lines.
8294  Compared to 
8295 \family sans
8296 \SpecialChar LyX
8297 -Code
8298 \family default
8299  the 
8300 \family sans
8301 Space
8302 \family default
8303  key is treated like a normal space in text (not as a protected space) and
8304  you can have empty lines.
8305  In contrary to 
8306 \family sans
8307 \SpecialChar LyX
8308 -Code,
8309 \family default
8310  
8311 \family sans
8312 Verbatim
8313 \family default
8314  cannot
8315 \end_layout
8316
8317 \begin_layout Itemize
8318 have a certain language and a text style
8319 \end_layout
8320
8321 \begin_layout Itemize
8322 contain hyperlinks, boxes, foot- and margin notes, notes, math, citations,
8323  index- and nomenclature entries, labels, tables, graphics, listings, floats
8324  and \SpecialChar TeX
8325  Code
8326 \end_layout
8327
8328 \begin_layout Standard
8329 Because of these properties 
8330 \family sans
8331 Verbatim
8332 \family default
8333  works like a typewriter.
8334  Here is an example:
8335 \end_layout
8336
8337 \begin_layout Verbatim
8338
8339 This is Verbatim.
8340 \end_layout
8341
8342 \begin_layout Verbatim
8343 \noindent
8344 \align block
8345
8346 The following 2 lines are empty:
8347 \end_layout
8348
8349 \begin_layout Verbatim
8350
8351 \end_layout
8352
8353 \begin_layout Verbatim
8354
8355 \end_layout
8356
8357 \begin_layout Verbatim
8358
8359 Almost everything is allowed in Verbatim:"%&$§#~'`
8360 \backslash
8361 }][{|
8362 \end_layout
8363
8364 \begin_layout Standard
8365 The 
8366 \family sans
8367 Verbatim*
8368 \family default
8369  environment is identical to 
8370 \family sans
8371 Verbatim
8372 \family default
8373  with the difference that spaces appear in the output as the character '
8374 \begin_inset space \textvisiblespace{}
8375 \end_inset
8376
8377 '.
8378  An example:
8379 \end_layout
8380
8381 \begin_layout Verbatim*
8382
8383 This is Verbatim*.
8384 \end_layout
8385
8386 \begin_layout Section
8387 Nesting Environments
8388 \begin_inset Index idx
8389 status collapsed
8390
8391 \begin_layout Plain Layout
8392 Nesting ! Environments
8393 \end_layout
8394
8395 \end_inset
8396
8397
8398 \begin_inset CommandInset label
8399 LatexCommand label
8400 name "sec:Nesting"
8401
8402 \end_inset
8403
8404
8405 \end_layout
8406
8407 \begin_layout Subsection
8408 Introduction
8409 \end_layout
8410
8411 \begin_layout Standard
8412 \SpecialChar LyX
8413  treats text as a unified block with a particular context and specific propertie
8414 s.
8415  This allows you to create blocks that inherit some of the properties of
8416  another block.
8417  For example you have three main points in an outline, but point #2 also
8418  has two subpoints.
8419  In other words, you have a list inside of another list, with the inner
8420  list 
8421 \begin_inset Quotes eld
8422 \end_inset
8423
8424 attached
8425 \begin_inset Quotes erd
8426 \end_inset
8427
8428  to item #2:
8429 \end_layout
8430
8431 \begin_layout Enumerate
8432 one
8433 \end_layout
8434
8435 \begin_layout Enumerate
8436 two
8437 \end_layout
8438
8439 \begin_deeper
8440 \begin_layout Enumerate
8441 sublist – item #1
8442 \end_layout
8443
8444 \begin_layout Enumerate
8445 sublist – item #2
8446 \end_layout
8447
8448 \end_deeper
8449 \begin_layout Enumerate
8450 three
8451 \end_layout
8452
8453 \begin_layout Standard
8454 You put a list inside a list by nesting one list inside the other.
8455  Nesting an environment is quite simple: Select 
8456 \family sans
8457 Edit\SpecialChar menuseparator
8458 Increase
8459 \begin_inset space ~
8460 \end_inset
8461
8462 List
8463 \begin_inset space ~
8464 \end_inset
8465
8466 Depth
8467 \family default
8468  or 
8469 \family sans
8470 Decrease
8471 \begin_inset space ~
8472 \end_inset
8473
8474 List
8475 \begin_inset space ~
8476 \end_inset
8477
8478 Depth
8479 \family default
8480  to change the nesting depth (the status bar will tell you how far you are
8481  nested).
8482  Instead of the menu, you can also use the toolbar buttons 
8483 \begin_inset Info
8484 type  "icon"
8485 arg   "depth-increment"
8486 \end_inset
8487
8488  and 
8489 \begin_inset Info
8490 type  "icon"
8491 arg   "depth-decrement"
8492 \end_inset
8493
8494  or the key bindings 
8495 \family sans
8496 Tab
8497 \family default
8498  and 
8499 \family sans
8500 Shift+Tab
8501 \family default
8502  or 
8503 \begin_inset Info
8504 type  "shortcut"
8505 arg   "depth-increment"
8506 \end_inset
8507
8508  and 
8509 \begin_inset Info
8510 type  "shortcut"
8511 arg   "depth-decrement"
8512 \end_inset
8513
8514 .
8515  The change will work on the current selection, if you have made one (allowing
8516  you to change the nesting of several paragraphs at once), or the current
8517  paragraph.
8518 \end_layout
8519
8520 \begin_layout Standard
8521 Note that \SpecialChar LyX
8522  only changes the nesting depth if it can.
8523  If it is invalid to do so, nothing happens if you try to change the depth.
8524  Additionally, if you change the depth of one paragraph, it affects the
8525  depth of every paragraph nested inside of it.
8526 \end_layout
8527
8528 \begin_layout Standard
8529 Nesting isn't limited to lists.
8530  In \SpecialChar LyX
8531 , you can nest just about anything inside anything else, as you're about
8532  to find out.
8533  This is the real power of nesting paragraph environments.
8534 \end_layout
8535
8536 \begin_layout Subsection
8537 What You Can and Can't Nest
8538 \end_layout
8539
8540 \begin_layout Standard
8541 Before we fire a list of paragraph environments at you, we need to tell
8542  you a little bit more about how nesting works.
8543 \end_layout
8544
8545 \begin_layout Standard
8546 The question of nesting a paragraph environment is a bit more complicated
8547  than a simple yes or no.
8548  There are three types of paragraph environments:
8549 \end_layout
8550
8551 \begin_layout Itemize
8552 Completely unnestable
8553 \end_layout
8554
8555 \begin_layout Itemize
8556 Fully nestable, you can nest them inside things and you can also nest other
8557  things inside them.
8558 \end_layout
8559
8560 \begin_layout Itemize
8561 A third type, you can nest them into other environments, but you can't nest
8562  anything into them.
8563 \end_layout
8564
8565 \begin_layout Standard
8566 Here's a list of the three types of nesting behavior, and which paragraph
8567  environments have them:
8568 \end_layout
8569
8570 \begin_layout Description
8571 Unnestable Can't nest them.
8572  Can't nest into them.
8573 \end_layout
8574
8575 \begin_deeper
8576 \begin_layout Itemize
8577
8578 \family sans
8579 Bibliography
8580 \end_layout
8581
8582 \begin_layout Itemize
8583
8584 \family sans
8585 Abstract
8586 \end_layout
8587
8588 \begin_layout Itemize
8589
8590 \family sans
8591 Title
8592 \end_layout
8593
8594 \begin_layout Itemize
8595
8596 \family sans
8597 Author
8598 \end_layout
8599
8600 \begin_layout Itemize
8601
8602 \family sans
8603 Date
8604 \end_layout
8605
8606 \end_deeper
8607 \begin_layout Description
8608 Fully
8609 \begin_inset space ~
8610 \end_inset
8611
8612 Nestable You can nest them.
8613  You can nest other things into them.
8614 \end_layout
8615
8616 \begin_deeper
8617 \begin_layout Itemize
8618
8619 \family sans
8620 Verse
8621 \end_layout
8622
8623 \begin_layout Itemize
8624
8625 \family sans
8626 Quote
8627 \end_layout
8628
8629 \begin_layout Itemize
8630
8631 \family sans
8632 Quotation
8633 \end_layout
8634
8635 \begin_layout Itemize
8636
8637 \family sans
8638 Itemize
8639 \end_layout
8640
8641 \begin_layout Itemize
8642
8643 \family sans
8644 Enumerate
8645 \end_layout
8646
8647 \begin_layout Itemize
8648
8649 \family sans
8650 Description
8651 \end_layout
8652
8653 \begin_layout Itemize
8654
8655 \family sans
8656 List
8657 \end_layout
8658
8659 \begin_layout Itemize
8660
8661 \family sans
8662 \SpecialChar LyX
8663 -Code
8664 \end_layout
8665
8666 \begin_layout Itemize
8667
8668 \family sans
8669 Verbatim
8670 \end_layout
8671
8672 \begin_layout Itemize
8673
8674 \family sans
8675 Verbatim*
8676 \end_layout
8677
8678 \end_deeper
8679 \begin_layout Description
8680 Nestable-Inside You can nest them inside other things.
8681  You can't nest anything into them.
8682 \end_layout
8683
8684 \begin_deeper
8685 \begin_layout Itemize
8686
8687 \family sans
8688 Standard
8689 \end_layout
8690
8691 \begin_layout Itemize
8692
8693 \family sans
8694 Part
8695 \end_layout
8696
8697 \begin_layout Itemize
8698
8699 \family sans
8700 Chapter
8701 \end_layout
8702
8703 \begin_layout Itemize
8704
8705 \family sans
8706 Section
8707 \end_layout
8708
8709 \begin_layout Itemize
8710
8711 \family sans
8712 Subsection
8713 \end_layout
8714
8715 \begin_layout Itemize
8716
8717 \family sans
8718 Subsubsection
8719 \end_layout
8720
8721 \begin_layout Itemize
8722
8723 \family sans
8724 Paragraph
8725 \end_layout
8726
8727 \begin_layout Itemize
8728
8729 \family sans
8730 Subparagraph
8731 \end_layout
8732
8733 \begin_layout Itemize
8734
8735 \family sans
8736 Part*
8737 \end_layout
8738
8739 \begin_layout Itemize
8740
8741 \family sans
8742 Chapter*
8743 \end_layout
8744
8745 \begin_layout Itemize
8746
8747 \family sans
8748 Section*
8749 \end_layout
8750
8751 \begin_layout Itemize
8752
8753 \family sans
8754 Subsection*
8755 \end_layout
8756
8757 \begin_layout Itemize
8758
8759 \family sans
8760 Subsubsection*
8761 \end_layout
8762
8763 \begin_layout Itemize
8764
8765 \family sans
8766 Right
8767 \begin_inset space ~
8768 \end_inset
8769
8770 Address
8771 \end_layout
8772
8773 \begin_layout Itemize
8774
8775 \family sans
8776 Address
8777 \end_layout
8778
8779 \end_deeper
8780 \begin_layout Standard
8781 \begin_inset Note Greyedout
8782 status open
8783
8784 \begin_layout Plain Layout
8785
8786 \series bold
8787 Note:
8788 \series default
8789  Although it is possible, for example, to nest numbered section headings
8790  like 
8791 \family sans
8792 Chapter
8793 \family default
8794
8795 \family sans
8796 Section
8797 \family default
8798 , etc.
8799 \begin_inset space ~
8800 \end_inset
8801
8802 into lists, it is highly recommended not to do this because the aim is to
8803  create well-structured documents following typesetting guidelines whereas
8804  nested section headings violate this.
8805 \end_layout
8806
8807 \end_inset
8808
8809
8810 \end_layout
8811
8812 \begin_layout Subsection
8813 Nesting Other Things: Tables, Math, Floats, etc.
8814 \begin_inset Index idx
8815 status collapsed
8816
8817 \begin_layout Plain Layout
8818 Nesting ! Tables etc.
8819 \end_layout
8820
8821 \end_inset
8822
8823
8824 \end_layout
8825
8826 \begin_layout Standard
8827 There are several things that aren't paragraph environments, but which are
8828  affected by nesting anyhow.
8829  They are:
8830 \end_layout
8831
8832 \begin_layout Itemize
8833 equations
8834 \end_layout
8835
8836 \begin_layout Itemize
8837 tables
8838 \end_layout
8839
8840 \begin_layout Itemize
8841 figures
8842 \end_layout
8843
8844 \begin_layout Standard
8845 (
8846 \begin_inset Note Greyedout
8847 status open
8848
8849 \begin_layout Plain Layout
8850
8851 \series bold
8852 Note:
8853 \series default
8854  Figures and tables in 
8855 \family sans
8856 Floats
8857 \family default
8858  are not affected by this.
8859 \end_layout
8860
8861 \end_inset
8862
8863  Have a look at section
8864 \begin_inset space ~
8865 \end_inset
8866
8867
8868 \begin_inset CommandInset ref
8869 LatexCommand ref
8870 reference "sec:Floats"
8871
8872 \end_inset
8873
8874  for more information about 
8875 \family sans
8876 Floats
8877 \family default
8878 .)
8879 \end_layout
8880
8881 \begin_layout Standard
8882 \SpecialChar LyX
8883  can treat these three objects as either a word or as a paragraph.
8884  If a figure, table, or an equation is inline, it goes wherever the paragraph
8885  it is in goes.
8886 \end_layout
8887
8888 \begin_layout Standard
8889 On the other hand, if you have an equation, figure or table in a 
8890 \begin_inset Quotes eld
8891 \end_inset
8892
8893 paragraph
8894 \begin_inset Quotes erd
8895 \end_inset
8896
8897  of its own, it behaves just like a 
8898 \begin_inset Quotes eld
8899 \end_inset
8900
8901 nestable-inside
8902 \begin_inset Quotes erd
8903 \end_inset
8904
8905  paragraph environment.
8906  You can nest it into any environment, but you obviously can't nest anything
8907  into it.
8908 \end_layout
8909
8910 \begin_layout Standard
8911 Here's an example with a table:
8912 \end_layout
8913
8914 \begin_layout Enumerate
8915 Item One
8916 \end_layout
8917
8918 \begin_deeper
8919 \begin_layout Enumerate
8920 This is (a) and it's nested.
8921 \end_layout
8922
8923 \begin_deeper
8924 \begin_layout Standard
8925 \begin_inset VSpace 0.3cm
8926 \end_inset
8927
8928
8929 \end_layout
8930
8931 \begin_layout Standard
8932 \align center
8933 \begin_inset Tabular
8934 <lyxtabular version="3" rows="2" columns="2">
8935 <features tabularvalignment="middle">
8936 <column alignment="center" valignment="top" width="0pt">
8937 <column alignment="center" valignment="top" width="0pt">
8938 <row>
8939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8940 \begin_inset Text
8941
8942 \begin_layout Plain Layout
8943
8944 \family roman
8945 \series medium
8946 \shape up
8947 \size normal
8948 \emph off
8949 \bar no
8950 \noun off
8951 \color none
8952 a
8953 \end_layout
8954
8955 \end_inset
8956 </cell>
8957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8958 \begin_inset Text
8959
8960 \begin_layout Plain Layout
8961
8962 \family roman
8963 \series medium
8964 \shape up
8965 \size normal
8966 \emph off
8967 \bar no
8968 \noun off
8969 \color none
8970 b
8971 \end_layout
8972
8973 \end_inset
8974 </cell>
8975 </row>
8976 <row>
8977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Plain Layout
8981
8982 \family roman
8983 \series medium
8984 \shape up
8985 \size normal
8986 \emph off
8987 \bar no
8988 \noun off
8989 \color none
8990 c
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8996 \begin_inset Text
8997
8998 \begin_layout Plain Layout
8999
9000 \family roman
9001 \series medium
9002 \shape up
9003 \size normal
9004 \emph off
9005 \bar no
9006 \noun off
9007 \color none
9008 d
9009 \end_layout
9010
9011 \end_inset
9012 </cell>
9013 </row>
9014 </lyxtabular>
9015
9016 \end_inset
9017
9018
9019 \end_layout
9020
9021 \begin_layout Standard
9022 \begin_inset VSpace 0.3cm
9023 \end_inset
9024
9025
9026 \end_layout
9027
9028 \end_deeper
9029 \begin_layout Enumerate
9030 This is (b).
9031  The table is actually nested inside (a).
9032 \end_layout
9033
9034 \end_deeper
9035 \begin_layout Enumerate
9036 Back out again.
9037 \end_layout
9038
9039 \begin_layout Standard
9040 If we hadn't nested the table at all, the list would look like this:
9041 \end_layout
9042
9043 \begin_layout Enumerate
9044 Item One
9045 \end_layout
9046
9047 \begin_deeper
9048 \begin_layout Enumerate
9049 This is (a) and it's nested.
9050 \end_layout
9051
9052 \end_deeper
9053 \begin_layout Standard
9054 \begin_inset VSpace 0.3cm
9055 \end_inset
9056
9057
9058 \end_layout
9059
9060 \begin_layout Standard
9061 \align center
9062 \begin_inset Tabular
9063 <lyxtabular version="3" rows="2" columns="2">
9064 <features tabularvalignment="middle">
9065 <column alignment="center" valignment="top" width="0pt">
9066 <column alignment="center" valignment="top" width="0pt">
9067 <row>
9068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9069 \begin_inset Text
9070
9071 \begin_layout Plain Layout
9072
9073 \family roman
9074 \series medium
9075 \shape up
9076 \size normal
9077 \emph off
9078 \bar no
9079 \noun off
9080 \color none
9081 a
9082 \end_layout
9083
9084 \end_inset
9085 </cell>
9086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9087 \begin_inset Text
9088
9089 \begin_layout Plain Layout
9090
9091 \family roman
9092 \series medium
9093 \shape up
9094 \size normal
9095 \emph off
9096 \bar no
9097 \noun off
9098 \color none
9099 b
9100 \end_layout
9101
9102 \end_inset
9103 </cell>
9104 </row>
9105 <row>
9106 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9107 \begin_inset Text
9108
9109 \begin_layout Plain Layout
9110
9111 \family roman
9112 \series medium
9113 \shape up
9114 \size normal
9115 \emph off
9116 \bar no
9117 \noun off
9118 \color none
9119 c
9120 \end_layout
9121
9122 \end_inset
9123 </cell>
9124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9125 \begin_inset Text
9126
9127 \begin_layout Plain Layout
9128
9129 \family roman
9130 \series medium
9131 \shape up
9132 \size normal
9133 \emph off
9134 \bar no
9135 \noun off
9136 \color none
9137 d
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 </row>
9143 </lyxtabular>
9144
9145 \end_inset
9146
9147
9148 \end_layout
9149
9150 \begin_layout Standard
9151 \begin_inset VSpace 0.3cm
9152 \end_inset
9153
9154
9155 \end_layout
9156
9157 \begin_layout Enumerate
9158 This is (b).
9159  The table is 
9160 \emph on
9161 not
9162 \emph default
9163  nested inside (a).
9164  In fact, it's not nested at all.
9165 \end_layout
9166
9167 \begin_layout Enumerate
9168 Back out again.
9169 \end_layout
9170
9171 \begin_layout Standard
9172 Notice how item (b) is not only no longer nested, but is also the first
9173  item of a new list!
9174 \end_layout
9175
9176 \begin_layout Standard
9177 There's another trap you can fall into: Nesting the table, but not going
9178  deep enough.
9179  \SpecialChar LyX
9180  then turns anything after the table into a new sublist.
9181 \end_layout
9182
9183 \begin_layout Enumerate
9184 Item One
9185 \end_layout
9186
9187 \begin_deeper
9188 \begin_layout Enumerate
9189 This is (a) and it's nested.
9190 \end_layout
9191
9192 \begin_layout Standard
9193 \begin_inset VSpace 0.3cm
9194 \end_inset
9195
9196
9197 \end_layout
9198
9199 \begin_layout Standard
9200 \align center
9201 \begin_inset Tabular
9202 <lyxtabular version="3" rows="2" columns="2">
9203 <features tabularvalignment="middle">
9204 <column alignment="center" valignment="top" width="0pt">
9205 <column alignment="center" valignment="top" width="0pt">
9206 <row>
9207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9208 \begin_inset Text
9209
9210 \begin_layout Plain Layout
9211
9212 \family roman
9213 \series medium
9214 \shape up
9215 \size normal
9216 \emph off
9217 \bar no
9218 \noun off
9219 \color none
9220 a
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Plain Layout
9229
9230 \family roman
9231 \series medium
9232 \shape up
9233 \size normal
9234 \emph off
9235 \bar no
9236 \noun off
9237 \color none
9238 b
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Plain Layout
9249
9250 \family roman
9251 \series medium
9252 \shape up
9253 \size normal
9254 \emph off
9255 \bar no
9256 \noun off
9257 \color none
9258 c
9259 \end_layout
9260
9261 \end_inset
9262 </cell>
9263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9264 \begin_inset Text
9265
9266 \begin_layout Plain Layout
9267
9268 \family roman
9269 \series medium
9270 \shape up
9271 \size normal
9272 \emph off
9273 \bar no
9274 \noun off
9275 \color none
9276 d
9277 \end_layout
9278
9279 \end_inset
9280 </cell>
9281 </row>
9282 </lyxtabular>
9283
9284 \end_inset
9285
9286
9287 \end_layout
9288
9289 \end_deeper
9290 \begin_layout Standard
9291 \begin_inset VSpace 0.3cm
9292 \end_inset
9293
9294
9295 \end_layout
9296
9297 \begin_layout Enumerate
9298 This is (b).
9299  The table is actually nested inside Item One, but 
9300 \emph on
9301 not
9302 \emph default
9303  inside (a).
9304 \end_layout
9305
9306 \begin_layout Enumerate
9307 Back out again.
9308 \end_layout
9309
9310 \begin_layout Standard
9311 As you can see, item (b) turned into the first item of a new list, but a
9312  new list 
9313 \emph on
9314 inside
9315 \emph default
9316  item 1.
9317  The same thing would have happened to a figure or an equation.
9318  So, if you nest tables, figures or equations, make sure you go to the right
9319  depth!
9320 \end_layout
9321
9322 \begin_layout Subsection
9323 Usage and General Features
9324 \end_layout
9325
9326 \begin_layout Standard
9327 Speaking of levels, \SpecialChar LyX
9328  can perform up to a six-fold nesting.
9329  In other words, 
9330 \begin_inset Quotes eld
9331 \end_inset
9332
9333 level #6
9334 \begin_inset Quotes erd
9335 \end_inset
9336
9337  is the innermost possible depth.
9338  Here's an example to illustrate what we mean:
9339 \end_layout
9340
9341 \begin_layout Enumerate
9342 level #1 – outermost
9343 \end_layout
9344
9345 \begin_deeper
9346 \begin_layout Enumerate
9347 level #2
9348 \end_layout
9349
9350 \begin_deeper
9351 \begin_layout Enumerate
9352 level #3
9353 \end_layout
9354
9355 \begin_deeper
9356 \begin_layout Enumerate
9357 level #4
9358 \end_layout
9359
9360 \begin_deeper
9361 \begin_layout Itemize
9362 level #5
9363 \end_layout
9364
9365 \begin_deeper
9366 \begin_layout Itemize
9367 level #6
9368 \end_layout
9369
9370 \end_deeper
9371 \end_deeper
9372 \end_deeper
9373 \end_deeper
9374 \end_deeper
9375 \begin_layout Standard
9376 There are two exceptions to the six-fold nesting limit, and you can see
9377  both of them in the example.
9378  Unlike the other fully-nestable environments, you can only perform a four-fold
9379  nesting with the 
9380 \family sans
9381 Enumerate
9382 \family default
9383  and 
9384 \family sans
9385 Itemize
9386 \family default
9387  environments.
9388  For example, if we tried to nest another 
9389 \family sans
9390 Enumerate
9391 \family default
9392  list inside item 
9393 \begin_inset Quotes eld
9394 \end_inset
9395
9396 A.
9397 \begin_inset Quotes erd
9398 \end_inset
9399
9400 , we would get errors.
9401 \end_layout
9402
9403 \begin_layout Subsection
9404 Some Examples
9405 \begin_inset Index idx
9406 status collapsed
9407
9408 \begin_layout Plain Layout
9409 Nesting ! Examples
9410 \end_layout
9411
9412 \end_inset
9413
9414
9415 \end_layout
9416
9417 \begin_layout Standard
9418 The best way to explain just what you can do with nesting is by illustration.
9419  We have several examples of nested environments.
9420  In them, we explain how we created the example, so that you can reproduce
9421  them.
9422 \end_layout
9423
9424 \begin_layout Subsubsection
9425 Example 1: The Six-fold Way and Mixed Nesting
9426 \end_layout
9427
9428 \begin_layout Labeling
9429 \labelwidthstring MMM
9430 #1-a This is the outermost level.
9431  It's a 
9432 \family sans
9433 List
9434 \family default
9435  environment.
9436 \end_layout
9437
9438 \begin_deeper
9439 \begin_layout Labeling
9440 \labelwidthstring MMM
9441 #2-a This is level #2.
9442  We created it by using 
9443 \begin_inset Info
9444 type  "shortcut"
9445 arg   "paragraph-break inverse"
9446 \end_inset
9447
9448  followed by 
9449 \begin_inset Info
9450 type  "shortcut"
9451 arg   "depth-increment"
9452 \end_inset
9453
9454 .
9455 \end_layout
9456
9457 \begin_deeper
9458 \begin_layout Labeling
9459 \labelwidthstring MMM
9460 #3-a This is level #3.
9461  This time, we just enter 
9462 \family sans
9463 Return
9464 \family default
9465 , then used 
9466 \begin_inset Info
9467 type  "shortcut"
9468 arg   "depth-increment"
9469 \end_inset
9470
9471  twice in a row.
9472  We could have also created it the same way as we did the previous level,
9473  by entering 
9474 \begin_inset Info
9475 type  "shortcut"
9476 arg   "paragraph-break inverse"
9477 \end_inset
9478
9479  followed by 
9480 \begin_inset Info
9481 type  "shortcut"
9482 arg   "depth-increment"
9483 \end_inset
9484
9485 .
9486 \end_layout
9487
9488 \begin_deeper
9489 \begin_layout Standard
9490 This is actually a 
9491 \family sans
9492 Standard
9493 \family default
9494  environment, nested inside of 
9495 \begin_inset Quotes eld
9496 \end_inset
9497
9498 #3-a
9499 \begin_inset Quotes erd
9500 \end_inset
9501
9502 .
9503  So, it's at level #4.
9504  We did this by entering 
9505 \begin_inset Info
9506 type  "shortcut"
9507 arg   "paragraph-break inverse"
9508 \end_inset
9509
9510 , then 
9511 \begin_inset Info
9512 type  "shortcut"
9513 arg   "depth-increment"
9514 \end_inset
9515
9516 , then changing the paragraph environment to 
9517 \family sans
9518 Standard
9519 \family default
9520 .
9521  Do this to create list items with more than one paragraph — it also works
9522  for the 
9523 \family sans
9524 Description
9525 \family default
9526
9527 \family sans
9528 Enumerate
9529 \family default
9530 , and 
9531 \family sans
9532 Itemize
9533 \family default
9534  environments!
9535 \end_layout
9536
9537 \begin_layout Standard
9538 Here's another 
9539 \family sans
9540 Standard
9541 \family default
9542  paragraph, also at level #4, made with just a 
9543 \begin_inset Info
9544 type  "shortcut"
9545 arg   "paragraph-break inverse"
9546 \end_inset
9547
9548 .
9549 \end_layout
9550
9551 \begin_layout Labeling
9552 \labelwidthstring MMM
9553 #4-a This is level #4.
9554  We enter 
9555 \begin_inset Info
9556 type  "shortcut"
9557 arg   "paragraph-break inverse"
9558 \end_inset
9559
9560  and changed the paragraph environment back to 
9561 \family sans
9562 List
9563 \family default
9564 .
9565  Remember — we can't nest anything inside a 
9566 \family sans
9567 Standard
9568 \family default
9569  environment, which is why we're still at level #4.
9570  However, we 
9571 \emph on
9572 can
9573 \emph default
9574  keep nesting things inside 
9575 \begin_inset Quotes eld
9576 \end_inset
9577
9578 #3-a
9579 \begin_inset Quotes erd
9580 \end_inset
9581
9582 .
9583 \end_layout
9584
9585 \begin_deeper
9586 \begin_layout Labeling
9587 \labelwidthstring MMM
9588 #5-a This is level #5\SpecialChar ldots
9589
9590 \end_layout
9591
9592 \begin_deeper
9593 \begin_layout Labeling
9594 \labelwidthstring MMM
9595 #6-a \SpecialChar ldots
9596 and this is level #6.
9597  By now, you should know how we made these two.
9598 \end_layout
9599
9600 \end_deeper
9601 \begin_layout Labeling
9602 \labelwidthstring MMM
9603 #5-b Back to level #5.
9604  Just enter 
9605 \begin_inset Info
9606 type  "shortcut"
9607 arg   "paragraph-break inverse"
9608 \end_inset
9609
9610  followed by a 
9611 \begin_inset Info
9612 type  "shortcut"
9613 arg   "depth-decrement"
9614 \end_inset
9615
9616 .
9617 \end_layout
9618
9619 \end_deeper
9620 \begin_layout Labeling
9621 \labelwidthstring MMM
9622 #4-b After another 
9623 \begin_inset Info
9624 type  "shortcut"
9625 arg   "paragraph-break inverse"
9626 \end_inset
9627
9628  followed by a 
9629 \begin_inset Info
9630 type  "shortcut"
9631 arg   "depth-decrement"
9632 \end_inset
9633
9634 , we're back at level #4.
9635 \end_layout
9636
9637 \end_deeper
9638 \begin_layout Labeling
9639 \labelwidthstring MMM
9640 #3-b Back to level #3.
9641  By now it should be obvious how we did this.
9642 \end_layout
9643
9644 \end_deeper
9645 \begin_layout Labeling
9646 \labelwidthstring MMM
9647 #2-b Back to level #2.
9648  
9649 \end_layout
9650
9651 \end_deeper
9652 \begin_layout Labeling
9653 \labelwidthstring MMM
9654 #1-b And last, back to the outermost level, #1.
9655  After this sentence, we will enter 
9656 \family sans
9657 Return
9658 \family default
9659  and change the paragraph environment back to 
9660 \family sans
9661 Standard
9662 \family default
9663  to end the list.
9664 \end_layout
9665
9666 \begin_layout Standard
9667 We could have also used the 
9668 \family sans
9669 Description
9670 \family default
9671
9672 \family sans
9673 Quote
9674 \family default
9675
9676 \family sans
9677 Quotation
9678 \family default
9679 , or even the 
9680 \family sans
9681 Verse
9682 \family default
9683  environment in place of the 
9684 \family sans
9685 List
9686 \family default
9687  environment.
9688  The example would have worked exactly the same.
9689 \end_layout
9690
9691 \begin_layout Subsubsection
9692 Example 2: Inheritance
9693 \end_layout
9694
9695 \begin_layout LyX-Code
9696 This is the LyX-Code environment, at level #1, the outermost
9697 \end_layout
9698
9699 \begin_layout LyX-Code
9700 level.
9701   Now we will enter 
9702 \family sans
9703 Return
9704 \family default
9705 , then 
9706 \begin_inset Info
9707 type  "shortcut"
9708 arg   "depth-increment"
9709 \end_inset
9710
9711 , after
9712 \begin_inset Newline newline
9713 \end_inset
9714
9715 which, we will change to the 
9716 \family sans
9717 Enumerate
9718 \family default
9719  environment.
9720 \end_layout
9721
9722 \begin_deeper
9723 \begin_layout Enumerate
9724 This is the 
9725 \family sans
9726 Enumerate
9727 \family default
9728  environment, at level #2.
9729 \end_layout
9730
9731 \begin_layout Enumerate
9732 Notice how the nested 
9733 \family sans
9734 Enumerate
9735 \family default
9736  not only inherits its margins from its parent environment (
9737 \family sans
9738 LyX-Code
9739 \family default
9740 ), but also inherits its font and spacing!
9741 \end_layout
9742
9743 \end_deeper
9744 \begin_layout Standard
9745 We ended this example by entering 
9746 \family sans
9747 Return
9748 \family default
9749 .
9750  After that, we needed to reset the paragraph environment to 
9751 \family sans
9752 Standard
9753 \family default
9754  and reset the nesting depth by using 
9755 \begin_inset Info
9756 type  "shortcut"
9757 arg   "depth-decrement"
9758 \end_inset
9759
9760  once.
9761 \end_layout
9762
9763 \begin_layout Subsubsection
9764 Example 3: Labels, Levels, and the 
9765 \family sans
9766 Enumerate
9767 \family default
9768  and 
9769 \family sans
9770 Itemize
9771 \family default
9772  Environments
9773 \begin_inset Argument 1
9774 status collapsed
9775
9776 \begin_layout Plain Layout
9777 Example #3: Labels, Levels and other list environments
9778 \end_layout
9779
9780 \end_inset
9781
9782
9783 \end_layout
9784
9785 \begin_layout Enumerate
9786 This is level #1, in an 
9787 \family sans
9788 Enumerate
9789 \family default
9790  paragraph environment.
9791  We're actually going to nest a bunch of these.
9792 \end_layout
9793
9794 \begin_deeper
9795 \begin_layout Enumerate
9796 This is level #2.
9797  We used 
9798 \begin_inset Info
9799 type  "shortcut"
9800 arg   "paragraph-break inverse"
9801 \end_inset
9802
9803  followed by 
9804 \begin_inset Info
9805 type  "shortcut"
9806 arg   "depth-increment"
9807 \end_inset
9808
9809 .
9810  Now, what happens if we nest an 
9811 \family sans
9812 Itemize
9813 \family default
9814  environment inside of this one? It will be at level #3, but what will its
9815  label be? An asterisk?
9816 \end_layout
9817
9818 \begin_deeper
9819 \begin_layout Itemize
9820 No! It's a bullet.
9821  This is the 
9822 \emph on
9823 first
9824 \emph default
9825  
9826 \family sans
9827 Itemize
9828 \family default
9829  environment, even though it's at level #3.
9830  So, its label is a bullet.
9831  (We got here by using 
9832 \begin_inset Info
9833 type  "shortcut"
9834 arg   "paragraph-break inverse"
9835 \end_inset
9836
9837 , then 
9838 \begin_inset Info
9839 type  "shortcut"
9840 arg   "depth-increment"
9841 \end_inset
9842
9843 , then changing the environment to 
9844 \family sans
9845 Itemize
9846 \family default
9847 .)
9848 \end_layout
9849
9850 \begin_deeper
9851 \begin_layout Itemize
9852 Here's level #4, produced using 
9853 \begin_inset Info
9854 type  "shortcut"
9855 arg   "paragraph-break inverse"
9856 \end_inset
9857
9858 , then 
9859 \begin_inset Info
9860 type  "shortcut"
9861 arg   "depth-increment"
9862 \end_inset
9863
9864 .
9865  We will do that again\SpecialChar ldots
9866
9867 \end_layout
9868
9869 \begin_deeper
9870 \begin_layout Enumerate
9871 \SpecialChar ldots
9872 to get to level #5.
9873  This time, however, we also changed the paragraph environment back to 
9874 \family sans
9875 Enumerate
9876 \family default
9877 .
9878  Notice the type of numbering, it is 
9879 \emph on
9880 lowercase Roman
9881 \emph default
9882 , because we are in the 
9883 \emph on
9884 thirdfold
9885 \emph default
9886  
9887 \family sans
9888 Enumerate
9889 \family default
9890  environment (that is, it is an 
9891 \family sans
9892 Enumerate
9893 \family default
9894  inside an 
9895 \family sans
9896 Enumerate
9897 \family default
9898  inside an 
9899 \family sans
9900 Enumerate
9901 \family default
9902 ).
9903 \end_layout
9904
9905 \begin_layout Enumerate
9906 What happens if we 
9907 \emph on
9908 don't
9909 \emph default
9910  change the paragraph environment, but decrease the nesting depth? What
9911  type of numbering does \SpecialChar LyX
9912  use?
9913 \end_layout
9914
9915 \begin_layout Enumerate
9916 Oh, as if you couldn't guess by now, we're just using 
9917 \begin_inset Info
9918 type  "shortcut"
9919 arg   "paragraph-break inverse"
9920 \end_inset
9921
9922  to keep the current environment and depth but create a new item.
9923 \end_layout
9924
9925 \begin_layout Enumerate
9926 Let's use 
9927 \begin_inset Info
9928 type  "shortcut"
9929 arg   "depth-decrement"
9930 \end_inset
9931
9932  to decrease the depth after the next 
9933 \begin_inset Info
9934 type  "shortcut"
9935 arg   "paragraph-break inverse"
9936 \end_inset
9937
9938 .
9939 \end_layout
9940
9941 \end_deeper
9942 \begin_layout Enumerate
9943 This is level #4.
9944  Look what type of label \SpecialChar LyX
9945  is using!
9946 \end_layout
9947
9948 \end_deeper
9949 \begin_layout Enumerate
9950 This is level #3.
9951  Even though we've changed levels, \SpecialChar LyX
9952  is still using a lowercase Roman numeral
9953  as the label.Why?
9954 \end_layout
9955
9956 \begin_layout Enumerate
9957 Because, even though the nesting depth has changed, the paragraph is 
9958 \emph on
9959 still
9960 \emph default
9961  a thirdfold 
9962 \family sans
9963 Enumerate
9964 \family default
9965  environment.
9966  Notice, however, that \SpecialChar LyX
9967  
9968 \emph on
9969 did
9970 \emph default
9971  reset the counter for the label.
9972 \end_layout
9973
9974 \end_deeper
9975 \begin_layout Enumerate
9976 Another 
9977 \begin_inset Info
9978 type  "shortcut"
9979 arg   "paragraph-break inverse"
9980 \end_inset
9981
9982  
9983 \begin_inset Info
9984 type  "shortcut"
9985 arg   "depth-decrement"
9986 \end_inset
9987
9988  sequence, and we're back to level #2.
9989  This time, we not only changed the nesting depth, but we also moved back
9990  into the twofold-nested 
9991 \family sans
9992 Enumerate
9993 \family default
9994  environment.
9995 \end_layout
9996
9997 \end_deeper
9998 \begin_layout Enumerate
9999 The same thing happens if we do another 
10000 \begin_inset Info
10001 type  "shortcut"
10002 arg   "paragraph-break inverse"
10003 \end_inset
10004
10005  
10006 \begin_inset Info
10007 type  "shortcut"
10008 arg   "depth-decrement"
10009 \end_inset
10010
10011  sequence and return to level #1, the outermost level.
10012 \end_layout
10013
10014 \begin_layout Standard
10015 Lastly, we reset the environment to 
10016 \family sans
10017 Standard
10018 \family default
10019 .
10020  As you can see, the level number doesn't correspond to what type of labeling
10021  \SpecialChar LyX
10022  uses for the 
10023 \family sans
10024 Enumerate
10025 \family default
10026  and 
10027 \family sans
10028 Itemize
10029 \family default
10030  environments.
10031  The number of other 
10032 \family sans
10033 Enumerate
10034 \family default
10035  environments surrounding it determines what kind of label \SpecialChar LyX
10036  uses for an
10037  
10038 \family sans
10039 Enumerate
10040 \family default
10041  item.
10042  The same rule applies for the 
10043 \family sans
10044 Itemize
10045 \family default
10046  environment, as well.
10047 \end_layout
10048
10049 \begin_layout Subsubsection
10050 Example 4: Going Bonkers
10051 \end_layout
10052
10053 \begin_layout Enumerate
10054 We're going to go totally nuts now.
10055  We will not nest as deep as in the other examples, nor will we go into
10056  the same detail with how we did it.
10057  (level #1: 
10058 \family sans
10059 Enumerate
10060 \family default
10061 )
10062 \end_layout
10063
10064 \begin_deeper
10065 \begin_layout Standard
10066 (
10067 \family sans
10068 Return, 
10069 \family default
10070
10071 \begin_inset Info
10072 type  "shortcut"
10073 arg   "depth-increment"
10074 \end_inset
10075
10076
10077 \family sans
10078 , Standard
10079 \family default
10080 : level #2) We will stick an encapsulated description of how we created
10081  the example in parentheses someplace.
10082  For example, the two key bindings are how we changed the depth.
10083  The environment name is the name of the current environment.
10084  Either before or after this, we will put in the level.
10085 \end_layout
10086
10087 \end_deeper
10088 \begin_layout Enumerate
10089 (
10090 \family sans
10091 Return, Enumerate
10092 \family default
10093 : level #1) This is the next item in the list.
10094 \end_layout
10095
10096 \begin_deeper
10097 \begin_layout Verse
10098 Now we will add verse.
10099 \begin_inset Newline newline
10100 \end_inset
10101
10102 It will get much worse.
10103 \begin_inset Newline newline
10104 \end_inset
10105
10106 (
10107 \family sans
10108 Return, 
10109 \family default
10110
10111 \begin_inset Info
10112 type  "shortcut"
10113 arg   "depth-increment"
10114 \end_inset
10115
10116
10117 \family sans
10118 , Verse
10119 \family default
10120 : level #2)
10121 \end_layout
10122
10123 \begin_layout Verse
10124 Fiddle dee, Fiddle doo.
10125 \begin_inset Newline newline
10126 \end_inset
10127
10128 Bippitey boppitey boo!
10129 \begin_inset Newline newline
10130 \end_inset
10131
10132 (
10133 \begin_inset Info
10134 type  "shortcut"
10135 arg   "paragraph-break inverse"
10136 \end_inset
10137
10138
10139 \family sans
10140 )
10141 \end_layout
10142
10143 \begin_layout Verse
10144 Here comes a table:
10145 \end_layout
10146
10147 \begin_deeper
10148 \begin_layout Standard
10149 \begin_inset VSpace 0.3cm
10150 \end_inset
10151
10152
10153 \end_layout
10154
10155 \begin_layout Standard
10156 \align center
10157 \begin_inset Tabular
10158 <lyxtabular version="3" rows="2" columns="2">
10159 <features tabularvalignment="middle">
10160 <column alignment="center" valignment="top" width="0pt">
10161 <column alignment="center" valignment="top" width="0pt">
10162 <row>
10163 <cell alignment="center" valignment="top" usebox="none">
10164 \begin_inset Text
10165
10166 \begin_layout Plain Layout
10167
10168 \family roman
10169 \series medium
10170 \shape up
10171 \size normal
10172 \emph off
10173 \bar no
10174 \noun off
10175 \color none
10176 one-fish
10177 \end_layout
10178
10179 \end_inset
10180 </cell>
10181 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10182 \begin_inset Text
10183
10184 \begin_layout Plain Layout
10185
10186 \family roman
10187 \series medium
10188 \shape up
10189 \size normal
10190 \emph off
10191 \bar no
10192 \noun off
10193 \color none
10194 two-fish
10195 \end_layout
10196
10197 \end_inset
10198 </cell>
10199 </row>
10200 <row>
10201 <cell alignment="center" valignment="top" topline="true" usebox="none">
10202 \begin_inset Text
10203
10204 \begin_layout Plain Layout
10205
10206 \family roman
10207 \series medium
10208 \shape up
10209 \size normal
10210 \emph off
10211 \bar no
10212 \noun off
10213 \color none
10214 red-fish
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10220 \begin_inset Text
10221
10222 \begin_layout Plain Layout
10223
10224 \family roman
10225 \series medium
10226 \shape up
10227 \size normal
10228 \emph off
10229 \bar no
10230 \noun off
10231 \color none
10232 blue-fish
10233 \end_layout
10234
10235 \end_inset
10236 </cell>
10237 </row>
10238 </lyxtabular>
10239
10240 \end_inset
10241
10242
10243 \end_layout
10244
10245 \end_deeper
10246 \begin_layout Verse
10247 (
10248 \begin_inset Info
10249 type  "shortcut"
10250 arg   "paragraph-break inverse"
10251 \end_inset
10252
10253
10254 \family sans
10255 , Table, 
10256 \family default
10257
10258 \begin_inset Info
10259 type  "shortcut"
10260 arg   "depth-increment"
10261 \end_inset
10262
10263  3 times, 
10264 \begin_inset Info
10265 type  "shortcut"
10266 arg   "paragraph-break inverse"
10267 \end_inset
10268
10269
10270 \family sans
10271 , Verse,
10272 \begin_inset Newline newline
10273 \end_inset
10274
10275
10276 \family default
10277
10278 \begin_inset Info
10279 type  "shortcut"
10280 arg   "depth-decrement"
10281 \end_inset
10282
10283 )
10284 \end_layout
10285
10286 \end_deeper
10287 \begin_layout Enumerate
10288 (
10289 \family sans
10290 Return, Enumerate
10291 \family default
10292 : level #1) This is another item.
10293  Note that selecting a 
10294 \family sans
10295 Table
10296 \family default
10297  resets the nesting depth to level #1, so we increased the nesting depth
10298  3 times to put the table inside the 
10299 \family sans
10300 Verse
10301 \family default
10302  environment.
10303  
10304 \end_layout
10305
10306 \begin_layout Quotation
10307 We're now ending the 
10308 \family sans
10309 Enumerate
10310 \family default
10311  list and changing to 
10312 \family sans
10313 Quotation
10314 \family default
10315 .
10316  We're still at level #1.
10317  We want to show you some of the things you can do by mixing environments.
10318  The next set of paragraphs is a 
10319 \begin_inset Quotes eld
10320 \end_inset
10321
10322 quoted letter.
10323 \begin_inset Quotes erd
10324 \end_inset
10325
10326  We will nest both the 
10327 \family sans
10328 Address
10329 \family default
10330  and 
10331 \family sans
10332 Right
10333 \begin_inset space ~
10334 \end_inset
10335
10336 Address
10337 \family default
10338  environments inside of this one, then use another nested 
10339 \family sans
10340 Quotation
10341 \family default
10342  for the letter body.
10343  We will use 
10344 \begin_inset Info
10345 type  "shortcut"
10346 arg   "paragraph-break inverse"
10347 \end_inset
10348
10349  to preserve the depth.
10350  Remember that you need to use 
10351 \begin_inset Info
10352 type  "shortcut"
10353 arg   "newline-insert newline"
10354 \end_inset
10355
10356  to create multiple lines inside the 
10357 \family sans
10358 Address
10359 \family default
10360  and 
10361 \family sans
10362 Right
10363 \begin_inset space ~
10364 \end_inset
10365
10366 Address
10367 \family default
10368  environments.
10369  Here it goes:
10370 \end_layout
10371
10372 \begin_deeper
10373 \begin_layout Right Address
10374 1234 Nowhere Rd.
10375 \begin_inset Newline newline
10376 \end_inset
10377
10378 Moosegroin, MT 00100
10379 \begin_inset Newline newline
10380 \end_inset
10381
10382 9-6-96
10383 \end_layout
10384
10385 \begin_layout Address
10386 Dear Mr.
10387 \begin_inset space ~
10388 \end_inset
10389
10390 Fizlewitz:
10391 \end_layout
10392
10393 \begin_layout Quotation
10394 We regret to inform you that we cannot fill your order for 50
10395 \begin_inset space \thinspace{}
10396 \end_inset
10397
10398 L of compressed methane gas due to circumstances beyond our control.
10399  Unfortunately, several of our cows have mysteriously exploded, creating
10400  a backlog in our orders for methane.
10401  We will place your name on the waiting list and try to fill your order
10402  as soon as possible.
10403  In the meantime, we thank you for your patience.
10404 \end_layout
10405
10406 \begin_layout Quotation
10407 We do, however, now have a special on beef.
10408  If you are interested, please return the enclosed pricing and order form
10409  with your order, along with payment.
10410 \end_layout
10411
10412 \begin_layout Quotation
10413 We thank you again for your patience.
10414 \end_layout
10415
10416 \begin_layout Address
10417 Sincerely,
10418 \begin_inset Newline newline
10419 \end_inset
10420
10421 Bill Hick
10422 \end_layout
10423
10424 \end_deeper
10425 \begin_layout Quotation
10426 That ends that example!
10427 \end_layout
10428
10429 \begin_layout Standard
10430 As you can see, nesting environments in \SpecialChar LyX
10431  gives you a lot of power with just
10432  a few keystrokes.
10433  We could have easily nested an 
10434 \family sans
10435 Itemize
10436 \family default
10437  list inside of a 
10438 \family sans
10439 Quotation
10440 \family default
10441  or 
10442 \family sans
10443 Quote
10444 \family default
10445 , or put a 
10446 \family sans
10447 Quote
10448 \family default
10449  inside of an 
10450 \family sans
10451 Itemize
10452 \family default
10453  list.
10454  You have a huge variety of options at your disposal.
10455 \end_layout
10456
10457 \begin_layout Subsection
10458 Separate Nestings
10459 \begin_inset Index idx
10460 status collapsed
10461
10462 \begin_layout Plain Layout
10463 Nesting ! Separation
10464 \end_layout
10465
10466 \end_inset
10467
10468
10469 \begin_inset CommandInset label
10470 LatexCommand label
10471 name "subsec:Separate-Nestings"
10472
10473 \end_inset
10474
10475
10476 \end_layout
10477
10478 \begin_layout Standard
10479 It is sometimes necessary to have two consecutive environments of the same
10480  type.
10481  For example you need two different enumerations:
10482 \end_layout
10483
10484 \begin_layout Enumerate
10485 Hello
10486 \end_layout
10487
10488 \begin_deeper
10489 \begin_layout Enumerate
10490 this is an
10491 \end_layout
10492
10493 \begin_deeper
10494 \begin_layout Enumerate
10495 enumeration
10496 \end_layout
10497
10498 \begin_layout Standard
10499 \begin_inset Separator plain
10500 \end_inset
10501
10502
10503 \end_layout
10504
10505 \begin_layout Itemize
10506 itemize list
10507 \end_layout
10508
10509 \end_deeper
10510 \end_deeper
10511 \begin_layout Standard
10512 \begin_inset Separator parbreak
10513 \end_inset
10514
10515
10516 \end_layout
10517
10518 \begin_layout Enumerate
10519 Hi
10520 \end_layout
10521
10522 \begin_layout Enumerate
10523 this is another
10524 \end_layout
10525
10526 \begin_layout Enumerate
10527 enumeration
10528 \end_layout
10529
10530 \begin_layout Standard
10531 To split an existing list into two lists, set the cursor at the end of a
10532  list item and use the menu 
10533 \family sans
10534 Insert\SpecialChar menuseparator
10535 Separated <Name> Above
10536 \family default
10537  or
10538 \family sans
10539  Insert\SpecialChar menuseparator
10540 Separated <Name> Below
10541 \family default
10542 .
10543  This inserts a plain separator (red line in \SpecialChar LyX
10544 ) and before or behind it the
10545  new list.
10546  Inside nested environments, it is also possible to split the outer environment.
10547 \end_layout
10548
10549 \begin_layout Standard
10550 By right-clicking on a separator one can change it into a paragraph separator
10551  (red arrow in LyX).
10552  The difference between both separator types is that the plain separator
10553  only splits the list and not the current paragraph.
10554 \end_layout
10555
10556 \begin_layout Standard
10557 In general, you get an environment separator when you press 
10558 \begin_inset Info
10559 type  "shortcut"
10560 arg   "paragraph-break"
10561 \end_inset
10562
10563  in a 
10564 \family sans
10565 Standard
10566 \family default
10567  environment immediately after a non-Standard one.
10568 \end_layout
10569
10570 \begin_layout Section
10571 Spacing, pagination and line breaks
10572 \begin_inset Index idx
10573 status collapsed
10574
10575 \begin_layout Plain Layout
10576 Spacing
10577 \end_layout
10578
10579 \end_inset
10580
10581
10582 \end_layout
10583
10584 \begin_layout Standard
10585 What is a space? While you might be used to pressing the space key anytime
10586  you want to separate two words in ordinary word processors, \SpecialChar LyX
10587  offers you
10588  more spaces: spaces of different widths and spaces which can or cannot
10589  be broken at the end of a line.
10590  The following sections will show you some examples where those spaces are
10591  useful.
10592 \end_layout
10593
10594 \begin_layout Subsection
10595 Protected Space
10596 \begin_inset CommandInset label
10597 LatexCommand label
10598 name "subsec:Protected-Space"
10599
10600 \end_inset
10601
10602
10603 \begin_inset Index idx
10604 status collapsed
10605
10606 \begin_layout Plain Layout
10607 Spaces ! Protected
10608 \end_layout
10609
10610 \end_inset
10611
10612
10613 \end_layout
10614
10615 \begin_layout Standard
10616 The protected space: It is used to tell \SpecialChar LyX
10617  (and \SpecialChar LaTeX
10618 ) not to break the line at
10619  that point.
10620  This may be necessary to avoid unlucky line breaks, like in: 
10621 \end_layout
10622
10623 \begin_layout Quote
10624 Further documentation is given in section
10625 \begin_inset Newline newline
10626 \end_inset
10627
10628
10629 \begin_inset CommandInset ref
10630 LatexCommand ref
10631 reference "sec:Bibliography"
10632
10633 \end_inset
10634
10635 .
10636  
10637 \end_layout
10638
10639 \begin_layout Standard
10640 Obviously, it would be a good thing to put a protected space between 
10641 \begin_inset Quotes eld
10642 \end_inset
10643
10644 section
10645 \begin_inset Quotes erd
10646 \end_inset
10647
10648  and 
10649 \begin_inset Quotes eld
10650 \end_inset
10651
10652
10653 \begin_inset CommandInset ref
10654 LatexCommand ref
10655 reference "sec:Bibliography"
10656
10657 \end_inset
10658
10659
10660 \begin_inset Quotes erd
10661 \end_inset
10662
10663 .
10664  A protected space is set with 
10665 \family sans
10666 Insert\SpecialChar menuseparator
10667 Formatting\SpecialChar menuseparator
10668 Protected
10669 \begin_inset space ~
10670 \end_inset
10671
10672 Space
10673 \family default
10674  (shortcut 
10675 \begin_inset Info
10676 type  "shortcut"
10677 arg   "command-alternatives math-space ; space-insert protected"
10678 \end_inset
10679
10680 ).
10681 \end_layout
10682
10683 \begin_layout Subsection
10684 Horizontal Space
10685 \begin_inset CommandInset label
10686 LatexCommand label
10687 name "subsec:Horizontal-Space"
10688
10689 \end_inset
10690
10691
10692 \begin_inset Index idx
10693 status collapsed
10694
10695 \begin_layout Plain Layout
10696 Spacing ! Horizontal
10697 \end_layout
10698
10699 \end_inset
10700
10701
10702 \end_layout
10703
10704 \begin_layout Standard
10705 All horizontal spaces can be inserted with the menu 
10706 \family sans
10707 Insert\SpecialChar menuseparator
10708 Formatting\SpecialChar menuseparator
10709 Horizontal Space
10710 \family default
10711 .
10712  The length units are listed in Appendix
10713 \begin_inset space ~
10714 \end_inset
10715
10716
10717 \begin_inset CommandInset ref
10718 LatexCommand ref
10719 reference "chap:Units-available-in"
10720
10721 \end_inset
10722
10723 .
10724 \end_layout
10725
10726 \begin_layout Subsubsection
10727 Inter-word Space
10728 \begin_inset CommandInset label
10729 LatexCommand label
10730 name "subsec:Inter-word-Space"
10731
10732 \end_inset
10733
10734
10735 \begin_inset Index idx
10736 status collapsed
10737
10738 \begin_layout Plain Layout
10739 Spaces ! Inter-word
10740 \end_layout
10741
10742 \end_inset
10743
10744
10745 \end_layout
10746
10747 \begin_layout Standard
10748 With the introduction of typewriters, it became conventional in some countries
10749  to type two spaces after a period to mimic the wider spaces used by typesetters
10750  at the ends of sentences.
10751  There is no need to do this as \SpecialChar LyX
10752  automatically takes care about this.
10753  However, you do not want an end of sentence space after an abbreviation
10754  followed by a period; see section
10755 \begin_inset space ~
10756 \end_inset
10757
10758
10759 \begin_inset CommandInset ref
10760 LatexCommand ref
10761 reference "subsec:Abbreviations"
10762
10763 \end_inset
10764
10765  for examples.
10766  To insert a normal space, select 
10767 \family sans
10768 Insert\SpecialChar menuseparator
10769 Formatting\SpecialChar menuseparator
10770 Interword
10771 \begin_inset space ~
10772 \end_inset
10773
10774 Space
10775 \family default
10776  (shortcut 
10777 \begin_inset Info
10778 type  "shortcut"
10779 arg   "space-insert normal"
10780 \end_inset
10781
10782 ).
10783 \end_layout
10784
10785 \begin_layout Subsubsection
10786 Thin Space
10787 \begin_inset CommandInset label
10788 LatexCommand label
10789 name "subsec:Thin-Space"
10790
10791 \end_inset
10792
10793
10794 \begin_inset Index idx
10795 status collapsed
10796
10797 \begin_layout Plain Layout
10798 Spaces ! Thin
10799 \end_layout
10800
10801 \end_inset
10802
10803
10804 \end_layout
10805
10806 \begin_layout Standard
10807
10808 \begin_inset Quotes eld
10809 \end_inset
10810
10811 thin space
10812 \begin_inset Quotes erd
10813 \end_inset
10814
10815  is a blank which has half the size of a normal space (and it is also 
10816 \begin_inset Quotes eld
10817 \end_inset
10818
10819 protected
10820 \begin_inset Quotes erd
10821 \end_inset
10822
10823 ).
10824  The typographical conventions in a lot of languages propose the use of
10825  thin spaces in cases where normal spaces would be too wide, for instance,
10826  inside abbreviations:
10827 \end_layout
10828
10829 \begin_layout Quote
10830 D.
10831 \begin_inset space \thinspace{}
10832 \end_inset
10833
10834 E.
10835  Knuth has developed our beloved typesetting program.
10836 \end_layout
10837
10838 \begin_layout Standard
10839 or between values and units.
10840  Compare for example this:
10841 \begin_inset Newline newline
10842 \end_inset
10843
10844 10
10845 \begin_inset space \thinspace{}
10846 \end_inset
10847
10848 kg (thin space)
10849 \begin_inset Newline newline
10850 \end_inset
10851
10852 10 kg (normal space
10853 \end_layout
10854
10855 \begin_layout Standard
10856 You can insert thin spaces with the menu 
10857 \family sans
10858 Insert\SpecialChar menuseparator
10859 Formatting\SpecialChar menuseparator
10860 Thin
10861 \begin_inset space ~
10862 \end_inset
10863
10864 Space
10865 \family default
10866  (shortcut 
10867 \begin_inset Info
10868 type  "shortcuts"
10869 arg   "space-insert thin"
10870 \end_inset
10871
10872 ).
10873 \end_layout
10874
10875 \begin_layout Subsubsection
10876 More Spaces
10877 \end_layout
10878
10879 \begin_layout Standard
10880 You can also insert the following space types:
10881 \end_layout
10882
10883 \begin_layout Description
10884 Negative
10885 \begin_inset space ~
10886 \end_inset
10887
10888 thin
10889 \begin_inset space ~
10890 \end_inset
10891
10892 space A line with a 
10893 \begin_inset Formula $\to$
10894 \end_inset
10895
10896
10897 \begin_inset space \negthinspace{}
10898 \end_inset
10899
10900
10901 \begin_inset Formula $\gets$
10902 \end_inset
10903
10904  negative thin space between the arrows.
10905 \end_layout
10906
10907 \begin_layout Description
10908 Negative
10909 \begin_inset space ~
10910 \end_inset
10911
10912 medium
10913 \begin_inset space ~
10914 \end_inset
10915
10916 space A line with a 
10917 \begin_inset Formula $\to$
10918 \end_inset
10919
10920
10921 \begin_inset space \negmedspace{}
10922 \end_inset
10923
10924
10925 \begin_inset Formula $\gets$
10926 \end_inset
10927
10928  negative medium space between the arrows.
10929 \end_layout
10930
10931 \begin_layout Description
10932 Negative
10933 \begin_inset space ~
10934 \end_inset
10935
10936 thick
10937 \begin_inset space ~
10938 \end_inset
10939
10940 space A line with a 
10941 \begin_inset Formula $\to$
10942 \end_inset
10943
10944
10945 \begin_inset space \negthickspace{}
10946 \end_inset
10947
10948
10949 \begin_inset Formula $\gets$
10950 \end_inset
10951
10952  negative thick space between the arrows.
10953 \end_layout
10954
10955 \begin_layout Description
10956 Enspace
10957 \begin_inset space ~
10958 \end_inset
10959
10960 (0.5
10961 \begin_inset space \thinspace{}
10962 \end_inset
10963
10964 em) A line with an 
10965 \begin_inset Formula $\to$
10966 \end_inset
10967
10968
10969 \begin_inset space \enskip{}
10970 \end_inset
10971
10972
10973 \begin_inset Formula $\gets$
10974 \end_inset
10975
10976  enspace
10977 \begin_inset space ~
10978 \end_inset
10979
10980 (0.5
10981 \begin_inset space \thinspace{}
10982 \end_inset
10983
10984 em) space between the arrows.
10985 \end_layout
10986
10987 \begin_layout Description
10988 Quad
10989 \begin_inset space ~
10990 \end_inset
10991
10992 (1
10993 \begin_inset space \thinspace{}
10994 \end_inset
10995
10996 em) A line with a 
10997 \begin_inset Formula $\to$
10998 \end_inset
10999
11000
11001 \begin_inset space \quad{}
11002 \end_inset
11003
11004
11005 \begin_inset Formula $\gets$
11006 \end_inset
11007
11008  Quad
11009 \begin_inset space ~
11010 \end_inset
11011
11012 (1
11013 \begin_inset space \thinspace{}
11014 \end_inset
11015
11016 em) space between the arrows.
11017 \end_layout
11018
11019 \begin_layout Description
11020 QQuad
11021 \begin_inset space ~
11022 \end_inset
11023
11024 (2
11025 \begin_inset space \thinspace{}
11026 \end_inset
11027
11028 em) A line with a 
11029 \begin_inset Formula $\to$
11030 \end_inset
11031
11032
11033 \begin_inset space \qquad{}
11034 \end_inset
11035
11036
11037 \begin_inset Formula $\gets$
11038 \end_inset
11039
11040  QQuad
11041 \begin_inset space ~
11042 \end_inset
11043
11044 (2
11045 \begin_inset space \thinspace{}
11046 \end_inset
11047
11048 em) space between the arrows.
11049 \end_layout
11050
11051 \begin_layout Description
11052 Custom
11053 \begin_inset space ~
11054 \end_inset
11055
11056 space A line with 
11057 \begin_inset Formula $\to$
11058 \end_inset
11059
11060
11061 \begin_inset space \hspace{}
11062 \length 2cm
11063 \end_inset
11064
11065
11066 \begin_inset Formula $\gets$
11067 \end_inset
11068
11069  2
11070 \begin_inset space \thinspace{}
11071 \end_inset
11072
11073 cm space between the arrows.
11074 \end_layout
11075
11076 \begin_layout Standard
11077 Table
11078 \begin_inset space ~
11079 \end_inset
11080
11081
11082 \begin_inset CommandInset ref
11083 LatexCommand ref
11084 reference "tab:Width-of-the"
11085
11086 \end_inset
11087
11088  lists the different space sizes.
11089 \end_layout
11090
11091 \begin_layout Standard
11092 \begin_inset Float table
11093 wide false
11094 sideways false
11095 status open
11096
11097 \begin_layout Plain Layout
11098 \begin_inset Caption Standard
11099
11100 \begin_layout Plain Layout
11101 \begin_inset CommandInset label
11102 LatexCommand label
11103 name "tab:Width-of-the"
11104
11105 \end_inset
11106
11107 Width of the different horizontal spaces.
11108 \end_layout
11109
11110 \end_inset
11111
11112
11113 \end_layout
11114
11115 \begin_layout Plain Layout
11116 \align center
11117 \begin_inset Tabular
11118 <lyxtabular version="3" rows="10" columns="2">
11119 <features tabularvalignment="middle">
11120 <column alignment="center" valignment="top">
11121 <column alignment="center" valignment="top">
11122 <row>
11123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11124 \begin_inset Text
11125
11126 \begin_layout Plain Layout
11127
11128 \series bold
11129 Space
11130 \end_layout
11131
11132 \end_inset
11133 </cell>
11134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11135 \begin_inset Text
11136
11137 \begin_layout Plain Layout
11138
11139 \series bold
11140 Width
11141 \end_layout
11142
11143 \end_inset
11144 </cell>
11145 </row>
11146 <row>
11147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11148 \begin_inset Text
11149
11150 \begin_layout Plain Layout
11151 Normal
11152 \end_layout
11153
11154 \end_inset
11155 </cell>
11156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11157 \begin_inset Text
11158
11159 \begin_layout Plain Layout
11160 1/3
11161 \begin_inset space \thinspace{}
11162 \end_inset
11163
11164 em
11165 \end_layout
11166
11167 \end_inset
11168 </cell>
11169 </row>
11170 <row>
11171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11172 \begin_inset Text
11173
11174 \begin_layout Plain Layout
11175 Protected
11176 \end_layout
11177
11178 \end_inset
11179 </cell>
11180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11181 \begin_inset Text
11182
11183 \begin_layout Plain Layout
11184 1/3
11185 \begin_inset space \thinspace{}
11186 \end_inset
11187
11188 em
11189 \end_layout
11190
11191 \end_inset
11192 </cell>
11193 </row>
11194 <row>
11195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11196 \begin_inset Text
11197
11198 \begin_layout Plain Layout
11199 Thin
11200 \end_layout
11201
11202 \end_inset
11203 </cell>
11204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11205 \begin_inset Text
11206
11207 \begin_layout Plain Layout
11208 1/6
11209 \begin_inset space \thinspace{}
11210 \end_inset
11211
11212 em
11213 \end_layout
11214
11215 \end_inset
11216 </cell>
11217 </row>
11218 <row>
11219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11220 \begin_inset Text
11221
11222 \begin_layout Plain Layout
11223 Negative thin
11224 \end_layout
11225
11226 \end_inset
11227 </cell>
11228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11229 \begin_inset Text
11230
11231 \begin_layout Plain Layout
11232 -1/6
11233 \begin_inset space \thinspace{}
11234 \end_inset
11235
11236 em
11237 \begin_inset Formula $\thinspace=\thinspace$
11238 \end_inset
11239
11240 -3
11241 \begin_inset space \thinspace{}
11242 \end_inset
11243
11244 mu
11245 \end_layout
11246
11247 \end_inset
11248 </cell>
11249 </row>
11250 <row>
11251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11252 \begin_inset Text
11253
11254 \begin_layout Plain Layout
11255 Negative medium
11256 \end_layout
11257
11258 \end_inset
11259 </cell>
11260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11261 \begin_inset Text
11262
11263 \begin_layout Plain Layout
11264 -4
11265 \begin_inset space \thinspace{}
11266 \end_inset
11267
11268 mu
11269 \end_layout
11270
11271 \end_inset
11272 </cell>
11273 </row>
11274 <row>
11275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11276 \begin_inset Text
11277
11278 \begin_layout Plain Layout
11279 Negative thick
11280 \end_layout
11281
11282 \end_inset
11283 </cell>
11284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11285 \begin_inset Text
11286
11287 \begin_layout Plain Layout
11288 -5
11289 \begin_inset space \thinspace{}
11290 \end_inset
11291
11292 mu
11293 \end_layout
11294
11295 \end_inset
11296 </cell>
11297 </row>
11298 <row>
11299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11300 \begin_inset Text
11301
11302 \begin_layout Plain Layout
11303 Enspace (0.5
11304 \begin_inset space \thinspace{}
11305 \end_inset
11306
11307 em)
11308 \end_layout
11309
11310 \end_inset
11311 </cell>
11312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11313 \begin_inset Text
11314
11315 \begin_layout Plain Layout
11316 0.5
11317 \begin_inset space \thinspace{}
11318 \end_inset
11319
11320 em
11321 \end_layout
11322
11323 \end_inset
11324 </cell>
11325 </row>
11326 <row>
11327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11328 \begin_inset Text
11329
11330 \begin_layout Plain Layout
11331 Quad (1
11332 \begin_inset space \thinspace{}
11333 \end_inset
11334
11335 em)
11336 \end_layout
11337
11338 \end_inset
11339 </cell>
11340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11341 \begin_inset Text
11342
11343 \begin_layout Plain Layout
11344 1
11345 \begin_inset space \thinspace{}
11346 \end_inset
11347
11348 em
11349 \end_layout
11350
11351 \end_inset
11352 </cell>
11353 </row>
11354 <row>
11355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11356 \begin_inset Text
11357
11358 \begin_layout Plain Layout
11359 QQuad (2
11360 \begin_inset space \thinspace{}
11361 \end_inset
11362
11363 em)
11364 \end_layout
11365
11366 \end_inset
11367 </cell>
11368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11369 \begin_inset Text
11370
11371 \begin_layout Plain Layout
11372 2
11373 \begin_inset space \thinspace{}
11374 \end_inset
11375
11376 em
11377 \end_layout
11378
11379 \end_inset
11380 </cell>
11381 </row>
11382 </lyxtabular>
11383
11384 \end_inset
11385
11386
11387 \end_layout
11388
11389 \end_inset
11390
11391
11392 \end_layout
11393
11394 \begin_layout Subsubsection
11395 Horizontal Fills
11396 \begin_inset Index idx
11397 status collapsed
11398
11399 \begin_layout Plain Layout
11400 Spacing ! Fills
11401 \end_layout
11402
11403 \end_inset
11404
11405
11406 \end_layout
11407
11408 \begin_layout Standard
11409 Horizontal fills (HFills) are a special \SpecialChar LyX
11410  feature for adding extra space
11411  in a uniform fashion.
11412  An HFill is actually a variable length space, whose length always equals
11413  the remaining space between the left and right margins.
11414  If there is more than one HFill on a line, they divide the available space
11415  equally between themselves.
11416 \end_layout
11417
11418 \begin_layout Standard
11419 Here are a few examples of what you can do with them:
11420 \end_layout
11421
11422 \begin_layout Quote
11423 \noindent
11424 This is on the left side
11425 \begin_inset space \hfill{}
11426 \end_inset
11427
11428 This is on the right
11429 \end_layout
11430
11431 \begin_layout Quote
11432 \noindent
11433 Left
11434 \begin_inset space \hfill{}
11435 \end_inset
11436
11437 Middle
11438 \begin_inset space \hfill{}
11439 \end_inset
11440
11441 Right
11442 \end_layout
11443
11444 \begin_layout Quote
11445 \noindent
11446 Left
11447 \begin_inset space \hfill{}
11448 \end_inset
11449
11450 1/3 Left
11451 \begin_inset space \hfill{}
11452 \end_inset
11453
11454
11455 \begin_inset space \hfill{}
11456 \end_inset
11457
11458 Right
11459 \end_layout
11460
11461 \begin_layout Standard
11462 That was an example in the 
11463 \family sans
11464 Quote
11465 \family default
11466  environment.
11467  Here
11468 \begin_inset Formula $\to$
11469 \end_inset
11470
11471
11472 \begin_inset space \hfill{}
11473 \end_inset
11474
11475
11476 \begin_inset Formula $\gets$
11477 \end_inset
11478
11479 is one in a standard paragraph.
11480  It may or may not be apparent in the printed text, but it 
11481 \emph on
11482 is
11483 \emph default
11484  sitting in-between the two arrows.
11485 \end_layout
11486
11487 \begin_layout Standard
11488 HFills can be made visible when you choose one of the 
11489 \family sans
11490 Fill
11491 \begin_inset space ~
11492 \end_inset
11493
11494 Pattern
11495 \family default
11496 s in the space dialog: The following patterns are available:
11497 \end_layout
11498
11499 \begin_layout Standard
11500 Dots: 
11501 \begin_inset space \dotfill{}
11502 \end_inset
11503
11504
11505 \begin_inset space ~
11506 \end_inset
11507
11508
11509 \end_layout
11510
11511 \begin_layout Standard
11512 Rule: 
11513 \begin_inset space \hrulefill{}
11514 \end_inset
11515
11516
11517 \begin_inset space ~
11518 \end_inset
11519
11520
11521 \end_layout
11522
11523 \begin_layout Standard
11524 Left arrow: 
11525 \begin_inset space \leftarrowfill{}
11526 \end_inset
11527
11528
11529 \begin_inset space ~
11530 \end_inset
11531
11532
11533 \end_layout
11534
11535 \begin_layout Standard
11536 Right arrow: 
11537 \begin_inset space \rightarrowfill{}
11538 \end_inset
11539
11540
11541 \begin_inset space ~
11542 \end_inset
11543
11544
11545 \end_layout
11546
11547 \begin_layout Standard
11548 Up brace: 
11549 \begin_inset space \downbracefill{}
11550 \end_inset
11551
11552
11553 \begin_inset space ~
11554 \end_inset
11555
11556
11557 \end_layout
11558
11559 \begin_layout Standard
11560 Down brace: 
11561 \begin_inset space \upbracefill{}
11562 \end_inset
11563
11564
11565 \begin_inset space ~
11566 \end_inset
11567
11568
11569 \end_layout
11570
11571 \begin_layout Standard
11572 \begin_inset Note Greyedout
11573 status open
11574
11575 \begin_layout Plain Layout
11576
11577 \series bold
11578 Note:
11579 \series default
11580  If an HFill is at the beginning of a line, and 
11581 \emph on
11582 not
11583 \emph default
11584  in the first line in a paragraph, \SpecialChar LyX
11585  ignores it.
11586  This prevents HFills from accidentally being wrapped onto a new line.
11587  If you need space in this case anyway, set the 
11588 \family sans
11589 Protect
11590 \family default
11591  option in the space dialog.
11592 \end_layout
11593
11594 \end_inset
11595
11596
11597 \end_layout
11598
11599 \begin_layout Subsubsection
11600 Phantom Space
11601 \begin_inset CommandInset label
11602 LatexCommand label
11603 name "subsec:Phantom-Space"
11604
11605 \end_inset
11606
11607
11608 \begin_inset Index idx
11609 status collapsed
11610
11611 \begin_layout Plain Layout
11612 Spacing ! Phantom
11613 \end_layout
11614
11615 \end_inset
11616
11617
11618 \end_layout
11619
11620 \begin_layout Standard
11621 Sometimes you want to insert space with exactly the length of a phrase.
11622  For example, you want to create the following multiple choice question:
11623 \end_layout
11624
11625 \begin_layout Standard
11626 \begin_inset VSpace medskip
11627 \end_inset
11628
11629 What is correct English?:
11630 \begin_inset Newline newline
11631 \end_inset
11632
11633
11634 \begin_inset Newline newline
11635 \end_inset
11636
11637 Mr.
11638 \begin_inset space ~
11639 \end_inset
11640
11641 Edge would have been jumps the gun.
11642 \begin_inset Newline newline
11643 \end_inset
11644
11645
11646 \begin_inset Phantom HPhantom
11647 status open
11648
11649 \begin_layout Plain Layout
11650 Mr.
11651  Edge 
11652 \end_layout
11653
11654 \end_inset
11655
11656 has to be jumped
11657 \begin_inset Newline newline
11658 \end_inset
11659
11660
11661 \begin_inset Phantom HPhantom
11662 status open
11663
11664 \begin_layout Plain Layout
11665 Mr.
11666  Edge 
11667 \end_layout
11668
11669 \end_inset
11670
11671 jumps
11672 \begin_inset VSpace medskip
11673 \end_inset
11674
11675
11676 \end_layout
11677
11678 \begin_layout Standard
11679 \noindent
11680 so that the choices appear exactly after the phrase 
11681 \begin_inset Quotes eld
11682 \end_inset
11683
11684 Mr.
11685 \begin_inset space ~
11686 \end_inset
11687
11688 Edge
11689 \begin_inset space ~
11690 \end_inset
11691
11692
11693 \begin_inset Quotes erd
11694 \end_inset
11695
11696 .
11697  To get this, you can use the phantom insets available via the menu 
11698 \family sans
11699 Insert\SpecialChar menuseparator
11700 Formatting\SpecialChar menuseparator
11701 Phantom
11702 \family default
11703 .
11704  In our case insert a horizontal phantom at the beginning of the last two
11705  lines and insert 
11706 \begin_inset Quotes eld
11707 \end_inset
11708
11709 Mr.
11710 \begin_inset space ~
11711 \end_inset
11712
11713 Edge
11714 \begin_inset space ~
11715 \end_inset
11716
11717
11718 \begin_inset Quotes erd
11719 \end_inset
11720
11721  into the phantom inset (note the space after 
11722 \begin_inset Quotes eld
11723 \end_inset
11724
11725 Edge
11726 \begin_inset Quotes erd
11727 \end_inset
11728
11729 ).
11730  A phantom insets prints only the space of its content (like a placeholder).
11731  That is why it is named 
11732 \begin_inset Quotes eld
11733 \end_inset
11734
11735 phantom
11736 \begin_inset Quotes erd
11737 \end_inset
11738
11739 .
11740  The normal phantom outputs the width and height of the content as space,
11741  while the horizontal and vertical variant only outputs the corresponding
11742  dimension.
11743 \end_layout
11744
11745 \begin_layout Subsection
11746 Vertical Space
11747 \begin_inset CommandInset label
11748 LatexCommand label
11749 name "subsec:Vertical-Space"
11750
11751 \end_inset
11752
11753
11754 \begin_inset Index idx
11755 status collapsed
11756
11757 \begin_layout Plain Layout
11758 Spacing ! Vertical
11759 \end_layout
11760
11761 \end_inset
11762
11763
11764 \end_layout
11765
11766 \begin_layout Standard
11767 To add extra vertical space above or below a paragraph, use the 
11768 \family sans
11769 Insert\SpecialChar menuseparator
11770 Formatting\SpecialChar menuseparator
11771 Vertical
11772 \begin_inset space ~
11773 \end_inset
11774
11775 Space
11776 \family default
11777  dialog.
11778  There you find the following sizes:
11779 \end_layout
11780
11781 \begin_layout Standard
11782
11783 \family sans
11784 SmallSkip
11785 \family default
11786
11787 \family sans
11788 MedSkip
11789 \family default
11790  and 
11791 \family sans
11792 BigSkip
11793 \family default
11794  are \SpecialChar LaTeX
11795  sizes which depend on the font size of the document.
11796  
11797 \family sans
11798 DefSkip
11799 \family default
11800  is the skip adjusted in the dialog 
11801 \family sans
11802 Document\SpecialChar menuseparator
11803 Settings\SpecialChar menuseparator
11804 Text
11805 \begin_inset space ~
11806 \end_inset
11807
11808 Layout
11809 \family default
11810
11811 \begin_inset Index idx
11812 status collapsed
11813
11814 \begin_layout Plain Layout
11815 Document ! Settings
11816 \end_layout
11817
11818 \end_inset
11819
11820  for the paragraph separation.
11821  If you use indentation to separate paragraphs 
11822 \family sans
11823 DefSkip
11824 \family default
11825  is equal to 
11826 \family sans
11827 MedSkip
11828 \family default
11829 .
11830 \end_layout
11831
11832 \begin_layout Standard
11833
11834 \family sans
11835 VFill
11836 \family default
11837
11838 \begin_inset Index idx
11839 status collapsed
11840
11841 \begin_layout Plain Layout
11842 Spacing ! Fills
11843 \end_layout
11844
11845 \end_inset
11846
11847  is a variable space, set so that the space is maximal within one page.
11848  An example: you have only two short paragraphs on one page with a 
11849 \family sans
11850 Vfill
11851 \family default
11852  between them.
11853  Then the first paragraph is placed at the top of the page and the second
11854  one at the bottom, because the space between them is then maximal.
11855  
11856 \family sans
11857 VFill
11858 \family default
11859 s work like 
11860 \family sans
11861 HFill
11862 \family default
11863 s: they fill the remaining vertical space on a page with blank space.
11864 \begin_inset Foot
11865 status collapsed
11866
11867 \begin_layout Plain Layout
11868
11869 \family sans
11870 HFill
11871 \family default
11872 s are described in section
11873 \begin_inset space ~
11874 \end_inset
11875
11876
11877 \begin_inset CommandInset ref
11878 LatexCommand ref
11879 reference "subsec:Horizontal-Space"
11880
11881 \end_inset
11882
11883 .
11884 \end_layout
11885
11886 \end_inset
11887
11888  If there are several 
11889 \family sans
11890 VFill
11891 \family default
11892 s on a page, they divide the remaining vertical space equally between themselves.
11893  You can therefore use 
11894 \family sans
11895 VFill
11896 \family default
11897 s to center text on a page, or even place text 2/3 down a page.
11898 \end_layout
11899
11900 \begin_layout Standard
11901
11902 \family sans
11903 Custom
11904 \family default
11905  are custom spaces in units explained in Appendix
11906 \begin_inset space ~
11907 \end_inset
11908
11909
11910 \begin_inset CommandInset ref
11911 LatexCommand ref
11912 reference "chap:Units-available-in"
11913
11914 \end_inset
11915
11916 .
11917 \end_layout
11918
11919 \begin_layout Standard
11920 \begin_inset Note Greyedout
11921 status open
11922
11923 \begin_layout Plain Layout
11924
11925 \series bold
11926 Note:
11927 \series default
11928  
11929 \series medium
11930 If the extra vertical space would be in the output at the top/bottom of
11931  a page, the space is only added if you have also checked the option 
11932 \family sans
11933 Protect
11934 \family default
11935 .
11936 \end_layout
11937
11938 \end_inset
11939
11940
11941 \end_layout
11942
11943 \begin_layout Subsection
11944 Paragraph Alignment
11945 \begin_inset Index idx
11946 status collapsed
11947
11948 \begin_layout Plain Layout
11949 Paragraph ! Alignment
11950 \end_layout
11951
11952 \end_inset
11953
11954
11955 \end_layout
11956
11957 \begin_layout Standard
11958 You can change the paragraph alignment with the 
11959 \family sans
11960 Edit\SpecialChar menuseparator
11961 Paragraph Settings
11962 \family default
11963  dialog (toolbar button 
11964 \begin_inset Info
11965 type  "icon"
11966 arg   "layout-paragraph"
11967 \end_inset
11968
11969 ).
11970  There are five possibilities: 
11971 \end_layout
11972
11973 \begin_layout Itemize
11974
11975 \family sans
11976 Justified
11977 \family default
11978  (shortcut 
11979 \begin_inset Info
11980 type  "shortcut"
11981 arg   "paragraph-params \\align block"
11982 \end_inset
11983
11984 )
11985 \end_layout
11986
11987 \begin_layout Itemize
11988
11989 \family sans
11990 Left
11991 \family default
11992  (
11993 \begin_inset Info
11994 type  "shortcut"
11995 arg   "paragraph-params \\align left"
11996 \end_inset
11997
11998 )
11999 \end_layout
12000
12001 \begin_layout Itemize
12002
12003 \family sans
12004 Right
12005 \family default
12006  (
12007 \begin_inset Info
12008 type  "shortcut"
12009 arg   "paragraph-params \\align right"
12010 \end_inset
12011
12012 )
12013 \end_layout
12014
12015 \begin_layout Itemize
12016
12017 \family sans
12018 Center
12019 \family default
12020  (
12021 \begin_inset Info
12022 type  "shortcut"
12023 arg   "paragraph-params \\align center"
12024 \end_inset
12025
12026 )
12027 \end_layout
12028
12029 \begin_layout Itemize
12030
12031 \family sans
12032 Default
12033 \family default
12034  (
12035 \begin_inset Info
12036 type  "shortcut"
12037 arg   "paragraph-params \\align default"
12038 \end_inset
12039
12040 )
12041 \end_layout
12042
12043 \begin_layout Standard
12044 The default in most cases is justified alignment, in which the inter-word
12045  spacing is variable and each line of a paragraph fills the region between
12046  the left and right margins.
12047  The other three alignments should be self-explanatory, and look like this:
12048 \end_layout
12049
12050 \begin_layout Standard
12051 \align right
12052 This paragraph is right aligned,
12053 \end_layout
12054
12055 \begin_layout Standard
12056 \align center
12057 this one is centered,
12058 \end_layout
12059
12060 \begin_layout Standard
12061 \align left
12062 this one is left aligned.
12063 \end_layout
12064
12065 \begin_layout Subsection
12066 Forced Page Breaks
12067 \begin_inset Index idx
12068 status collapsed
12069
12070 \begin_layout Plain Layout
12071 Page breaks ! Forced
12072 \end_layout
12073
12074 \end_inset
12075
12076
12077 \begin_inset CommandInset label
12078 LatexCommand label
12079 name "subsec:Forced-Page-Breaks"
12080
12081 \end_inset
12082
12083
12084 \end_layout
12085
12086 \begin_layout Standard
12087 If you don't like the way \SpecialChar LaTeX
12088  does the page breaks in your document, you can
12089  force a page break where you want one.
12090  Normally this will not be necessary, because \SpecialChar LaTeX
12091  is good at page breaking.
12092  Only if you use a lot of 
12093 \family sans
12094 Floats
12095 \family default
12096 , \SpecialChar LaTeX
12097 's page breaking algorithm can fail.
12098 \end_layout
12099
12100 \begin_layout Standard
12101 We recommend you not to use forced page breaks until the text is finished
12102  and you have checked in the preview to see if you 
12103 \emph on
12104 really
12105 \emph default
12106  have to change the page breaking.
12107 \end_layout
12108
12109 \begin_layout Standard
12110 There are two types of page breaks: One that ends the page without any special
12111  action.
12112  This can be inserted above or below a paragraph via the menu 
12113 \family sans
12114 Insert\SpecialChar menuseparator
12115 Formatting\SpecialChar menuseparator
12116 New
12117 \begin_inset space ~
12118 \end_inset
12119
12120 Page
12121 \family default
12122 .
12123  The second type, that is inserted via the menu 
12124 \family sans
12125 Insert\SpecialChar menuseparator
12126 Formatting\SpecialChar menuseparator
12127 Page
12128 \begin_inset space ~
12129 \end_inset
12130
12131 Break
12132 \family default
12133 , ends a page but stretches the content of the page, so that it fills out
12134  the complete page.
12135  This type is useful to avoid whitespace when a page break produces a page
12136  on which only the last few lines are absent.
12137 \end_layout
12138
12139 \begin_layout Standard
12140 You might try to use a page break to ensure that a figure or table appears
12141  at the top of a page.
12142  This is, of course, the wrong way to do it.
12143  \SpecialChar LyX
12144  gives you a way of automatically ensuring that your figures and tables
12145  appear at the top of a page (or the bottom, or on their own page) without
12146  having to worry about what precedes or follows your figure or table.
12147  See chapter 
12148 \begin_inset CommandInset ref
12149 LatexCommand ref
12150 reference "chap:Floats-and-Notes"
12151
12152 \end_inset
12153
12154  to learn more about 
12155 \family sans
12156 Floats
12157 \family default
12158 .
12159 \end_layout
12160
12161 \begin_layout Subsubsection
12162 Clear Page Breaks
12163 \begin_inset CommandInset label
12164 LatexCommand label
12165 name "subsec:Clear-Page-Breaks"
12166
12167 \end_inset
12168
12169
12170 \begin_inset Index idx
12171 status collapsed
12172
12173 \begin_layout Plain Layout
12174 Page breaks ! Clear
12175 \end_layout
12176
12177 \end_inset
12178
12179
12180 \end_layout
12181
12182 \begin_layout Standard
12183 Rather than forced page breaks where the content behind the break is placed
12184  directly on the next page, you can also clear pages while breaking them.
12185  That means that the current paragraph is terminated and everything, including
12186  unprocessed floats, from the earlier part of the document are placed after
12187  it, if necessary by adding pages.
12188 \end_layout
12189
12190 \begin_layout Standard
12191 You can insert a clear page break with the menu 
12192 \family sans
12193 Insert\SpecialChar menuseparator
12194 Formatting\SpecialChar menuseparator
12195 Clear
12196 \begin_inset space ~
12197 \end_inset
12198
12199 Page
12200 \family default
12201 .
12202  When you have a two-sided document like a book, you can use the menu 
12203 \family sans
12204 Insert\SpecialChar menuseparator
12205 Formatting\SpecialChar menuseparator
12206 Clear
12207 \begin_inset space ~
12208 \end_inset
12209
12210 Double
12211 \begin_inset space ~
12212 \end_inset
12213
12214 Page
12215 \family default
12216  to insert a clear page break that assures that the next page is a right-hand
12217  page (odd-numbered), if necessary by adding a page.
12218 \end_layout
12219
12220 \begin_layout Subsection
12221 Forced Line Breaks
12222 \begin_inset Index idx
12223 status collapsed
12224
12225 \begin_layout Plain Layout
12226 Line breaks
12227 \end_layout
12228
12229 \end_inset
12230
12231
12232 \begin_inset CommandInset label
12233 LatexCommand label
12234 name "subsec:Forced-Line-Breaks"
12235
12236 \end_inset
12237
12238
12239 \end_layout
12240
12241 \begin_layout Standard
12242 Similar to page breaks there are two types of line breaks: one simply breaks
12243  the line.
12244  You can force this line break within a paragraph by selecting 
12245 \family sans
12246 Insert\SpecialChar menuseparator
12247 Formatting\SpecialChar menuseparator
12248 Ragged
12249 \begin_inset space ~
12250 \end_inset
12251
12252 Line
12253 \begin_inset space ~
12254 \end_inset
12255
12256 Break
12257 \family default
12258  or with 
12259 \begin_inset Info
12260 type  "shortcut"
12261 arg   "newline-insert newline"
12262 \end_inset
12263
12264 .
12265  Another type that is inserted via the menu 
12266 \family sans
12267 Insert\SpecialChar menuseparator
12268 Formatting\SpecialChar menuseparator
12269 Justified
12270 \begin_inset space ~
12271 \end_inset
12272
12273 Line
12274 \begin_inset space ~
12275 \end_inset
12276
12277 Break
12278 \family default
12279  or with 
12280 \begin_inset Info
12281 type  "shortcut"
12282 arg   "newline-insert linebreak"
12283 \end_inset
12284
12285  breaks the line and stretches it so that it fills out the whole space between
12286  the page margins.
12287  This is useful to avoid 
12288 \begin_inset Quotes eld
12289 \end_inset
12290
12291 fringes
12292 \begin_inset Quotes erd
12293 \end_inset
12294
12295  in justified paragraphs due to possible whitespace introduced by line breaks.
12296 \end_layout
12297
12298 \begin_layout Standard
12299 You shouldn't use forced line breaks to correct \SpecialChar LaTeX
12300 's line breaking, as \SpecialChar LaTeX
12301  is
12302  very good at line breaking.
12303  There are, however, a number of situations where it is necessary to set
12304  a line break actively, for example, in a poem or for an address (see sections
12305 \begin_inset space ~
12306 \end_inset
12307
12308
12309 \begin_inset CommandInset ref
12310 LatexCommand ref
12311 reference "sec:Quote"
12312
12313 \end_inset
12314
12315
12316 \begin_inset CommandInset ref
12317 LatexCommand ref
12318 reference "sec:Verse"
12319
12320 \end_inset
12321
12322  and 
12323 \begin_inset CommandInset ref
12324 LatexCommand ref
12325 reference "sec:Address-Usage"
12326
12327 \end_inset
12328
12329 ).
12330 \end_layout
12331
12332 \begin_layout Subsection
12333 Horizontal Lines
12334 \begin_inset CommandInset label
12335 LatexCommand label
12336 name "subsec:Horizontal-Lines"
12337
12338 \end_inset
12339
12340
12341 \begin_inset Index idx
12342 status collapsed
12343
12344 \begin_layout Plain Layout
12345 Horizontal lines
12346 \end_layout
12347
12348 \end_inset
12349
12350
12351 \end_layout
12352
12353 \begin_layout Standard
12354 \noindent
12355 \begin_inset CommandInset line
12356 LatexCommand rule
12357 offset "0.5ex"
12358 width "100line%"
12359 height "1pt"
12360
12361 \end_inset
12362
12363
12364 \end_layout
12365
12366 \begin_layout Standard
12367 \noindent
12368 In the dialog 
12369 \family sans
12370 Insert\SpecialChar menuseparator
12371 Formatting\SpecialChar menuseparator
12372 Horizontal
12373 \begin_inset space ~
12374 \end_inset
12375
12376 Line
12377 \family default
12378  you can insert horizontal lines.
12379  The line offset is the vertical distance between the line and the baseline
12380  of the current text line or the paragraph.
12381  The line settings can be changed by left-clicking on the line.
12382 \end_layout
12383
12384 \begin_layout Standard
12385 \noindent
12386 \begin_inset CommandInset line
12387 LatexCommand rule
12388 offset "0.5ex"
12389 width "100line%"
12390 height "1pt"
12391
12392 \end_inset
12393
12394
12395 \end_layout
12396
12397 \begin_layout Section
12398 Characters and Symbols
12399 \end_layout
12400
12401 \begin_layout Standard
12402 You can directly enter all characters that are available on your keyboard.
12403  You can also use special keyboard maps to be able to enter, for example,
12404  characters needed for French with an English keyboard.
12405  See section
12406 \begin_inset space \thinspace{}
12407 \end_inset
12408
12409
12410 \begin_inset CommandInset ref
12411 LatexCommand ref
12412 reference "subsec:Keyboard-mapping"
12413
12414 \end_inset
12415
12416  for information on how this is done.
12417 \end_layout
12418
12419 \begin_layout Standard
12420 For the case where you need a character that is not on your keyboard, you
12421  can use the 
12422 \family sans
12423 Symbols
12424 \family default
12425  dialog via the menu 
12426 \family sans
12427 Insert\SpecialChar menuseparator
12428 Special Character\SpecialChar menuseparator
12429 Symbols
12430 \family default
12431 .
12432 \end_layout
12433
12434 \begin_layout Standard
12435 \begin_inset Note Greyedout
12436 status open
12437
12438 \begin_layout Plain Layout
12439
12440 \series bold
12441 Note:
12442 \series default
12443  Maybe not all symbols inserted with the symbols dialog can be displayed
12444  when you are using a special screen font in \SpecialChar LyX
12445 's preferences.
12446  But the inserted symbols will in every case be displayed in the output.
12447 \end_layout
12448
12449 \end_inset
12450
12451
12452 \end_layout
12453
12454 \begin_layout Section
12455 Fonts and Text Styles
12456 \begin_inset CommandInset label
12457 LatexCommand label
12458 name "sec:Fonts-and-Text"
12459
12460 \end_inset
12461
12462
12463 \end_layout
12464
12465 \begin_layout Subsection
12466 Font Types
12467 \begin_inset Index idx
12468 status collapsed
12469
12470 \begin_layout Plain Layout
12471 Font ! Types
12472 \end_layout
12473
12474 \end_inset
12475
12476
12477 \end_layout
12478
12479 \begin_layout Standard
12480 There are two types of fonts:
12481 \end_layout
12482
12483 \begin_layout Description
12484 Vector
12485 \begin_inset space ~
12486 \end_inset
12487
12488 fonts
12489 \begin_inset Index idx
12490 status collapsed
12491
12492 \begin_layout Plain Layout
12493 Fonts ! Vector-
12494 \end_layout
12495
12496 \end_inset
12497
12498  are built from outlines of the single glyphs (e.
12499 \begin_inset space \thinspace{}
12500 \end_inset
12501
12502 g.
12503  characters) in the font.
12504  This means that each glyph is defined using mathematical curves that are
12505  well suited for scaling to any requested size.
12506  This mathematical definition is interpreted by the font renderer and the
12507  curve is filled out with pixels according to the size and glyph.
12508  This means that vector fonts will look pretty good in all sizes.
12509  Only at very small sizes where each pixel has to be very carefully computed
12510  to provide a good image might it be hard to provide a good rendering.
12511 \begin_inset Newline newline
12512 \end_inset
12513
12514 That could mean that one only needs to define one font size and scale them.
12515  But to achieve a better quality, many fonts define several font sizes.
12516  That improves the appearance because you need more details at large font
12517  sizes than at small ones.
12518 \begin_inset Newline newline
12519 \end_inset
12520
12521 The font types 
12522 \family typewriter
12523 TrueType
12524 \family default
12525
12526 \family typewriter
12527 OpenType
12528 \family default
12529 , and 
12530 \family typewriter
12531 Type
12532 \begin_inset space ~
12533 \end_inset
12534
12535 1
12536 \family default
12537  are vector fonts.
12538 \end_layout
12539
12540 \begin_layout Description
12541 Bitmap
12542 \begin_inset space ~
12543 \end_inset
12544
12545 fonts
12546 \begin_inset Index idx
12547 status collapsed
12548
12549 \begin_layout Plain Layout
12550 Fonts ! Bitmap-
12551 \end_layout
12552
12553 \end_inset
12554
12555  on the other hand, are defined by bitmap graphics from the start; so they
12556  will look good at all the sizes they are meant for.
12557  However, they don't scale well, because in order to scale a glyph, each
12558  pixel is enlarged into several pixels.
12559  It is the same effect that happens if you try to enlarge a picture in an
12560  image manipulation program.
12561  In order to mitigate this effect, bitmap fonts are typically provided in
12562  several fixed sizes typically from around 8
12563 \begin_inset space ~
12564 \end_inset
12565
12566 pixels high up to 34
12567 \begin_inset space ~
12568 \end_inset
12569
12570 pixels or so high in steps according to what is believed to be useful.
12571  The advantage of bitmap fonts is that no complicated computations are necessary
12572  to display each glyph; so bitmap fonts display therefore more quickly than
12573  scalable fonts.
12574  The disadvantage is that sizes that don't exist as fixed versions have
12575  to be scaled by doubling pixels, and thus look bad.
12576 \begin_inset Newline newline
12577 \end_inset
12578
12579 Bitmap fonts are named 
12580 \family typewriter
12581 Type
12582 \begin_inset space ~
12583 \end_inset
12584
12585 3
12586 \family default
12587  in PostScript- and PDF-documents.
12588 \end_layout
12589
12590 \begin_layout Standard
12591 The result of all this is that bitmap fonts are best for the size they are
12592  designed for, while scalable fonts are good for nearly all sizes.
12593  So one needs fewer font size definitions for scalable fonts.
12594  That's the reason why nearly all text rendering and typesetting programs
12595  use scalable fonts.
12596 \end_layout
12597
12598 \begin_layout Standard
12599 To see which fonts are used in a PDF-document, look at its document properties.
12600 \end_layout
12601
12602 \begin_layout Standard
12603 Many modern typesetting and markup languages have begun to move towards
12604  specifying character styles rather than specifying a particular font.
12605  For example, instead of changing to an italicized version of the current
12606  font to emphasize text, you use an 
12607 \begin_inset Quotes eld
12608 \end_inset
12609
12610 emphasized style
12611 \begin_inset Quotes erd
12612 \end_inset
12613
12614  instead.
12615  This concept fits in perfectly with \SpecialChar LyX
12616 .
12617  In \SpecialChar LyX
12618 , you do things based on contexts, rather than focusing on typesetting
12619  details.
12620 \end_layout
12621
12622 \begin_layout Subsection
12623 \SpecialChar LaTeX
12624  font support
12625 \begin_inset CommandInset label
12626 LatexCommand label
12627 name "subsec:LaTeX-font-support"
12628
12629 \end_inset
12630
12631
12632 \end_layout
12633
12634 \begin_layout Standard
12635 Traditionally, \SpecialChar LaTeX
12636  used its own fonts.
12637  That is to say, you cannot directly access the fonts installed on your
12638  operating system, but you have to use specific fonts provided by your \SpecialChar LaTeX
12639
12640  distribution.
12641  The reason is that \SpecialChar LaTeX
12642  needs some extra information about the fonts, which
12643  have to be provided by additional files and packages.
12644  The downside of this is that your font choice is somewhat limited compared
12645  to a word processor.
12646  On the other hand this comes with the advantage that the provided fonts
12647  are generally of very good quality, and that \SpecialChar LaTeX
12648  files are very portable across
12649  different machines.
12650  Also, the range of fonts supported by traditional \SpecialChar LaTeX
12651  has increased a lot
12652  in the meantime; so you can find packages for many free and commercial
12653  fonts.
12654  \SpecialChar LyX
12655  supports the fonts that are under a free license via the user interface
12656  (see section
12657 \begin_inset space ~
12658 \end_inset
12659
12660
12661 \begin_inset CommandInset ref
12662 LatexCommand ref
12663 reference "subsec:Document-Font"
12664
12665 \end_inset
12666
12667  for details).
12668  Other fonts are available if you enter the relevant \SpecialChar LaTeX
12669  code in the document
12670  preamble (please refer to the documentation of your desired font).
12671 \end_layout
12672
12673 \begin_layout Standard
12674 Recent developments brought some new \SpecialChar LaTeX
12675  engines that are also able directly
12676  to access fonts that are installed for your operating system, namely Xe\SpecialChar TeX
12677
12678  and Lua\SpecialChar TeX
12679 .
12680  Both engines are supported by \SpecialChar LyX
12681 .
12682  By using them, you can theoretically use any OpenType or TrueType font
12683  that is installed on your system.
12684  The next section describes how to use these fonts.
12685 \end_layout
12686
12687 \begin_layout Standard
12688 \begin_inset Note Greyedout
12689 status open
12690
12691 \begin_layout Plain Layout
12692
12693 \series bold
12694 Note:
12695 \series default
12696  In practice, some fonts might fail due to a legacy (non Unicode) font encoding,
12697  bad metrics, or other font deficiencies; so you might have to experiment.
12698 \end_layout
12699
12700 \end_inset
12701
12702
12703 \end_layout
12704
12705 \begin_layout Subsection
12706 Document Font and Font size
12707 \begin_inset CommandInset label
12708 LatexCommand label
12709 name "subsec:Document-Font"
12710
12711 \end_inset
12712
12713
12714 \begin_inset Index idx
12715 status collapsed
12716
12717 \begin_layout Plain Layout
12718 Font ! Size
12719 \end_layout
12720
12721 \end_inset
12722
12723
12724 \begin_inset Index idx
12725 status collapsed
12726
12727 \begin_layout Plain Layout
12728 Document ! Font
12729 \end_layout
12730
12731 \end_inset
12732
12733
12734 \end_layout
12735
12736 \begin_layout Standard
12737 You can set the document fonts in the 
12738 \family sans
12739 Document\SpecialChar menuseparator
12740 Settings
12741 \family default
12742
12743 \begin_inset Index idx
12744 status collapsed
12745
12746 \begin_layout Plain Layout
12747 Document ! Settings
12748 \end_layout
12749
12750 \end_inset
12751
12752  dialog.
12753  In the 
12754 \family sans
12755 Fonts
12756 \family default
12757  section of the dialog, you can specify which font should be used for the
12758  three different font shapes — roman (serif), 
12759 \family sans
12760 sans
12761 \begin_inset space ~
12762 \end_inset
12763
12764 serif
12765 \family default
12766  and 
12767 \family typewriter
12768 typewriter
12769 \family default
12770  (monospaced) — and you can specify the base font size and scaling factors
12771  for (some) sans
12772 \begin_inset space ~
12773 \end_inset
12774
12775 serif and typewriter fonts if this is necessary to fit with the roman font.
12776 \end_layout
12777
12778 \begin_layout Standard
12779 If you select 
12780 \family sans
12781 Use non-TeX fonts
12782 \family default
12783 , you will have access to the fonts installed on your operating system.
12784  This requires that you use 
12785 \family sans
12786 PDF (XeTeX)
12787 \family default
12788
12789 \family sans
12790 PDF (LuaTeX)
12791 \family default
12792  or 
12793 \family sans
12794 DVI (LuaTeX)
12795 \family default
12796  as the output format, i.
12797 \begin_inset space \thinspace{}
12798 \end_inset
12799
12800 e.
12801 \begin_inset space \space{}
12802 \end_inset
12803
12804 you will have to have either Xe\SpecialChar TeX
12805  or Lua\SpecialChar TeX
12806  installed (see section
12807 \begin_inset space ~
12808 \end_inset
12809
12810
12811 \begin_inset CommandInset ref
12812 LatexCommand ref
12813 reference "subsec:LaTeX-font-support"
12814
12815 \end_inset
12816
12817 ).
12818  You will then not have access to \SpecialChar TeX
12819 's own fonts.
12820  Note that \SpecialChar LyX
12821  then lists all available fonts in each of the three lists (roman,
12822  sans
12823 \begin_inset space ~
12824 \end_inset
12825
12826 serif, and typewriter), since \SpecialChar LyX
12827  cannot determine the family.
12828  Also note that the output might fail with some of the listed fonts, due
12829  to the encoding of the fonts and\SpecialChar breakableslash
12830 or font failures.
12831  \SpecialChar LyX
12832  cannot determine this in advance, so you might need to experiment.
12833 \end_layout
12834
12835 \begin_layout Standard
12836 If you use \SpecialChar TeX
12837  fonts (which is the default), the possible options for the font
12838  include 
12839 \family sans
12840 Default
12841 \family default
12842  and a list of fonts available with your \SpecialChar LaTeX
12843  distribution.
12844  If you select 
12845 \family sans
12846 Default,
12847 \family default
12848  the font that is preset by the current document class is used.
12849  With LyX's default font encoding, this is a look-alike of the standard
12850  \SpecialChar TeX
12851  font 
12852 \begin_inset Quotes eld
12853 \end_inset
12854
12855
12856 \family typewriter
12857 Computer
12858 \begin_inset space ~
12859 \end_inset
12860
12861 Modern
12862 \family default
12863
12864 \begin_inset Quotes erd
12865 \end_inset
12866
12867  (
12868 \family typewriter
12869 cm
12870 \family default
12871 ): either 
12872 \begin_inset Quotes eld
12873 \end_inset
12874
12875
12876 \family typewriter
12877 cm-super
12878 \family default
12879
12880 \begin_inset Quotes erd
12881 \end_inset
12882
12883  or the bitmap font 
12884 \begin_inset Quotes eld
12885 \end_inset
12886
12887
12888 \family typewriter
12889 European Computer Modern
12890 \family default
12891
12892 \begin_inset Quotes erd
12893 \end_inset
12894
12895  (
12896 \family typewriter
12897 ec
12898 \family default
12899 ).
12900  However, some classes set different default fonts.
12901 \end_layout
12902
12903 \begin_layout Standard
12904 As 
12905 \family typewriter
12906 ec
12907 \family default
12908  is a bitmap font, it looks pixelated in PDF output, especially when you
12909  read the PDF in a zoomed size.
12910 \begin_inset Foot
12911 status collapsed
12912
12913 \begin_layout Plain Layout
12914 This problem is less severe if you read PDFs in 
12915 \family typewriter
12916 Adobe
12917 \begin_inset space ~
12918 \end_inset
12919
12920 Reader
12921 \family default
12922  version 6 or later, because this program includes a special bitmap font
12923  renderer.
12924 \end_layout
12925
12926 \end_inset
12927
12928  To get rid of pixelated fonts, you have to use a vector font.
12929  Depending on how your document should look, you can either:
12930 \end_layout
12931
12932 \begin_layout Itemize
12933 select the 
12934 \family sans
12935 Latin
12936 \begin_inset space ~
12937 \end_inset
12938
12939 Modern
12940 \family default
12941  fonts, which is the recommended choice if you want to keep the look of
12942  
12943 \family typewriter
12944 cm
12945 \family default
12946 /
12947 \family typewriter
12948 ec
12949 \family default
12950 .
12951  
12952 \family sans
12953 Latin
12954 \begin_inset space ~
12955 \end_inset
12956
12957 Modern
12958 \family default
12959  was developed for the \SpecialChar LaTeX
12960  community in order to replace 
12961 \family typewriter
12962 cm
12963 \family default
12964  as the default font.
12965  It covers a huge range of glyphs and several font shapes.
12966  Except for some details, where the appearance was improved, 
12967 \family sans
12968 Latin
12969 \begin_inset space ~
12970 \end_inset
12971
12972 Modern
12973 \family default
12974  looks identical to 
12975 \family typewriter
12976 cm
12977 \family default
12978 .
12979 \begin_inset Foot
12980 status collapsed
12981
12982 \begin_layout Plain Layout
12983 One difference is improved kerning.
12984 \end_layout
12985
12986 \end_inset
12987
12988
12989 \end_layout
12990
12991 \begin_layout Itemize
12992 If you do not like the look of 
12993 \family typewriter
12994 cm
12995 \family default
12996 /
12997 \family typewriter
12998 ec
12999 \family default
13000 , you can of course select one of the other vector fonts provided, e.
13001 \begin_inset space \thinspace{}
13002 \end_inset
13003
13004 g.
13005 \begin_inset space ~
13006 \end_inset
13007
13008
13009 \family typewriter
13010 Times
13011 \begin_inset space ~
13012 \end_inset
13013
13014 Roman
13015 \family default
13016  or
13017 \family typewriter
13018  Palatino
13019 \family default
13020 .
13021  Most roman vector fonts will automatically select matching sans
13022 \begin_inset space ~
13023 \end_inset
13024
13025 serif and typewriter fonts,
13026 \begin_inset Foot
13027 status collapsed
13028
13029 \begin_layout Plain Layout
13030 These are sometimes just matching other fonts (e.
13031 \begin_inset space \thinspace{}
13032 \end_inset
13033
13034 g., 
13035 \family sans
13036 Times
13037 \begin_inset space ~
13038 \end_inset
13039
13040 Roman
13041 \family default
13042  selects 
13043 \family sans
13044 Helvetica
13045 \family default
13046  for sans serif text), or different shapes of the same font, i.
13047 \begin_inset space \thinspace{}
13048 \end_inset
13049
13050 e.
13051 \begin_inset space \space{}
13052 \end_inset
13053
13054 a real font 
13055 \emph on
13056 family
13057 \emph default
13058  (e.
13059 \begin_inset space \thinspace{}
13060 \end_inset
13061
13062 g.
13063 \begin_inset space \space{}
13064 \end_inset
13065
13066 in case of 
13067 \family sans
13068 Latin
13069 \begin_inset space ~
13070 \end_inset
13071
13072 Modern
13073 \family default
13074  oder 
13075 \family sans
13076 Computer
13077 \begin_inset space ~
13078 \end_inset
13079
13080 Modern
13081 \family default
13082 ).
13083 \end_layout
13084
13085 \end_inset
13086
13087  but you can also select your own.
13088 \begin_inset Newline newline
13089 \end_inset
13090
13091 The differences between roman, 
13092 \family sans
13093 sans
13094 \begin_inset space ~
13095 \end_inset
13096
13097 serif
13098 \family default
13099  and 
13100 \family typewriter
13101 typewriter
13102 \family default
13103  fonts are explained in section
13104 \begin_inset space ~
13105 \end_inset
13106
13107
13108 \begin_inset CommandInset ref
13109 LatexCommand ref
13110 reference "subsec:Fine-Tuning-with-the"
13111
13112 \end_inset
13113
13114 .
13115 \begin_inset Newline newline
13116 \end_inset
13117
13118 The font 
13119 \family sans
13120 Times
13121 \begin_inset space ~
13122 \end_inset
13123
13124 Roman
13125 \family default
13126  was originally designed for newspapers.
13127  Its glyphs are thus smaller than glyphs from other fonts in order to fit
13128  into the small newspaper columns.
13129  Therefore 
13130 \family sans
13131 Times
13132 \begin_inset space ~
13133 \end_inset
13134
13135 Roman
13136 \family default
13137  is not the optimal choice for larger documents like books.
13138 \end_layout
13139
13140 \begin_layout Standard
13141 For the font size there are generally four possible values: 
13142 \family sans
13143 Default, 10
13144 \family default
13145
13146 \family sans
13147 11
13148 \family default
13149  and 
13150 \family sans
13151 12
13152 \family default
13153 .
13154  Some classes provide additional sizes.
13155  The size of 
13156 \family sans
13157 Default
13158 \family default
13159  depends on the class you are using.
13160  In the standard classes it is equal to the font size 10.
13161 \end_layout
13162
13163 \begin_layout Standard
13164 Note that the font size is the 
13165 \emph on
13166 base size
13167 \emph default
13168 .
13169  That means that \SpecialChar LyX
13170  scales all other possible font sizes (such as those used
13171  in footnotes, super-, and subscripts) by this value.
13172  You can fine-tune the font size of text parts via the 
13173 \family sans
13174 Text
13175 \begin_inset space ~
13176 \end_inset
13177
13178 Style
13179 \family default
13180  dialog if needed.
13181  The possible font sizes for text parts are explained in section
13182 \begin_inset space ~
13183 \end_inset
13184
13185
13186 \begin_inset CommandInset ref
13187 LatexCommand ref
13188 reference "subsec:Fine-Tuning-with-the"
13189
13190 \end_inset
13191
13192 .
13193 \end_layout
13194
13195 \begin_layout Standard
13196 The 
13197 \family sans
13198 Default
13199 \begin_inset space ~
13200 \end_inset
13201
13202 Family
13203 \family default
13204  selection lets you specify whether the base font of your document should
13205  be roman, sans
13206 \begin_inset space ~
13207 \end_inset
13208
13209 serif or typewriter.
13210  The 
13211 \family sans
13212 Default
13213 \family default
13214  selection uses what is preset by the class, the other selections override
13215  this.
13216  In most cases, 
13217 \family sans
13218 Default
13219 \family default
13220  is equal to 
13221 \family sans
13222 roman
13223 \family default
13224 , but some classes (such as presentation classes) use other defaults.
13225 \end_layout
13226
13227 \begin_layout Standard
13228 The
13229 \family typewriter
13230  
13231 \family sans
13232 LaTeX font encoding
13233 \family default
13234  selection is an expert setting which lets you change the value passed to
13235  the \SpecialChar LaTeX
13236 -package 
13237 \series bold
13238 fontenc
13239 \series default
13240
13241 \begin_inset Index idx
13242 status collapsed
13243
13244 \begin_layout Plain Layout
13245 \SpecialChar LaTeX
13246  packages ! fontenc
13247 \end_layout
13248
13249 \end_inset
13250
13251  (see also section
13252 \begin_inset space ~
13253 \end_inset
13254
13255
13256 \begin_inset CommandInset ref
13257 LatexCommand ref
13258 reference "subsec:LaTeX-settings"
13259
13260 \end_inset
13261
13262 ).
13263  Normally, you do not need to change (or even understand) this.
13264  Unless you have specific reasons, use 
13265 \family sans
13266 Default
13267 \family default
13268 .
13269 \end_layout
13270
13271 \begin_layout Standard
13272 With some fonts, the checkboxes 
13273 \family sans
13274 Use Old Style Figures
13275 \family default
13276  and 
13277 \family sans
13278 Use True Small Caps
13279 \family default
13280  are available.
13281  These are extra features some fonts provide.
13282  If 
13283 \family sans
13284 Use Old Style Figures
13285 \family default
13286  is checked, old style figures (also known as medieval or text figures)
13287  are used.
13288  Old style figures are the numerals (0
13289 \begin_inset space \thinspace{}
13290 \end_inset
13291
13292
13293 \begin_inset space \thinspace{}
13294 \end_inset
13295
13296 9) with ascenders and descenders, which makes them fit nicely with lowercase
13297  letters.
13298  
13299 \family sans
13300 Use True Small Caps
13301 \family default
13302  determines that real small caps are used instead of faked small caps made
13303  of scaled capitals.
13304  Real small caps are often part of expert font sets; they generally look
13305  better than faked small caps but might have to be purchased separately.
13306 \end_layout
13307
13308 \begin_layout Standard
13309 The field 
13310 \family sans
13311 CJK
13312 \family default
13313  allows users of the languages Chinese, Japanese, Korean (CJK) to specify
13314  a font to display the script characters.
13315 \begin_inset Foot
13316 status collapsed
13317
13318 \begin_layout Plain Layout
13319 The font will be the argument for the commands of the \SpecialChar LaTeX
13320 -package 
13321 \series bold
13322 CJK
13323 \series default
13324 .
13325 \begin_inset Index idx
13326 status collapsed
13327
13328 \begin_layout Plain Layout
13329 \SpecialChar LaTeX
13330  packages ! CJK
13331 \end_layout
13332
13333 \end_inset
13334
13335  So this has no effect for the document language 
13336 \family sans
13337 Japanese
13338 \family default
13339  that does not use 
13340 \series bold
13341 CJK
13342 \series default
13343 .
13344 \end_layout
13345
13346 \end_inset
13347
13348
13349 \end_layout
13350
13351 \begin_layout Standard
13352 The option 
13353 \family sans
13354 Enable micro-typographic extensions
13355 \family default
13356  activates extensions such as character protrusion and font expansion via
13357  the \SpecialChar LaTeX
13358 -package 
13359 \series bold
13360 microtype
13361 \series default
13362
13363 \begin_inset Index idx
13364 status collapsed
13365
13366 \begin_layout Plain Layout
13367 \SpecialChar LaTeX
13368  packages ! microtype
13369 \end_layout
13370
13371 \end_inset
13372
13373 .
13374  
13375 \end_layout
13376
13377 \begin_layout Standard
13378 The option 
13379 \family sans
13380 Disallow line breaks after dashes
13381 \family default
13382  outputs en- and em-dashes as literal characters
13383 \begin_inset Foot
13384 status collapsed
13385
13386 \begin_layout Plain Layout
13387 Or \SpecialChar LaTeX
13388  macro, if the literal character is not supported by the \SpecialChar LaTeX
13389  input encoding.
13390 \end_layout
13391
13392 \end_inset
13393
13394  instead of ligatures (--, ---) (see section
13395 \begin_inset space ~
13396 \end_inset
13397
13398
13399 \begin_inset CommandInset ref
13400 LatexCommand ref
13401 reference "subsec:Dashes-and-line-breaks"
13402 plural "false"
13403 caps "false"
13404 noprefix "false"
13405
13406 \end_inset
13407
13408 ).
13409 \end_layout
13410
13411 \begin_layout Standard
13412 \begin_inset VSpace bigskip
13413 \end_inset
13414
13415
13416 \begin_inset Note Greyedout
13417 status open
13418
13419 \begin_layout Plain Layout
13420
13421 \series bold
13422 Note:
13423 \series default
13424  When you choose a new font or font size, \SpecialChar LyX
13425  does 
13426 \emph on
13427 not
13428 \emph default
13429  change the screen font! You will only see a difference in the printed output;
13430  this is part of the WYSIWYM concept.
13431  \SpecialChar LyX
13432 's screen fonts can be adjusted in the 
13433 \family sans
13434 Tools\SpecialChar menuseparator
13435 Preferences
13436 \family default
13437  dialog, see section
13438 \begin_inset space ~
13439 \end_inset
13440
13441
13442 \begin_inset CommandInset ref
13443 LatexCommand ref
13444 reference "subsec:Screen-Fonts"
13445
13446 \end_inset
13447
13448 .
13449 \end_layout
13450
13451 \end_inset
13452
13453
13454 \end_layout
13455
13456 \begin_layout Subsection
13457 Math Fonts
13458 \end_layout
13459
13460 \begin_layout Standard
13461 In \SpecialChar LaTeX
13462  the font used for characters in equations is different from the document
13463  font.
13464  For the case that you use \SpecialChar TeX
13465  fonts for your document, you can explicitly
13466  choose a math font in the dialog 
13467 \family sans
13468 Document\SpecialChar menuseparator
13469 Settings
13470 \family default
13471
13472 \begin_inset Index idx
13473 status collapsed
13474
13475 \begin_layout Plain Layout
13476 Document ! Settings
13477 \end_layout
13478
13479 \end_inset
13480
13481 .
13482  The default setting is that \SpecialChar LyX
13483  automatically selects a math font.
13484  For most cases this will be \SpecialChar LaTeX
13485 's default – the math variant of \SpecialChar LaTeX
13486 's default
13487  font family 
13488 \begin_inset Quotes eld
13489 \end_inset
13490
13491
13492 \family typewriter
13493 Computer
13494 \begin_inset space ~
13495 \end_inset
13496
13497 Modern
13498 \family default
13499
13500 \begin_inset Quotes erd
13501 \end_inset
13502
13503 .
13504  \SpecialChar LyX
13505  will automatically only load another math font if a math variant of the
13506  document font is available.
13507 \end_layout
13508
13509 \begin_layout Standard
13510 Note that the math font will not be used for 
13511 \emph on
13512 mathematical text
13513 \emph default
13514  (which is inserted with the shortcut 
13515 \begin_inset Info
13516 type  "shortcut"
13517 arg   "font-default"
13518 \end_inset
13519
13520  or by the insertion of the command 
13521 \series bold
13522
13523 \backslash
13524 text
13525 \series default
13526  into a formula).
13527  Also note that some math fonts are sans
13528 \begin_inset space ~
13529 \end_inset
13530
13531 serif.
13532  Your document might therefore look strange when the document text has serifs
13533  while the math characters do not.
13534  Sans
13535 \begin_inset space ~
13536 \end_inset
13537
13538 serif math fonts make therefore in most cases only sense if you select 
13539 \family sans
13540 Sans
13541 \begin_inset space ~
13542 \end_inset
13543
13544 Serif
13545 \family default
13546  for the 
13547 \family sans
13548 Default
13549 \begin_inset space ~
13550 \end_inset
13551
13552 family
13553 \family default
13554  in the document font settings.
13555 \end_layout
13556
13557 \begin_layout Standard
13558 If you use non-\SpecialChar TeX
13559  fonts for the document, you can only choose for math to
13560  use either the document's class default \SpecialChar TeX
13561  font (in most cases 
13562 \begin_inset Quotes eld
13563 \end_inset
13564
13565
13566 \family typewriter
13567 Computer
13568 \begin_inset space ~
13569 \end_inset
13570
13571 Modern
13572 \family default
13573
13574 \begin_inset Quotes erd
13575 \end_inset
13576
13577 ) or to use the non-\SpecialChar TeX
13578  variant of the document's class default font (in most
13579  cases 
13580 \begin_inset Quotes eld
13581 \end_inset
13582
13583
13584 \family typewriter
13585 Latin
13586 \begin_inset space ~
13587 \end_inset
13588
13589 Modern
13590 \family default
13591
13592 \begin_inset Quotes erd
13593 \end_inset
13594
13595 ).
13596 \end_layout
13597
13598 \begin_layout Subsection
13599 Using Different Character Styles
13600 \begin_inset Index idx
13601 status collapsed
13602
13603 \begin_layout Plain Layout
13604 Character Styles
13605 \end_layout
13606
13607 \end_inset
13608
13609
13610 \begin_inset Index idx
13611 status collapsed
13612
13613 \begin_layout Plain Layout
13614 Text Style
13615 \end_layout
13616
13617 \end_inset
13618
13619
13620 \end_layout
13621
13622 \begin_layout Standard
13623 As we've already seen, \SpecialChar LyX
13624  automatically changes the character style for certain
13625  paragraph environments.
13626  \SpecialChar LyX
13627  supports two character styles, 
13628 \family sans
13629 Emphasized
13630 \family default
13631  and 
13632 \family sans
13633 Noun
13634 \family default
13635 .
13636  You can activate both of these styles via key bindings, the menus, and
13637  the toolbar.
13638 \end_layout
13639
13640 \begin_layout Standard
13641 To activate the 
13642 \family sans
13643 Noun
13644 \family default
13645  style, do one of the following:
13646 \end_layout
13647
13648 \begin_layout Itemize
13649 click on the toolbar button 
13650 \begin_inset Info
13651 type  "icon"
13652 arg   "font-noun"
13653 \end_inset
13654
13655
13656 \end_layout
13657
13658 \begin_layout Itemize
13659 use the key binding 
13660 \begin_inset Info
13661 type  "shortcut"
13662 arg   "font-noun"
13663 \end_inset
13664
13665
13666 \end_layout
13667
13668 \begin_layout Standard
13669 These commands are all toggles.
13670  That is, if 
13671 \family sans
13672 Noun
13673 \family default
13674  style is already active, they deactivate it.
13675 \end_layout
13676
13677 \begin_layout Standard
13678 One typically uses the 
13679 \family sans
13680 Noun
13681 \family default
13682  style for proper names.
13683  For example: 
13684 \begin_inset Quotes eld
13685 \end_inset
13686
13687
13688 \noun on
13689 Matthias Ettrich
13690 \noun default
13691  is the original author of \SpecialChar LyX
13692 .
13693 \begin_inset Quotes erd
13694 \end_inset
13695
13696
13697 \end_layout
13698
13699 \begin_layout Standard
13700 A more widely used character style is the 
13701 \family sans
13702 Emphasized
13703 \family default
13704  style.
13705  You can activate (or deactivate — it's also a toggle) the 
13706 \family sans
13707 Emphasized
13708 \family default
13709  style by:
13710 \end_layout
13711
13712 \begin_layout Itemize
13713 clicking on the toolbar button 
13714 \begin_inset Info
13715 type  "icon"
13716 arg   "font-emph"
13717 \end_inset
13718
13719
13720 \end_layout
13721
13722 \begin_layout Itemize
13723 using the keybindings 
13724 \begin_inset Info
13725 type  "shortcut"
13726 arg   "font-emph"
13727 \end_inset
13728
13729
13730 \end_layout
13731
13732 \begin_layout Standard
13733 Normally the 
13734 \family sans
13735 Emphasized
13736 \family default
13737  style is equivalent to an italic font but some document classes or \SpecialChar LaTeX
13738 -packages
13739  use a different font.
13740 \end_layout
13741
13742 \begin_layout Standard
13743 We've been using the 
13744 \family sans
13745 Emphasized
13746 \family default
13747  style all over the place in this document.
13748  Here's one more example:
13749 \end_layout
13750
13751 \begin_layout Quotation
13752
13753 \emph on
13754 Do not overuse character styles!
13755 \end_layout
13756
13757 \begin_layout Standard
13758 It's also a warning in addition to an example.
13759  One's writing should parallel ordinary conversation.
13760  Since we don't all constantly scream at each other, we should also avoid
13761  the common tendency to overuse character styles.
13762  
13763 \end_layout
13764
13765 \begin_layout Standard
13766 You can always reset to the default font using the key binding 
13767 \begin_inset Info
13768 type  "shortcut"
13769 arg   "font-default"
13770 \end_inset
13771
13772  or the dialog 
13773 \family sans
13774 Edit\SpecialChar menuseparator
13775 Text
13776 \begin_inset space ~
13777 \end_inset
13778
13779 Style\SpecialChar menuseparator
13780 Customized
13781 \family default
13782  (
13783 \begin_inset Info
13784 type  "icon"
13785 arg   "dialog-show character"
13786 \end_inset
13787
13788 ).
13789 \end_layout
13790
13791 \begin_layout Subsection
13792 Fine-Tuning with the 
13793 \family sans
13794 Text Style
13795 \family default
13796  dialog
13797 \begin_inset CommandInset label
13798 LatexCommand label
13799 name "subsec:Fine-Tuning-with-the"
13800
13801 \end_inset
13802
13803
13804 \begin_inset Index idx
13805 status collapsed
13806
13807 \begin_layout Plain Layout
13808 Text Style
13809 \end_layout
13810
13811 \end_inset
13812
13813
13814 \end_layout
13815
13816 \begin_layout Standard
13817 There are always occasions when you will need to do some fine-tuning; so
13818  \SpecialChar LyX
13819  gives you a way to create a custom character style.
13820  For example, an academic journal or a corporation may have a style sheet
13821  requiring a sans-serif font be used in certain situations.
13822  Also, writers sometimes use a different font to offset a character's thoughts
13823  from ordinary dialog.
13824 \end_layout
13825
13826 \begin_layout Standard
13827 Before we document how to use custom character style, we want to issue a
13828  warning yet again: Don't overuse character styles! 
13829 \begin_inset Newline newline
13830 \end_inset
13831
13832 Documents that overuse different fonts and sizes are not easy to read and
13833  tend to look as if someone has knocked huge holes in them.
13834 \end_layout
13835
13836 \begin_layout Standard
13837 To use custom character styles, open the 
13838 \family sans
13839 Edit\SpecialChar menuseparator
13840 Text
13841 \begin_inset space ~
13842 \end_inset
13843
13844 Style\SpecialChar menuseparator
13845 Customized
13846 \family default
13847  dialog or press the toolbar button 
13848 \begin_inset Info
13849 type  "icon"
13850 arg   "dialog-show character"
13851 \end_inset
13852
13853 .
13854  There are several boxes in this dialog, each corresponding to a different
13855  font property that you can choose.
13856  You can choose an option for one of these properties, or select 
13857 \family sans
13858 No
13859 \begin_inset space ~
13860 \end_inset
13861
13862 change
13863 \family default
13864 , which keeps the current state of that property.
13865  The item 
13866 \family sans
13867 Reset
13868 \family default
13869  will reset the property to whatever is the default.
13870  You can use this to reset attributes across a bunch of different paragraph
13871  environments all at once.
13872 \end_layout
13873
13874 \begin_layout Standard
13875 The font properties, and their options (in addition to 
13876 \family sans
13877 No
13878 \begin_inset space ~
13879 \end_inset
13880
13881 change
13882 \family default
13883  and 
13884 \family sans
13885 Reset
13886 \family default
13887 ) are:
13888 \end_layout
13889
13890 \begin_layout Labeling
13891 \labelwidthstring 00.00.0000
13892
13893 \family sans
13894 Family
13895 \family default
13896  The 
13897 \begin_inset Quotes eld
13898 \end_inset
13899
13900 overall look
13901 \begin_inset Quotes erd
13902 \end_inset
13903
13904  of the font.
13905  The possible options are:
13906 \end_layout
13907
13908 \begin_deeper
13909 \begin_layout Labeling
13910 \labelwidthstring 00.00.0000
13911
13912 \family sans
13913 Roman
13914 \family default
13915  This is the Roman font family.
13916  Normally a serif font.
13917  It's also the default family.
13918  (key binding 
13919 \begin_inset Info
13920 type  "shortcut"
13921 arg   "font-roman"
13922 \end_inset
13923
13924 )
13925 \end_layout
13926
13927 \begin_layout Labeling
13928 \labelwidthstring 00.00.0000
13929
13930 \family sans
13931 Sans
13932 \begin_inset space ~
13933 \end_inset
13934
13935 Serif
13936 \family default
13937  
13938 \family sans
13939 This is the Sans Serif font family.
13940
13941 \family default
13942  (key binding 
13943 \begin_inset Info
13944 type  "shortcut"
13945 arg   "font-sans"
13946 \end_inset
13947
13948 )
13949 \end_layout
13950
13951 \begin_layout Labeling
13952 \labelwidthstring 00.00.0000
13953
13954 \family sans
13955 Typewriter
13956 \family default
13957  
13958 \family typewriter
13959 This is the Typewriter font family.
13960
13961 \family default
13962  (key binding 
13963 \begin_inset Info
13964 type  "shortcut"
13965 arg   "font-typewriter"
13966 \end_inset
13967
13968
13969 \family sans
13970 )
13971 \end_layout
13972
13973 \end_deeper
13974 \begin_layout Labeling
13975 \labelwidthstring 00.00.0000
13976
13977 \family sans
13978 Series
13979 \family default
13980  This corresponds to the print weight.
13981  Options are:
13982 \end_layout
13983
13984 \begin_deeper
13985 \begin_layout Labeling
13986 \labelwidthstring 00.00.0000
13987
13988 \family sans
13989 Medium
13990 \family default
13991  This is the Medium font series.
13992  It's also the default series.
13993 \end_layout
13994
13995 \begin_layout Labeling
13996 \labelwidthstring 00.00.0000
13997
13998 \family sans
13999 Bold
14000 \family default
14001  
14002 \series bold
14003 This is the Bold font series.
14004
14005 \series default
14006  (key binding 
14007 \begin_inset Info
14008 type  "shortcut"
14009 arg   "font-bold"
14010 \end_inset
14011
14012 )
14013 \end_layout
14014
14015 \end_deeper
14016 \begin_layout Labeling
14017 \labelwidthstring 00.00.0000
14018
14019 \family sans
14020 Shape
14021 \family default
14022  As the name implies.
14023  Options are:
14024 \end_layout
14025
14026 \begin_deeper
14027 \begin_layout Labeling
14028 \labelwidthstring 00.00.0000
14029
14030 \family sans
14031 Upright
14032 \family default
14033  This is the Upright font shape.
14034  It's also the default shape.
14035 \end_layout
14036
14037 \begin_layout Labeling
14038 \labelwidthstring 00.00.0000
14039
14040 \family sans
14041 Italic
14042 \family default
14043  
14044 \shape italic
14045 This
14046 \shape default
14047  
14048 \family sans
14049 \shape italic
14050 i
14051 \family default
14052 s the Italic font shape
14053 \shape default
14054 \emph on
14055 .
14056 \end_layout
14057
14058 \begin_layout Labeling
14059 \labelwidthstring 00.00.0000
14060
14061 \family sans
14062 Slanted
14063 \family default
14064  
14065 \shape slanted
14066 This is the Slanted font shape
14067 \shape default
14068  (although it might not be visible in \SpecialChar LyX
14069 , this is different from italic).
14070 \end_layout
14071
14072 \begin_layout Labeling
14073 \labelwidthstring 00.00.0000
14074
14075 \family sans
14076 Small
14077 \begin_inset space ~
14078 \end_inset
14079
14080 Caps
14081 \family default
14082  
14083 \shape smallcaps
14084 This is the Small caps font shape
14085 \shape default
14086 \noun on
14087 .
14088 \end_layout
14089
14090 \end_deeper
14091 \begin_layout Labeling
14092 \labelwidthstring 00.00.0000
14093
14094 \family sans
14095 Color
14096 \family default
14097  Alters the text color.
14098  Note that not all DVI-viewers are able to display colors.
14099  Besides 
14100 \family sans
14101 No
14102 \begin_inset space ~
14103 \end_inset
14104
14105 color
14106 \family default
14107 , which means that the document default color set in 
14108 \family sans
14109 Document\SpecialChar menuseparator
14110 Settings\SpecialChar menuseparator
14111 Color
14112 \family default
14113  for 
14114 \family sans
14115 Main
14116 \begin_inset space ~
14117 \end_inset
14118
14119 text
14120 \family default
14121  is used, you can choose between 
14122 \family sans
14123 Black
14124 \family default
14125
14126 \family sans
14127 White
14128 \family default
14129
14130 \family sans
14131 Red
14132 \family default
14133
14134 \family sans
14135 Green
14136 \family default
14137
14138 \family sans
14139 Blue
14140 \family default
14141
14142 \family sans
14143 Cyan
14144 \family default
14145
14146 \family sans
14147 Magenta
14148 \family default
14149
14150 \family sans
14151 Yellow
14152 \family default
14153
14154 \family sans
14155 Brown
14156 \family default
14157
14158 \family sans
14159 Darkgray
14160 \family default
14161
14162 \family sans
14163 Gray
14164 \family default
14165
14166 \family sans
14167 Lightgray
14168 \family default
14169
14170 \family sans
14171 Lime
14172 \family default
14173
14174 \family sans
14175 Orange
14176 \family default
14177
14178 \family sans
14179 Olive
14180 \family default
14181
14182 \family sans
14183 Pink
14184 \family default
14185
14186 \family sans
14187 Purple
14188 \family default
14189
14190 \family sans
14191 Teal
14192 \family default
14193  and 
14194 \family sans
14195 Violet
14196 \family default
14197  text.
14198 \begin_inset Index idx
14199 status collapsed
14200
14201 \begin_layout Plain Layout
14202 Color ! Text
14203 \end_layout
14204
14205 \end_inset
14206
14207  
14208 \end_layout
14209
14210 \begin_layout Labeling
14211 \labelwidthstring 00.00.0000
14212
14213 \family sans
14214 Language
14215 \family default
14216  This is used to mark regions of text as having a different language from
14217  the language of the document.
14218  Text marked in this way will be underlined in blue to indicate the change
14219  (only within \SpecialChar LyX
14220 ).
14221 \begin_inset Newline newline
14222 \end_inset
14223
14224 If you have for example, an extract of German text in a non-German document,
14225  \SpecialChar LaTeX
14226  respects the German hyphenation rules automatically.
14227  When using the spell checking (see section
14228 \begin_inset space ~
14229 \end_inset
14230
14231
14232 \begin_inset CommandInset ref
14233 LatexCommand ref
14234 reference "sec:Spellchecking"
14235
14236 \end_inset
14237
14238 ) the German-marked text will be checked according to the German dictionary.
14239 \end_layout
14240
14241 \begin_layout Labeling
14242 \labelwidthstring 00.00.0000
14243
14244 \family sans
14245 Size
14246 \family default
14247  Alters the size of the font.
14248  You will find no numerical values here; all possible sizes are actually
14249  proportional to the document font size.
14250  Once again, you don't feed \SpecialChar LyX
14251  the details, but a general description of what
14252  you want to do.
14253  The options are:
14254 \end_layout
14255
14256 \begin_deeper
14257 \begin_layout Labeling
14258 \labelwidthstring 00.00.0000
14259
14260 \family sans
14261 Tiny
14262 \family default
14263  
14264 \size tiny
14265 This is the 
14266 \begin_inset Quotes eld
14267 \end_inset
14268
14269 Tiny
14270 \begin_inset Quotes erd
14271 \end_inset
14272
14273  font size.
14274
14275 \size default
14276  (key bindings 
14277 \begin_inset Info
14278 type  "shortcuts"
14279 arg   "font-size tiny"
14280 \end_inset
14281
14282 )
14283 \end_layout
14284
14285 \begin_layout Labeling
14286 \labelwidthstring 00.00.0000
14287
14288 \family sans
14289 Smallest
14290 \family default
14291  
14292 \size scriptsize
14293 This is the 
14294 \begin_inset Quotes eld
14295 \end_inset
14296
14297 Smallest
14298 \begin_inset Quotes erd
14299 \end_inset
14300
14301  font size
14302 \size default
14303 .
14304  (key binding 
14305 \begin_inset Info
14306 type  "shortcut"
14307 arg   "font-size scriptsize"
14308 \end_inset
14309
14310 )
14311 \end_layout
14312
14313 \begin_layout Labeling
14314 \labelwidthstring 00.00.0000
14315
14316 \family sans
14317 Smaller
14318 \family default
14319  
14320 \size footnotesize
14321 This is the 
14322 \begin_inset Quotes eld
14323 \end_inset
14324
14325 Smaller
14326 \begin_inset Quotes erd
14327 \end_inset
14328
14329  font size.
14330
14331 \size default
14332  (key bindings 
14333 \begin_inset Info
14334 type  "shortcuts"
14335 arg   "font-size footnotesize"
14336 \end_inset
14337
14338 )
14339 \end_layout
14340
14341 \begin_layout Labeling
14342 \labelwidthstring 00.00.0000
14343
14344 \family sans
14345 Small
14346 \family default
14347  
14348 \size small
14349 This is the 
14350 \begin_inset Quotes eld
14351 \end_inset
14352
14353 Small
14354 \begin_inset Quotes erd
14355 \end_inset
14356
14357  font size.
14358
14359 \size default
14360  (key bindings 
14361 \begin_inset Info
14362 type  "shortcuts"
14363 arg   "font-size small"
14364 \end_inset
14365
14366 )
14367 \end_layout
14368
14369 \begin_layout Labeling
14370 \labelwidthstring 00.00.0000
14371
14372 \family sans
14373 Normal
14374 \family default
14375  This is the 
14376 \begin_inset Quotes eld
14377 \end_inset
14378
14379 Normal
14380 \begin_inset Quotes erd
14381 \end_inset
14382
14383  font size.
14384  It's also the default size.
14385  (key bindings 
14386 \begin_inset Info
14387 type  "shortcuts"
14388 arg   "font-size normal"
14389 \end_inset
14390
14391 )
14392 \end_layout
14393
14394 \begin_layout Labeling
14395 \labelwidthstring 00.00.0000
14396
14397 \family sans
14398 Large
14399 \family default
14400  
14401 \size large
14402 This is the 
14403 \begin_inset Quotes eld
14404 \end_inset
14405
14406 Large
14407 \begin_inset Quotes erd
14408 \end_inset
14409
14410  font size.
14411
14412 \size default
14413  (key bindings 
14414 \begin_inset Info
14415 type  "shortcuts"
14416 arg   "font-size large"
14417 \end_inset
14418
14419 )
14420 \end_layout
14421
14422 \begin_layout Labeling
14423 \labelwidthstring 00.00.0000
14424
14425 \family sans
14426 Larger
14427 \family default
14428  
14429 \size larger
14430 This is the 
14431 \begin_inset Quotes eld
14432 \end_inset
14433
14434 Larger
14435 \begin_inset Quotes erd
14436 \end_inset
14437
14438  font size.
14439
14440 \size default
14441  (key bindings 
14442 \begin_inset Info
14443 type  "shortcuts"
14444 arg   "font-size larger"
14445 \end_inset
14446
14447 )
14448 \end_layout
14449
14450 \begin_layout Labeling
14451 \labelwidthstring 00.00.0000
14452
14453 \family sans
14454 Largest
14455 \family default
14456  
14457 \size largest
14458 This is the 
14459 \begin_inset Quotes eld
14460 \end_inset
14461
14462 Largest
14463 \begin_inset Quotes erd
14464 \end_inset
14465
14466  font size.
14467
14468 \size default
14469  (key binding 
14470 \begin_inset Info
14471 type  "shortcut"
14472 arg   "font-size largest"
14473 \end_inset
14474
14475 )
14476 \end_layout
14477
14478 \begin_layout Labeling
14479 \labelwidthstring 00.00.0000
14480
14481 \family sans
14482 Huge
14483 \family default
14484  
14485 \size huge
14486 This is the 
14487 \begin_inset Quotes eld
14488 \end_inset
14489
14490 Huge
14491 \begin_inset Quotes erd
14492 \end_inset
14493
14494  font size.
14495
14496 \size default
14497  (key bindings 
14498 \begin_inset Info
14499 type  "shortcuts"
14500 arg   "font-size huge"
14501 \end_inset
14502
14503 )
14504 \end_layout
14505
14506 \begin_layout Labeling
14507 \labelwidthstring 00.00.0000
14508
14509 \family sans
14510 Huger
14511 \family default
14512  
14513 \size giant
14514 This is the 
14515 \begin_inset Quotes eld
14516 \end_inset
14517
14518 Huger
14519 \begin_inset Quotes erd
14520 \end_inset
14521
14522  font size.
14523
14524 \size default
14525  (key bindings 
14526 \begin_inset Info
14527 type  "shortcuts"
14528 arg   "font-size giant"
14529 \end_inset
14530
14531 )
14532 \end_layout
14533
14534 \begin_layout Labeling
14535 \labelwidthstring 00.00.0000
14536
14537 \family sans
14538 Increase
14539 \family default
14540  This increases the size by one step (for instance, from 
14541 \begin_inset Quotes eld
14542 \end_inset
14543
14544 Largest
14545 \begin_inset Quotes erd
14546 \end_inset
14547
14548  to 
14549 \begin_inset Quotes eld
14550 \end_inset
14551
14552 Huge
14553 \begin_inset Quotes erd
14554 \end_inset
14555
14556 ).
14557  (key binding 
14558 \begin_inset Info
14559 type  "shortcut"
14560 arg   "font-size increase"
14561 \end_inset
14562
14563 )
14564 \end_layout
14565
14566 \begin_layout Labeling
14567 \labelwidthstring 00.00.0000
14568
14569 \family sans
14570 Decrease
14571 \family default
14572  This decreases the size by one step (for instance, from 
14573 \begin_inset Quotes eld
14574 \end_inset
14575
14576 Normal
14577 \begin_inset Quotes erd
14578 \end_inset
14579
14580  to 
14581 \begin_inset Quotes eld
14582 \end_inset
14583
14584 Small
14585 \begin_inset Quotes erd
14586 \end_inset
14587
14588 ).
14589  (key binding 
14590 \begin_inset Info
14591 type  "shortcut"
14592 arg   "font-size decrease"
14593 \end_inset
14594
14595 )
14596 \end_layout
14597
14598 \end_deeper
14599 \begin_layout Standard
14600 We warn you 
14601 \emph on
14602 yet again
14603 \emph default
14604 : don't go crazy with this feature.
14605  You should almost never need to change the font size.
14606  \SpecialChar LyX
14607  automatically changes the font size for different paragraph environments
14608  — use those instead.
14609  This is here for fine-tuning only!
14610 \end_layout
14611
14612 \begin_layout Labeling
14613 \labelwidthstring 00.00.0000
14614
14615 \family sans
14616 Misc
14617 \family default
14618  Here you can change a few other things at the character level.
14619  Options are:
14620 \end_layout
14621
14622 \begin_deeper
14623 \begin_layout Labeling
14624 \labelwidthstring 00.00.0000
14625
14626 \family sans
14627 Emph
14628 \family default
14629  
14630 \emph on
14631 This is text with emphasize on
14632 \emph default
14633 .
14634  This might seem like the same as 
14635 \shape italic
14636 Italic
14637 \shape default
14638 , but it is actually a bit different.
14639  Emphasized is a 
14640 \emph on
14641 logical
14642 \emph default
14643  attribute.
14644  That means every document class can define its own font used for emphasized
14645  text.
14646  Normally this font is equal to italic.
14647 \end_layout
14648
14649 \begin_layout Labeling
14650 \labelwidthstring 00.00.0000
14651
14652 \family sans
14653 Underbar
14654 \family default
14655  
14656 \bar under
14657 This is text with Underbar on.
14658
14659 \bar default
14660  (key binding 
14661 \begin_inset Info
14662 type  "shortcuts"
14663 arg   "font-underline"
14664 \end_inset
14665
14666
14667 \family sans
14668 )
14669 \begin_inset Newline newline
14670 \end_inset
14671
14672
14673 \family default
14674 Avoid using underbar if you can! It is a hangover from the typewriter days,
14675  when you could not change fonts.
14676  One no longer needs to emphasize text by underscoring characters.
14677  This is only possible in \SpecialChar LyX
14678  because some people 
14679 \emph on
14680 may
14681 \emph default
14682  need it in order to follow style sheets for journal submissions.
14683 \end_layout
14684
14685 \begin_layout Labeling
14686 \labelwidthstring 00.00.0000
14687
14688 \family sans
14689 Double
14690 \begin_inset space ~
14691 \end_inset
14692
14693 underbar
14694 \family default
14695  
14696 \uuline on
14697 This is text with Double underbar on.
14698
14699 \uuline default
14700  (key binding 
14701 \begin_inset Info
14702 type  "shortcut"
14703 arg   "font-underunderline"
14704 \end_inset
14705
14706 )
14707 \begin_inset Newline newline
14708 \end_inset
14709
14710 As we just warned you against using underbar, you can imagine what we think
14711  about double underbar.
14712 \end_layout
14713
14714 \begin_layout Labeling
14715 \labelwidthstring 00.00.0000
14716
14717 \family sans
14718 Wavy
14719 \begin_inset space ~
14720 \end_inset
14721
14722 underbar
14723 \family default
14724  
14725 \uwave on
14726 This is text with Wavy underbar on.
14727
14728 \uwave default
14729  (key binding 
14730 \begin_inset Info
14731 type  "shortcut"
14732 arg   "font-underwave"
14733 \end_inset
14734
14735 )
14736 \begin_inset Newline newline
14737 \end_inset
14738
14739 Use this only if a journal absolutely insists on it.
14740  Keep antinausea pills handy.
14741 \end_layout
14742
14743 \begin_layout Labeling
14744 \labelwidthstring 00.00.0000
14745
14746 \family sans
14747 Strike
14748 \begin_inset space ~
14749 \end_inset
14750
14751 out
14752 \family default
14753  
14754 \strikeout on
14755 This is text with Strikeout on.
14756
14757 \strikeout default
14758  (key binding 
14759 \begin_inset Info
14760 type  "shortcut"
14761 arg   "font-strikeout"
14762 \end_inset
14763
14764 )
14765 \begin_inset Newline newline
14766 \end_inset
14767
14768 This is frequently used to indicate an older version of text that has been
14769  changed in the meantime.
14770 \end_layout
14771
14772 \begin_layout Labeling
14773 \labelwidthstring 00.00.0000
14774
14775 \family sans
14776 Cross
14777 \begin_inset space ~
14778 \end_inset
14779
14780 out
14781 \family default
14782  
14783 \xout on
14784 This is text with Cross out on.
14785 \xout default
14786
14787 \begin_inset Newline newline
14788 \end_inset
14789
14790 This is used to make text hardly readable.
14791 \end_layout
14792
14793 \begin_layout Labeling
14794 \labelwidthstring 00.00.0000
14795
14796 \family sans
14797 Noun
14798 \family default
14799  
14800 \noun on
14801 This is text with Noun on.
14802
14803 \noun default
14804  Like 
14805 \family sans
14806 Emph
14807 \family default
14808 , this is a logical attribute.
14809  Normally it's equivalent to 
14810 \family sans
14811 Small
14812 \begin_inset space ~
14813 \end_inset
14814
14815 Caps
14816 \family default
14817 .
14818 \end_layout
14819
14820 \end_deeper
14821 \begin_layout Standard
14822 So you have a huge number of combinations to choose from.
14823  Once you have chosen a new character style via the 
14824 \family sans
14825 Edit\SpecialChar menuseparator
14826 Text
14827 \begin_inset space ~
14828 \end_inset
14829
14830 Style\SpecialChar menuseparator
14831 Customized
14832 \family default
14833  (
14834 \begin_inset Info
14835 type  "icon"
14836 arg   "dialog-show character"
14837 \end_inset
14838
14839 ) dialog, the settings are saved.
14840  You can activate them by using the toolbar button 
14841 \begin_inset Info
14842 type  "icon"
14843 arg   "textstyle-apply"
14844 \end_inset
14845
14846 .
14847  The button lets you apply your custom character style even when the dialog
14848  isn't visible.
14849 \end_layout
14850
14851 \begin_layout Standard
14852 To completely reset the character style to the default, use 
14853 \begin_inset Info
14854 type  "shortcut"
14855 arg   "font-default"
14856 \end_inset
14857
14858 .
14859  If you want to toggle only those properties that you have just changed
14860  (suppose you just set the shape to 
14861 \begin_inset Quotes eld
14862 \end_inset
14863
14864 slanted
14865 \begin_inset Quotes erd
14866 \end_inset
14867
14868  and the series to 
14869 \begin_inset Quotes eld
14870 \end_inset
14871
14872 bold
14873 \begin_inset Quotes erd
14874 \end_inset
14875
14876 ), set the 
14877 \family sans
14878 Toggle
14879 \begin_inset space ~
14880 \end_inset
14881
14882 all
14883 \family default
14884  switch and press 
14885 \family sans
14886 Apply
14887 \family default
14888 .
14889 \end_layout
14890
14891 \begin_layout Standard
14892 You should also know something about the differences between the three main
14893  font types 
14894 \family sans
14895 serif
14896 \family default
14897
14898 \family sans
14899 sans
14900 \begin_inset space ~
14901 \end_inset
14902
14903 serif
14904 \family default
14905 , and 
14906 \family sans
14907 typewriter
14908 \family default
14909 :
14910 \end_layout
14911
14912 \begin_layout Itemize
14913
14914 \family sans
14915 Typewriter
14916 \family default
14917  is a so called 
14918 \begin_inset Quotes eld
14919 \end_inset
14920
14921 monospaced
14922 \begin_inset Quotes erd
14923 \end_inset
14924
14925  font, which means every character has the same width; the 
14926 \begin_inset Quotes eld
14927 \end_inset
14928
14929 i
14930 \begin_inset Quotes erd
14931 \end_inset
14932
14933  is as wide as the 
14934 \begin_inset Quotes eld
14935 \end_inset
14936
14937 m
14938 \begin_inset Quotes erd
14939 \end_inset
14940
14941 .
14942  Here is an example
14943 \begin_inset Newline newline
14944 \end_inset
14945
14946
14947 \begin_inset Phantom HPhantom
14948 status open
14949
14950 \begin_layout Plain Layout
14951 no 
14952 \end_layout
14953
14954 \end_inset
14955
14956
14957 \family typewriter
14958 typewriter text
14959 \family default
14960
14961 \begin_inset Note Note
14962 status collapsed
14963
14964 \begin_layout Plain Layout
14965 For more on phantoms see section
14966 \begin_inset space ~
14967 \end_inset
14968
14969
14970 \begin_inset CommandInset ref
14971 LatexCommand ref
14972 reference "subsec:Phantom-Space"
14973
14974 \end_inset
14975
14976 .
14977 \end_layout
14978
14979 \end_inset
14980
14981
14982 \begin_inset Newline newline
14983 \end_inset
14984
14985 no typewriter text
14986 \end_layout
14987
14988 \begin_layout Itemize
14989
14990 \family sans
14991 Serif
14992 \family default
14993  fonts use characters with serifs.
14994  These are the small 
14995 \begin_inset Quotes eld
14996 \end_inset
14997
14998 appendices
14999 \begin_inset Quotes erd
15000 \end_inset
15001
15002  at the ends of the strokes that form the character.
15003  The following example shows the difference:
15004 \begin_inset Newline newline
15005 \end_inset
15006
15007 text with serifs
15008 \begin_inset Newline newline
15009 \end_inset
15010
15011
15012 \family sans
15013 text without serifs
15014 \family default
15015
15016 \begin_inset Newline newline
15017 \end_inset
15018
15019 Serifs facilitate quick and easy reading.
15020  These fonts are therefore used as default (named 
15021 \family sans
15022 roman
15023 \family default
15024 ).
15025 \end_layout
15026
15027 \begin_layout Itemize
15028
15029 \family sans
15030 Sans serif
15031 \family default
15032  is not recommended for use as a base type.
15033  This font type is therefore often only used for headings and short texts.
15034  We use it in this document to highlight menu names.
15035 \end_layout
15036
15037 \begin_layout Standard
15038 \begin_inset Quotes eld
15039 \end_inset
15040
15041 Toggling
15042 \begin_inset Quotes erd
15043 \end_inset
15044
15045  refers to applying or removing font properties.
15046  When a property is marked for toggling in the 
15047 \family sans
15048 Text
15049 \begin_inset space ~
15050 \end_inset
15051
15052 Style
15053 \family default
15054  dialog, applying the style to text that already has the property will cause
15055  the property to be removed.
15056  If you, for example, apply a style with properties A, B and C to text that
15057  currently has font properties B, C, F and G, and if B is set to toggle
15058  and C is set not to toggle, the text ends up with properties A, C, F and
15059  G.
15060  
15061 \begin_inset Quotes eld
15062 \end_inset
15063
15064 Never toggled
15065 \begin_inset Quotes erd
15066 \end_inset
15067
15068  and 
15069 \begin_inset Quotes eld
15070 \end_inset
15071
15072 always toggled
15073 \begin_inset Quotes erd
15074 \end_inset
15075
15076  mean that you do not control the toggling behavior.
15077  For the properties on the left side of the dialog (
15078 \begin_inset Quotes eld
15079 \end_inset
15080
15081 Family
15082 \begin_inset Quotes erd
15083 \end_inset
15084
15085  etc.), toggling behavior is up to you.
15086  If 
15087 \family sans
15088 Toggle
15089 \begin_inset space ~
15090 \end_inset
15091
15092 all
15093 \family default
15094  is checked, all of the left side properties are toggled; by default, none
15095  of them are.
15096  Finally, 
15097 \begin_inset Quotes eld
15098 \end_inset
15099
15100 Reset
15101 \begin_inset Quotes erd
15102 \end_inset
15103
15104  is never toggled.
15105  If you, for example, set 
15106 \begin_inset Quotes eld
15107 \end_inset
15108
15109 Series
15110 \begin_inset Quotes erd
15111 \end_inset
15112
15113  to 
15114 \begin_inset Quotes eld
15115 \end_inset
15116
15117 Reset
15118 \begin_inset Quotes erd
15119 \end_inset
15120
15121  and select 
15122 \family sans
15123 Toggle
15124 \begin_inset space ~
15125 \end_inset
15126
15127 all
15128 \family default
15129 , then apply the style to bold face text, the text will revert to the default
15130  series (
15131 \begin_inset Quotes eld
15132 \end_inset
15133
15134 Medium
15135 \begin_inset Quotes erd
15136 \end_inset
15137
15138 ), no matter how many times you apply the style.
15139 \end_layout
15140
15141 \begin_layout Standard
15142 We conclude with the same warning once again: Do not overuse the fonts!
15143  They are, more often than not, a kludge and a bad substitute for good writing.
15144 \end_layout
15145
15146 \begin_layout Section
15147 Printing and Previewing
15148 \end_layout
15149
15150 \begin_layout Subsection
15151 Overview
15152 \end_layout
15153
15154 \begin_layout Standard
15155 Now that we have covered some of the basic features of document preparation
15156  using \SpecialChar LyX
15157 , you probably want to know how to print out your masterpiece.
15158  Before we tell you that, we want to give you a quick explanation of what
15159  goes on behind-the-scenes.
15160  We cover this information in much greater detail in the 
15161 \emph on
15162 Additional Features
15163 \emph default
15164  manual as well.
15165 \end_layout
15166
15167 \begin_layout Standard
15168 \SpecialChar LyX
15169  uses the program \SpecialChar LaTeX
15170  as its backend.
15171  \SpecialChar LaTeX
15172  is just a macro package for the \SpecialChar TeX
15173  typesetting system, but to prevent confusion,
15174  we will only refer to \SpecialChar LaTeX
15175 .
15176  \SpecialChar LyX
15177  is what you use to do your actual writing.
15178  Then, \SpecialChar LyX
15179  calls \SpecialChar LaTeX
15180  to turn your writing into printable output.
15181  This happens in two stages:
15182 \end_layout
15183
15184 \begin_layout Enumerate
15185 First, \SpecialChar LyX
15186  converts your document to a series of text commands for \SpecialChar LaTeX
15187 , generating
15188  a file with the extension, 
15189 \begin_inset Quotes eld
15190 \end_inset
15191
15192
15193 \family typewriter
15194 .tex
15195 \family default
15196
15197 \begin_inset Quotes erd
15198 \end_inset
15199
15200 .
15201 \end_layout
15202
15203 \begin_layout Enumerate
15204 Next, \SpecialChar LyX
15205  calls \SpecialChar LaTeX
15206  to use the commands in the 
15207 \family typewriter
15208 .tex
15209 \family default
15210  file to produce printable output.
15211 \end_layout
15212
15213 \begin_layout Subsection
15214 Output file formats
15215 \begin_inset Index idx
15216 status collapsed
15217
15218 \begin_layout Plain Layout
15219 File formats
15220 \end_layout
15221
15222 \end_inset
15223
15224
15225 \begin_inset CommandInset label
15226 LatexCommand label
15227 name "subsec:Output-file-formats"
15228
15229 \end_inset
15230
15231
15232 \end_layout
15233
15234 \begin_layout Subsubsection
15235 Simple text (ASCII)
15236 \begin_inset Index idx
15237 status collapsed
15238
15239 \begin_layout Plain Layout
15240 File formats ! ASCII
15241 \end_layout
15242
15243 \end_inset
15244
15245
15246 \end_layout
15247
15248 \begin_layout Standard
15249 This file type has the extension 
15250 \begin_inset Quotes eld
15251 \end_inset
15252
15253
15254 \family typewriter
15255 .txt
15256 \family default
15257
15258 \begin_inset Quotes erd
15259 \end_inset
15260
15261 .
15262  It contains your document as plain text following the rules of the 
15263 \begin_inset Quotes eld
15264 \end_inset
15265
15266 American Standard Code for Information Interchange
15267 \begin_inset Quotes erd
15268 \end_inset
15269
15270  (ASCII).
15271 \end_layout
15272
15273 \begin_layout Standard
15274 You can export your document to ASCII with the menu 
15275 \family sans
15276 File\SpecialChar menuseparator
15277 Export\SpecialChar menuseparator
15278 Plain
15279 \begin_inset space ~
15280 \end_inset
15281
15282 text
15283 \family default
15284 .
15285  However, this will not export any externally generated material such as
15286  a Bib\SpecialChar TeX
15287  bibliography (section
15288 \begin_inset space ~
15289 \end_inset
15290
15291
15292 \begin_inset CommandInset ref
15293 LatexCommand ref
15294 reference "subsec:Bibliography-databases"
15295
15296 \end_inset
15297
15298 ).
15299  If your document includes such material, use 
15300 \family sans
15301 File\SpecialChar menuseparator
15302 Export\SpecialChar menuseparator
15303 More
15304 \begin_inset space ~
15305 \end_inset
15306
15307 Formats
15308 \begin_inset space ~
15309 \end_inset
15310
15311 &
15312 \begin_inset space ~
15313 \end_inset
15314
15315 Options
15316 \family default
15317  and then select 
15318 \family sans
15319 Plain
15320 \begin_inset space ~
15321 \end_inset
15322
15323 text
15324 \begin_inset space ~
15325 \end_inset
15326
15327 (ps2ascii)
15328 \family default
15329 .
15330  This will first internally export your document to PostScript (generating
15331  thereby the external material) and then do the conversion to ASCII.
15332 \end_layout
15333
15334 \begin_layout Subsubsection
15335 \SpecialChar LaTeX
15336
15337 \begin_inset Index idx
15338 status collapsed
15339
15340 \begin_layout Plain Layout
15341 File formats ! \SpecialChar LaTeX
15342
15343 \end_layout
15344
15345 \end_inset
15346
15347
15348 \end_layout
15349
15350 \begin_layout Standard
15351 This file type has the extension 
15352 \begin_inset Quotes eld
15353 \end_inset
15354
15355
15356 \family typewriter
15357 .tex
15358 \family default
15359
15360 \begin_inset Quotes erd
15361 \end_inset
15362
15363  and contains all commands that are necessary for the \SpecialChar LaTeX
15364  program to process
15365  your document.
15366  If you know \SpecialChar LaTeX
15367 , you can use it to find out \SpecialChar LaTeX
15368 -Errors or to process it manually
15369  with console commands.
15370  The \SpecialChar LaTeX
15371 -file is automatically created in \SpecialChar LyX
15372 's temporary directory whenever you
15373  view or export your document.
15374 \end_layout
15375
15376 \begin_layout Standard
15377 You can export your document as a \SpecialChar LaTeX
15378 -file using the menu 
15379 \family sans
15380 File\SpecialChar menuseparator
15381 Export\SpecialChar menuseparator
15382 LaTeX
15383 \family default
15384 .
15385  The different \SpecialChar LaTeX
15386  export variants are explained in section
15387 \begin_inset space ~
15388 \end_inset
15389
15390
15391 \begin_inset CommandInset ref
15392 LatexCommand ref
15393 reference "subsec:Export"
15394
15395 \end_inset
15396
15397 .
15398 \end_layout
15399
15400 \begin_layout Subsubsection
15401 DVI
15402 \begin_inset Index idx
15403 status collapsed
15404
15405 \begin_layout Plain Layout
15406 File formats ! DVI
15407 \end_layout
15408
15409 \end_inset
15410
15411
15412 \end_layout
15413
15414 \begin_layout Standard
15415 This file type has the extension 
15416 \begin_inset Quotes eld
15417 \end_inset
15418
15419
15420 \family typewriter
15421 .dvi
15422 \family default
15423
15424 \begin_inset Quotes erd
15425 \end_inset
15426
15427 .
15428  It is called 
15429 \begin_inset Quotes eld
15430 \end_inset
15431
15432 device-independent
15433 \begin_inset Quotes erd
15434 \end_inset
15435
15436  (DVI), because it is completely portable; you can move them from one machine
15437  to another without needing to do any sort of conversion.
15438  DVIs are used for quick previews and as a pre-stage for other output formats,
15439  like PostScript.
15440 \end_layout
15441
15442 \begin_layout Standard
15443 DVI files do not contain images, they only link to them.
15444  So don't forget to deliver the images together with your DVIs.
15445  Because the DVI-viewer has to convert the images in the background to make
15446  them visible when you scroll the DVI, this can slow down your computer
15447  when you view the DVI.
15448  So we recommend using PDF for files with many images.
15449 \end_layout
15450
15451 \begin_layout Standard
15452 You can export your document to DVI by the menus 
15453 \family sans
15454 File\SpecialChar menuseparator
15455 Export\SpecialChar menuseparator
15456 DVI
15457 \family default
15458  or 
15459 \family sans
15460 File\SpecialChar menuseparator
15461 Export\SpecialChar menuseparator
15462 DVI
15463 \begin_inset space ~
15464 \end_inset
15465
15466 (LuaTeX).
15467
15468 \family default
15469  The latter option uses the program 
15470 \family typewriter
15471 Lua\SpecialChar TeX
15472
15473 \family default
15474 .
15475  
15476 \family typewriter
15477 Lua\SpecialChar TeX
15478
15479 \family default
15480  is an engine that provides direct Unicode support and support for direct
15481  font access (see section
15482 \begin_inset space ~
15483 \end_inset
15484
15485
15486 \begin_inset CommandInset ref
15487 LatexCommand ref
15488 reference "subsec:LaTeX-font-support"
15489
15490 \end_inset
15491
15492 ).
15493  Lua\SpecialChar TeX
15494  is still a work in progress, but it might develop into the next standard
15495  \SpecialChar TeX
15496  processor.
15497 \end_layout
15498
15499 \begin_layout Subsubsection
15500 PostScript
15501 \begin_inset Index idx
15502 status collapsed
15503
15504 \begin_layout Plain Layout
15505 File formats ! PostScript
15506 \end_layout
15507
15508 \end_inset
15509
15510
15511 \end_layout
15512
15513 \begin_layout Standard
15514 This file type has the extension 
15515 \begin_inset Quotes eld
15516 \end_inset
15517
15518
15519 \family typewriter
15520 .ps
15521 \family default
15522
15523 \begin_inset Quotes erd
15524 \end_inset
15525
15526 .
15527  PostScript was developed by the company 
15528 \family typewriter
15529 Adobe
15530 \family default
15531  as a printer language.
15532  The file therefore contains commands that the printer uses to print the
15533  file.
15534  PostScript can be seen as a 
15535 \begin_inset Quotes eld
15536 \end_inset
15537
15538 programming language
15539 \begin_inset Quotes erd
15540 \end_inset
15541
15542 ; you can calculate with it and draw diagrams and images.
15543 \begin_inset Foot
15544 status collapsed
15545
15546 \begin_layout Plain Layout
15547 If you are interested in learning more about this, have a look at the \SpecialChar LaTeX
15548 -package
15549  
15550 \series bold
15551 pstricks
15552 \series default
15553
15554 \begin_inset Index idx
15555 status collapsed
15556
15557 \begin_layout Plain Layout
15558 \SpecialChar LaTeX
15559  packages ! pstricks
15560 \end_layout
15561
15562 \end_inset
15563
15564 .
15565 \end_layout
15566
15567 \end_inset
15568
15569  As a result of this, the files are often bigger than PDFs.
15570 \end_layout
15571
15572 \begin_layout Standard
15573 PostScript can only contain images in the format 
15574 \begin_inset Quotes eld
15575 \end_inset
15576
15577 Encapsulated PostScript
15578 \begin_inset Quotes erd
15579 \end_inset
15580
15581  (EPS, file extension 
15582 \begin_inset Quotes eld
15583 \end_inset
15584
15585
15586 \family typewriter
15587 .eps
15588 \family default
15589
15590 \begin_inset Quotes erd
15591 \end_inset
15592
15593 ).
15594  As \SpecialChar LyX
15595  allows you to use any known image format in your document, it has to
15596  convert them in the background to EPS.
15597  If, for example, you have 50
15598 \begin_inset space ~
15599 \end_inset
15600
15601 images in your document, \SpecialChar LyX
15602  has to do 50
15603 \begin_inset space ~
15604 \end_inset
15605
15606 conversions when you view or export your document the first time.
15607  This might slow down your workflow with \SpecialChar LyX
15608 .
15609  So if you plan to use PostScript, you can insert your images directly as
15610  EPS to avoid this problem.
15611 \end_layout
15612
15613 \begin_layout Standard
15614 You can export to PostScript using the menu 
15615 \family sans
15616 File\SpecialChar menuseparator
15617 Export\SpecialChar menuseparator
15618 PostScript
15619 \family default
15620 .
15621 \end_layout
15622
15623 \begin_layout Subsubsection
15624 PDF
15625 \begin_inset Index idx
15626 status collapsed
15627
15628 \begin_layout Plain Layout
15629 File formats ! PDF
15630 \end_layout
15631
15632 \end_inset
15633
15634
15635 \begin_inset Index idx
15636 status collapsed
15637
15638 \begin_layout Plain Layout
15639 PDF
15640 \end_layout
15641
15642 \end_inset
15643
15644
15645 \end_layout
15646
15647 \begin_layout Standard
15648 This file type has the extension 
15649 \begin_inset Quotes eld
15650 \end_inset
15651
15652
15653 \family typewriter
15654 .pdf
15655 \family default
15656
15657 \begin_inset Quotes erd
15658 \end_inset
15659
15660 .
15661  The 
15662 \begin_inset Quotes eld
15663 \end_inset
15664
15665 Portable Document Format
15666 \begin_inset Quotes erd
15667 \end_inset
15668
15669  (PDF) developed by 
15670 \family typewriter
15671 Adobe
15672 \family default
15673  was derived from PostScript.
15674  It is more compressed and it uses fewer commands than PostScript.
15675  As the name 
15676 \begin_inset Quotes eld
15677 \end_inset
15678
15679 portable
15680 \begin_inset Quotes erd
15681 \end_inset
15682
15683  implies, it can be processed on any computer system and the printed output
15684  looks exactly the same.
15685 \end_layout
15686
15687 \begin_layout Standard
15688 PDF can contain images in its own PDF format and in the formats 
15689 \begin_inset Quotes eld
15690 \end_inset
15691
15692 Joint Photographic Experts Group
15693 \begin_inset Quotes erd
15694 \end_inset
15695
15696  (JPG, file extension 
15697 \begin_inset Quotes eld
15698 \end_inset
15699
15700
15701 \family typewriter
15702 .jpg
15703 \family default
15704
15705 \begin_inset Quotes erd
15706 \end_inset
15707
15708  or 
15709 \begin_inset Quotes eld
15710 \end_inset
15711
15712
15713 \family typewriter
15714 .jpeg
15715 \family default
15716
15717 \begin_inset Quotes erd
15718 \end_inset
15719
15720 ) and 
15721 \begin_inset Quotes eld
15722 \end_inset
15723
15724 Portable Network Graphics
15725 \begin_inset Quotes erd
15726 \end_inset
15727
15728  (PNG, file extension 
15729 \begin_inset Quotes eld
15730 \end_inset
15731
15732
15733 \family typewriter
15734 .png
15735 \family default
15736
15737 \begin_inset Quotes erd
15738 \end_inset
15739
15740 ).
15741  You can also use any other image format, because \SpecialChar LyX
15742  converts them in the
15743  background to one of these formats.
15744  But as described in the section about PostScript, the image conversion
15745  will slow down your workflow.
15746  So we recommend using images in one of the three formats mentioned above.
15747 \end_layout
15748
15749 \begin_layout Standard
15750 You can export your document to PDF via the menu 
15751 \family sans
15752 File\SpecialChar menuseparator
15753 Export
15754 \family default
15755  in different ways:
15756 \end_layout
15757
15758 \begin_layout Description
15759 PDF
15760 \begin_inset space ~
15761 \end_inset
15762
15763 (pdflatex) This uses the program 
15764 \family typewriter
15765 pdftex
15766 \family default
15767  which converts your file directly to PDF.
15768 \end_layout
15769
15770 \begin_layout Description
15771 PDF
15772 \begin_inset space ~
15773 \end_inset
15774
15775 (Lua
15776 \family sans
15777 TeX
15778 \family default
15779 ) This uses the program 
15780 \family typewriter
15781 Lua\SpecialChar TeX
15782
15783 \family default
15784  which converts your file directly to PDF.
15785  
15786 \family typewriter
15787 Lua\SpecialChar TeX
15788
15789 \family default
15790  is a new engine, derived from 
15791 \family typewriter
15792 pdflatex
15793 \family default
15794 , that also provides direct Unicode support and support for direct font
15795  access (see section
15796 \begin_inset space ~
15797 \end_inset
15798
15799
15800 \begin_inset CommandInset ref
15801 LatexCommand ref
15802 reference "subsec:LaTeX-font-support"
15803
15804 \end_inset
15805
15806 ).
15807  Lua\SpecialChar TeX
15808  is still a work in progress, but it might develop into the next standard
15809  \SpecialChar TeX
15810  processor.
15811 \end_layout
15812
15813 \begin_layout Description
15814 PDF
15815 \begin_inset space ~
15816 \end_inset
15817
15818 (Xe
15819 \family sans
15820 TeX
15821 \family default
15822 ) This uses the program 
15823 \family typewriter
15824 Xe\SpecialChar TeX
15825
15826 \family default
15827  that converts your file directly to PDF.
15828  
15829 \family typewriter
15830 Xe\SpecialChar TeX
15831
15832 \family default
15833  is a new engine that provides direct Unicode support and support for direct
15834  font access (see section
15835 \begin_inset space ~
15836 \end_inset
15837
15838
15839 \begin_inset CommandInset ref
15840 LatexCommand ref
15841 reference "subsec:LaTeX-font-support"
15842
15843 \end_inset
15844
15845 ).
15846  It is particularly good at typesetting different scripts, for example,
15847  vertically written Japanese.
15848 \end_layout
15849
15850 \begin_layout Description
15851 PDF
15852 \begin_inset space ~
15853 \end_inset
15854
15855 (cropped) This is the same as 
15856 \family sans
15857 PDF
15858 \begin_inset space ~
15859 \end_inset
15860
15861 (pdflatex)
15862 \family default
15863  but the result is a PDF with cropped page margins.
15864  This is for example useful if you want to use \SpecialChar LyX
15865  to generate good-looking
15866  formulas to use them in other programs like for presentations.
15867 \end_layout
15868
15869 \begin_layout Description
15870 PDF
15871 \begin_inset space ~
15872 \end_inset
15873
15874 (dvipdfm) This uses the program 
15875 \family typewriter
15876 dvipdfm
15877 \family default
15878  that converts your file in the background to DVI and in a second step to
15879  PDF.
15880 \end_layout
15881
15882 \begin_layout Description
15883 PDF
15884 \begin_inset space ~
15885 \end_inset
15886
15887 (ps2pdf) This uses the program 
15888 \family typewriter
15889 ps2pdf
15890 \family default
15891  that creates a PDF from a PostScript-version of your file.
15892  The PostScript-version is produced by the program 
15893 \family typewriter
15894 dvips
15895 \family default
15896  which uses a DVI-version as intermediate step.
15897  So this export variant consists of three conversions.
15898 \end_layout
15899
15900 \begin_layout Standard
15901 We recommend using 
15902 \family sans
15903 PDF
15904 \begin_inset space ~
15905 \end_inset
15906
15907 (pdflatex)
15908 \family default
15909  because 
15910 \family typewriter
15911 pdftex
15912 \family default
15913  supports all the features of actual PDF-versions, is quick, stable, and
15914  works without problems.
15915  If you rely on multiscript support and\SpecialChar breakableslash
15916 or specific OpenType fonts, you might
15917  want to try out 
15918 \family sans
15919 PDF
15920 \begin_inset space ~
15921 \end_inset
15922
15923 (XeTeX)
15924 \family default
15925  or 
15926 \family sans
15927 PDF
15928 \begin_inset space ~
15929 \end_inset
15930
15931 (LuaTeX)
15932 \family default
15933  instead, bearing in mind that these two programs are not yet as mature
15934  as 
15935 \family typewriter
15936 pdflatex
15937 \family default
15938 .
15939 \end_layout
15940
15941 \begin_layout Subsubsection
15942 XHTML
15943 \begin_inset Index idx
15944 status collapsed
15945
15946 \begin_layout Plain Layout
15947 FileFormats ! XHTML
15948 \end_layout
15949
15950 \end_inset
15951
15952
15953 \begin_inset Index idx
15954 status collapsed
15955
15956 \begin_layout Plain Layout
15957 HTML
15958 \end_layout
15959
15960 \end_inset
15961
15962
15963 \end_layout
15964
15965 \begin_layout Standard
15966 This file type has the extension 
15967 \begin_inset Quotes eld
15968 \end_inset
15969
15970
15971 \family typewriter
15972 .xhtml
15973 \family default
15974
15975 \begin_inset Quotes erd
15976 \end_inset
15977
15978 .
15979  It is a file suitable for viewing in web browsers.
15980  It does not itself contain images and the like but only links to them.
15981  When \SpecialChar LyX
15982  produces XHTML, it also generates corresponding images in formats
15983  suitable for the purpose.
15984  For the math output you can choose in the menu 
15985 \family sans
15986 Document\SpecialChar menuseparator
15987 Settings\SpecialChar menuseparator
15988 Output
15989 \family default
15990  between different formats, which are described in section 
15991 \emph on
15992 Math Output in XHTML
15993 \emph default
15994  of the 
15995 \emph on
15996 Additional
15997 \begin_inset space ~
15998 \end_inset
15999
16000 Features
16001 \emph default
16002  manual.
16003 \end_layout
16004
16005 \begin_layout Standard
16006 XHTML output remains 
16007 \begin_inset Quotes eld
16008 \end_inset
16009
16010 under development
16011 \begin_inset Quotes erd
16012 \end_inset
16013
16014 , and not all \SpecialChar LyX
16015  features are supported yet.
16016  See the chapter 
16017 \emph on
16018 \SpecialChar LyX
16019  and the World Wide Web
16020 \emph default
16021 , in the 
16022 \emph on
16023 Additional Features
16024 \emph default
16025  manual, for more information.
16026 \end_layout
16027
16028 \begin_layout Standard
16029 You can export your document as an XHTML file using the menu item 
16030 \family sans
16031 File\SpecialChar menuseparator
16032 Export\SpecialChar menuseparator
16033 LyXHTML
16034 \family default
16035 .
16036 \end_layout
16037
16038 \begin_layout Subsection
16039 Previewing
16040 \begin_inset Index idx
16041 status collapsed
16042
16043 \begin_layout Plain Layout
16044 Document ! Preview 
16045 \end_layout
16046
16047 \end_inset
16048
16049
16050 \end_layout
16051
16052 \begin_layout Standard
16053 To get a look at the final version of your document, with all of the page
16054  breaks in place, the footnotes correctly numbered, and so on, use the menu
16055  
16056 \family sans
16057 Document
16058 \family default
16059  and choose 
16060 \family sans
16061 View
16062 \family default
16063  or use the toolbar button 
16064 \begin_inset Info
16065 type  "icon"
16066 arg   "buffer-view"
16067 \end_inset
16068
16069 .
16070  A viewing program will pop up showing the output in the defined default
16071  output format, which is globally set in the preferences (see section
16072 \begin_inset space ~
16073 \end_inset
16074
16075
16076 \begin_inset CommandInset ref
16077 LatexCommand ref
16078 reference "sec:File-Formats"
16079
16080 \end_inset
16081
16082 ) and can also be altered for single documents in the document settings
16083  (see section
16084 \begin_inset space ~
16085 \end_inset
16086
16087
16088 \begin_inset CommandInset ref
16089 LatexCommand ref
16090 reference "sec:Doc-Formats"
16091
16092 \end_inset
16093
16094 ).
16095  Further output formats can be selected via 
16096 \family sans
16097 Document\SpecialChar menuseparator
16098 View (Other Formats)
16099 \family default
16100  or the toolbar button 
16101 \begin_inset Info
16102 type  "icon"
16103 arg   "view-others"
16104 \end_inset
16105
16106 .
16107 \end_layout
16108
16109 \begin_layout Standard
16110 If you have changed your document, you can refresh the output in the same
16111  viewer window using the menu 
16112 \family sans
16113 Document\SpecialChar menuseparator
16114 Update
16115 \family default
16116  or 
16117 \family sans
16118 Document\SpecialChar menuseparator
16119 Update (Other Formats)
16120 \family default
16121 , respectively.
16122 \end_layout
16123
16124 \begin_layout Standard
16125 When you preview a file, the output file is only generated in \SpecialChar LyX
16126 's temporary
16127  directory.
16128  To have a real output, export your document.
16129 \end_layout
16130
16131 \begin_layout Section
16132 A few Words about Typography
16133 \begin_inset Index idx
16134 status collapsed
16135
16136 \begin_layout Plain Layout
16137 Typography
16138 \end_layout
16139
16140 \end_inset
16141
16142
16143 \end_layout
16144
16145 \begin_layout Subsection
16146 Hyphens, Dashes and Minus Signs
16147 \begin_inset Index idx
16148 status collapsed
16149
16150 \begin_layout Plain Layout
16151 Hyphens
16152 \end_layout
16153
16154 \end_inset
16155
16156
16157 \begin_inset Index idx
16158 status collapsed
16159
16160 \begin_layout Plain Layout
16161 Dashes
16162 \end_layout
16163
16164 \end_inset
16165
16166
16167 \end_layout
16168
16169 \begin_layout Standard
16170 In \SpecialChar LyX
16171 , the 
16172 \begin_inset Quotes eld
16173 \end_inset
16174
16175
16176 \family typewriter
16177 -
16178 \family default
16179
16180 \begin_inset Quotes erd
16181 \end_inset
16182
16183  symbol comes in four variants: the 
16184 \emph on
16185 hyphen
16186 \emph default
16187 , the 
16188 \emph on
16189 en dash
16190 \emph default
16191 , the 
16192 \emph on
16193 em dash
16194 \emph default
16195 , and the 
16196 \emph on
16197 minus sign
16198 \emph default
16199 :
16200 \begin_inset VSpace defskip
16201 \end_inset
16202
16203
16204 \end_layout
16205
16206 \begin_layout Standard
16207 \begin_inset Box Frameless
16208 position "t"
16209 hor_pos "c"
16210 has_inner_box 1
16211 inner_pos "t"
16212 use_parbox 0
16213 use_makebox 0
16214 width "100col%"
16215 special "none"
16216 height "1in"
16217 height_special "totalheight"
16218 thickness "0.4pt"
16219 separation "3pt"
16220 shadowsize "4pt"
16221 framecolor "black"
16222 backgroundcolor "none"
16223 status open
16224
16225 \begin_layout Plain Layout
16226 \begin_inset Tabular
16227 <lyxtabular version="3" rows="5" columns="3">
16228 <features tabularvalignment="middle">
16229 <column alignment="left" valignment="top" width="0pt">
16230 <column alignment="left" valignment="top">
16231 <column alignment="left" valignment="top">
16232 <row interlinespace="3mm">
16233 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
16234 \begin_inset Text
16235
16236 \begin_layout Plain Layout
16237 name
16238 \end_layout
16239
16240 \end_inset
16241 </cell>
16242 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16243 \begin_inset Text
16244
16245 \begin_layout Plain Layout
16246 output
16247 \end_layout
16248
16249 \end_inset
16250 </cell>
16251 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16252 \begin_inset Text
16253
16254 \begin_layout Plain Layout
16255 inserted with
16256 \end_layout
16257
16258 \end_inset
16259 </cell>
16260 </row>
16261 <row interlinespace="3mm">
16262 <cell alignment="left" valignment="top" usebox="none">
16263 \begin_inset Text
16264
16265 \begin_layout Plain Layout
16266 hyphen
16267 \end_layout
16268
16269 \end_inset
16270 </cell>
16271 <cell alignment="center" valignment="top" usebox="none">
16272 \begin_inset Text
16273
16274 \begin_layout Plain Layout
16275 -
16276 \end_layout
16277
16278 \end_inset
16279 </cell>
16280 <cell alignment="center" valignment="top" usebox="none">
16281 \begin_inset Text
16282
16283 \begin_layout Plain Layout
16284 \begin_inset Quotes eld
16285 \end_inset
16286
16287
16288 \family typewriter
16289 -
16290 \family default
16291
16292 \begin_inset Quotes erd
16293 \end_inset
16294
16295  in text
16296 \end_layout
16297
16298 \end_inset
16299 </cell>
16300 </row>
16301 <row interlinespace="3mm">
16302 <cell alignment="left" valignment="top" usebox="none">
16303 \begin_inset Text
16304
16305 \begin_layout Plain Layout
16306 en dash
16307 \end_layout
16308
16309 \end_inset
16310 </cell>
16311 <cell alignment="center" valignment="top" usebox="none">
16312 \begin_inset Text
16313
16314 \begin_layout Plain Layout
16315
16316 \end_layout
16317
16318 \end_inset
16319 </cell>
16320 <cell alignment="center" valignment="top" usebox="none">
16321 \begin_inset Text
16322
16323 \begin_layout Plain Layout
16324 system key combination
16325 \begin_inset Foot
16326 status collapsed
16327
16328 \begin_layout Plain Layout
16329 On Mac and Linux, the en dash is entered with 
16330 \family sans
16331 Opt+
16332 \begin_inset Quotes eld
16333 \end_inset
16334
16335 -
16336 \begin_inset Quotes erd
16337 \end_inset
16338
16339
16340 \family default
16341  and the em dash with 
16342 \family sans
16343 Shift-Opt+
16344 \begin_inset Quotes erd
16345 \end_inset
16346
16347 -
16348 \begin_inset Quotes erd
16349 \end_inset
16350
16351
16352 \family default
16353  (
16354 \family sans
16355 Opt
16356 \family default
16357  is the Mac label for the right 
16358 \family sans
16359 Alt 
16360 \family default
16361 key).
16362  
16363 \end_layout
16364
16365 \end_inset
16366
16367  or 
16368 \begin_inset Quotes eld
16369 \end_inset
16370
16371 --
16372 \begin_inset Quotes erd
16373 \end_inset
16374
16375  in text
16376 \end_layout
16377
16378 \end_inset
16379 </cell>
16380 </row>
16381 <row interlinespace="3mm">
16382 <cell alignment="left" valignment="top" usebox="none">
16383 \begin_inset Text
16384
16385 \begin_layout Plain Layout
16386 em dash
16387 \end_layout
16388
16389 \end_inset
16390 </cell>
16391 <cell alignment="center" valignment="top" usebox="none">
16392 \begin_inset Text
16393
16394 \begin_layout Plain Layout
16395
16396 \end_layout
16397
16398 \end_inset
16399 </cell>
16400 <cell alignment="center" valignment="top" usebox="none">
16401 \begin_inset Text
16402
16403 \begin_layout Plain Layout
16404 system key combination or 
16405 \begin_inset Quotes eld
16406 \end_inset
16407
16408 ---
16409 \begin_inset Quotes erd
16410 \end_inset
16411
16412  in text
16413 \end_layout
16414
16415 \end_inset
16416 </cell>
16417 </row>
16418 <row>
16419 <cell alignment="left" valignment="top" usebox="none">
16420 \begin_inset Text
16421
16422 \begin_layout Plain Layout
16423 minus sign
16424 \end_layout
16425
16426 \end_inset
16427 </cell>
16428 <cell alignment="center" valignment="top" usebox="none">
16429 \begin_inset Text
16430
16431 \begin_layout Plain Layout
16432 \begin_inset Formula $-$
16433 \end_inset
16434
16435
16436 \end_layout
16437
16438 \end_inset
16439 </cell>
16440 <cell alignment="center" valignment="top" usebox="none">
16441 \begin_inset Text
16442
16443 \begin_layout Plain Layout
16444 \begin_inset Quotes eld
16445 \end_inset
16446
16447
16448 \family typewriter
16449 -
16450 \family default
16451
16452 \begin_inset Quotes erd
16453 \end_inset
16454
16455  in math mode
16456 \end_layout
16457
16458 \end_inset
16459 </cell>
16460 </row>
16461 </lyxtabular>
16462
16463 \end_inset
16464
16465
16466 \end_layout
16467
16468 \end_inset
16469
16470
16471 \begin_inset VSpace defskip
16472 \end_inset
16473
16474
16475 \end_layout
16476
16477 \begin_layout Standard
16478 Dashes can also be inserted with 
16479 \family sans
16480 Insert\SpecialChar menuseparator
16481 Special
16482 \begin_inset space ~
16483 \end_inset
16484
16485 Character\SpecialChar menuseparator
16486 Symbols
16487 \family default
16488  or using the 
16489 \family typewriter
16490 unicode-insert
16491 \family default
16492  \SpecialChar LyX
16493  function with the Unicode code point as argument (2013 for the em dash
16494  and 2014 for the en dash).
16495 \end_layout
16496
16497 \begin_layout Standard
16498 Hyphen and dashes are distinct from the minus sign, which appears in math
16499  mode and has a length of its own.
16500  Here are some examples:
16501 \end_layout
16502
16503 \begin_layout Enumerate
16504 line- and page-breaks
16505 \begin_inset space \hfill{}
16506 \end_inset
16507
16508 (
16509 \emph on
16510 hyphen
16511 \emph default
16512 )
16513 \end_layout
16514
16515 \begin_layout Enumerate
16516 A–Z; pages
16517 \begin_inset space ~
16518 \end_inset
16519
16520 369–378
16521 \begin_inset space \hfill{}
16522 \end_inset
16523
16524 (
16525 \emph on
16526 en dash
16527 \emph default
16528 )
16529 \end_layout
16530
16531 \begin_layout Enumerate
16532 The em dash is used without spaces: Oh—there's a dash.
16533 \begin_inset space \hfill{}
16534 \end_inset
16535
16536 (
16537 \emph on
16538 em dash
16539 \emph default
16540 )
16541 \end_layout
16542
16543 \begin_layout Enumerate
16544 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
16545 \end_inset
16546
16547
16548 \begin_inset space \hfill{}
16549 \end_inset
16550
16551 (
16552 \emph on
16553 minus sign
16554 \emph default
16555 )
16556 \end_layout
16557
16558 \begin_layout Standard
16559 See also the 
16560 \begin_inset CommandInset href
16561 LatexCommand href
16562 name "Wikipedia entry on dashes"
16563 target "https://en.wikipedia.org/wiki/Dash"
16564 literal "false"
16565
16566 \end_inset
16567
16568 .
16569 \end_layout
16570
16571 \begin_layout Subsection
16572 Dashes and Line Breaks
16573 \begin_inset CommandInset label
16574 LatexCommand label
16575 name "subsec:Dashes-and-line-breaks"
16576
16577 \end_inset
16578
16579
16580 \end_layout
16581
16582 \begin_layout Standard
16583 Whether line breaks before or after dashes are allowed depends on the use
16584  case and locale, e.
16585 \begin_inset space \thinspace{}
16586 \end_inset
16587
16588 g.:
16589 \end_layout
16590
16591 \begin_layout Itemize
16592 In English, line breaks are generally allowed after the dash, but no line
16593  break should occur if only a single character follows the dash (as in A–Z).
16594 \end_layout
16595
16596 \begin_layout Itemize
16597 In English, dashes used to set off parenthetical statements should not start
16598  a new line.
16599 \end_layout
16600
16601 \begin_layout Itemize
16602 In French and Spanish, dashes around parenthetical statements are treated
16603  similar to brackets: line breaks are not allowed on the inner side.
16604 \end_layout
16605
16606 \begin_layout Standard
16607 By default, dashes are output by \SpecialChar LyX
16608  to \SpecialChar LaTeX
16609  as 
16610 \begin_inset Quotes eld
16611 \end_inset
16612
16613 ligature dashes
16614 \begin_inset Quotes erd
16615 \end_inset
16616
16617  (-- and ---).
16618  \SpecialChar LaTeX
16619  allows line breaks after hyphens, en-dashes and em-dashes.
16620 \end_layout
16621
16622 \begin_layout Enumerate
16623 Line breaks before spaced en dashes
16624 \begin_inset space ~
16625 \end_inset
16626
16627 – common in British English and generally recommended by 
16628 \emph on
16629 The Elements of Typographic Style
16630 \emph default
16631
16632 \begin_inset space ~
16633 \end_inset
16634
16635 – can be prevented using protected spaces.
16636 \end_layout
16637
16638 \begin_layout Enumerate
16639 Unwanted line breaks after dashes can be prevented by wrapping in a makebox
16640 \begin_inset Foot
16641 status collapsed
16642
16643 \begin_layout Plain Layout
16644 See section 
16645 \emph on
16646 Prevent Hyphenation
16647 \emph default
16648  of the 
16649 \emph on
16650 Embedded
16651 \begin_inset space ~
16652 \end_inset
16653
16654 Objects
16655 \emph default
16656  manual.
16657 \end_layout
16658
16659 \end_inset
16660
16661  or preceding with 
16662 \series bold
16663
16664 \backslash
16665 nobreakdash
16666 \series default
16667  in \SpecialChar TeX
16668  code.
16669  Examples:
16670 \end_layout
16671
16672 \begin_deeper
16673 \begin_layout Itemize
16674 Pages
16675 \begin_inset space ~
16676 \end_inset
16677
16678
16679 \begin_inset Box Frameless
16680 position "t"
16681 hor_pos "c"
16682 has_inner_box 1
16683 inner_pos "t"
16684 use_parbox 0
16685 use_makebox 1
16686 width ""
16687 special "none"
16688 height "1in"
16689 height_special "totalheight"
16690 thickness "0.4pt"
16691 separation "3pt"
16692 shadowsize "4pt"
16693 framecolor "black"
16694 backgroundcolor "none"
16695 status open
16696
16697 \begin_layout Plain Layout
16698 36–39
16699 \end_layout
16700
16701 \end_inset
16702
16703
16704 \end_layout
16705
16706 \begin_layout Itemize
16707
16708 \lang french
16709 Les incises 
16710 \begin_inset Box Frameless
16711 position "t"
16712 hor_pos "c"
16713 has_inner_box 1
16714 inner_pos "t"
16715 use_parbox 0
16716 use_makebox 1
16717 width ""
16718 special "none"
16719 height "1in"
16720 height_special "totalheight"
16721 thickness "0.4pt"
16722 separation "3pt"
16723 shadowsize "4pt"
16724 framecolor "black"
16725 backgroundcolor "none"
16726 status open
16727
16728 \begin_layout Plain Layout
16729
16730 \lang french
16731
16732 \begin_inset space ~
16733 \end_inset
16734
16735 même
16736 \end_layout
16737
16738 \end_inset
16739
16740  si tout le monde ne les aime pas
16741 \begin_inset space ~
16742 \end_inset
16743
16744 – sont très utiles.
16745 \end_layout
16746
16747 \begin_layout Itemize
16748
16749 \lang spanish
16750 En una frase 
16751 \begin_inset ERT
16752 status collapsed
16753
16754 \begin_layout Plain Layout
16755
16756
16757 \backslash
16758 nobreakdash
16759 \end_layout
16760
16761 \end_inset
16762
16763 —un inciso con rayas— se escribe así.
16764 \end_layout
16765
16766 \end_deeper
16767 \begin_layout Standard
16768 An incorrect line break is easily overlooked because
16769 \begin_inset space ~
16770 \end_inset
16771
16772 – in contrast to an overfull line
16773 \begin_inset space ~
16774 \end_inset
16775
16776 – it does not trigger a warning in the \SpecialChar LaTeX
16777  log.
16778 \end_layout
16779
16780 \begin_layout Standard
16781 If you want to globally disable line breaks after dashes, you can select
16782  the option 
16783 \family sans
16784 Document\SpecialChar menuseparator
16785 Settings\SpecialChar menuseparator
16786 Fonts\SpecialChar menuseparator
16787 Disallow line breaks after dashes
16788 \family default
16789 :
16790 \end_layout
16791
16792 \begin_layout Enumerate
16793 Line breaks are still allowed after spaced dashes.
16794  They can be prevented using protected spaces (without need for a makebox
16795  or \SpecialChar TeX
16796  code).
16797  Example:
16798 \end_layout
16799
16800 \begin_deeper
16801 \begin_layout Itemize
16802
16803 \lang french
16804 Les incises –
16805 \begin_inset space ~
16806 \end_inset
16807
16808 même si tout le monde ne les aime pas
16809 \begin_inset space ~
16810 \end_inset
16811
16812 – sont très utiles.
16813 \end_layout
16814
16815 \end_deeper
16816 \begin_layout Enumerate
16817 Line breaks after unspaced dashes can be allowed via the menu
16818 \begin_inset Newline newline
16819 \end_inset
16820
16821
16822 \family sans
16823 Insert\SpecialChar menuseparator
16824 Formatting\SpecialChar menuseparator
16825 Optional line break
16826 \family default
16827 :
16828 \end_layout
16829
16830 \begin_deeper
16831 \begin_layout Itemize
16832 Em-dashes without spaces—\SpecialChar allowbreak
16833 common in American English—\SpecialChar allowbreak
16834 should be followed by
16835  a line break opportunity.
16836 \end_layout
16837
16838 \begin_layout Standard
16839 This also allows hyphenation of the word following the dash (see section
16840 \begin_inset space ~
16841 \end_inset
16842
16843
16844 \begin_inset CommandInset ref
16845 LatexCommand ref
16846 reference "subsec:Hyphenation"
16847 plural "false"
16848 caps "false"
16849 noprefix "false"
16850
16851 \end_inset
16852
16853 ).
16854 \end_layout
16855
16856 \end_deeper
16857 \begin_layout Enumerate
16858 With this setting, \SpecialChar LaTeX
16859  hyphenates words also if immediately followed by em
16860  or en dashes (see section
16861 \begin_inset space ~
16862 \end_inset
16863
16864
16865 \begin_inset CommandInset ref
16866 LatexCommand ref
16867 reference "subsec:Hyphenation"
16868 plural "false"
16869 caps "false"
16870 noprefix "false"
16871
16872 \end_inset
16873
16874 ).
16875 \end_layout
16876
16877 \begin_layout Subsubsection
16878 Changes and backwards compatibility
16879 \end_layout
16880
16881 \begin_layout Standard
16882 Up to \SpecialChar LyX
16883
16884 \begin_inset space ~
16885 \end_inset
16886
16887 2.1, consecutive hyphen characters (-- and ---) in the LyX source were merged
16888  to en or em dashes by LaTeX.
16889  These 
16890 \begin_inset Quotes eld
16891 \end_inset
16892
16893 ligature dashes
16894 \begin_inset Quotes erd
16895 \end_inset
16896
16897  retain the line-break properties of hyphens while literal dash characters
16898  are regarded by \SpecialChar LaTeX
16899  as 
16900 \emph on
16901 non-breakable
16902 \emph default
16903 .
16904 \end_layout
16905
16906 \begin_layout Standard
16907 Since \SpecialChar LyX
16908
16909 \begin_inset space ~
16910 \end_inset
16911
16912 2.2, consecutive hyphens in the LyX source are exported to \SpecialChar LaTeX
16913  in a way that
16914  prevents ligation to dashes.
16915  
16916 \begin_inset Quotes eld
16917 \end_inset
16918
16919 Ligature dashes
16920 \begin_inset Quotes erd
16921 \end_inset
16922
16923  in documents from earlier versions are converted to literal dash characters
16924  (except in 
16925 \family typewriter
16926 typewriter
16927 \family default
16928  font); typed in consecutive hyphens are merged to dash characters immediately
16929  after the input (unless the current text font is 
16930 \family typewriter
16931 type
16932 \family default
16933 writer).
16934 \begin_inset Foot
16935 status open
16936
16937 \begin_layout Plain Layout
16938 The behavior was changed since 
16939 \begin_inset Quotes eld
16940 \end_inset
16941
16942 lyx --help
16943 \begin_inset Quotes erd
16944 \end_inset
16945
16946  became 
16947 \begin_inset Quotes eld
16948 \end_inset
16949
16950 lyx –help
16951 \begin_inset Quotes erd
16952 \end_inset
16953
16954  in PDF, Postscript, and DVI output.
16955  An unintended consequence of these changes was that all dashes were output
16956  as non-breakable dashes.
16957  This also resulted in changed line breaks in some older documents.
16958  
16959 \end_layout
16960
16961 \end_inset
16962
16963
16964 \end_layout
16965
16966 \begin_layout Standard
16967 \SpecialChar LyX
16968
16969 \begin_inset space ~
16970 \end_inset
16971
16972 2.3 outputs 
16973 \emph on
16974 breakable
16975 \emph default
16976  dashes by default.
16977  When opening documents edited with \SpecialChar LyX
16978
16979 \begin_inset space ~
16980 \end_inset
16981
16982 2.2 or earlier and containing literal dash characters not followed by whitespace,
16983  the setting 
16984 \family sans
16985 Document\SpecialChar menuseparator
16986 Settings\SpecialChar menuseparator
16987 Fonts\SpecialChar menuseparator
16988 Disallow line breaks after dashes
16989 \family default
16990  is active to prevent changes to the line breaks.
16991 \series bold
16992 Warning:
16993 \series default
16994  If you used both literal and 
16995 \begin_inset Quotes eld
16996 \end_inset
16997
16998 ligature
16999 \begin_inset Quotes erd
17000 \end_inset
17001
17002  dashes in pre-\SpecialChar LyX
17003
17004 \begin_inset space ~
17005 \end_inset
17006
17007 2.2 documents, you may need to enable or prevent individual line breaks as
17008  shown above to restore the correct line breaking behavior.
17009 \end_layout
17010
17011 \begin_layout Subsection
17012 Hyphenation
17013 \begin_inset Index idx
17014 status collapsed
17015
17016 \begin_layout Plain Layout
17017 Hyphenation
17018 \end_layout
17019
17020 \end_inset
17021
17022
17023 \begin_inset CommandInset label
17024 LatexCommand label
17025 name "subsec:Hyphenation"
17026
17027 \end_inset
17028
17029
17030 \end_layout
17031
17032 \begin_layout Standard
17033 Words are not hyphenated within \SpecialChar LyX
17034  but automatically in the output.
17035  Hyphenation is done by the \SpecialChar LaTeX
17036 -package 
17037 \series bold
17038 babel
17039 \series default
17040
17041 \begin_inset Index idx
17042 status collapsed
17043
17044 \begin_layout Plain Layout
17045 \SpecialChar LaTeX
17046  packages ! babel
17047 \end_layout
17048
17049 \end_inset
17050
17051  following the rules of the document language.
17052  \SpecialChar LaTeX
17053  does not hyphenate text in the 
17054 \family sans
17055 typewriter
17056 \family default
17057  font and words immediately preceded or followed by hyphens or dashes.
17058 \end_layout
17059
17060 \begin_layout Standard
17061 \SpecialChar LaTeX
17062  hyphenates almost perfectly; it only has problems with text in the 
17063 \family sans
17064 typewriter
17065 \family default
17066  font and with unusual constructs, like 
17067 \begin_inset Quotes eld
17068 \end_inset
17069
17070 h3knix/m0n0wall
17071 \begin_inset Quotes erd
17072 \end_inset
17073
17074 .
17075  If \SpecialChar LaTeX
17076  cannot break a word correctly, you can set hyphenation points manually.
17077  This is done with the menu 
17078 \family sans
17079 Insert\SpecialChar menuseparator
17080 Formatting\SpecialChar menuseparator
17081 Hyphenation
17082 \begin_inset space ~
17083 \end_inset
17084
17085 Point
17086 \family default
17087 .
17088  These extra hyphenation points are only recommendations to \SpecialChar LaTeX
17089 .
17090  If no hyphenation is necessary, \SpecialChar LaTeX
17091  will ignore them.
17092 \end_layout
17093
17094 \begin_layout Standard
17095 Sometimes you want to prevent words or constructs from being hyphenated.
17096  Imagine that you are describing keybindings/shortcuts in your document
17097  in the form 
17098 \begin_inset Quotes eld
17099 \end_inset
17100
17101 A-b c
17102 \begin_inset Quotes erd
17103 \end_inset
17104
17105 .
17106  \SpecialChar LaTeX
17107  would then see the hyphen 
17108 \begin_inset Quotes eld
17109 \end_inset
17110
17111 -
17112 \begin_inset Quotes erd
17113 \end_inset
17114
17115  as a line break possibility.
17116  A line break at this point would look ugly.
17117  To prevent the shortcut from being broken, you can use a protected hyphen
17118  (
17119 \family sans
17120 Insert\SpecialChar menuseparator
17121 Formatting\SpecialChar menuseparator
17122 Protected Hyphen
17123 \family default
17124 ) or put it into a makebox as described in section 
17125 \emph on
17126 Prevent Hyphenation
17127 \emph default
17128  of the 
17129 \emph on
17130 Embedded
17131 \begin_inset space ~
17132 \end_inset
17133
17134 Objects
17135 \emph default
17136  manual.
17137 \end_layout
17138
17139 \begin_layout Subsection
17140 Punctuation Marks
17141 \begin_inset Index idx
17142 status collapsed
17143
17144 \begin_layout Plain Layout
17145 Punctuation marks
17146 \end_layout
17147
17148 \end_inset
17149
17150
17151 \end_layout
17152
17153 \begin_layout Subsubsection
17154 Abbreviations and End of Sentence
17155 \begin_inset CommandInset label
17156 LatexCommand label
17157 name "subsec:Abbreviations"
17158
17159 \end_inset
17160
17161
17162 \end_layout
17163
17164 \begin_layout Standard
17165 When \SpecialChar LyX
17166  calls \SpecialChar LaTeX
17167  to generate the final version of your document, \SpecialChar LaTeX
17168  automatically
17169  distinguishes between words, sentences, and abbreviations.
17170  \SpecialChar LaTeX
17171  then adds the 
17172 \begin_inset Quotes eld
17173 \end_inset
17174
17175 appropriate amount of space.
17176 \begin_inset Quotes erd
17177 \end_inset
17178
17179  That means sentences get a little bit more space between the period and
17180  the next word.
17181  Abbreviations get the same amount of space after the period that a word
17182  gets after another word.
17183 \end_layout
17184
17185 \begin_layout Standard
17186 Unfortunately, the algorithm for figuring out what's an abbreviation does
17187  not work in all cases.
17188  If a 
17189 \begin_inset Quotes eld
17190 \end_inset
17191
17192
17193 \family typewriter
17194 .
17195 \family default
17196
17197 \begin_inset Quotes erd
17198 \end_inset
17199
17200  is at the end of a lowercase letter, it's the end of a sentence; if it's
17201  at the end of a capitalized letter, it's an abbreviation.
17202 \end_layout
17203
17204 \begin_layout Standard
17205 Here are some examples of 
17206 \emph on
17207 correct
17208 \emph default
17209  abbreviations and of the end of a sentence:
17210 \end_layout
17211
17212 \begin_layout Itemize
17213 M.
17214  Butterfly
17215 \end_layout
17216
17217 \begin_layout Itemize
17218 Don't worry.
17219  Be happy.
17220 \end_layout
17221
17222 \begin_layout Standard
17223 And here is an example of the algorithm going wrong:
17224 \end_layout
17225
17226 \begin_layout Itemize
17227 e.
17228 \begin_inset space \thinspace{}
17229 \end_inset
17230
17231 g.
17232  this is too much space!
17233 \end_layout
17234
17235 \begin_layout Itemize
17236 This is I.
17237  It's okay.
17238 \end_layout
17239
17240 \begin_layout Standard
17241 You will not see anything wrong until you view a final version of your document.
17242 \end_layout
17243
17244 \begin_layout Standard
17245 To fix this problem, use one of the following:
17246 \end_layout
17247
17248 \begin_layout Enumerate
17249 Use an 
17250 \family sans
17251 Inter-word
17252 \begin_inset space ~
17253 \end_inset
17254
17255 Space
17256 \family default
17257  after lowercase abbreviations (see section
17258 \begin_inset space ~
17259 \end_inset
17260
17261
17262 \begin_inset CommandInset ref
17263 LatexCommand ref
17264 reference "subsec:Inter-word-Space"
17265
17266 \end_inset
17267
17268 ).
17269 \begin_inset Index idx
17270 status collapsed
17271
17272 \begin_layout Plain Layout
17273 Spaces ! inter-word
17274 \end_layout
17275
17276 \end_inset
17277
17278
17279 \end_layout
17280
17281 \begin_layout Enumerate
17282 Use a 
17283 \family sans
17284 Thin
17285 \begin_inset space ~
17286 \end_inset
17287
17288 Space
17289 \family default
17290  between two tokens of an abbreviation (see section
17291 \begin_inset space ~
17292 \end_inset
17293
17294
17295 \begin_inset CommandInset ref
17296 LatexCommand ref
17297 reference "subsec:Thin-Space"
17298
17299 \end_inset
17300
17301 ).
17302 \begin_inset Index idx
17303 status collapsed
17304
17305 \begin_layout Plain Layout
17306 Spaces ! thin
17307 \end_layout
17308
17309 \end_inset
17310
17311
17312 \end_layout
17313
17314 \begin_layout Enumerate
17315 Use an 
17316 \family sans
17317 End
17318 \begin_inset space ~
17319 \end_inset
17320
17321 of
17322 \begin_inset space ~
17323 \end_inset
17324
17325 sentence
17326 \begin_inset space ~
17327 \end_inset
17328
17329 period
17330 \family default
17331  found under the 
17332 \family sans
17333 Insert\SpecialChar menuseparator
17334 Special
17335 \begin_inset space ~
17336 \end_inset
17337
17338 Character
17339 \family default
17340  menu to force the use of inter-sentence spacing.
17341  This function is also bound to 
17342 \begin_inset Info
17343 type  "shortcut"
17344 arg   "specialchar-insert end-of-sentence"
17345 \end_inset
17346
17347  for easy access.
17348 \end_layout
17349
17350 \begin_layout Standard
17351 With the corrections, our earlier examples look like this:
17352 \end_layout
17353
17354 \begin_layout Itemize
17355 e.
17356 \begin_inset space \thinspace{}
17357 \end_inset
17358
17359 g.
17360 \begin_inset space \space{}
17361 \end_inset
17362
17363 this is too much space!
17364 \end_layout
17365
17366 \begin_layout Itemize
17367 This is I\SpecialChar endofsentence
17368  It's okay.
17369 \end_layout
17370
17371 \begin_layout Standard
17372 Some languages don't use extra spacing between sentences.
17373  If your language is such a language, you don't need to worry, because \SpecialChar LaTeX
17374
17375  will take care of this.
17376 \end_layout
17377
17378 \begin_layout Standard
17379 For those that do need to bother, there is help to catch those sneaky errors:
17380  Check out the 
17381 \family sans
17382 Check
17383 \begin_inset space ~
17384 \end_inset
17385
17386 \SpecialChar TeX
17387
17388 \family default
17389  feature described in the section 
17390 \emph on
17391 Checking \SpecialChar TeX
17392
17393 \emph default
17394  of the 
17395 \emph on
17396 Additional Features
17397 \emph default
17398  manual.
17399 \end_layout
17400
17401 \begin_layout Subsubsection
17402 Quotation Marks
17403 \begin_inset Index idx
17404 status collapsed
17405
17406 \begin_layout Plain Layout
17407 Typography ! Quotation marks
17408 \end_layout
17409
17410 \end_inset
17411
17412
17413 \begin_inset Index idx
17414 status collapsed
17415
17416 \begin_layout Plain Layout
17417 Quotation marks | see
17418 \begin_inset ERT
17419 status collapsed
17420
17421 \begin_layout Plain Layout
17422
17423 {
17424 \end_layout
17425
17426 \end_inset
17427
17428 Typography
17429 \begin_inset ERT
17430 status collapsed
17431
17432 \begin_layout Plain Layout
17433
17434 }
17435 \end_layout
17436
17437 \end_inset
17438
17439
17440 \end_layout
17441
17442 \end_inset
17443
17444
17445 \end_layout
17446
17447 \begin_layout Standard
17448 \SpecialChar LyX
17449  usually sets quotation marks correctly.
17450  Specifically, it will insert an opening mark at the beginning of quoted
17451  text, and use a closing mark at the end.
17452  For example, 
17453 \begin_inset Quotes eld
17454 \end_inset
17455
17456 open close
17457 \begin_inset Quotes erd
17458 \end_inset
17459
17460 .
17461  The keyboard character, 
17462 \family sans
17463 "
17464 \family default
17465 , generates this automatically.
17466 \end_layout
17467
17468 \begin_layout Standard
17469 You can specify what character the 
17470 \family sans
17471 "
17472 \family default
17473  key produces by using the submenu 
17474 \family sans
17475 Language
17476 \family default
17477  of the 
17478 \family sans
17479 Document\SpecialChar menuseparator
17480 Settings
17481 \family default
17482
17483 \begin_inset Index idx
17484 status collapsed
17485
17486 \begin_layout Plain Layout
17487 Document ! Settings
17488 \end_layout
17489
17490 \end_inset
17491
17492  dialog and switching the 
17493 \family sans
17494 Quote Style
17495 \family default
17496  (note that \SpecialChar LyX
17497  makes a sensible proposal for the selected main language).
17498  There are 14
17499 \begin_inset space ~
17500 \end_inset
17501
17502 choices:
17503 \end_layout
17504
17505 \begin_layout Labeling
17506 \labelwidthstring <<Outer>> and <<inner>>:
17507 \noindent
17508
17509 \family sans
17510 \begin_inset Quotes eld
17511 \end_inset
17512
17513 Outer
17514 \begin_inset Quotes erd
17515 \end_inset
17516
17517
17518 \begin_inset space ~
17519 \end_inset
17520
17521 and
17522 \begin_inset space ~
17523 \end_inset
17524
17525
17526 \begin_inset Quotes els
17527 \end_inset
17528
17529 inner
17530 \begin_inset Quotes ers
17531 \end_inset
17532
17533
17534 \family default
17535  Produces 
17536 \begin_inset Quotes eld
17537 \end_inset
17538
17539 these outer
17540 \begin_inset Quotes erd
17541 \end_inset
17542
17543  and 
17544 \begin_inset Quotes els
17545 \end_inset
17546
17547 these inner
17548 \begin_inset Quotes ers
17549 \end_inset
17550
17551  quotation marks (as common, e.
17552 \begin_inset space \thinspace{}
17553 \end_inset
17554
17555 g., in the US)
17556 \end_layout
17557
17558 \begin_layout Labeling
17559 \labelwidthstring <<Outer>> and <<inner>>:
17560
17561 \family sans
17562 \begin_inset Quotes sld
17563 \end_inset
17564
17565 Outer
17566 \begin_inset Quotes sld
17567 \end_inset
17568
17569
17570 \begin_inset space ~
17571 \end_inset
17572
17573 and
17574 \begin_inset space ~
17575 \end_inset
17576
17577
17578 \begin_inset Quotes sls
17579 \end_inset
17580
17581 inner
17582 \begin_inset Quotes srs
17583 \end_inset
17584
17585
17586 \family default
17587  Produces 
17588 \begin_inset Quotes sld
17589 \end_inset
17590
17591 these outer
17592 \begin_inset Quotes sld
17593 \end_inset
17594
17595  and 
17596 \begin_inset Quotes sls
17597 \end_inset
17598
17599 these inner
17600 \begin_inset Quotes srs
17601 \end_inset
17602
17603  quotation marks (as common, e.
17604 \begin_inset space \thinspace{}
17605 \end_inset
17606
17607 g., in Sweden)
17608 \end_layout
17609
17610 \begin_layout Labeling
17611 \labelwidthstring <<Outer>> and <<inner>>:
17612
17613 \family sans
17614 \begin_inset Quotes gld
17615 \end_inset
17616
17617 Outer
17618 \begin_inset Quotes grd
17619 \end_inset
17620
17621
17622 \begin_inset space ~
17623 \end_inset
17624
17625 and
17626 \begin_inset space ~
17627 \end_inset
17628
17629
17630 \begin_inset Quotes gls
17631 \end_inset
17632
17633 inner
17634 \begin_inset Quotes grs
17635 \end_inset
17636
17637
17638 \family default
17639  Produces 
17640 \begin_inset Quotes gld
17641 \end_inset
17642
17643 these outer
17644 \begin_inset Quotes grd
17645 \end_inset
17646
17647  and 
17648 \begin_inset Quotes gls
17649 \end_inset
17650
17651 these inner
17652 \begin_inset Quotes grs
17653 \end_inset
17654
17655  quotation marks (as common, e.
17656 \begin_inset space \thinspace{}
17657 \end_inset
17658
17659 g., in Germany)
17660 \end_layout
17661
17662 \begin_layout Labeling
17663 \labelwidthstring <<Outer>> and <<inner>>:
17664
17665 \family sans
17666 \begin_inset Quotes pld
17667 \end_inset
17668
17669 Outer
17670 \begin_inset Quotes prd
17671 \end_inset
17672
17673
17674 \begin_inset space ~
17675 \end_inset
17676
17677 and
17678 \begin_inset space ~
17679 \end_inset
17680
17681
17682 \begin_inset Quotes pls
17683 \end_inset
17684
17685 inner
17686 \begin_inset Quotes prs
17687 \end_inset
17688
17689
17690 \family default
17691  Produces 
17692 \begin_inset Quotes pld
17693 \end_inset
17694
17695 these outer
17696 \begin_inset Quotes prd
17697 \end_inset
17698
17699  and 
17700 \begin_inset Quotes pls
17701 \end_inset
17702
17703 these inner
17704 \begin_inset Quotes prs
17705 \end_inset
17706
17707  quotation marks (as common, e.
17708 \begin_inset space \thinspace{}
17709 \end_inset
17710
17711 g., in Poland)
17712 \end_layout
17713
17714 \begin_layout Labeling
17715 \labelwidthstring <<Outer>> and <<inner>>:
17716
17717 \family sans
17718 \begin_inset Quotes cld
17719 \end_inset
17720
17721 Outer
17722 \begin_inset Quotes crd
17723 \end_inset
17724
17725
17726 \begin_inset space ~
17727 \end_inset
17728
17729 and
17730 \begin_inset space ~
17731 \end_inset
17732
17733
17734 \begin_inset Quotes cls
17735 \end_inset
17736
17737 inner
17738 \begin_inset Quotes crs
17739 \end_inset
17740
17741
17742 \family default
17743  Produces 
17744 \begin_inset Quotes cld
17745 \end_inset
17746
17747 these outer
17748 \begin_inset Quotes crd
17749 \end_inset
17750
17751  and 
17752 \begin_inset Quotes cls
17753 \end_inset
17754
17755 these inner
17756 \begin_inset Quotes crs
17757 \end_inset
17758
17759  quotation marks (as common, e.
17760 \begin_inset space \thinspace{}
17761 \end_inset
17762
17763 g., in Switzerland)
17764 \end_layout
17765
17766 \begin_layout Labeling
17767 \labelwidthstring <<Outer>> and <<inner>>:
17768
17769 \family sans
17770 \begin_inset Quotes ald
17771 \end_inset
17772
17773 Outer
17774 \begin_inset Quotes ard
17775 \end_inset
17776
17777
17778 \begin_inset space ~
17779 \end_inset
17780
17781 and
17782 \begin_inset space ~
17783 \end_inset
17784
17785
17786 \begin_inset Quotes als
17787 \end_inset
17788
17789 inner
17790 \begin_inset Quotes ars
17791 \end_inset
17792
17793
17794 \family default
17795  Produces 
17796 \begin_inset Quotes ald
17797 \end_inset
17798
17799 these outer
17800 \begin_inset Quotes ard
17801 \end_inset
17802
17803  and 
17804 \begin_inset Quotes als
17805 \end_inset
17806
17807 these inner
17808 \begin_inset Quotes ars
17809 \end_inset
17810
17811  quotation marks (as common, e.
17812 \begin_inset space \thinspace{}
17813 \end_inset
17814
17815 g., in Denmark)
17816 \end_layout
17817
17818 \begin_layout Labeling
17819 \labelwidthstring <<Outer>> and <<inner>>:
17820
17821 \family sans
17822 \begin_inset Quotes qrd
17823 \end_inset
17824
17825 Outer
17826 \begin_inset Quotes qrd
17827 \end_inset
17828
17829
17830 \begin_inset space ~
17831 \end_inset
17832
17833 and
17834 \begin_inset space ~
17835 \end_inset
17836
17837
17838 \begin_inset Quotes qls
17839 \end_inset
17840
17841 inner
17842 \begin_inset Quotes qls
17843 \end_inset
17844
17845
17846 \family default
17847  Produces 
17848 \begin_inset Quotes qrd
17849 \end_inset
17850
17851 these outer
17852 \begin_inset Quotes qrd
17853 \end_inset
17854
17855  and 
17856 \begin_inset Quotes qls
17857 \end_inset
17858
17859 these inner
17860 \begin_inset Quotes qls
17861 \end_inset
17862
17863  quotation marks (so-called plain or non-typographical quotation marks)
17864 \end_layout
17865
17866 \begin_layout Labeling
17867 \labelwidthstring <<Outer>> and <<inner>>:
17868
17869 \family sans
17870 \begin_inset Quotes bld
17871 \end_inset
17872
17873 Outer
17874 \begin_inset Quotes brd
17875 \end_inset
17876
17877
17878 \begin_inset space ~
17879 \end_inset
17880
17881 and
17882 \begin_inset space ~
17883 \end_inset
17884
17885
17886 \begin_inset Quotes bls
17887 \end_inset
17888
17889 inner
17890 \begin_inset Quotes brs
17891 \end_inset
17892
17893
17894 \family default
17895  Produces 
17896 \begin_inset Quotes bld
17897 \end_inset
17898
17899 these outer
17900 \begin_inset Quotes brd
17901 \end_inset
17902
17903  and 
17904 \begin_inset Quotes bls
17905 \end_inset
17906
17907 these inner
17908 \begin_inset Quotes brs
17909 \end_inset
17910
17911  quotation marks (as common, e.
17912 \begin_inset space \thinspace{}
17913 \end_inset
17914
17915 g., in Great Britain)
17916 \end_layout
17917
17918 \begin_layout Labeling
17919 \labelwidthstring <<Outer>> and <<inner>>:
17920
17921 \family sans
17922 \begin_inset Quotes fld
17923 \end_inset
17924
17925 Outer
17926 \begin_inset Quotes frd
17927 \end_inset
17928
17929
17930 \begin_inset space ~
17931 \end_inset
17932
17933 and
17934 \begin_inset space ~
17935 \end_inset
17936
17937
17938 \begin_inset Quotes fls
17939 \end_inset
17940
17941 inner
17942 \begin_inset Quotes frs
17943 \end_inset
17944
17945
17946 \family default
17947  Produces 
17948 \begin_inset Quotes fld
17949 \end_inset
17950
17951 these outer
17952 \begin_inset Quotes frd
17953 \end_inset
17954
17955  and 
17956 \begin_inset Quotes fls
17957 \end_inset
17958
17959 these inner
17960 \begin_inset Quotes frs
17961 \end_inset
17962
17963  quotation marks (as common, e.
17964 \begin_inset space \thinspace{}
17965 \end_inset
17966
17967 g., in France)
17968 \end_layout
17969
17970 \begin_layout Labeling
17971 \labelwidthstring <<Outer>> and <<inner>>:
17972
17973 \family sans
17974 \begin_inset Quotes ild
17975 \end_inset
17976
17977 Outer
17978 \begin_inset Quotes ird
17979 \end_inset
17980
17981
17982 \begin_inset space ~
17983 \end_inset
17984
17985 and
17986 \begin_inset space ~
17987 \end_inset
17988
17989
17990 \begin_inset Quotes ils
17991 \end_inset
17992
17993 inner
17994 \begin_inset Quotes irs
17995 \end_inset
17996
17997
17998 \family default
17999  Produces 
18000 \begin_inset Quotes ild
18001 \end_inset
18002
18003 these outer
18004 \begin_inset Quotes ird
18005 \end_inset
18006
18007  and 
18008 \begin_inset Quotes ils
18009 \end_inset
18010
18011 these inner
18012 \begin_inset Quotes irs
18013 \end_inset
18014
18015  quotation marks (another style common in France)
18016 \begin_inset Foot
18017 status collapsed
18018
18019 \begin_layout Plain Layout
18020 Maybe you wonder why one does not simply use only outer marks in this case,
18021  since these look identical to the inner marks.
18022  The answer is that you cannot easily switch to another style then (where
18023  the inner marks differ).
18024 \end_layout
18025
18026 \end_inset
18027
18028
18029 \end_layout
18030
18031 \begin_layout Labeling
18032 \labelwidthstring <<Outer>> and <<inner>>:
18033
18034 \family sans
18035 \begin_inset Quotes rld
18036 \end_inset
18037
18038 Outer
18039 \begin_inset Quotes rrd
18040 \end_inset
18041
18042
18043 \begin_inset space ~
18044 \end_inset
18045
18046 and
18047 \begin_inset space ~
18048 \end_inset
18049
18050
18051 \begin_inset Quotes rls
18052 \end_inset
18053
18054 inner
18055 \begin_inset Quotes rrs
18056 \end_inset
18057
18058
18059 \family default
18060  Produces 
18061 \begin_inset Quotes rld
18062 \end_inset
18063
18064 these outer
18065 \begin_inset Quotes rrd
18066 \end_inset
18067
18068  and 
18069 \begin_inset Quotes rls
18070 \end_inset
18071
18072 these inner
18073 \begin_inset Quotes rrs
18074 \end_inset
18075
18076  quotation marks (as common, e.
18077 \begin_inset space \thinspace{}
18078 \end_inset
18079
18080 g., in Russia)
18081 \end_layout
18082
18083 \begin_layout Labeling
18084 \labelwidthstring <<Outer>> and <<inner>>:
18085
18086 \family sans
18087 \begin_inset Quotes wld
18088 \end_inset
18089
18090 Outer
18091 \begin_inset Quotes wrd
18092 \end_inset
18093
18094
18095 \begin_inset space ~
18096 \end_inset
18097
18098 and
18099 \begin_inset space ~
18100 \end_inset
18101
18102
18103 \begin_inset Quotes wls
18104 \end_inset
18105
18106 inner
18107 \begin_inset Quotes wrs
18108 \end_inset
18109
18110
18111 \family default
18112  Produces 
18113 \begin_inset Quotes wld
18114 \end_inset
18115
18116 these outer
18117 \begin_inset Quotes wrd
18118 \end_inset
18119
18120  and 
18121 \begin_inset Quotes wls
18122 \end_inset
18123
18124 these inner
18125 \begin_inset Quotes wrs
18126 \end_inset
18127
18128  quotation marks (another style common in Sweden)
18129 \end_layout
18130
18131 \begin_layout Labeling
18132 \labelwidthstring <<Outer>> and <<inner>>:
18133 \begin_inset Quotes jld
18134 \end_inset
18135
18136
18137 \family sans
18138 Outer
18139 \family default
18140
18141 \begin_inset Quotes jrd
18142 \end_inset
18143
18144
18145 \family sans
18146
18147 \begin_inset space ~
18148 \end_inset
18149
18150 and
18151 \begin_inset space ~
18152 \end_inset
18153
18154
18155 \family default
18156
18157 \begin_inset Quotes jls
18158 \end_inset
18159
18160
18161 \family sans
18162 inner
18163 \family default
18164
18165 \begin_inset Quotes jrs
18166 \end_inset
18167
18168  Produces 
18169 \begin_inset Quotes jld
18170 \end_inset
18171
18172 these outer
18173 \begin_inset Quotes jrd
18174 \end_inset
18175
18176  and 
18177 \begin_inset Quotes jls
18178 \end_inset
18179
18180 these inner
18181 \begin_inset Quotes jrs
18182 \end_inset
18183
18184  quotation marks (as common, e.
18185 \begin_inset space \thinspace{}
18186 \end_inset
18187
18188 g., in Japan)
18189 \begin_inset Foot
18190 status collapsed
18191
18192 \begin_layout Plain Layout
18193 Note that these characters are just emulated with similar-looking math symbols
18194  in many encodings that do not cover these glyphs.
18195 \end_layout
18196
18197 \end_inset
18198
18199
18200 \end_layout
18201
18202 \begin_layout Labeling
18203 \labelwidthstring <<Outer>> and <<inner>>:
18204 \begin_inset Quotes kld
18205 \end_inset
18206
18207
18208 \family sans
18209 Outer
18210 \family default
18211
18212 \begin_inset Quotes krd
18213 \end_inset
18214
18215
18216 \family sans
18217
18218 \begin_inset space ~
18219 \end_inset
18220
18221 and
18222 \begin_inset space ~
18223 \end_inset
18224
18225
18226 \family default
18227
18228 \begin_inset Quotes kls
18229 \end_inset
18230
18231
18232 \family sans
18233 inner
18234 \family default
18235
18236 \begin_inset Quotes krs
18237 \end_inset
18238
18239  Produces 
18240 \begin_inset Quotes kld
18241 \end_inset
18242
18243 these outer
18244 \begin_inset Quotes krd
18245 \end_inset
18246
18247  and 
18248 \begin_inset Quotes kls
18249 \end_inset
18250
18251 these inner
18252 \begin_inset Quotes krs
18253 \end_inset
18254
18255  quotation marks (as common, e.
18256 \begin_inset space \thinspace{}
18257 \end_inset
18258
18259 g., in North Korea and China)
18260 \begin_inset Foot
18261 status collapsed
18262
18263 \begin_layout Plain Layout
18264 Note that these characters are just emulated with similar-looking math symbols
18265  in many encodings that do not cover these glyphs.
18266 \end_layout
18267
18268 \end_inset
18269
18270
18271 \end_layout
18272
18273 \begin_layout Standard
18274 Inner quotation marks
18275 \begin_inset Foot
18276 status collapsed
18277
18278 \begin_layout Plain Layout
18279 In many writing cultures, these are single quotation marks.
18280  But as the British and French styles show, this is not necessarily the
18281  case (and specifically the British style shows that 
18282 \begin_inset Quotes eld
18283 \end_inset
18284
18285 outer
18286 \begin_inset Quotes erd
18287 \end_inset
18288
18289  does not necessarily mean 
18290 \begin_inset Quotes eld
18291 \end_inset
18292
18293 double
18294 \begin_inset Quotes erd
18295 \end_inset
18296
18297 ).
18298  This is why we call them 
18299 \begin_inset Quotes els
18300 \end_inset
18301
18302 inner
18303 \begin_inset Quotes ers
18304 \end_inset
18305
18306  as opposed to 
18307 \begin_inset Quotes eld
18308 \end_inset
18309
18310 outer
18311 \begin_inset Quotes erd
18312 \end_inset
18313
18314  quotation marks.
18315 \end_layout
18316
18317 \end_inset
18318
18319  for quotations inside quotations (and other tasks in some languages, such
18320  as 
18321 \begin_inset Quotes els
18322 \end_inset
18323
18324 scare quotes
18325 \begin_inset Quotes ers
18326 \end_inset
18327
18328 ) can be obtained by means of the shortcut 
18329 \begin_inset Info
18330 type  "shortcut"
18331 arg   "quote-insert inner"
18332 \end_inset
18333
18334  and via the 
18335 \family sans
18336 Insert\SpecialChar menuseparator
18337 Special Characters
18338 \family default
18339  menu.
18340 \end_layout
18341
18342 \begin_layout Standard
18343 By default, the quotation mark styles are persistent.
18344  That is to say, a quotation mark maintains the style that was current when
18345  it was inserted, even if the document-wide style changes.
18346  This allows you to enter marks of different style.
18347  If you check the setting 
18348 \family sans
18349 Use dynamic quotation marks
18350 \family default
18351  in 
18352 \family sans
18353 Document\SpecialChar menuseparator
18354 Settings\SpecialChar menuseparator
18355 Language
18356 \family default
18357 , however, special quotation marks will be inserted (in the LyX window,
18358  they appear in a special color).
18359  These marks will automatically adapt to the main style (and its changes).
18360  Such quotation marks make it easy to alter the quotation mark style in
18361  one step (e.
18362 \begin_inset space \thinspace{}
18363 \end_inset
18364
18365 g., if your publisher requests a different style).
18366 \end_layout
18367
18368 \begin_layout Standard
18369 Individual quotation marks (i.
18370 \begin_inset space \thinspace{}
18371 \end_inset
18372
18373 e., their level [inner, outer], side [opening, closing], and style) can be
18374  easily switched by a context menu that pops up if you right-click on a
18375  mark.
18376 \end_layout
18377
18378 \begin_layout Subsection
18379 Ligatures
18380 \begin_inset Index idx
18381 status collapsed
18382
18383 \begin_layout Plain Layout
18384 Typography ! Ligatures
18385 \end_layout
18386
18387 \end_inset
18388
18389
18390 \begin_inset Index idx
18391 status collapsed
18392
18393 \begin_layout Plain Layout
18394 Ligatures | see
18395 \begin_inset ERT
18396 status collapsed
18397
18398 \begin_layout Plain Layout
18399
18400 {
18401 \end_layout
18402
18403 \end_inset
18404
18405 Typography
18406 \begin_inset ERT
18407 status collapsed
18408
18409 \begin_layout Plain Layout
18410
18411 }
18412 \end_layout
18413
18414 \end_inset
18415
18416
18417 \end_layout
18418
18419 \end_inset
18420
18421
18422 \begin_inset CommandInset label
18423 LatexCommand label
18424 name "subsec:Ligatures"
18425
18426 \end_inset
18427
18428
18429 \end_layout
18430
18431 \begin_layout Standard
18432 It is standard typesetting practice to group certain letters together and
18433  print them as single characters.
18434  These groups are known as 
18435 \emph on
18436 ligatures
18437 \emph default
18438 .
18439  Since \SpecialChar LaTeX
18440  knows about ligatures, your documents will contain them too in the
18441  output.
18442  Here are the standard ligatures:
18443 \end_layout
18444
18445 \begin_layout Itemize
18446 ff
18447 \end_layout
18448
18449 \begin_layout Itemize
18450 fi
18451 \end_layout
18452
18453 \begin_layout Itemize
18454 fl
18455 \end_layout
18456
18457 \begin_layout Itemize
18458 ffi
18459 \end_layout
18460
18461 \begin_layout Itemize
18462 ffl
18463 \end_layout
18464
18465 \begin_layout Standard
18466 Some languages uses other ligatures if the document font supports them.
18467 \end_layout
18468
18469 \begin_layout Standard
18470 Sometimes, you don't want a ligature in a word.
18471  While a ligature may be okay in the word, 
18472 \begin_inset Quotes eld
18473 \end_inset
18474
18475 graffiti,
18476 \begin_inset Quotes erd
18477 \end_inset
18478
18479  it looks really weird in compound words, such as 
18480 \begin_inset Quotes eld
18481 \end_inset
18482
18483 cufflink
18484 \begin_inset Quotes erd
18485 \end_inset
18486
18487  or the German 
18488 \begin_inset Quotes eld
18489 \end_inset
18490
18491 Dorffest.
18492 \begin_inset Quotes erd
18493 \end_inset
18494
18495  To break a ligature, use 
18496 \family sans
18497 Insert\SpecialChar menuseparator
18498 Formatting\SpecialChar menuseparator
18499 Ligature
18500 \begin_inset space ~
18501 \end_inset
18502
18503 Break.
18504
18505 \family default
18506  This changes 
18507 \begin_inset Quotes eld
18508 \end_inset
18509
18510 cufflinks
18511 \begin_inset Quotes erd
18512 \end_inset
18513
18514  to 
18515 \begin_inset Quotes eld
18516 \end_inset
18517
18518 cuff\SpecialChar ligaturebreak
18519 links
18520 \begin_inset Quotes erd
18521 \end_inset
18522
18523  and 
18524 \begin_inset Quotes eld
18525 \end_inset
18526
18527 Dorffest
18528 \begin_inset Quotes erd
18529 \end_inset
18530
18531  to 
18532 \begin_inset Quotes eld
18533 \end_inset
18534
18535 Dorf\SpecialChar ligaturebreak
18536 fest
18537 \begin_inset Quotes erd
18538 \end_inset
18539
18540 .
18541 \end_layout
18542
18543 \begin_layout Subsection
18544 \SpecialChar LyX
18545  and \SpecialChar LaTeX
18546  Logos
18547 \begin_inset Index idx
18548 status collapsed
18549
18550 \begin_layout Plain Layout
18551 \SpecialChar LyX
18552  ! Proper names
18553 \end_layout
18554
18555 \end_inset
18556
18557
18558 \end_layout
18559
18560 \begin_layout Standard
18561 Via 
18562 \family sans
18563 Insert\SpecialChar menuseparator
18564 Special Characters\SpecialChar menuseparator
18565 Logos
18566 \family default
18567 , \SpecialChar LyX
18568  provides the following program logos with special formatting:
18569 \end_layout
18570
18571 \begin_layout Description
18572 \SpecialChar LyX
18573  The name of the game.
18574 \end_layout
18575
18576 \begin_layout Description
18577 \SpecialChar TeX
18578  The typesetting engine used by \SpecialChar LyX
18579 .
18580 \end_layout
18581
18582 \begin_layout Description
18583 \SpecialChar LaTeX
18584  The \SpecialChar TeX
18585  macro collection used by \SpecialChar LyX
18586 .
18587 \end_layout
18588
18589 \begin_layout Description
18590 \SpecialChar LaTeX2e
18591  The current version of \SpecialChar LaTeX
18592 .
18593 \end_layout
18594
18595 \begin_layout Standard
18596 You might wonder why the \SpecialChar LaTeX
18597  version is 
18598 \begin_inset Quotes eld
18599 \end_inset
18600
18601 2
18602 \begin_inset Formula $\epsilon$
18603 \end_inset
18604
18605
18606 \begin_inset Quotes erd
18607 \end_inset
18608
18609 .
18610  It is an old tradition in the \SpecialChar TeX
18611  world to give programs geek version numbers.
18612  For example the version number of \SpecialChar TeX
18613  converges to the number 
18614 \begin_inset Formula $\pi$
18615 \end_inset
18616
18617 : The actual version is 
18618 \begin_inset Quotes eld
18619 \end_inset
18620
18621 \SpecialChar TeX
18622 -3.141592
18623 \begin_inset Quotes erd
18624 \end_inset
18625
18626 , the previous one was 
18627 \begin_inset Quotes eld
18628 \end_inset
18629
18630 \SpecialChar TeX
18631 -3.14159
18632 \begin_inset Quotes erd
18633 \end_inset
18634
18635 .
18636 \end_layout
18637
18638 \begin_layout Subsection
18639 Units
18640 \begin_inset Index idx
18641 status collapsed
18642
18643 \begin_layout Plain Layout
18644 Typography ! Units
18645 \end_layout
18646
18647 \end_inset
18648
18649
18650 \end_layout
18651
18652 \begin_layout Standard
18653 Generally the space between units and the number is smaller than the normal
18654  space between two words.
18655  As you can see in the example below, it looks better when the space is
18656  smaller.
18657  To get such a 
18658 \begin_inset Quotes eld
18659 \end_inset
18660
18661 half space
18662 \begin_inset Quotes erd
18663 \end_inset
18664
18665  for units use the menu 
18666 \family sans
18667 Insert\SpecialChar menuseparator
18668 Formatting\SpecialChar menuseparator
18669 Thin
18670 \begin_inset space ~
18671 \end_inset
18672
18673 Space
18674 \family default
18675  (shortcut 
18676 \begin_inset Info
18677 type  "shortcuts"
18678 arg   "space-insert thin"
18679 \end_inset
18680
18681 ).
18682 \end_layout
18683
18684 \begin_layout Standard
18685 Here is an example to show the differences:
18686 \end_layout
18687
18688 \begin_layout Standard
18689 \begin_inset Tabular
18690 <lyxtabular version="3" rows="2" columns="2">
18691 <features tabularvalignment="middle">
18692 <column alignment="left" valignment="top">
18693 <column alignment="left" valignment="top">
18694 <row>
18695 <cell alignment="center" valignment="top" usebox="none">
18696 \begin_inset Text
18697
18698 \begin_layout Plain Layout
18699 24
18700 \begin_inset space ~
18701 \end_inset
18702
18703 kW
18704 \begin_inset Formula $\cdot$
18705 \end_inset
18706
18707 h
18708 \end_layout
18709
18710 \end_inset
18711 </cell>
18712 <cell alignment="center" valignment="top" usebox="none">
18713 \begin_inset Text
18714
18715 \begin_layout Plain Layout
18716 space between number and unit
18717 \end_layout
18718
18719 \end_inset
18720 </cell>
18721 </row>
18722 <row>
18723 <cell alignment="center" valignment="top" usebox="none">
18724 \begin_inset Text
18725
18726 \begin_layout Plain Layout
18727 24
18728 \begin_inset space \thinspace{}
18729 \end_inset
18730
18731 kW
18732 \begin_inset Formula $\cdot$
18733 \end_inset
18734
18735 h
18736 \end_layout
18737
18738 \end_inset
18739 </cell>
18740 <cell alignment="center" valignment="top" usebox="none">
18741 \begin_inset Text
18742
18743 \begin_layout Plain Layout
18744 half space between number and unit
18745 \end_layout
18746
18747 \end_inset
18748 </cell>
18749 </row>
18750 </lyxtabular>
18751
18752 \end_inset
18753
18754
18755 \end_layout
18756
18757 \begin_layout Subsection
18758 Widows and Orphans
18759 \begin_inset Index idx
18760 status collapsed
18761
18762 \begin_layout Plain Layout
18763 Typography ! Widows and orphans
18764 \end_layout
18765
18766 \end_inset
18767
18768
18769 \end_layout
18770
18771 \begin_layout Standard
18772 In the early days of word processors, page breaks went wherever the page
18773  happened to end.
18774  There was no regard for what was actually going on in the text.
18775  For example the heading for a new section was printed at the very bottom
18776  of the page, the first line of a new paragraph all alone at the bottom
18777  of a page, or the last line of a paragraph at the top of a new page.
18778  These bits of text became known as 
18779 \emph on
18780 widows
18781 \emph default
18782  and 
18783 \emph on
18784 orphans
18785 \emph default
18786 .
18787 \end_layout
18788
18789 \begin_layout Standard
18790 Clearly, \SpecialChar LyX
18791  can avoid breaking pages after a section heading.
18792  That's part of the advantage of paragraph environments.
18793  But what about widows and orphans, where the page breaks leave one line
18794  of a paragraph all alone at the top or bottom of a page? There are rules
18795  built into \SpecialChar LaTeX
18796  governing page breaks, and some of those rules are there specifical
18797 ly to prevent widows and orphans.
18798  If they appear nevertheless and you don't like them, you can add the commands
18799 \begin_inset Newline newline
18800 \end_inset
18801
18802
18803 \series bold
18804
18805 \backslash
18806 widowpenalty=10000
18807 \begin_inset Newline newline
18808 \end_inset
18809
18810
18811 \backslash
18812 clubpenalty=10000
18813 \series default
18814
18815 \begin_inset Newline newline
18816 \end_inset
18817
18818 to the \SpecialChar LaTeX
18819  preamble of your document to avoid them.
18820  Some \SpecialChar LaTeX
18821  books (such as
18822 \begin_inset space ~
18823 \end_inset
18824
18825
18826 \begin_inset CommandInset citation
18827 LatexCommand cite
18828 key "latexcompanion"
18829 literal "true"
18830
18831 \end_inset
18832
18833  or
18834 \begin_inset space ~
18835 \end_inset
18836
18837
18838 \begin_inset CommandInset citation
18839 LatexCommand cite
18840 key "latexguide"
18841 literal "true"
18842
18843 \end_inset
18844
18845 ) have more information about the technical details of \SpecialChar LaTeX
18846 's page break mechanism.
18847 \end_layout
18848
18849 \begin_layout Chapter
18850 Notes, Graphics, Tables and Floats
18851 \begin_inset CommandInset label
18852 LatexCommand label
18853 name "chap:Floats-and-Notes"
18854
18855 \end_inset
18856
18857
18858 \end_layout
18859
18860 \begin_layout Standard
18861 The issues of this chapter are described in detail in the 
18862 \emph on
18863 Embedded
18864 \begin_inset space ~
18865 \end_inset
18866
18867 Objects
18868 \emph default
18869  manual.
18870  There you will also find tips and tricks for special cases.
18871 \end_layout
18872
18873 \begin_layout Section
18874 Notes
18875 \begin_inset Index idx
18876 status collapsed
18877
18878 \begin_layout Plain Layout
18879 Notes
18880 \end_layout
18881
18882 \end_inset
18883
18884
18885 \begin_inset CommandInset label
18886 LatexCommand label
18887 name "sec:Notes"
18888
18889 \end_inset
18890
18891
18892 \end_layout
18893
18894 \begin_layout Standard
18895 \SpecialChar LyX
18896  offers you a few types of notes to add to your document:
18897 \end_layout
18898
18899 \begin_layout Description
18900 \SpecialChar LyX
18901
18902 \begin_inset space ~
18903 \end_inset
18904
18905 Note This note type is for internal notes that will not appear in the output.
18906 \begin_inset Newline newline
18907 \end_inset
18908
18909
18910 \begin_inset Note Note
18911 status open
18912
18913 \begin_layout Plain Layout
18914 This is text in a note box that doesn't appear in the output.
18915 \end_layout
18916
18917 \end_inset
18918
18919
18920 \end_layout
18921
18922 \begin_layout Description
18923 Comment This note also doesn't appear in the output but it does appear as
18924  a \SpecialChar LaTeX
18925 -comment when you export the document to \SpecialChar LaTeX
18926  via the menu 
18927 \family sans
18928 File\SpecialChar menuseparator
18929 Export\SpecialChar menuseparator
18930 LaTeX
18931 \begin_inset space ~
18932 \end_inset
18933
18934 (xxx)
18935 \family default
18936 .
18937 \begin_inset Newline newline
18938 \end_inset
18939
18940
18941 \begin_inset Note Comment
18942 status open
18943
18944 \begin_layout Plain Layout
18945 This is text in a note box that only appears as a comment in \SpecialChar LaTeX
18946 -files.
18947 \end_layout
18948
18949 \end_inset
18950
18951
18952 \end_layout
18953
18954 \begin_layout Description
18955 Greyed
18956 \begin_inset space ~
18957 \end_inset
18958
18959 Out This note will appear in the output as text in a color which you can
18960  set in the document settings under 
18961 \family sans
18962 Colors\SpecialChar menuseparator
18963 Greyed-out
18964 \begin_inset space ~
18965 \end_inset
18966
18967 notes
18968 \family default
18969 .
18970 \begin_inset Newline newline
18971 \end_inset
18972
18973
18974 \begin_inset Newline newline
18975 \end_inset
18976
18977
18978 \begin_inset Note Greyedout
18979 status open
18980
18981 \begin_layout Plain Layout
18982 This is the text
18983 \begin_inset Foot
18984 status collapsed
18985
18986 \begin_layout Plain Layout
18987 This is an example footnote within a greyed out note.
18988  In this document the color of this note type is set to blue.
18989 \end_layout
18990
18991 \end_inset
18992
18993  of a comment that appears in the output.
18994 \end_layout
18995
18996 \end_inset
18997
18998
18999 \begin_inset Newline newline
19000 \end_inset
19001
19002
19003 \begin_inset Newline newline
19004 \end_inset
19005
19006 As you can see in the example, greyed out notes can have footnotes.
19007 \end_layout
19008
19009 \begin_layout Standard
19010 Notes are inserted with the toolbar button 
19011 \begin_inset Info
19012 type  "icon"
19013 arg   "note-insert"
19014 \end_inset
19015
19016  or the menu 
19017 \family sans
19018 Insert\SpecialChar menuseparator
19019 Note
19020 \family default
19021 .
19022  Right-click on the note box that appears to select the note type.
19023 \end_layout
19024
19025 \begin_layout Section
19026 Footnotes
19027 \begin_inset Index idx
19028 status collapsed
19029
19030 \begin_layout Plain Layout
19031 Footnotes
19032 \end_layout
19033
19034 \end_inset
19035
19036
19037 \begin_inset CommandInset label
19038 LatexCommand label
19039 name "sec:Footnotes"
19040
19041 \end_inset
19042
19043
19044 \end_layout
19045
19046 \begin_layout Standard
19047 \SpecialChar LyX
19048  uses boxes to display footnotes: When you insert a footnote using the menu
19049  
19050 \family sans
19051 Insert\SpecialChar menuseparator
19052 Footnote
19053 \family default
19054  or the toolbar button 
19055 \begin_inset Info
19056 type  "icon"
19057 arg   "footnote-insert"
19058 \end_inset
19059
19060
19061 \family roman
19062 \series medium
19063 \bar no
19064 you will see
19065 \family default
19066 \series default
19067 \bar default
19068  a box like this: 
19069 \begin_inset Graphics
19070         filename clipart/footnote.png
19071         scale 95
19072
19073 \end_inset
19074
19075
19076 \family roman
19077 \series medium
19078 \bar no
19079  This box is \SpecialChar LyX
19080 's representation of your footnote.
19081  If you
19082 \family default
19083 \series default
19084 \bar default
19085  left-click on 
19086 \family roman
19087 \series medium
19088 \bar no
19089 the 
19090 \begin_inset Quotes eld
19091 \end_inset
19092
19093
19094 \family sans
19095 foot
19096 \family roman
19097
19098 \begin_inset Quotes erd
19099 \end_inset
19100
19101
19102 \family default
19103 \series default
19104 \bar default
19105  
19106 \family roman
19107 \series medium
19108 \bar no
19109 label, the box will
19110 \family default
19111 \series default
19112 \bar default
19113  be opened and you can enter the footnote text into it.
19114  Clicking on the box label again will close 
19115 \family roman
19116 \series medium
19117 \bar no
19118 the
19119 \family default
19120 \series default
19121 \bar default
19122  box
19123 \family roman
19124 \series medium
19125 \bar no
19126 .
19127  If you want to turn existing text into a footnote, simply highlight it
19128  and click on the footnote
19129 \family default
19130 \series default
19131 \bar default
19132  toolbar 
19133 \family roman
19134 \series medium
19135 \bar no
19136 button
19137 \family default
19138 \series default
19139 \bar default
19140 .
19141 \end_layout
19142
19143 \begin_layout Standard
19144 Here is an example footnote:
19145 \family roman
19146 \series medium
19147 \bar no
19148
19149 \begin_inset Foot
19150 status collapsed
19151
19152 \begin_layout Plain Layout
19153 To close a footnote, click on the footnote box label.
19154 \end_layout
19155
19156 \end_inset
19157
19158
19159 \end_layout
19160
19161 \begin_layout Standard
19162 The footnote will appear in the output as a superscript number at the text
19163  position where the footnote box is placed.
19164  The footnote text is placed at the bottom of the current page.
19165  The footnote number is calculated by \SpecialChar LyX
19166  according to the document class.
19167  \SpecialChar LyX
19168  does not yet support a particular numbering scheme, but you can get other
19169  schemes using special \SpecialChar LaTeX
19170 -commands.
19171  T
19172 \family roman
19173 h
19174 \family default
19175 ey are described in the 
19176 \emph on
19177 Embedded
19178 \begin_inset space ~
19179 \end_inset
19180
19181 Objects
19182 \emph default
19183  manual.
19184 \end_layout
19185
19186 \begin_layout Section
19187 Marginal Notes
19188 \begin_inset Index idx
19189 status collapsed
19190
19191 \begin_layout Plain Layout
19192 Marginal notes
19193 \end_layout
19194
19195 \end_inset
19196
19197
19198 \begin_inset CommandInset label
19199 LatexCommand label
19200 name "sec:Marginal-Notes"
19201
19202 \end_inset
19203
19204
19205 \end_layout
19206
19207 \begin_layout Standard
19208 Marginal notes look and behave just like footnotes in \SpecialChar LyX
19209 .
19210  When you insert a margin note via the menu 
19211 \family sans
19212 Insert\SpecialChar menuseparator
19213 Marginal
19214 \begin_inset space ~
19215 \end_inset
19216
19217 Note
19218 \family default
19219  or the toolbar button 
19220 \begin_inset Info
19221 type  "icon"
19222 arg   "marginalnote-insert"
19223 \end_inset
19224
19225 , you will see 
19226 \family roman
19227 \series medium
19228 a
19229 \family default
19230 \series default
19231  
19232 \family roman
19233 \series medium
19234 box with the
19235 \family default
19236 \series default
19237  
19238 \family roman
19239 \series medium
19240 label 
19241 \begin_inset Quotes eld
19242 \end_inset
19243
19244 margin
19245 \begin_inset Quotes erd
19246 \end_inset
19247
19248  appearing within your text.
19249  This box is \SpecialChar LyX
19250 's representation of your margin
19251 \family default
19252 \series default
19253 al 
19254 \family roman
19255 \series medium
19256 note.
19257 \end_layout
19258
19259 \begin_layout Standard
19260 At the side of this sentence is an example marginal note.
19261 \family roman
19262 \series medium
19263
19264 \begin_inset Marginal
19265 status open
19266
19267 \begin_layout Plain Layout
19268 \align left
19269 This is a marginal note.
19270 \end_layout
19271
19272 \end_inset
19273
19274
19275 \end_layout
19276
19277 \begin_layout Standard
19278 Marginal notes appear at the right side in single-sided documents.
19279  In double-sided documents they appear in the outer margin – left on even
19280  pages, right on odd pages.
19281 \end_layout
19282
19283 \begin_layout Standard
19284 For further information about marginal notes see the section 
19285 \emph on
19286 Margin
19287 \begin_inset space ~
19288 \end_inset
19289
19290 Notes
19291 \emph default
19292  in the 
19293 \emph on
19294 Embedded
19295 \begin_inset space ~
19296 \end_inset
19297
19298 Objects
19299 \emph default
19300  manual.
19301 \end_layout
19302
19303 \begin_layout Section
19304 Graphics and Images
19305 \begin_inset Index idx
19306 status collapsed
19307
19308 \begin_layout Plain Layout
19309 Images
19310 \end_layout
19311
19312 \end_inset
19313
19314
19315 \begin_inset Index idx
19316 status collapsed
19317
19318 \begin_layout Plain Layout
19319 Graphics
19320 \end_layout
19321
19322 \end_inset
19323
19324
19325 \begin_inset CommandInset label
19326 LatexCommand label
19327 name "sec:Graphics"
19328
19329 \end_inset
19330
19331
19332 \end_layout
19333
19334 \begin_layout Standard
19335 To insert an image in your document, place the cursor at the text position
19336  you want and click on the toolbar icon 
19337 \begin_inset Info
19338 type  "icon"
19339 arg   "dialog-show-new-inset graphics"
19340 \end_inset
19341
19342  or select 
19343 \family sans
19344 Insert\SpecialChar menuseparator
19345 Graphics
19346 \family default
19347  from the menu.
19348  Then a dialog will appear to choose the file to load.
19349 \end_layout
19350
19351 \begin_layout Standard
19352 This dialog has numerous mostly self-explanatory parameters.
19353  The 
19354 \family sans
19355 Graphics
19356 \family default
19357  tab allows you to choose your image file.
19358  The image can be transformed by setting a rotation angle and a scaling
19359  factor.
19360  The scaling units are explained in Appendix
19361 \begin_inset space ~
19362 \end_inset
19363
19364
19365 \begin_inset CommandInset ref
19366 LatexCommand ref
19367 reference "chap:Units-available-in"
19368
19369 \end_inset
19370
19371 .
19372 \end_layout
19373
19374 \begin_layout Standard
19375 In the tab 
19376 \family sans
19377 Clipping
19378 \family default
19379  it is possible to set image coordinates to adjust the height and width
19380  of the image in the output.
19381  The coordinates can also be calculated automatically by pressing the button
19382  
19383 \family sans
19384 Get
19385 \begin_inset space ~
19386 \end_inset
19387
19388 from
19389 \begin_inset space ~
19390 \end_inset
19391
19392 file
19393 \family default
19394 .
19395  The option 
19396 \family sans
19397 Clip
19398 \begin_inset space ~
19399 \end_inset
19400
19401 to
19402 \begin_inset space ~
19403 \end_inset
19404
19405 bounding
19406 \begin_inset space ~
19407 \end_inset
19408
19409 box
19410 \family default
19411  will only print the image region within the given coordinates.
19412  Normally you don't need to take care about image coordinates and can ignore
19413  the tab 
19414 \family sans
19415 Clipping
19416 \family default
19417 .
19418 \end_layout
19419
19420 \begin_layout Standard
19421 In the 
19422 \family sans
19423 LaTeX
19424 \begin_inset space ~
19425 \end_inset
19426
19427 and
19428 \begin_inset space ~
19429 \end_inset
19430
19431 LyX options
19432 \family default
19433  tab \SpecialChar LaTeX
19434  experts can specify additional \SpecialChar LaTeX
19435  options.
19436  In this tab you can also specify the appearance of the image inside \SpecialChar LyX
19437 .
19438  The option 
19439 \family sans
19440 Draft
19441 \begin_inset space ~
19442 \end_inset
19443
19444 mode
19445 \family default
19446  has the effect that the image doesn't appear in the output, only a frame
19447  with the image size is printed.
19448 \end_layout
19449
19450 \begin_layout Standard
19451 The graphics dialog can be called at any time by clicking on an image.
19452  Images will appear in the output exactly at the position where they are
19453  in the text.
19454  This is an example image within a separate, horizontally centered paragraph:
19455 \end_layout
19456
19457 \begin_layout Standard
19458 \align center
19459 \begin_inset Graphics
19460         filename clipart/2D-intensity-plot.pdf
19461         scale 70
19462
19463 \end_inset
19464
19465
19466 \end_layout
19467
19468 \begin_layout Standard
19469 If you need image captions or want to reference images, you have to put
19470  the image into a float, see section
19471 \begin_inset space ~
19472 \end_inset
19473
19474
19475 \begin_inset CommandInset ref
19476 LatexCommand ref
19477 reference "subsec:Figure-Floats"
19478
19479 \end_inset
19480
19481 .
19482 \end_layout
19483
19484 \begin_layout Subsection
19485 Image Formats
19486 \begin_inset Index idx
19487 status collapsed
19488
19489 \begin_layout Plain Layout
19490 Images ! Formats
19491 \end_layout
19492
19493 \end_inset
19494
19495
19496 \begin_inset CommandInset label
19497 LatexCommand label
19498 name "subsec:Image-Formats"
19499
19500 \end_inset
19501
19502
19503 \end_layout
19504
19505 \begin_layout Standard
19506 You can insert images in any known file format.
19507  But as we explained in section
19508 \begin_inset space ~
19509 \end_inset
19510
19511
19512 \begin_inset CommandInset ref
19513 LatexCommand ref
19514 reference "subsec:Output-file-formats"
19515
19516 \end_inset
19517
19518 , every output document format allows only a few image formats.
19519  \SpecialChar LyX
19520  therefore uses the program 
19521 \family typewriter
19522 ImageMagick
19523 \family default
19524  in the background to convert the images to the right format.
19525  To increase your workflow by avoiding these conversions in the background,
19526  use only the image formats listed in the subsections of section
19527 \begin_inset space ~
19528 \end_inset
19529
19530
19531 \begin_inset CommandInset ref
19532 LatexCommand ref
19533 reference "subsec:Output-file-formats"
19534
19535 \end_inset
19536
19537 .
19538 \end_layout
19539
19540 \begin_layout Standard
19541 Similar to fonts there are two types of image formats:
19542 \end_layout
19543
19544 \begin_layout Description
19545 Bitmap
19546 \begin_inset space ~
19547 \end_inset
19548
19549 images consist of pixel values, often in a compressed form.
19550  They are therefore not fully scalable and look pixelated in large zooms.
19551  Well-known bitmap image formats are 
19552 \begin_inset Quotes eld
19553 \end_inset
19554
19555 Graphics Interchange Format
19556 \begin_inset Quotes erd
19557 \end_inset
19558
19559  (GIF, file extension 
19560 \begin_inset Quotes eld
19561 \end_inset
19562
19563
19564 \family typewriter
19565 .gif
19566 \family default
19567
19568 \begin_inset Quotes erd
19569 \end_inset
19570
19571 )
19572 \begin_inset Index idx
19573 status collapsed
19574
19575 \begin_layout Plain Layout
19576 GIF|see
19577 \begin_inset ERT
19578 status collapsed
19579
19580 \begin_layout Plain Layout
19581
19582 {
19583 \end_layout
19584
19585 \end_inset
19586
19587 Image formats
19588 \begin_inset ERT
19589 status collapsed
19590
19591 \begin_layout Plain Layout
19592
19593 }
19594 \end_layout
19595
19596 \end_inset
19597
19598
19599 \end_layout
19600
19601 \end_inset
19602
19603
19604 \begin_inset Quotes eld
19605 \end_inset
19606
19607 Portable Network Graphics
19608 \begin_inset Quotes erd
19609 \end_inset
19610
19611  (PNG, file extension 
19612 \begin_inset Quotes eld
19613 \end_inset
19614
19615
19616 \family typewriter
19617 .png
19618 \family default
19619
19620 \begin_inset Quotes erd
19621 \end_inset
19622
19623 )
19624 \begin_inset Index idx
19625 status collapsed
19626
19627 \begin_layout Plain Layout
19628 PNG|see
19629 \begin_inset ERT
19630 status collapsed
19631
19632 \begin_layout Plain Layout
19633
19634 {
19635 \end_layout
19636
19637 \end_inset
19638
19639 Image formats
19640 \begin_inset ERT
19641 status collapsed
19642
19643 \begin_layout Plain Layout
19644
19645 }
19646 \end_layout
19647
19648 \end_inset
19649
19650
19651 \end_layout
19652
19653 \end_inset
19654
19655 , and 
19656 \begin_inset Quotes eld
19657 \end_inset
19658
19659 Joint Photographic Experts Group
19660 \begin_inset Quotes erd
19661 \end_inset
19662
19663  (JPG, file extension 
19664 \begin_inset Quotes eld
19665 \end_inset
19666
19667
19668 \family typewriter
19669 .jpg
19670 \family default
19671
19672 \begin_inset Quotes erd
19673 \end_inset
19674
19675  or 
19676 \begin_inset Quotes eld
19677 \end_inset
19678
19679
19680 \family typewriter
19681 .jpeg
19682 \family default
19683
19684 \begin_inset Quotes erd
19685 \end_inset
19686
19687 )
19688 \begin_inset Index idx
19689 status collapsed
19690
19691 \begin_layout Plain Layout
19692 JPG|see
19693 \begin_inset ERT
19694 status collapsed
19695
19696 \begin_layout Plain Layout
19697
19698 {
19699 \end_layout
19700
19701 \end_inset
19702
19703 Image formats
19704 \begin_inset ERT
19705 status collapsed
19706
19707 \begin_layout Plain Layout
19708
19709 }
19710 \end_layout
19711
19712 \end_inset
19713
19714
19715 \end_layout
19716
19717 \end_inset
19718
19719 .
19720 \end_layout
19721
19722 \begin_layout Description
19723 Scalable
19724 \begin_inset space ~
19725 \end_inset
19726
19727 images consist of vectors and can therefore be scaled to any size without
19728  data loss.
19729  The scaling ability is desired if you want to create presentations, because
19730  presentations are always scaled by the beamer.
19731  Scaling is also useful for online documents to let the user zoom into diagrams.
19732 \begin_inset Newline newline
19733 \end_inset
19734
19735 Scalable image formats can be 
19736 \begin_inset Quotes eld
19737 \end_inset
19738
19739 Scalable Vector Graphics
19740 \begin_inset Quotes erd
19741 \end_inset
19742
19743  (SVG, file extension 
19744 \begin_inset Quotes eld
19745 \end_inset
19746
19747
19748 \family typewriter
19749 .svg
19750 \family default
19751
19752 \begin_inset Quotes erd
19753 \end_inset
19754
19755 )
19756 \begin_inset Index idx
19757 status collapsed
19758
19759 \begin_layout Plain Layout
19760 SVG|see
19761 \begin_inset ERT
19762 status collapsed
19763
19764 \begin_layout Plain Layout
19765
19766 {
19767 \end_layout
19768
19769 \end_inset
19770
19771 Image formats
19772 \begin_inset ERT
19773 status collapsed
19774
19775 \begin_layout Plain Layout
19776
19777 }
19778 \end_layout
19779
19780 \end_inset
19781
19782
19783 \end_layout
19784
19785 \end_inset
19786
19787
19788 \begin_inset Quotes eld
19789 \end_inset
19790
19791 Encapsulated PostScript
19792 \begin_inset Quotes erd
19793 \end_inset
19794
19795  (EPS, file extension 
19796 \begin_inset Quotes eld
19797 \end_inset
19798
19799
19800 \family typewriter
19801 .eps
19802 \family default
19803
19804 \begin_inset Quotes erd
19805 \end_inset
19806
19807 )
19808 \begin_inset Index idx
19809 status collapsed
19810
19811 \begin_layout Plain Layout
19812 EPS|see
19813 \begin_inset ERT
19814 status collapsed
19815
19816 \begin_layout Plain Layout
19817
19818 {
19819 \end_layout
19820
19821 \end_inset
19822
19823 Image formats
19824 \begin_inset ERT
19825 status collapsed
19826
19827 \begin_layout Plain Layout
19828
19829 }
19830 \end_layout
19831
19832 \end_inset
19833
19834
19835 \end_layout
19836
19837 \end_inset
19838
19839 , and 
19840 \begin_inset Quotes eld
19841 \end_inset
19842
19843 Portable Document Format
19844 \begin_inset Quotes erd
19845 \end_inset
19846
19847  (PDF, file extension 
19848 \begin_inset Quotes eld
19849 \end_inset
19850
19851
19852 \family typewriter
19853 .pdf
19854 \family default
19855
19856 \begin_inset Quotes erd
19857 \end_inset
19858
19859 )
19860 \begin_inset Index idx
19861 status collapsed
19862
19863 \begin_layout Plain Layout
19864 PDF
19865 \end_layout
19866
19867 \end_inset
19868
19869 .
19870  We say 
19871 \begin_inset Quotes eld
19872 \end_inset
19873
19874 can be
19875 \begin_inset Quotes erd
19876 \end_inset
19877
19878 , because you can convert any bitmap image format to PDF or EPS and the
19879  result will not be scalable.
19880  In this case only a header with the image properties is added to the original
19881  image.
19882 \begin_inset Foot
19883 status collapsed
19884
19885 \begin_layout Plain Layout
19886 In the case of PDF, the original image is additionally compressed.
19887 \end_layout
19888
19889 \end_inset
19890
19891
19892 \end_layout
19893
19894 \begin_layout Standard
19895 Normally one cannot convert a bitmap image into a scalable one, only 
19896 \emph on
19897 vice versa
19898 \emph default
19899 .
19900 \end_layout
19901
19902 \begin_layout Subsection
19903 Grouping of Image Settings
19904 \begin_inset Index idx
19905 status collapsed
19906
19907 \begin_layout Plain Layout
19908 Images ! Settings grouping
19909 \end_layout
19910
19911 \end_inset
19912
19913
19914 \end_layout
19915
19916 \begin_layout Standard
19917 Each image can define a new group of image settings or join an existing
19918  group.
19919  Images within such a group share their settings, so adjusting one image
19920  of the group automatically also adjusts all other images of the group in
19921  the same way.
19922  So you can for example change the size for a bunch of images without the
19923  need to manually change each of them.
19924  
19925 \end_layout
19926
19927 \begin_layout Standard
19928 A new group can be set by pressing the button 
19929 \family sans
19930 Open
19931 \begin_inset space ~
19932 \end_inset
19933
19934 new
19935 \begin_inset space ~
19936 \end_inset
19937
19938 group
19939 \family default
19940  in the
19941 \family sans
19942  Graphics
19943 \family default
19944  dialog in the 
19945 \family sans
19946 LaTeX
19947 \begin_inset space ~
19948 \end_inset
19949
19950 and
19951 \begin_inset space ~
19952 \end_inset
19953
19954 LyX options
19955 \family default
19956  tab.
19957  Joining an existing group can be done using the context menu of the image
19958  and checking the name of the desired group.
19959 \end_layout
19960
19961 \begin_layout Section
19962 Tables
19963 \begin_inset Index idx
19964 status collapsed
19965
19966 \begin_layout Plain Layout
19967 Tables
19968 \end_layout
19969
19970 \end_inset
19971
19972
19973 \begin_inset CommandInset label
19974 LatexCommand label
19975 name "sec:Tables"
19976
19977 \end_inset
19978
19979
19980 \end_layout
19981
19982 \begin_layout Standard
19983 You can insert a table using either the toolbar button 
19984 \begin_inset Info
19985 type  "icon"
19986 arg   "tabular-insert"
19987 \end_inset
19988
19989  or the menu 
19990 \family sans
19991 Insert\SpecialChar menuseparator
19992 Table
19993 \family default
19994 .
19995  A dialog will appear, asking you for the number of rows and columns.
19996  The default table has lines around any cell and the first row appears separated
19997  from the rest of the table.
19998  This separation appears due to a double line: The cells of the first row
19999  have a line below them and the cells of the second row have a line above
20000  them.
20001  Here is an example table:
20002 \end_layout
20003
20004 \begin_layout Standard
20005 \align center
20006 \begin_inset Tabular
20007 <lyxtabular version="3" rows="4" columns="4">
20008 <features tabularvalignment="middle">
20009 <column alignment="center" valignment="top" width="0pt">
20010 <column alignment="center" valignment="top" width="0pt">
20011 <column alignment="center" valignment="top" width="0in">
20012 <column alignment="center" valignment="top" width="0pt">
20013 <row>
20014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20015 \begin_inset Text
20016
20017 \begin_layout Plain Layout
20018
20019 \end_layout
20020
20021 \end_inset
20022 </cell>
20023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20024 \begin_inset Text
20025
20026 \begin_layout Plain Layout
20027
20028 \family roman
20029 \series medium
20030 \shape up
20031 \size normal
20032 \emph off
20033 \bar no
20034 \noun off
20035 \color none
20036 1
20037 \end_layout
20038
20039 \end_inset
20040 </cell>
20041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20042 \begin_inset Text
20043
20044 \begin_layout Plain Layout
20045 2
20046 \end_layout
20047
20048 \end_inset
20049 </cell>
20050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20051 \begin_inset Text
20052
20053 \begin_layout Plain Layout
20054 3
20055 \end_layout
20056
20057 \end_inset
20058 </cell>
20059 </row>
20060 <row>
20061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20062 \begin_inset Text
20063
20064 \begin_layout Plain Layout
20065
20066 \family roman
20067 \series medium
20068 \shape up
20069 \size normal
20070 \emph off
20071 \bar no
20072 \noun off
20073 \color none
20074 A
20075 \end_layout
20076
20077 \end_inset
20078 </cell>
20079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20080 \begin_inset Text
20081
20082 \begin_layout Plain Layout
20083
20084 \end_layout
20085
20086 \end_inset
20087 </cell>
20088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20089 \begin_inset Text
20090
20091 \begin_layout Plain Layout
20092
20093 \end_layout
20094
20095 \end_inset
20096 </cell>
20097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20098 \begin_inset Text
20099
20100 \begin_layout Plain Layout
20101
20102 \end_layout
20103
20104 \end_inset
20105 </cell>
20106 </row>
20107 <row>
20108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20109 \begin_inset Text
20110
20111 \begin_layout Plain Layout
20112
20113 \family roman
20114 \series medium
20115 \shape up
20116 \size normal
20117 \emph off
20118 \bar no
20119 \noun off
20120 \color none
20121 B
20122 \end_layout
20123
20124 \end_inset
20125 </cell>
20126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20127 \begin_inset Text
20128
20129 \begin_layout Plain Layout
20130
20131 \end_layout
20132
20133 \end_inset
20134 </cell>
20135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20136 \begin_inset Text
20137
20138 \begin_layout Plain Layout
20139
20140 \size normal
20141 \noun off
20142 \color none
20143  
20144 \end_layout
20145
20146 \end_inset
20147 </cell>
20148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20149 \begin_inset Text
20150
20151 \begin_layout Plain Layout
20152
20153 \end_layout
20154
20155 \end_inset
20156 </cell>
20157 </row>
20158 <row>
20159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20160 \begin_inset Text
20161
20162 \begin_layout Plain Layout
20163
20164 \family roman
20165 \series medium
20166 \shape up
20167 \size normal
20168 \emph off
20169 \bar no
20170 \noun off
20171 \color none
20172 C
20173 \end_layout
20174
20175 \end_inset
20176 </cell>
20177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20178 \begin_inset Text
20179
20180 \begin_layout Plain Layout
20181
20182 \end_layout
20183
20184 \end_inset
20185 </cell>
20186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20187 \begin_inset Text
20188
20189 \begin_layout Plain Layout
20190
20191 \end_layout
20192
20193 \end_inset
20194 </cell>
20195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20196 \begin_inset Text
20197
20198 \begin_layout Plain Layout
20199
20200 \end_layout
20201
20202 \end_inset
20203 </cell>
20204 </row>
20205 </lyxtabular>
20206
20207 \end_inset
20208
20209
20210 \end_layout
20211
20212 \begin_layout Subsection
20213 Table Dialog
20214 \end_layout
20215
20216 \begin_layout Standard
20217 You can alter a table by clicking on it with the right mouse button and
20218  then choosing 
20219 \family sans
20220 More\SpecialChar menuseparator
20221 Settings
20222 \family default
20223 .
20224  This brings up the table dialog.
20225  Here you can adjust the settings of the cell, row and/or column where the
20226  cursor is placed currently.
20227  Most of the dialog options also work on selections.
20228  This means that if you select more cells, columns or rows the action is
20229  done on all of your selection.
20230 \end_layout
20231
20232 \begin_layout Standard
20233 In addition to the table dialog, the 
20234 \family sans
20235 table
20236 \begin_inset space ~
20237 \end_inset
20238
20239 toolbar
20240 \family default
20241  helps you in setting table properties.
20242  It appears if the cursor is inside a table.
20243 \end_layout
20244
20245 \begin_layout Standard
20246 In the tab 
20247 \family sans
20248 Table
20249 \begin_inset space ~
20250 \end_inset
20251
20252 Settings
20253 \family default
20254  of the table dialog you can set the alignment for the current row.
20255  If you add a row or column, it will be inserted right beside or below the
20256  current cell respectively.
20257  The vertical alignment of a column can only be adjusted when a column width
20258  is given.
20259  A given width will allow the cell to have line breaks and multiple paragraphs
20260  of text, see section
20261 \begin_inset space ~
20262 \end_inset
20263
20264
20265 \begin_inset CommandInset ref
20266 LatexCommand ref
20267 reference "subsec:Table-Cells"
20268
20269 \end_inset
20270
20271 .
20272 \end_layout
20273
20274 \begin_layout Standard
20275 You can mark multiple cells of one row/column as a multicolumn/row cell
20276  using the check box 
20277 \family sans
20278 Multicolumn
20279 \family default
20280  or 
20281 \family sans
20282 Multirow
20283 \family default
20284 .
20285  This will merge the cells to 
20286 \emph on
20287 one
20288 \emph default
20289  cell, spread over more than one column/row.
20290  Multicolumn cells are treated as own rows, so that the alignment, width,
20291  and border settings affect only the multicolumn cell.
20292  Here is an example table with a multicolumn cell in the first row and one
20293  in the last row without the upper border:
20294 \end_layout
20295
20296 \begin_layout Standard
20297 \align center
20298 \begin_inset Tabular
20299 <lyxtabular version="3" rows="3" columns="4">
20300 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
20301 <column alignment="center" valignment="top" width="0pt">
20302 <column alignment="center" valignment="middle">
20303 <column alignment="center" valignment="top" width="0in">
20304 <column alignment="center" valignment="top" width="0pt">
20305 <row>
20306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20307 \begin_inset Text
20308
20309 \begin_layout Plain Layout
20310 abc
20311 \end_layout
20312
20313 \end_inset
20314 </cell>
20315 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
20316 \begin_inset Text
20317
20318 \begin_layout Plain Layout
20319 def ghi
20320 \end_layout
20321
20322 \end_inset
20323 </cell>
20324 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20325 \begin_inset Text
20326
20327 \begin_layout Plain Layout
20328
20329 \end_layout
20330
20331 \end_inset
20332 </cell>
20333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20334 \begin_inset Text
20335
20336 \begin_layout Plain Layout
20337 jkl
20338 \end_layout
20339
20340 \end_inset
20341 </cell>
20342 </row>
20343 <row>
20344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20345 \begin_inset Text
20346
20347 \begin_layout Plain Layout
20348
20349 \family roman
20350 \series medium
20351 \shape up
20352 \size normal
20353 \emph off
20354 \bar no
20355 \noun off
20356 \color none
20357 A
20358 \end_layout
20359
20360 \end_inset
20361 </cell>
20362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20363 \begin_inset Text
20364
20365 \begin_layout Plain Layout
20366 B
20367 \end_layout
20368
20369 \end_inset
20370 </cell>
20371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20372 \begin_inset Text
20373
20374 \begin_layout Plain Layout
20375 C
20376 \end_layout
20377
20378 \end_inset
20379 </cell>
20380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20381 \begin_inset Text
20382
20383 \begin_layout Plain Layout
20384 D
20385 \end_layout
20386
20387 \end_inset
20388 </cell>
20389 </row>
20390 <row>
20391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20392 \begin_inset Text
20393
20394 \begin_layout Plain Layout
20395 1
20396 \end_layout
20397
20398 \end_inset
20399 </cell>
20400 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20401 \begin_inset Text
20402
20403 \begin_layout Plain Layout
20404 2
20405 \end_layout
20406
20407 \end_inset
20408 </cell>
20409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20410 \begin_inset Text
20411
20412 \begin_layout Plain Layout
20413 3
20414 \end_layout
20415
20416 \end_inset
20417 </cell>
20418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20419 \begin_inset Text
20420
20421 \begin_layout Plain Layout
20422 4
20423 \end_layout
20424
20425 \end_inset
20426 </cell>
20427 </row>
20428 </lyxtabular>
20429
20430 \end_inset
20431
20432
20433 \end_layout
20434
20435 \begin_layout Standard
20436 Adept users can declare special \SpecialChar LaTeX
20437 -arguments for the table.
20438  They are necessary for special table formatting, such as the multirow cells,
20439  explained in the chapter 
20440 \emph on
20441 Tables
20442 \emph default
20443  of the 
20444 \emph on
20445 Embedded
20446 \begin_inset space ~
20447 \end_inset
20448
20449 Objects
20450 \emph default
20451  manual.
20452  You can also rotate the current cell or the whole table.
20453  These rotations are not visible in \SpecialChar LyX
20454  but are visible in the output.
20455 \end_layout
20456
20457 \begin_layout Standard
20458 \begin_inset Note Greyedout
20459 status open
20460
20461 \begin_layout Plain Layout
20462
20463 \series bold
20464 Note:
20465 \series default
20466  Most DVI-viewers are 
20467 \emph on
20468 not
20469 \emph default
20470  able to display rotations.
20471 \end_layout
20472
20473 \end_inset
20474
20475
20476 \end_layout
20477
20478 \begin_layout Standard
20479 The 
20480 \family sans
20481 Borders
20482 \family default
20483  tab allows you to add and delete border lines for the current row/column.
20484  The button 
20485 \family sans
20486 Default
20487 \family default
20488  adds lines for all cell borders.
20489 \end_layout
20490
20491 \begin_layout Subsection
20492 Multi-page Tables
20493 \begin_inset Index idx
20494 status collapsed
20495
20496 \begin_layout Plain Layout
20497 Tables ! Multi-page
20498 \end_layout
20499
20500 \end_inset
20501
20502
20503 \begin_inset Index idx
20504 status collapsed
20505
20506 \begin_layout Plain Layout
20507 Multi-page tables
20508 \end_layout
20509
20510 \end_inset
20511
20512
20513 \end_layout
20514
20515 \begin_layout Standard
20516 If the table is too long to fit on one page, you can use the option 
20517 \family sans
20518 Use
20519 \begin_inset space ~
20520 \end_inset
20521
20522 multi-page
20523 \begin_inset space ~
20524 \end_inset
20525
20526 table
20527 \family default
20528  in the tab 
20529 \family sans
20530 Multi-page
20531 \begin_inset space ~
20532 \end_inset
20533
20534 table
20535 \family default
20536  of the table dialog to split the table automatically over more pages.
20537  Doing this enables some check boxes and you can now define:
20538 \end_layout
20539
20540 \begin_layout Description
20541
20542 \family sans
20543 Header
20544 \family default
20545 : The current row and all rows above, that don't have any special options
20546  defined, are defined to be the header rows of all pages of the longtable.
20547  Except for the first page, if 
20548 \family sans
20549 First
20550 \begin_inset space ~
20551 \end_inset
20552
20553 header
20554 \family default
20555  is defined.
20556 \end_layout
20557
20558 \begin_layout Description
20559
20560 \family sans
20561 First
20562 \begin_inset space ~
20563 \end_inset
20564
20565 header
20566 \family default
20567 : The current row and all rows above, that don't have any special options
20568  defined, are defined to be the header rows of the first page of the longtable.
20569 \end_layout
20570
20571 \begin_layout Description
20572
20573 \family sans
20574 Footer
20575 \family default
20576 : The current row and all rows below, that don't have any special options
20577  defined, are defined to be the footer rows of all pages of the longtable,
20578  except for the last page, if 
20579 \family sans
20580 Last
20581 \begin_inset space ~
20582 \end_inset
20583
20584 footer
20585 \family default
20586  is defined.
20587 \end_layout
20588
20589 \begin_layout Description
20590
20591 \family sans
20592 Last
20593 \begin_inset space ~
20594 \end_inset
20595
20596 footer
20597 \family default
20598 : The current row and all rows below, that don't have any special options
20599  defined, are defined to be the footer rows of the last page of the longtable.
20600 \end_layout
20601
20602 \begin_layout Description
20603 Caption: The first row is reset as a single column.
20604  You can now insert there the table caption via the menu 
20605 \family sans
20606 Insert\SpecialChar menuseparator
20607 Caption
20608 \family default
20609 .
20610  More about multi-page table captions can be found in the 
20611 \emph on
20612 Embedded
20613 \begin_inset space ~
20614 \end_inset
20615
20616 Objects
20617 \emph default
20618  manual.
20619 \end_layout
20620
20621 \begin_layout Standard
20622 You can also specify a row where the table is split.
20623  If you set more than one option in the same table row, you should be aware
20624  that then only the first option is used; the others will be defined as
20625  
20626 \emph on
20627 empty
20628 \emph default
20629 .
20630  In this context, first means first in this order: 
20631 \family sans
20632 Footer, Last
20633 \begin_inset space ~
20634 \end_inset
20635
20636 footer,
20637 \family default
20638  
20639 \family sans
20640 Header,
20641 \family default
20642  
20643 \family sans
20644 First
20645 \begin_inset space ~
20646 \end_inset
20647
20648 header
20649 \family default
20650 ; see the following longtable to see how it works:
20651 \end_layout
20652
20653 \begin_layout Standard
20654 \align center
20655 \begin_inset Tabular
20656 <lyxtabular version="3" rows="69" columns="3">
20657 <features islongtable="true" longtabularalignment="center">
20658 <column alignment="block" valignment="top" width="5cm">
20659 <column alignment="left" valignment="top" width="0pt">
20660 <column alignment="right" valignment="top" width="0pt">
20661 <row endfirsthead="true">
20662 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20663 \begin_inset Text
20664
20665 \begin_layout Plain Layout
20666
20667 \series bold
20668 Example Phone List (ignore the names)
20669 \end_layout
20670
20671 \end_inset
20672 </cell>
20673 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20674 \begin_inset Text
20675
20676 \begin_layout Plain Layout
20677
20678 \end_layout
20679
20680 \end_inset
20681 </cell>
20682 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20683 \begin_inset Text
20684
20685 \begin_layout Plain Layout
20686
20687 \end_layout
20688
20689 \end_inset
20690 </cell>
20691 </row>
20692 <row endfirsthead="true">
20693 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20694 \begin_inset Text
20695
20696 \begin_layout Plain Layout
20697
20698 \series bold
20699 NAME
20700 \end_layout
20701
20702 \end_inset
20703 </cell>
20704 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20705 \begin_inset Text
20706
20707 \begin_layout Plain Layout
20708
20709 \end_layout
20710
20711 \end_inset
20712 </cell>
20713 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20714 \begin_inset Text
20715
20716 \begin_layout Plain Layout
20717
20718 \series bold
20719 TEL.
20720 \end_layout
20721
20722 \end_inset
20723 </cell>
20724 </row>
20725 <row endhead="true">
20726 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20727 \begin_inset Text
20728
20729 \begin_layout Plain Layout
20730  
20731 \series bold
20732 Example Phone List
20733 \end_layout
20734
20735 \end_inset
20736 </cell>
20737 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20738 \begin_inset Text
20739
20740 \begin_layout Plain Layout
20741
20742 \end_layout
20743
20744 \end_inset
20745 </cell>
20746 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20747 \begin_inset Text
20748
20749 \begin_layout Plain Layout
20750
20751 \end_layout
20752
20753 \end_inset
20754 </cell>
20755 </row>
20756 <row endhead="true">
20757 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20758 \begin_inset Text
20759
20760 \begin_layout Plain Layout
20761
20762 \series bold
20763 NAME
20764 \end_layout
20765
20766 \end_inset
20767 </cell>
20768 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20769 \begin_inset Text
20770
20771 \begin_layout Plain Layout
20772
20773 \end_layout
20774
20775 \end_inset
20776 </cell>
20777 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20778 \begin_inset Text
20779
20780 \begin_layout Plain Layout
20781
20782 \series bold
20783 TEL.
20784 \end_layout
20785
20786 \end_inset
20787 </cell>
20788 </row>
20789 <row endfoot="true">
20790 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20791 \begin_inset Text
20792
20793 \begin_layout Plain Layout
20794  
20795 \series bold
20796 continue ...
20797 \end_layout
20798
20799 \end_inset
20800 </cell>
20801 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20802 \begin_inset Text
20803
20804 \begin_layout Plain Layout
20805
20806 \end_layout
20807
20808 \end_inset
20809 </cell>
20810 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20811 \begin_inset Text
20812
20813 \begin_layout Plain Layout
20814
20815 \end_layout
20816
20817 \end_inset
20818 </cell>
20819 </row>
20820 <row>
20821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20822 \begin_inset Text
20823
20824 \begin_layout Plain Layout
20825
20826 \series bold
20827 Annovi
20828 \end_layout
20829
20830 \end_inset
20831 </cell>
20832 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20833 \begin_inset Text
20834
20835 \begin_layout Plain Layout
20836 Silvia
20837 \end_layout
20838
20839 \end_inset
20840 </cell>
20841 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20842 \begin_inset Text
20843
20844 \begin_layout Plain Layout
20845 111
20846 \end_layout
20847
20848 \end_inset
20849 </cell>
20850 </row>
20851 <row>
20852 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20853 \begin_inset Text
20854
20855 \begin_layout Plain Layout
20856
20857 \series bold
20858 Bertoli
20859 \end_layout
20860
20861 \end_inset
20862 </cell>
20863 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20864 \begin_inset Text
20865
20866 \begin_layout Plain Layout
20867 Stefano
20868 \end_layout
20869
20870 \end_inset
20871 </cell>
20872 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20873 \begin_inset Text
20874
20875 \begin_layout Plain Layout
20876 111
20877 \end_layout
20878
20879 \end_inset
20880 </cell>
20881 </row>
20882 <row>
20883 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20884 \begin_inset Text
20885
20886 \begin_layout Plain Layout
20887
20888 \series bold
20889 Bozzi
20890 \end_layout
20891
20892 \end_inset
20893 </cell>
20894 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20895 \begin_inset Text
20896
20897 \begin_layout Plain Layout
20898 Walter
20899 \end_layout
20900
20901 \end_inset
20902 </cell>
20903 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20904 \begin_inset Text
20905
20906 \begin_layout Plain Layout
20907 111
20908 \end_layout
20909
20910 \end_inset
20911 </cell>
20912 </row>
20913 <row>
20914 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20915 \begin_inset Text
20916
20917 \begin_layout Plain Layout
20918
20919 \series bold
20920 Cachia
20921 \end_layout
20922
20923 \end_inset
20924 </cell>
20925 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20926 \begin_inset Text
20927
20928 \begin_layout Plain Layout
20929 Maria
20930 \end_layout
20931
20932 \end_inset
20933 </cell>
20934 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20935 \begin_inset Text
20936
20937 \begin_layout Plain Layout
20938 111
20939 \end_layout
20940
20941 \end_inset
20942 </cell>
20943 </row>
20944 <row>
20945 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20946 \begin_inset Text
20947
20948 \begin_layout Plain Layout
20949
20950 \series bold
20951 Cachia
20952 \end_layout
20953
20954 \end_inset
20955 </cell>
20956 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20957 \begin_inset Text
20958
20959 \begin_layout Plain Layout
20960 Maurizio
20961 \end_layout
20962
20963 \end_inset
20964 </cell>
20965 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20966 \begin_inset Text
20967
20968 \begin_layout Plain Layout
20969 111
20970 \end_layout
20971
20972 \end_inset
20973 </cell>
20974 </row>
20975 <row>
20976 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20977 \begin_inset Text
20978
20979 \begin_layout Plain Layout
20980
20981 \series bold
20982 Cinquemani
20983 \end_layout
20984
20985 \end_inset
20986 </cell>
20987 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20988 \begin_inset Text
20989
20990 \begin_layout Plain Layout
20991 Giusi
20992 \end_layout
20993
20994 \end_inset
20995 </cell>
20996 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20997 \begin_inset Text
20998
20999 \begin_layout Plain Layout
21000 111
21001 \end_layout
21002
21003 \end_inset
21004 </cell>
21005 </row>
21006 <row>
21007 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21008 \begin_inset Text
21009
21010 \begin_layout Plain Layout
21011
21012 \series bold
21013 Colin
21014 \end_layout
21015
21016 \end_inset
21017 </cell>
21018 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21019 \begin_inset Text
21020
21021 \begin_layout Plain Layout
21022 Bernard
21023 \end_layout
21024
21025 \end_inset
21026 </cell>
21027 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21028 \begin_inset Text
21029
21030 \begin_layout Plain Layout
21031 111
21032 \end_layout
21033
21034 \end_inset
21035 </cell>
21036 </row>
21037 <row>
21038 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21039 \begin_inset Text
21040
21041 \begin_layout Plain Layout
21042
21043 \series bold
21044 Concli
21045 \end_layout
21046
21047 \end_inset
21048 </cell>
21049 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21050 \begin_inset Text
21051
21052 \begin_layout Plain Layout
21053 Gianfranco
21054 \end_layout
21055
21056 \end_inset
21057 </cell>
21058 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21059 \begin_inset Text
21060
21061 \begin_layout Plain Layout
21062 111
21063 \end_layout
21064
21065 \end_inset
21066 </cell>
21067 </row>
21068 <row>
21069 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21070 \begin_inset Text
21071
21072 \begin_layout Plain Layout
21073
21074 \series bold
21075 Dal Bosco
21076 \end_layout
21077
21078 \end_inset
21079 </cell>
21080 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21081 \begin_inset Text
21082
21083 \begin_layout Plain Layout
21084 Carolina
21085 \end_layout
21086
21087 \end_inset
21088 </cell>
21089 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21090 \begin_inset Text
21091
21092 \begin_layout Plain Layout
21093 111
21094 \end_layout
21095
21096 \end_inset
21097 </cell>
21098 </row>
21099 <row>
21100 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21101 \begin_inset Text
21102
21103 \begin_layout Plain Layout
21104
21105 \series bold
21106 Dalpiaz
21107 \end_layout
21108
21109 \end_inset
21110 </cell>
21111 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21112 \begin_inset Text
21113
21114 \begin_layout Plain Layout
21115 Annamaria
21116 \end_layout
21117
21118 \end_inset
21119 </cell>
21120 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21121 \begin_inset Text
21122
21123 \begin_layout Plain Layout
21124 111
21125 \end_layout
21126
21127 \end_inset
21128 </cell>
21129 </row>
21130 <row>
21131 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21132 \begin_inset Text
21133
21134 \begin_layout Plain Layout
21135
21136 \series bold
21137 Feliciello
21138 \end_layout
21139
21140 \end_inset
21141 </cell>
21142 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21143 \begin_inset Text
21144
21145 \begin_layout Plain Layout
21146 Domenico
21147 \end_layout
21148
21149 \end_inset
21150 </cell>
21151 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21152 \begin_inset Text
21153
21154 \begin_layout Plain Layout
21155 111
21156 \end_layout
21157
21158 \end_inset
21159 </cell>
21160 </row>
21161 <row>
21162 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21163 \begin_inset Text
21164
21165 \begin_layout Plain Layout
21166
21167 \series bold
21168 Focarelli
21169 \end_layout
21170
21171 \end_inset
21172 </cell>
21173 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21174 \begin_inset Text
21175
21176 \begin_layout Plain Layout
21177 Paola
21178 \end_layout
21179
21180 \end_inset
21181 </cell>
21182 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21183 \begin_inset Text
21184
21185 \begin_layout Plain Layout
21186 111
21187 \end_layout
21188
21189 \end_inset
21190 </cell>
21191 </row>
21192 <row>
21193 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21194 \begin_inset Text
21195
21196 \begin_layout Plain Layout
21197
21198 \series bold
21199 Galletti
21200 \end_layout
21201
21202 \end_inset
21203 </cell>
21204 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21205 \begin_inset Text
21206
21207 \begin_layout Plain Layout
21208 Oreste
21209 \end_layout
21210
21211 \end_inset
21212 </cell>
21213 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21214 \begin_inset Text
21215
21216 \begin_layout Plain Layout
21217 111
21218 \end_layout
21219
21220 \end_inset
21221 </cell>
21222 </row>
21223 <row>
21224 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21225 \begin_inset Text
21226
21227 \begin_layout Plain Layout
21228
21229 \series bold
21230 Gasparini
21231 \end_layout
21232
21233 \end_inset
21234 </cell>
21235 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21236 \begin_inset Text
21237
21238 \begin_layout Plain Layout
21239 Franca
21240 \end_layout
21241
21242 \end_inset
21243 </cell>
21244 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21245 \begin_inset Text
21246
21247 \begin_layout Plain Layout
21248 111
21249 \end_layout
21250
21251 \end_inset
21252 </cell>
21253 </row>
21254 <row>
21255 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21256 \begin_inset Text
21257
21258 \begin_layout Plain Layout
21259
21260 \series bold
21261 Rizzardi
21262 \end_layout
21263
21264 \end_inset
21265 </cell>
21266 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21267 \begin_inset Text
21268
21269 \begin_layout Plain Layout
21270 Paola
21271 \end_layout
21272
21273 \end_inset
21274 </cell>
21275 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21276 \begin_inset Text
21277
21278 \begin_layout Plain Layout
21279 111
21280 \end_layout
21281
21282 \end_inset
21283 </cell>
21284 </row>
21285 <row>
21286 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21287 \begin_inset Text
21288
21289 \begin_layout Plain Layout
21290
21291 \series bold
21292 Lassini
21293 \end_layout
21294
21295 \end_inset
21296 </cell>
21297 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21298 \begin_inset Text
21299
21300 \begin_layout Plain Layout
21301 Giancarlo
21302 \end_layout
21303
21304 \end_inset
21305 </cell>
21306 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21307 \begin_inset Text
21308
21309 \begin_layout Plain Layout
21310 111
21311 \end_layout
21312
21313 \end_inset
21314 </cell>
21315 </row>
21316 <row>
21317 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21318 \begin_inset Text
21319
21320 \begin_layout Plain Layout
21321
21322 \series bold
21323 Malfatti
21324 \end_layout
21325
21326 \end_inset
21327 </cell>
21328 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21329 \begin_inset Text
21330
21331 \begin_layout Plain Layout
21332 Luciano
21333 \end_layout
21334
21335 \end_inset
21336 </cell>
21337 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21338 \begin_inset Text
21339
21340 \begin_layout Plain Layout
21341 111
21342 \end_layout
21343
21344 \end_inset
21345 </cell>
21346 </row>
21347 <row>
21348 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21349 \begin_inset Text
21350
21351 \begin_layout Plain Layout
21352
21353 \series bold
21354 Malfatti
21355 \end_layout
21356
21357 \end_inset
21358 </cell>
21359 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21360 \begin_inset Text
21361
21362 \begin_layout Plain Layout
21363 Valeriano
21364 \end_layout
21365
21366 \end_inset
21367 </cell>
21368 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21369 \begin_inset Text
21370
21371 \begin_layout Plain Layout
21372 111
21373 \end_layout
21374
21375 \end_inset
21376 </cell>
21377 </row>
21378 <row>
21379 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21380 \begin_inset Text
21381
21382 \begin_layout Plain Layout
21383
21384 \series bold
21385 Meneguzzo
21386 \end_layout
21387
21388 \end_inset
21389 </cell>
21390 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21391 \begin_inset Text
21392
21393 \begin_layout Plain Layout
21394 Roberto
21395 \end_layout
21396
21397 \end_inset
21398 </cell>
21399 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21400 \begin_inset Text
21401
21402 \begin_layout Plain Layout
21403 111
21404 \end_layout
21405
21406 \end_inset
21407 </cell>
21408 </row>
21409 <row>
21410 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21411 \begin_inset Text
21412
21413 \begin_layout Plain Layout
21414
21415 \series bold
21416 Mezzadra
21417 \end_layout
21418
21419 \end_inset
21420 </cell>
21421 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21422 \begin_inset Text
21423
21424 \begin_layout Plain Layout
21425 Roberto
21426 \end_layout
21427
21428 \end_inset
21429 </cell>
21430 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21431 \begin_inset Text
21432
21433 \begin_layout Plain Layout
21434 111
21435 \end_layout
21436
21437 \end_inset
21438 </cell>
21439 </row>
21440 <row>
21441 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21442 \begin_inset Text
21443
21444 \begin_layout Plain Layout
21445
21446 \series bold
21447 Pirpamer
21448 \end_layout
21449
21450 \end_inset
21451 </cell>
21452 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21453 \begin_inset Text
21454
21455 \begin_layout Plain Layout
21456 Erich
21457 \end_layout
21458
21459 \end_inset
21460 </cell>
21461 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21462 \begin_inset Text
21463
21464 \begin_layout Plain Layout
21465 111
21466 \end_layout
21467
21468 \end_inset
21469 </cell>
21470 </row>
21471 <row>
21472 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21473 \begin_inset Text
21474
21475 \begin_layout Plain Layout
21476
21477 \series bold
21478 Pochiesa
21479 \end_layout
21480
21481 \end_inset
21482 </cell>
21483 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21484 \begin_inset Text
21485
21486 \begin_layout Plain Layout
21487 Paolo
21488 \end_layout
21489
21490 \end_inset
21491 </cell>
21492 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21493 \begin_inset Text
21494
21495 \begin_layout Plain Layout
21496 111, 222
21497 \end_layout
21498
21499 \end_inset
21500 </cell>
21501 </row>
21502 <row>
21503 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21504 \begin_inset Text
21505
21506 \begin_layout Plain Layout
21507
21508 \series bold
21509 Radina
21510 \end_layout
21511
21512 \end_inset
21513 </cell>
21514 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21515 \begin_inset Text
21516
21517 \begin_layout Plain Layout
21518 Claudio
21519 \end_layout
21520
21521 \end_inset
21522 </cell>
21523 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21524 \begin_inset Text
21525
21526 \begin_layout Plain Layout
21527 111
21528 \end_layout
21529
21530 \end_inset
21531 </cell>
21532 </row>
21533 <row>
21534 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21535 \begin_inset Text
21536
21537 \begin_layout Plain Layout
21538
21539 \series bold
21540 Stuffer
21541 \end_layout
21542
21543 \end_inset
21544 </cell>
21545 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21546 \begin_inset Text
21547
21548 \begin_layout Plain Layout
21549 Oskar
21550 \end_layout
21551
21552 \end_inset
21553 </cell>
21554 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21555 \begin_inset Text
21556
21557 \begin_layout Plain Layout
21558 111
21559 \end_layout
21560
21561 \end_inset
21562 </cell>
21563 </row>
21564 <row>
21565 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21566 \begin_inset Text
21567
21568 \begin_layout Plain Layout
21569
21570 \series bold
21571 Tacchelli
21572 \end_layout
21573
21574 \end_inset
21575 </cell>
21576 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21577 \begin_inset Text
21578
21579 \begin_layout Plain Layout
21580 Ugo
21581 \end_layout
21582
21583 \end_inset
21584 </cell>
21585 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21586 \begin_inset Text
21587
21588 \begin_layout Plain Layout
21589 111
21590 \end_layout
21591
21592 \end_inset
21593 </cell>
21594 </row>
21595 <row>
21596 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21597 \begin_inset Text
21598
21599 \begin_layout Plain Layout
21600
21601 \series bold
21602 Tezzele
21603 \end_layout
21604
21605 \end_inset
21606 </cell>
21607 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21608 \begin_inset Text
21609
21610 \begin_layout Plain Layout
21611 Margit
21612 \end_layout
21613
21614 \end_inset
21615 </cell>
21616 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21617 \begin_inset Text
21618
21619 \begin_layout Plain Layout
21620 111
21621 \end_layout
21622
21623 \end_inset
21624 </cell>
21625 </row>
21626 <row>
21627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21628 \begin_inset Text
21629
21630 \begin_layout Plain Layout
21631
21632 \series bold
21633 Unterkalmsteiner
21634 \end_layout
21635
21636 \end_inset
21637 </cell>
21638 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21639 \begin_inset Text
21640
21641 \begin_layout Plain Layout
21642 Frieda
21643 \end_layout
21644
21645 \end_inset
21646 </cell>
21647 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21648 \begin_inset Text
21649
21650 \begin_layout Plain Layout
21651 111
21652 \end_layout
21653
21654 \end_inset
21655 </cell>
21656 </row>
21657 <row>
21658 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21659 \begin_inset Text
21660
21661 \begin_layout Plain Layout
21662
21663 \series bold
21664 Vieider
21665 \end_layout
21666
21667 \end_inset
21668 </cell>
21669 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21670 \begin_inset Text
21671
21672 \begin_layout Plain Layout
21673 Hilde
21674 \end_layout
21675
21676 \end_inset
21677 </cell>
21678 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21679 \begin_inset Text
21680
21681 \begin_layout Plain Layout
21682 111
21683 \end_layout
21684
21685 \end_inset
21686 </cell>
21687 </row>
21688 <row>
21689 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21690 \begin_inset Text
21691
21692 \begin_layout Plain Layout
21693
21694 \series bold
21695 Vigna
21696 \end_layout
21697
21698 \end_inset
21699 </cell>
21700 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21701 \begin_inset Text
21702
21703 \begin_layout Plain Layout
21704 Jürgen
21705 \end_layout
21706
21707 \end_inset
21708 </cell>
21709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21710 \begin_inset Text
21711
21712 \begin_layout Plain Layout
21713 111
21714 \end_layout
21715
21716 \end_inset
21717 </cell>
21718 </row>
21719 <row>
21720 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21721 \begin_inset Text
21722
21723 \begin_layout Plain Layout
21724
21725 \series bold
21726 Weber
21727 \end_layout
21728
21729 \end_inset
21730 </cell>
21731 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21732 \begin_inset Text
21733
21734 \begin_layout Plain Layout
21735 Maurizio
21736 \end_layout
21737
21738 \end_inset
21739 </cell>
21740 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21741 \begin_inset Text
21742
21743 \begin_layout Plain Layout
21744 111
21745 \end_layout
21746
21747 \end_inset
21748 </cell>
21749 </row>
21750 <row>
21751 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21752 \begin_inset Text
21753
21754 \begin_layout Plain Layout
21755
21756 \series bold
21757 Winkler
21758 \end_layout
21759
21760 \end_inset
21761 </cell>
21762 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21763 \begin_inset Text
21764
21765 \begin_layout Plain Layout
21766 Franz
21767 \end_layout
21768
21769 \end_inset
21770 </cell>
21771 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21772 \begin_inset Text
21773
21774 \begin_layout Plain Layout
21775 111
21776 \end_layout
21777
21778 \end_inset
21779 </cell>
21780 </row>
21781 <row>
21782 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21783 \begin_inset Text
21784
21785 \begin_layout Plain Layout
21786  
21787 \end_layout
21788
21789 \end_inset
21790 </cell>
21791 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
21792 \begin_inset Text
21793
21794 \begin_layout Plain Layout
21795
21796 \end_layout
21797
21798 \end_inset
21799 </cell>
21800 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21801 \begin_inset Text
21802
21803 \begin_layout Plain Layout
21804
21805 \end_layout
21806
21807 \end_inset
21808 </cell>
21809 </row>
21810 <row>
21811 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21812 \begin_inset Text
21813
21814 \begin_layout Plain Layout
21815
21816 \series bold
21817 Annovi
21818 \end_layout
21819
21820 \end_inset
21821 </cell>
21822 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21823 \begin_inset Text
21824
21825 \begin_layout Plain Layout
21826 Silvia
21827 \end_layout
21828
21829 \end_inset
21830 </cell>
21831 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21832 \begin_inset Text
21833
21834 \begin_layout Plain Layout
21835 555
21836 \end_layout
21837
21838 \end_inset
21839 </cell>
21840 </row>
21841 <row>
21842 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21843 \begin_inset Text
21844
21845 \begin_layout Plain Layout
21846
21847 \series bold
21848 Bertoli
21849 \end_layout
21850
21851 \end_inset
21852 </cell>
21853 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21854 \begin_inset Text
21855
21856 \begin_layout Plain Layout
21857 Stefano
21858 \end_layout
21859
21860 \end_inset
21861 </cell>
21862 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21863 \begin_inset Text
21864
21865 \begin_layout Plain Layout
21866 555
21867 \end_layout
21868
21869 \end_inset
21870 </cell>
21871 </row>
21872 <row>
21873 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21874 \begin_inset Text
21875
21876 \begin_layout Plain Layout
21877
21878 \series bold
21879 Bozzi
21880 \end_layout
21881
21882 \end_inset
21883 </cell>
21884 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21885 \begin_inset Text
21886
21887 \begin_layout Plain Layout
21888 Walter
21889 \end_layout
21890
21891 \end_inset
21892 </cell>
21893 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21894 \begin_inset Text
21895
21896 \begin_layout Plain Layout
21897 555
21898 \end_layout
21899
21900 \end_inset
21901 </cell>
21902 </row>
21903 <row>
21904 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21905 \begin_inset Text
21906
21907 \begin_layout Plain Layout
21908
21909 \series bold
21910 Cachia
21911 \end_layout
21912
21913 \end_inset
21914 </cell>
21915 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21916 \begin_inset Text
21917
21918 \begin_layout Plain Layout
21919 Maria
21920 \end_layout
21921
21922 \end_inset
21923 </cell>
21924 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21925 \begin_inset Text
21926
21927 \begin_layout Plain Layout
21928 555
21929 \end_layout
21930
21931 \end_inset
21932 </cell>
21933 </row>
21934 <row>
21935 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21936 \begin_inset Text
21937
21938 \begin_layout Plain Layout
21939
21940 \series bold
21941 Cachia
21942 \end_layout
21943
21944 \end_inset
21945 </cell>
21946 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21947 \begin_inset Text
21948
21949 \begin_layout Plain Layout
21950 Maurizio
21951 \end_layout
21952
21953 \end_inset
21954 </cell>
21955 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21956 \begin_inset Text
21957
21958 \begin_layout Plain Layout
21959 555
21960 \end_layout
21961
21962 \end_inset
21963 </cell>
21964 </row>
21965 <row>
21966 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21967 \begin_inset Text
21968
21969 \begin_layout Plain Layout
21970
21971 \series bold
21972 Cinquemani
21973 \end_layout
21974
21975 \end_inset
21976 </cell>
21977 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21978 \begin_inset Text
21979
21980 \begin_layout Plain Layout
21981 Giusi
21982 \end_layout
21983
21984 \end_inset
21985 </cell>
21986 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21987 \begin_inset Text
21988
21989 \begin_layout Plain Layout
21990 555
21991 \end_layout
21992
21993 \end_inset
21994 </cell>
21995 </row>
21996 <row>
21997 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21998 \begin_inset Text
21999
22000 \begin_layout Plain Layout
22001
22002 \series bold
22003 Colin
22004 \end_layout
22005
22006 \end_inset
22007 </cell>
22008 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22009 \begin_inset Text
22010
22011 \begin_layout Plain Layout
22012 Bernard
22013 \end_layout
22014
22015 \end_inset
22016 </cell>
22017 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22018 \begin_inset Text
22019
22020 \begin_layout Plain Layout
22021 555
22022 \end_layout
22023
22024 \end_inset
22025 </cell>
22026 </row>
22027 <row>
22028 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22029 \begin_inset Text
22030
22031 \begin_layout Plain Layout
22032
22033 \series bold
22034 Concli
22035 \end_layout
22036
22037 \end_inset
22038 </cell>
22039 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22040 \begin_inset Text
22041
22042 \begin_layout Plain Layout
22043 Gianfranco
22044 \end_layout
22045
22046 \end_inset
22047 </cell>
22048 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22049 \begin_inset Text
22050
22051 \begin_layout Plain Layout
22052 555
22053 \end_layout
22054
22055 \end_inset
22056 </cell>
22057 </row>
22058 <row>
22059 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22060 \begin_inset Text
22061
22062 \begin_layout Plain Layout
22063
22064 \series bold
22065 Dal Bosco
22066 \end_layout
22067
22068 \end_inset
22069 </cell>
22070 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22071 \begin_inset Text
22072
22073 \begin_layout Plain Layout
22074 Carolina
22075 \end_layout
22076
22077 \end_inset
22078 </cell>
22079 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22080 \begin_inset Text
22081
22082 \begin_layout Plain Layout
22083 555
22084 \end_layout
22085
22086 \end_inset
22087 </cell>
22088 </row>
22089 <row>
22090 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22091 \begin_inset Text
22092
22093 \begin_layout Plain Layout
22094
22095 \series bold
22096 Dalpiaz
22097 \end_layout
22098
22099 \end_inset
22100 </cell>
22101 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22102 \begin_inset Text
22103
22104 \begin_layout Plain Layout
22105 Annamaria
22106 \end_layout
22107
22108 \end_inset
22109 </cell>
22110 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22111 \begin_inset Text
22112
22113 \begin_layout Plain Layout
22114 555
22115 \end_layout
22116
22117 \end_inset
22118 </cell>
22119 </row>
22120 <row>
22121 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22122 \begin_inset Text
22123
22124 \begin_layout Plain Layout
22125
22126 \series bold
22127 Feliciello
22128 \end_layout
22129
22130 \end_inset
22131 </cell>
22132 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22133 \begin_inset Text
22134
22135 \begin_layout Plain Layout
22136 Domenico
22137 \end_layout
22138
22139 \end_inset
22140 </cell>
22141 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22142 \begin_inset Text
22143
22144 \begin_layout Plain Layout
22145 555
22146 \end_layout
22147
22148 \end_inset
22149 </cell>
22150 </row>
22151 <row>
22152 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22153 \begin_inset Text
22154
22155 \begin_layout Plain Layout
22156
22157 \series bold
22158 Focarelli
22159 \end_layout
22160
22161 \end_inset
22162 </cell>
22163 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22164 \begin_inset Text
22165
22166 \begin_layout Plain Layout
22167 Paola
22168 \end_layout
22169
22170 \end_inset
22171 </cell>
22172 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22173 \begin_inset Text
22174
22175 \begin_layout Plain Layout
22176 555
22177 \end_layout
22178
22179 \end_inset
22180 </cell>
22181 </row>
22182 <row>
22183 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22184 \begin_inset Text
22185
22186 \begin_layout Plain Layout
22187
22188 \series bold
22189 Galletti
22190 \end_layout
22191
22192 \end_inset
22193 </cell>
22194 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22195 \begin_inset Text
22196
22197 \begin_layout Plain Layout
22198 Oreste
22199 \end_layout
22200
22201 \end_inset
22202 </cell>
22203 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22204 \begin_inset Text
22205
22206 \begin_layout Plain Layout
22207 555
22208 \end_layout
22209
22210 \end_inset
22211 </cell>
22212 </row>
22213 <row>
22214 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22215 \begin_inset Text
22216
22217 \begin_layout Plain Layout
22218
22219 \series bold
22220 Gasparini
22221 \end_layout
22222
22223 \end_inset
22224 </cell>
22225 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22226 \begin_inset Text
22227
22228 \begin_layout Plain Layout
22229 Franca
22230 \end_layout
22231
22232 \end_inset
22233 </cell>
22234 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22235 \begin_inset Text
22236
22237 \begin_layout Plain Layout
22238 555
22239 \end_layout
22240
22241 \end_inset
22242 </cell>
22243 </row>
22244 <row>
22245 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22246 \begin_inset Text
22247
22248 \begin_layout Plain Layout
22249
22250 \series bold
22251 Rizzardi
22252 \end_layout
22253
22254 \end_inset
22255 </cell>
22256 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22257 \begin_inset Text
22258
22259 \begin_layout Plain Layout
22260 Paola
22261 \end_layout
22262
22263 \end_inset
22264 </cell>
22265 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22266 \begin_inset Text
22267
22268 \begin_layout Plain Layout
22269 555
22270 \end_layout
22271
22272 \end_inset
22273 </cell>
22274 </row>
22275 <row>
22276 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22277 \begin_inset Text
22278
22279 \begin_layout Plain Layout
22280
22281 \series bold
22282 Lassini
22283 \end_layout
22284
22285 \end_inset
22286 </cell>
22287 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22288 \begin_inset Text
22289
22290 \begin_layout Plain Layout
22291 Giancarlo
22292 \end_layout
22293
22294 \end_inset
22295 </cell>
22296 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22297 \begin_inset Text
22298
22299 \begin_layout Plain Layout
22300 555
22301 \end_layout
22302
22303 \end_inset
22304 </cell>
22305 </row>
22306 <row>
22307 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22308 \begin_inset Text
22309
22310 \begin_layout Plain Layout
22311
22312 \series bold
22313 Malfatti
22314 \end_layout
22315
22316 \end_inset
22317 </cell>
22318 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22319 \begin_inset Text
22320
22321 \begin_layout Plain Layout
22322 Luciano
22323 \end_layout
22324
22325 \end_inset
22326 </cell>
22327 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22328 \begin_inset Text
22329
22330 \begin_layout Plain Layout
22331 555
22332 \end_layout
22333
22334 \end_inset
22335 </cell>
22336 </row>
22337 <row>
22338 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22339 \begin_inset Text
22340
22341 \begin_layout Plain Layout
22342
22343 \series bold
22344 Malfatti
22345 \end_layout
22346
22347 \end_inset
22348 </cell>
22349 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22350 \begin_inset Text
22351
22352 \begin_layout Plain Layout
22353 Valeriano
22354 \end_layout
22355
22356 \end_inset
22357 </cell>
22358 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22359 \begin_inset Text
22360
22361 \begin_layout Plain Layout
22362 555
22363 \end_layout
22364
22365 \end_inset
22366 </cell>
22367 </row>
22368 <row>
22369 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22370 \begin_inset Text
22371
22372 \begin_layout Plain Layout
22373
22374 \series bold
22375 Meneguzzo
22376 \end_layout
22377
22378 \end_inset
22379 </cell>
22380 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22381 \begin_inset Text
22382
22383 \begin_layout Plain Layout
22384 Roberto
22385 \end_layout
22386
22387 \end_inset
22388 </cell>
22389 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22390 \begin_inset Text
22391
22392 \begin_layout Plain Layout
22393 555
22394 \end_layout
22395
22396 \end_inset
22397 </cell>
22398 </row>
22399 <row>
22400 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22401 \begin_inset Text
22402
22403 \begin_layout Plain Layout
22404
22405 \series bold
22406 Mezzadra
22407 \end_layout
22408
22409 \end_inset
22410 </cell>
22411 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22412 \begin_inset Text
22413
22414 \begin_layout Plain Layout
22415 Roberto
22416 \end_layout
22417
22418 \end_inset
22419 </cell>
22420 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22421 \begin_inset Text
22422
22423 \begin_layout Plain Layout
22424 555
22425 \end_layout
22426
22427 \end_inset
22428 </cell>
22429 </row>
22430 <row>
22431 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22432 \begin_inset Text
22433
22434 \begin_layout Plain Layout
22435
22436 \series bold
22437 Pirpamer
22438 \end_layout
22439
22440 \end_inset
22441 </cell>
22442 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22443 \begin_inset Text
22444
22445 \begin_layout Plain Layout
22446 Erich
22447 \end_layout
22448
22449 \end_inset
22450 </cell>
22451 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22452 \begin_inset Text
22453
22454 \begin_layout Plain Layout
22455 555
22456 \end_layout
22457
22458 \end_inset
22459 </cell>
22460 </row>
22461 <row>
22462 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22463 \begin_inset Text
22464
22465 \begin_layout Plain Layout
22466
22467 \series bold
22468 Pochiesa
22469 \end_layout
22470
22471 \end_inset
22472 </cell>
22473 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22474 \begin_inset Text
22475
22476 \begin_layout Plain Layout
22477 Paolo
22478 \end_layout
22479
22480 \end_inset
22481 </cell>
22482 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22483 \begin_inset Text
22484
22485 \begin_layout Plain Layout
22486 555, 222
22487 \end_layout
22488
22489 \end_inset
22490 </cell>
22491 </row>
22492 <row>
22493 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22494 \begin_inset Text
22495
22496 \begin_layout Plain Layout
22497
22498 \series bold
22499 Radina
22500 \end_layout
22501
22502 \end_inset
22503 </cell>
22504 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22505 \begin_inset Text
22506
22507 \begin_layout Plain Layout
22508 Claudio
22509 \end_layout
22510
22511 \end_inset
22512 </cell>
22513 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22514 \begin_inset Text
22515
22516 \begin_layout Plain Layout
22517 555
22518 \end_layout
22519
22520 \end_inset
22521 </cell>
22522 </row>
22523 <row>
22524 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22525 \begin_inset Text
22526
22527 \begin_layout Plain Layout
22528
22529 \series bold
22530 Stuffer
22531 \end_layout
22532
22533 \end_inset
22534 </cell>
22535 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22536 \begin_inset Text
22537
22538 \begin_layout Plain Layout
22539 Oskar
22540 \end_layout
22541
22542 \end_inset
22543 </cell>
22544 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22545 \begin_inset Text
22546
22547 \begin_layout Plain Layout
22548 555
22549 \end_layout
22550
22551 \end_inset
22552 </cell>
22553 </row>
22554 <row>
22555 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22556 \begin_inset Text
22557
22558 \begin_layout Plain Layout
22559
22560 \series bold
22561 Tacchelli
22562 \end_layout
22563
22564 \end_inset
22565 </cell>
22566 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22567 \begin_inset Text
22568
22569 \begin_layout Plain Layout
22570 Ugo
22571 \end_layout
22572
22573 \end_inset
22574 </cell>
22575 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22576 \begin_inset Text
22577
22578 \begin_layout Plain Layout
22579 555
22580 \end_layout
22581
22582 \end_inset
22583 </cell>
22584 </row>
22585 <row>
22586 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22587 \begin_inset Text
22588
22589 \begin_layout Plain Layout
22590
22591 \series bold
22592 Tezzele
22593 \end_layout
22594
22595 \end_inset
22596 </cell>
22597 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22598 \begin_inset Text
22599
22600 \begin_layout Plain Layout
22601 Margit
22602 \end_layout
22603
22604 \end_inset
22605 </cell>
22606 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22607 \begin_inset Text
22608
22609 \begin_layout Plain Layout
22610 555
22611 \end_layout
22612
22613 \end_inset
22614 </cell>
22615 </row>
22616 <row>
22617 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22618 \begin_inset Text
22619
22620 \begin_layout Plain Layout
22621
22622 \series bold
22623 Unterkalmsteiner
22624 \end_layout
22625
22626 \end_inset
22627 </cell>
22628 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22629 \begin_inset Text
22630
22631 \begin_layout Plain Layout
22632 Frieda
22633 \end_layout
22634
22635 \end_inset
22636 </cell>
22637 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22638 \begin_inset Text
22639
22640 \begin_layout Plain Layout
22641 555
22642 \end_layout
22643
22644 \end_inset
22645 </cell>
22646 </row>
22647 <row>
22648 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22649 \begin_inset Text
22650
22651 \begin_layout Plain Layout
22652
22653 \series bold
22654 Vieider
22655 \end_layout
22656
22657 \end_inset
22658 </cell>
22659 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22660 \begin_inset Text
22661
22662 \begin_layout Plain Layout
22663 Hilde
22664 \end_layout
22665
22666 \end_inset
22667 </cell>
22668 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22669 \begin_inset Text
22670
22671 \begin_layout Plain Layout
22672 555
22673 \end_layout
22674
22675 \end_inset
22676 </cell>
22677 </row>
22678 <row>
22679 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22680 \begin_inset Text
22681
22682 \begin_layout Plain Layout
22683
22684 \series bold
22685 Vigna
22686 \end_layout
22687
22688 \end_inset
22689 </cell>
22690 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22691 \begin_inset Text
22692
22693 \begin_layout Plain Layout
22694 Jürgen
22695 \end_layout
22696
22697 \end_inset
22698 </cell>
22699 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22700 \begin_inset Text
22701
22702 \begin_layout Plain Layout
22703 999
22704 \end_layout
22705
22706 \end_inset
22707 </cell>
22708 </row>
22709 <row>
22710 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22711 \begin_inset Text
22712
22713 \begin_layout Plain Layout
22714
22715 \series bold
22716 Weber
22717 \end_layout
22718
22719 \end_inset
22720 </cell>
22721 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22722 \begin_inset Text
22723
22724 \begin_layout Plain Layout
22725 Maurizio
22726 \end_layout
22727
22728 \end_inset
22729 </cell>
22730 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22731 \begin_inset Text
22732
22733 \begin_layout Plain Layout
22734 555
22735 \end_layout
22736
22737 \end_inset
22738 </cell>
22739 </row>
22740 <row>
22741 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22742 \begin_inset Text
22743
22744 \begin_layout Plain Layout
22745
22746 \series bold
22747 Winkler
22748 \end_layout
22749
22750 \end_inset
22751 </cell>
22752 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22753 \begin_inset Text
22754
22755 \begin_layout Plain Layout
22756 Franz
22757 \end_layout
22758
22759 \end_inset
22760 </cell>
22761 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22762 \begin_inset Text
22763
22764 \begin_layout Plain Layout
22765 555
22766 \end_layout
22767
22768 \end_inset
22769 </cell>
22770 </row>
22771 <row endlastfoot="true">
22772 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22773 \begin_inset Text
22774
22775 \begin_layout Plain Layout
22776
22777 \series bold
22778 End
22779 \end_layout
22780
22781 \end_inset
22782 </cell>
22783 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
22784 \begin_inset Text
22785
22786 \begin_layout Plain Layout
22787
22788 \end_layout
22789
22790 \end_inset
22791 </cell>
22792 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22793 \begin_inset Text
22794
22795 \begin_layout Plain Layout
22796
22797 \end_layout
22798
22799 \end_inset
22800 </cell>
22801 </row>
22802 </lyxtabular>
22803
22804 \end_inset
22805
22806
22807 \end_layout
22808
22809 \begin_layout Subsection
22810 Table Cells
22811 \begin_inset Index idx
22812 status collapsed
22813
22814 \begin_layout Plain Layout
22815 Tables ! Cells
22816 \end_layout
22817
22818 \end_inset
22819
22820
22821 \begin_inset CommandInset label
22822 LatexCommand label
22823 name "subsec:Table-Cells"
22824
22825 \end_inset
22826
22827
22828 \end_layout
22829
22830 \begin_layout Standard
22831 A table cell can contain text, inline equations, a figure, or another table.
22832  All these kinds of objects can be placed in the same cell.
22833  Font sizes and shapes can also be altered.
22834  But you can't put a special environment in a cell (like 
22835 \family sans
22836 Section*
22837 \family default
22838 , etc.), nor set spacing options for the cell's paragraph.
22839 \end_layout
22840
22841 \begin_layout Standard
22842 To have multi-line entries in table cells, you have to declare a fixed width
22843  for the column in the table dialog.
22844  Your text is then automatically split into multiple lines and the cell
22845  is enlarged vertically when the length of the text exceeds the given width.
22846  An example:
22847 \end_layout
22848
22849 \begin_layout Standard
22850 \align center
22851 \begin_inset Tabular
22852 <lyxtabular version="3" rows="4" columns="3">
22853 <features tabularvalignment="middle">
22854 <column alignment="center" valignment="top" width="0pt">
22855 <column alignment="block" valignment="top" width="3cm">
22856 <column alignment="center" valignment="top" width="0pt">
22857 <row>
22858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22859 \begin_inset Text
22860
22861 \begin_layout Plain Layout
22862
22863 \family roman
22864 \series medium
22865 \shape up
22866 \size normal
22867 \emph off
22868 \bar no
22869 \noun off
22870 \color none
22871 1
22872 \end_layout
22873
22874 \end_inset
22875 </cell>
22876 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22877 \begin_inset Text
22878
22879 \begin_layout Plain Layout
22880
22881 \family roman
22882 \series medium
22883 \shape up
22884 \size normal
22885 \emph off
22886 \bar no
22887 \noun off
22888 \color none
22889 2
22890 \end_layout
22891
22892 \end_inset
22893 </cell>
22894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22895 \begin_inset Text
22896
22897 \begin_layout Plain Layout
22898
22899 \family roman
22900 \series medium
22901 \shape up
22902 \size normal
22903 \emph off
22904 \bar no
22905 \noun off
22906 \color none
22907 3
22908 \end_layout
22909
22910 \end_inset
22911 </cell>
22912 </row>
22913 <row>
22914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22915 \begin_inset Text
22916
22917 \begin_layout Plain Layout
22918
22919 \family roman
22920 \series medium
22921 \shape up
22922 \size normal
22923 \emph off
22924 \bar no
22925 \noun off
22926 \color none
22927 4
22928 \end_layout
22929
22930 \end_inset
22931 </cell>
22932 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22933 \begin_inset Text
22934
22935 \begin_layout Plain Layout
22936
22937 \family roman
22938 \series medium
22939 \shape up
22940 \size normal
22941 \emph off
22942 \bar no
22943 \noun off
22944 \color none
22945 This is a multi-line entry in a table.
22946 \end_layout
22947
22948 \end_inset
22949 </cell>
22950 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22951 \begin_inset Text
22952
22953 \begin_layout Plain Layout
22954
22955 \family roman
22956 \series medium
22957 \shape up
22958 \size normal
22959 \emph off
22960 \bar no
22961 \noun off
22962 \color none
22963 5
22964 \end_layout
22965
22966 \end_inset
22967 </cell>
22968 </row>
22969 <row>
22970 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22971 \begin_inset Text
22972
22973 \begin_layout Plain Layout
22974
22975 \family roman
22976 \series medium
22977 \shape up
22978 \size normal
22979 \emph off
22980 \bar no
22981 \noun off
22982 \color none
22983 6
22984 \end_layout
22985
22986 \end_inset
22987 </cell>
22988 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22989 \begin_inset Text
22990
22991 \begin_layout Plain Layout
22992
22993 \family roman
22994 \series medium
22995 \shape up
22996 \size normal
22997 \emph off
22998 \bar no
22999 \noun off
23000 \color none
23001 This is longer now.
23002 \end_layout
23003
23004 \end_inset
23005 </cell>
23006 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
23007 \begin_inset Text
23008
23009 \begin_layout Plain Layout
23010
23011 \family roman
23012 \series medium
23013 \shape up
23014 \size normal
23015 \emph off
23016 \bar no
23017 \noun off
23018 \color none
23019 7
23020 \end_layout
23021
23022 \end_inset
23023 </cell>
23024 </row>
23025 <row>
23026 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
23027 \begin_inset Text
23028
23029 \begin_layout Plain Layout
23030
23031 \family roman
23032 \series medium
23033 \shape up
23034 \size normal
23035 \emph off
23036 \bar no
23037 \noun off
23038 \color none
23039 8
23040 \end_layout
23041
23042 \end_inset
23043 </cell>
23044 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
23045 \begin_inset Text
23046
23047 \begin_layout Plain Layout
23048
23049 \family roman
23050 \series medium
23051 \shape up
23052 \size normal
23053 \emph off
23054 \bar no
23055 \noun off
23056 \color none
23057 This is a multi-line entry in a table.
23058  This is longer now.
23059 \end_layout
23060
23061 \end_inset
23062 </cell>
23063 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
23064 \begin_inset Text
23065
23066 \begin_layout Plain Layout
23067
23068 \family roman
23069 \series medium
23070 \shape up
23071 \size normal
23072 \emph off
23073 \bar no
23074 \noun off
23075 \color none
23076 9
23077 \end_layout
23078
23079 \end_inset
23080 </cell>
23081 </row>
23082 </lyxtabular>
23083
23084 \end_inset
23085
23086
23087 \end_layout
23088
23089 \begin_layout Standard
23090 Cutting and pasting between tables and table cells works reasonably well.
23091  You can even cut and paste more than one row.
23092 \begin_inset Foot
23093 status collapsed
23094
23095 \begin_layout Plain Layout
23096 Note that you cannot paste into a multicell selection because it would not
23097  be clear what to do when pasting a single word in a selected 2×3.
23098  
23099 \end_layout
23100
23101 \end_inset
23102
23103  Selection with the mouse or with 
23104 \family sans
23105 Shift
23106 \family default
23107  plus the arrow keys works as usual.
23108  You can also copy and paste the entire table as a single unit by starting
23109  the selection from outside the table.
23110 \end_layout
23111
23112 \begin_layout Section
23113 Floats
23114 \begin_inset Index idx
23115 status collapsed
23116
23117 \begin_layout Plain Layout
23118 Floats
23119 \end_layout
23120
23121 \end_inset
23122
23123
23124 \begin_inset CommandInset label
23125 LatexCommand label
23126 name "sec:Floats"
23127
23128 \end_inset
23129
23130
23131 \end_layout
23132
23133 \begin_layout Subsection
23134 Introduction
23135 \end_layout
23136
23137 \begin_layout Standard
23138 A float is a block of text associated with some sort of label, which doesn't
23139  have a fixed location.
23140  It can 
23141 \begin_inset Quotes eld
23142 \end_inset
23143
23144 float
23145 \begin_inset Quotes erd
23146 \end_inset
23147
23148  forward or backward a page or two, to wherever it fits best.
23149  
23150 \family sans
23151 Footnotes
23152 \family default
23153  and 
23154 \family sans
23155 Margin
23156 \begin_inset space ~
23157 \end_inset
23158
23159 Notes
23160 \family default
23161  are also floats, because they can float to the next page when there are
23162  too many notes on the current page.
23163 \end_layout
23164
23165 \begin_layout Standard
23166 Floats make it possible to get a high quality layout.
23167  Images and tables can be distributed evenly over the pages to avoid whitespace
23168  and pages without text.
23169  As the floating often destroys the spatial context between the text and
23170  the image/table, every float can be referenced in the text.
23171  Floats are therefore numbered.
23172  Referencing is described in section
23173 \begin_inset space ~
23174 \end_inset
23175
23176
23177 \begin_inset CommandInset ref
23178 LatexCommand ref
23179 reference "sec:Cross-References"
23180
23181 \end_inset
23182
23183 .
23184 \end_layout
23185
23186 \begin_layout Standard
23187 To insert a float, use the menu 
23188 \family sans
23189 Insert\SpecialChar menuseparator
23190 Float
23191 \family default
23192 .
23193  A box with a caption will be inserted into your document.
23194  The label will automatically be translated to the document language in
23195  the output.
23196  After the label you can insert the caption text.
23197 \begin_inset Index idx
23198 status collapsed
23199
23200 \begin_layout Plain Layout
23201 Floats ! Captions
23202 \end_layout
23203
23204 \end_inset
23205
23206  The image or table is inserted above or below the caption in a separate
23207  paragraph within the float.
23208  To keep your \SpecialChar LyX
23209 -document readable, you can open and close the float box by
23210  left-clicking on the box label.
23211  A closed float box looks like this: 
23212 \begin_inset Graphics
23213         filename clipart/float.png
23214         scale 80
23215
23216 \end_inset
23217
23218  – a gray button with a red label.
23219 \end_layout
23220
23221 \begin_layout Standard
23222 You should insert floats in a separate paragraph to avoid possible \SpecialChar LaTeX
23223 -errors
23224  that can occur when the surrounding text is specially formatted.
23225 \end_layout
23226
23227 \begin_layout Subsection
23228 Figure Floats
23229 \begin_inset CommandInset label
23230 LatexCommand label
23231 name "subsec:Figure-Floats"
23232
23233 \end_inset
23234
23235
23236 \begin_inset Index idx
23237 status collapsed
23238
23239 \begin_layout Plain Layout
23240 Floats ! Figure floats
23241 \end_layout
23242
23243 \end_inset
23244
23245
23246 \end_layout
23247
23248 \begin_layout Standard
23249 Figure
23250 \begin_inset space ~
23251 \end_inset
23252
23253
23254 \begin_inset CommandInset ref
23255 LatexCommand ref
23256 reference "fig:A-star-in"
23257
23258 \end_inset
23259
23260  was created using the menu 
23261 \family sans
23262 Insert\SpecialChar menuseparator
23263 Float\SpecialChar menuseparator
23264 Figure
23265 \family default
23266  (toolbar button 
23267 \begin_inset Info
23268 type  "icon"
23269 arg   "float-insert figure"
23270 \end_inset
23271
23272 ).
23273  The image was inserted by setting the cursor above the caption label and
23274  using the menu 
23275 \family sans
23276 Insert\SpecialChar menuseparator
23277 Graphics
23278 \family default
23279  (toolbar button 
23280 \begin_inset Info
23281 type  "icon"
23282 arg   "dialog-show-new-inset graphics"
23283 \end_inset
23284
23285 ).
23286  The image in the float was horizontally centered by putting the cursor
23287  to the left or right of the image and using the menu 
23288 \family sans
23289 Edit\SpecialChar menuseparator
23290 Paragraph
23291 \begin_inset space ~
23292 \end_inset
23293
23294 Settings
23295 \family default
23296  (toolbar button 
23297 \begin_inset Info
23298 type  "icon"
23299 arg   "layout-paragraph"
23300 \end_inset
23301
23302 ).
23303 \end_layout
23304
23305 \begin_layout Standard
23306 \begin_inset Float figure
23307 wide false
23308 sideways false
23309 status open
23310
23311 \begin_layout Plain Layout
23312 \align center
23313 \begin_inset Graphics
23314         filename clipart/Star-structure.pdf
23315         lyxscale 60
23316         width 50col%
23317
23318 \end_inset
23319
23320
23321 \end_layout
23322
23323 \begin_layout Plain Layout
23324 \begin_inset Caption Standard
23325
23326 \begin_layout Plain Layout
23327 \begin_inset CommandInset label
23328 LatexCommand label
23329 name "fig:A-star-in"
23330
23331 \end_inset
23332
23333 A star in a float.
23334 \end_layout
23335
23336 \end_inset
23337
23338
23339 \end_layout
23340
23341 \end_inset
23342
23343
23344 \end_layout
23345
23346 \begin_layout Standard
23347 This figure float also shows how to set a label and create a cross-reference
23348  to it: Insert a label into the caption using the menu 
23349 \family sans
23350 Insert\SpecialChar menuseparator
23351 Label
23352 \family default
23353  (toolbar button 
23354 \begin_inset Info
23355 type  "icon"
23356 arg   "label-insert"
23357 \end_inset
23358
23359 ) and refer to it using the menu 
23360 \family sans
23361 Insert\SpecialChar menuseparator
23362 Cross-Reference
23363 \family default
23364  (toolbar button 
23365 \begin_inset Info
23366 type  "icon"
23367 arg   "dialog-show-new-inset ref"
23368 \end_inset
23369
23370 ).
23371  It is important to use cross-references to figure floats rather than using
23372  vague references like 
23373 \begin_inset Quotes eld
23374 \end_inset
23375
23376 the figure above
23377 \begin_inset Quotes erd
23378 \end_inset
23379
23380 , because, as \SpecialChar LaTeX
23381  will reposition the floats in the final document, it might
23382  not be 
23383 \begin_inset Quotes eld
23384 \end_inset
23385
23386 above
23387 \begin_inset Quotes erd
23388 \end_inset
23389
23390  at all.
23391  For more about cross-references, see section
23392 \begin_inset space ~
23393 \end_inset
23394
23395
23396 \begin_inset CommandInset ref
23397 LatexCommand ref
23398 reference "sec:Cross-References"
23399
23400 \end_inset
23401
23402 .
23403 \end_layout
23404
23405 \begin_layout Standard
23406 Normally only one image is inserted in a figure float, but sometimes you
23407  might want to use two images with separate subcaptions.
23408  This can be done by inserting image floats into existing image floats.
23409  Note that only the main caption of the float is added to the List of Figures
23410  as described in section
23411 \begin_inset space ~
23412 \end_inset
23413
23414
23415 \begin_inset CommandInset ref
23416 LatexCommand ref
23417 reference "subsec:List-of-Figures"
23418
23419 \end_inset
23420
23421 .
23422  Figure
23423 \begin_inset space ~
23424 \end_inset
23425
23426
23427 \begin_inset CommandInset ref
23428 LatexCommand ref
23429 reference "fig:Two-images"
23430
23431 \end_inset
23432
23433  is an example of a figure float with two images set side by side.
23434  You can also set the images one below the other.
23435  Figure
23436 \begin_inset space ~
23437 \end_inset
23438
23439
23440 \begin_inset CommandInset ref
23441 LatexCommand ref
23442 reference "fig:Undefinable"
23443
23444 \end_inset
23445
23446  and 
23447 \begin_inset CommandInset ref
23448 LatexCommand ref
23449 reference "fig:Star"
23450
23451 \end_inset
23452
23453  are the subfigures.
23454 \end_layout
23455
23456 \begin_layout Standard
23457 \begin_inset Float figure
23458 wide false
23459 sideways false
23460 status open
23461
23462 \begin_layout Plain Layout
23463 \begin_inset space \hfill{}
23464 \end_inset
23465
23466
23467 \begin_inset Float figure
23468 wide false
23469 sideways false
23470 status collapsed
23471
23472 \begin_layout Plain Layout
23473 \begin_inset Caption Standard
23474
23475 \begin_layout Plain Layout
23476 \begin_inset CommandInset label
23477 LatexCommand label
23478 name "fig:Undefinable"
23479
23480 \end_inset
23481
23482 Undefinable
23483 \end_layout
23484
23485 \end_inset
23486
23487
23488 \end_layout
23489
23490 \begin_layout Plain Layout
23491 \begin_inset Graphics
23492         filename clipart/3D-structure-distort.pdf
23493         lyxscale 60
23494         width 45col%
23495
23496 \end_inset
23497
23498
23499 \end_layout
23500
23501 \end_inset
23502
23503
23504 \begin_inset space \hfill{}
23505 \end_inset
23506
23507
23508 \begin_inset Float figure
23509 wide false
23510 sideways false
23511 status collapsed
23512
23513 \begin_layout Plain Layout
23514 \begin_inset Caption Standard
23515
23516 \begin_layout Plain Layout
23517 \begin_inset CommandInset label
23518 LatexCommand label
23519 name "fig:Star"
23520
23521 \end_inset
23522
23523 Star
23524 \end_layout
23525
23526 \end_inset
23527
23528
23529 \end_layout
23530
23531 \begin_layout Plain Layout
23532 \begin_inset Graphics
23533         filename clipart/Star-structure.pdf
23534         lyxscale 60
23535         width 45col%
23536
23537 \end_inset
23538
23539
23540 \end_layout
23541
23542 \end_inset
23543
23544
23545 \begin_inset space \hfill{}
23546 \end_inset
23547
23548
23549 \end_layout
23550
23551 \begin_layout Plain Layout
23552 \begin_inset Caption Standard
23553
23554 \begin_layout Plain Layout
23555 \begin_inset CommandInset label
23556 LatexCommand label
23557 name "fig:Two-images"
23558
23559 \end_inset
23560
23561 Two images.
23562 \end_layout
23563
23564 \end_inset
23565
23566
23567 \end_layout
23568
23569 \end_inset
23570
23571
23572 \end_layout
23573
23574 \begin_layout Subsection
23575 Table Floats
23576 \begin_inset Index idx
23577 status collapsed
23578
23579 \begin_layout Plain Layout
23580 Floats ! Table floats
23581 \end_layout
23582
23583 \end_inset
23584
23585
23586 \end_layout
23587
23588 \begin_layout Standard
23589 Table floats can be inserted using the menu 
23590 \family sans
23591 Insert\SpecialChar menuseparator
23592 Float\SpecialChar menuseparator
23593 Table
23594 \family default
23595  or the toolbar button 
23596 \begin_inset Info
23597 type  "icon"
23598 arg   "float-insert table"
23599 \end_inset
23600
23601 .
23602  They have the same properties as figure floats except that the table in
23603  the float is normally placed below the caption and not above like for figures
23604  and that the label begins with “tab:”.
23605  Table
23606 \begin_inset space ~
23607 \end_inset
23608
23609
23610 \begin_inset CommandInset ref
23611 LatexCommand ref
23612 reference "tab:Table-float"
23613
23614 \end_inset
23615
23616  is a table float.
23617 \end_layout
23618
23619 \begin_layout Standard
23620 \begin_inset Float table
23621 wide false
23622 sideways false
23623 status open
23624
23625 \begin_layout Plain Layout
23626 \begin_inset Caption Standard
23627
23628 \begin_layout Plain Layout
23629 \begin_inset CommandInset label
23630 LatexCommand label
23631 name "tab:Table-float"
23632
23633 \end_inset
23634
23635 A table float.
23636 \end_layout
23637
23638 \end_inset
23639
23640
23641 \end_layout
23642
23643 \begin_layout Plain Layout
23644 \align center
23645 \begin_inset Tabular
23646 <lyxtabular version="3" rows="3" columns="3">
23647 <features tabularvalignment="middle">
23648 <column alignment="center" valignment="top" width="0pt">
23649 <column alignment="center" valignment="top" width="0pt">
23650 <column alignment="center" valignment="top" width="0pt">
23651 <row>
23652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23653 \begin_inset Text
23654
23655 \begin_layout Plain Layout
23656
23657 \family roman
23658 \series medium
23659 \shape up
23660 \size normal
23661 \emph off
23662 \bar no
23663 \noun off
23664 \color none
23665 1
23666 \end_layout
23667
23668 \end_inset
23669 </cell>
23670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23671 \begin_inset Text
23672
23673 \begin_layout Plain Layout
23674
23675 \family roman
23676 \series medium
23677 \shape up
23678 \size normal
23679 \emph off
23680 \bar no
23681 \noun off
23682 \color none
23683 2
23684 \end_layout
23685
23686 \end_inset
23687 </cell>
23688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23689 \begin_inset Text
23690
23691 \begin_layout Plain Layout
23692
23693 \family roman
23694 \series medium
23695 \shape up
23696 \size normal
23697 \emph off
23698 \bar no
23699 \noun off
23700 \color none
23701 3
23702 \end_layout
23703
23704 \end_inset
23705 </cell>
23706 </row>
23707 <row>
23708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23709 \begin_inset Text
23710
23711 \begin_layout Plain Layout
23712
23713 \family roman
23714 \series medium
23715 \shape up
23716 \size normal
23717 \emph off
23718 \bar no
23719 \noun off
23720 \color none
23721 Joe
23722 \end_layout
23723
23724 \end_inset
23725 </cell>
23726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23727 \begin_inset Text
23728
23729 \begin_layout Plain Layout
23730
23731 \family roman
23732 \series medium
23733 \shape up
23734 \size normal
23735 \emph off
23736 \bar no
23737 \noun off
23738 \color none
23739 Mary
23740 \end_layout
23741
23742 \end_inset
23743 </cell>
23744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23745 \begin_inset Text
23746
23747 \begin_layout Plain Layout
23748
23749 \family roman
23750 \series medium
23751 \shape up
23752 \size normal
23753 \emph off
23754 \bar no
23755 \noun off
23756 \color none
23757 Ted
23758 \end_layout
23759
23760 \end_inset
23761 </cell>
23762 </row>
23763 <row>
23764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23765 \begin_inset Text
23766
23767 \begin_layout Plain Layout
23768
23769 \family roman
23770 \series medium
23771 \shape up
23772 \size normal
23773 \emph off
23774 \bar no
23775 \noun off
23776 \color none
23777 \begin_inset Formula $\int x^{2}dx$
23778 \end_inset
23779
23780
23781 \end_layout
23782
23783 \end_inset
23784 </cell>
23785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23786 \begin_inset Text
23787
23788 \begin_layout Plain Layout
23789
23790 \family roman
23791 \series medium
23792 \shape up
23793 \size normal
23794 \emph off
23795 \bar no
23796 \noun off
23797 \color none
23798 \begin_inset Formula $\left[\begin{array}{cc}
23799 a & b\\
23800 c & d
23801 \end{array}\right]$
23802 \end_inset
23803
23804
23805 \end_layout
23806
23807 \end_inset
23808 </cell>
23809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23810 \begin_inset Text
23811
23812 \begin_layout Plain Layout
23813
23814 \family roman
23815 \series medium
23816 \shape up
23817 \size normal
23818 \emph off
23819 \bar no
23820 \noun off
23821 \color none
23822 \begin_inset Formula $1+1=2$
23823 \end_inset
23824
23825
23826 \end_layout
23827
23828 \end_inset
23829 </cell>
23830 </row>
23831 </lyxtabular>
23832
23833 \end_inset
23834
23835
23836 \end_layout
23837
23838 \end_inset
23839
23840
23841 \end_layout
23842
23843 \begin_layout Subsection
23844 More Information
23845 \begin_inset Index idx
23846 status collapsed
23847
23848 \begin_layout Plain Layout
23849 Floats ! Details
23850 \end_layout
23851
23852 \end_inset
23853
23854
23855 \end_layout
23856
23857 \begin_layout Standard
23858 \SpecialChar LyX
23859  offers you further float types as well as rotated floats.
23860  It also allows you to change the float numbering scheme, to control the
23861  float placement and to change the formatting and placement of the float
23862  caption.
23863  All these features are explained in detail with many examples in the chapter
23864  
23865 \emph on
23866 Floats
23867 \emph default
23868  in the 
23869 \emph on
23870 Embedded
23871 \begin_inset space ~
23872 \end_inset
23873
23874 Objects
23875 \emph default
23876  manual.
23877 \end_layout
23878
23879 \begin_layout Section
23880 Minipages
23881 \begin_inset Index idx
23882 status collapsed
23883
23884 \begin_layout Plain Layout
23885 Minipages
23886 \end_layout
23887
23888 \end_inset
23889
23890
23891 \end_layout
23892
23893 \begin_layout Standard
23894 \SpecialChar LaTeX
23895  provides a mechanism essentially to produce a page within a page, called
23896  a minipage.
23897  Within a minipage, all the usual rules of indentation, line wrapping, etc.
23898 \begin_inset space \space{}
23899 \end_inset
23900
23901 apply.
23902  
23903 \end_layout
23904
23905 \begin_layout Standard
23906 Minipages in \SpecialChar LyX
23907  have their own collapsible box inserted via the menu 
23908 \family sans
23909 Insert\SpecialChar menuseparator
23910 Box
23911 \family default
23912 .
23913  Right-clicking on the box label allows you to alter the width of the minipage
23914  and its alignment within the page.
23915 \end_layout
23916
23917 \begin_layout Standard
23918 \align center
23919 \begin_inset Box Frameless
23920 position "t"
23921 hor_pos "c"
23922 has_inner_box 1
23923 inner_pos "t"
23924 use_parbox 0
23925 use_makebox 0
23926 width "30col%"
23927 special "none"
23928 height "1pt"
23929 height_special "totalheight"
23930 thickness "0.4pt"
23931 separation "3pt"
23932 shadowsize "4pt"
23933 framecolor "black"
23934 backgroundcolor "none"
23935 status collapsed
23936
23937 \begin_layout Plain Layout
23938
23939 \shape italic
23940 This is a minipage.
23941  The text is set in an italic style.
23942 \end_layout
23943
23944 \begin_layout Plain Layout
23945
23946 \shape italic
23947 Minipages are often used for text in another language or text that needs
23948  another formatting.
23949 \end_layout
23950
23951 \end_inset
23952
23953
23954 \end_layout
23955
23956 \begin_layout Standard
23957 \begin_inset VSpace medskip
23958 \end_inset
23959
23960 If you place two minipages side-by-side, you can use 
23961 \family sans
23962 Horizontal Fills
23963 \family default
23964  as described in section
23965 \begin_inset space ~
23966 \end_inset
23967
23968
23969 \begin_inset CommandInset ref
23970 LatexCommand ref
23971 reference "subsec:Horizontal-Space"
23972
23973 \end_inset
23974
23975 :
23976 \begin_inset VSpace medskip
23977 \end_inset
23978
23979
23980 \end_layout
23981
23982 \begin_layout Standard
23983 \begin_inset Box Frameless
23984 position "t"
23985 hor_pos "c"
23986 has_inner_box 1
23987 inner_pos "t"
23988 use_parbox 0
23989 use_makebox 0
23990 width "1.5in"
23991 special "none"
23992 height "1pt"
23993 height_special "totalheight"
23994 thickness "0.4pt"
23995 separation "3pt"
23996 shadowsize "4pt"
23997 framecolor "black"
23998 backgroundcolor "none"
23999 status open
24000
24001 \begin_layout Plain Layout
24002 This is a minipage with some stupid dummy text.
24003  This dummy text is used to increase the size of the minipage.
24004 \end_layout
24005
24006 \end_inset
24007
24008
24009 \begin_inset space \hfill{}
24010 \end_inset
24011
24012
24013 \begin_inset Box Frameless
24014 position "t"
24015 hor_pos "c"
24016 has_inner_box 1
24017 inner_pos "t"
24018 use_parbox 0
24019 use_makebox 0
24020 width "1.5in"
24021 special "none"
24022 height "1pt"
24023 height_special "totalheight"
24024 thickness "0.4pt"
24025 separation "3pt"
24026 shadowsize "4pt"
24027 framecolor "black"
24028 backgroundcolor "none"
24029 status open
24030
24031 \begin_layout Plain Layout
24032 This is a minipage with some stupid dummy text.
24033  This dummy text is used to increase the size of the minipage.
24034 \end_layout
24035
24036 \end_inset
24037
24038
24039 \end_layout
24040
24041 \begin_layout Standard
24042 \begin_inset VSpace bigskip
24043 \end_inset
24044
24045
24046 \end_layout
24047
24048 \begin_layout Standard
24049 When you right-click on a minipage box, you can transform the box to another
24050  box type.
24051  All box types and their settings are explained in detail in chapter 
24052 \emph on
24053 Boxes
24054 \emph default
24055  of the 
24056 \emph on
24057 Embedded
24058 \begin_inset space ~
24059 \end_inset
24060
24061 Objects
24062 \emph default
24063  manual.
24064 \end_layout
24065
24066 \begin_layout Chapter
24067 Mathematical Formulas
24068 \begin_inset Index idx
24069 status collapsed
24070
24071 \begin_layout Plain Layout
24072 Math
24073 \end_layout
24074
24075 \end_inset
24076
24077
24078 \begin_inset Index idx
24079 status collapsed
24080
24081 \begin_layout Plain Layout
24082 Formulas | see
24083 \begin_inset ERT
24084 status collapsed
24085
24086 \begin_layout Plain Layout
24087
24088 {
24089 \end_layout
24090
24091 \end_inset
24092
24093 Math
24094 \begin_inset ERT
24095 status collapsed
24096
24097 \begin_layout Plain Layout
24098
24099 }
24100 \end_layout
24101
24102 \end_inset
24103
24104
24105 \end_layout
24106
24107 \end_inset
24108
24109
24110 \begin_inset CommandInset label
24111 LatexCommand label
24112 name "chap:Mathematical-Formulas"
24113
24114 \end_inset
24115
24116
24117 \end_layout
24118
24119 \begin_layout Standard
24120 The issues of this chapter are described in detail in the 
24121 \emph on
24122 Math
24123 \emph default
24124  manual.
24125  There you will also find tips and tricks for special cases.
24126 \end_layout
24127
24128 \begin_layout Section
24129 Basic Math Editing
24130 \begin_inset Index idx
24131 status collapsed
24132
24133 \begin_layout Plain Layout
24134 Math ! Basics
24135 \end_layout
24136
24137 \end_inset
24138
24139
24140 \end_layout
24141
24142 \begin_layout Standard
24143 To create a math formula, you can just click on the toolbar icon 
24144 \begin_inset Info
24145 type  "icon"
24146 arg   "math-mode on"
24147 \end_inset
24148
24149  (shortcut 
24150 \begin_inset Info
24151 type  "shortcut"
24152 arg   "math-mode"
24153 \end_inset
24154
24155 ).
24156  That will create a little blue rectangle, with purple markers around its
24157  corners.
24158  That blue rectangle is the formula itself; the purple markers indicate
24159  what level of nesting within the formula you are at.
24160  You can also choose a particular formula type to insert via the 
24161 \family sans
24162 Insert\SpecialChar menuseparator
24163 Math
24164 \family default
24165  menu.
24166 \end_layout
24167
24168 \begin_layout Standard
24169 Editing the parameters of a formula and adding math constructs can be done
24170  with the 
24171 \family sans
24172 math
24173 \begin_inset space ~
24174 \end_inset
24175
24176 toolbar
24177 \family default
24178 , that appears if the cursor is in a formula.
24179 \end_layout
24180
24181 \begin_layout Standard
24182 There are two main types of formulas, inline formulas and display formulas.
24183  Inline formulas appear within a text line, like this one:
24184 \end_layout
24185
24186 \begin_layout Standard
24187 This is a line with an inline formula 
24188 \begin_inset Formula $A=B$
24189 \end_inset
24190
24191  in it.
24192 \end_layout
24193
24194 \begin_layout Standard
24195 Displayed formulas appear outside the text like if they were in a separate
24196  paragraph, like this one:
24197 \begin_inset Formula 
24198 \[
24199 A=B
24200 \]
24201
24202 \end_inset
24203
24204 You can only number and reference displayed formulas.
24205 \end_layout
24206
24207 \begin_layout Standard
24208 \SpecialChar LyX
24209  also supports many \SpecialChar LaTeX
24210  math commands.
24211  For example, typing 
24212 \begin_inset Quotes eld
24213 \end_inset
24214
24215
24216 \series bold
24217
24218 \backslash
24219 alpha
24220 \series default
24221
24222 \begin_inset Quotes erd
24223 \end_inset
24224
24225 , followed by a space, in a formula will create the Greek letter 
24226 \begin_inset Formula $\alpha$
24227 \end_inset
24228
24229 .
24230  Typing commands might sometimes be faster than using the 
24231 \family sans
24232 Math
24233 \begin_inset space ~
24234 \end_inset
24235
24236 Panel
24237 \family default
24238 .
24239 \end_layout
24240
24241 \begin_layout Subsection
24242 Navigating in Formulas
24243 \begin_inset Index idx
24244 status collapsed
24245
24246 \begin_layout Plain Layout
24247 Math ! Navigating
24248 \end_layout
24249
24250 \end_inset
24251
24252
24253 \end_layout
24254
24255 \begin_layout Standard
24256 The best control over the cursor position within an existing formula is
24257  achieved with the arrow keys.
24258  \SpecialChar LyX
24259  uses small rectangles to indicate places where something can be inserted.
24260  The arrow keys can be used to navigate between parts of a formula.
24261  Pressing 
24262 \family sans
24263 Space
24264 \family default
24265  will leave a formula construct (a square root 
24266 \begin_inset Formula $\sqrt{2}$
24267 \end_inset
24268
24269 , or parentheses 
24270 \begin_inset Formula $\left(f\right)$
24271 \end_inset
24272
24273 , or a matrix 
24274 \begin_inset Formula $\left[\begin{array}{cc}
24275 1 & 2\\
24276 3 & 4
24277 \end{array}\right]$
24278 \end_inset
24279
24280 ).
24281  Pressing 
24282 \family sans
24283 Escape
24284 \family default
24285  will leave the formula, placing the cursor after the formula.
24286  
24287 \family sans
24288 Tab
24289 \family default
24290  can be used to move horizontally in a formula; for example, through the
24291  cells of a matrix or the positions in a multi-line equation.
24292 \end_layout
24293
24294 \begin_layout Standard
24295
24296 \family sans
24297 Space
24298 \family default
24299 , printed in this document as 
24300 \begin_inset Quotes eld
24301 \end_inset
24302
24303
24304 \begin_inset space \textvisiblespace{}
24305 \end_inset
24306
24307
24308 \begin_inset Quotes erd
24309 \end_inset
24310
24311 , seems to do nothing in a formula, since it does not add a space between
24312  characters, but it does exit a nested structure.
24313  For this reason, you have to be careful about using 
24314 \family sans
24315 Space
24316 \family default
24317 .
24318  For example, if you want 
24319 \begin_inset Formula $\sqrt{2x+1}$
24320 \end_inset
24321
24322 , type 
24323 \series bold
24324
24325 \backslash
24326 sqrt
24327 \begin_inset space \textvisiblespace{}
24328 \end_inset
24329
24330 2x+1
24331 \series default
24332  and not 
24333 \series bold
24334
24335 \backslash
24336 sqrt
24337 \begin_inset space \textvisiblespace{}
24338 \end_inset
24339
24340 2x
24341 \begin_inset space \textvisiblespace{}
24342 \end_inset
24343
24344 +1
24345 \series default
24346 , since in the latter case only the 
24347 \family typewriter
24348
24349 \begin_inset Formula $2x$
24350 \end_inset
24351
24352
24353 \family default
24354  will be under the square root sign: 
24355 \begin_inset Formula $\sqrt{2x}+1$
24356 \end_inset
24357
24358 .
24359 \end_layout
24360
24361 \begin_layout Standard
24362 You can leave many parts of a formula, like this matrix, partially filled
24363  in, such as:
24364 \begin_inset Formula 
24365 \[
24366 \left(\begin{array}{ccc}
24367 \lambda_{1}\\
24368  & \ddots\\
24369  &  & \lambda_{n}
24370 \end{array}\right)
24371 \]
24372
24373 \end_inset
24374
24375 If you leave a fraction only partially filled in, or a subscript with nothing
24376  in it, the results will be unpredictable, but most constructs don't mind.
24377 \end_layout
24378
24379 \begin_layout Subsection
24380 Selecting Text
24381 \end_layout
24382
24383 \begin_layout Standard
24384 You can select text within a formula in two different ways.
24385  Place the cursor at one end of the string of text you want, and press 
24386 \family sans
24387 Shift
24388 \family default
24389  and a cursor movement key to select text.
24390  It will be highlighted as with regular text selection.
24391  Alternatively, you can select text with the mouse in the usual way.
24392  That text can then be cut or copied, and then pasted within any formula,
24393  but not in a normal text region in \SpecialChar LyX
24394 .
24395 \end_layout
24396
24397 \begin_layout Subsection
24398 Exponents and Subscripts
24399 \begin_inset Index idx
24400 status collapsed
24401
24402 \begin_layout Plain Layout
24403 Math ! Exponents
24404 \end_layout
24405
24406 \end_inset
24407
24408
24409 \begin_inset Index idx
24410 status collapsed
24411
24412 \begin_layout Plain Layout
24413 Math ! Subscripts
24414 \end_layout
24415
24416 \end_inset
24417
24418
24419 \end_layout
24420
24421 \begin_layout Standard
24422 You can use the math panel to add super- or subscripts (buttons 
24423 \begin_inset Info
24424 type  "icon"
24425 arg   "math-superscript"
24426 \end_inset
24427
24428  and 
24429 \begin_inset Info
24430 type  "icon"
24431 arg   "math-subscript"
24432 \end_inset
24433
24434 ), but it is often much easier to use a command.
24435  To get 
24436 \begin_inset Formula $x^{2}$
24437 \end_inset
24438
24439 , type in a formula 
24440 \series bold
24441 x^2
24442 \begin_inset space \textvisiblespace{}
24443 \end_inset
24444
24445
24446 \series default
24447 .
24448  The final 
24449 \family sans
24450 Space
24451 \family default
24452  puts the cursor back down on the base line of the expression.
24453  If you type 
24454 \series bold
24455 x^2y
24456 \series default
24457 , you will get 
24458 \begin_inset Formula $x^{2y}$
24459 \end_inset
24460
24461 , to get 
24462 \begin_inset Formula $x^{2}y$
24463 \end_inset
24464
24465 , type 
24466 \series bold
24467 x^2
24468 \begin_inset space \textvisiblespace{}
24469 \end_inset
24470
24471 y
24472 \series default
24473 .
24474  If you use characters in the superscript, that could be accented with the
24475  circumflex 
24476 \begin_inset Quotes eld
24477 \end_inset
24478
24479 ^
24480 \begin_inset Quotes erd
24481 \end_inset
24482
24483 , you have to use an extra 
24484 \family sans
24485 Space
24486 \family default
24487  to separate the circumflex and the character.
24488  For example, if you want 
24489 \begin_inset Formula $x^{a}$
24490 \end_inset
24491
24492 , type 
24493 \series bold
24494 x^
24495 \begin_inset space \textvisiblespace{}
24496 \end_inset
24497
24498 a
24499 \series default
24500 .
24501  Subscripts are similar: To get 
24502 \begin_inset Formula $a_{1}$
24503 \end_inset
24504
24505 , type 
24506 \series bold
24507 a_1
24508 \begin_inset space \textvisiblespace{}
24509 \end_inset
24510
24511
24512 \series default
24513 .
24514 \end_layout
24515
24516 \begin_layout Subsection
24517 Fractions
24518 \begin_inset Index idx
24519 status collapsed
24520
24521 \begin_layout Plain Layout
24522 Math ! Fractions
24523 \end_layout
24524
24525 \end_inset
24526
24527
24528 \end_layout
24529
24530 \begin_layout Standard
24531 Create a fraction either with the command 
24532 \series bold
24533
24534 \backslash
24535 frac
24536 \series default
24537  or by using the icon 
24538 \begin_inset Info
24539 type  "icon"
24540 arg   "math-insert \\frac"
24541 \end_inset
24542
24543  in the 
24544 \family sans
24545 Math
24546 \begin_inset space ~
24547 \end_inset
24548
24549 Panel
24550 \family default
24551 .
24552  You will be presented with an empty fraction.
24553  The cursor is above the fraction line.
24554  To move it to the bottom, simply press 
24555 \family sans
24556 Down
24557 \family default
24558 .
24559  To move back up, press 
24560 \family sans
24561 Up
24562 \family default
24563 .
24564  Any math structure can be placed in a fraction, as this example shows:
24565 \begin_inset Formula 
24566 \[
24567 \left[\frac{1}{\left(\begin{array}{cc}
24568 2 & 3\\
24569 4 & 5
24570 \end{array}\right)}\right]
24571 \]
24572
24573 \end_inset
24574
24575
24576 \end_layout
24577
24578 \begin_layout Subsection
24579 Roots
24580 \begin_inset Index idx
24581 status collapsed
24582
24583 \begin_layout Plain Layout
24584 Math ! Roots
24585 \end_layout
24586
24587 \end_inset
24588
24589
24590 \end_layout
24591
24592 \begin_layout Standard
24593 Roots can be created using the 
24594 \family sans
24595 Math
24596 \begin_inset space ~
24597 \end_inset
24598
24599 Panel
24600 \family default
24601  buttons 
24602 \begin_inset Info
24603 type  "icon"
24604 arg   "math-insert \\sqrt"
24605 \end_inset
24606
24607  or 
24608 \begin_inset Info
24609 type  "icon"
24610 arg   "math-insert \\root"
24611 \end_inset
24612
24613  or the commands 
24614 \series bold
24615
24616 \backslash
24617 sqrt
24618 \series default
24619  or 
24620 \series bold
24621
24622 \backslash
24623 root
24624 \series default
24625 .
24626  With the command 
24627 \series bold
24628
24629 \backslash
24630 root
24631 \series default
24632  you can produce roots of higher orders, like cube roots, while 
24633 \series bold
24634
24635 \backslash
24636 sqrt
24637 \series default
24638  always produces a square root.
24639 \end_layout
24640
24641 \begin_layout Subsection
24642 Operators with Limits
24643 \begin_inset Index idx
24644 status collapsed
24645
24646 \begin_layout Plain Layout
24647 Math ! Sums
24648 \end_layout
24649
24650 \end_inset
24651
24652
24653 \begin_inset Index idx
24654 status collapsed
24655
24656 \begin_layout Plain Layout
24657 Math ! Integrals
24658 \end_layout
24659
24660 \end_inset
24661
24662
24663 \begin_inset CommandInset label
24664 LatexCommand label
24665 name "subsec:Operators-with-Limits"
24666
24667 \end_inset
24668
24669
24670 \end_layout
24671
24672 \begin_layout Standard
24673 Sum (
24674 \begin_inset Formula $\sum$
24675 \end_inset
24676
24677 ) and integral (
24678 \begin_inset Formula $\int$
24679 \end_inset
24680
24681 ) operators are very often decorated with limits.
24682  These limits can be entered in \SpecialChar LyX
24683  by entering them as you would enter a super-
24684  or subscript, directly after the symbol.
24685  The sum operator will automatically place its 
24686 \begin_inset Quotes eld
24687 \end_inset
24688
24689 limits
24690 \begin_inset Quotes erd
24691 \end_inset
24692
24693  over and under the symbol in displayed formulas, and to the side in inline
24694  formulas, as in 
24695 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
24696 \end_inset
24697
24698 , versus
24699 \begin_inset Formula 
24700 \[
24701 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
24702 \]
24703
24704 \end_inset
24705
24706 Integral signs, however, will place the limits to the side in both formula
24707  types.
24708 \end_layout
24709
24710 \begin_layout Standard
24711 All operators with limits will be automatically re-sized when placed in
24712  display mode.
24713  The placement of the limits can be changed by placing the cursor directly
24714  behind the operator and using the menu 
24715 \family sans
24716 Edit\SpecialChar menuseparator
24717 Math\SpecialChar menuseparator
24718 Change
24719 \begin_inset space ~
24720 \end_inset
24721
24722 Limits
24723 \begin_inset space ~
24724 \end_inset
24725
24726 Type
24727 \family default
24728  or entering 
24729 \begin_inset Info
24730 type  "shortcut"
24731 arg   "math-limits"
24732 \end_inset
24733
24734 .
24735 \end_layout
24736
24737 \begin_layout Standard
24738 Certain other mathematical expressions also have this 
24739 \begin_inset Quotes eld
24740 \end_inset
24741
24742 moving limits
24743 \begin_inset Quotes erd
24744 \end_inset
24745
24746  feature, such as
24747 \begin_inset Index idx
24748 status collapsed
24749
24750 \begin_layout Plain Layout
24751 Math ! Limits
24752 \end_layout
24753
24754 \end_inset
24755
24756
24757 \begin_inset Formula 
24758 \[
24759 \lim_{x\rightarrow\infty}f(x),
24760 \]
24761
24762 \end_inset
24763
24764 which will place the 
24765 \begin_inset Formula $x\rightarrow\infty$
24766 \end_inset
24767
24768  underneath the 
24769 \begin_inset Quotes eld
24770 \end_inset
24771
24772 lim
24773 \begin_inset Quotes erd
24774 \end_inset
24775
24776  in display mode.
24777  In inline formulas it looks like this: 
24778 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
24779 \end_inset
24780
24781 .
24782 \end_layout
24783
24784 \begin_layout Standard
24785 Note that the lim-function was entered as the function macro 
24786 \series bold
24787
24788 \backslash
24789 lim
24790 \series default
24791 .
24792  Have a look at section
24793 \begin_inset space ~
24794 \end_inset
24795
24796
24797 \begin_inset CommandInset ref
24798 LatexCommand ref
24799 reference "subsec:Functions"
24800
24801 \end_inset
24802
24803  for an explanation of function macros.
24804 \end_layout
24805
24806 \begin_layout Subsection
24807 Math Symbols
24808 \begin_inset Index idx
24809 status collapsed
24810
24811 \begin_layout Plain Layout
24812 Math ! Symbols
24813 \end_layout
24814
24815 \end_inset
24816
24817
24818 \end_layout
24819
24820 \begin_layout Standard
24821 Most math symbols can be found in the 
24822 \family sans
24823 Math
24824 \begin_inset space ~
24825 \end_inset
24826
24827 Panel
24828 \family default
24829  under one of several categories; including 
24830 \family sans
24831 Greek
24832 \family default
24833
24834 \family sans
24835 Operators
24836 \family default
24837
24838 \family sans
24839 Relations
24840 \family default
24841
24842 \family sans
24843 Arrows
24844 \family default
24845 .
24846  There are also the additional symbols provided by the American Mathematical
24847  Society (AMS).
24848 \end_layout
24849
24850 \begin_layout Standard
24851 If you know the \SpecialChar LaTeX
24852 -command for a construct or symbol you wish to use, you
24853  don't have to use the 
24854 \family sans
24855 Math
24856 \begin_inset space ~
24857 \end_inset
24858
24859 Panel
24860 \family default
24861 ; you can type the command directly into the formula.
24862  \SpecialChar LyX
24863  will convert it to the corresponding symbol or construct.
24864 \end_layout
24865
24866 \begin_layout Subsection
24867 Altering Spacing
24868 \begin_inset Index idx
24869 status collapsed
24870
24871 \begin_layout Plain Layout
24872 Math ! Spaces
24873 \end_layout
24874
24875 \end_inset
24876
24877
24878 \end_layout
24879
24880 \begin_layout Standard
24881 You may want to create spaces that differ from the standard spacing that
24882  \SpecialChar LaTeX
24883  provides.
24884  To do this, press 
24885 \begin_inset Info
24886 type  "shortcut"
24887 arg   "command-alternatives math-space ; space-insert protected"
24888 \end_inset
24889
24890  or use the 
24891 \family sans
24892 Math
24893 \begin_inset space ~
24894 \end_inset
24895
24896 Panel
24897 \family default
24898  button 
24899 \begin_inset Info
24900 type  "icon"
24901 arg   "math-insert \\space"
24902 \end_inset
24903
24904 .
24905  This generates a small space, and shows a small marker on the screen.
24906  For example, the sequence 
24907 \series bold
24908 a Ctrl+Space b
24909 \series default
24910
24911 \begin_inset Formula $a\,b$
24912 \end_inset
24913
24914  appears in \SpecialChar LyX
24915  as 
24916 \begin_inset Graphics
24917         filename clipart/SpaceMarker.png
24918
24919 \end_inset
24920
24921 .
24922  You can change the space to different sizes when you set the cursor behind
24923  the space marker and enter space again several times.
24924  With every space enter the size will be changed.
24925  Some markers for the space size appear red in \SpecialChar LyX
24926 , because they are negative
24927  spaces.
24928  Here are two examples:
24929 \end_layout
24930
24931 \begin_layout Standard
24932
24933 \series bold
24934 a Ctrl+Space b
24935 \series default
24936  and 3×
24937 \family sans
24938 Space
24939 \family default
24940
24941 \begin_inset Formula $a\quad b$
24942 \end_inset
24943
24944
24945 \end_layout
24946
24947 \begin_layout Standard
24948
24949 \series bold
24950 a Ctrl+Space b
24951 \series default
24952  and 5×
24953 \family sans
24954 Space
24955 \family default
24956
24957 \begin_inset Formula $a\!b$
24958 \end_inset
24959
24960
24961 \end_layout
24962
24963 \begin_layout Subsection
24964 Functions
24965 \begin_inset Index idx
24966 status collapsed
24967
24968 \begin_layout Plain Layout
24969 Math ! Functions
24970 \end_layout
24971
24972 \end_inset
24973
24974
24975 \begin_inset CommandInset label
24976 LatexCommand label
24977 name "subsec:Functions"
24978
24979 \end_inset
24980
24981
24982 \end_layout
24983
24984 \begin_layout Standard
24985 The 
24986 \family sans
24987 Math
24988 \begin_inset space ~
24989 \end_inset
24990
24991 Panel
24992 \family default
24993  contains under the button 
24994 \begin_inset Info
24995 type  "icon"
24996 arg   "math-insert \\functions"
24997 \end_inset
24998
24999  a number of function macros, such as 
25000 \begin_inset Formula $\sin$
25001 \end_inset
25002
25003
25004 \begin_inset Formula $\lim$
25005 \end_inset
25006
25007
25008 \emph on
25009 etc
25010 \emph default
25011 .
25012  (you can also insert them in a formula by typing 
25013 \series bold
25014
25015 \backslash
25016 sin
25017 \series default
25018  etc.).
25019  Standard mathematical practice is that functions are printed upright to
25020  avoid confusions, because 
25021 \begin_inset Formula $sin$
25022 \end_inset
25023
25024  does normally mean 
25025 \begin_inset Formula $s\cdot i\cdot n$
25026 \end_inset
25027
25028 .
25029 \end_layout
25030
25031 \begin_layout Standard
25032 Using the function macros will also produce correct spacing around the function:
25033  
25034 \begin_inset Formula $a\sin x$
25035 \end_inset
25036
25037  is different from 
25038 \begin_inset Formula $asinx$
25039 \end_inset
25040
25041 .
25042 \end_layout
25043
25044 \begin_layout Standard
25045 For some mathematical objects, like limits, the macro changes where subscripts
25046  are placed, as described in section
25047 \begin_inset space ~
25048 \end_inset
25049
25050
25051 \begin_inset CommandInset ref
25052 LatexCommand ref
25053 reference "subsec:Operators-with-Limits"
25054
25055 \end_inset
25056
25057 .
25058 \end_layout
25059
25060 \begin_layout Subsection
25061 Accents
25062 \begin_inset Index idx
25063 status collapsed
25064
25065 \begin_layout Plain Layout
25066 Math ! Accents
25067 \end_layout
25068
25069 \end_inset
25070
25071
25072 \end_layout
25073
25074 \begin_layout Standard
25075 In a formula you can insert accented characters in the same way as in text
25076  mode.
25077  This may depend on your keyboard, or the bindings file you use.
25078  You can also use \SpecialChar LaTeX
25079  commands, for example, to enter 
25080 \begin_inset Formula $\hat{a}$
25081 \end_inset
25082
25083  even if your keyboard doesn't have the circumflex enabled.
25084  Our example is entered by typing 
25085 \series bold
25086
25087 \backslash
25088 hat
25089 \begin_inset space \textvisiblespace{}
25090 \end_inset
25091
25092 a
25093 \series default
25094  in a formula.
25095  Table
25096 \begin_inset space ~
25097 \end_inset
25098
25099
25100 \begin_inset CommandInset ref
25101 LatexCommand ref
25102 reference "tab:Accent-names-and"
25103
25104 \end_inset
25105
25106  shows the equivalences between the accent names and the commands.
25107 \end_layout
25108
25109 \begin_layout Standard
25110 \begin_inset Float table
25111 wide false
25112 sideways false
25113 status open
25114
25115 \begin_layout Plain Layout
25116 \begin_inset Caption Standard
25117
25118 \begin_layout Plain Layout
25119 \begin_inset CommandInset label
25120 LatexCommand label
25121 name "tab:Accent-names-and"
25122
25123 \end_inset
25124
25125 Accent names and the corresponding commands.
25126 \end_layout
25127
25128 \end_inset
25129
25130
25131 \end_layout
25132
25133 \begin_layout Plain Layout
25134 \align center
25135 \begin_inset Tabular
25136 <lyxtabular version="3" rows="11" columns="3">
25137 <features tabularvalignment="middle">
25138 <column alignment="center" valignment="top" width="0pt">
25139 <column alignment="center" valignment="top" width="0pt">
25140 <column alignment="center" valignment="top" width="0pt">
25141 <row>
25142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25143 \begin_inset Text
25144
25145 \begin_layout Plain Layout
25146 Name
25147 \end_layout
25148
25149 \end_inset
25150 </cell>
25151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25152 \begin_inset Text
25153
25154 \begin_layout Plain Layout
25155 Command
25156 \end_layout
25157
25158 \end_inset
25159 </cell>
25160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25161 \begin_inset Text
25162
25163 \begin_layout Plain Layout
25164 E
25165 \family roman
25166 \series medium
25167 \shape up
25168 \size normal
25169 \emph off
25170 \bar no
25171 \noun off
25172 \color none
25173 xample
25174 \end_layout
25175
25176 \end_inset
25177 </cell>
25178 </row>
25179 <row>
25180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25181 \begin_inset Text
25182
25183 \begin_layout Plain Layout
25184
25185 \family roman
25186 \series medium
25187 \shape up
25188 \size normal
25189 \emph off
25190 \bar no
25191 \noun off
25192 \color none
25193 circumflex
25194 \end_layout
25195
25196 \end_inset
25197 </cell>
25198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25199 \begin_inset Text
25200
25201 \begin_layout Plain Layout
25202
25203 \series bold
25204
25205 \backslash
25206 hat
25207 \end_layout
25208
25209 \end_inset
25210 </cell>
25211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25212 \begin_inset Text
25213
25214 \begin_layout Plain Layout
25215
25216 \family roman
25217 \series medium
25218 \shape up
25219 \size normal
25220 \emph off
25221 \bar no
25222 \noun off
25223 \color none
25224 \begin_inset Formula $\hat{a}$
25225 \end_inset
25226
25227
25228 \end_layout
25229
25230 \end_inset
25231 </cell>
25232 </row>
25233 <row>
25234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25235 \begin_inset Text
25236
25237 \begin_layout Plain Layout
25238
25239 \family roman
25240 \series medium
25241 \shape up
25242 \size normal
25243 \emph off
25244 \bar no
25245 \noun off
25246 \color none
25247 grave
25248 \end_layout
25249
25250 \end_inset
25251 </cell>
25252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25253 \begin_inset Text
25254
25255 \begin_layout Plain Layout
25256
25257 \series bold
25258
25259 \backslash
25260 grave
25261 \end_layout
25262
25263 \end_inset
25264 </cell>
25265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25266 \begin_inset Text
25267
25268 \begin_layout Plain Layout
25269
25270 \family roman
25271 \series medium
25272 \shape up
25273 \size normal
25274 \emph off
25275 \bar no
25276 \noun off
25277 \color none
25278 \begin_inset Formula $\grave{a}$
25279 \end_inset
25280
25281
25282 \end_layout
25283
25284 \end_inset
25285 </cell>
25286 </row>
25287 <row>
25288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25289 \begin_inset Text
25290
25291 \begin_layout Plain Layout
25292
25293 \family roman
25294 \series medium
25295 \shape up
25296 \size normal
25297 \emph off
25298 \bar no
25299 \noun off
25300 \color none
25301 acute
25302 \end_layout
25303
25304 \end_inset
25305 </cell>
25306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25307 \begin_inset Text
25308
25309 \begin_layout Plain Layout
25310
25311 \series bold
25312
25313 \backslash
25314 acute
25315 \end_layout
25316
25317 \end_inset
25318 </cell>
25319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25320 \begin_inset Text
25321
25322 \begin_layout Plain Layout
25323
25324 \family roman
25325 \series medium
25326 \shape up
25327 \size normal
25328 \emph off
25329 \bar no
25330 \noun off
25331 \color none
25332 \begin_inset Formula $\acute{a}$
25333 \end_inset
25334
25335
25336 \end_layout
25337
25338 \end_inset
25339 </cell>
25340 </row>
25341 <row>
25342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25343 \begin_inset Text
25344
25345 \begin_layout Plain Layout
25346
25347 \family roman
25348 \series medium
25349 \shape up
25350 \size normal
25351 \emph off
25352 \bar no
25353 \noun off
25354 \color none
25355 umlaut
25356 \end_layout
25357
25358 \end_inset
25359 </cell>
25360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25361 \begin_inset Text
25362
25363 \begin_layout Plain Layout
25364
25365 \series bold
25366
25367 \backslash
25368 ddot
25369 \end_layout
25370
25371 \end_inset
25372 </cell>
25373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25374 \begin_inset Text
25375
25376 \begin_layout Plain Layout
25377
25378 \family roman
25379 \series medium
25380 \shape up
25381 \size normal
25382 \emph off
25383 \bar no
25384 \noun off
25385 \color none
25386 \begin_inset Formula $\ddot{a}$
25387 \end_inset
25388
25389
25390 \end_layout
25391
25392 \end_inset
25393 </cell>
25394 </row>
25395 <row>
25396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25397 \begin_inset Text
25398
25399 \begin_layout Plain Layout
25400
25401 \family roman
25402 \series medium
25403 \shape up
25404 \size normal
25405 \emph off
25406 \bar no
25407 \noun off
25408 \color none
25409 tilde
25410 \end_layout
25411
25412 \end_inset
25413 </cell>
25414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25415 \begin_inset Text
25416
25417 \begin_layout Plain Layout
25418
25419 \series bold
25420
25421 \backslash
25422 tilde
25423 \end_layout
25424
25425 \end_inset
25426 </cell>
25427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25428 \begin_inset Text
25429
25430 \begin_layout Plain Layout
25431
25432 \family roman
25433 \series medium
25434 \shape up
25435 \size normal
25436 \emph off
25437 \bar no
25438 \noun off
25439 \color none
25440 \begin_inset Formula $\tilde{a}$
25441 \end_inset
25442
25443
25444 \end_layout
25445
25446 \end_inset
25447 </cell>
25448 </row>
25449 <row>
25450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25451 \begin_inset Text
25452
25453 \begin_layout Plain Layout
25454
25455 \family roman
25456 \series medium
25457 \shape up
25458 \size normal
25459 \emph off
25460 \bar no
25461 \noun off
25462 \color none
25463 dot
25464 \end_layout
25465
25466 \end_inset
25467 </cell>
25468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25469 \begin_inset Text
25470
25471 \begin_layout Plain Layout
25472
25473 \series bold
25474
25475 \backslash
25476 dot
25477 \end_layout
25478
25479 \end_inset
25480 </cell>
25481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25482 \begin_inset Text
25483
25484 \begin_layout Plain Layout
25485
25486 \family roman
25487 \series medium
25488 \shape up
25489 \size normal
25490 \emph off
25491 \bar no
25492 \noun off
25493 \color none
25494 \begin_inset Formula $\dot{a}$
25495 \end_inset
25496
25497
25498 \end_layout
25499
25500 \end_inset
25501 </cell>
25502 </row>
25503 <row>
25504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25505 \begin_inset Text
25506
25507 \begin_layout Plain Layout
25508
25509 \family roman
25510 \series medium
25511 \shape up
25512 \size normal
25513 \emph off
25514 \bar no
25515 \noun off
25516 \color none
25517 breve
25518 \end_layout
25519
25520 \end_inset
25521 </cell>
25522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25523 \begin_inset Text
25524
25525 \begin_layout Plain Layout
25526
25527 \series bold
25528
25529 \backslash
25530 breve
25531 \end_layout
25532
25533 \end_inset
25534 </cell>
25535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25536 \begin_inset Text
25537
25538 \begin_layout Plain Layout
25539
25540 \family roman
25541 \series medium
25542 \shape up
25543 \size normal
25544 \emph off
25545 \bar no
25546 \noun off
25547 \color none
25548 \begin_inset Formula $\breve{a}$
25549 \end_inset
25550
25551
25552 \end_layout
25553
25554 \end_inset
25555 </cell>
25556 </row>
25557 <row>
25558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25559 \begin_inset Text
25560
25561 \begin_layout Plain Layout
25562
25563 \family roman
25564 \series medium
25565 \shape up
25566 \size normal
25567 \emph off
25568 \bar no
25569 \noun off
25570 \color none
25571 caron
25572 \end_layout
25573
25574 \end_inset
25575 </cell>
25576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25577 \begin_inset Text
25578
25579 \begin_layout Plain Layout
25580
25581 \series bold
25582
25583 \backslash
25584 check
25585 \end_layout
25586
25587 \end_inset
25588 </cell>
25589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25590 \begin_inset Text
25591
25592 \begin_layout Plain Layout
25593
25594 \family roman
25595 \series medium
25596 \shape up
25597 \size normal
25598 \emph off
25599 \bar no
25600 \noun off
25601 \color none
25602 \begin_inset Formula $\check{a}$
25603 \end_inset
25604
25605
25606 \end_layout
25607
25608 \end_inset
25609 </cell>
25610 </row>
25611 <row>
25612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25613 \begin_inset Text
25614
25615 \begin_layout Plain Layout
25616
25617 \family roman
25618 \series medium
25619 \shape up
25620 \size normal
25621 \emph off
25622 \bar no
25623 \noun off
25624 \color none
25625 macron
25626 \end_layout
25627
25628 \end_inset
25629 </cell>
25630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25631 \begin_inset Text
25632
25633 \begin_layout Plain Layout
25634
25635 \series bold
25636
25637 \backslash
25638 bar
25639 \end_layout
25640
25641 \end_inset
25642 </cell>
25643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25644 \begin_inset Text
25645
25646 \begin_layout Plain Layout
25647
25648 \family roman
25649 \series medium
25650 \shape up
25651 \size normal
25652 \emph off
25653 \bar no
25654 \noun off
25655 \color none
25656 \begin_inset Formula $\bar{a}$
25657 \end_inset
25658
25659
25660 \end_layout
25661
25662 \end_inset
25663 </cell>
25664 </row>
25665 <row>
25666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25667 \begin_inset Text
25668
25669 \begin_layout Plain Layout
25670 vector
25671 \end_layout
25672
25673 \end_inset
25674 </cell>
25675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25676 \begin_inset Text
25677
25678 \begin_layout Plain Layout
25679
25680 \series bold
25681
25682 \backslash
25683 vec
25684 \end_layout
25685
25686 \end_inset
25687 </cell>
25688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25689 \begin_inset Text
25690
25691 \begin_layout Plain Layout
25692
25693 \family roman
25694 \series medium
25695 \shape up
25696 \size normal
25697 \emph off
25698 \bar no
25699 \noun off
25700 \color none
25701 \begin_inset Formula $\vec{a}$
25702 \end_inset
25703
25704
25705 \end_layout
25706
25707 \end_inset
25708 </cell>
25709 </row>
25710 </lyxtabular>
25711
25712 \end_inset
25713
25714
25715 \end_layout
25716
25717 \end_inset
25718
25719
25720 \end_layout
25721
25722 \begin_layout Standard
25723 You can choose one of the accents by selecting an item from the 
25724 \family sans
25725 Frame
25726 \begin_inset space ~
25727 \end_inset
25728
25729 decorations
25730 \family default
25731  symbol set button 
25732 \begin_inset Info
25733 type  "icon"
25734 arg   "math-insert \\hat"
25735 \end_inset
25736
25737  in the math panel; this will apply to any selection you have made within
25738  a formula too.
25739 \end_layout
25740
25741 \begin_layout Section
25742 Brackets and Delimiters
25743 \begin_inset Index idx
25744 status collapsed
25745
25746 \begin_layout Plain Layout
25747 Math ! Brackets
25748 \end_layout
25749
25750 \end_inset
25751
25752
25753 \begin_inset Index idx
25754 status collapsed
25755
25756 \begin_layout Plain Layout
25757 Math ! Delimiters
25758 \end_layout
25759
25760 \end_inset
25761
25762
25763 \begin_inset CommandInset label
25764 LatexCommand label
25765 name "sec:Brackets-and-Delimiters"
25766
25767 \end_inset
25768
25769
25770 \end_layout
25771
25772 \begin_layout Standard
25773 There are several brackets available through \SpecialChar LyX
25774 .
25775  For some purposes, using just the keys 
25776 \family typewriter
25777 []{}()|<>
25778 \family default
25779  should suffice.
25780  But if you want to surround a large structure, like a matrix or a fraction,
25781  or if you have several layers of brackets, it is better to use the math
25782  toolbar delimiter icon 
25783 \begin_inset Info
25784 type  "icon"
25785 arg   "dialog-show mathdelimiter"
25786 \end_inset
25787
25788 .
25789  For example, if you construct the brackets around a matrix in this way:
25790 \begin_inset Formula 
25791 \[
25792 \left[\begin{array}{cc}
25793 1 & 2\\
25794 3 & 4
25795 \end{array}\right]
25796 \]
25797
25798 \end_inset
25799
25800 it makes it easier to see the layers of parentheses.
25801  Below, the expression on the left was entered using the delimiter icon
25802  
25803 \begin_inset Info
25804 type  "icon"
25805 arg   "dialog-show mathdelimiter"
25806 \end_inset
25807
25808  and the expression on the right was entered using the 
25809 \family typewriter
25810 ()
25811 \family default
25812  keys.
25813  
25814 \begin_inset Formula 
25815 \[
25816 \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})}))}
25817 \]
25818
25819 \end_inset
25820
25821
25822 \end_layout
25823
25824 \begin_layout Standard
25825 If you use the delimiter icon, the parentheses, and other brackets from
25826  that menu will automatically re-size to accommodate the size of what is
25827  inside.
25828 \end_layout
25829
25830 \begin_layout Standard
25831 To construct brackets click on the button for the bracket you want on the
25832  left side and right side.
25833  If you use the option 
25834 \family sans
25835 Keep
25836 \begin_inset space ~
25837 \end_inset
25838
25839 matched
25840 \family default
25841 , the selected bracket type will be used for the left and the right side.
25842  The selection will be shown as \SpecialChar TeX
25843  code.
25844  If you want one side not to have a bracket, use 
25845 \family sans
25846 (none)
25847 \family default
25848 .
25849  It will appear in \SpecialChar LyX
25850  with a dotted line, but nothing will be printed.
25851 \end_layout
25852
25853 \begin_layout Standard
25854 If you want to place brackets around existing math structures, like a square
25855  root, you can do so by first highlighting (selecting) the structure that
25856  is to go inside the brackets.
25857  Then choose the appropriate brackets for left and right and click on 
25858 \family sans
25859 Insert
25860 \family default
25861 .
25862  The most common bracket combinations (parentheses, square brackets, and
25863  braces, on both sides) can be entered more quickly using keyboard shortcuts.
25864  For example, to insert a pair of parentheses, select the structure and
25865  enter 
25866 \begin_inset Info
25867 type  "shortcut"
25868 arg   "math-delim ( )"
25869 \end_inset
25870
25871 .
25872 \end_layout
25873
25874 \begin_layout Section
25875 Arrays and Multi-line Equations
25876 \begin_inset Index idx
25877 status collapsed
25878
25879 \begin_layout Plain Layout
25880 Math ! Arrays
25881 \end_layout
25882
25883 \end_inset
25884
25885
25886 \begin_inset Index idx
25887 status collapsed
25888
25889 \begin_layout Plain Layout
25890 Math ! Matrices
25891 \end_layout
25892
25893 \end_inset
25894
25895
25896 \begin_inset Index idx
25897 status collapsed
25898
25899 \begin_layout Plain Layout
25900 Math ! Multi-line Equations
25901 \end_layout
25902
25903 \end_inset
25904
25905
25906 \end_layout
25907
25908 \begin_layout Standard
25909 Matrices are entered in \SpecialChar LyX
25910  using the 
25911 \family sans
25912 Math
25913 \begin_inset space ~
25914 \end_inset
25915
25916 Panel
25917 \family default
25918  matrix button 
25919 \begin_inset Info
25920 type  "icon"
25921 arg   "dialog-show mathmatrix"
25922 \end_inset
25923
25924 .
25925  It will open a dialog for you to choose the number of rows/columns.
25926  Here is an example:
25927 \begin_inset Formula 
25928 \[
25929 \left(\begin{array}{ccc}
25930 1 & 2 & 3\\
25931 4 & 5 & 6\\
25932 7 & 8 & 9
25933 \end{array}\right)
25934 \]
25935
25936 \end_inset
25937
25938 The parentheses aren't automatic, but you can add them as described in section
25939 \begin_inset space ~
25940 \end_inset
25941
25942
25943 \begin_inset CommandInset ref
25944 LatexCommand ref
25945 reference "sec:Brackets-and-Delimiters"
25946
25947 \end_inset
25948
25949 .
25950  When you construct the matrix, you can decide whether the column entries
25951  will be left-, right-, or center-justified.
25952  This alignment is set in the box 
25953 \family sans
25954 Horizontal
25955 \family default
25956  with the letters 
25957 \begin_inset Quotes eld
25958 \end_inset
25959
25960
25961 \family sans
25962 l
25963 \family default
25964
25965 \begin_inset Quotes erd
25966 \end_inset
25967
25968
25969 \begin_inset Quotes eld
25970 \end_inset
25971
25972
25973 \family sans
25974 r
25975 \family default
25976
25977 \begin_inset Quotes erd
25978 \end_inset
25979
25980 , and 
25981 \begin_inset Quotes eld
25982 \end_inset
25983
25984
25985 \family sans
25986 c
25987 \family default
25988
25989 \begin_inset Quotes erd
25990 \end_inset
25991
25992 .
25993  \SpecialChar LyX
25994  proposes a 
25995 \begin_inset Quotes eld
25996 \end_inset
25997
25998
25999 \family sans
26000 c
26001 \family default
26002
26003 \begin_inset Quotes erd
26004 \end_inset
26005
26006  for every column as default.
26007  For example, the sequence 
26008 \begin_inset Quotes eld
26009 \end_inset
26010
26011
26012 \family sans
26013 lcr
26014 \family default
26015
26016 \begin_inset Quotes erd
26017 \end_inset
26018
26019  means that the first column will be left-justified, the second will be
26020  centered, and the third column will be right-justified, because each letter
26021  corresponds to the relevant column.
26022  The result will look like this:
26023 \begin_inset Formula 
26024 \[
26025 \begin{array}{lcr}
26026 this & this\,column & this\,column\\
26027 column & has & has\,right\\
26028 has\,left\,alignment & center\,alignment & alignment
26029 \end{array}.
26030 \]
26031
26032 \end_inset
26033
26034
26035 \end_layout
26036
26037 \begin_layout Standard
26038 You can add more rows to an existing matrix by entering 
26039 \begin_inset Info
26040 type  "shortcut"
26041 arg   "newline-insert newline"
26042 \end_inset
26043
26044  while the cursor is in the matrix.
26045  Adding or deleting columns can be done via the menu 
26046 \family sans
26047 Edit\SpecialChar menuseparator
26048 Math
26049 \family default
26050  or the math toolbar.
26051 \end_layout
26052
26053 \begin_layout Standard
26054 There are other arrays used in formulas, such as distinctions of cases.
26055  It can be created with the menu 
26056 \family sans
26057 Insert\SpecialChar menuseparator
26058 Math\SpecialChar menuseparator
26059 Cases
26060 \begin_inset space ~
26061 \end_inset
26062
26063 Environment
26064 \family default
26065  or the command 
26066 \series bold
26067
26068 \backslash
26069 cases
26070 \series default
26071 .
26072  Here is an example: 
26073 \begin_inset Formula 
26074 \[
26075 f(x)=\begin{cases}
26076 -1 & x<0\\
26077 0 & x=0\\
26078 1 & x>0
26079 \end{cases}
26080 \]
26081
26082 \end_inset
26083
26084
26085 \end_layout
26086
26087 \begin_layout Standard
26088 \begin_inset VSpace bigskip
26089 \end_inset
26090
26091 Multi-line formulas are created when you press 
26092 \begin_inset Info
26093 type  "shortcut"
26094 arg   "newline-insert newline"
26095 \end_inset
26096
26097  within a formula.
26098  In an empty formula you can see that three blue boxes appear, one for each
26099  column.
26100  When you press 
26101 \begin_inset Info
26102 type  "shortcut"
26103 arg   "newline-insert newline"
26104 \end_inset
26105
26106  in a non-empty formula, the part before the relation sign (equal sign 
26107 \begin_inset Quotes eld
26108 \end_inset
26109
26110 =
26111 \begin_inset Quotes erd
26112 \end_inset
26113
26114  etc.) will be inserted automatically in the first column, the relation sign
26115  is in the second column, and the rest in the third column.
26116  A new row is created by every further entry of 
26117 \begin_inset Info
26118 type  "shortcut"
26119 arg   "newline-insert newline"
26120 \end_inset
26121
26122 .
26123  Multi-line formulas are always displayed formulas.
26124  Here is an example:
26125 \begin_inset Formula 
26126 \begin{eqnarray}
26127 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
26128 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
26129 \end{eqnarray}
26130
26131 \end_inset
26132
26133 Note that the middle column is designed for relation signs so structures
26134  in this column will be printed in a smaller size:
26135 \begin_inset Formula 
26136 \begin{eqnarray*}
26137 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
26138 \end{eqnarray*}
26139
26140 \end_inset
26141
26142
26143 \end_layout
26144
26145 \begin_layout Standard
26146 The multi-line formula type described here is called 
26147 \family typewriter
26148 \series medium
26149 eqnarray
26150 \family default
26151 \series default
26152 .
26153  There are other multi-line types more suitable for certain situations,
26154  for example if you want a better inter-line spacing than in formula 
26155 \begin_inset CommandInset ref
26156 LatexCommand eqref
26157 reference "eq:asquared"
26158
26159 \end_inset
26160
26161 .
26162  The other types are described in section
26163 \begin_inset space ~
26164 \end_inset
26165
26166
26167 \begin_inset CommandInset ref
26168 LatexCommand ref
26169 reference "subsec:AMS-Formula-Types"
26170
26171 \end_inset
26172
26173 .
26174 \end_layout
26175
26176 \begin_layout Section
26177 Formula Numbering and Referencing
26178 \begin_inset Index idx
26179 status collapsed
26180
26181 \begin_layout Plain Layout
26182 Math ! Formula numbering
26183 \end_layout
26184
26185 \end_inset
26186
26187
26188 \begin_inset Index idx
26189 status collapsed
26190
26191 \begin_layout Plain Layout
26192 Math ! Referencing formulas
26193 \end_layout
26194
26195 \end_inset
26196
26197
26198 \begin_inset CommandInset label
26199 LatexCommand label
26200 name "sec:Formula-Numbering-and"
26201
26202 \end_inset
26203
26204
26205 \end_layout
26206
26207 \begin_layout Standard
26208 To number a formula, set the cursor in the formula and use the menu 
26209 \family sans
26210 Edit\SpecialChar menuseparator
26211 Math\SpecialChar menuseparator
26212 Number
26213 \begin_inset space ~
26214 \end_inset
26215
26216 Whole
26217 \begin_inset space ~
26218 \end_inset
26219
26220 Formula
26221 \family default
26222  or the shortcut 
26223 \begin_inset Info
26224 type  "shortcut"
26225 arg   "math-number-toggle"
26226 \end_inset
26227
26228 .
26229  The formula number appears in \SpecialChar LyX
26230  within parentheses.
26231  The number shown is temporary and may be different when the output is generated.
26232  The placement and format of the formula number in the output depends on
26233  the document class.
26234  In this document the number is printed together with the chapter number,
26235  separated by a dot:
26236 \begin_inset Formula 
26237 \begin{equation}
26238 1+1=2
26239 \end{equation}
26240
26241 \end_inset
26242
26243 Using 
26244 \begin_inset Info
26245 type  "shortcut"
26246 arg   "math-number-toggle"
26247 \end_inset
26248
26249  in a numbered formula will switch off the numbering.
26250  You can only number displayed formulas.
26251 \end_layout
26252
26253 \begin_layout Standard
26254 Multi-line formulas can be numbered line by line: Using the menu 
26255 \family sans
26256 Edit\SpecialChar menuseparator
26257 Math\SpecialChar menuseparator
26258 Number
26259 \begin_inset space ~
26260 \end_inset
26261
26262 This
26263 \begin_inset space ~
26264 \end_inset
26265
26266 Line
26267 \family default
26268  or the shortcut 
26269 \begin_inset Info
26270 type  "shortcut"
26271 arg   "math-number-line-toggle"
26272 \end_inset
26273
26274  will only toggle the numbering of the line where the cursor is:
26275 \begin_inset Formula 
26276 \begin{eqnarray}
26277 1 & = & 3-2\\
26278 2 & = & 4-2\nonumber \\
26279 4 & \leq & 7
26280 \end{eqnarray}
26281
26282 \end_inset
26283
26284 To number all lines use the shortcut 
26285 \begin_inset Info
26286 type  "shortcut"
26287 arg   "math-number-toggle"
26288 \end_inset
26289
26290 .
26291 \end_layout
26292
26293 \begin_layout Standard
26294 \begin_inset VSpace bigskip
26295 \end_inset
26296
26297 Every displayed formula can be referenced by its number using a label.
26298  A label is inserted with the menu 
26299 \family sans
26300 Insert\SpecialChar menuseparator
26301 Label
26302 \family default
26303  (toolbar button 
26304 \begin_inset Info
26305 type  "icon"
26306 arg   "label-insert"
26307 \end_inset
26308
26309 ) when the cursor is in the formula.
26310  This opens a dialog to enter the label.
26311  It is recommended that you use the suggested 
26312 \begin_inset Quotes eld
26313 \end_inset
26314
26315
26316 \family sans
26317 eq:
26318 \family default
26319
26320 \begin_inset Quotes erd
26321 \end_inset
26322
26323  as the first part of the label, because this helps later to identify the
26324  label type when you have many labels in your document.
26325  We inserted in the following example the label 
26326 \begin_inset Quotes eld
26327 \end_inset
26328
26329 eq:tanhExp
26330 \begin_inset Quotes erd
26331 \end_inset
26332
26333  in the second line:
26334 \begin_inset Formula 
26335 \begin{eqnarray}
26336 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
26337  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
26338 \end{eqnarray}
26339
26340 \end_inset
26341
26342 Every labeled line is automatically numbered.
26343  Therefore the label is shown behind the formula number.
26344  You can reference a labeled formula using the menu 
26345 \family sans
26346 Insert\SpecialChar menuseparator
26347 Cross
26348 \begin_inset space ~
26349 \end_inset
26350
26351 Reference
26352 \family default
26353  (toolbar button 
26354 \begin_inset Info
26355 type  "icon"
26356 arg   "dialog-show-new-inset ref"
26357 \end_inset
26358
26359 ).
26360  A dialog appears to choose a label you want to refer to.
26361  The reference appears in \SpecialChar LyX
26362  as a gray cross-reference box and in the output
26363  as the formula number:
26364 \end_layout
26365
26366 \begin_layout Standard
26367 This is a cross-reference to equation (
26368 \begin_inset CommandInset ref
26369 LatexCommand ref
26370 reference "eq:tanhExp"
26371
26372 \end_inset
26373
26374 ).
26375 \end_layout
26376
26377 \begin_layout Standard
26378 The properties of \SpecialChar LyX
26379 's cross-reference box are described in section
26380 \begin_inset space ~
26381 \end_inset
26382
26383
26384 \begin_inset CommandInset ref
26385 LatexCommand ref
26386 reference "sec:Cross-References"
26387
26388 \end_inset
26389
26390 .
26391  To delete a label, set the cursor at the end in the labeled formula and
26392  press 
26393 \family sans
26394 Del
26395 \family default
26396 .
26397 \end_layout
26398
26399 \begin_layout Section
26400 User defined math macros
26401 \begin_inset Index idx
26402 status collapsed
26403
26404 \begin_layout Plain Layout
26405 Math ! Macros
26406 \end_layout
26407
26408 \end_inset
26409
26410
26411 \end_layout
26412
26413 \begin_layout Standard
26414 \SpecialChar LyX
26415  allows you to define macros for formulas which is very useful when you
26416  have equations of the same form in a document several times.
26417  Math macros are explained in section 
26418 \emph on
26419 Math
26420 \begin_inset space ~
26421 \end_inset
26422
26423 Macros
26424 \emph default
26425  of the 
26426 \emph on
26427 Math
26428 \emph default
26429  manual.
26430 \end_layout
26431
26432 \begin_layout Section
26433 Fine-Tuning
26434 \end_layout
26435
26436 \begin_layout Subsection
26437 Typefaces
26438 \begin_inset Index idx
26439 status collapsed
26440
26441 \begin_layout Plain Layout
26442 Math ! Typefaces
26443 \end_layout
26444
26445 \end_inset
26446
26447
26448 \end_layout
26449
26450 \begin_layout Standard
26451 The standard font for text is italic, for numbers the standard is roman.
26452  To set a font in a formula, use the 
26453 \family sans
26454 Math
26455 \begin_inset space ~
26456 \end_inset
26457
26458 Panel
26459 \family default
26460  button 
26461 \begin_inset Info
26462 type  "icon"
26463 arg   "math-insert \\font"
26464 \end_inset
26465
26466 , or enter its command, listed in table
26467 \begin_inset space ~
26468 \end_inset
26469
26470
26471 \begin_inset CommandInset ref
26472 LatexCommand ref
26473 reference "tab:Typefaces-and-the"
26474
26475 \end_inset
26476
26477 , directly.
26478 \end_layout
26479
26480 \begin_layout Standard
26481 \begin_inset Float table
26482 wide false
26483 sideways false
26484 status open
26485
26486 \begin_layout Plain Layout
26487 \begin_inset Caption Standard
26488
26489 \begin_layout Plain Layout
26490 \begin_inset CommandInset label
26491 LatexCommand label
26492 name "tab:Typefaces-and-the"
26493
26494 \end_inset
26495
26496 Typefaces and the corresponding commands.
26497 \end_layout
26498
26499 \end_inset
26500
26501
26502 \end_layout
26503
26504 \begin_layout Plain Layout
26505 \align center
26506 \begin_inset Tabular
26507 <lyxtabular version="3" rows="9" columns="2">
26508 <features tabularvalignment="middle">
26509 <column alignment="center" valignment="top" width="0pt">
26510 <column alignment="center" valignment="top" width="0pt">
26511 <row>
26512 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26513 \begin_inset Text
26514
26515 \begin_layout Plain Layout
26516 Font
26517 \end_layout
26518
26519 \end_inset
26520 </cell>
26521 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26522 \begin_inset Text
26523
26524 \begin_layout Plain Layout
26525 Command
26526 \end_layout
26527
26528 \end_inset
26529 </cell>
26530 </row>
26531 <row>
26532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26533 \begin_inset Text
26534
26535 \begin_layout Plain Layout
26536
26537 \shape up
26538 \size normal
26539 \bar no
26540 \noun off
26541 \color none
26542 \begin_inset Formula $\mathrm{Roman}$
26543 \end_inset
26544
26545
26546 \end_layout
26547
26548 \end_inset
26549 </cell>
26550 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26551 \begin_inset Text
26552
26553 \begin_layout Plain Layout
26554
26555 \series bold
26556
26557 \backslash
26558 mathrm
26559 \end_layout
26560
26561 \end_inset
26562 </cell>
26563 </row>
26564 <row>
26565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26566 \begin_inset Text
26567
26568 \begin_layout Plain Layout
26569 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
26570 \end_inset
26571
26572
26573 \end_layout
26574
26575 \end_inset
26576 </cell>
26577 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26578 \begin_inset Text
26579
26580 \begin_layout Plain Layout
26581
26582 \series bold
26583
26584 \backslash
26585 mathbf
26586 \end_layout
26587
26588 \end_inset
26589 </cell>
26590 </row>
26591 <row>
26592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26593 \begin_inset Text
26594
26595 \begin_layout Plain Layout
26596 \begin_inset Formula $\mathit{Italic}$
26597 \end_inset
26598
26599
26600 \end_layout
26601
26602 \end_inset
26603 </cell>
26604 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26605 \begin_inset Text
26606
26607 \begin_layout Plain Layout
26608
26609 \series bold
26610
26611 \backslash
26612 mathit
26613 \end_layout
26614
26615 \end_inset
26616 </cell>
26617 </row>
26618 <row>
26619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26620 \begin_inset Text
26621
26622 \begin_layout Plain Layout
26623
26624 \shape up
26625 \size normal
26626 \bar no
26627 \noun off
26628 \color none
26629 \begin_inset Formula $\mathtt{Typewriter}$
26630 \end_inset
26631
26632
26633 \end_layout
26634
26635 \end_inset
26636 </cell>
26637 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26638 \begin_inset Text
26639
26640 \begin_layout Plain Layout
26641
26642 \series bold
26643
26644 \backslash
26645 mathtt
26646 \end_layout
26647
26648 \end_inset
26649 </cell>
26650 </row>
26651 <row>
26652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26653 \begin_inset Text
26654
26655 \begin_layout Plain Layout
26656 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
26657 \end_inset
26658
26659
26660 \end_layout
26661
26662 \end_inset
26663 </cell>
26664 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26665 \begin_inset Text
26666
26667 \begin_layout Plain Layout
26668
26669 \series bold
26670
26671 \backslash
26672 mathbb
26673 \end_layout
26674
26675 \end_inset
26676 </cell>
26677 </row>
26678 <row>
26679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26680 \begin_inset Text
26681
26682 \begin_layout Plain Layout
26683 \begin_inset Formula $\mathfrak{Fraktur}$
26684 \end_inset
26685
26686
26687 \end_layout
26688
26689 \end_inset
26690 </cell>
26691 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26692 \begin_inset Text
26693
26694 \begin_layout Plain Layout
26695
26696 \series bold
26697
26698 \backslash
26699 mathfrak
26700 \end_layout
26701
26702 \end_inset
26703 </cell>
26704 </row>
26705 <row>
26706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26707 \begin_inset Text
26708
26709 \begin_layout Plain Layout
26710
26711 \shape up
26712 \size normal
26713 \emph on
26714 \bar no
26715 \noun off
26716 \color none
26717 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
26718 \end_inset
26719
26720
26721 \end_layout
26722
26723 \end_inset
26724 </cell>
26725 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26726 \begin_inset Text
26727
26728 \begin_layout Plain Layout
26729
26730 \series bold
26731
26732 \backslash
26733 mathcal
26734 \end_layout
26735
26736 \end_inset
26737 </cell>
26738 </row>
26739 <row>
26740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26741 \begin_inset Text
26742
26743 \begin_layout Plain Layout
26744 \begin_inset Formula $\mathsf{SansSerif}$
26745 \end_inset
26746
26747
26748 \end_layout
26749
26750 \end_inset
26751 </cell>
26752 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26753 \begin_inset Text
26754
26755 \begin_layout Plain Layout
26756
26757 \series bold
26758
26759 \backslash
26760 mathsf
26761 \end_layout
26762
26763 \end_inset
26764 </cell>
26765 </row>
26766 </lyxtabular>
26767
26768 \end_inset
26769
26770
26771 \end_layout
26772
26773 \end_inset
26774
26775
26776 \end_layout
26777
26778 \begin_layout Standard
26779 \begin_inset Note Greyedout
26780 status open
26781
26782 \begin_layout Plain Layout
26783
26784 \series bold
26785 Note:
26786 \series default
26787  You can only print capital letters in the typefaces 
26788 \family sans
26789 Blackboard
26790 \family default
26791  and 
26792 \family sans
26793 Calligraphic
26794 \family default
26795 .
26796 \end_layout
26797
26798 \end_inset
26799
26800
26801 \end_layout
26802
26803 \begin_layout Standard
26804 When you use a typeface, a blue box is inserted in the formula.
26805  Every character in this box will be printed in this typeface.
26806  Pressing 
26807 \family sans
26808 Space
26809 \family default
26810  within the box will set the cursor outside, so that you have to use a protected
26811  space when you need a space in the box.
26812  Here is an example where 
26813 \begin_inset Quotes eld
26814 \end_inset
26815
26816 N
26817 \begin_inset Quotes erd
26818 \end_inset
26819
26820  in 
26821 \family sans
26822 Blackboard
26823 \family default
26824  denotes the set of numbers:
26825 \begin_inset Formula 
26826 \[
26827 f(x)=\sqrt{x}\:;\:x\in\mathbb{N}
26828 \]
26829
26830 \end_inset
26831
26832
26833 \end_layout
26834
26835 \begin_layout Standard
26836 The typefaces are nestable, which can cause confusion.
26837  You can, for example, put a character in 
26838 \family sans
26839 Fraktur
26840 \family default
26841  in a box for 
26842 \family sans
26843 Typewriter
26844 \family default
26845
26846 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
26847 \end_inset
26848
26849  
26850 \begin_inset Newline newline
26851 \end_inset
26852
26853 So it is better not to use this feature.
26854 \end_layout
26855
26856 \begin_layout Standard
26857 The typefaces have no effect on Greek letters: 
26858 \begin_inset Formula $\mathfrak{abc\delta e}$
26859 \end_inset
26860
26861
26862 \begin_inset Newline newline
26863 \end_inset
26864
26865 You can only print them emboldened using the command 
26866 \series bold
26867
26868 \backslash
26869 boldsymbol
26870 \series default
26871 , which works like the other typeface commands: 
26872 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
26873 \end_inset
26874
26875
26876 \end_layout
26877
26878 \begin_layout Standard
26879
26880 \series bold
26881
26882 \backslash
26883 boldsymbol
26884 \series default
26885  works for all symbols, letters, and numbers.
26886 \end_layout
26887
26888 \begin_layout Standard
26889 A number of other font options are available as well, in the menu 
26890 \family sans
26891 Edit\SpecialChar menuseparator
26892 Math\SpecialChar menuseparator
26893 Text
26894 \begin_inset space ~
26895 \end_inset
26896
26897 Style
26898 \family default
26899 .
26900 \end_layout
26901
26902 \begin_layout Subsection
26903 Math Text
26904 \begin_inset Index idx
26905 status collapsed
26906
26907 \begin_layout Plain Layout
26908 Math ! Text
26909 \end_layout
26910
26911 \end_inset
26912
26913
26914 \end_layout
26915
26916 \begin_layout Standard
26917 Typefaces are useful for entering some characters in some given font, but
26918  not for text.
26919  For typing longer pieces of text use the math text, which is obtained using
26920  the entry 
26921 \family sans
26922 Normal
26923 \begin_inset space ~
26924 \end_inset
26925
26926 text
26927 \begin_inset space ~
26928 \end_inset
26929
26930 mode
26931 \family default
26932  of the 
26933 \family sans
26934 Math
26935 \begin_inset space ~
26936 \end_inset
26937
26938 Panel
26939 \family default
26940  button 
26941 \begin_inset Info
26942 type  "icon"
26943 arg   "math-insert \\font"
26944 \end_inset
26945
26946 .
26947  Math text appears in \SpecialChar LyX
26948  in black instead of blue.
26949  You can use spaces and accents in math text as in normal text.
26950  Here is an example:
26951 \begin_inset Formula 
26952 \[
26953 f(x)=\begin{cases}
26954 x & \mbox{if I say so}\\
26955 -x & \mbox{under Umständen}
26956 \end{cases}
26957 \]
26958
26959 \end_inset
26960
26961
26962 \end_layout
26963
26964 \begin_layout Subsection
26965 Font Sizes
26966 \begin_inset Index idx
26967 status collapsed
26968
26969 \begin_layout Plain Layout
26970 Math ! Font sizes
26971 \end_layout
26972
26973 \end_inset
26974
26975
26976 \end_layout
26977
26978 \begin_layout Standard
26979 There are four font styles (relative sizes) used in math-mode, which are
26980  automatically chosen in most situations.
26981  These are called 
26982 \family sans
26983 textstyle
26984 \family default
26985
26986 \family sans
26987 displaystyle
26988 \family default
26989
26990 \family sans
26991 scriptstyle
26992 \family default
26993 , and 
26994 \family sans
26995 scriptscriptstyle
26996 \family default
26997 .
26998  For most characters, 
26999 \family sans
27000 textstyle
27001 \family default
27002  and 
27003 \family sans
27004 displaystyle
27005 \family default
27006  are actually the same size, but fractions, superscripts and subscripts,
27007  and certain other structures, are set larger in 
27008 \family sans
27009 displaystyle
27010 \family default
27011 .
27012  Except for some operators, which resize themselves to accommodate various
27013  situations, all text will be set in the styles that \SpecialChar LaTeX
27014  thinks are appropriate.
27015  These choices can be overridden by using the math panel button 
27016 \begin_inset Info
27017 type  "icon"
27018 arg   "math-insert \\style"
27019 \end_inset
27020
27021 .
27022  A box for the size will be created in which you can insert the math structure.
27023  For example, you can set 
27024 \begin_inset Formula $\frac{1}{2}$
27025 \end_inset
27026
27027 , which is normally in 
27028 \family sans
27029 textstyle
27030 \family default
27031 , larger in 
27032 \family sans
27033 displaystyle
27034 \family default
27035
27036 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
27037 \end_inset
27038
27039 .
27040  The four styles are used in the following example:
27041 \end_layout
27042
27043 \begin_layout Standard
27044 \begin_inset Formula $displaystyle$
27045 \end_inset
27046
27047
27048 \begin_inset Formula ${\textstyle textstyle}$
27049 \end_inset
27050
27051
27052 \begin_inset Formula ${\scriptstyle scriptstyle}$
27053 \end_inset
27054
27055
27056 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
27057 \end_inset
27058
27059 .
27060 \end_layout
27061
27062 \begin_layout Standard
27063 All these math-mode font sizes are relative so that if the whole math inset
27064  is set in a particular size with the menu 
27065 \family sans
27066 Edit\SpecialChar menuseparator
27067 Text
27068 \begin_inset space ~
27069 \end_inset
27070
27071 Style
27072 \family default
27073 , all sizes in the formula will be adjusted relative to this size.
27074  Similarly, if the base font size of the document is changed, all fonts
27075  will be adjusted to correspond.
27076  As an example here is a formula in the font size 
27077 \begin_inset Quotes eld
27078 \end_inset
27079
27080 largest
27081 \begin_inset Quotes erd
27082 \end_inset
27083
27084 :
27085 \end_layout
27086
27087 \begin_layout Standard
27088
27089 \family roman
27090 \size largest
27091 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
27092 \end_inset
27093
27094
27095 \end_layout
27096
27097 \begin_layout Section
27098 AMS-\SpecialChar LaTeX
27099
27100 \begin_inset Index idx
27101 status collapsed
27102
27103 \begin_layout Plain Layout
27104 AMS math
27105 \end_layout
27106
27107 \end_inset
27108
27109
27110 \begin_inset Index idx
27111 status collapsed
27112
27113 \begin_layout Plain Layout
27114 Math ! AMS
27115 \end_layout
27116
27117 \end_inset
27118
27119
27120 \end_layout
27121
27122 \begin_layout Standard
27123 \SpecialChar LyX
27124  supports the packages provided by the American Mathematical Society (AMS)
27125  that are in common use.
27126 \end_layout
27127
27128 \begin_layout Subsection
27129 Enabling AMS-Support
27130 \end_layout
27131
27132 \begin_layout Standard
27133 You can make the facilities of the AMS-packages explicitly available in
27134  the document by selecting the checkbox 
27135 \family sans
27136 Use
27137 \begin_inset space ~
27138 \end_inset
27139
27140 AMS
27141 \begin_inset space ~
27142 \end_inset
27143
27144 math
27145 \begin_inset space ~
27146 \end_inset
27147
27148 package
27149 \family default
27150  in the 
27151 \family sans
27152 Document\SpecialChar menuseparator
27153 Settings
27154 \family default
27155
27156 \begin_inset Index idx
27157 status collapsed
27158
27159 \begin_layout Plain Layout
27160 Document ! Settings
27161 \end_layout
27162
27163 \end_inset
27164
27165  dialog under 
27166 \family sans
27167 Math
27168 \begin_inset space ~
27169 \end_inset
27170
27171 Options
27172 \family default
27173 .
27174  AMS is needed for many math-constructs; so when you get \SpecialChar LaTeX
27175 -errors in formulas,
27176  ensure that you have enabled AMS.
27177 \end_layout
27178
27179 \begin_layout Subsection
27180 AMS-Formula Types
27181 \begin_inset CommandInset label
27182 LatexCommand label
27183 name "subsec:AMS-Formula-Types"
27184
27185 \end_inset
27186
27187
27188 \begin_inset Index idx
27189 status collapsed
27190
27191 \begin_layout Plain Layout
27192 Math ! Multi-line Equations
27193 \end_layout
27194
27195 \end_inset
27196
27197
27198 \end_layout
27199
27200 \begin_layout Standard
27201 AMS-\SpecialChar LaTeX
27202  provides a selection of different formula types.
27203  \SpecialChar LyX
27204  allows you to choose between 
27205 \family typewriter
27206 align
27207 \family default
27208
27209 \family typewriter
27210 alignat
27211 \family default
27212
27213 \family typewriter
27214 flalign
27215 \family default
27216
27217 \family typewriter
27218 gather
27219 \family default
27220 , and 
27221 \family typewriter
27222 multline
27223 \family default
27224 .
27225  We refer you to the AMS-documentation, 
27226 \begin_inset CommandInset citation
27227 LatexCommand cite
27228 key "AMS"
27229 literal "true"
27230
27231 \end_inset
27232
27233 , for an explanation of these formula types.
27234 \end_layout
27235
27236 \begin_layout Chapter
27237 More Tools
27238 \end_layout
27239
27240 \begin_layout Section
27241 Cross-References
27242 \begin_inset Index idx
27243 status collapsed
27244
27245 \begin_layout Plain Layout
27246 Cross references
27247 \end_layout
27248
27249 \end_inset
27250
27251
27252 \begin_inset CommandInset label
27253 LatexCommand label
27254 name "sec:Cross-References"
27255
27256 \end_inset
27257
27258
27259 \end_layout
27260
27261 \begin_layout Standard
27262 One of \SpecialChar LyX
27263 's strengths is cross-references.
27264  You can reference every section, float, footnote, formula, and list in
27265  the document.
27266  To reference a document part, you have to insert a label into it.
27267  The label is used as an anchor and a name for the reference.
27268  We want for example to refer to the second item of the following list:
27269 \end_layout
27270
27271 \begin_layout Enumerate
27272 First item
27273 \end_layout
27274
27275 \begin_layout Enumerate
27276 \begin_inset CommandInset label
27277 LatexCommand label
27278 name "enu:Second-item"
27279
27280 \end_inset
27281
27282 Second item
27283 \end_layout
27284
27285 \begin_layout Enumerate
27286 Third item
27287 \end_layout
27288
27289 \begin_layout Standard
27290 First we insert a label into the second item with the menu 
27291 \family sans
27292 Insert\SpecialChar menuseparator
27293 Label
27294 \family default
27295  or by pressing the toolbar button 
27296 \begin_inset Info
27297 type  "icon"
27298 arg   "label-insert"
27299 \end_inset
27300
27301 .
27302  A gray label box like this: 
27303 \begin_inset Graphics
27304         filename clipart/label.png
27305
27306 \end_inset
27307
27308  is inserted and the label window pops up asking for the label text.
27309  \SpecialChar LyX
27310  offers as text the first words of the item with a prefix, in our case
27311  the text 
27312 \begin_inset Quotes eld
27313 \end_inset
27314
27315
27316 \family sans
27317 enu:Second-item
27318 \family default
27319
27320 \begin_inset Quotes erd
27321 \end_inset
27322
27323 .
27324  The prefix 
27325 \begin_inset Quotes eld
27326 \end_inset
27327
27328
27329 \family sans
27330 enu:
27331 \family default
27332
27333 \begin_inset Quotes erd
27334 \end_inset
27335
27336  stands for 
27337 \begin_inset Quotes eld
27338 \end_inset
27339
27340 enumerate
27341 \begin_inset Quotes erd
27342 \end_inset
27343
27344 .
27345  The prefix depends on the document part where the label is inserted; for
27346  example, if you insert a label into a section heading, the suggested prefix
27347  will be 
27348 \begin_inset Quotes eld
27349 \end_inset
27350
27351
27352 \family sans
27353 sec:
27354 \family default
27355
27356 \begin_inset Quotes erd
27357 \end_inset
27358
27359 .
27360 \end_layout
27361
27362 \begin_layout Standard
27363 To reference the item, we refer to its label using the menu 
27364 \family sans
27365 Insert\SpecialChar menuseparator
27366 Cross-Reference
27367 \family default
27368  or the toolbar button 
27369 \begin_inset Info
27370 type  "icon"
27371 arg   "dialog-show-new-inset ref"
27372 \end_inset
27373
27374 .
27375  A gray cross-reference box like this: 
27376 \begin_inset Graphics
27377         filename clipart/reference.png
27378
27379 \end_inset
27380
27381  is inserted and the cross-reference window appears showing all the labels
27382  in the document.
27383  We can now sort the labels alphabetically and then choose the entry 
27384 \begin_inset Quotes eld
27385 \end_inset
27386
27387
27388 \family sans
27389 enu:Second-item
27390 \family default
27391
27392 \begin_inset Quotes erd
27393 \end_inset
27394
27395 .
27396  At the position of the cross-reference box the item number will appear
27397  in the output.
27398 \end_layout
27399
27400 \begin_layout Standard
27401 As an alternative to 
27402 \family sans
27403 Insert\SpecialChar menuseparator
27404 Cross-Reference
27405 \family default
27406 , you can right-click on a label and in the popup menu select 
27407 \family sans
27408 Copy as Reference
27409 \family default
27410 .
27411  The cross-reference to this label is now in the clipboard and can be pasted
27412  to the actual cursor position via the menu 
27413 \family sans
27414 Edit\SpecialChar menuseparator
27415 Paste
27416 \family default
27417  (shortcut 
27418 \begin_inset Info
27419 type  "shortcut"
27420 arg   "paste"
27421 \end_inset
27422
27423 ).
27424 \end_layout
27425
27426 \begin_layout Standard
27427 Here is our cross-reference: Item
27428 \begin_inset space ~
27429 \end_inset
27430
27431
27432 \begin_inset CommandInset ref
27433 LatexCommand ref
27434 reference "enu:Second-item"
27435
27436 \end_inset
27437
27438
27439 \end_layout
27440
27441 \begin_layout Standard
27442 It is recommended to use a protected space
27443 \begin_inset Foot
27444 status collapsed
27445
27446 \begin_layout Plain Layout
27447 described in section
27448 \begin_inset space ~
27449 \end_inset
27450
27451
27452 \begin_inset CommandInset ref
27453 LatexCommand ref
27454 reference "subsec:Protected-Space"
27455
27456 \end_inset
27457
27458
27459 \end_layout
27460
27461 \end_inset
27462
27463  between the cross-reference name and the cross-reference to avoid ugly
27464  line breaks between them.
27465 \end_layout
27466
27467 \begin_layout Standard
27468 There are eight formats of cross-references:
27469 \end_layout
27470
27471 \begin_layout Description
27472 <reference>: prints the number, this is the default: 
27473 \begin_inset CommandInset ref
27474 LatexCommand ref
27475 reference "fig:Two-images"
27476
27477 \end_inset
27478
27479
27480 \end_layout
27481
27482 \begin_layout Description
27483 (<reference>): prints the number within two parentheses, this is the style
27484  normally used to reference formulas, especially when the reference name
27485  
27486 \begin_inset Quotes eld
27487 \end_inset
27488
27489 Equation
27490 \begin_inset Quotes erd
27491 \end_inset
27492
27493  is omitted: 
27494 \begin_inset CommandInset ref
27495 LatexCommand eqref
27496 reference "eq:tanhExp"
27497
27498 \end_inset
27499
27500
27501 \end_layout
27502
27503 \begin_layout Description
27504 <page>: prints the page number: Page
27505 \begin_inset space ~
27506 \end_inset
27507
27508
27509 \begin_inset CommandInset ref
27510 LatexCommand pageref
27511 reference "fig:Two-images"
27512
27513 \end_inset
27514
27515
27516 \end_layout
27517
27518 \begin_layout Description
27519 on
27520 \begin_inset space ~
27521 \end_inset
27522
27523 page
27524 \begin_inset space ~
27525 \end_inset
27526
27527 <page>: prints the text “on page” and the page number: 
27528 \begin_inset CommandInset ref
27529 LatexCommand vpageref
27530 reference "fig:Two-images"
27531
27532 \end_inset
27533
27534
27535 \begin_inset Newline newline
27536 \end_inset
27537
27538 If the label is on the same page, it prints “on this page”; if the label
27539  is on a facing page in a two-sided document, it prints “on the facing page”;
27540  if it is on the previous page which is not a facing page, it prints “on
27541  the previous page”; if it is on the next page which is not a facing page,
27542  it prints “on the next page”.
27543  The wording of the printed text also depends on the used document class.
27544 \end_layout
27545
27546 \begin_layout Description
27547 <reference>
27548 \begin_inset space ~
27549 \end_inset
27550
27551 on
27552 \begin_inset space ~
27553 \end_inset
27554
27555 page
27556 \begin_inset space ~
27557 \end_inset
27558
27559 <page>: prints the number, the text “on page” and the page number: 
27560 \begin_inset CommandInset ref
27561 LatexCommand vref
27562 reference "fig:Two-images"
27563
27564 \end_inset
27565
27566
27567 \begin_inset Newline newline
27568 \end_inset
27569
27570 If the label is on the same page, this format behaves like 
27571 \family sans
27572 \series bold
27573 <reference>
27574 \family default
27575 \series default
27576 ; otherwise it behaves like 
27577 \family sans
27578 \series bold
27579 on
27580 \begin_inset space ~
27581 \end_inset
27582
27583 page
27584 \begin_inset space ~
27585 \end_inset
27586
27587 <page>
27588 \family default
27589 \series default
27590 .
27591 \end_layout
27592
27593 \begin_layout Description
27594 Formatted
27595 \begin_inset space ~
27596 \end_inset
27597
27598 reference: prints a self defined cross-reference format.
27599 \begin_inset Newline newline
27600 \end_inset
27601
27602
27603 \begin_inset Note Greyedout
27604 status open
27605
27606 \begin_layout Plain Layout
27607
27608 \series bold
27609 Note:
27610 \series default
27611  This feature is only available when you have the \SpecialChar LaTeX
27612 -package 
27613 \series bold
27614 prettyref
27615 \series default
27616  or 
27617 \series bold
27618 refstyle
27619 \series default
27620
27621 \begin_inset Index idx
27622 status collapsed
27623
27624 \begin_layout Plain Layout
27625 \SpecialChar LaTeX
27626  packages ! prettyref
27627 \end_layout
27628
27629 \end_inset
27630
27631
27632 \begin_inset Index idx
27633 status collapsed
27634
27635 \begin_layout Plain Layout
27636 \SpecialChar LaTeX
27637  packages ! refstyle
27638 \end_layout
27639
27640 \end_inset
27641
27642  installed.
27643 \end_layout
27644
27645 \end_inset
27646
27647
27648 \begin_inset Newline newline
27649 \end_inset
27650
27651 You can select which \SpecialChar LaTeX
27652 -package should be used for this feature by setting
27653  the option 
27654 \family sans
27655 Use refstyle (not prettyref) for cross-references
27656 \family default
27657  in the menu 
27658 \family sans
27659 Document\SpecialChar menuseparator
27660 Settings\SpecialChar menuseparator
27661 Document Class
27662 \family default
27663 .
27664  The package 
27665 \series bold
27666 refstyle
27667 \series default
27668  is the default and preferred because 
27669 \series bold
27670 prettyref
27671 \series default
27672  supports only English documents.
27673  The format is specified by using the command 
27674 \series bold
27675
27676 \backslash
27677 newrefformat
27678 \series default
27679  (prettyref) or 
27680 \series bold
27681
27682 \backslash
27683 newref
27684 \series default
27685  (refstyle) in the \SpecialChar LaTeX
27686  preamble of the document.
27687  For example redefining all references to figures (which have the label
27688  shortcut 
27689 \begin_inset Quotes eld
27690 \end_inset
27691
27692
27693 \family sans
27694 fig
27695 \family default
27696
27697 \begin_inset Quotes erd
27698 \end_inset
27699
27700 ) can be done for 
27701 \series bold
27702 refstyle
27703 \series default
27704  with this command:
27705 \begin_inset Newline newline
27706 \end_inset
27707
27708
27709 \series bold
27710
27711 \backslash
27712 newref{fig}{refcmd={Image on page 
27713 \backslash
27714 pageref{#1}}}
27715 \series default
27716
27717 \begin_inset Newline newline
27718 \end_inset
27719
27720 Note that neither 
27721 \series bold
27722 prettyref
27723 \series default
27724  nor 
27725 \series bold
27726 refstyle 
27727 \series default
27728 predefines reference formats for all available types.
27729  This is especially true for the wide variety of mathematical `theorem'
27730  environments.
27731  So if you want to make formatted references to, say, Propositions, then
27732  you will need to define the relevant format yourself.
27733  For 
27734 \series bold
27735 prettyref
27736 \series default
27737 , you might do so as follows:
27738 \begin_inset Newline newline
27739 \end_inset
27740
27741
27742 \series bold
27743
27744 \backslash
27745 newrefformat{prop}{Proposition 
27746 \backslash
27747 ref{#1}}
27748 \series default
27749
27750 \begin_inset Newline newline
27751 \end_inset
27752
27753 For more information about defining formatted references, have a look at
27754  the package documentation 
27755 \begin_inset CommandInset citation
27756 LatexCommand cite
27757 key "prettyref,refstyle"
27758 literal "true"
27759
27760 \end_inset
27761
27762 .
27763 \begin_inset Newline newline
27764 \end_inset
27765
27766 The options 
27767 \family sans
27768 Plural
27769 \family default
27770  and 
27771 \family sans
27772 Capitalized
27773 \family default
27774  will be available with formatted references only if you are using the 
27775 \series bold
27776 refstyle
27777 \series default
27778  package.
27779 \end_layout
27780
27781 \begin_layout Description
27782 Textual
27783 \begin_inset space ~
27784 \end_inset
27785
27786 reference: prints the caption or the name of the reference: 
27787 \begin_inset CommandInset ref
27788 LatexCommand nameref
27789 reference "fig:Two-images"
27790
27791 \end_inset
27792
27793
27794 \end_layout
27795
27796 \begin_layout Description
27797 Label
27798 \begin_inset space ~
27799 \end_inset
27800
27801 only: prints only the \SpecialChar LaTeX
27802  label for the reference: 
27803 \begin_inset CommandInset ref
27804 LatexCommand labelonly
27805 reference "fig:Two-images"
27806
27807 \end_inset
27808
27809
27810 \begin_inset Newline newline
27811 \end_inset
27812
27813 This allows for customization, using \SpecialChar TeX
27814  Code, if you want to issue a command
27815  that \SpecialChar LyX
27816  does not support.
27817  If you are using 
27818 \series bold
27819 refstyle
27820 \series default
27821 , then you may want to use the 
27822 \family sans
27823 No
27824 \begin_inset space ~
27825 \end_inset
27826
27827 Prefix
27828 \family default
27829  option, which will output only the part of the reference following the
27830  
27831 \begin_inset Quotes eld
27832 \end_inset
27833
27834 :
27835 \begin_inset Quotes erd
27836 \end_inset
27837
27838  separator.
27839  This is the form needed for e.
27840 \begin_inset space \thinspace{}
27841 \end_inset
27842
27843 g.
27844 \begin_inset space \space{}
27845 \end_inset
27846
27847
27848 \series bold
27849 refstyle
27850 \series default
27851 's range commands.The number and current page of the referenced document
27852  part in the output is automatically calculated by \SpecialChar LaTeX
27853 .
27854  The varieties are adjusted in the field 
27855 \family sans
27856 Format
27857 \family default
27858  of the cross-reference window, that appears when you click on the cross-referen
27859 ce.
27860 \end_layout
27861
27862 \begin_layout Standard
27863 You can only use the style 
27864 \family sans
27865 <reference>
27866 \family default
27867  to reference numbered document parts, while the reference style 
27868 \family sans
27869 <page>
27870 \family default
27871  is always possible.
27872 \end_layout
27873
27874 \begin_layout Standard
27875 If you want to reference a section, put the label in the section heading;
27876  for floats put the label in the caption; for footnotes put the label in
27877  it.
27878  Referencing formulas is explained in section
27879 \begin_inset space ~
27880 \end_inset
27881
27882
27883 \begin_inset CommandInset ref
27884 LatexCommand ref
27885 reference "sec:Formula-Numbering-and"
27886
27887 \end_inset
27888
27889 .
27890 \end_layout
27891
27892 \begin_layout Standard
27893 Right-clicking on a cross-reference opens a context menu.
27894  The entry 
27895 \family sans
27896 Go
27897 \begin_inset space ~
27898 \end_inset
27899
27900 to
27901 \begin_inset space ~
27902 \end_inset
27903
27904 Label
27905 \family default
27906  sets the cursor before the referenced label.
27907  This entry will be renamed in the context menu of the label to 
27908 \family sans
27909 Go
27910 \begin_inset space ~
27911 \end_inset
27912
27913 Back
27914 \family default
27915  so that you can use it to set the cursor back to the cross-reference.
27916  You can also go back with the toolbar button 
27917 \begin_inset Info
27918 type  "icon"
27919 arg   "bookmark-goto 0"
27920 \end_inset
27921
27922 .
27923 \end_layout
27924
27925 \begin_layout Standard
27926 You can change labels at any time.
27927  References to the changed label will automatically be updated so that you
27928  do not need to think about this.
27929 \end_layout
27930
27931 \begin_layout Standard
27932 If a cross-reference refers to a non-existent label, you will see in \SpecialChar LyX
27933  “BROKEN”
27934  in the cross-reference label and two question marks in the output instead
27935  of the reference.
27936 \end_layout
27937
27938 \begin_layout Standard
27939 References are described in detail in the section
27940 \begin_inset space ~
27941 \end_inset
27942
27943
27944 \emph on
27945 Referencing Floats
27946 \emph default
27947  of the 
27948 \emph on
27949 Embedded
27950 \begin_inset space ~
27951 \end_inset
27952
27953 Objects
27954 \emph default
27955  manual.
27956 \end_layout
27957
27958 \begin_layout Section
27959 Table of Contents and other Listings
27960 \begin_inset Index idx
27961 status collapsed
27962
27963 \begin_layout Plain Layout
27964 Table of contents
27965 \end_layout
27966
27967 \end_inset
27968
27969
27970 \begin_inset Index idx
27971 status collapsed
27972
27973 \begin_layout Plain Layout
27974 Navigating ! Outline
27975 \end_layout
27976
27977 \end_inset
27978
27979
27980 \begin_inset Index idx
27981 status collapsed
27982
27983 \begin_layout Plain Layout
27984 Outline
27985 \end_layout
27986
27987 \end_inset
27988
27989
27990 \begin_inset CommandInset label
27991 LatexCommand label
27992 name "sec:toc"
27993
27994 \end_inset
27995
27996
27997 \end_layout
27998
27999 \begin_layout Subsection
28000 Table of Contents
28001 \begin_inset CommandInset label
28002 LatexCommand label
28003 name "subsec:Table-of-Contents"
28004
28005 \end_inset
28006
28007
28008 \end_layout
28009
28010 \begin_layout Standard
28011 The Table of Contents (TOC) is inserted with the menu 
28012 \family sans
28013 Insert\SpecialChar menuseparator
28014 List/TOC\SpecialChar menuseparator
28015 Table
28016 \begin_inset space ~
28017 \end_inset
28018
28019 of
28020 \begin_inset space ~
28021 \end_inset
28022
28023 Contents
28024 \family default
28025 .
28026  It is displayed in \SpecialChar LyX
28027  as a gray box.
28028  If you click on it, the 
28029 \family sans
28030 Outline
28031 \family default
28032  window appears, showing you the TOC entries as outline, which allows you
28033  to move and rearrange sections in your documents.
28034  So this operation is an alternative to the menu 
28035 \family sans
28036 View\SpecialChar menuseparator
28037 Outline
28038 \begin_inset space ~
28039 \end_inset
28040
28041 Pane
28042 \family default
28043  that is described in section
28044 \begin_inset space ~
28045 \end_inset
28046
28047
28048 \begin_inset CommandInset ref
28049 LatexCommand ref
28050 reference "subsec:The-Outliner"
28051
28052 \end_inset
28053
28054 .
28055 \end_layout
28056
28057 \begin_layout Standard
28058 The TOC in the document output lists every numbered section automatically.
28059  If you have declared a short title for a section heading, as described
28060  in section
28061 \begin_inset space ~
28062 \end_inset
28063
28064
28065 \begin_inset CommandInset ref
28066 LatexCommand ref
28067 reference "sec:Short-Titles"
28068
28069 \end_inset
28070
28071 , it will be used in the TOC instead of the section heading.
28072  Section
28073 \begin_inset space ~
28074 \end_inset
28075
28076
28077 \begin_inset CommandInset ref
28078 LatexCommand ref
28079 reference "subsec:Numbering-depth"
28080
28081 \end_inset
28082
28083  describes how the level is adjusted that defines which section types are
28084  listed in the TOC.
28085  Unnumbered sections are not listed in the TOC.
28086 \end_layout
28087
28088 \begin_layout Subsection
28089 List of Figures, Tables, Listings and Algorithms
28090 \begin_inset CommandInset label
28091 LatexCommand label
28092 name "subsec:List-of-Figures"
28093
28094 \end_inset
28095
28096
28097 \end_layout
28098
28099 \begin_layout Standard
28100 Table, figure, listings and algorithm lists are very much like the table
28101  of contents.
28102  You can insert them via the 
28103 \family sans
28104 Insert\SpecialChar menuseparator
28105 List/TOC
28106 \family default
28107  submenus.
28108  The list entries are the float captions and the float number.
28109 \end_layout
28110
28111 \begin_layout Section
28112 URLs and Hyperlinks
28113 \begin_inset Index idx
28114 status collapsed
28115
28116 \begin_layout Plain Layout
28117 URLs
28118 \end_layout
28119
28120 \end_inset
28121
28122
28123 \begin_inset Index idx
28124 status collapsed
28125
28126 \begin_layout Plain Layout
28127 Hyperlinks
28128 \end_layout
28129
28130 \end_inset
28131
28132
28133 \end_layout
28134
28135 \begin_layout Subsection
28136 URLs
28137 \begin_inset CommandInset label
28138 LatexCommand label
28139 name "subsec:URLs"
28140
28141 \end_inset
28142
28143
28144 \end_layout
28145
28146 \begin_layout Standard
28147 Links to web pages or email addresses can be inserted via the menu 
28148 \family sans
28149 Insert\SpecialChar menuseparator
28150 URL
28151 \family default
28152 .
28153 \end_layout
28154
28155 \begin_layout Standard
28156 Here is an example URL: \SpecialChar LyX
28157 's homepage: 
28158 \begin_inset Flex URL
28159 status collapsed
28160
28161 \begin_layout Plain Layout
28162
28163 https://www.lyx.org
28164 \end_layout
28165
28166 \end_inset
28167
28168
28169 \end_layout
28170
28171 \begin_layout Standard
28172 You cannot change the style of the link text, the URL text will always be
28173  in the style 
28174 \family typewriter
28175 Typewriter
28176 \family default
28177 .
28178  To be able to format the URL text, use hyperlinks as explained in the next
28179  subsection.
28180 \end_layout
28181
28182 \begin_layout Standard
28183 \begin_inset Note Greyedout
28184 status open
28185
28186 \begin_layout Plain Layout
28187
28188 \series bold
28189 Note:
28190 \series default
28191  URLs must not end with a backslash, otherwise you get \SpecialChar LaTeX
28192  errors.
28193 \end_layout
28194
28195 \end_inset
28196
28197
28198 \end_layout
28199
28200 \begin_layout Subsection
28201 Hyperlinks
28202 \begin_inset CommandInset label
28203 LatexCommand label
28204 name "subsec:Hyperlinks"
28205
28206 \end_inset
28207
28208
28209 \end_layout
28210
28211 \begin_layout Standard
28212 Hyperlinks can be inserted with the menu 
28213 \family sans
28214 Insert\SpecialChar menuseparator
28215 Hyperlink
28216 \family default
28217  or with the toolbar button 
28218 \begin_inset Info
28219 type  "icon"
28220 arg   "href-insert"
28221 \end_inset
28222
28223 .
28224  The appearing dialog has two fields: 
28225 \family sans
28226 Target
28227 \family default
28228  and 
28229 \family sans
28230 Name
28231 \family default
28232 .
28233  The name is the printed text for the hyperlink.
28234  The hyperlink type can be a weblink like this: 
28235 \begin_inset CommandInset href
28236 LatexCommand href
28237 name "LyX's homepage"
28238 target "https://www.lyx.org"
28239 literal "false"
28240
28241 \end_inset
28242
28243 , an Email address like this: 
28244 \begin_inset CommandInset href
28245 LatexCommand href
28246 name "lyx-docs mailing list"
28247 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
28248 type "mailto:"
28249 literal "false"
28250
28251 \end_inset
28252
28253 , or a link to a file.
28254  The option 
28255 \family sans
28256 Literal
28257 \family default
28258  in the hyperlink settings dialog allows to input \SpecialChar TeX
28259  code to the 
28260 \family sans
28261 Name
28262 \family default
28263  field.
28264 \end_layout
28265
28266 \begin_layout Standard
28267 You can start applications via a hyperlink when you insert a weblink by
28268  adding the prefix 
28269 \begin_inset Quotes eld
28270 \end_inset
28271
28272
28273 \family sans
28274 run:
28275 \family default
28276
28277 \begin_inset Quotes erd
28278 \end_inset
28279
28280  to the link target.
28281 \end_layout
28282
28283 \begin_layout Standard
28284 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
28285  and become clickable in the DVI and PDF-output.
28286  To set the format of the link text, highlight the hyperlink inset and use
28287  the text style dialog.
28288  This is for example a hyperlink with bold sans serif text: 
28289 \family sans
28290 \series bold
28291
28292 \begin_inset CommandInset href
28293 LatexCommand href
28294 name "LyX's homepage"
28295 target "https://www.lyx.org"
28296 literal "false"
28297
28298 \end_inset
28299
28300
28301 \end_layout
28302
28303 \begin_layout Standard
28304 The link text color can be changed, when the option 
28305 \family sans
28306 Color links
28307 \family default
28308  is set in the PDF Properties dialog (menu 
28309 \family sans
28310 Document\SpecialChar menuseparator
28311 Settings\SpecialChar menuseparator
28312 PDF Properties
28313 \family default
28314 ).
28315  The link text is for example set in this document to blue by adding the
28316  option
28317 \begin_inset Newline newline
28318 \end_inset
28319
28320
28321 \series bold
28322 urlcolor=blue
28323 \series default
28324
28325 \begin_inset Newline newline
28326 \end_inset
28327
28328 to the field 
28329 \family sans
28330 Additional options
28331 \family default
28332  in the PDF Properties dialog.
28333 \end_layout
28334
28335 \begin_layout Section
28336 Appendices
28337 \begin_inset Index idx
28338 status collapsed
28339
28340 \begin_layout Plain Layout
28341 Appendix
28342 \end_layout
28343
28344 \end_inset
28345
28346
28347 \begin_inset CommandInset label
28348 LatexCommand label
28349 name "sec:Appendices"
28350
28351 \end_inset
28352
28353
28354 \end_layout
28355
28356 \begin_layout Standard
28357 Appendices are created with the menu 
28358 \family sans
28359 Document\SpecialChar menuseparator
28360 Start
28361 \begin_inset space ~
28362 \end_inset
28363
28364 Appendix
28365 \begin_inset space ~
28366 \end_inset
28367
28368 Here
28369 \family default
28370 .
28371  This menu sets the document from the current cursor position to the end
28372  as the appendix part of the book.
28373  This part is marked with a red borderline.
28374 \end_layout
28375
28376 \begin_layout Standard
28377 Every chapter (or section) within the appendix part is treated as an appendix,
28378  numbered with a capital Latin letter.
28379  The appendix subsections are numbered with this letter followed by a dot
28380  and the subsection number.
28381  All appendix sections can be referenced as if they were normal sections,
28382  here two examples:
28383 \end_layout
28384
28385 \begin_layout Standard
28386 Appendix
28387 \begin_inset space ~
28388 \end_inset
28389
28390
28391 \begin_inset CommandInset ref
28392 LatexCommand ref
28393 reference "chap:Credits"
28394
28395 \end_inset
28396
28397 ; Appendix
28398 \begin_inset space ~
28399 \end_inset
28400
28401
28402 \begin_inset CommandInset ref
28403 LatexCommand ref
28404 reference "subsec:Export"
28405
28406 \end_inset
28407
28408
28409 \end_layout
28410
28411 \begin_layout Section
28412 Bibliography
28413 \begin_inset Index idx
28414 status collapsed
28415
28416 \begin_layout Plain Layout
28417 Bibliography
28418 \end_layout
28419
28420 \end_inset
28421
28422
28423 \begin_inset CommandInset label
28424 LatexCommand label
28425 name "sec:Bibliography"
28426
28427 \end_inset
28428
28429
28430 \end_layout
28431
28432 \begin_layout Standard
28433 There are two ways of generating the bibliography in a \SpecialChar LyX
28434  document.
28435  You can include a bibliography database, which is explained in sec.
28436 \begin_inset space ~
28437 \end_inset
28438
28439
28440 \begin_inset CommandInset ref
28441 LatexCommand ref
28442 reference "subsec:Bibliography-databases"
28443 plural "false"
28444 caps "false"
28445 noprefix "false"
28446
28447 \end_inset
28448
28449 , or you can insert the bibliography manually, using the paragraph environment
28450  
28451 \family sans
28452 Bibliography
28453 \family default
28454 , which is described in the following section (but see also sec.
28455 \begin_inset space ~
28456 \end_inset
28457
28458
28459 \begin_inset CommandInset ref
28460 LatexCommand ref
28461 reference "subsec:Biblio_environment"
28462
28463 \end_inset
28464
28465 ).
28466  If you want anything other than the numerical citations that are used in
28467  this document, such as author-year citations, and if you have more than
28468  a handful of references, then you should seriously consider
28469 \emph on
28470  
28471 \emph default
28472 using a bibliography database.
28473 \end_layout
28474
28475 \begin_layout Standard
28476 In order to demonstrate the difference between these two approaches, we
28477  use two bibliographies in this document, a 
28478 \family sans
28479 Bibliography
28480 \family default
28481  environment and a database-generated bibliography.
28482  As you can see, the bibliography that is created from a database lists
28483  only the database entries that are referenced in the document.
28484  In other words, the database approach relieves you, amongst other things,
28485  from the burden to check which entries you have actually cited.
28486 \end_layout
28487
28488 \begin_layout Subsection
28489 The Bibliography Environment
28490 \begin_inset CommandInset label
28491 LatexCommand label
28492 name "subsec:The-Bibliography-Environment"
28493
28494 \end_inset
28495
28496
28497 \end_layout
28498
28499 \begin_layout Standard
28500 Within the 
28501 \family sans
28502 Bibliography
28503 \family default
28504  environment, every paragraph begins with a gray bibliography box labeled
28505  with a number.
28506  If you click on it, you will get a dialog in which you can set a 
28507 \family sans
28508 Key
28509 \family default
28510  and a 
28511 \family sans
28512 Label
28513 \family default
28514 .
28515  The key is the symbolic name by which you will refer to this bibliography
28516  entry.
28517  Each entry needs to be given a unique key, which is one word consisting
28518  of ASCII characters only.
28519 \begin_inset Foot
28520 status collapsed
28521
28522 \begin_layout Plain Layout
28523 ASCII means 
28524 \begin_inset CommandInset href
28525 LatexCommand href
28526 name "this set"
28527 target "https://en.wikipedia.org/wiki/ASCII#Character_set"
28528 literal "false"
28529
28530 \end_inset
28531
28532  of characters:
28533 \begin_inset Newline newline
28534 \end_inset
28535
28536
28537 \begin_inset Flex URL
28538 status open
28539
28540 \begin_layout Plain Layout
28541
28542 https://en.wikipedia.org/wiki/ASCII
28543 \backslash
28544 #Character_set
28545 \end_layout
28546
28547 \end_inset
28548
28549
28550 \end_layout
28551
28552 \end_inset
28553
28554  For example, our second entry in the bibliography is a book about \SpecialChar LaTeX
28555  and
28556  we used 
28557 \begin_inset Quotes eld
28558 \end_inset
28559
28560 latexcompanion
28561 \begin_inset Quotes erd
28562 \end_inset
28563
28564 , a short form of its title, as the key.
28565 \begin_inset Newline newline
28566 \end_inset
28567
28568 If you set a 
28569 \family sans
28570 Label
28571 \family default
28572  for the entry, references to it will appear with this label instead of
28573  the number of the entry.
28574  The option 
28575 \family sans
28576 Literal
28577 \family default
28578  in the bibliography items settings dialog allows to input \SpecialChar TeX
28579  code to the
28580  
28581 \family sans
28582 Label
28583 \family default
28584  field.
28585 \end_layout
28586
28587 \begin_layout Standard
28588 You can cross-reference a bibliography entry using the menu 
28589 \family sans
28590 Insert\SpecialChar menuseparator
28591 Citation
28592 \family default
28593  or the toolbar button 
28594 \begin_inset Info
28595 type  "icon"
28596 arg   "dialog-show-new-inset citation"
28597 \end_inset
28598
28599 .
28600  A citation reference box is inserted and a citation window will appear
28601  containing the available citations.
28602  Select one or more keys from the list and 
28603 \family sans
28604 Add
28605 \family default
28606  them.
28607  Then press 
28608 \family sans
28609 OK
28610 \family default
28611 .
28612  The citation reference box will be labeled with the referenced key(s).
28613  If you click on the box, the citation window will appear and you can change
28614  the reference.
28615 \end_layout
28616
28617 \begin_layout Standard
28618 Citation references appear in the output as the number or the label of the
28619  bibliography entry with surrounding brackets.
28620  Here are two examples; the first without a label, the second with the label
28621  
28622 \begin_inset Quotes eld
28623 \end_inset
28624
28625 Credits
28626 \begin_inset Quotes erd
28627 \end_inset
28628
28629 :
28630 \end_layout
28631
28632 \begin_layout Standard
28633 Have a look at the 
28634 \family sans
28635 \SpecialChar LaTeX
28636  Companion Second Edition
28637 \family default
28638
28639 \begin_inset CommandInset citation
28640 LatexCommand cite
28641 key "latexcompanion"
28642 literal "true"
28643
28644 \end_inset
28645
28646
28647 \end_layout
28648
28649 \begin_layout Standard
28650 The \SpecialChar LyX
28651 -Team members are listed in the Credits: 
28652 \begin_inset CommandInset citation
28653 LatexCommand cite
28654 key "lyxcredit"
28655 literal "true"
28656
28657 \end_inset
28658
28659
28660 \end_layout
28661
28662 \begin_layout Standard
28663 You can also produce author-year or author-number citations, using the \SpecialChar LaTeX
28664
28665  package 
28666 \series bold
28667 natbib
28668 \series default
28669
28670 \begin_inset Index idx
28671 status collapsed
28672
28673 \begin_layout Plain Layout
28674 \SpecialChar LaTeX
28675  packages ! natbib
28676 \end_layout
28677
28678 \end_inset
28679
28680 .
28681  In order to do so, the label needs to be given the form 
28682 \begin_inset Quotes eld
28683 \end_inset
28684
28685 Author(Year)
28686 \begin_inset Quotes erd
28687 \end_inset
28688
28689  or 
28690 \begin_inset Quotes eld
28691 \end_inset
28692
28693 Author A and Author B(Year)
28694 \begin_inset Quotes erd
28695 \end_inset
28696
28697  
28698 \emph on
28699 without
28700 \emph default
28701  a blank between the author(s) and the opening parenthesis that delimits
28702  the year.
28703  Then, if you select 
28704 \family sans
28705 Natbib
28706 \begin_inset space ~
28707 \end_inset
28708
28709 (BibTeX)
28710 \family default
28711  in the document settings
28712 \begin_inset Index idx
28713 status collapsed
28714
28715 \begin_layout Plain Layout
28716 Document ! Settings
28717 \end_layout
28718
28719 \end_inset
28720
28721  dialog under 
28722 \family sans
28723 Bibliography\SpecialChar menuseparator
28724 Style
28725 \begin_inset space ~
28726 \end_inset
28727
28728 format
28729 \family default
28730  (see 
28731 \begin_inset CommandInset ref
28732 LatexCommand ref
28733 reference "subsec:Citation-Format"
28734 plural "false"
28735 caps "false"
28736 noprefix "false"
28737
28738 \end_inset
28739
28740 ), you can select between different author-year or author-number styles.
28741 \end_layout
28742
28743 \begin_layout Standard
28744 To align all entries in the bibliography environment you can set a longest
28745  label via the menu 
28746 \family sans
28747 Edit\SpecialChar menuseparator
28748 Paragraph
28749 \begin_inset space ~
28750 \end_inset
28751
28752 Settings
28753 \family default
28754  (toolbar button 
28755 \begin_inset Info
28756 type  "icon"
28757 arg   "layout-paragraph"
28758 \end_inset
28759
28760 ).
28761  All entries are then indented in the output by the width of the given label.
28762 \end_layout
28763
28764 \begin_layout Subsection
28765 Bibliography databases
28766 \begin_inset Index idx
28767 status collapsed
28768
28769 \begin_layout Plain Layout
28770 Bibliography ! Databases
28771 \end_layout
28772
28773 \end_inset
28774
28775
28776 \begin_inset CommandInset label
28777 LatexCommand label
28778 name "subsec:Bibliography-databases"
28779
28780 \end_inset
28781
28782
28783 \end_layout
28784
28785 \begin_layout Standard
28786 Bibliography databases are useful if you use the same references in different
28787  documents.
28788 \begin_inset Foot
28789 status collapsed
28790
28791 \begin_layout Plain Layout
28792 They are also useful for keeping a database of articles and notes concerning
28793  them.
28794  Most of the database programs mentioned below allow you to store annotations
28795  and reviews along with bibliographical information.
28796 \end_layout
28797
28798 \end_inset
28799
28800  It also makes it very easy to have a uniform layout for all bibliography
28801  entries.
28802  You can collect the bibliography of all relevant books and articles of
28803  your working field in a database.
28804  This database can be used for different documents, and by default only
28805  the entries cited in a particular document will appear in the bibliography
28806  list for that document.
28807  This relieves you of the need to keep track of which articles and books
28808  you have cited.
28809 \end_layout
28810
28811 \begin_layout Standard
28812 The database is a text file with the file extension 
28813 \begin_inset Quotes eld
28814 \end_inset
28815
28816
28817 \family sans
28818 .bib
28819 \family default
28820
28821 \begin_inset Quotes erd
28822 \end_inset
28823
28824 , containing the bibliography in a special format.
28825  The format is explained in 
28826 \begin_inset CommandInset citation
28827 LatexCommand cite
28828 key "BibTeX-2"
28829 literal "true"
28830
28831 \end_inset
28832
28833  and in the \SpecialChar LaTeX
28834  books (
28835 \begin_inset CommandInset citation
28836 LatexCommand cite
28837 key "Mittelbach,Kopka,Lamport"
28838 literal "true"
28839
28840 \end_inset
28841
28842 ).
28843  The file can be created using any text editor, but normally one uses a
28844  special program to create and edit the entries in the database.
28845  A list of such programs is maintained on the \SpecialChar LyX
28846  Wiki at 
28847 \begin_inset Flex URL
28848 status collapsed
28849
28850 \begin_layout Plain Layout
28851
28852 https://wiki.lyx.org/BibTeX/Programs
28853 \end_layout
28854
28855 \end_inset
28856
28857 .
28858 \end_layout
28859
28860 \begin_layout Standard
28861 \SpecialChar LyX
28862  supports two different approaches to use bibliography databases in a document.
28863  Bib\SpecialChar TeX
28864  is the classic technique that has been the only way to use such databases
28865  for a long time.
28866  It is quite established and mature and there is a huge range of existing
28867  styles available.
28868  But it has its drawbacks, especially when it comes to more complex bibliographi
28869 c needs and support for specific languages and scripts.
28870  Those are addressed by 
28871 \series bold
28872 biblatex
28873 \series default
28874
28875 \begin_inset Index idx
28876 status collapsed
28877
28878 \begin_layout Plain Layout
28879 \SpecialChar LaTeX
28880  packages ! biblatex
28881 \end_layout
28882
28883 \end_inset
28884
28885 .
28886  It reads the same database format than Bib\SpecialChar TeX
28887  (although it has been significantly
28888  extended beyond Bib\SpecialChar TeX
28889 's scope)
28890 \begin_inset Foot
28891 status collapsed
28892
28893 \begin_layout Plain Layout
28894 Meaning: While 
28895 \noun on
28896 Biblatex
28897 \noun default
28898  can handle any classic Bib\SpecialChar TeX
28899  database, Bib\SpecialChar TeX
28900  might conversely fail to correctly
28901  handle databases that use specific 
28902 \noun on
28903 Biblatex
28904 \noun default
28905  features.
28906 \end_layout
28907
28908 \end_inset
28909
28910 , but it uses a different framework to generate citations and references
28911  from it.
28912 \end_layout
28913
28914 \begin_layout Standard
28915 To select if Bib\SpecialChar TeX
28916  or 
28917 \series bold
28918 biblatex
28919 \series default
28920  should be used, set in the document settings (menu 
28921 \family sans
28922 Document\SpecialChar menuseparator
28923 Settings
28924 \family default
28925 )
28926 \begin_inset Index idx
28927 status collapsed
28928
28929 \begin_layout Plain Layout
28930 Document ! Settings
28931 \end_layout
28932
28933 \end_inset
28934
28935  under 
28936 \family sans
28937 Bibliography
28938 \family default
28939  the 
28940 \family sans
28941 Style
28942 \begin_inset space ~
28943 \end_inset
28944
28945 format
28946 \family default
28947  to a Bib\SpecialChar TeX
28948  or a 
28949 \family sans
28950 Biblatex
28951 \family default
28952  format.
28953 \end_layout
28954
28955 \begin_layout Subsubsection
28956 Bib\SpecialChar TeX
28957
28958 \begin_inset Index idx
28959 status collapsed
28960
28961 \begin_layout Plain Layout
28962 Bibliography ! Bib\SpecialChar TeX
28963
28964 \end_layout
28965
28966 \end_inset
28967
28968
28969 \end_layout
28970
28971 \begin_layout Standard
28972 To access a database via Bib\SpecialChar TeX
28973 , use the menu 
28974 \family sans
28975 Insert\SpecialChar menuseparator
28976 List
28977 \family default
28978 /
28979 \family sans
28980 TOC\SpecialChar menuseparator
28981 Bib(la)TeX
28982 \begin_inset space ~
28983 \end_inset
28984
28985 Bibliography
28986 \family default
28987 .
28988  A window will appear in which you can add one or more databases and select
28989  a Bib\SpecialChar TeX
28990
28991 \family sans
28992  style
28993 \family default
28994  file.
28995  The option 
28996 \family sans
28997 Add bibliography to TOC
28998 \family default
28999  adds a table of contents entry for the bibliography.
29000  In the 
29001 \family sans
29002 Content
29003 \family default
29004  drop box you can select whether to include all the entries in the database
29005  in the document or just the cited references.
29006 \end_layout
29007
29008 \begin_layout Standard
29009 The Bib\SpecialChar TeX
29010  style file is a text file with the file extension 
29011 \begin_inset Quotes eld
29012 \end_inset
29013
29014
29015 \family sans
29016 .bst
29017 \family default
29018
29019 \begin_inset Quotes erd
29020 \end_inset
29021
29022  that controls how the bibliography entries will appear.
29023  Your \SpecialChar LaTeX
29024  distribution should provide several of these, and many publishers
29025  provide their own style files, so that you don't have to take care of the
29026  layout.
29027  It is of course possible to write your own style file, but this is something
29028  for experts.
29029 \begin_inset Foot
29030 status collapsed
29031
29032 \begin_layout Plain Layout
29033 For information on how this is done, have a look at
29034 \begin_inset Newline newline
29035 \end_inset
29036
29037
29038 \begin_inset CommandInset href
29039 LatexCommand href
29040 target "https://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/btxhak.pdf"
29041 literal "false"
29042
29043 \end_inset
29044
29045 .
29046 \end_layout
29047
29048 \end_inset
29049
29050  In this document we used the Bib\SpecialChar TeX
29051  style 
29052 \family sans
29053 alphadin.bst
29054 \family default
29055 , which provides an alpha-numeric style in accordance with the German Standards
29056  Institute (DIN).
29057 \end_layout
29058
29059 \begin_layout Standard
29060 Inserting a citation reference works as described in the previous section.
29061 \end_layout
29062
29063 \begin_layout Subsubsection
29064 Biblatex
29065 \begin_inset Index idx
29066 status collapsed
29067
29068 \begin_layout Plain Layout
29069 Bibliography ! Biblatex
29070 \end_layout
29071
29072 \end_inset
29073
29074
29075 \begin_inset Index idx
29076 status collapsed
29077
29078 \begin_layout Plain Layout
29079 \SpecialChar LaTeX
29080  packages ! biblatex
29081 \end_layout
29082
29083 \end_inset
29084
29085
29086 \end_layout
29087
29088 \begin_layout Standard
29089 Accessing a database via 
29090 \series bold
29091 biblatex
29092 \series default
29093  is almost identical to Bib\SpecialChar TeX
29094 : Use the menu 
29095 \family sans
29096 Insert\SpecialChar menuseparator
29097 List
29098 \family default
29099 /
29100 \family sans
29101 TOC\SpecialChar menuseparator
29102 Bib(la)TeX
29103 \begin_inset space ~
29104 \end_inset
29105
29106 Bibliography
29107 \family default
29108 .
29109  In contrary to Bib\SpecialChar TeX
29110  you cannot select a 
29111 \family sans
29112 style
29113 \family default
29114  file.
29115  The other dialog options are the same as with Bib\SpecialChar TeX
29116 .
29117 \end_layout
29118
29119 \begin_layout Standard
29120
29121 \series bold
29122 biblatex
29123 \series default
29124  has two different style files: a bibliography style file (text file with
29125  the file extension 
29126 \begin_inset Quotes eld
29127 \end_inset
29128
29129
29130 \family sans
29131 .bbx
29132 \family default
29133
29134 \begin_inset Quotes erd
29135 \end_inset
29136
29137 ) controls how the bibliography entries will look like and a citation style
29138  file (text file with the file extension 
29139 \begin_inset Quotes eld
29140 \end_inset
29141
29142
29143 \family sans
29144 .cbx
29145 \family default
29146
29147 \begin_inset Quotes erd
29148 \end_inset
29149
29150 ) controls the look of the citation references in the text.
29151  Usually such style files come in pairs and it makes sense to use matching
29152  styles.
29153  It is nevertheless possible to mix any citation style with any bibliography
29154  style.
29155 \end_layout
29156
29157 \begin_layout Standard
29158
29159 \series bold
29160 biblatex
29161 \series default
29162  styles are not set in the 
29163 \family sans
29164 Bib(la)TeX
29165 \begin_inset space ~
29166 \end_inset
29167
29168 Bibliography
29169 \family default
29170  dialog, but in the document settings.
29171 \begin_inset Index idx
29172 status collapsed
29173
29174 \begin_layout Plain Layout
29175 Document ! Settings
29176 \end_layout
29177
29178 \end_inset
29179
29180  However, in the dialog in the 
29181 \family sans
29182 Options
29183 \family default
29184  field, which is only visible if you use 
29185 \series bold
29186 biblatex
29187 \series default
29188 , you can enter options that determine how the bibliography is printed (for
29189  example how its heading will appear).
29190  These options are deescribed in detail in the 
29191 \series bold
29192 biblatex
29193 \series default
29194  manual, 
29195 \begin_inset CommandInset citation
29196 LatexCommand cite
29197 key "Biblatex"
29198 literal "true"
29199
29200 \end_inset
29201
29202 .
29203 \end_layout
29204
29205 \begin_layout Standard
29206 Inserting a citation reference works as described in section
29207 \begin_inset space ~
29208 \end_inset
29209
29210
29211 \begin_inset CommandInset ref
29212 LatexCommand ref
29213 reference "subsec:The-Bibliography-Environment"
29214 plural "false"
29215 caps "false"
29216 noprefix "false"
29217
29218 \end_inset
29219
29220 .
29221 \end_layout
29222
29223 \begin_layout Subsubsection
29224 Bibliography Processors
29225 \end_layout
29226
29227 \begin_layout Standard
29228 To generate the bibliography from a database, \SpecialChar LyX
29229  uses a bibliography processor,
29230  that is an external program that reads the database, sorts the citations
29231  and processes the data in a way it can be included in the document.
29232  The classic program is called Bib\SpecialChar TeX
29233 .
29234  It has the advantage that it is very mature and widespread, but the disadvantag
29235 e that it has severe limitations, due to its age.
29236 \end_layout
29237
29238 \begin_layout Standard
29239 Meanwhile, some alternatives have been developed that address some of these
29240  limitations.
29241  LyX natively supports some of them and lets you select a custom processor.
29242  You can do this on a general level in 
29243 \family sans
29244 Tools\SpecialChar menuseparator
29245 Preferences\SpecialChar menuseparator
29246 Output\SpecialChar menuseparator
29247 LaTeX
29248 \family default
29249  or for individual documents in 
29250 \family sans
29251 Document\SpecialChar menuseparator
29252 Settings\SpecialChar menuseparator
29253 Bibliography
29254 \family default
29255 .
29256  The following variants are available by default:
29257 \end_layout
29258
29259 \begin_layout Description
29260 biber a specific, modern processor
29261 \begin_inset Index idx
29262 status collapsed
29263
29264 \begin_layout Plain Layout
29265 \SpecialChar LaTeX
29266  packages ! biber
29267 \end_layout
29268
29269 \end_inset
29270
29271  developed exclusively for 
29272 \series bold
29273 biblatex
29274 \series default
29275  (it does not work with Bib\SpecialChar TeX
29276 !).
29277  
29278 \series bold
29279 biber
29280 \series default
29281  provides full Unicode support, unlimited memory and many specific features
29282  
29283 \series bold
29284 biblatex
29285 \series default
29286  makes use of; if you use the 
29287 \series bold
29288 biblatex
29289 \series default
29290  approach, it is strongly recommended to use 
29291 \series bold
29292 biber
29293 \series default
29294 .
29295 \end_layout
29296
29297 \begin_layout Description
29298 bibtex the standard; does not allow special characters in bibliography entries
29299  that are not possible to encode in a 7-bit encoding, limited memory, works
29300  with all bibliography packages, although it will probably fail with 
29301 \series bold
29302 biblatex
29303 \series default
29304  bibliographies due to the limited memory.
29305 \end_layout
29306
29307 \begin_layout Description
29308 bibtex8 allows all characters that are possible to encode in an 8-bit encoding
29309  (but no Unicode support), larger memory than 
29310 \family sans
29311 bibtex
29312 \family default
29313 , works with all bibliography packages, although more complex 
29314 \series bold
29315 biblatex
29316 \series default
29317  bibliographies will exceed its limits, and not all 
29318 \series bold
29319 biblatex
29320 \series default
29321  features are supported.
29322 \end_layout
29323
29324 \begin_layout Standard
29325 By default (with the 
29326 \family sans
29327 Processor
29328 \family default
29329  set in 
29330 \family sans
29331 Document\SpecialChar menuseparator
29332 Settings\SpecialChar menuseparator
29333 Bibliography
29334 \family default
29335  and with 
29336 \family sans
29337 Automatic
29338 \family default
29339  as setting for the 
29340 \family sans
29341 Processor
29342 \family default
29343  in 
29344 \family sans
29345 Tools\SpecialChar menuseparator
29346 Preferences\SpecialChar menuseparator
29347 Output\SpecialChar menuseparator
29348 LaTeX
29349 \family default
29350 ), \SpecialChar LyX
29351  selects an appropriate (available) processor for the current bibliography
29352  approach (
29353 \series bold
29354 biber
29355 \series default
29356  for 
29357 \series bold
29358 biblatex
29359 \series default
29360
29361 \family sans
29362 bibtex
29363 \family default
29364  for Bib\SpecialChar TeX
29365 -based bibliography styles).
29366  This should suit most needs.
29367 \end_layout
29368
29369 \begin_layout Standard
29370 In Japanese documents, a specific processor is used.
29371  By default this is pBib\SpecialChar TeX
29372  (in \SpecialChar LyX
29373  
29374 \family sans
29375 pbibtex
29376 \family default
29377 ), a Bib\SpecialChar TeX
29378  variant specifically aimed at Japanese.
29379  You can adjust it in 
29380 \family sans
29381 Tools\SpecialChar menuseparator
29382 Preferences\SpecialChar menuseparator
29383 Output\SpecialChar menuseparator
29384 LaTeX
29385 \family default
29386 .
29387 \end_layout
29388
29389 \begin_layout Standard
29390 Selected bibliography processors can be controlled with options that you
29391  can add below the selection.
29392  Before adding options, it is strongly recommended that you read the manual
29393  of Bib\SpecialChar TeX
29394  or 
29395 \series bold
29396 biber
29397 \series default
29398
29399 \begin_inset CommandInset citation
29400 LatexCommand cite
29401 key "BibTeX,biber"
29402 literal "true"
29403
29404 \end_inset
29405
29406 .
29407 \end_layout
29408
29409 \begin_layout Subsubsection
29410 Customizing
29411 \end_layout
29412
29413 \begin_layout Standard
29414 \SpecialChar LyX
29415  supports some specific tasks such as sectioned bibliographies and multiple
29416  bibliographies.
29417  These are explained in detail in section 
29418 \emph on
29419 Customizing Bibliographies
29420 \emph default
29421  
29422 \emph on
29423 with Bib\SpecialChar TeX
29424  or Biblatex
29425 \emph default
29426  of the 
29427 \emph on
29428 Additional Features
29429 \emph default
29430  manual.
29431 \end_layout
29432
29433 \begin_layout Subsection
29434 Citation Format
29435 \begin_inset Index idx
29436 status collapsed
29437
29438 \begin_layout Plain Layout
29439 Bibliography ! Citation format
29440 \end_layout
29441
29442 \end_inset
29443
29444
29445 \begin_inset CommandInset label
29446 LatexCommand label
29447 name "subsec:Citation-Format"
29448
29449 \end_inset
29450
29451
29452 \end_layout
29453
29454 \begin_layout Standard
29455 Many different citation formats are common, e.
29456 \begin_inset space \thinspace{}
29457 \end_inset
29458
29459 g.
29460 \begin_inset space \space{}
29461 \end_inset
29462
29463 numerical citation (as 
29464 \begin_inset Quotes eld
29465 \end_inset
29466
29467 1
29468 \begin_inset Quotes erd
29469 \end_inset
29470
29471  like in this document), alpha-numerical citations (as 
29472 \begin_inset Quotes eld
29473 \end_inset
29474
29475 Mil08
29476 \begin_inset Quotes erd
29477 \end_inset
29478
29479 ) or author-year citations (as 
29480 \begin_inset Quotes eld
29481 \end_inset
29482
29483 Miller (2008a)
29484 \begin_inset Quotes erd
29485 \end_inset
29486
29487 ).
29488  \SpecialChar LyX
29489  supports these formats via specific citation packages and their style
29490  files.
29491 \end_layout
29492
29493 \begin_layout Standard
29494 By default a simple numeric citation style is used.
29495  In 
29496 \family sans
29497 Document\SpecialChar menuseparator
29498 Settings\SpecialChar menuseparator
29499 Bibliography
29500 \family default
29501
29502 \begin_inset Index idx
29503 status collapsed
29504
29505 \begin_layout Plain Layout
29506 Document ! Settings
29507 \end_layout
29508
29509 \end_inset
29510
29511  you have a range of other options, depending on your preferred bibliography
29512  approach.
29513  With the 
29514 \family sans
29515 Bibliography
29516 \family default
29517  environment your only choice besides manual formatting of the bibliography
29518  labels, is there to use 
29519 \family sans
29520 Natbib
29521 \begin_inset space ~
29522 \end_inset
29523
29524 (BibTeX)
29525 \family default
29526 \series bold
29527  
29528 \series default
29529 as 
29530 \family sans
29531 Style
29532 \begin_inset space ~
29533 \end_inset
29534
29535 format
29536 \family default
29537  which gives you author-year and author-numerical citations (see above 
29538 \begin_inset CommandInset ref
29539 LatexCommand ref
29540 reference "subsec:The-Bibliography-Environment"
29541
29542 \end_inset
29543
29544  for details).
29545 \end_layout
29546
29547 \begin_layout Standard
29548 With a bibliography database (see 
29549 \begin_inset CommandInset ref
29550 LatexCommand ref
29551 reference "subsec:Bibliography-databases"
29552 plural "false"
29553 caps "false"
29554 noprefix "false"
29555
29556 \end_inset
29557
29558 ) one has in contrary to the 
29559 \family sans
29560 Bibliography
29561 \family default
29562  environment full access to the formatting styles.
29563  These style formats are available:
29564 \end_layout
29565
29566 \begin_layout Description
29567 Basic
29568 \begin_inset space ~
29569 \end_inset
29570
29571 (BibTeX) the default Bib\SpecialChar TeX
29572 -based approached without any additional packages
29573  (simple numeric citations).
29574 \end_layout
29575
29576 \begin_layout Description
29577 Biblatex loads the package 
29578 \series bold
29579 biblatex
29580 \series default
29581
29582 \begin_inset Index idx
29583 status collapsed
29584
29585 \begin_layout Plain Layout
29586 \SpecialChar LaTeX
29587  packages ! biblatex
29588 \end_layout
29589
29590 \end_inset
29591
29592  and lets you select a style in the dropdown boxes 
29593 \family sans
29594 Biblatex citation style
29595 \family default
29596  and 
29597 \family sans
29598 Biblatex bibliography style
29599 \family default
29600  below.
29601  Options to the package 
29602 \series bold
29603 biblatex
29604 \series default
29605  can be entered in the 
29606 \family sans
29607 Options
29608 \family default
29609  field.
29610 \end_layout
29611
29612 \begin_layout Description
29613 Biblatex
29614 \begin_inset space ~
29615 \end_inset
29616
29617 (natbib
29618 \begin_inset space ~
29619 \end_inset
29620
29621 mode) loads the package 
29622 \series bold
29623 biblatex
29624 \series default
29625  with the natbib compatibility mode.
29626  This is a specific variant for users who switch an existing document that
29627  uses 
29628 \series bold
29629 natbib
29630 \series default
29631  or want to emulate 
29632 \family sans
29633 the 
29634 \family default
29635 \series bold
29636 natbib
29637 \series default
29638  behavior very closely.
29639  Compared to normal 
29640 \family sans
29641 Biblatex
29642 \family default
29643  this option has some additional styles.
29644  All 
29645 \series bold
29646 biblatex
29647 \series default
29648  styles are also supported by this variant.
29649 \end_layout
29650
29651 \begin_layout Description
29652 Jurabib
29653 \begin_inset space ~
29654 \end_inset
29655
29656 (BibTeX) loads the package 
29657 \series bold
29658 jurabib
29659 \series default
29660
29661 \begin_inset Index idx
29662 status collapsed
29663
29664 \begin_layout Plain Layout
29665 \SpecialChar LaTeX
29666  packages ! jurabib
29667 \end_layout
29668
29669 \end_inset
29670
29671  which provides author-year styles particularly suited for law studies.
29672 \end_layout
29673
29674 \begin_layout Description
29675 Natbib
29676 \begin_inset space ~
29677 \end_inset
29678
29679 (BibTeX) loads the package 
29680 \series bold
29681 natbib
29682 \series default
29683
29684 \begin_inset Index idx
29685 status collapsed
29686
29687 \begin_layout Plain Layout
29688 \SpecialChar LaTeX
29689  packages ! natbib
29690 \end_layout
29691
29692 \end_inset
29693
29694  which provides citation styles particularly suited for the humanities.
29695 \end_layout
29696
29697 \begin_layout Standard
29698 The 
29699 \family sans
29700 Biblatex
29701 \family default
29702  and 
29703 \family sans
29704 Natbib
29705 \family default
29706  style formats provide the choice between author-year and author-numerical
29707  citation styles.
29708  You have to select one style in the dropdown box 
29709 \family sans
29710 Variant
29711 \family default
29712 .
29713  Note that for the 
29714 \family sans
29715 Biblatex
29716 \family default
29717  formats, this only affects the appearance in the \SpecialChar LyX
29718  workarea.
29719  Whether the output uses numerical, author-year or another format such as
29720  alpha-numerical depends only on the selected 
29721 \family sans
29722 Biblatex citation style
29723 \family default
29724 .
29725  However, when switching between Author-year and Author-number, a suitable
29726  style is proposed.
29727  With 
29728 \family sans
29729 Natbib
29730 \family default
29731 , on the other hand, the dialog selection will ultimately determine the
29732  style.
29733 \end_layout
29734
29735 \begin_layout Standard
29736 For any author-year and author-numerical selection, multiple style variants
29737  are available in the 
29738 \family sans
29739 Citation
29740 \family default
29741  dialog.
29742  Some selections also provide further options like the option to uppercase
29743  a name prefix such as 
29744 \begin_inset Quotes eld
29745 \end_inset
29746
29747 van Beethoven
29748 \begin_inset Quotes erd
29749 \end_inset
29750
29751  (to 
29752 \begin_inset Quotes eld
29753 \end_inset
29754
29755 Van Beethoven
29756 \begin_inset Quotes erd
29757 \end_inset
29758
29759 ) or to expand or reduce the number of displayed others (i.
29760 \begin_inset space \thinspace{}
29761 \end_inset
29762
29763 e.
29764 \begin_inset space \space{}
29765 \end_inset
29766
29767 use or don't use 
29768 \begin_inset Quotes eld
29769 \end_inset
29770
29771 et al.
29772 \begin_inset Quotes erd
29773 \end_inset
29774
29775 ).
29776  
29777 \end_layout
29778
29779 \begin_layout Standard
29780 In the citation dialog you can also set text to appear after a citation
29781  reference, e.
29782 \begin_inset space \thinspace{}
29783 \end_inset
29784
29785 g.
29786 \begin_inset space \space{}
29787 \end_inset
29788
29789 page numbers, which will then be formatted according to the style's needs
29790  (e.
29791 \begin_inset space \thinspace{}
29792 \end_inset
29793
29794 g.
29795 \begin_inset space \space{}
29796 \end_inset
29797
29798 with or without 
29799 \begin_inset Quotes eld
29800 \end_inset
29801
29802 pp.
29803 \begin_inset Quotes erd
29804 \end_inset
29805
29806 ).
29807  The option 
29808 \family sans
29809 Literal
29810 \family default
29811  in the citation dialog allows to input \SpecialChar TeX
29812  code to the fields 
29813 \family sans
29814 Text
29815 \begin_inset space ~
29816 \end_inset
29817
29818 before
29819 \family default
29820  and 
29821 \family sans
29822 Text
29823 \begin_inset space ~
29824 \end_inset
29825
29826 after
29827 \family default
29828 .
29829  Here is a simple example where the text 
29830 \begin_inset Quotes eld
29831 \end_inset
29832
29833 Chapter
29834 \begin_inset space ~
29835 \end_inset
29836
29837 3
29838 \begin_inset Quotes erd
29839 \end_inset
29840
29841  appears after the reference:
29842 \end_layout
29843
29844 \begin_layout Quote
29845 Have a look at 
29846 \begin_inset CommandInset citation
29847 LatexCommand cite
29848 after "Chapter 3"
29849 key "latexcompanion"
29850 literal "false"
29851
29852 \end_inset
29853
29854 .
29855 \end_layout
29856
29857 \begin_layout Standard
29858 All styles except for 
29859 \family sans
29860 Basic (BibTeX)
29861 \family default
29862  also provide the feature to add text that precedes the reference (such
29863  as 
29864 \begin_inset Quotes eld
29865 \end_inset
29866
29867 cf.
29868 \begin_inset Quotes erd
29869 \end_inset
29870
29871 ).
29872  This text is then also included in the parentheses, if the style requires
29873  this.
29874 \end_layout
29875
29876 \begin_layout Standard
29877 Note that these pre- and postnotes apply to the whole citation.
29878  So if you refer to multiple references at once, the prenote will precede
29879  the first citation in the list, the postnote will follow the last.
29880  Some 
29881 \family sans
29882 Biblatex
29883 \family default
29884  styles allow to add pre- and postnotes to any individual reference in a
29885  multi-citation (so-called 
29886 \begin_inset Quotes eld
29887 \end_inset
29888
29889 qualified citation lists
29890 \begin_inset Quotes erd
29891 \end_inset
29892
29893 ).
29894  \SpecialChar LyX
29895  supports this.
29896  If you use such a style and if the current reference includes multiple
29897  items the 
29898 \family sans
29899 Citation
29900 \family default
29901  dialog will display three columns in the field 
29902 \family sans
29903 Selected Citations
29904 \family default
29905
29906 \family sans
29907 Text
29908 \begin_inset space ~
29909 \end_inset
29910
29911 before
29912 \family default
29913
29914 \family sans
29915 Cite
29916 \begin_inset space ~
29917 \end_inset
29918
29919 key
29920 \family default
29921  and 
29922 \family sans
29923 Text
29924 \begin_inset space ~
29925 \end_inset
29926
29927 after
29928 \family default
29929 .
29930  If you double-click on an item's 
29931 \family sans
29932 Text
29933 \begin_inset space ~
29934 \end_inset
29935
29936 before
29937 \family default
29938  or 
29939 \family sans
29940 Text
29941 \begin_inset space ~
29942 \end_inset
29943
29944 after
29945 \family default
29946  field, you can add such individual pre- and postnotes.
29947  In the 
29948 \family sans
29949 General text before
29950 \family default
29951  and 
29952 \family sans
29953 General text after
29954 \family default
29955  fields you can add pre- and postnotes that apply to the whole list.
29956 \end_layout
29957
29958 \begin_layout Section
29959 Index
29960 \begin_inset Index idx
29961 status collapsed
29962
29963 \begin_layout Plain Layout
29964 Index generation
29965 \end_layout
29966
29967 \end_inset
29968
29969
29970 \begin_inset CommandInset label
29971 LatexCommand label
29972 name "sec:Index"
29973
29974 \end_inset
29975
29976
29977 \end_layout
29978
29979 \begin_layout Standard
29980 An index entry is created if you use the menu 
29981 \family sans
29982 Insert\SpecialChar menuseparator
29983 Index
29984 \begin_inset space ~
29985 \end_inset
29986
29987 Entry
29988 \family default
29989  or the toolbar button 
29990 \begin_inset Info
29991 type  "icon"
29992 arg   "index-insert"
29993 \end_inset
29994
29995 .
29996  A box is inserted containing the text that appears in the index.
29997  The word where the cursor is in or the currently highlighted text is proposed
29998  by \SpecialChar LyX
29999  as the index entry.
30000 \end_layout
30001
30002 \begin_layout Standard
30003 The index list is inserted in the document with the menu 
30004 \family sans
30005 Insert\SpecialChar menuseparator
30006 List/TOC\SpecialChar menuseparator
30007 Index
30008 \begin_inset space ~
30009 \end_inset
30010
30011 List
30012 \family default
30013 .
30014  A light blue box labeled 
30015 \begin_inset Quotes eld
30016 \end_inset
30017
30018
30019 \family sans
30020 Index
30021 \family default
30022
30023 \begin_inset Quotes erd
30024 \end_inset
30025
30026  will show the place where the index is printed in the output.
30027  The index list box is not clickable like other \SpecialChar LyX
30028 -boxes.
30029 \end_layout
30030
30031 \begin_layout Standard
30032 We give a short overview of the index commands in the next subsections.
30033  For a detailed description of \SpecialChar LaTeX
30034 's index mechanism, have a look at one of
30035  the \SpecialChar LaTeX
30036  books 
30037 \begin_inset CommandInset citation
30038 LatexCommand cite
30039 key "latexcompanion,latexguide,latexbook"
30040 literal "true"
30041
30042 \end_inset
30043
30044 .
30045 \end_layout
30046
30047 \begin_layout Subsection
30048 Grouping Index Entries
30049 \begin_inset Index idx
30050 status collapsed
30051
30052 \begin_layout Plain Layout
30053 Index ! Grouping
30054 \end_layout
30055
30056 \end_inset
30057
30058
30059 \end_layout
30060
30061 \begin_layout Standard
30062 Index entries are often grouped to offer the reader a fast search in the
30063  index.
30064  We want to group for example the index entries for itemized and enumerated
30065  lists under the entry 
30066 \begin_inset Quotes eld
30067 \end_inset
30068
30069 Lists
30070 \begin_inset Quotes erd
30071 \end_inset
30072
30073 .
30074  First we create the entry 
30075 \begin_inset Quotes eld
30076 \end_inset
30077
30078 Lists
30079 \begin_inset Quotes erd
30080 \end_inset
30081
30082  in section
30083 \begin_inset space ~
30084 \end_inset
30085
30086
30087 \begin_inset CommandInset ref
30088 LatexCommand ref
30089 reference "subsec:Lists"
30090
30091 \end_inset
30092
30093 .
30094  In the text field for the itemized list index entry in section
30095 \begin_inset space ~
30096 \end_inset
30097
30098
30099 \begin_inset CommandInset ref
30100 LatexCommand ref
30101 reference "sec:Itemize"
30102
30103 \end_inset
30104
30105 , we insert the command
30106 \end_layout
30107
30108 \begin_layout Standard
30109
30110 \series bold
30111 Lists ! Itemize
30112 \end_layout
30113
30114 \begin_layout Standard
30115 and the command
30116 \end_layout
30117
30118 \begin_layout Standard
30119
30120 \series bold
30121 Lists ! Enumerate
30122 \end_layout
30123
30124 \begin_layout Standard
30125 for the enumerated list in section
30126 \begin_inset space ~
30127 \end_inset
30128
30129
30130 \begin_inset CommandInset ref
30131 LatexCommand ref
30132 reference "sec:Enumerate"
30133
30134 \end_inset
30135
30136 .
30137 \end_layout
30138
30139 \begin_layout Standard
30140 The exclamation mark 
30141 \begin_inset Quotes eld
30142 \end_inset
30143
30144 !
30145 \begin_inset Quotes erd
30146 \end_inset
30147
30148  marks the grouping levels.
30149  You can have three levels; every index level is indented a bit more.
30150  An index entry for the higher levels is not required.
30151  If we don't have an index entry for 
30152 \begin_inset Quotes eld
30153 \end_inset
30154
30155 Lists
30156 \begin_inset Quotes erd
30157 \end_inset
30158
30159 , it will be printed anyway, but without a page number.
30160 \end_layout
30161
30162 \begin_layout Subsection
30163 Page Ranges
30164 \begin_inset Index idx
30165 status collapsed
30166
30167 \begin_layout Plain Layout
30168 Index ! Page ranges
30169 \end_layout
30170
30171 \end_inset
30172
30173
30174 \end_layout
30175
30176 \begin_layout Standard
30177 Normally an index entry will appear with the page number of the indexed
30178  section.
30179  But sometimes you want to index more pages under the same entry.
30180  For example, if we want to index the paragraph environments, we create
30181  an index entry in section
30182 \begin_inset space ~
30183 \end_inset
30184
30185
30186 \begin_inset CommandInset ref
30187 LatexCommand ref
30188 reference "sec:Paragraph-Environments"
30189
30190 \end_inset
30191
30192  with the command
30193 \end_layout
30194
30195 \begin_layout Standard
30196
30197 \series bold
30198 Paragraph environments|(
30199 \end_layout
30200
30201 \begin_layout Standard
30202 and another entry at the end of section
30203 \begin_inset space ~
30204 \end_inset
30205
30206
30207 \begin_inset CommandInset ref
30208 LatexCommand ref
30209 reference "subsec:LyX-Code"
30210
30211 \end_inset
30212
30213  with the command
30214 \end_layout
30215
30216 \begin_layout Standard
30217
30218 \series bold
30219 Paragraph environments|)
30220 \end_layout
30221
30222 \begin_layout Standard
30223 The commands 
30224 \begin_inset Quotes eld
30225 \end_inset
30226
30227
30228 \series bold
30229 |(
30230 \series default
30231
30232 \begin_inset Quotes erd
30233 \end_inset
30234
30235  and 
30236 \begin_inset Quotes eld
30237 \end_inset
30238
30239
30240 \series bold
30241 |)
30242 \series default
30243
30244 \begin_inset Quotes erd
30245 \end_inset
30246
30247  respectively start and end the index range.
30248  You can also add the same index entry at different places in the document.
30249  They appear in the output under one entry with a comma separated list of
30250  the pages of the indexed document parts.
30251  An example is the index entry 
30252 \begin_inset Quotes eld
30253 \end_inset
30254
30255 Document ! Settings
30256 \begin_inset Quotes erd
30257 \end_inset
30258
30259 .
30260 \end_layout
30261
30262 \begin_layout Subsection
30263 Cross referencing
30264 \begin_inset Index idx
30265 status collapsed
30266
30267 \begin_layout Plain Layout
30268 Index ! Cross referencing
30269 \end_layout
30270
30271 \end_inset
30272
30273
30274 \end_layout
30275
30276 \begin_layout Standard
30277 It is also possible to refer to another index entry.
30278  We referred for example in the index entry 
30279 \begin_inset Quotes eld
30280 \end_inset
30281
30282 GIF
30283 \begin_inset Quotes erd
30284 \end_inset
30285
30286  (in section
30287 \begin_inset space ~
30288 \end_inset
30289
30290
30291 \begin_inset CommandInset ref
30292 LatexCommand ref
30293 reference "subsec:Image-Formats"
30294
30295 \end_inset
30296
30297 ) to the index entry 
30298 \begin_inset Quotes eld
30299 \end_inset
30300
30301 Image formats
30302 \begin_inset Quotes erd
30303 \end_inset
30304
30305  in the same section using the entry
30306 \end_layout
30307
30308 \begin_layout Standard
30309
30310 \series bold
30311 GIF|see{Image formats}
30312 \end_layout
30313
30314 \begin_layout Standard
30315 where the braces have to be inserted as \SpecialChar TeX
30316  Code.
30317  The text within the braces is the referenced entry.
30318  The reference will appear in the output without a page number.
30319 \end_layout
30320
30321 \begin_layout Subsection
30322 Index Entry Order
30323 \begin_inset Index idx
30324 status collapsed
30325
30326 \begin_layout Plain Layout
30327 Index ! Entry order
30328 \end_layout
30329
30330 \end_inset
30331
30332
30333 \end_layout
30334
30335 \begin_layout Standard
30336 If you use accented characters in the index entry the entries might not
30337  follow the rules for the index order.
30338  The index entries are sorted alphabetically but \SpecialChar LaTeX
30339
30340 \begin_inset Foot
30341 status collapsed
30342
30343 \begin_layout Plain Layout
30344 The index generating is done in the background by an extra program, see
30345  section
30346 \begin_inset space ~
30347 \end_inset
30348
30349
30350 \begin_inset CommandInset ref
30351 LatexCommand ref
30352 reference "subsec:Index-Program"
30353
30354 \end_inset
30355
30356 .
30357 \end_layout
30358
30359 \end_inset
30360
30361  does not know how to sort accents in different languages.
30362  We have created as an example the three dummy index entries 
30363 \begin_inset Quotes eld
30364 \end_inset
30365
30366 maison
30367 \begin_inset Quotes erd
30368 \end_inset
30369
30370
30371 \begin_inset Quotes eld
30372 \end_inset
30373
30374 maïs
30375 \begin_inset Quotes erd
30376 \end_inset
30377
30378 , and 
30379 \begin_inset Quotes eld
30380 \end_inset
30381
30382 maître
30383 \begin_inset Quotes erd
30384 \end_inset
30385
30386 .
30387 \begin_inset Index idx
30388 status collapsed
30389
30390 \begin_layout Plain Layout
30391 Dummy entries ! maïs
30392 \end_layout
30393
30394 \end_inset
30395
30396
30397 \begin_inset Index idx
30398 status collapsed
30399
30400 \begin_layout Plain Layout
30401 Dummy entries ! maître
30402 \end_layout
30403
30404 \end_inset
30405
30406
30407 \begin_inset Index idx
30408 status collapsed
30409
30410 \begin_layout Plain Layout
30411 Dummy entries ! maïs@maison
30412 \end_layout
30413
30414 \end_inset
30415
30416  They will be sorted in the order maïs, maître, maison but we want the order
30417  maïs, maison, maître.
30418  To achieve this, we use the command
30419 \end_layout
30420
30421 \begin_layout Standard
30422
30423 \series bold
30424 previous entry@current entry
30425 \end_layout
30426
30427 \begin_layout Standard
30428 In our case we want to have 
30429 \begin_inset Quotes eld
30430 \end_inset
30431
30432 maison
30433 \begin_inset Quotes erd
30434 \end_inset
30435
30436  after 
30437 \begin_inset Quotes eld
30438 \end_inset
30439
30440 maïs
30441 \begin_inset Quotes erd
30442 \end_inset
30443
30444  and write therefore for the index entry of maison:
30445 \end_layout
30446
30447 \begin_layout Standard
30448
30449 \series bold
30450 maïs@maison
30451 \end_layout
30452
30453 \begin_layout Standard
30454 The previous entry need not be a real existing entry.
30455  You can also use another word to tell \SpecialChar LaTeX
30456  the entry order.
30457  See the next subsection for an example.
30458 \end_layout
30459
30460 \begin_layout Subsection
30461 Index Entry Layout
30462 \begin_inset Index idx
30463 status collapsed
30464
30465 \begin_layout Plain Layout
30466 Index ! Entry layout
30467 \end_layout
30468
30469 \end_inset
30470
30471
30472 \end_layout
30473
30474 \begin_layout Standard
30475 You can change the appearance of index entries via the text style dialog.
30476 \begin_inset Index idx
30477 status open
30478
30479 \begin_layout Plain Layout
30480 Dummy entries ! 
30481 \shape italic
30482 This is an italic dummy entry
30483 \end_layout
30484
30485 \end_inset
30486
30487  You can also format the page number using the character 
30488 \begin_inset Quotes eld
30489 \end_inset
30490
30491 |
30492 \begin_inset Quotes erd
30493 \end_inset
30494
30495  followed by a \SpecialChar LaTeX
30496 -command without a backslash.
30497  We can write for example
30498 \end_layout
30499
30500 \begin_layout Standard
30501
30502 \series bold
30503 italic page number:|textit
30504 \end_layout
30505
30506 \begin_layout Standard
30507 to get the page number in italic.
30508 \begin_inset Index idx
30509 status open
30510
30511 \begin_layout Plain Layout
30512 Dummy entries ! italic page number:|textit
30513 \end_layout
30514
30515 \end_inset
30516
30517  Normally all \SpecialChar LaTeX
30518 -commands begin with a backslash, but in this special case
30519  
30520 \begin_inset Quotes eld
30521 \end_inset
30522
30523
30524 \series bold
30525 |command
30526 \series default
30527
30528 \begin_inset Quotes erd
30529 \end_inset
30530
30531  means 
30532 \series bold
30533
30534 \backslash
30535 command{page
30536 \begin_inset space ~
30537 \end_inset
30538
30539 number}
30540 \series default
30541 .
30542  Have a look at section
30543 \begin_inset space ~
30544 \end_inset
30545
30546
30547 \begin_inset CommandInset ref
30548 LatexCommand ref
30549 reference "subsec:LaTeX-Syntax"
30550
30551 \end_inset
30552
30553  to learn more about the \SpecialChar LaTeX
30554 -syntax.
30555 \end_layout
30556
30557 \begin_layout Standard
30558 \begin_inset Note Greyedout
30559 status open
30560
30561 \begin_layout Plain Layout
30562
30563 \series bold
30564 Note:
30565 \series default
30566  Formatting single index entries only works when you use the program 
30567 \family sans
30568 makeindex 
30569 \family default
30570 to generate the index, see section
30571 \begin_inset space ~
30572 \end_inset
30573
30574
30575 \begin_inset CommandInset ref
30576 LatexCommand ref
30577 reference "subsec:Index-Program"
30578
30579 \end_inset
30580
30581 .
30582  If you use 
30583 \family sans
30584 xindy
30585 \family default
30586 , this will not work for anything other than bold or italic text.
30587  This is because 
30588 \family sans
30589 xindy
30590 \family default
30591  requires you to define semantic elements before they can be used, see 
30592 \begin_inset CommandInset citation
30593 LatexCommand cite
30594 after "p. 678 ff."
30595 key "latexcompanion"
30596 literal "true"
30597
30598 \end_inset
30599
30600  for details.
30601 \end_layout
30602
30603 \end_inset
30604
30605
30606 \end_layout
30607
30608 \begin_layout Standard
30609 In general, we encourage you to not format page numbers directly as shown
30610  above.
30611  Instead, you should define a macro in the preamble and use that.
30612  Maybe you want all page references italic that refer to a definition of
30613  the indexed term, so that users can easily find definitions.
30614  If so, put the following in the preamble
30615 \end_layout
30616
30617 \begin_layout Standard
30618
30619 \series bold
30620
30621 \backslash
30622 newcommand{
30623 \backslash
30624 IndexDef}[1]{
30625 \backslash
30626 textit{#1}}
30627 \end_layout
30628
30629 \begin_layout Standard
30630 and write
30631 \end_layout
30632
30633 \begin_layout Standard
30634
30635 \series bold
30636 my entry|IndexDef
30637 \end_layout
30638
30639 \begin_layout Standard
30640 in the index entry.
30641 \begin_inset Index idx
30642 status open
30643
30644 \begin_layout Plain Layout
30645 Dummy entries ! my entry|IndexDef
30646 \end_layout
30647
30648 \end_inset
30649
30650  The advantage is that, if you change your mind later or if your publisher
30651  insists that definitions must not be italic but bold, you just need to
30652  change the macro in the preamble, not every single index entry.
30653 \end_layout
30654
30655 \begin_layout Standard
30656 You can also change the layout for the whole index.
30657  For example, we marked the index list box of this document as bold to get
30658  a bold font for all index entries.
30659  For more advanced tasks you have to set up a so-called 
30660 \emph on
30661 Index Style File
30662 \emph default
30663 , see the 
30664 \family sans
30665 makeindex
30666 \family default
30667  or 
30668 \family sans
30669 xindy
30670 \family default
30671  documentation for details, 
30672 \begin_inset CommandInset citation
30673 LatexCommand cite
30674 key "makeindex,xindy"
30675 literal "true"
30676
30677 \end_inset
30678
30679 .
30680 \end_layout
30681
30682 \begin_layout Subsection
30683 Index Program
30684 \begin_inset Index idx
30685 status collapsed
30686
30687 \begin_layout Plain Layout
30688 Index ! Program
30689 \end_layout
30690
30691 \end_inset
30692
30693
30694 \begin_inset CommandInset label
30695 LatexCommand label
30696 name "subsec:Index-Program"
30697
30698 \end_inset
30699
30700
30701 \end_layout
30702
30703 \begin_layout Standard
30704 If the index generation program 
30705 \family sans
30706 xindy
30707 \family default
30708  is installed, \SpecialChar LyX
30709  uses it for index generation; otherwise the program 
30710 \family sans
30711 makeindex
30712 \family default
30713 , the program that is part of every \SpecialChar LaTeX
30714  distribution, is used.
30715 \begin_inset Foot
30716 status collapsed
30717
30718 \begin_layout Plain Layout
30719
30720 \family sans
30721 Makeindex
30722 \family default
30723  is very old, no longer under development and has many pitfalls, notably
30724  that it was developed with only the English language in mind.
30725  So it fails to sort anything other than a monolingual English text correctly.
30726  We have shown above how to fix this sorting.
30727  However, if you are writing in another than the English language, consider
30728  to use 
30729 \family sans
30730 xindy
30731 \family default
30732 .
30733 \end_layout
30734
30735 \end_inset
30736
30737  Both programs can be controlled by options that can be set in \SpecialChar LyX
30738 's preferences
30739  dialog, see section
30740 \begin_inset space ~
30741 \end_inset
30742
30743
30744 \begin_inset CommandInset ref
30745 LatexCommand ref
30746 reference "subsec:LaTeX-settings"
30747
30748 \end_inset
30749
30750 .
30751  The available options are listed and explained in 
30752 \begin_inset CommandInset citation
30753 LatexCommand cite
30754 key "makeindex-man,xindy"
30755 literal "true"
30756
30757 \end_inset
30758
30759 .
30760  In this dialog, you can also specify an alternative program to generate
30761  the index.
30762 \end_layout
30763
30764 \begin_layout Standard
30765 If you need specific options or an alternative index program only for a
30766  given document, you can define the program and\SpecialChar breakableslash
30767 or the options in 
30768 \family sans
30769 Document\SpecialChar menuseparator
30770 Settings\SpecialChar menuseparator
30771 Indexes
30772 \family default
30773 .
30774  This is especially useful if you need to pass language-specific options
30775  to the index program or if you need a specific layout style.
30776 \end_layout
30777
30778 \begin_layout Subsection
30779 Multiple Indexes
30780 \end_layout
30781
30782 \begin_layout Standard
30783 In many fields it is common to have more than one index.
30784  For instance, you might need to set up a separate 
30785 \begin_inset Quotes eld
30786 \end_inset
30787
30788 Index of Names
30789 \begin_inset Quotes erd
30790 \end_inset
30791
30792  next to the standard index.
30793  \SpecialChar LaTeX
30794  does not provide this possibility out of the box, but there are packages
30795  that add this feature.
30796  \SpecialChar LyX
30797  uses the 
30798 \series bold
30799 splitidx
30800 \series default
30801
30802 \begin_inset Index idx
30803 status collapsed
30804
30805 \begin_layout Plain Layout
30806 \SpecialChar LaTeX
30807  packages ! splitidx
30808 \end_layout
30809
30810 \end_inset
30811
30812  package to generate multiple indexes.
30813  The package is included in all recent \SpecialChar LaTeX
30814  distributions.
30815 \begin_inset Foot
30816 status collapsed
30817
30818 \begin_layout Plain Layout
30819 If yours does not ship it, consult the \SpecialChar TeX
30820  catalogue, 
30821 \begin_inset CommandInset citation
30822 LatexCommand cite
30823 key "TeXCatalogue"
30824 literal "true"
30825
30826 \end_inset
30827
30828 .
30829  Note that the package does not only consist of a \SpecialChar LaTeX
30830  style, but it also includes
30831  specific preprocessor programs that need to be installed as well.
30832  Please consult the package's manual for details.
30833 \end_layout
30834
30835 \end_inset
30836
30837
30838 \end_layout
30839
30840 \begin_layout Standard
30841 To set up \SpecialChar LyX
30842  for the use of multiple indexes, go to 
30843 \family sans
30844 Document\SpecialChar menuseparator
30845 Settings\SpecialChar menuseparator
30846 Indexes
30847 \family default
30848  and select the option 
30849 \family sans
30850 Use multiple Indexes
30851 \family default
30852 .
30853  Note that the list 
30854 \family sans
30855 Available Indexes
30856 \family default
30857  already contains the standard index 
30858 \begin_inset Quotes eld
30859 \end_inset
30860
30861 Index
30862 \begin_inset Quotes erd
30863 \end_inset
30864
30865 .
30866  To add further indexes, add the name of the index (in the form that should
30867  also appear as a heading) to the 
30868 \family sans
30869 New
30870 \family default
30871  input field and press the 
30872 \family sans
30873 Add
30874 \family default
30875  button.
30876  The new index now also appears in the list.
30877  If you like, you can attribute an alternative \SpecialChar LyX
30878  label color to the new index.
30879 \end_layout
30880
30881 \begin_layout Standard
30882 Once the document changes have been applied, you can find the new index
30883  list in 
30884 \family sans
30885 Insert\SpecialChar menuseparator
30886 List/TOC
30887 \family default
30888  and the 
30889 \family sans
30890 Insert
30891 \family default
30892  menu has a separate entry for each of the defined indexes.
30893  The workflow is basically the same as for the default index, but there
30894  are additional features:
30895 \end_layout
30896
30897 \begin_layout Itemize
30898 If you want to change the attribution of a specific index entry, right-clicking
30899  on the entry's label will open a dialog where you can do that.
30900 \end_layout
30901
30902 \begin_layout Itemize
30903 By right-clicking on an index, you can change its type.
30904  Furthermore, you can specify an index to be a 
30905 \family sans
30906 Subindex
30907 \family default
30908 .
30909  If you do that, the heading of that list will be decreased by one level.
30910  For example, if you use a book class, where the standard index heading
30911  is defined as a chapter, subindexes will be defined as sections and can
30912  thus be nested to the non-subindexes.
30913 \end_layout
30914
30915 \begin_layout Itemize
30916 The option 
30917 \family sans
30918 Literal
30919 \family default
30920  allows to use \SpecialChar TeX
30921  code in the name of the index.
30922 \end_layout
30923
30924 \begin_layout Section
30925 Nomenclature/Glossary 
30926 \begin_inset Index idx
30927 status collapsed
30928
30929 \begin_layout Plain Layout
30930 Nomenclature
30931 \end_layout
30932
30933 \end_inset
30934
30935
30936 \begin_inset Index idx
30937 status collapsed
30938
30939 \begin_layout Plain Layout
30940 Glossary|see
30941 \begin_inset ERT
30942 status collapsed
30943
30944 \begin_layout Plain Layout
30945
30946 {
30947 \end_layout
30948
30949 \end_inset
30950
30951 Nomenclature
30952 \begin_inset ERT
30953 status collapsed
30954
30955 \begin_layout Plain Layout
30956
30957 }
30958 \end_layout
30959
30960 \end_inset
30961
30962
30963 \end_layout
30964
30965 \end_inset
30966
30967
30968 \begin_inset CommandInset label
30969 LatexCommand label
30970 name "sec:Nomenclature"
30971
30972 \end_inset
30973
30974
30975 \end_layout
30976
30977 \begin_layout Standard
30978 Sometimes you need to provide a list of technical terms or symbols that
30979  are mentioned in your document with a brief explanation of them – a so
30980  called nomenclature or glossary.
30981 \end_layout
30982
30983 \begin_layout Standard
30984 To be able to create nomenclatures or glossaries, you need the \SpecialChar LaTeX
30985  package
30986  
30987 \series bold
30988 nomencl
30989 \series default
30990
30991 \begin_inset Index idx
30992 status collapsed
30993
30994 \begin_layout Plain Layout
30995 \SpecialChar LaTeX
30996  packages ! nomencl
30997 \end_layout
30998
30999 \end_inset
31000
31001  installed.
31002  You find it in the \SpecialChar TeX
31003  catalogue, 
31004 \begin_inset CommandInset citation
31005 LatexCommand cite
31006 key "TeXCatalogue"
31007 literal "true"
31008
31009 \end_inset
31010
31011  or in the package manager of your \SpecialChar LaTeX
31012 -system.
31013 \end_layout
31014
31015 \begin_layout Standard
31016 A nomenclature entry is created if you place the cursor after a symbol entry
31017  and then use the menu 
31018 \family sans
31019 Insert\SpecialChar menuseparator
31020
31021 \family default
31022 N
31023 \family sans
31024 omenclature
31025 \begin_inset space ~
31026 \end_inset
31027
31028 Entry
31029 \family default
31030  or the toolbar button 
31031 \begin_inset Info
31032 type  "icon"
31033 arg   "nomencl-insert"
31034 \end_inset
31035
31036 .
31037  A gray box labeled 
31038 \begin_inset Quotes eld
31039 \end_inset
31040
31041
31042 \family sans
31043 Nom
31044 \family default
31045
31046 \begin_inset Quotes erd
31047 \end_inset
31048
31049  is inserted and a window pops up asking for the nomenclature entry.
31050 \end_layout
31051
31052 \begin_layout Standard
31053 A nomenclature entry consists of two main entries.
31054  The first is the term or 
31055 \family sans
31056 Symbol
31057 \family default
31058  that you wish to define.
31059  The second is the 
31060 \family sans
31061 Description
31062 \family default
31063  of the term or symbol.
31064 \end_layout
31065
31066 \begin_layout Standard
31067 \begin_inset Note Greyedout
31068 status open
31069
31070 \begin_layout Plain Layout
31071
31072 \series bold
31073 Note:
31074 \series default
31075  To use \SpecialChar TeX
31076  code for nomenclature entries the option 
31077 \family sans
31078 Literal
31079 \family default
31080  in the nomenclature dialog has to be used.
31081 \end_layout
31082
31083 \end_inset
31084
31085
31086 \end_layout
31087
31088 \begin_layout Subsection
31089 Nomenclature Definition and Layout
31090 \begin_inset Index idx
31091 status collapsed
31092
31093 \begin_layout Plain Layout
31094 Nomenclature ! Layout
31095 \end_layout
31096
31097 \end_inset
31098
31099
31100 \end_layout
31101
31102 \begin_layout Standard
31103 If you have symbols in formulas, you have to define them in the 
31104 \family sans
31105 Symbol
31106 \family default
31107  field as \SpecialChar LaTeX
31108  formulas.
31109  For example to get 
31110 \begin_inset Quotes eld
31111 \end_inset
31112
31113
31114 \begin_inset Formula $\sigma$
31115 \end_inset
31116
31117
31118 \begin_inset Quotes erd
31119 \end_inset
31120
31121 , insert this:
31122 \begin_inset Newline newline
31123 \end_inset
31124
31125
31126 \series bold
31127 $
31128 \backslash
31129 sigma$
31130 \begin_inset Newline newline
31131 \end_inset
31132
31133
31134 \series default
31135 The 
31136 \begin_inset Quotes eld
31137 \end_inset
31138
31139 $
31140 \begin_inset Quotes erd
31141 \end_inset
31142
31143  character starts/ends the formula.
31144  The \SpecialChar LaTeX
31145 -command for the Greek letter is the name of the letter beginning with
31146  a backslash 
31147 \begin_inset Quotes eld
31148 \end_inset
31149
31150
31151 \backslash
31152
31153 \begin_inset Quotes erd
31154 \end_inset
31155
31156 .
31157  For capital Greek letters, start the command also with a capital letter,
31158  like 
31159 \series bold
31160
31161 \backslash
31162 Sigma
31163 \series default
31164 .
31165 \end_layout
31166
31167 \begin_layout Standard
31168 (A short introduction to the \SpecialChar LaTeX
31169  syntax is given in section
31170 \begin_inset space ~
31171 \end_inset
31172
31173
31174 \begin_inset CommandInset ref
31175 LatexCommand ref
31176 reference "subsec:LaTeX-Syntax"
31177
31178 \end_inset
31179
31180 .)
31181 \end_layout
31182
31183 \begin_layout Standard
31184 You cannot use the 
31185 \family sans
31186 Text
31187 \begin_inset space ~
31188 \end_inset
31189
31190 Style
31191 \family default
31192  dialog to format the description text; you have to use \SpecialChar LaTeX
31193 -commands.
31194  For example the description of the nomenclature entry for the 
31195 \begin_inset Quotes eld
31196 \end_inset
31197
31198
31199 \begin_inset Formula $\sigma$
31200 \end_inset
31201
31202
31203 \begin_inset Quotes erd
31204 \end_inset
31205
31206  in this document is:
31207 \begin_inset Newline newline
31208 \end_inset
31209
31210
31211 \series bold
31212 dummy entry for the character 
31213 \backslash
31214 textsf{sigma}
31215 \series default
31216
31217 \begin_inset Newline newline
31218 \end_inset
31219
31220 The command 
31221 \series bold
31222
31223 \backslash
31224 textsf
31225 \series default
31226  sets the fonts to 
31227 \family sans
31228 sans
31229 \begin_inset space ~
31230 \end_inset
31231
31232 serif
31233 \family default
31234 .
31235  To get 
31236 \series bold
31237 bold
31238 \series default
31239  font use the command 
31240 \series bold
31241
31242 \backslash
31243 textbf
31244 \series default
31245 , for 
31246 \family typewriter
31247 typewriter
31248 \family default
31249  use 
31250 \series bold
31251
31252 \backslash
31253 texttt
31254 \series default
31255 , for 
31256 \emph on
31257 emphasized
31258 \emph default
31259  use 
31260 \series bold
31261
31262 \backslash
31263 emph
31264 \series default
31265 .
31266 \end_layout
31267
31268 \begin_layout Standard
31269 To customize the appearance of all symbols add e.
31270 \begin_inset space \thinspace{}
31271 \end_inset
31272
31273 g.
31274 \begin_inset space \space{}
31275 \end_inset
31276
31277 the command
31278 \begin_inset Newline newline
31279 \end_inset
31280
31281
31282 \series bold
31283
31284 \backslash
31285 renewcommand{
31286 \backslash
31287 nomlabel}[1]{
31288 \backslash
31289 textsf{
31290 \backslash
31291 textbf{#1}}}
31292 \series default
31293
31294 \begin_inset Newline newline
31295 \end_inset
31296
31297 to the LaTeX preamble in the document settings.
31298  This command will make the font of all symbols 
31299 \series bold
31300 bold
31301 \series default
31302  and 
31303 \family sans
31304 sans
31305 \begin_inset space ~
31306 \end_inset
31307
31308 serif
31309 \family default
31310 .
31311 \end_layout
31312
31313 \begin_layout Standard
31314 If the characters |
31315 \begin_inset space \space{}
31316 \end_inset
31317
31318 ,
31319 \begin_inset space \space{}
31320 \end_inset
31321
31322 !
31323 \begin_inset space \space{}
31324 \end_inset
31325
31326 , @ and
31327 \begin_inset space \space{}
31328 \end_inset
31329
31330 "
31331 \begin_inset space \space{}
31332 \end_inset
31333
31334 should appear in nomenclature entries containing \SpecialChar TeX
31335  code they need to be escaped
31336  by adding a quote character in front of them.
31337 \begin_inset CommandInset nomenclature
31338 LatexCommand nomenclature
31339 symbol "\"@, \"|, \"!, \"\""
31340 description "The quote sign in TeX code is output by writing ' \"\" '."
31341 literal "true"
31342
31343 \end_inset
31344
31345
31346 \end_layout
31347
31348 \begin_layout Subsection
31349 Sort Order of Nomenclature Entries
31350 \begin_inset Index idx
31351 status collapsed
31352
31353 \begin_layout Plain Layout
31354 Nomenclature ! Sort order
31355 \end_layout
31356
31357 \end_inset
31358
31359
31360 \end_layout
31361
31362 \begin_layout Standard
31363 The nomenclature entries are sorted alphabetically by the \SpecialChar LaTeX
31364 -code of the symbol
31365  definition.
31366  This leads to undesired results when you, for example, have symbols in
31367  formulas.
31368  Suppose you have nomenclature entries for the symbols 
31369 \emph on
31370 a
31371 \begin_inset CommandInset nomenclature
31372 LatexCommand nomenclature
31373 symbol "a"
31374 description "dummy entry for the character \"a\""
31375 literal "false"
31376
31377 \end_inset
31378
31379
31380 \emph default
31381  and 
31382 \begin_inset Formula $\sigma$
31383 \end_inset
31384
31385
31386 \begin_inset CommandInset nomenclature
31387 LatexCommand nomenclature
31388 prefix "sigma"
31389 symbol "$\\sigma$"
31390 description "dummy entry for the character \\textsf{sigma}"
31391 literal "true"
31392
31393 \end_inset
31394
31395 .
31396  They will be sorted by 
31397 \begin_inset Quotes eld
31398 \end_inset
31399
31400
31401 \family sans
31402 a
31403 \family default
31404
31405 \begin_inset Quotes erd
31406 \end_inset
31407
31408  and 
31409 \begin_inset Quotes eld
31410 \end_inset
31411
31412
31413 \family typewriter
31414 $
31415 \backslash
31416 sigma$
31417 \family default
31418
31419 \begin_inset Quotes erd
31420 \end_inset
31421
31422  – the 
31423 \begin_inset Formula $\sigma$
31424 \end_inset
31425
31426  will be sorted before the 
31427 \emph on
31428 a
31429 \emph default
31430  since the character 
31431 \begin_inset Quotes eld
31432 \end_inset
31433
31434 $
31435 \begin_inset Quotes erd
31436 \end_inset
31437
31438  is considered in sorting.
31439 \end_layout
31440
31441 \begin_layout Standard
31442 To control the sort order, you can edit the 
31443 \family sans
31444 Sort
31445 \begin_inset space ~
31446 \end_inset
31447
31448 as
31449 \family default
31450  field of the nomenclature dialog.
31451  Then the nomenclature entry will be sorted by this entry and not the symbol
31452  definition.
31453  For the example given, you can insert 
31454 \family typewriter
31455 sigma
31456 \family default
31457  in this field for the 
31458 \begin_inset Formula $\sigma$
31459 \end_inset
31460
31461 , then 
31462 \emph on
31463 a
31464 \emph default
31465  will be located before 
31466 \begin_inset Formula $\sigma$
31467 \end_inset
31468
31469 .
31470 \end_layout
31471
31472 \begin_layout Standard
31473 For subgrouping and tips for using sort entries see the 
31474 \series bold
31475 nomencl
31476 \series default
31477  documentation, 
31478 \begin_inset CommandInset citation
31479 LatexCommand cite
31480 key "nomencl"
31481 literal "true"
31482
31483 \end_inset
31484
31485 .
31486 \end_layout
31487
31488 \begin_layout Subsection
31489 Nomenclature Options
31490 \begin_inset Index idx
31491 status collapsed
31492
31493 \begin_layout Plain Layout
31494 Nomenclature ! Options
31495 \end_layout
31496
31497 \end_inset
31498
31499
31500 \begin_inset CommandInset label
31501 LatexCommand label
31502 name "subsec:Nomenclature-Options"
31503
31504 \end_inset
31505
31506
31507 \end_layout
31508
31509 \begin_layout Standard
31510 The 
31511 \series bold
31512 nomencl
31513 \series default
31514  package offers some options to adjust the appearance of the nomenclature.
31515  Here are some of its options; for more have a look at its documentation:
31516 \end_layout
31517
31518 \begin_layout Description
31519 refeq Appends the phrase 
31520 \begin_inset Quotes eld
31521 \end_inset
31522
31523
31524 \family sans
31525 , see equation (
31526 \emph on
31527 eq
31528 \emph default
31529 )
31530 \family default
31531
31532 \begin_inset Quotes erd
31533 \end_inset
31534
31535  to every nomenclature entry, where 
31536 \family sans
31537 \emph on
31538 eq
31539 \family default
31540 \emph default
31541  is the number of the last equation in front of the nomenclature entry
31542 \end_layout
31543
31544 \begin_layout Description
31545 refpage Appends the phrase 
31546 \begin_inset Quotes eld
31547 \end_inset
31548
31549
31550 \family sans
31551 , page (
31552 \emph on
31553 page
31554 \emph default
31555 )
31556 \family default
31557
31558 \begin_inset Quotes erd
31559 \end_inset
31560
31561  to every nomenclature entry, where 
31562 \family sans
31563 \emph on
31564 page
31565 \family default
31566 \emph default
31567  is the number of the page on which the nomenclature entry appeared
31568 \end_layout
31569
31570 \begin_layout Description
31571 intoc Inserts the nomenclature in the Table of Contents
31572 \end_layout
31573
31574 \begin_layout Standard
31575 To use one or more of the options, add them to the comma-separated document
31576  class options list in the 
31577 \family sans
31578 Document\SpecialChar menuseparator
31579 Settings
31580 \family default
31581  dialog.
31582  In this document the options 
31583 \series bold
31584 refpage, intoc
31585 \series default
31586  are used.
31587 \end_layout
31588
31589 \begin_layout Standard
31590 \begin_inset VSpace bigskip
31591 \end_inset
31592
31593
31594 \end_layout
31595
31596 \begin_layout Standard
31597 You can also use the first two options above only for certain nomenclature
31598  entries when you add one of the following commands as last entry to the
31599  
31600 \family sans
31601 Description
31602 \family default
31603  field in the nomenclature dialog:
31604 \end_layout
31605
31606 \begin_layout Description
31607
31608 \backslash
31609 nomrefeq Like the 
31610 \series bold
31611 refeq
31612 \series default
31613  option
31614 \end_layout
31615
31616 \begin_layout Description
31617
31618 \backslash
31619 nomrefpage Like the 
31620 \series bold
31621 refpage
31622 \series default
31623  option
31624 \end_layout
31625
31626 \begin_layout Description
31627
31628 \backslash
31629 nomrefeqpage Short notation of 
31630 \series bold
31631
31632 \backslash
31633 nomrefeq
31634 \backslash
31635 nomrefpage
31636 \end_layout
31637
31638 \begin_layout Description
31639
31640 \backslash
31641 nomnorefeq,
31642 \begin_inset space ~
31643 \end_inset
31644
31645
31646 \backslash
31647 nomnorefpage,
31648 \begin_inset space ~
31649 \end_inset
31650
31651
31652 \backslash
31653 nomnorefeqpage Turns off the corresponding options
31654 \end_layout
31655
31656 \begin_layout Standard
31657 Words like 
31658 \begin_inset Quotes eld
31659 \end_inset
31660
31661 page
31662 \begin_inset Quotes erd
31663 \end_inset
31664
31665  are automatically translated for most document languages.
31666  If not, add these lines in front of the nomenclature list as \SpecialChar TeX
31667  code:
31668 \end_layout
31669
31670 \begin_layout Standard
31671 \noindent
31672
31673 \series bold
31674
31675 \backslash
31676 renewcommand*{
31677 \backslash
31678 eqdeclaration}[1]{
31679 \begin_inset Newline newline
31680 \end_inset
31681
31682
31683 \size small
31684
31685 \begin_inset Phantom HPhantom
31686 status open
31687
31688 \begin_layout Plain Layout
31689 \begin_inset space ~
31690 \end_inset
31691
31692
31693 \end_layout
31694
31695 \end_inset
31696
31697
31698 \size default
31699
31700 \backslash
31701 unskip, see equation
31702 \backslash
31703 nobreakspace(#1)}
31704 \begin_inset Newline newline
31705 \end_inset
31706
31707
31708 \backslash
31709 renewcommand*{
31710 \backslash
31711 pagedeclaration}[1]{
31712 \begin_inset Newline newline
31713 \end_inset
31714
31715
31716 \size small
31717
31718 \begin_inset Phantom HPhantom
31719 status open
31720
31721 \begin_layout Plain Layout
31722 \begin_inset space ~
31723 \end_inset
31724
31725
31726 \end_layout
31727
31728 \end_inset
31729
31730
31731 \size default
31732
31733 \backslash
31734 unskip, page
31735 \backslash
31736 nobreakspace{}#1}
31737 \end_layout
31738
31739 \begin_layout Standard
31740 If the numbers should be hyperlinks, assure that you use 
31741 \family sans
31742 Hyperref
31743 \begin_inset space ~
31744 \end_inset
31745
31746 Support
31747 \family default
31748  in the document settings under 
31749 \family sans
31750 PDF
31751 \begin_inset space ~
31752 \end_inset
31753
31754 Properties
31755 \family default
31756  and use instead:
31757 \end_layout
31758
31759 \begin_layout Standard
31760
31761 \series bold
31762
31763 \backslash
31764 renewcommand*{
31765 \backslash
31766 eqdeclaration}[1]{
31767 \begin_inset Newline newline
31768 \end_inset
31769
31770
31771 \begin_inset Phantom HPhantom
31772 status open
31773
31774 \begin_layout Plain Layout
31775 \begin_inset space ~
31776 \end_inset
31777
31778
31779 \end_layout
31780
31781 \end_inset
31782
31783
31784 \backslash
31785 unskip, see 
31786 \backslash
31787 hyperlink{equation.#1}{equation
31788 \backslash
31789 nobreakspace{}(#1)}}
31790 \begin_inset Newline newline
31791 \end_inset
31792
31793
31794 \backslash
31795 renewcommand*{
31796 \backslash
31797 pagedeclaration}[1]{
31798 \begin_inset Newline newline
31799 \end_inset
31800
31801
31802 \begin_inset Phantom HPhantom
31803 status open
31804
31805 \begin_layout Plain Layout
31806 \begin_inset space ~
31807 \end_inset
31808
31809
31810 \end_layout
31811
31812 \end_inset
31813
31814
31815 \backslash
31816 unskip, 
31817 \backslash
31818 hyperlink{page.#1}{page
31819 \backslash
31820 nobreakspace{}#1}}
31821 \end_layout
31822
31823 \begin_layout Subsection
31824 Printing the Nomenclature
31825 \begin_inset Index idx
31826 status collapsed
31827
31828 \begin_layout Plain Layout
31829 Nomenclature ! Printing
31830 \end_layout
31831
31832 \end_inset
31833
31834
31835 \end_layout
31836
31837 \begin_layout Standard
31838 To print the nomenclature, use the menu 
31839 \family sans
31840 Insert\SpecialChar menuseparator
31841 Lists/TOC\SpecialChar menuseparator
31842 Nomenclature
31843 \family default
31844 .
31845  A box labeled 
31846 \begin_inset Quotes eld
31847 \end_inset
31848
31849
31850 \family sans
31851 Nomenclature
31852 \family default
31853
31854 \begin_inset Quotes erd
31855 \end_inset
31856
31857  will show the place where the nomenclature is printed in the output.
31858  By right-clicking on it, the amount of space for symbols can be altered.
31859  You can choose between these settings:
31860 \end_layout
31861
31862 \begin_layout Description
31863 Default a space of 1
31864 \begin_inset space \thinspace{}
31865 \end_inset
31866
31867 cm is used
31868 \end_layout
31869
31870 \begin_layout Description
31871 Longest
31872 \begin_inset space ~
31873 \end_inset
31874
31875 label
31876 \begin_inset space ~
31877 \end_inset
31878
31879 width the width of the widest symbol of all nomenclature entries is used
31880 \end_layout
31881
31882 \begin_layout Description
31883 Custom custom space
31884 \end_layout
31885
31886 \begin_layout Standard
31887 In the printed output the title of the nomenclature appears as 
31888 \begin_inset Quotes eld
31889 \end_inset
31890
31891 Nomenclature
31892 \begin_inset Quotes erd
31893 \end_inset
31894
31895 .
31896  If you are not happy with the name, you can change it by redefining the
31897  command 
31898 \series bold
31899
31900 \backslash
31901 nomname
31902 \series default
31903  in the preamble.
31904  For example, in order to change the name to 
31905 \emph on
31906 List of Symbols
31907 \emph default
31908 , add the following line to the preamble:
31909 \end_layout
31910
31911 \begin_layout Standard
31912
31913 \series bold
31914
31915 \backslash
31916 AtBeginDocument{
31917 \backslash
31918 addto
31919 \backslash
31920 captionsenglish{
31921 \backslash
31922 def
31923 \backslash
31924 nomname{List of Symbols}}}
31925 \end_layout
31926
31927 \begin_layout Standard
31928 When you are using another document language than English, replace
31929 \begin_inset Newline newline
31930 \end_inset
31931
31932
31933 \series bold
31934
31935 \backslash
31936 captionsenglish
31937 \series default
31938  by 
31939 \series bold
31940
31941 \backslash
31942 extras***
31943 \series default
31944 , where *** is the name of the language used.
31945 \end_layout
31946
31947 \begin_layout Subsection
31948 Nomenclature Program
31949 \begin_inset Index idx
31950 status collapsed
31951
31952 \begin_layout Plain Layout
31953 Nomenclature ! Program
31954 \end_layout
31955
31956 \end_inset
31957
31958
31959 \begin_inset CommandInset label
31960 LatexCommand label
31961 name "subsec:Nomenclature-Program"
31962
31963 \end_inset
31964
31965
31966 \end_layout
31967
31968 \begin_layout Standard
31969 \SpecialChar LyX
31970  uses the program 
31971 \family sans
31972 makeindex
31973 \family default
31974 , that is part of every \SpecialChar LaTeX
31975  distribution, to generate the nomenclature.
31976  \SpecialChar LyX
31977 's preferences dialog allows you to specify another program or to control
31978  
31979 \family sans
31980 makeindex
31981 \family default
31982  by adding options, see section
31983 \begin_inset space ~
31984 \end_inset
31985
31986
31987 \begin_inset CommandInset ref
31988 LatexCommand ref
31989 reference "subsec:LaTeX-settings"
31990
31991 \end_inset
31992
31993 .
31994  The available options are listed and explained in 
31995 \begin_inset CommandInset citation
31996 LatexCommand cite
31997 key "nomencl,makeindex"
31998 literal "true"
31999
32000 \end_inset
32001
32002 .
32003 \end_layout
32004
32005 \begin_layout Section
32006 Branches
32007 \begin_inset Index idx
32008 status collapsed
32009
32010 \begin_layout Plain Layout
32011 Branches
32012 \end_layout
32013
32014 \end_inset
32015
32016
32017 \begin_inset Index idx
32018 status collapsed
32019
32020 \begin_layout Plain Layout
32021 Document ! Branches
32022 \end_layout
32023
32024 \end_inset
32025
32026
32027 \begin_inset CommandInset label
32028 LatexCommand label
32029 name "sec:Branches"
32030
32031 \end_inset
32032
32033
32034 \end_layout
32035
32036 \begin_layout Standard
32037 Sometimes it is useful to hide some document parts in the output.
32038  For example a teacher who is setting an exam obviously doesn't want the
32039  pupils to see the answers, but having questions and answers in the same
32040  document will make the life of the markers of that exam much easier.
32041 \end_layout
32042
32043 \begin_layout Standard
32044 For these cases \SpecialChar LyX
32045  allows you to put text into branches.
32046  The text will then only appear in the output when its branch is activated.
32047  To create a branch, either select the menu 
32048 \family sans
32049 Insert\SpecialChar menuseparator
32050 Branch\SpecialChar menuseparator
32051 Insert New Branch
32052 \family default
32053  (if you just want to specify a new branch) or go in the 
32054 \family sans
32055 Document\SpecialChar menuseparator
32056 Settings
32057 \family default
32058  dialog to 
32059 \family sans
32060 Branches
32061 \family default
32062 , where you can specify and change the name of the branch, its activation
32063  state (whether the content of the branch is shown in the output or not),
32064  its background color inside \SpecialChar LyX
32065  and whether the name of the branch should
32066  be appended to the document file name on export if the branch is active
32067  (see below for an example).
32068  Furthermore, the dialog lets you merge two branches (just rename one branch
32069  to the name of the other) and to add 
32070 \begin_inset Quotes eld
32071 \end_inset
32072
32073 unknown branches
32074 \begin_inset Quotes erd
32075 \end_inset
32076
32077  (i.
32078 \begin_inset space \thinspace{}
32079 \end_inset
32080
32081 e.
32082 \begin_inset space ~
32083 \end_inset
32084
32085 branches that were added to the document via copy and paste from other documents
32086 , without having been defined) to the document's branch list.
32087 \end_layout
32088
32089 \begin_layout Standard
32090 Text that should be in a branch is set into branch inset boxes.
32091  These boxes are inserted via the menu 
32092 \family sans
32093 Insert\SpecialChar menuseparator
32094 Branch
32095 \family default
32096  where you can choose a branch.
32097  You can later change the activation state of the branch by right-clicking
32098  on them.
32099 \end_layout
32100
32101 \begin_layout Standard
32102 Here is an example, where only the question text appears, the answer branch
32103  is deactivated and therefore does not appear in the output:
32104 \end_layout
32105
32106 \begin_layout Standard
32107 \begin_inset Branch Question
32108 inverted 0
32109 status open
32110
32111 \begin_layout Standard
32112
32113 \series bold
32114 Question:
32115 \series default
32116  Who was the first physics Nobel prize winner?
32117 \end_layout
32118
32119 \end_inset
32120
32121
32122 \end_layout
32123
32124 \begin_layout Standard
32125 \begin_inset Branch Answer
32126 inverted 0
32127 status collapsed
32128
32129 \begin_layout Standard
32130
32131 \series bold
32132 Answer:
32133 \series default
32134  Wilhelm Conrad Röntgen
32135 \end_layout
32136
32137 \end_inset
32138
32139
32140 \end_layout
32141
32142 \begin_layout Standard
32143 If you activate 
32144 \family sans
32145 Filename Suffix
32146 \family default
32147  in 
32148 \family sans
32149 Document\SpecialChar menuseparator
32150 Settings\SpecialChar menuseparator
32151 Branches
32152 \family default
32153 , the name of the active branches will be appended to the file name at export.
32154  Consider for example a file 
32155 \begin_inset Quotes eld
32156 \end_inset
32157
32158 Exam.lyx
32159 \begin_inset Quotes erd
32160 \end_inset
32161
32162  which has the above branches.
32163  If 
32164 \begin_inset Quotes eld
32165 \end_inset
32166
32167 Filename Suffix
32168 \begin_inset Quotes erd
32169 \end_inset
32170
32171  is active, the PDF export file would be called 
32172 \begin_inset Quotes eld
32173 \end_inset
32174
32175 Exam.pdf
32176 \begin_inset Quotes erd
32177 \end_inset
32178
32179  if both the 
32180 \begin_inset Quotes eld
32181 \end_inset
32182
32183 Question
32184 \begin_inset Quotes erd
32185 \end_inset
32186
32187  and 
32188 \begin_inset Quotes eld
32189 \end_inset
32190
32191 Answer
32192 \begin_inset Quotes erd
32193 \end_inset
32194
32195  branch were inactive, 
32196 \begin_inset Quotes eld
32197 \end_inset
32198
32199 Exam-Question.pdf
32200 \begin_inset Quotes erd
32201 \end_inset
32202
32203  if only the 
32204 \begin_inset Quotes eld
32205 \end_inset
32206
32207 Question
32208 \begin_inset Quotes erd
32209 \end_inset
32210
32211  branch was active, likewise 
32212 \begin_inset Quotes eld
32213 \end_inset
32214
32215 Exam-Answer.pdf
32216 \begin_inset Quotes erd
32217 \end_inset
32218
32219  if only the 
32220 \begin_inset Quotes eld
32221 \end_inset
32222
32223 Answer
32224 \begin_inset Quotes erd
32225 \end_inset
32226
32227  branch was active, and 
32228 \begin_inset Quotes eld
32229 \end_inset
32230
32231 Exam-Question-Answer.pdf
32232 \begin_inset Quotes erd
32233 \end_inset
32234
32235  if both branches were active.
32236  This helps you to export different versions of your document easily.
32237 \begin_inset VSpace bigskip
32238 \end_inset
32239
32240
32241 \end_layout
32242
32243 \begin_layout Standard
32244 There are also inverted branch insets, whose content is output just in case
32245  the branch is 
32246 \emph on
32247 not
32248 \emph default
32249  activated.
32250  This make it easy to add alternative text for different versions of a document.
32251  To control whether a particular inset is inverted, right-click on the inset
32252  button and choose 
32253 \family sans
32254 Invert
32255 \begin_inset space ~
32256 \end_inset
32257
32258 Inset
32259 \family default
32260 .
32261 \end_layout
32262
32263 \begin_layout Standard
32264 \begin_inset Branch Answer
32265 inverted 1
32266 status open
32267
32268 \begin_layout Standard
32269
32270 \series bold
32271 No answer:
32272 \series default
32273  Because the 
32274 \begin_inset Quotes eld
32275 \end_inset
32276
32277 Answer
32278 \begin_inset Quotes erd
32279 \end_inset
32280
32281  branch is deactivated.
32282 \end_layout
32283
32284 \end_inset
32285
32286
32287 \begin_inset VSpace bigskip
32288 \end_inset
32289
32290
32291 \end_layout
32292
32293 \begin_layout Standard
32294 To use conditional output inside places where you cannot insert branch insets,
32295  like inside equations, you can code special \SpecialChar LaTeX
32296  definitions for each branch.
32297  For example you can define for the question branch
32298 \begin_inset Foot
32299 status collapsed
32300
32301 \begin_layout Plain Layout
32302 For an introduction to the \SpecialChar LaTeX
32303 -syntax, see section
32304 \begin_inset space ~
32305 \end_inset
32306
32307
32308 \begin_inset CommandInset ref
32309 LatexCommand ref
32310 reference "subsec:LaTeX-Syntax"
32311
32312 \end_inset
32313
32314 .
32315 \end_layout
32316
32317 \end_inset
32318
32319
32320 \end_layout
32321
32322 \begin_layout Standard
32323
32324 \series bold
32325
32326 \backslash
32327 newcommand{
32328 \backslash
32329 question}[1]{#1}
32330 \end_layout
32331
32332 \begin_layout Standard
32333
32334 \series bold
32335
32336 \backslash
32337 newcommand{
32338 \backslash
32339 answer}[1]{}
32340 \end_layout
32341
32342 \begin_layout Standard
32343 and for the answer branch
32344 \end_layout
32345
32346 \begin_layout Standard
32347
32348 \series bold
32349
32350 \backslash
32351 newcommand{
32352 \backslash
32353 question}[1]{}
32354 \end_layout
32355
32356 \begin_layout Standard
32357
32358 \series bold
32359
32360 \backslash
32361 newcommand{
32362 \backslash
32363 answer}[1]{#1}
32364 \end_layout
32365
32366 \begin_layout Standard
32367 \begin_inset Branch Question
32368 inverted 0
32369 status open
32370
32371 \begin_layout Standard
32372 \begin_inset ERT
32373 status open
32374
32375 \begin_layout Plain Layout
32376
32377
32378 \backslash
32379 newcommand{
32380 \backslash
32381 question}[1]{#1}
32382 \end_layout
32383
32384 \begin_layout Plain Layout
32385
32386
32387 \backslash
32388 newcommand{
32389 \backslash
32390 answer}[1]{}
32391 \end_layout
32392
32393 \end_inset
32394
32395
32396 \end_layout
32397
32398 \end_inset
32399
32400
32401 \end_layout
32402
32403 \begin_layout Standard
32404 \begin_inset Branch Answer
32405 inverted 0
32406 status collapsed
32407
32408 \begin_layout Standard
32409 \begin_inset ERT
32410 status open
32411
32412 \begin_layout Plain Layout
32413
32414
32415 \backslash
32416 newcommand{
32417 \backslash
32418 question}[1]{}
32419 \end_layout
32420
32421 \begin_layout Plain Layout
32422
32423
32424 \backslash
32425 newcommand{
32426 \backslash
32427 answer}[1]{#1}
32428 \end_layout
32429
32430 \end_inset
32431
32432
32433 \end_layout
32434
32435 \end_inset
32436
32437
32438 \end_layout
32439
32440 \begin_layout Standard
32441 Now it is possible to use the 
32442 \series bold
32443
32444 \backslash
32445 question{\SpecialChar ldots
32446 }
32447 \series default
32448  and 
32449 \series bold
32450
32451 \backslash
32452 answer{\SpecialChar ldots
32453 }
32454 \series default
32455  commands to obtain conditional output.
32456  Here is an example formula where only the 
32457 \series bold
32458
32459 \backslash
32460 question
32461 \series default
32462  part appears:
32463 \begin_inset Formula 
32464 \[
32465 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
32466 \]
32467
32468 \end_inset
32469
32470
32471 \end_layout
32472
32473 \begin_layout Standard
32474 Inside math, the same effect can be achieved using math macros, see the
32475  
32476 \emph on
32477 Math
32478 \emph default
32479  manual.
32480 \end_layout
32481
32482 \begin_layout Standard
32483 Each type of branch is allowed to have its specific style defined in layout
32484  files (e.
32485 \begin_inset space \thinspace{}
32486 \end_inset
32487
32488 g.
32489 \begin_inset space \space{}
32490 \end_inset
32491
32492 any branch inset can be automatically wrapped by your own \SpecialChar LaTeX
32493  commands.).
32494  For this advanced usage, see the 
32495 \emph on
32496 Customization
32497 \emph default
32498  manual, section 
32499 \emph on
32500 Flex insets and InsetLayout
32501 \emph default
32502 ).
32503 \end_layout
32504
32505 \begin_layout Section
32506 PDF Properties
32507 \begin_inset CommandInset label
32508 LatexCommand label
32509 name "sec:PDF-Properties"
32510
32511 \end_inset
32512
32513
32514 \begin_inset Index idx
32515 status collapsed
32516
32517 \begin_layout Plain Layout
32518 PDF properties
32519 \end_layout
32520
32521 \end_inset
32522
32523
32524 \end_layout
32525
32526 \begin_layout Standard
32527 The 
32528 \family sans
32529 Document\SpecialChar menuseparator
32530 Settings\SpecialChar menuseparator
32531 PDF Properties
32532 \family default
32533  dialog allows you to set up special options for the PDF output of your
32534  document.
32535  All these options are provided by the \SpecialChar LaTeX
32536 -package 
32537 \series bold
32538 hyperref
32539 \series default
32540
32541 \begin_inset Index idx
32542 status collapsed
32543
32544 \begin_layout Plain Layout
32545 \SpecialChar LaTeX
32546  packages ! hyperref
32547 \end_layout
32548
32549 \end_inset
32550
32551  which will link all cross-references in the DVI- and PDF-output.
32552  This means that the reader of your document will be able to click on a
32553  table of contents entry or on a reference to move to the cross-referenced
32554  part of the document.
32555  
32556 \end_layout
32557
32558 \begin_layout Standard
32559 The header information in the dialog tab 
32560 \family sans
32561 General
32562 \family default
32563  is saved together with the PDF as file properties.
32564  Many programs are able to extract this information, for example, automatically
32565  to recognize who the author is and what the PDF is about.
32566  This is very useful to sort, classify or use PDFs for bibliography issues.
32567  When the option 
32568 \family sans
32569 Automatically
32570 \begin_inset space ~
32571 \end_inset
32572
32573 fill
32574 \begin_inset space ~
32575 \end_inset
32576
32577 header
32578 \family default
32579  is set, \SpecialChar LyX
32580  tries to extract the header information from your document title
32581  and author entries.
32582  The option 
32583 \family sans
32584 Load
32585 \begin_inset space ~
32586 \end_inset
32587
32588 in
32589 \begin_inset space ~
32590 \end_inset
32591
32592 fullscreen
32593 \begin_inset space ~
32594 \end_inset
32595
32596 mode
32597 \family default
32598  will open the PDF in fullscreen mode, which is useful for presentations.
32599 \end_layout
32600
32601 \begin_layout Standard
32602 You can specify in the dialog tab 
32603 \family sans
32604 Hyperlinks
32605 \family default
32606  how the links will look and if links for bibliographical backreferences
32607  are created.
32608  The 
32609 \family sans
32610 Break
32611 \begin_inset space ~
32612 \end_inset
32613
32614 links
32615 \begin_inset space ~
32616 \end_inset
32617
32618 over
32619 \begin_inset space ~
32620 \end_inset
32621
32622 lines
32623 \family default
32624  option allows long links to be split; 
32625 \family sans
32626 No
32627 \begin_inset space ~
32628 \end_inset
32629
32630 frames
32631 \begin_inset space ~
32632 \end_inset
32633
32634 around
32635 \begin_inset space ~
32636 \end_inset
32637
32638 links
32639 \family default
32640  and 
32641 \family sans
32642 Color
32643 \begin_inset space ~
32644 \end_inset
32645
32646 links
32647 \family default
32648  both turn off the default behavior of enclosing all links in frames; 
32649 \family sans
32650 Color
32651 \begin_inset space ~
32652 \end_inset
32653
32654 links
32655 \family default
32656  colors the different links.
32657  The default colors are:
32658 \end_layout
32659
32660 \begin_layout Labeling
32661 \labelwidthstring 00.00.0000
32662
32663 \color magenta
32664 magenta
32665 \color inherit
32666  for hyperlinks and URLs
32667 \end_layout
32668
32669 \begin_layout Labeling
32670 \labelwidthstring 00.00.0000
32671
32672 \color red
32673 red
32674 \color inherit
32675  for links
32676 \end_layout
32677
32678 \begin_layout Labeling
32679 \labelwidthstring 00.00.0000
32680
32681 \color green
32682 green
32683 \color inherit
32684  for citations
32685 \end_layout
32686
32687 \begin_layout Standard
32688 but you can change these in the field 
32689 \family sans
32690 Additional options
32691 \family default
32692 .
32693  For example, in this document they were changed with the additional options:
32694 \end_layout
32695
32696 \begin_layout Standard
32697
32698 \series bold
32699 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
32700 \end_layout
32701
32702 \begin_layout Standard
32703 If the option 
32704 \family sans
32705 Backreferences
32706 \family default
32707  is set, the hyperlinks will appear in the bibliography after the different
32708  entries, showing, depending on the option selected, the number of the section,
32709  slide or page where the entry is referenced.
32710 \end_layout
32711
32712 \begin_layout Standard
32713 In the dialog tab 
32714 \family sans
32715 Bookmarks
32716 \family default
32717  you can specify if PDF-bookmarks should be created for every section of
32718  your document to make it easier for readers to navigate through the document.
32719  You can decide if the bookmarks should be numbered like your document sections
32720  or not.
32721  With the 
32722 \family sans
32723 Open bookmarks
32724 \family default
32725  
32726 \family sans
32727 Level
32728 \family default
32729  you can specify what sectioning level should be displayed in the bookmarks
32730  when opening the PDF.
32731  For example level
32732 \begin_inset space ~
32733 \end_inset
32734
32735 2 will display all sections and subsections, while level
32736 \begin_inset space ~
32737 \end_inset
32738
32739 1 will only display the sections.
32740 \end_layout
32741
32742 \begin_layout Standard
32743 PDF properties are also used in this document.
32744  When you look in its document settings, you can see that some additional
32745  
32746 \series bold
32747 hyperref
32748 \series default
32749  options are used.
32750  For an explanation of all them we refer you to the hyperref manual 
32751 \begin_inset CommandInset citation
32752 LatexCommand cite
32753 key "hyperref"
32754 literal "true"
32755
32756 \end_inset
32757
32758 .
32759 \end_layout
32760
32761 \begin_layout Section
32762 \SpecialChar TeX
32763  Code and the \SpecialChar LaTeX
32764  Syntax
32765 \begin_inset CommandInset label
32766 LatexCommand label
32767 name "sec:TeX-Code"
32768
32769 \end_inset
32770
32771
32772 \end_layout
32773
32774 \begin_layout Subsection
32775 \SpecialChar TeX
32776  Code Boxes
32777 \begin_inset Index idx
32778 status collapsed
32779
32780 \begin_layout Plain Layout
32781 \SpecialChar TeX
32782  Code
32783 \end_layout
32784
32785 \end_inset
32786
32787
32788 \begin_inset CommandInset label
32789 LatexCommand label
32790 name "subsec:TeX-Code-Boxes"
32791
32792 \end_inset
32793
32794
32795 \end_layout
32796
32797 \begin_layout Standard
32798 As \SpecialChar LyX
32799  uses \SpecialChar LaTeX
32800  in the background, it supports many \SpecialChar LaTeX
32801  commands and constructs,
32802  but not all.
32803  \SpecialChar LaTeX
32804  contains hundreds of packages that provide different commands.
32805  All the time packages are being updated and new ones added.
32806  This has the advantage that you can typeset nearly everything as there
32807  is a \SpecialChar LaTeX
32808 -package for every problem, though \SpecialChar LyX
32809  cannot support all packages and
32810  their commands.
32811 \end_layout
32812
32813 \begin_layout Standard
32814 But don't worry, you can use any \SpecialChar LaTeX
32815 -command directly in \SpecialChar LyX
32816  inside the \SpecialChar TeX
32817  Code
32818  box.
32819  A \SpecialChar TeX
32820  Code box is created by the menu 
32821 \family sans
32822 Insert\SpecialChar menuseparator
32823 TeX
32824 \begin_inset space ~
32825 \end_inset
32826
32827 Code
32828 \family default
32829  or by the toolbar button 
32830 \begin_inset Info
32831 type  "icon"
32832 arg   "ert-insert"
32833 \end_inset
32834
32835  (shortcut 
32836 \begin_inset Info
32837 type  "shortcut"
32838 arg   "ert-insert"
32839 \end_inset
32840
32841 ).
32842  The box can be opened by left-clicking and closed by right-clicking on
32843  it and selecting 
32844 \family sans
32845 Close Inset
32846 \family default
32847 .
32848 \end_layout
32849
32850 \begin_layout Standard
32851 You can insert complete or incomplete commands as \SpecialChar TeX
32852  Code.
32853  Incomplete means that the command argument can be Standard \SpecialChar LyX
32854  text.
32855  For example, if you want to draw a frame around a word
32856 \begin_inset Foot
32857 status collapsed
32858
32859 \begin_layout Plain Layout
32860 The LyX way would be to use a framed box.
32861 \end_layout
32862
32863 \end_inset
32864
32865  and are therefore using the \SpecialChar LaTeX
32866 -command 
32867 \series bold
32868
32869 \backslash
32870 fbox
32871 \series default
32872 , you can write the command part 
32873 \series bold
32874
32875 \backslash
32876 fbox{
32877 \series default
32878  in a \SpecialChar TeX
32879  Code box before the word and the closing brace 
32880 \series bold
32881 }
32882 \series default
32883  in a second \SpecialChar TeX
32884  Code box behind the word.
32885  The word between the two \SpecialChar TeX
32886  Code boxes is then the argument as it is in the
32887  following example:
32888 \end_layout
32889
32890 \begin_layout Standard
32891 \begin_inset Graphics
32892         filename clipart/ERT.png
32893         scale 95
32894
32895 \end_inset
32896
32897
32898 \end_layout
32899
32900 \begin_layout Standard
32901 gives
32902 \end_layout
32903
32904 \begin_layout Standard
32905 This is a line with a 
32906 \begin_inset ERT
32907 status collapsed
32908
32909 \begin_layout Plain Layout
32910
32911
32912 \backslash
32913 fbox{
32914 \end_layout
32915
32916 \end_inset
32917
32918 framed
32919 \begin_inset ERT
32920 status collapsed
32921
32922 \begin_layout Plain Layout
32923
32924 }
32925 \end_layout
32926
32927 \end_inset
32928
32929  word.
32930 \end_layout
32931
32932 \begin_layout Standard
32933 \begin_inset Note Greyedout
32934 status open
32935
32936 \begin_layout Plain Layout
32937
32938 \series bold
32939 Note:
32940 \series default
32941  At the end of \SpecialChar LaTeX
32942 -commands without parameters, you have to insert a space
32943  to let \SpecialChar LaTeX
32944  know that the command is finished.
32945 \end_layout
32946
32947 \end_inset
32948
32949
32950 \end_layout
32951
32952 \begin_layout Subsection
32953 A Short Introduction to the \SpecialChar LaTeX
32954  Syntax
32955 \begin_inset Argument 1
32956 status collapsed
32957
32958 \begin_layout Plain Layout
32959 The \SpecialChar LaTeX
32960  Syntax
32961 \end_layout
32962
32963 \end_inset
32964
32965
32966 \begin_inset Index idx
32967 status collapsed
32968
32969 \begin_layout Plain Layout
32970 \SpecialChar LaTeX
32971  Syntax
32972 \end_layout
32973
32974 \end_inset
32975
32976
32977 \begin_inset CommandInset label
32978 LatexCommand label
32979 name "subsec:LaTeX-Syntax"
32980
32981 \end_inset
32982
32983
32984 \end_layout
32985
32986 \begin_layout Standard
32987 When you write larger documents or books, you will need to know something
32988  about the \SpecialChar LaTeX
32989 -commands that \SpecialChar LyX
32990  uses in the background.
32991  Because \SpecialChar LaTeX
32992  is based on commands, you can 
32993 \begin_inset Quotes eld
32994 \end_inset
32995
32996 program
32997 \begin_inset Quotes erd
32998 \end_inset
32999
33000  your text.
33001  This has the advantage that the layout of the document can be changed at
33002  any time if you know the right commands.
33003  For example, imagine you have to write a manual for a product and the deadline
33004  is the end of the day.
33005  Your boss has just complimented you for your good work but wants to have
33006  all caption labels bold.
33007  But you have over a hundred figure and table captions with non-bold labels
33008  in your manual.
33009  Of course it is impossible to change all caption labels manually in one
33010  day.
33011 \end_layout
33012
33013 \begin_layout Standard
33014 Now \SpecialChar LaTeX
33015  comes into play.
33016  As mentioned above, for every problem there exists a \SpecialChar LaTeX
33017 -package.
33018  First you have to find out which and therefore look in the \SpecialChar LaTeX
33019  package database,
33020  
33021 \begin_inset CommandInset citation
33022 LatexCommand cite
33023 key "Catalogue"
33024 literal "true"
33025
33026 \end_inset
33027
33028 .
33029 \end_layout
33030
33031 \begin_layout Standard
33032 As result you find that the package 
33033 \series bold
33034 caption
33035 \series default
33036
33037 \begin_inset Index idx
33038 status collapsed
33039
33040 \begin_layout Plain Layout
33041 \SpecialChar LaTeX
33042  packages ! caption
33043 \end_layout
33044
33045 \end_inset
33046
33047  is what you need.
33048  To use a package, you have to load it in the document preamble (menu 
33049 \family sans
33050 Document\SpecialChar menuseparator
33051 Settings
33052 \family default
33053 \SpecialChar menuseparator
33054
33055 \family sans
33056 LaTeX
33057 \begin_inset space ~
33058 \end_inset
33059
33060 Preamble
33061 \family default
33062 ) with the command
33063 \end_layout
33064
33065 \begin_layout Standard
33066
33067 \series bold
33068
33069 \backslash
33070 usepackage[options]{package name}
33071 \end_layout
33072
33073 \begin_layout Standard
33074 All \SpecialChar LaTeX
33075  commands begin with a backslash, the command argument is set within
33076  two braces and the options are set within two brackets.
33077  Note that not all commands have an argument and options.
33078 \end_layout
33079
33080 \begin_layout Standard
33081 In your case the package name is 
33082 \series bold
33083 caption
33084 \series default
33085 .
33086  After a look in the documentation of the package, you know that the option
33087  
33088 \series bold
33089 labelfont=bf
33090 \series default
33091  will change the font of all caption labels to bold.
33092  So you add the command
33093 \end_layout
33094
33095 \begin_layout Standard
33096
33097 \series bold
33098
33099 \backslash
33100 usepackage[labelfont=bf]{caption}
33101 \end_layout
33102
33103 \begin_layout Standard
33104 to the preamble and the problem is solved.
33105 \begin_inset Foot
33106 status collapsed
33107
33108 \begin_layout Plain Layout
33109 For more commands provided by the 
33110 \series bold
33111 caption
33112 \series default
33113  package, have a look at its documentation, 
33114 \begin_inset CommandInset citation
33115 LatexCommand cite
33116 key "caption"
33117 literal "true"
33118
33119 \end_inset
33120
33121 .
33122 \end_layout
33123
33124 \end_inset
33125
33126
33127 \end_layout
33128
33129 \begin_layout Standard
33130 Note that some document classes have built-in solutions for well-known problems
33131  like your case.
33132  For example if you use a 
33133 \family sans
33134 KOMA-Script
33135 \family default
33136  class, you don't need the package 
33137 \series bold
33138 caption
33139 \series default
33140 , you can instead write
33141 \end_layout
33142
33143 \begin_layout Standard
33144
33145 \series bold
33146
33147 \backslash
33148 setkomafont{captionlabel}{
33149 \backslash
33150 bfseries}
33151 \end_layout
33152
33153 \begin_layout Standard
33154 in the preamble and the problem is solved.
33155  So if you plan to write a large document, you should have a look at the
33156  documentation of the document class you want to use.
33157  (
33158 \series bold
33159
33160 \backslash
33161 setkomafont
33162 \series default
33163  is an example of a command with more than one argument.)
33164 \end_layout
33165
33166 \begin_layout Standard
33167 Commands in the preamble affect the whole document, while commands in the
33168  text affect only the text after the command or only the text used as command
33169  argument.
33170  To insert a \SpecialChar LaTeX
33171 -command in text, use the \SpecialChar TeX
33172  Code box as described in the previous
33173  section.
33174 \end_layout
33175
33176 \begin_layout Standard
33177 If you want to learn more about \SpecialChar LaTeX
33178  and its syntax, have a look at the \SpecialChar LaTeX
33179 -books
33180  
33181 \begin_inset CommandInset citation
33182 LatexCommand cite
33183 key "latexcompanion,latexguide"
33184 literal "true"
33185
33186 \end_inset
33187
33188 .
33189 \end_layout
33190
33191 \begin_layout Standard
33192 \begin_inset Newpage clearpage
33193 \end_inset
33194
33195
33196 \end_layout
33197
33198 \begin_layout Standard
33199 \begin_inset ERT
33200 status collapsed
33201
33202 \begin_layout Plain Layout
33203
33204
33205 \backslash
33206 pagestyle{fancy}
33207 \end_layout
33208
33209 \end_inset
33210
33211
33212 \begin_inset Note Note
33213 status collapsed
33214
33215 \begin_layout Plain Layout
33216 switches temporarily to a page style with custom header and footer line
33217 \end_layout
33218
33219 \end_inset
33220
33221
33222 \end_layout
33223
33224 \begin_layout Left Header
33225 \begin_inset Argument 1
33226 status collapsed
33227
33228 \begin_layout Plain Layout
33229
33230 \end_layout
33231
33232 \end_inset
33233
33234
33235 \begin_inset ERT
33236 status collapsed
33237
33238 \begin_layout Plain Layout
33239
33240
33241 \backslash
33242 rightmark
33243 \end_layout
33244
33245 \end_inset
33246
33247
33248 \begin_inset Note Note
33249 status collapsed
33250
33251 \begin_layout Plain Layout
33252 defines the header line as described below
33253 \end_layout
33254
33255 \end_inset
33256
33257
33258 \end_layout
33259
33260 \begin_layout Center Header
33261 \begin_inset Argument 1
33262 status collapsed
33263
33264 \begin_layout Plain Layout
33265
33266 \end_layout
33267
33268 \end_inset
33269
33270
33271 \end_layout
33272
33273 \begin_layout Right Header
33274 \begin_inset Argument 1
33275 status collapsed
33276
33277 \begin_layout Plain Layout
33278 \begin_inset ERT
33279 status collapsed
33280
33281 \begin_layout Plain Layout
33282
33283
33284 \backslash
33285 leftmark
33286 \end_layout
33287
33288 \end_inset
33289
33290
33291 \end_layout
33292
33293 \end_inset
33294
33295
33296 \end_layout
33297
33298 \begin_layout Left Footer
33299 \begin_inset Argument 1
33300 status collapsed
33301
33302 \begin_layout Plain Layout
33303 \begin_inset ERT
33304 status collapsed
33305
33306 \begin_layout Plain Layout
33307
33308
33309 \backslash
33310 thepage
33311 \end_layout
33312
33313 \end_inset
33314
33315
33316 \end_layout
33317
33318 \end_inset
33319
33320
33321 \end_layout
33322
33323 \begin_layout Center Footer
33324 \begin_inset Argument 1
33325 status collapsed
33326
33327 \begin_layout Plain Layout
33328
33329 \family sans
33330 \series bold
33331 \color red
33332 \SpecialChar LyX
33333 's user guide
33334 \end_layout
33335
33336 \end_inset
33337
33338 Magic code:
33339 \begin_inset Newline newline
33340 \end_inset
33341
33342
33343 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
33344 \end_inset
33345
33346
33347 \end_layout
33348
33349 \begin_layout Right Footer
33350 \begin_inset Argument 1
33351 status collapsed
33352
33353 \begin_layout Plain Layout
33354
33355 \end_layout
33356
33357 \end_inset
33358
33359
33360 \begin_inset ERT
33361 status collapsed
33362
33363 \begin_layout Plain Layout
33364
33365
33366 \backslash
33367 Roman{page}
33368 \end_layout
33369
33370 \end_inset
33371
33372
33373 \end_layout
33374
33375 \begin_layout Section
33376 Customized Page Headers and Footers
33377 \begin_inset CommandInset label
33378 LatexCommand label
33379 name "sec:Customized-Page-Headers"
33380
33381 \end_inset
33382
33383
33384 \begin_inset Index idx
33385 status collapsed
33386
33387 \begin_layout Plain Layout
33388 Document ! Header/Footer line
33389 \end_layout
33390
33391 \end_inset
33392
33393
33394 \begin_inset Index idx
33395 status collapsed
33396
33397 \begin_layout Plain Layout
33398 Header/Footer line
33399 \end_layout
33400
33401 \end_inset
33402
33403
33404 \end_layout
33405
33406 \begin_layout Standard
33407 To define a custom page header and footer line for your document, you need
33408  to set the 
33409 \family sans
33410 Page
33411 \begin_inset space ~
33412 \end_inset
33413
33414 style
33415 \family default
33416  to 
33417 \family sans
33418 Fancy
33419 \family default
33420  in the 
33421 \family sans
33422 Document\SpecialChar menuseparator
33423 Settings
33424 \family default
33425  dialog under 
33426 \family sans
33427 Page
33428 \begin_inset space ~
33429 \end_inset
33430
33431 Layout
33432 \family default
33433 .
33434  As a second step add in the menu 
33435 \family sans
33436 Document\SpecialChar menuseparator
33437 Settings\SpecialChar menuseparator
33438 Modules
33439 \family default
33440  the module 
33441 \begin_inset Quotes eld
33442 \end_inset
33443
33444
33445 \emph on
33446 Custom Header/Footerlines
33447 \emph default
33448
33449 \begin_inset Quotes erd
33450 \end_inset
33451
33452 .
33453  This module offers the following 6
33454 \begin_inset space ~
33455 \end_inset
33456
33457 environments:
33458 \end_layout
33459
33460 \begin_layout Description
33461 Left
33462 \begin_inset space ~
33463 \end_inset
33464
33465 Header,
33466 \begin_inset space ~
33467 \end_inset
33468
33469 Center
33470 \begin_inset space ~
33471 \end_inset
33472
33473 Header,
33474 \begin_inset space ~
33475 \end_inset
33476
33477 Right
33478 \begin_inset space ~
33479 \end_inset
33480
33481 Header
33482 \end_layout
33483
33484 \begin_layout Description
33485 Left
33486 \begin_inset space ~
33487 \end_inset
33488
33489 Footer,
33490 \begin_inset space ~
33491 \end_inset
33492
33493 Center
33494 \begin_inset space ~
33495 \end_inset
33496
33497 Footer,
33498 \begin_inset space ~
33499 \end_inset
33500
33501 Right
33502 \begin_inset space ~
33503 \end_inset
33504
33505 Footer
33506 \end_layout
33507
33508 \begin_layout Standard
33509 for the different positions in the header/footer.
33510  These environments can be selected in the environment pull-down box.
33511 \end_layout
33512
33513 \begin_layout Standard
33514 Normally, headers and footers are set up at the beginning of the document.
33515  But you can change them anywhere you want to.
33516  Figure
33517 \begin_inset space ~
33518 \end_inset
33519
33520
33521 \begin_inset CommandInset ref
33522 LatexCommand ref
33523 reference "fig:Page-layout"
33524
33525 \end_inset
33526
33527  shows the page layout and where the header/footer styles will appear.
33528 \end_layout
33529
33530 \begin_layout Standard
33531 \begin_inset Float figure
33532 placement h
33533 wide false
33534 sideways false
33535 status open
33536
33537 \begin_layout Plain Layout
33538 \noindent
33539 \align center
33540 \begin_inset Tabular
33541 <lyxtabular version="3" rows="5" columns="3">
33542 <features tabularvalignment="middle">
33543 <column alignment="left" valignment="top" width="30line%">
33544 <column alignment="center" valignment="top" width="30line%">
33545 <column alignment="right" valignment="top" width="30line%">
33546 <row>
33547 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
33548 \begin_inset Text
33549
33550 \begin_layout Plain Layout
33551 Left Header
33552 \end_layout
33553
33554 \end_inset
33555 </cell>
33556 <cell alignment="center" valignment="top" topline="true" usebox="none">
33557 \begin_inset Text
33558
33559 \begin_layout Plain Layout
33560 Center Header
33561 \end_layout
33562
33563 \end_inset
33564 </cell>
33565 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
33566 \begin_inset Text
33567
33568 \begin_layout Plain Layout
33569 Right Header
33570 \end_layout
33571
33572 \end_inset
33573 </cell>
33574 </row>
33575 <row>
33576 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33577 \begin_inset Text
33578
33579 \begin_layout Plain Layout
33580
33581 \end_layout
33582
33583 \end_inset
33584 </cell>
33585 <cell alignment="center" valignment="top" usebox="none">
33586 \begin_inset Text
33587
33588 \begin_layout Plain Layout
33589
33590 \end_layout
33591
33592 \end_inset
33593 </cell>
33594 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33595 \begin_inset Text
33596
33597 \begin_layout Plain Layout
33598
33599 \end_layout
33600
33601 \end_inset
33602 </cell>
33603 </row>
33604 <row>
33605 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
33606 \begin_inset Text
33607
33608 \begin_layout Plain Layout
33609 The normal text on the page goes here.
33610  The running header is above the text, and the footer is below (including
33611  footnotes).
33612  Headers/footers typically contain things like the page number, title of
33613  the chapter, company logo but you can use almost anything, except of floats.
33614 \end_layout
33615
33616 \end_inset
33617 </cell>
33618 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
33619 \begin_inset Text
33620
33621 \begin_layout Plain Layout
33622
33623 \end_layout
33624
33625 \end_inset
33626 </cell>
33627 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
33628 \begin_inset Text
33629
33630 \begin_layout Plain Layout
33631
33632 \end_layout
33633
33634 \end_inset
33635 </cell>
33636 </row>
33637 <row>
33638 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33639 \begin_inset Text
33640
33641 \begin_layout Plain Layout
33642
33643 \end_layout
33644
33645 \end_inset
33646 </cell>
33647 <cell alignment="center" valignment="top" usebox="none">
33648 \begin_inset Text
33649
33650 \begin_layout Plain Layout
33651
33652 \end_layout
33653
33654 \end_inset
33655 </cell>
33656 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33657 \begin_inset Text
33658
33659 \begin_layout Plain Layout
33660
33661 \end_layout
33662
33663 \end_inset
33664 </cell>
33665 </row>
33666 <row>
33667 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
33668 \begin_inset Text
33669
33670 \begin_layout Plain Layout
33671 Left Footer
33672 \end_layout
33673
33674 \end_inset
33675 </cell>
33676 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
33677 \begin_inset Text
33678
33679 \begin_layout Plain Layout
33680 Center Footer
33681 \end_layout
33682
33683 \end_inset
33684 </cell>
33685 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
33686 \begin_inset Text
33687
33688 \begin_layout Plain Layout
33689 Right Footer
33690 \end_layout
33691
33692 \end_inset
33693 </cell>
33694 </row>
33695 </lyxtabular>
33696
33697 \end_inset
33698
33699
33700 \end_layout
33701
33702 \begin_layout Plain Layout
33703 \begin_inset Caption Standard
33704
33705 \begin_layout Plain Layout
33706 \begin_inset CommandInset label
33707 LatexCommand label
33708 name "fig:Page-layout"
33709
33710 \end_inset
33711
33712 Page layout with custom header and footer line.
33713 \end_layout
33714
33715 \end_inset
33716
33717
33718 \end_layout
33719
33720 \end_inset
33721
33722
33723 \end_layout
33724
33725 \begin_layout Standard
33726 \begin_inset Note Greyedout
33727 status open
33728
33729 \begin_layout Plain Layout
33730
33731 \series bold
33732 Note
33733 \series default
33734 : some document classes implement their own customized page headers and
33735  footers if 
33736 \family sans
33737 Page
33738 \begin_inset space ~
33739 \end_inset
33740
33741 style
33742 \family default
33743  is set to “Default”.
33744  Check what these are before you specify your own customized page headers
33745  and footers.
33746 \end_layout
33747
33748 \end_inset
33749
33750
33751 \end_layout
33752
33753 \begin_layout Subsection
33754 Definition
33755 \end_layout
33756
33757 \begin_layout Standard
33758 To define your header line, add all three header environments.
33759  The things you add to each environment appear on odd numbered pages, the
33760  things in the optional arguments on even numbered pages.
33761  For single-sided documents, the optional arguments will not be used and
33762  can be omitted.
33763  If you leave a header environment or its argument empty, nothing appears
33764  in the output.
33765  Defining the footer line works similarly.
33766 \end_layout
33767
33768 \begin_layout Standard
33769 For the definition, you will need some \SpecialChar LaTeX
33770 -commands that are inserted as \SpecialChar TeX
33771  code
33772  (menu 
33773 \family sans
33774 Insert\SpecialChar menuseparator
33775 TeX
33776 \begin_inset space ~
33777 \end_inset
33778
33779 Code
33780 \family default
33781 ):
33782 \end_layout
33783
33784 \begin_layout Description
33785
33786 \backslash
33787 thepage prints the current page number
33788 \end_layout
33789
33790 \begin_layout Description
33791
33792 \backslash
33793 Roman{page} prints the current page number with capital roman numerals
33794 \end_layout
33795
33796 \begin_layout Description
33797
33798 \backslash
33799 roman{page} prints the current page number with small roman numerals
33800 \end_layout
33801
33802 \begin_layout Description
33803
33804 \backslash
33805 leftmark prints the current section number and title.
33806  If the document has chapters, it prints the current chapter number and
33807  title instead.
33808  It is called 
33809 \begin_inset Quotes eld
33810 \end_inset
33811
33812 leftmark
33813 \begin_inset Quotes prd
33814 \end_inset
33815
33816  because it usually goes in a left header.
33817 \end_layout
33818
33819 \begin_layout Description
33820
33821 \backslash
33822 rightmark prints the current subsection number and title.
33823  If the document has chapters, it prints the current section number and
33824  title instead.
33825  It is normally used in the right header.
33826 \end_layout
33827
33828 \begin_layout Subsection
33829 Default header/footer
33830 \end_layout
33831
33832 \begin_layout Standard
33833 The custom header/footer is not empty by default.
33834  The default header contains the chapter and section title and the center
33835  footer has the page number.
33836  In order to remove unwanted entries from the header/footer, include the
33837  relevant header/footer style in your document, but leave it blank.
33838  So, if you do not want a page number in the footer, include a blank 
33839 \family sans
33840 Center
33841 \begin_inset space ~
33842 \end_inset
33843
33844 Footer
33845 \family default
33846  style.
33847 \end_layout
33848
33849 \begin_layout Subsection
33850 Appearance
33851 \end_layout
33852
33853 \begin_layout Standard
33854 The header and footer will appear on normal pages.
33855  Some pages are different.
33856  The title page has a header/footer environment of its own, and so does
33857  any page that starts a new part or chapter in your book.
33858  Such pages will not have the custom headers/footers, but that is normal.
33859  There is for example no need to print a header with the chapter name on
33860  the chapter page where the chapter heading is in big bold letters anyway.
33861 \end_layout
33862
33863 \begin_layout Subsubsection
33864 Header and footer decoration line
33865 \end_layout
33866
33867 \begin_layout Standard
33868 By default, you get a 0.4
33869 \begin_inset space \thinspace{}
33870 \end_inset
33871
33872 pt thick line below the header and no footer line.
33873  This can be changed in the document preamble with the commands 
33874 \series bold
33875
33876 \backslash
33877 headrulewidth
33878 \series default
33879  and 
33880 \series bold
33881
33882 \backslash
33883 footrulewidth
33884 \series default
33885  in the following way:
33886 \end_layout
33887
33888 \begin_layout Standard
33889
33890 \series bold
33891
33892 \backslash
33893 renewcommand{
33894 \backslash
33895 headrulewidth}{thickness}
33896 \end_layout
33897
33898 \begin_layout Standard
33899 where thickness is a size in standard units like 
33900 \family sans
33901 \emph on
33902 pt
33903 \family default
33904 \emph default
33905  or 
33906 \family sans
33907 \emph on
33908 mm
33909 \family default
33910 \emph default
33911 .
33912  If you don't want a line, set the thickness to 0
33913 \begin_inset space \thinspace{}
33914 \end_inset
33915
33916 pt.
33917 \end_layout
33918
33919 \begin_layout Standard
33920 The lines can also be colored, but this requires more knowledge of \SpecialChar LaTeX
33921 .
33922  If you really need this, have a look at the Internet or in section
33923 \begin_inset space ~
33924 \end_inset
33925
33926 4.4 of the book 
33927 \begin_inset CommandInset citation
33928 LatexCommand cite
33929 key "Mittelbach"
33930 literal "true"
33931
33932 \end_inset
33933
33934 .
33935 \end_layout
33936
33937 \begin_layout Subsubsection
33938 Several header/footer lines
33939 \end_layout
33940
33941 \begin_layout Standard
33942 In case you need more than one text line as a header/footer, you can do
33943  this by adding a ragged line break in the style definition.
33944  However, the default height of the header/footer is only the height of
33945  one text line.
33946  To expand the height, redefine the \SpecialChar LaTeX
33947  length 
33948 \series bold
33949
33950 \backslash
33951 headheight
33952 \series default
33953  or 
33954 \series bold
33955
33956 \backslash
33957 footheight
33958 \series default
33959  with this entry in 
33960 \family sans
33961 Document\SpecialChar menuseparator
33962 Settings\SpecialChar menuseparator
33963 LaTeX
33964 \begin_inset space ~
33965 \end_inset
33966
33967 Preamble
33968 \family default
33969 :
33970 \end_layout
33971
33972 \begin_layout Standard
33973
33974 \series bold
33975
33976 \backslash
33977 setlength{
33978 \backslash
33979 headheight}{height}
33980 \end_layout
33981
33982 \begin_layout Standard
33983 where 
33984 \series bold
33985 height
33986 \series default
33987  is a size in standard units (e.
33988 \begin_inset space \thinspace{}
33989 \end_inset
33990
33991 g.
33992 \begin_inset space \space{}
33993 \end_inset
33994
33995
33996 \series bold
33997 1cm
33998 \series default
33999 ).
34000  If you don't know how much space is needed for the height, define your
34001  header/footer and preview your document as a PDF.
34002  Then open the \SpecialChar LaTeX
34003  logfile with the menu 
34004 \family sans
34005 Document\SpecialChar menuseparator
34006 LaTeX
34007 \begin_inset space ~
34008 \end_inset
34009
34010 Log
34011 \family default
34012  and use the button 
34013 \family sans
34014 Next
34015 \begin_inset space ~
34016 \end_inset
34017
34018 Warning
34019 \family default
34020  to see if you can find a warning about the package 
34021 \series bold
34022 fancyhdr
34023 \series default
34024
34025 \begin_inset Index idx
34026 status collapsed
34027
34028 \begin_layout Plain Layout
34029 \SpecialChar LaTeX
34030  packages ! fancyhdr
34031 \end_layout
34032
34033 \end_inset
34034
34035 .
34036  If there is such a warning, it contains the space that you need at least
34037  for your header/footer.
34038 \end_layout
34039
34040 \begin_layout Subsection
34041 This example
34042 \end_layout
34043
34044 \begin_layout Standard
34045 This example demonstrates what can be done with custom header/footers.
34046  Don't use it for your document as it is just an example.
34047  This example consists of the following definition:
34048 \end_layout
34049
34050 \begin_layout Description
34051 Left
34052 \begin_inset space ~
34053 \end_inset
34054
34055 Header 
34056 \series bold
34057
34058 \backslash
34059 rightmark
34060 \series default
34061 , empty optional argument
34062 \end_layout
34063
34064 \begin_layout Description
34065 Center
34066 \begin_inset space ~
34067 \end_inset
34068
34069 Header empty, empty optional argument
34070 \end_layout
34071
34072 \begin_layout Description
34073 Right
34074 \begin_inset space ~
34075 \end_inset
34076
34077 Header empty, 
34078 \series bold
34079
34080 \backslash
34081 leftmark
34082 \series default
34083  in the optional argument
34084 \end_layout
34085
34086 \begin_layout Description
34087 Left
34088 \begin_inset space ~
34089 \end_inset
34090
34091 Footer empty, 
34092 \series bold
34093
34094 \backslash
34095 thepage
34096 \series default
34097  in the optional argument
34098 \end_layout
34099
34100 \begin_layout Description
34101 Center
34102 \begin_inset space ~
34103 \end_inset
34104
34105 Footer 
34106 \family sans
34107 \series bold
34108 \color red
34109 \SpecialChar LyX
34110 's user guide
34111 \family default
34112 \series default
34113 \color inherit
34114
34115 \begin_inset Quotes eld
34116 \end_inset
34117
34118 Magic code:
34119 \begin_inset Newline newline
34120 \end_inset
34121
34122
34123 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
34124 \end_inset
34125
34126
34127 \begin_inset Quotes erd
34128 \end_inset
34129
34130  in the optional argument
34131 \end_layout
34132
34133 \begin_layout Description
34134 Right
34135 \begin_inset space ~
34136 \end_inset
34137
34138 Footer 
34139 \series bold
34140
34141 \backslash
34142 Roman{page}
34143 \series default
34144 , empty optional argument
34145 \end_layout
34146
34147 \begin_layout Description
34148
34149 \backslash
34150 headrulewidth set to 2
34151 \begin_inset space \thinspace{}
34152 \end_inset
34153
34154 pt
34155 \end_layout
34156
34157 \begin_layout Standard
34158 In principle you can use almost everything in headers/footers, except floats.
34159  For more specialized features, for example, thumb-indexes, see the manual
34160  of the 
34161 \series bold
34162 fancyhdr
34163 \series default
34164  package, 
34165 \begin_inset CommandInset citation
34166 LatexCommand cite
34167 key "fancyhdr"
34168 literal "true"
34169
34170 \end_inset
34171
34172 .
34173 \end_layout
34174
34175 \begin_layout Standard
34176 \begin_inset Newpage clearpage
34177 \end_inset
34178
34179
34180 \end_layout
34181
34182 \begin_layout Standard
34183 \begin_inset ERT
34184 status open
34185
34186 \begin_layout Plain Layout
34187
34188
34189 \backslash
34190 pagestyle{headings}
34191 \end_layout
34192
34193 \end_inset
34194
34195
34196 \begin_inset Note Note
34197 status collapsed
34198
34199 \begin_layout Plain Layout
34200 switches back to page style with the default headings
34201 \end_layout
34202
34203 \end_inset
34204
34205
34206 \end_layout
34207
34208 \begin_layout Section
34209 Previewing Snippets of your Document
34210 \begin_inset CommandInset label
34211 LatexCommand label
34212 name "sec:Previewing-snippets-of"
34213
34214 \end_inset
34215
34216
34217 \begin_inset Index idx
34218 status collapsed
34219
34220 \begin_layout Plain Layout
34221 Instant preview
34222 \end_layout
34223
34224 \end_inset
34225
34226
34227 \begin_inset Index idx
34228 status collapsed
34229
34230 \begin_layout Plain Layout
34231 Document ! Preview
34232 \end_layout
34233
34234 \end_inset
34235
34236
34237 \end_layout
34238
34239 \begin_layout Standard
34240 \SpecialChar LyX
34241  allows you to generate previews of sections of your document on the fly
34242  so you can see how they will look in the final document without having
34243  to break your train of thought with viewing the output.
34244 \end_layout
34245
34246 \begin_layout Subsection
34247 Prerequisites
34248 \end_layout
34249
34250 \begin_layout Standard
34251 To get previews working, you need the \SpecialChar LaTeX
34252  package 
34253 \series bold
34254 preview-latex
34255 \series default
34256
34257 \begin_inset Index idx
34258 status collapsed
34259
34260 \begin_layout Plain Layout
34261 \SpecialChar LaTeX
34262  packages ! preview-latex
34263 \end_layout
34264
34265 \end_inset
34266
34267  (on some systems named simply 
34268 \series bold
34269 preview
34270 \series default
34271 ) installed.
34272  If it is not already installed, you will find it in the \SpecialChar TeX
34273 -catalogue, 
34274 \begin_inset CommandInset citation
34275 LatexCommand cite
34276 key "TeXCatalogue"
34277 literal "true"
34278
34279 \end_inset
34280
34281  or in the package manager of your \SpecialChar LaTeX
34282 -system.
34283  You obtain prettier results if you install the program 
34284 \family typewriter
34285 pnmcrop
34286 \family default
34287  from the 
34288 \family typewriter
34289 netpbm
34290 \family default
34291  package; for \SpecialChar LyX
34292  on Windows this program and also the \SpecialChar LaTeX
34293 -package are automatically
34294  installed together with \SpecialChar LyX
34295 .
34296 \end_layout
34297
34298 \begin_layout Subsection
34299 Enabling previews
34300 \end_layout
34301
34302 \begin_layout Standard
34303 If you would for example like to see in \SpecialChar LyX
34304  your math formulas typeset by \SpecialChar LaTeX
34305 ,
34306  activate the option 
34307 \family sans
34308 Display
34309 \begin_inset space ~
34310 \end_inset
34311
34312 Graphics
34313 \family default
34314  in the 
34315 \family sans
34316 Tools\SpecialChar menuseparator
34317 Preferences 
34318 \family default
34319 dialog under 
34320 \family sans
34321 Look
34322 \begin_inset space ~
34323 \end_inset
34324
34325 and
34326 \begin_inset space ~
34327 \end_inset
34328
34329 feel\SpecialChar menuseparator
34330 Display
34331 \family default
34332 .
34333  Then set 
34334 \family sans
34335 Instant
34336 \begin_inset space ~
34337 \end_inset
34338
34339 Preview
34340 \family default
34341  to 
34342 \family sans
34343 On
34344 \family default
34345 .
34346  The 
34347 \family sans
34348 Preview
34349 \begin_inset space ~
34350 \end_inset
34351
34352 Size
34353 \family default
34354  is the multiplication factor for the size.
34355 \end_layout
34356
34357 \begin_layout Standard
34358 If you would like to see everything but your math formulas typeset by \SpecialChar LaTeX
34359 ,
34360  set 
34361 \family sans
34362 Instant
34363 \begin_inset space ~
34364 \end_inset
34365
34366 Preview
34367 \family default
34368  to 
34369 \family sans
34370 No
34371 \begin_inset space ~
34372 \end_inset
34373
34374 math
34375 \family default
34376 .
34377 \end_layout
34378
34379 \begin_layout Standard
34380 Previews are generated when you load a document into \SpecialChar LyX
34381  and when you finish
34382  editing an inset.
34383 \end_layout
34384
34385 \begin_layout Standard
34386 \begin_inset Note Greyedout
34387 status open
34388
34389 \begin_layout Plain Layout
34390
34391 \series bold
34392 Note:
34393 \series default
34394  Previews of an already loaded document are not in every case immediately
34395  generated by activating the option 
34396 \family sans
34397 Display
34398 \begin_inset space ~
34399 \end_inset
34400
34401 Graphics
34402 \family default
34403 .
34404  Reopening the document will fix such problems.
34405 \end_layout
34406
34407 \end_inset
34408
34409
34410 \end_layout
34411
34412 \begin_layout Subsection
34413 Selected document parts
34414 \end_layout
34415
34416 \begin_layout Standard
34417 Besides math there are other cases where you might like to see a preview,
34418  for example things that \SpecialChar LyX
34419  cannot render like rotated parts or things that
34420  are not yet supported by \SpecialChar LyX
34421 .
34422  To do this, insert a preview inset via the menu 
34423 \family sans
34424 Insert\SpecialChar menuseparator
34425 Preview
34426 \family default
34427 .
34428  Insert or paste the stuff that you want to preview into this inset.
34429  The preview will be generated when the cursor is outside the preview inset.
34430  If you click on the preview, you can edit the previewed stuff.
34431 \end_layout
34432
34433 \begin_layout Standard
34434 An example: To create rotated boxes, you use the \SpecialChar LaTeX
34435  command 
34436 \series bold
34437
34438 \backslash
34439 rotatebox
34440 \series default
34441  which is not yet supported by \SpecialChar LyX
34442 .
34443 \begin_inset Foot
34444 status collapsed
34445
34446 \begin_layout Plain Layout
34447
34448 \series bold
34449
34450 \backslash
34451 rotatebox
34452 \series default
34453  is explained in section 
34454 \emph on
34455 Rotated and Scaled Boxes
34456 \emph default
34457  of the 
34458 \emph on
34459 Embedded
34460 \begin_inset space ~
34461 \end_inset
34462
34463 Objects
34464 \emph default
34465  manual.
34466 \end_layout
34467
34468 \end_inset
34469
34470  Instead of the \SpecialChar TeX
34471  Code boxes you want to see in \SpecialChar LyX
34472  the final rotated boxes,
34473  for example to adjust the rotation angle to fit with the surrounding text.
34474  Therefore you create a preview inset and copy the text with the rotated
34475  boxes into it.
34476  Here is the result:
34477 \end_layout
34478
34479 \begin_layout Standard
34480 \begin_inset Preview
34481
34482 \begin_layout Standard
34483 This is a line
34484 \begin_inset ERT
34485 status collapsed
34486
34487 \begin_layout Plain Layout
34488
34489
34490 \backslash
34491 rotatebox[origin=r]{-60}{
34492 \end_layout
34493
34494 \end_inset
34495
34496
34497 \begin_inset Box Doublebox
34498 position "c"
34499 hor_pos "c"
34500 has_inner_box 0
34501 inner_pos "c"
34502 use_parbox 0
34503 use_makebox 0
34504 width "1in"
34505 special "width"
34506 height "1in"
34507 height_special "totalheight"
34508 thickness "0.4pt"
34509 separation "3pt"
34510 shadowsize "4pt"
34511 framecolor "black"
34512 backgroundcolor "none"
34513 status collapsed
34514
34515 \begin_layout Plain Layout
34516 with rotated
34517 \end_layout
34518
34519 \end_inset
34520
34521
34522 \begin_inset ERT
34523 status collapsed
34524
34525 \begin_layout Plain Layout
34526
34527 }
34528 \end_layout
34529
34530 \end_inset
34531
34532  framed text 
34533 \begin_inset ERT
34534 status collapsed
34535
34536 \begin_layout Plain Layout
34537
34538
34539 \backslash
34540 rotatebox[origin=lb]{60}{
34541 \end_layout
34542
34543 \end_inset
34544
34545
34546 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34547 \end_inset
34548
34549
34550 \begin_inset ERT
34551 status collapsed
34552
34553 \begin_layout Plain Layout
34554
34555 }
34556 \end_layout
34557
34558 \end_inset
34559
34560  and a formula.
34561 \end_layout
34562
34563 \end_inset
34564
34565
34566 \end_layout
34567
34568 \begin_layout Standard
34569 Previewing works also for colors.
34570  In this example a special framed, colored box was created using the \SpecialChar LaTeX
34571  command
34572  
34573 \series bold
34574
34575 \backslash
34576 fcolorbox
34577 \series default
34578 :
34579 \begin_inset Foot
34580 status collapsed
34581
34582 \begin_layout Plain Layout
34583
34584 \series bold
34585
34586 \backslash
34587 fcolorbox
34588 \series default
34589  is explained in section 
34590 \emph on
34591 Colored Boxes
34592 \emph default
34593  of the 
34594 \emph on
34595 Embedded
34596 \begin_inset space ~
34597 \end_inset
34598
34599 Objects
34600 \emph default
34601  manual.
34602 \end_layout
34603
34604 \end_inset
34605
34606
34607 \end_layout
34608
34609 \begin_layout Standard
34610 \begin_inset Preview
34611
34612 \begin_layout Standard
34613 \begin_inset ERT
34614 status collapsed
34615
34616 \begin_layout Plain Layout
34617
34618
34619 \backslash
34620 fboxrule 1mm 
34621 \backslash
34622 fboxsep 1mm
34623 \end_layout
34624
34625 \end_inset
34626
34627
34628 \begin_inset ERT
34629 status collapsed
34630
34631 \begin_layout Plain Layout
34632
34633
34634 \backslash
34635 fcolorbox{cyan}{magenta}{
34636 \end_layout
34637
34638 \end_inset
34639
34640 This is text within a colored, framed box.
34641 \begin_inset ERT
34642 status collapsed
34643
34644 \begin_layout Plain Layout
34645
34646 }
34647 \end_layout
34648
34649 \end_inset
34650
34651
34652 \end_layout
34653
34654 \end_inset
34655
34656
34657 \end_layout
34658
34659 \begin_layout Standard
34660 \begin_inset VSpace medskip
34661 \end_inset
34662
34663
34664 \end_layout
34665
34666 \begin_layout Standard
34667 If \SpecialChar LyX
34668  does not show a preview, make sure that you enabled previews as described
34669  above and also make sure that \SpecialChar TeX
34670  Code in the preview inset is valid and that
34671  you loaded the \SpecialChar LaTeX
34672  packages in your document preamble that are required by
34673  the \SpecialChar TeX
34674  Code.
34675  If \SpecialChar LyX
34676  cannot create a preview, you will in most cases also not be able to
34677  view your document due to \SpecialChar LaTeX
34678  errors.
34679  So if you have to use some \SpecialChar TeX
34680  Code and don't know if it is correct, the preview
34681  inset is a nice method to check it without the need to view the whole document.
34682 \end_layout
34683
34684 \begin_layout Subsection
34685 \SpecialChar LaTeX
34686  source code
34687 \end_layout
34688
34689 \begin_layout Standard
34690 You can preview the \SpecialChar LaTeX
34691  source of the whole document or parts of it.
34692  Use the menu 
34693 \family sans
34694 View\SpecialChar menuseparator
34695 Source
34696 \begin_inset space ~
34697 \end_inset
34698
34699 Pane
34700 \family default
34701  and a window will be shown where you can see the \SpecialChar LaTeX
34702 -source code.
34703  The window shows the source of the whole paragraph in which the cursor
34704  currently sits.
34705  You can also select document parts in \SpecialChar LyX
34706 's main window, then only this selection
34707  (when it is more than one paragraph) is shown as source code.
34708  To view the whole document as source, enable the corresponding option in
34709  the source view window.
34710  If you check 
34711 \family sans
34712 Automatic update
34713 \family default
34714 , you can see the changes as you make them in \SpecialChar LyX
34715 ; but note that if you have
34716  several documents open, this will slow things down as \SpecialChar LyX
34717  updates them all,
34718  not just the one which is open at the time.
34719 \end_layout
34720
34721 \begin_layout Section
34722 Advanced Find and Replace
34723 \begin_inset CommandInset label
34724 LatexCommand label
34725 name "sec:Advanced-Find-and"
34726
34727 \end_inset
34728
34729
34730 \begin_inset Index idx
34731 status collapsed
34732
34733 \begin_layout Plain Layout
34734 Replace
34735 \end_layout
34736
34737 \end_inset
34738
34739
34740 \begin_inset Index idx
34741 status collapsed
34742
34743 \begin_layout Plain Layout
34744 Find
34745 \end_layout
34746
34747 \end_inset
34748
34749
34750 \end_layout
34751
34752 \begin_layout Subsection
34753 Introduction
34754 \end_layout
34755
34756 \begin_layout Standard
34757 The advanced find and replace feature of \SpecialChar LyX
34758  allows for searching of complex,
34759  format-sensitive text segments and mathematics contents within \SpecialChar LyX
34760  documents.
34761  It is an enhancement of the standard (quick) find and replace feature.
34762  The key-features are:
34763 \end_layout
34764
34765 \begin_layout Itemize
34766 Both searching of text and of mathematical formulas is allowed, where the
34767  latter is done by entering mathematics in the usual way; not only entire
34768  mathematical formulas are found, but also parts occurring within more complex
34769  formulas
34770 \end_layout
34771
34772 \begin_layout Itemize
34773 Search may be format-insensitive, so that the searched text is found in
34774  any context/style (standard text, section headings, notes, and even mathematics
34775 ), or it may be format-sensitive, so that, for example, a word entered with
34776  a section heading will only be found within section headings
34777 \end_layout
34778
34779 \begin_layout Itemize
34780 Search may be restricted to mathematics environments only; this is useful
34781  for remangling math notation where one does not want to match any text
34782  outside of mathematics environments
34783 \end_layout
34784
34785 \begin_layout Itemize
34786 Search may be widened to a specific 
34787 \emph on
34788 scope
34789 \emph default
34790 , i.
34791 \begin_inset space \thinspace{}
34792 \end_inset
34793
34794 e.
34795 \begin_inset space ~
34796 \end_inset
34797
34798 a set of files which may be all the children of the document being edited,
34799  all the open files, or all the manuals available from the 
34800 \family sans
34801 Help
34802 \family default
34803  menu
34804 \end_layout
34805
34806 \begin_layout Itemize
34807 Replace may optionally preserve capitalization, so that the replaced text
34808  capitalization is adapted to the matching text (i.
34809 \begin_inset space \thinspace{}
34810 \end_inset
34811
34812 e.
34813 \begin_inset space ~
34814 \end_inset
34815
34816 all lowercase, all uppercase, first letter uppercase followed by lowercase)
34817 \end_layout
34818
34819 \begin_layout Subsection
34820 Basic usage
34821 \end_layout
34822
34823 \begin_layout Standard
34824 The advanced find and replace feature is activated through the menu 
34825 \family sans
34826 Edit\SpecialChar menuseparator
34827 Find & Replace
34828 \noun on
34829  (
34830 \noun default
34831 Advanced
34832 \noun on
34833 )
34834 \family default
34835 \noun default
34836  (shortcut 
34837 \begin_inset Info
34838 type  "shortcut"
34839 arg   "dialog-show findreplaceadv"
34840 \end_inset
34841
34842 ) or the toolbar button 
34843 \begin_inset Info
34844 type  "icon"
34845 arg   "dialog-toggle findreplaceadv"
34846 \end_inset
34847
34848 .
34849  This opens the 
34850 \family sans
34851 Advanced Find and Replace
34852 \family default
34853  dialog.
34854 \end_layout
34855
34856 \begin_layout Subsubsection
34857 Searching for text
34858 \end_layout
34859
34860 \begin_layout Standard
34861 Enter into the 
34862 \family sans
34863 Find
34864 \family default
34865  \SpecialChar LyX
34866  mini-editor a simple word, and search for occurrences of it by clicking
34867  on the 
34868 \family sans
34869 Find
34870 \begin_inset space ~
34871 \end_inset
34872
34873 Next
34874 \family default
34875  button at the bottom of the dialog (or just press the 
34876 \begin_inset Info
34877 type  "shortcut"
34878 arg   "paragraph-break"
34879 \end_inset
34880
34881  key).
34882  The entered word is found both in text mode and in math mode, and in emphasized
34883 , bold or normal face, and in both in section titles and in standard text.
34884  Pressing 
34885 \begin_inset Info
34886 type  "shortcut"
34887 arg   "paragraph-break"
34888 \end_inset
34889
34890  repeatedly keeps searching forward while pressing 
34891 \family sans
34892 Shift+Return
34893 \family default
34894  searches backwards.
34895 \end_layout
34896
34897 \begin_layout Standard
34898 The 
34899 \family sans
34900 Case
34901 \begin_inset space ~
34902 \end_inset
34903
34904 sensitive
34905 \family default
34906  option allows matches to occur only with the same case as entered in the
34907  
34908 \family sans
34909 Find
34910 \family default
34911  editor.
34912  The 
34913 \family sans
34914 Whole
34915 \begin_inset space ~
34916 \end_inset
34917
34918 words
34919 \family default
34920  option allows matches to occur only at word boundaries.
34921 \end_layout
34922
34923 \begin_layout Subsubsection
34924 Searching for mathematics
34925 \end_layout
34926
34927 \begin_layout Standard
34928 Mathematical formulas, such as 
34929 \begin_inset Formula $x^{2}$
34930 \end_inset
34931
34932  or something more complex like 
34933 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
34934 \end_inset
34935
34936 , may be searched for by typing them in the 
34937 \family sans
34938 Find
34939 \family default
34940  editor.
34941  When searching for a formula, it is found both when it is alone and when
34942  it occurs in sub-formulas and nested parts of sub-formulas.
34943  For example the mentioned segments would be found in something like 
34944 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
34945 \end_inset
34946
34947 .
34948 \end_layout
34949
34950 \begin_layout Subsubsection
34951 Style-aware search
34952 \end_layout
34953
34954 \begin_layout Standard
34955 It is also possible to search for text with specific styles.
34956  This is done by switching to the 
34957 \family sans
34958 Settings
34959 \family default
34960  tab of the dialog and unchecking the 
34961 \family sans
34962 Ignore format
34963 \family default
34964  option.
34965  This way, entering in the 
34966 \family sans
34967 Find
34968 \family default
34969  editor
34970 \end_layout
34971
34972 \begin_layout Itemize
34973 a normal word and searching for it would not find instances of the word
34974  occurring in emphasized or boldface.
34975 \end_layout
34976
34977 \begin_layout Itemize
34978 an emphasized or boldface word and searching for it would find the respective
34979  instances with the same face only, and within the same text style only.
34980 \end_layout
34981
34982 \begin_layout Itemize
34983 a normal word in a section heading, and searching for it, would find occurrences
34984  of it only within section headings.
34985  Also, if the text to search is given an emphasized or bold face, in addition
34986  to a section style, then it is found only when occurring with the same
34987  style.
34988 \end_layout
34989
34990 \begin_layout Itemize
34991 a displayed formula will only find instances of this formula that are also
34992  displayed formulas (and not inline formulas).
34993 \end_layout
34994
34995 \begin_layout Subsubsection
34996 Replace
34997 \end_layout
34998
34999 \begin_layout Standard
35000 The entries made in the 
35001 \family sans
35002 Find
35003 \family default
35004  editor can be replaced with entries made in the 
35005 \family sans
35006 Replace
35007 \begin_inset space ~
35008 \end_inset
35009
35010 with
35011 \family default
35012  editor.
35013  In order to find the next occurrence and replace it, click on the 
35014 \family sans
35015 Replace
35016 \family default
35017  button or alternatively press 
35018 \begin_inset Info
35019 type  "shortcut"
35020 arg   "paragraph-break"
35021 \end_inset
35022
35023  or 
35024 \family sans
35025 Shift+Return
35026 \family default
35027  while the cursor is in the 
35028 \family sans
35029 Replace
35030 \begin_inset space ~
35031 \end_inset
35032
35033 with
35034 \family default
35035  editor.
35036 \end_layout
35037
35038 \begin_layout Standard
35039 You can replace with fully-featured formatted \SpecialChar LyX
35040  entries.
35041  Typical scenarios in which to use this capability might be (just to mention
35042  two):
35043 \end_layout
35044
35045 \begin_layout Itemize
35046 replacing occurrences of a word with a customized formatted version of the
35047  same word, for example replacing occurrences of a name like 
35048 \begin_inset Quotes eld
35049 \end_inset
35050
35051 func()
35052 \begin_inset Quotes erd
35053 \end_inset
35054
35055  with its typewriter version 
35056 \begin_inset Quotes eld
35057 \end_inset
35058
35059
35060 \family typewriter
35061 func()
35062 \family default
35063
35064 \begin_inset Quotes erd
35065 \end_inset
35066
35067
35068 \end_layout
35069
35070 \begin_layout Itemize
35071 performing a notation rework of mathematical symbols, for example replacing
35072  occurrences of 
35073 \begin_inset Quotes eld
35074 \end_inset
35075
35076
35077 \begin_inset Formula $R$
35078 \end_inset
35079
35080
35081 \begin_inset Quotes erd
35082 \end_inset
35083
35084  with 
35085 \begin_inset Quotes eld
35086 \end_inset
35087
35088
35089 \begin_inset Formula $\mathbb{R}$
35090 \end_inset
35091
35092
35093 \begin_inset Quotes erd
35094 \end_inset
35095
35096  (you may want to enable the 
35097 \family sans
35098 Whole
35099 \begin_inset space ~
35100 \end_inset
35101
35102 words
35103 \family default
35104  and 
35105 \family sans
35106 Case
35107 \begin_inset space ~
35108 \end_inset
35109
35110 sensitive
35111 \family default
35112  options and disable the 
35113 \family sans
35114 Ignore format
35115 \family default
35116  option in the 
35117 \family sans
35118 Settings
35119 \family default
35120  tab, in order to avoid replacing all 
35121 \begin_inset Quotes eld
35122 \end_inset
35123
35124 R
35125 \begin_inset Quotes erd
35126 \end_inset
35127
35128  letters occurring in normal text), or occurrences of 
35129 \begin_inset Formula $x_{j}^{i}$
35130 \end_inset
35131
35132  with 
35133 \begin_inset Formula $x_{i,\,j}$
35134 \end_inset
35135
35136 , or occurrences of 
35137 \begin_inset Formula $x[k]$
35138 \end_inset
35139
35140  with 
35141 \begin_inset Formula $x_{k}$
35142 \end_inset
35143
35144 .
35145 \end_layout
35146
35147 \begin_layout Subsection
35148 Advanced usage
35149 \end_layout
35150
35151 \begin_layout Standard
35152 There is a regular expression (regexp) based searching facility.
35153 \begin_inset Foot
35154 status collapsed
35155
35156 \begin_layout Plain Layout
35157 A good explanation of regular expressions is given in this Wikipedia entry:
35158  
35159 \begin_inset CommandInset href
35160 LatexCommand href
35161 target "https://en.wikipedia.org/wiki/Regular_expression"
35162 literal "false"
35163
35164 \end_inset
35165
35166 .
35167 \end_layout
35168
35169 \end_inset
35170
35171  You can search for a regular expression by inserting a regexp inset into
35172  the 
35173 \family sans
35174 Find
35175 \family default
35176  editor.
35177  This is done with the context menu 
35178 \family sans
35179 Insert\SpecialChar menuseparator
35180 Insert Regular Expression
35181 \family default
35182  while the cursor is in the 
35183 \family sans
35184 Find
35185 \family default
35186  editor.
35187  Characters entered within regexp insets are matched according to the regular
35188  expression matching rules
35189 \begin_inset Foot
35190 status collapsed
35191
35192 \begin_layout Plain Layout
35193 Under the constraint that any (sub)expression must match a well-formed \SpecialChar LyX
35194
35195  segment, i.
35196 \begin_inset space \thinspace{}
35197 \end_inset
35198
35199 e.
35200 \begin_inset space ~
35201 \end_inset
35202
35203 when matching \SpecialChar LaTeX
35204  code, no segments with unbalanced {} braces are allowed to
35205  match expressions.
35206 \end_layout
35207
35208 \end_inset
35209
35210 , while text entered outside regexp insets is matched exactly against the
35211  same text in the document.
35212  You can cut and paste regexp-mode insets.
35213  Examples of using such a feature may be:
35214 \end_layout
35215
35216 \begin_layout Enumerate
35217 Searching for all fractions with a given denominator: for example, entering
35218  in the 
35219 \family sans
35220 Find
35221 \family default
35222  editor the fraction 
35223 \begin_inset Formula $\frac{.*}{1+x^{2}}$
35224 \end_inset
35225
35226  (where the 
35227 \begin_inset Formula $.*$
35228 \end_inset
35229
35230  on the numerator is the match-everything regular expression) finds all
35231  fractions with the given denominator.
35232 \end_layout
35233
35234 \begin_layout Enumerate
35235 Searching for all text with a given style: for example, after unchecking
35236  the 
35237 \family sans
35238 Ignore format
35239 \family default
35240  option from the 
35241 \family sans
35242 Settings
35243 \family default
35244  tab, entering a 
35245 \series bold
35246
35247 \begin_inset Formula $.*$
35248 \end_inset
35249
35250
35251 \series default
35252  regular expression and giving it an emphasized or bold face, finds all
35253  emphasized or bold face text respectively.
35254  Also, by inserting a 
35255 \begin_inset Formula $.*$
35256 \end_inset
35257
35258  regular expression in a bullet or enumerated list or a section heading,
35259  you can find all bullet or enumerated lists or section headings.
35260 \end_layout
35261
35262 \begin_layout Standard
35263 Finally, references to (sub)expressions in regexp may be used as usual:
35264  Enclosing parts of the expression within round braces 
35265 \begin_inset Formula $()$
35266 \end_inset
35267
35268 , and referring back to them through 
35269 \begin_inset Formula $\backslash1$
35270 \end_inset
35271
35272
35273 \begin_inset Formula $\backslash2$
35274 \end_inset
35275
35276 , etc..
35277  For example, try searching with the regexp
35278 \begin_inset Newline newline
35279 \end_inset
35280
35281 [[:space:]]([[:alpha:]]+)[[:space:]]
35282 \backslash
35283 1[[:space:]]
35284 \begin_inset Newline newline
35285 \end_inset
35286
35287 in order to find word repetitions, if there are any.
35288 \end_layout
35289
35290 \begin_layout Standard
35291 The usage of back references in the replaced text is not (yet) implemented.
35292 \end_layout
35293
35294 \begin_layout Standard
35295 \begin_inset Note Greyedout
35296 status open
35297
35298 \begin_layout Plain Layout
35299
35300 \series bold
35301 Note:
35302 \series default
35303  Back references work both when occurring within the same regexp, and when
35304  occurring in multiple different regexps, where the numbering of back-referenced
35305  sub-expressions is absolute.
35306  That is,
35307 \begin_inset space ~
35308 \end_inset
35309
35310
35311 \begin_inset Formula $\backslash1$
35312 \end_inset
35313
35314  always refers to the first occurrence of 
35315 \begin_inset Formula $()$
35316 \end_inset
35317
35318  in all entered regexps.
35319 \end_layout
35320
35321 \end_inset
35322
35323
35324 \end_layout
35325
35326 \begin_layout Section
35327 Spell Checking
35328 \begin_inset CommandInset label
35329 LatexCommand label
35330 name "sec:Spellchecking"
35331
35332 \end_inset
35333
35334
35335 \begin_inset Index idx
35336 status collapsed
35337
35338 \begin_layout Plain Layout
35339 Spell checking
35340 \end_layout
35341
35342 \end_inset
35343
35344
35345 \end_layout
35346
35347 \begin_layout Standard
35348 \SpecialChar LyX
35349  has a built-in spell checker.
35350  The menu
35351 \family sans
35352  Tools\SpecialChar menuseparator
35353 Spellchecker
35354 \family default
35355 , the 
35356 \family sans
35357 F7
35358 \family default
35359  key or the toolbar button 
35360 \begin_inset Info
35361 type  "icon"
35362 arg   "dialog-show spellchecker"
35363 \end_inset
35364
35365  start the spell checking from either the current cursor position or the
35366  beginning of the currently selected text.
35367  A sidebar will appear showing any incorrect (or unknown) word found, allowing
35368  you to edit and replace it in a second line.
35369  Whenever an unknown word is found, the word is highlighted and the text
35370  scrolled so that it is visible.
35371  In the spellchecker sidebar, there is a box showing suggestions for a correctio
35372 n, if any could be found.
35373  Clicking on one of the corrections will copy it to the 
35374 \family sans
35375 Replacement
35376 \family default
35377  field, double-clicking directly invokes the replacement.
35378  Unknown but correctly typed words can be added to the personal dictionary.
35379 \end_layout
35380
35381 \begin_layout Standard
35382 By default, the dictionary file used is determined by the document language
35383  that is set in the 
35384 \family sans
35385 Document\SpecialChar menuseparator
35386 Settings
35387 \family default
35388  dialog.
35389  You can specify the language of a word in the spellchecker dialog by choosing
35390  a different one at the top of the dialog.
35391  \SpecialChar LyX
35392  can correctly spell check documents containing multiple languages.
35393  This works if you have set the language of the text parts using the 
35394 \family sans
35395 Text
35396 \begin_inset space ~
35397 \end_inset
35398
35399 Style
35400 \family default
35401  dialog (
35402 \begin_inset Info
35403 type  "icon"
35404 arg   "dialog-show character"
35405 \end_inset
35406
35407 ) and have the spell checker dictionaries installed.
35408  \SpecialChar LyX
35409  automatically switches to the appropriate dictionary file.
35410 \end_layout
35411
35412 \begin_layout Standard
35413 All spell-checker dictionaries supported by \SpecialChar LyX
35414  can be downloaded from here:
35415 \begin_inset Newline newline
35416 \end_inset
35417
35418
35419 \begin_inset Flex URL
35420 status collapsed
35421
35422 \begin_layout Plain Layout
35423
35424 https://sourceforge.net/projects/lyxwininstaller/files/hunspell/
35425 \end_layout
35426
35427 \end_inset
35428
35429
35430 \begin_inset Newline newline
35431 \end_inset
35432
35433 There are 2
35434 \begin_inset space ~
35435 \end_inset
35436
35437 files for each language.
35438  To install a dictionary on Windows, copy the 2
35439 \begin_inset space ~
35440 \end_inset
35441
35442 files into \SpecialChar LyX
35443 's installation subfolder 
35444 \family sans
35445 ~
35446 \backslash
35447 Resources
35448 \backslash
35449 dicts
35450 \family default
35451  and restart \SpecialChar LyX
35452 .
35453 \begin_inset Newline newline
35454 \end_inset
35455
35456 With Linux one needs to install the packages for the desired language.
35457  The number of these packages vary depending on the Linux distribution,
35458  but in most cases these are 
35459 \family typewriter
35460 aspell-xx
35461 \family default
35462
35463 \family typewriter
35464 hunspell-xx
35465 \family default
35466 ,
35467 \family typewriter
35468  myspell-xx
35469 \family default
35470 , etc., where 
35471 \family sans
35472 xx
35473 \family default
35474  is the language code.
35475 \end_layout
35476
35477 \begin_layout Subsection
35478 Further Settings
35479 \end_layout
35480
35481 \begin_layout Standard
35482 In the menu 
35483 \family sans
35484 Tools\SpecialChar menuseparator
35485 Preferences\SpecialChar menuseparator
35486 Language
35487 \begin_inset space ~
35488 \end_inset
35489
35490 Settings\SpecialChar menuseparator
35491 Spellchecker
35492 \family default
35493  you can set the following things:
35494 \end_layout
35495
35496 \begin_layout Description
35497 Spellchecker
35498 \begin_inset space ~
35499 \end_inset
35500
35501 engine Select the library \SpecialChar LyX
35502  should use for spell checking.
35503  Depending on your platform, 
35504 \family typewriter
35505 hunspell
35506 \family default
35507  or 
35508 \family typewriter
35509 enchant
35510 \begin_inset Foot
35511 status collapsed
35512
35513 \begin_layout Plain Layout
35514 Enchant itself is a wrapper library having different configurable back-ends.
35515  Please consult the documentation or man-page of it to learn more.
35516 \end_layout
35517
35518 \end_inset
35519
35520
35521 \family default
35522  are available.
35523  On Windows only 
35524 \family typewriter
35525 hunspell
35526 \family default
35527  is available.
35528  \SpecialChar LyX
35529  on Mac
35530 \begin_inset space ~
35531 \end_inset
35532
35533 OS can also use Mac's own spellchecker and will use it by default.
35534 \end_layout
35535
35536 \begin_layout Description
35537 Alternative
35538 \begin_inset space ~
35539 \end_inset
35540
35541 language If this field is not empty, \SpecialChar LyX
35542  will always use the given language
35543  for the spell checking, no matter what the document language is.
35544 \end_layout
35545
35546 \begin_layout Description
35547 Escape
35548 \begin_inset space ~
35549 \end_inset
35550
35551 characters Allows you to add non-standard characters that the spell checker
35552  should escape, e.
35553 \begin_inset space \thinspace{}
35554 \end_inset
35555
35556 g.
35557 \begin_inset space \space{}
35558 \end_inset
35559
35560 German umlauts.
35561  This should normally not be needed.
35562 \end_layout
35563
35564 \begin_layout Description
35565 Accept
35566 \begin_inset space ~
35567 \end_inset
35568
35569 compound
35570 \begin_inset space ~
35571 \end_inset
35572
35573 words Prevents the spell checker from complaining about compounded words
35574  like 
35575 \begin_inset Quotes eld
35576 \end_inset
35577
35578 passthrough
35579 \begin_inset Quotes erd
35580 \end_inset
35581
35582 .
35583 \end_layout
35584
35585 \begin_layout Description
35586 Spellcheck
35587 \begin_inset space ~
35588 \end_inset
35589
35590 continuously Checks the spelling of your document as you type it.
35591  Misspelled words get underlined with a dotted red line.
35592  By right-clicking on an underlined word, suggestions from the spellchecker
35593  appear in a context menu.
35594  Choosing one of them will replace the misspelled word with the suggested
35595  word.
35596 \end_layout
35597
35598 \begin_layout Description
35599 Spellcheck
35600 \begin_inset space ~
35601 \end_inset
35602
35603 notes
35604 \begin_inset space ~
35605 \end_inset
35606
35607 and
35608 \begin_inset space ~
35609 \end_inset
35610
35611 comments If enabled, the spelling of non-printed document content is checked
35612  as well.
35613 \end_layout
35614
35615 \begin_layout Section
35616 Thesaurus
35617 \begin_inset Index idx
35618 status collapsed
35619
35620 \begin_layout Plain Layout
35621 Thesaurus
35622 \end_layout
35623
35624 \end_inset
35625
35626
35627 \begin_inset CommandInset label
35628 LatexCommand label
35629 name "sec:Thesaurus"
35630
35631 \end_inset
35632
35633
35634 \end_layout
35635
35636 \begin_layout Standard
35637 \SpecialChar LyX
35638  provides a multilingual thesaurus.
35639  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
35640  (namely the 
35641 \family sans
35642 MyThes
35643 \family default
35644
35645 \begin_inset Foot
35646 status collapsed
35647
35648 \begin_layout Plain Layout
35649 \begin_inset CommandInset href
35650 LatexCommand href
35651 target "https://lingucomponent.openoffice.org/thesaurus.html"
35652 literal "false"
35653
35654 \end_inset
35655
35656
35657 \end_layout
35658
35659 \end_inset
35660
35661  thesaurus library, which is included in \SpecialChar LyX
35662 ).
35663  Therefore, \SpecialChar LyX
35664  is able to directly access OpenOffice thesaurus dictionaries,
35665  which are available for many languages.
35666 \end_layout
35667
35668 \begin_layout Standard
35669 This section describes how new dictionaries are installed and set up for
35670  the use with \SpecialChar LyX
35671 .
35672 \end_layout
35673
35674 \begin_layout Subsection
35675 Setting up the thesaurus
35676 \end_layout
35677
35678 \begin_layout Standard
35679 The 
35680 \family sans
35681 MyThes
35682 \emph on
35683 /
35684 \emph default
35685 OpenOffice
35686 \family default
35687  thesauri consist of two files per language: A file with the suffix 
35688 \emph on
35689 *.dat
35690 \emph default
35691  containing the data and an index file with the suffix 
35692 \emph on
35693 *.idx
35694 \emph default
35695 .
35696  The standardized file names include the language code for the given language
35697  (e.
35698 \begin_inset space \thinspace{}
35699 \end_inset
35700
35701 g.
35702 \begin_inset space ~
35703 \end_inset
35704
35705
35706 \family sans
35707 en_US
35708 \family default
35709  for US English).
35710  For instance, the US English files are named:
35711 \end_layout
35712
35713 \begin_layout Itemize
35714 th_en_EN_v2.idx
35715 \end_layout
35716
35717 \begin_layout Itemize
35718 th_en_EN_v2.dat
35719 \end_layout
35720
35721 \begin_layout Standard
35722 If you have 
35723 \family sans
35724 LibreOffice
35725 \family default
35726  or 
35727 \family sans
35728 OpenOffice
35729 \family default
35730  and its thesaurus installed, these files should be already on your system
35731  and you just need to point \SpecialChar LyX
35732  (in 
35733 \family sans
35734 Tools\SpecialChar menuseparator
35735 Preferences\SpecialChar menuseparator
35736 Paths\SpecialChar menuseparator
35737 Thesaurus
35738 \begin_inset space ~
35739 \end_inset
35740
35741 dictionaries
35742 \family default
35743 ) to the path where they are installed.
35744 \begin_inset Foot
35745 status collapsed
35746
35747 \begin_layout Plain Layout
35748 On Linux, depending on your distribution and the way you installed the dictionar
35749 ies, typical locations are 
35750 \family typewriter
35751 /usr/share/mythes/
35752 \family default
35753
35754 \family typewriter
35755 /usr/share/myspell/dicts/
35756 \family default
35757
35758 \family typewriter
35759 /usr/share/ooo/thesaurus/
35760 \family default
35761 ,
35762 \family typewriter
35763  ~/.config/libreoffice/<version>/user/
35764 \family default
35765  or alike.
35766  On Windows, dictionaries are to be found at 
35767 \family typewriter
35768 ~
35769 \backslash
35770 Program Files
35771 \backslash
35772 LibreOffice-<Version>
35773 \backslash
35774 share
35775 \backslash
35776 extensions 
35777 \family default
35778 or similar.
35779  On the Mac, the default location is 
35780 \family typewriter
35781 /Users\SpecialChar breakableslash
35782 <user name>\SpecialChar breakableslash
35783 Library\SpecialChar breakableslash
35784 Application Support\SpecialChar breakableslash
35785 libreoffice\SpecialChar breakableslash
35786 <version>\SpecialChar breakableslash
35787 user
35788 \family default
35789 /.
35790 \end_layout
35791
35792 \end_inset
35793
35794  On Windows, you can alternatively also select dictionaries for installation
35795  during the \SpecialChar LyX
35796  installation process, which will then be installed in the correct
35797  place right away.
35798 \end_layout
35799
35800 \begin_layout Standard
35801 If you want to install new\SpecialChar breakableslash
35802 further thesaurus dictionaries, you can downloaded
35803  them from here:
35804 \begin_inset Newline newline
35805 \end_inset
35806
35807
35808 \begin_inset Flex URL
35809 status collapsed
35810
35811 \begin_layout Plain Layout
35812
35813 https://sourceforge.net/projects/lyxwininstaller/files/thesaurus/
35814 \end_layout
35815
35816 \end_inset
35817
35818
35819 \end_layout
35820
35821 \begin_layout Standard
35822 To install a new dictionary, download the two files for this dictionary
35823  into the thesaurus path (which is set in 
35824 \family sans
35825 Tools\SpecialChar menuseparator
35826 Preferences\SpecialChar menuseparator
35827 Paths\SpecialChar menuseparator
35828 Thesaurus
35829 \begin_inset space ~
35830 \end_inset
35831
35832 dictionaries
35833 \family default
35834 ) and restart \SpecialChar LyX
35835 .
35836  If this path is not defined yet, you can use a dictionary of your choice
35837  and point \SpecialChar LyX
35838  there.
35839 \end_layout
35840
35841 \begin_layout Standard
35842 Alternatively, you can also install new dictionaries via 
35843 \family sans
35844 LibreOffice\SpecialChar breakableslash
35845 OpenOffice
35846 \family default
35847  or, on Linux, via your package manager (look for 
35848 \emph on
35849 mythes-*
35850 \emph default
35851  or 
35852 \emph on
35853 libreoffice-thesaurus-*
35854 \emph default
35855  packages).
35856  If you do this, make sure that \SpecialChar LyX
35857  is able to find the installed dictionaries,
35858  i.
35859 \begin_inset space \thinspace{}
35860 \end_inset
35861
35862 e.
35863  that 
35864 \family sans
35865 Tools\SpecialChar menuseparator
35866 Preferences\SpecialChar menuseparator
35867 Paths\SpecialChar menuseparator
35868 Thesaurus
35869 \begin_inset space ~
35870 \end_inset
35871
35872 dictionaries
35873 \family default
35874  points to the path where you installed these dictionaries.
35875 \end_layout
35876
35877 \begin_layout Subsection
35878 Using the thesaurus
35879 \end_layout
35880
35881 \begin_layout Standard
35882 To start the thesaurus, use the menu 
35883 \family sans
35884 Tools\SpecialChar menuseparator
35885 Thesaurus
35886 \family default
35887  or the toolbar button 
35888 \begin_inset Info
35889 type  "icon"
35890 arg   "thesaurus-entry"
35891 \end_inset
35892
35893  while the cursor is at the word you want to look up or while a word is
35894  selected.
35895  A dialog pops up showing you probably related words that you can use as
35896  a replacement.
35897  The suggestions are grouped into categories.
35898  Note that, for some languages (such as English), the thesaurus does not
35899  only show equivalent words (synonyms), but also generic terms (such as
35900  
35901 \emph on
35902 organism
35903 \emph default
35904  for 
35905 \emph on
35906 plant
35907 \emph default
35908 ), related terms (such as 
35909 \emph on
35910 political
35911 \begin_inset space ~
35912 \end_inset
35913
35914 theory
35915 \emph default
35916  for 
35917 \emph on
35918 anarchistic
35919 \emph default
35920 ), compounds (such as 
35921 \emph on
35922 tree
35923 \begin_inset space ~
35924 \end_inset
35925
35926 diagram
35927 \emph default
35928 , if you look for 
35929 \emph on
35930 tree
35931 \emph default
35932 ) and opposites (antonyms) (such as 
35933 \emph on
35934 girl
35935 \emph default
35936  for 
35937 \emph on
35938 boy
35939 \emph default
35940 ).
35941  Generic terms, related terms and antonyms are marked as such.
35942 \end_layout
35943
35944 \begin_layout Standard
35945 The language is automatically chosen from the language at the cursor, but
35946  you can also switch it in the dialog, as you can enter new words to look
35947  up directly there.
35948 \end_layout
35949
35950 \begin_layout Standard
35951 Note that the thesaurus cannot handle phrases (only compounds that are in
35952  the dictionary, such as the above 
35953 \emph on
35954 tree diagram
35955 \emph default
35956 ), and you have to use the so called lemma form, i.
35957 \begin_inset space \thinspace{}
35958 \end_inset
35959
35960 e.
35961 \begin_inset space \space{}
35962 \end_inset
35963
35964 the form that is used in the dictionaries (for many languages: first person
35965  singular indicative active for nouns, infinitive for verbs).
35966  For example, looking up the word form 
35967 \emph on
35968 reporting
35969 \emph default
35970  yields no results, while results are shown for the word form 
35971 \emph on
35972 report
35973 \emph default
35974 .
35975  Your best bet is to highlight only the relevant part of such a word (e.
35976 \begin_inset space \thinspace{}
35977 \end_inset
35978
35979 g.
35980 \begin_inset space \space{}
35981 \end_inset
35982
35983
35984 \emph on
35985 report
35986 \emph default
35987  in 
35988 \emph on
35989 report
35990 \emph default
35991 s); then you will get suggestions without needing to adjust the query in
35992  the dialog, and also the replacement will probably be correct (as only
35993  the highlighted part will be replaced; thus the ending remains).
35994 \end_layout
35995
35996 \begin_layout Section
35997 Change Tracking
35998 \begin_inset Index idx
35999 status collapsed
36000
36001 \begin_layout Plain Layout
36002 Change Tracking
36003 \end_layout
36004
36005 \end_inset
36006
36007
36008 \begin_inset Index idx
36009 status collapsed
36010
36011 \begin_layout Plain Layout
36012 Document ! Change Tracking
36013 \end_layout
36014
36015 \end_inset
36016
36017
36018 \begin_inset CommandInset label
36019 LatexCommand label
36020 name "sec:Change-Tracking"
36021
36022 \end_inset
36023
36024
36025 \end_layout
36026
36027 \begin_layout Standard
36028 When you work on a document collaboratively it is extremely useful to be
36029  able to see changes that others have made highlighted in the document.
36030  You can then decide if you want to accept a change or not.
36031  This can be achieved by turning on change tracking in the menu 
36032 \family sans
36033 Document\SpecialChar menuseparator
36034 Change
36035 \begin_inset space ~
36036 \end_inset
36037
36038 Tracking\SpecialChar menuseparator
36039 Track
36040 \begin_inset space ~
36041 \end_inset
36042
36043 Changes
36044 \family default
36045 .
36046 \end_layout
36047
36048 \begin_layout Standard
36049 Changes made in the document will then be highlighted by strokes and colors:
36050  
36051 \bar under
36052 \color blue
36053 underlined text
36054 \bar default
36055 \color inherit
36056  is an addition, 
36057 \strikeout on
36058 \color blue
36059 canceled text
36060 \strikeout default
36061 \color inherit
36062  is a deletion.
36063  The color depends on the author that made the change.
36064  You can change the color in 
36065 \family sans
36066 Tools\SpecialChar menuseparator
36067 Preferences\SpecialChar menuseparator
36068 Look
36069 \begin_inset space ~
36070 \end_inset
36071
36072 &
36073 \begin_inset space ~
36074 \end_inset
36075
36076 feel
36077 \family default
36078 \SpecialChar menuseparator
36079
36080 \family sans
36081 Colors
36082 \family default
36083 .
36084 \begin_inset Index idx
36085 status collapsed
36086
36087 \begin_layout Plain Layout
36088 Color ! Change tracking
36089 \end_layout
36090
36091 \end_inset
36092
36093  The author and the date of the change are shown in \SpecialChar LyX
36094 's status bar when the
36095  cursor is in changed text.
36096  The same information is shown when you use the toolbar button 
36097 \begin_inset Info
36098 type  "icon"
36099 arg   "changes-merge"
36100 \end_inset
36101
36102 .
36103 \end_layout
36104
36105 \begin_layout Standard
36106 When change tracking is activated, you will see the review toolbar in \SpecialChar LyX
36107 :
36108 \begin_inset Index idx
36109 status collapsed
36110
36111 \begin_layout Plain Layout
36112 Toolbar ! Review
36113 \end_layout
36114
36115 \end_inset
36116
36117
36118 \end_layout
36119
36120 \begin_layout Standard
36121 \begin_inset VSpace defskip
36122 \end_inset
36123
36124
36125 \end_layout
36126
36127 \begin_layout Standard
36128 \begin_inset Graphics
36129         filename clipart/ChangesToolbar.png
36130         scale 90
36131
36132 \end_inset
36133
36134
36135 \end_layout
36136
36137 \begin_layout Standard
36138 \begin_inset VSpace defskip
36139 \end_inset
36140
36141
36142 \end_layout
36143
36144 \begin_layout Standard
36145 The review toolbar as shown above contains the following buttons:
36146 \end_layout
36147
36148 \begin_layout Standard
36149 \begin_inset VSpace defskip
36150 \end_inset
36151
36152
36153 \end_layout
36154
36155 \begin_layout Standard
36156 \begin_inset Tabular
36157 <lyxtabular version="3" rows="10" columns="2">
36158 <features islongtable="true" longtabularalignment="center">
36159 <column alignment="left" valignment="top">
36160 <column alignment="left" valignment="top">
36161 <row interlinespace="2.5mm">
36162 <cell alignment="center" valignment="top" usebox="none">
36163 \begin_inset Text
36164
36165 \begin_layout Plain Layout
36166
36167 \family sans
36168 \begin_inset Info
36169 type  "icon"
36170 arg   "changes-track"
36171 \end_inset
36172
36173
36174 \end_layout
36175
36176 \end_inset
36177 </cell>
36178 <cell alignment="center" valignment="top" usebox="none">
36179 \begin_inset Text
36180
36181 \begin_layout Plain Layout
36182
36183 \family sans
36184 Document\SpecialChar menuseparator
36185 Change
36186 \begin_inset space ~
36187 \end_inset
36188
36189 Tracking\SpecialChar menuseparator
36190 Track
36191 \begin_inset space ~
36192 \end_inset
36193
36194 Changes
36195 \end_layout
36196
36197 \end_inset
36198 </cell>
36199 </row>
36200 <row interlinespace="2.5mm">
36201 <cell alignment="center" valignment="top" usebox="none">
36202 \begin_inset Text
36203
36204 \begin_layout Plain Layout
36205
36206 \family sans
36207 \begin_inset Info
36208 type  "icon"
36209 arg   "changes-output"
36210 \end_inset
36211
36212
36213 \end_layout
36214
36215 \end_inset
36216 </cell>
36217 <cell alignment="center" valignment="top" usebox="none">
36218 \begin_inset Text
36219
36220 \begin_layout Plain Layout
36221
36222 \family sans
36223 Document\SpecialChar menuseparator
36224 Change
36225 \begin_inset space ~
36226 \end_inset
36227
36228 Tracking\SpecialChar menuseparator
36229 Show
36230 \begin_inset space ~
36231 \end_inset
36232
36233 Changes
36234 \begin_inset space ~
36235 \end_inset
36236
36237 in
36238 \begin_inset space ~
36239 \end_inset
36240
36241 Output
36242 \end_layout
36243
36244 \end_inset
36245 </cell>
36246 </row>
36247 <row interlinespace="2.5mm">
36248 <cell alignment="center" valignment="top" usebox="none">
36249 \begin_inset Text
36250
36251 \begin_layout Plain Layout
36252
36253 \family sans
36254 \begin_inset Info
36255 type  "icon"
36256 arg   "change-next"
36257 \end_inset
36258
36259
36260 \end_layout
36261
36262 \end_inset
36263 </cell>
36264 <cell alignment="center" valignment="top" usebox="none">
36265 \begin_inset Text
36266
36267 \begin_layout Plain Layout
36268 Jumps to the next change
36269 \end_layout
36270
36271 \end_inset
36272 </cell>
36273 </row>
36274 <row interlinespace="2.5mm">
36275 <cell alignment="center" valignment="top" usebox="none">
36276 \begin_inset Text
36277
36278 \begin_layout Plain Layout
36279
36280 \family sans
36281 \begin_inset Info
36282 type  "icon"
36283 arg   "change-accept"
36284 \end_inset
36285
36286
36287 \end_layout
36288
36289 \end_inset
36290 </cell>
36291 <cell alignment="center" valignment="top" usebox="none">
36292 \begin_inset Text
36293
36294 \begin_layout Plain Layout
36295
36296 \family sans
36297 Document\SpecialChar menuseparator
36298 Change
36299 \begin_inset space ~
36300 \end_inset
36301
36302 Tracking\SpecialChar menuseparator
36303 Accept
36304 \begin_inset space ~
36305 \end_inset
36306
36307 Change
36308 \end_layout
36309
36310 \end_inset
36311 </cell>
36312 </row>
36313 <row interlinespace="2.5mm">
36314 <cell alignment="center" valignment="top" usebox="none">
36315 \begin_inset Text
36316
36317 \begin_layout Plain Layout
36318
36319 \family sans
36320 \begin_inset Info
36321 type  "icon"
36322 arg   "change-reject"
36323 \end_inset
36324
36325
36326 \end_layout
36327
36328 \end_inset
36329 </cell>
36330 <cell alignment="center" valignment="top" usebox="none">
36331 \begin_inset Text
36332
36333 \begin_layout Plain Layout
36334
36335 \family sans
36336 Document\SpecialChar menuseparator
36337 Change
36338 \begin_inset space ~
36339 \end_inset
36340
36341 Tracking\SpecialChar menuseparator
36342 Reject
36343 \begin_inset space ~
36344 \end_inset
36345
36346 Change
36347 \end_layout
36348
36349 \end_inset
36350 </cell>
36351 </row>
36352 <row interlinespace="2.5mm">
36353 <cell alignment="center" valignment="top" usebox="none">
36354 \begin_inset Text
36355
36356 \begin_layout Plain Layout
36357
36358 \family sans
36359 \begin_inset Info
36360 type  "icon"
36361 arg   "changes-merge"
36362 \end_inset
36363
36364
36365 \end_layout
36366
36367 \end_inset
36368 </cell>
36369 <cell alignment="center" valignment="top" usebox="none">
36370 \begin_inset Text
36371
36372 \begin_layout Plain Layout
36373
36374 \family sans
36375 Document\SpecialChar menuseparator
36376 Change
36377 \begin_inset space ~
36378 \end_inset
36379
36380 Tracking\SpecialChar menuseparator
36381 Merge
36382 \begin_inset space ~
36383 \end_inset
36384
36385 Changes
36386 \end_layout
36387
36388 \end_inset
36389 </cell>
36390 </row>
36391 <row interlinespace="2.5mm">
36392 <cell alignment="center" valignment="top" usebox="none">
36393 \begin_inset Text
36394
36395 \begin_layout Plain Layout
36396
36397 \family sans
36398 \begin_inset Info
36399 type  "icon"
36400 arg   "all-changes-accept"
36401 \end_inset
36402
36403
36404 \end_layout
36405
36406 \end_inset
36407 </cell>
36408 <cell alignment="center" valignment="top" usebox="none">
36409 \begin_inset Text
36410
36411 \begin_layout Plain Layout
36412
36413 \family sans
36414 Document\SpecialChar menuseparator
36415 Change
36416 \begin_inset space ~
36417 \end_inset
36418
36419 Tracking\SpecialChar menuseparator
36420 Accept
36421 \begin_inset space ~
36422 \end_inset
36423
36424 All
36425 \begin_inset space ~
36426 \end_inset
36427
36428 Changes
36429 \end_layout
36430
36431 \end_inset
36432 </cell>
36433 </row>
36434 <row interlinespace="2.5mm">
36435 <cell alignment="center" valignment="top" usebox="none">
36436 \begin_inset Text
36437
36438 \begin_layout Plain Layout
36439
36440 \family sans
36441 \begin_inset Info
36442 type  "icon"
36443 arg   "all-changes-reject"
36444 \end_inset
36445
36446
36447 \end_layout
36448
36449 \end_inset
36450 </cell>
36451 <cell alignment="center" valignment="top" usebox="none">
36452 \begin_inset Text
36453
36454 \begin_layout Plain Layout
36455
36456 \family sans
36457 Document\SpecialChar menuseparator
36458 Change
36459 \begin_inset space ~
36460 \end_inset
36461
36462 Tracking\SpecialChar menuseparator
36463 Reject
36464 \begin_inset space ~
36465 \end_inset
36466
36467 All
36468 \begin_inset space ~
36469 \end_inset
36470
36471 Changes
36472 \end_layout
36473
36474 \end_inset
36475 </cell>
36476 </row>
36477 <row interlinespace="2.5mm">
36478 <cell alignment="center" valignment="top" usebox="none">
36479 \begin_inset Text
36480
36481 \begin_layout Plain Layout
36482
36483 \family sans
36484 \begin_inset Info
36485 type  "icon"
36486 arg   "note-insert"
36487 \end_inset
36488
36489
36490 \end_layout
36491
36492 \end_inset
36493 </cell>
36494 <cell alignment="center" valignment="top" usebox="none">
36495 \begin_inset Text
36496
36497 \begin_layout Plain Layout
36498
36499 \family sans
36500 Insert\SpecialChar menuseparator
36501 Note\SpecialChar menuseparator
36502 LyX
36503 \begin_inset space ~
36504 \end_inset
36505
36506 Note
36507 \end_layout
36508
36509 \end_inset
36510 </cell>
36511 </row>
36512 <row interlinespace="2.5mm">
36513 <cell alignment="center" valignment="top" usebox="none">
36514 \begin_inset Text
36515
36516 \begin_layout Plain Layout
36517
36518 \family sans
36519 \begin_inset Info
36520 type  "icon"
36521 arg   "note-next"
36522 \end_inset
36523
36524
36525 \end_layout
36526
36527 \end_inset
36528 </cell>
36529 <cell alignment="center" valignment="top" usebox="none">
36530 \begin_inset Text
36531
36532 \begin_layout Plain Layout
36533
36534 \family sans
36535 Navigate\SpecialChar menuseparator
36536 Next
36537 \begin_inset space ~
36538 \end_inset
36539
36540 Note
36541 \end_layout
36542
36543 \end_inset
36544 </cell>
36545 </row>
36546 </lyxtabular>
36547
36548 \end_inset
36549
36550
36551 \end_layout
36552
36553 \begin_layout Standard
36554 \begin_inset VSpace defskip
36555 \end_inset
36556
36557
36558 \end_layout
36559
36560 \begin_layout Standard
36561 Not all changes are (yet) visualized, especially no format changes like
36562  from 
36563 \emph on
36564 normal
36565 \emph default
36566  to 
36567 \emph on
36568 bold
36569 \emph default
36570  font or 
36571 \emph on
36572 Standard
36573 \emph default
36574  to 
36575 \emph on
36576 Description
36577 \emph default
36578  paragraph.
36579 \end_layout
36580
36581 \begin_layout Standard
36582 The review toolbar helps you to accept, reject, or merge changes – highlight
36583  the change and press one of the desired toolbar buttons.
36584  When you merge changes, a window pops up showing you information about
36585  the next change after the current cursor position.
36586  So you don't need to highlight a certain change.
36587  Within the merge window you can decide to accept or reject changes and
36588  step to the next change.
36589  This way you can jump through all the changes in the document.
36590 \end_layout
36591
36592 \begin_layout Standard
36593 The toolbar has two buttons to handle notes because notes are often important
36594  to describe a change.
36595 \end_layout
36596
36597 \begin_layout Standard
36598 To show the changes made in the output you need the \SpecialChar LaTeX
36599  package 
36600 \series bold
36601 dvipost
36602 \series default
36603
36604 \begin_inset Index idx
36605 status collapsed
36606
36607 \begin_layout Plain Layout
36608 \SpecialChar LaTeX
36609  packages ! dvipost
36610 \end_layout
36611
36612 \end_inset
36613
36614  installed.
36615  You will find it in the \SpecialChar TeX
36616  Catalogue, 
36617 \begin_inset CommandInset citation
36618 LatexCommand cite
36619 key "TeXCatalogue"
36620 literal "true"
36621
36622 \end_inset
36623
36624  or in the package manager of your \SpecialChar LaTeX
36625 -system.
36626 \end_layout
36627
36628 \begin_layout Section
36629 Comparison of Documents
36630 \begin_inset CommandInset label
36631 LatexCommand label
36632 name "sec:Comparison-of-Documents"
36633
36634 \end_inset
36635
36636
36637 \begin_inset Index idx
36638 status collapsed
36639
36640 \begin_layout Plain Layout
36641 Comparison of documents
36642 \end_layout
36643
36644 \end_inset
36645
36646
36647 \end_layout
36648
36649 \begin_layout Standard
36650 You can compare two different \SpecialChar LyX
36651  files via the menu 
36652 \family sans
36653 Tools\SpecialChar menuseparator
36654 Compare
36655 \family default
36656 .
36657  The comparison result is a \SpecialChar LyX
36658  file with change tracking enabled showing the
36659  differences.
36660  In the comparison dialog you can select from which document \SpecialChar LyX
36661  should take
36662  the document settings for the resulting difference file with the option
36663  
36664 \family sans
36665 Copy
36666 \begin_inset space ~
36667 \end_inset
36668
36669 Document
36670 \begin_inset space ~
36671 \end_inset
36672
36673 Settings
36674 \begin_inset space ~
36675 \end_inset
36676
36677 from
36678 \family default
36679 .
36680  The option 
36681 \family sans
36682 Enable
36683 \begin_inset space ~
36684 \end_inset
36685
36686 change
36687 \begin_inset space ~
36688 \end_inset
36689
36690 tracking
36691 \begin_inset space ~
36692 \end_inset
36693
36694 features
36695 \begin_inset space ~
36696 \end_inset
36697
36698 in
36699 \begin_inset space ~
36700 \end_inset
36701
36702 the
36703 \begin_inset space ~
36704 \end_inset
36705
36706 output
36707 \family default
36708  enables the change tracking option 
36709 \family sans
36710 Show
36711 \begin_inset space ~
36712 \end_inset
36713
36714 Changes
36715 \begin_inset space ~
36716 \end_inset
36717
36718 in
36719 \begin_inset space ~
36720 \end_inset
36721
36722 Output
36723 \family default
36724  to visualize the differences also in the PDF output of the difference file.
36725 \end_layout
36726
36727 \begin_layout Section
36728 International Support
36729 \begin_inset Index idx
36730 status collapsed
36731
36732 \begin_layout Plain Layout
36733 International support
36734 \end_layout
36735
36736 \end_inset
36737
36738
36739 \end_layout
36740
36741 \begin_layout Standard
36742 This section describes how to use \SpecialChar LyX
36743  with any language you want.
36744  For some languages there are special Wiki-pages that explain how to set
36745  up \SpecialChar LyX
36746  to use them: 
36747 \begin_inset CommandInset citation
36748 LatexCommand cite
36749 key "Arabic,Armenian,Cyrillic,Farsi,Hebrew,Japanese"
36750 literal "true"
36751
36752 \end_inset
36753
36754
36755 \end_layout
36756
36757 \begin_layout Standard
36758 Besides languages, \SpecialChar LyX
36759  also supports phonetic symbols, see section
36760 \begin_inset space ~
36761 \end_inset
36762
36763
36764 \begin_inset CommandInset ref
36765 LatexCommand ref
36766 reference "subsec:Special-Character"
36767
36768 \end_inset
36769
36770 .
36771 \end_layout
36772
36773 \begin_layout Subsection
36774 Language Options
36775 \begin_inset Index idx
36776 status collapsed
36777
36778 \begin_layout Plain Layout
36779 Language ! Options
36780 \end_layout
36781
36782 \end_inset
36783
36784
36785 \begin_inset Index idx
36786 status collapsed
36787
36788 \begin_layout Plain Layout
36789 Document ! Settings
36790 \end_layout
36791
36792 \end_inset
36793
36794
36795 \begin_inset Index idx
36796 status collapsed
36797
36798 \begin_layout Plain Layout
36799 Document ! Language
36800 \end_layout
36801
36802 \end_inset
36803
36804
36805 \end_layout
36806
36807 \begin_layout Standard
36808 The 
36809 \family sans
36810 Document\SpecialChar menuseparator
36811 Settings\SpecialChar menuseparator
36812 Language
36813 \family default
36814  dialog lets you set 
36815 \family roman
36816 the language, the quote style and character encoding
36817 \family default
36818 .
36819 \end_layout
36820
36821 \begin_layout Standard
36822 Under 
36823 \family sans
36824 Encoding
36825 \family default
36826  you can choose the character encoding map you want to use for \SpecialChar LaTeX
36827  export.
36828  The option 
36829 \family sans
36830 Language
36831 \begin_inset space ~
36832 \end_inset
36833
36834 Default
36835 \family default
36836  is the preferred choice and works well in most cases.
36837  For details about the different encoding options see section
36838 \begin_inset space ~
36839 \end_inset
36840
36841
36842 \begin_inset CommandInset ref
36843 LatexCommand ref
36844 reference "sec:Language-encodings"
36845
36846 \end_inset
36847
36848 .
36849 \end_layout
36850
36851 \begin_layout Subsection
36852 Keyboard mapping configuration
36853 \begin_inset CommandInset label
36854 LatexCommand label
36855 name "subsec:Keyboard-mapping"
36856
36857 \end_inset
36858
36859
36860 \end_layout
36861
36862 \begin_layout Standard
36863 If you have for example a U.
36864 \begin_inset space \thinspace{}
36865 \end_inset
36866
36867 S.-style keyboard and want to write in a language other than English, you
36868  can use an alternate keymap.
36869  For example, if you want to write in Italian, you can configure \SpecialChar LyX
36870  to use
36871  an Italian keymap.
36872  The 
36873 \family sans
36874 Tools\SpecialChar menuseparator
36875 Preferences\SpecialChar menuseparator
36876 Editing\SpecialChar menuseparator
36877 Keyboard/Mouse
36878 \family default
36879  dialog allows you to choose up to two keyboard mappings, see section
36880 \begin_inset space ~
36881 \end_inset
36882
36883
36884 \begin_inset CommandInset ref
36885 LatexCommand ref
36886 reference "subsec:Keyboard-Map"
36887
36888 \end_inset
36889
36890 .
36891  You can choose primary and secondary keyboard languages and then select
36892  which one you want to use.
36893 \end_layout
36894
36895 \begin_layout Standard
36896 Finally, you may just want to change a few key mappings or create an entirely
36897  different keymap (for Vulcan, for instance).
36898  You may, for example, normally write in Italian on a U.
36899 \begin_inset space \thinspace{}
36900 \end_inset
36901
36902 S.-style keyboard but want to include an occasional quotation in German.
36903  In such a case, you can write your own keyboard mapping or modify an existing
36904  one to support the characters you want.
36905  This and many other customizations are explained in the 
36906 \emph on
36907 Customization
36908 \emph default
36909  manual.
36910 \end_layout
36911
36912 \begin_layout Chapter
36913 \start_of_appendix
36914 The User Interface
36915 \begin_inset CommandInset label
36916 LatexCommand label
36917 name "chap:The-User-Interface"
36918
36919 \end_inset
36920
36921
36922 \end_layout
36923
36924 \begin_layout Standard
36925 This appendix lists all the available menus and describes their functionality.
36926  It is designed as a quick reference if you are searching for a special
36927  topic inside the user's guide.
36928 \end_layout
36929
36930 \begin_layout Section
36931 The File Menu
36932 \begin_inset Index idx
36933 status collapsed
36934
36935 \begin_layout Plain Layout
36936 Menu ! File
36937 \end_layout
36938
36939 \end_inset
36940
36941
36942 \end_layout
36943
36944 \begin_layout Standard
36945 Under the 
36946 \family sans
36947 File
36948 \family default
36949  menu are the basic operations in addition to some more advanced operations.
36950 \end_layout
36951
36952 \begin_layout Subsection
36953 New
36954 \end_layout
36955
36956 \begin_layout Standard
36957 Creates a new document.
36958 \end_layout
36959
36960 \begin_layout Subsection
36961 New from Template
36962 \end_layout
36963
36964 \begin_layout Standard
36965 This menu entry prompts you for a template to use.
36966  Selecting a template will automatically set certain layout features for
36967  the document, features you would otherwise need to change manually.
36968 \end_layout
36969
36970 \begin_layout Subsection
36971 Open
36972 \end_layout
36973
36974 \begin_layout Standard
36975 Opens a document.
36976 \end_layout
36977
36978 \begin_layout Subsection
36979 Open Recent
36980 \end_layout
36981
36982 \begin_layout Standard
36983 The submenu shows a list of the recently opened files.
36984  Click there on a file to open it.
36985 \end_layout
36986
36987 \begin_layout Subsection
36988 Close
36989 \end_layout
36990
36991 \begin_layout Standard
36992 Closes the current document.
36993 \end_layout
36994
36995 \begin_layout Subsection
36996 Close All
36997 \end_layout
36998
36999 \begin_layout Standard
37000 Closes all opened documents.
37001 \end_layout
37002
37003 \begin_layout Subsection
37004 Save
37005 \end_layout
37006
37007 \begin_layout Standard
37008 Saves the actual document.
37009 \end_layout
37010
37011 \begin_layout Subsection
37012 Save As
37013 \end_layout
37014
37015 \begin_layout Standard
37016 Saves the actual document under a new name to create a copy.
37017 \end_layout
37018
37019 \begin_layout Subsection
37020 Save All
37021 \end_layout
37022
37023 \begin_layout Standard
37024 Saves all opened documents.
37025 \end_layout
37026
37027 \begin_layout Subsection
37028 Revert to saved
37029 \end_layout
37030
37031 \begin_layout Standard
37032 Reloads the actual document from disk.
37033 \end_layout
37034
37035 \begin_layout Subsection
37036 Version Control
37037 \end_layout
37038
37039 \begin_layout Standard
37040 This is used when multiple people are working on the same document or when
37041  one person wants to keep a careful archive of changes.
37042  It is described in the section 
37043 \emph on
37044 Version Control in \SpecialChar LyX
37045
37046 \emph default
37047  of the 
37048 \emph on
37049 Additional Features
37050 \emph default
37051  manual.
37052 \end_layout
37053
37054 \begin_layout Subsection
37055 Import
37056 \end_layout
37057
37058 \begin_layout Standard
37059 Here you can import files from older \SpecialChar LyX
37060  versions, HTML files, \SpecialChar LaTeX
37061  files, NoWeb
37062  files, plain text files and comma separated, table-like text files (CSV).
37063  The files will be imported as a new \SpecialChar LyX
37064  document.
37065 \end_layout
37066
37067 \begin_layout Standard
37068 When using the menu entry 
37069 \family sans
37070 Plain
37071 \begin_inset space ~
37072 \end_inset
37073
37074 text
37075 \family default
37076 , line breaks in the text will start a new paragraph; when using the menu
37077  entry 
37078 \family sans
37079 Plain
37080 \begin_inset space ~
37081 \end_inset
37082
37083 Text,
37084 \begin_inset space ~
37085 \end_inset
37086
37087 Join
37088 \begin_inset space ~
37089 \end_inset
37090
37091 Lines
37092 \family default
37093 , consecutive lines of text will be imported to one big paragraph.
37094  A new paragraph will begin when there is a blank line in the file.
37095 \end_layout
37096
37097 \begin_layout Subsection
37098 Export
37099 \begin_inset CommandInset label
37100 LatexCommand label
37101 name "subsec:Export"
37102
37103 \end_inset
37104
37105
37106 \end_layout
37107
37108 \begin_layout Standard
37109 You can export your document to various file formats.
37110  The resulting files are placed in the directory of your \SpecialChar LyX
37111  file.
37112  The menu entries are not the same on all installations.
37113  They depend on the programs found by \SpecialChar LyX
37114  during its configuration.
37115 \end_layout
37116
37117 \begin_layout Standard
37118 Here is a list of all available entries; some of them are explained in detail
37119  in section
37120 \begin_inset space ~
37121 \end_inset
37122
37123
37124 \begin_inset CommandInset ref
37125 LatexCommand ref
37126 reference "subsec:Output-file-formats"
37127
37128 \end_inset
37129
37130 :
37131 \end_layout
37132
37133 \begin_layout Description
37134
37135 \family sans
37136 CJK
37137 \family default
37138
37139 \begin_inset space ~
37140 \end_inset
37141
37142 LyX format of the special \SpecialChar LyX
37143
37144 \begin_inset space ~
37145 \end_inset
37146
37147 1.4.x versions for Chinese, Japanese and Korean (CJK)
37148 \begin_inset Newline newline
37149 \end_inset
37150
37151  Since \SpecialChar LyX
37152  1.5.0 CJK support has been fully integrated into \SpecialChar LyX
37153 .
37154 \end_layout
37155
37156 \begin_layout Description
37157 DocBook text file with code in the language SGML that is used for the markup
37158  language 
37159 \family typewriter
37160 DocBook
37161 \end_layout
37162
37163 \begin_layout Description
37164 DocBook
37165 \begin_inset space ~
37166 \end_inset
37167
37168 (XML) text file with code in the language XML that is used for the markup
37169  language 
37170 \family typewriter
37171 DocBook
37172 \end_layout
37173
37174 \begin_layout Description
37175 DraftDVI \SpecialChar LaTeX
37176 's native DVI-format.
37177  This format is not suitable if you have special characters or spaces in
37178  files paths or file names in your document.
37179  \SpecialChar LyX
37180  use this format internally as a pre-stage to export to 
37181 \family sans
37182 DVI
37183 \family default
37184 .
37185 \end_layout
37186
37187 \begin_layout Description
37188 DVI DVI-format that also allows the useage of special characters or spaces
37189  in files paths or file names
37190 \end_layout
37191
37192 \begin_layout Description
37193 DVI
37194 \begin_inset space ~
37195 \end_inset
37196
37197 (Lua
37198 \family sans
37199 TeX
37200 \family default
37201 ) DVI-format using the program 
37202 \family typewriter
37203 Lua\SpecialChar TeX
37204
37205 \family default
37206 ; supports Unicode and the usage of non-\SpecialChar TeX
37207  fonts; 
37208 \series bold
37209
37210 \begin_inset Note Greyedout
37211 status open
37212
37213 \begin_layout Plain Layout
37214
37215 \series bold
37216 Note:
37217 \series default
37218  not all DVI-viewers are currently able to display this output format properly.
37219 \end_layout
37220
37221 \end_inset
37222
37223
37224 \end_layout
37225
37226 \begin_layout Description
37227 EPS
37228 \begin_inset space ~
37229 \end_inset
37230
37231 (cropped) the same as 
37232 \family sans
37233 PostScript
37234 \family default
37235  but with cropped page margins.
37236 \end_layout
37237
37238 \begin_layout Description
37239 Graphviz
37240 \begin_inset space ~
37241 \end_inset
37242
37243 Dot text file with code in the programming language 
37244 \family typewriter
37245 Dot
37246 \family default
37247  which is used to draw visualizations of graphs via the program 
37248 \family typewriter
37249 Graphviz
37250 \end_layout
37251
37252 \begin_layout Description
37253 HTML HTML-format; 
37254 \series bold
37255
37256 \begin_inset Note Greyedout
37257 status open
37258
37259 \begin_layout Plain Layout
37260
37261 \series bold
37262 Note:
37263 \series default
37264  the exported file will be stored in a subdirectory.
37265 \end_layout
37266
37267 \end_inset
37268
37269
37270 \end_layout
37271
37272 \begin_layout Description
37273 HTML
37274 \begin_inset space ~
37275 \end_inset
37276
37277 (MS
37278 \begin_inset space ~
37279 \end_inset
37280
37281 Word) HTML-format specialized so that the result can be imported to 
37282 \family sans
37283 MS Word
37284 \family default
37285 ; as a consequence of this formulas will be embedded as bitmap fonts and
37286  not in the format 
37287 \family sans
37288 MathML
37289 \family default
37290 .
37291 \end_layout
37292
37293 \begin_layout Description
37294
37295 \family sans
37296 LaTeX
37297 \begin_inset space ~
37298 \end_inset
37299
37300 (
37301 \family default
37302 Lua
37303 \family sans
37304 TeX) 
37305 \family default
37306 text file with the \SpecialChar LaTeX
37307  source that is compilable with the program 
37308 \family typewriter
37309 Lua\SpecialChar TeX
37310
37311 \end_layout
37312
37313 \begin_layout Description
37314
37315 \family sans
37316 LaTeX
37317 \begin_inset space ~
37318 \end_inset
37319
37320 (pdflatex)
37321 \family default
37322  text file with the \SpecialChar LaTeX
37323  source, additionally all images used in the document
37324  will be converted to a format that is readable by the 
37325 \family typewriter
37326 pdflatex
37327 \family default
37328  program (GIF, JPG, PDF, PNG)
37329 \end_layout
37330
37331 \begin_layout Description
37332
37333 \family sans
37334 LaTeX
37335 \begin_inset space ~
37336 \end_inset
37337
37338 (plain)
37339 \family default
37340  text file with the \SpecialChar LaTeX
37341  source code, additionally all images used in the document
37342  will be converted to the EPS-format, only this format is readable by the
37343  
37344 \family typewriter
37345 latex
37346 \family default
37347  program
37348 \end_layout
37349
37350 \begin_layout Description
37351
37352 \family sans
37353 LaTeX
37354 \begin_inset space ~
37355 \end_inset
37356
37357 (
37358 \family default
37359 Xe
37360 \family sans
37361 TeX) 
37362 \family default
37363 text file with the \SpecialChar LaTeX
37364  source that is compilable with the program 
37365 \family typewriter
37366 Xe\SpecialChar TeX
37367
37368 \end_layout
37369
37370 \begin_layout Description
37371 LilyPond
37372 \begin_inset space ~
37373 \end_inset
37374
37375 book
37376 \begin_inset space ~
37377 \end_inset
37378
37379 (La
37380 \family sans
37381 TeX
37382 \family default
37383 ) text file with the \SpecialChar LaTeX
37384  source and also code in the syntax of the music notation
37385  software 
37386 \family typewriter
37387 LilyPond
37388 \end_layout
37389
37390 \begin_layout Description
37391 LyX
37392 \begin_inset space ~
37393 \end_inset
37394
37395 z.y.x \SpecialChar LyX
37396 -Document in a format readable by the \SpecialChar LyX
37397  versions z.y.x (e.
37398 \begin_inset space \thinspace{}
37399 \end_inset
37400
37401 g.
37402 \begin_inset space \space{}
37403 \end_inset
37404
37405 "\SpecialChar LyX
37406
37407 \begin_inset space ~
37408 \end_inset
37409
37410 2.1.x"; 
37411 \begin_inset Quotes eld
37412 \end_inset
37413
37414 z
37415 \begin_inset Quotes erd
37416 \end_inset
37417
37418  and 
37419 \begin_inset Quotes eld
37420 \end_inset
37421
37422 y
37423 \begin_inset Quotes erd
37424 \end_inset
37425
37426  represent the version number)
37427 \end_layout
37428
37429 \begin_layout Description
37430 LyX
37431 \begin_inset space ~
37432 \end_inset
37433
37434 Archive
37435 \begin_inset space ~
37436 \end_inset
37437
37438 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
37439  your system) that contains your document and all files that are necessary
37440  to compile it (images, child documents, Bib\SpecialChar TeX
37441  files, etc.)
37442 \end_layout
37443
37444 \begin_layout Description
37445 LyXHTML HTML-format using \SpecialChar LyX
37446 's internal XHTML engine
37447 \end_layout
37448
37449 \begin_layout Description
37450 MS
37451 \begin_inset space ~
37452 \end_inset
37453
37454 Word
37455 \begin_inset space ~
37456 \end_inset
37457
37458 Office
37459 \begin_inset space ~
37460 \end_inset
37461
37462 Open
37463 \begin_inset space ~
37464 \end_inset
37465
37466 XML Office Open XML file, to be opened with 
37467 \family sans
37468 Microsoft Word
37469 \family default
37470 .
37471  For the conversion the program 
37472 \family typewriter
37473 Pandoc
37474 \family default
37475  is used.
37476  
37477 \family typewriter
37478 Pandoc
37479 \family default
37480  is a third-party product and may not work in all cases.
37481 \end_layout
37482
37483 \begin_layout Description
37484 NoWeb text file with code in the format of the literate programming language
37485 \family typewriter
37486  NoWeb
37487 \end_layout
37488
37489 \begin_layout Description
37490 OpenDocument
37491 \begin_inset space ~
37492 \end_inset
37493
37494 (Pandoc) OpenDocument file, to be opened with 
37495 \family sans
37496 LibreOffice, OpenOffice, KOffice, Abiword
37497 \family default
37498 , etc..
37499  For the conversion the program 
37500 \family typewriter
37501 Pandoc
37502 \family default
37503  is used.
37504  
37505 \family typewriter
37506 Pandoc
37507 \family default
37508  is a third-party product and may not work in all cases.
37509 \end_layout
37510
37511 \begin_layout Description
37512 OpenDocument
37513 \begin_inset space ~
37514 \end_inset
37515
37516 (tex4ht) OpenDocument file.
37517  For the conversion the program 
37518 \family typewriter
37519 tex4ht
37520 \family default
37521  is used.
37522  
37523 \family typewriter
37524 tex4ht
37525 \family default
37526  is a third-party product and may not work in all cases.
37527 \end_layout
37528
37529 \begin_layout Description
37530 PDF
37531 \begin_inset space ~
37532 \end_inset
37533
37534 (cropped) the same as 
37535 \family sans
37536 PDF
37537 \begin_inset space ~
37538 \end_inset
37539
37540 (pdflatex)
37541 \family default
37542  but with cropped page margins
37543 \end_layout
37544
37545 \begin_layout Description
37546
37547 \family sans
37548 PDF
37549 \begin_inset space ~
37550 \end_inset
37551
37552 (dvipdfm)
37553 \family default
37554  PDF-format using the program 
37555 \family typewriter
37556 dvipdfm
37557 \family default
37558 , produces internally a DVI-file which is then converted to a PDF-file
37559 \end_layout
37560
37561 \begin_layout Description
37562
37563 \family sans
37564 PDF
37565 \begin_inset space ~
37566 \end_inset
37567
37568 (lower
37569 \begin_inset space ~
37570 \end_inset
37571
37572 resolution)
37573 \family default
37574  the same as 
37575 \family sans
37576 PDF
37577 \begin_inset space ~
37578 \end_inset
37579
37580 (pdflatex)
37581 \family default
37582  but with a reduced pixel resolution of 150
37583 \begin_inset space \thinspace{}
37584 \end_inset
37585
37586 dpi (e.g.
37587 \begin_inset space \space{}
37588 \end_inset
37589
37590 useful for e-books to be read on tablet PCs or for large documents as intermedia
37591 te preview)
37592 \end_layout
37593
37594 \begin_layout Description
37595
37596 \family sans
37597 PDF
37598 \begin_inset space ~
37599 \end_inset
37600
37601 (LuaTeX)
37602 \family default
37603  PDF-format using the program 
37604 \family typewriter
37605 Lua\SpecialChar TeX
37606
37607 \family default
37608 , produces PDF-files directly
37609 \end_layout
37610
37611 \begin_layout Description
37612
37613 \family sans
37614 PDF
37615 \begin_inset space ~
37616 \end_inset
37617
37618 (pdflatex)
37619 \family default
37620  PDF-format using the program 
37621 \family typewriter
37622 pdflatex
37623 \family default
37624 , produces PDF-files directly
37625 \end_layout
37626
37627 \begin_layout Description
37628
37629 \family sans
37630 PDF
37631 \begin_inset space ~
37632 \end_inset
37633
37634 (ps2pdf)
37635 \family default
37636  PDF-format using the program 
37637 \family typewriter
37638 ps2pdf
37639 \family default
37640 , produces internally a PostScript-file which is then converted to a PDF-file
37641 \end_layout
37642
37643 \begin_layout Description
37644
37645 \family sans
37646 PDF
37647 \begin_inset space ~
37648 \end_inset
37649
37650 (XeTeX)
37651 \family default
37652  PDF-format using the program 
37653 \family typewriter
37654 Xe\SpecialChar TeX
37655
37656 \family default
37657 , produces PDF-files directly
37658 \end_layout
37659
37660 \begin_layout Description
37661
37662 \family sans
37663 Plain
37664 \begin_inset space ~
37665 \end_inset
37666
37667 text
37668 \family default
37669  text format
37670 \end_layout
37671
37672 \begin_layout Description
37673
37674 \family sans
37675 Plain
37676 \begin_inset space ~
37677 \end_inset
37678
37679 text
37680 \begin_inset space ~
37681 \end_inset
37682
37683 (ps2ascii)
37684 \family default
37685  text format, the document will first be converted to Postscript format
37686  and then exported as text using the program 
37687 \family sans
37688 ps2ascii
37689 \end_layout
37690
37691 \begin_layout Description
37692
37693 \family sans
37694 Postscript
37695 \family default
37696  PostScript format using the program 
37697 \family typewriter
37698 dvips
37699 \family default
37700 ; for possible 
37701 \family typewriter
37702 dvips
37703 \family default
37704  options see section
37705 \begin_inset space ~
37706 \end_inset
37707
37708
37709 \begin_inset CommandInset ref
37710 LatexCommand ref
37711 reference "subsec:General-output"
37712
37713 \end_inset
37714
37715
37716 \end_layout
37717
37718 \begin_layout Description
37719 Sweave text file with the \SpecialChar LaTeX
37720  source and also code in the statistical programming
37721  language 
37722 \family typewriter
37723 R
37724 \family default
37725 .
37726  Using the 
37727 \family typewriter
37728 R
37729 \family default
37730 -function 
37731 \family typewriter
37732 Sweave
37733 \family default
37734  it is possible to use 
37735 \family typewriter
37736 R
37737 \family default
37738 -commands in \SpecialChar LaTeX
37739
37740 \end_layout
37741
37742 \begin_layout Standard
37743 If one of the menu entries 
37744 \family sans
37745 DVI
37746 \family default
37747
37748 \family sans
37749 PDF
37750 \begin_inset space ~
37751 \end_inset
37752
37753 (pdflatex)
37754 \family default
37755  or 
37756 \family sans
37757 Postscript
37758 \family default
37759  is missing, you need to update your \SpecialChar LaTeX
37760  installation.
37761  After updating you have to reconfigure \SpecialChar LyX
37762 , see section
37763 \begin_inset space ~
37764 \end_inset
37765
37766
37767 \begin_inset CommandInset ref
37768 LatexCommand ref
37769 reference "sec:Basic-LyX-Setup"
37770
37771 \end_inset
37772
37773 .
37774 \begin_inset Index idx
37775 status collapsed
37776
37777 \begin_layout Plain Layout
37778 Reconfiguration of \SpecialChar LyX
37779
37780 \end_layout
37781
37782 \end_inset
37783
37784
37785 \end_layout
37786
37787 \begin_layout Subsection
37788 Fax
37789 \end_layout
37790
37791 \begin_layout Standard
37792 This menu entry will only appear if you have a fax program installed (on
37793  Windows you additionally need to register its program path to \SpecialChar LyX
37794 's PATH prefix,
37795  see section
37796 \begin_inset space ~
37797 \end_inset
37798
37799
37800 \begin_inset CommandInset ref
37801 LatexCommand ref
37802 reference "sec:Paths"
37803
37804 \end_inset
37805
37806 ).
37807  With this menu entry you can send your document to a fax program like 
37808 \family typewriter
37809 hylapex
37810 \family default
37811  or 
37812 \family typewriter
37813 kdeprintfax
37814 \family default
37815 .
37816  The default format of the sent file is PostScript.
37817  The format can be changed in \SpecialChar LyX
37818 's preferences as described in section
37819 \begin_inset space ~
37820 \end_inset
37821
37822
37823 \begin_inset CommandInset ref
37824 LatexCommand ref
37825 reference "subsec:Converters"
37826
37827 \end_inset
37828
37829 .
37830 \end_layout
37831
37832 \begin_layout Subsection
37833 New and Close Window
37834 \end_layout
37835
37836 \begin_layout Standard
37837 Opens or closes a new instance of \SpecialChar LyX
37838 .
37839 \end_layout
37840
37841 \begin_layout Subsection
37842 Exit
37843 \end_layout
37844
37845 \begin_layout Standard
37846 Prompts you to save all unsaved documents and then exits.
37847 \end_layout
37848
37849 \begin_layout Section
37850 The Edit Menu
37851 \begin_inset Index idx
37852 status collapsed
37853
37854 \begin_layout Plain Layout
37855 Menu ! Edit
37856 \end_layout
37857
37858 \end_inset
37859
37860
37861 \end_layout
37862
37863 \begin_layout Subsection
37864 Undo and Redo
37865 \end_layout
37866
37867 \begin_layout Standard
37868 Described in section
37869 \begin_inset space ~
37870 \end_inset
37871
37872
37873 \begin_inset CommandInset ref
37874 LatexCommand ref
37875 reference "sec:Undo-and-Redo"
37876
37877 \end_inset
37878
37879 .
37880 \end_layout
37881
37882 \begin_layout Subsection
37883 Cut, Copy, Paste, Paste Recent, Paste Special
37884 \end_layout
37885
37886 \begin_layout Standard
37887 Described in section
37888 \begin_inset space ~
37889 \end_inset
37890
37891
37892 \begin_inset CommandInset ref
37893 LatexCommand ref
37894 reference "sec:Basic-Editing-Features"
37895
37896 \end_inset
37897
37898 .
37899 \end_layout
37900
37901 \begin_layout Subsection
37902 Select Whole Inset
37903 \end_layout
37904
37905 \begin_layout Standard
37906 Selects the content of the inset in which the cursor currently is.
37907  If the cursor is outside an inset, the whole document will be selected.
37908 \end_layout
37909
37910 \begin_layout Subsection
37911 Select All
37912 \end_layout
37913
37914 \begin_layout Standard
37915 Selects the whole document.
37916 \end_layout
37917
37918 \begin_layout Subsection
37919 Find & Replace (Quick)
37920 \end_layout
37921
37922 \begin_layout Standard
37923 Described in section
37924 \begin_inset space ~
37925 \end_inset
37926
37927
37928 \begin_inset CommandInset ref
37929 LatexCommand ref
37930 reference "sec:Basic-Editing-Features"
37931
37932 \end_inset
37933
37934 .
37935 \end_layout
37936
37937 \begin_layout Subsection
37938 Find & Replace (Advanced)
37939 \end_layout
37940
37941 \begin_layout Standard
37942 Described in section
37943 \begin_inset space ~
37944 \end_inset
37945
37946
37947 \begin_inset CommandInset ref
37948 LatexCommand ref
37949 reference "sec:Advanced-Find-and"
37950
37951 \end_inset
37952
37953 .
37954 \end_layout
37955
37956 \begin_layout Subsection
37957 Move Paragraph Up/Down
37958 \end_layout
37959
37960 \begin_layout Standard
37961 This shifts the paragraph in which the cursor currently is one paragraph
37962  up or down.
37963 \end_layout
37964
37965 \begin_layout Subsection
37966 Text Style
37967 \end_layout
37968
37969 \begin_layout Standard
37970 Described in section
37971 \begin_inset space ~
37972 \end_inset
37973
37974
37975 \begin_inset CommandInset ref
37976 LatexCommand ref
37977 reference "subsec:Fine-Tuning-with-the"
37978
37979 \end_inset
37980
37981 .
37982 \end_layout
37983
37984 \begin_layout Subsection
37985 Paragraph Settings
37986 \begin_inset Index idx
37987 status collapsed
37988
37989 \begin_layout Plain Layout
37990 Paragraph ! Settings
37991 \end_layout
37992
37993 \end_inset
37994
37995
37996 \end_layout
37997
37998 \begin_layout Standard
37999 Enables you to set the paragraph alignment, line spacing and label width.
38000  These settings only affect the paragraph in which the cursor is currently
38001  in.
38002 \end_layout
38003
38004 \begin_layout Standard
38005 You can also prevent the first line of the paragraph being indented if you
38006  have chosen to separate paragraphs with 
38007 \family sans
38008 Indentation
38009 \family default
38010  in the 
38011 \family sans
38012 Document\SpecialChar menuseparator
38013 Settings\SpecialChar menuseparator
38014 Text
38015 \begin_inset space ~
38016 \end_inset
38017
38018 Layout
38019 \family default
38020  dialog.
38021 \end_layout
38022
38023 \begin_layout Subsection
38024 Table and Rows & Columns
38025 \end_layout
38026
38027 \begin_layout Standard
38028 These menus only appear if the cursor is inside a table.
38029  It allows you to create multicolumn and multirow cells, add or remove borders
38030  of a cell and to set the alignment of the cell.
38031 \end_layout
38032
38033 \begin_layout Subsection
38034 Dissolve Inset
38035 \end_layout
38036
38037 \begin_layout Standard
38038 This menu only appears if the cursor is inside an inset.
38039  It will dissolve this inset.
38040  This means that the inset is deleted and its content is left as normal
38041  text.
38042 \end_layout
38043
38044 \begin_layout Subsection
38045 Settings or Math
38046 \end_layout
38047
38048 \begin_layout Standard
38049 This menu is only active if the cursor is inside an inset or a formula.
38050  Here you can change the properties of the inset or the formula.
38051 \end_layout
38052
38053 \begin_layout Subsection
38054 Increase/Decrease List Depth
38055 \end_layout
38056
38057 \begin_layout Standard
38058 These menus are only active if the cursor is in an environment that can
38059  be nested.
38060  They increase/decrease the environment nesting level as explained in section
38061 \begin_inset space ~
38062 \end_inset
38063
38064
38065 \begin_inset CommandInset ref
38066 LatexCommand ref
38067 reference "sec:Nesting"
38068
38069 \end_inset
38070
38071  and 
38072 \begin_inset CommandInset ref
38073 LatexCommand ref
38074 reference "subsec:Numbering-depth"
38075
38076 \end_inset
38077
38078 .
38079 \end_layout
38080
38081 \begin_layout Section
38082 The View Menu
38083 \begin_inset Index idx
38084 status collapsed
38085
38086 \begin_layout Plain Layout
38087 Menu ! View
38088 \end_layout
38089
38090 \end_inset
38091
38092
38093 \end_layout
38094
38095 \begin_layout Standard
38096 At the bottom of the 
38097 \family sans
38098 View
38099 \family default
38100  menu the opened documents are listed.
38101 \end_layout
38102
38103 \begin_layout Subsection
38104 Open/Close all Insets
38105 \end_layout
38106
38107 \begin_layout Standard
38108 Opens/closes all insets in your document.
38109 \end_layout
38110
38111 \begin_layout Subsection
38112 Unfold/Fold Math Macros
38113 \end_layout
38114
38115 \begin_layout Standard
38116 Unfolds/folds the current math macro.
38117 \end_layout
38118
38119 \begin_layout Standard
38120 Math macros are described in the 
38121 \emph on
38122 Math
38123 \emph default
38124  manual.
38125 \end_layout
38126
38127 \begin_layout Subsection
38128 Outline Pane
38129 \end_layout
38130
38131 \begin_layout Standard
38132 Shows the outline window as described in sections
38133 \begin_inset space ~
38134 \end_inset
38135
38136
38137 \begin_inset CommandInset ref
38138 LatexCommand ref
38139 reference "sec:Navigating"
38140
38141 \end_inset
38142
38143  and 
38144 \begin_inset CommandInset ref
38145 LatexCommand ref
38146 reference "subsec:Table-of-Contents"
38147
38148 \end_inset
38149
38150 .
38151 \end_layout
38152
38153 \begin_layout Subsection
38154 Source Pane
38155 \end_layout
38156
38157 \begin_layout Standard
38158 Opens a window showing the source code of the actual document, as described
38159  in section
38160 \begin_inset space ~
38161 \end_inset
38162
38163
38164 \begin_inset CommandInset ref
38165 LatexCommand ref
38166 reference "sec:Previewing-snippets-of"
38167
38168 \end_inset
38169
38170 .
38171 \end_layout
38172
38173 \begin_layout Subsection
38174 Messages Pane
38175 \end_layout
38176
38177 \begin_layout Standard
38178 Opens a window showing console messages.
38179  This is useful for debugging \SpecialChar LyX
38180  (i.
38181 \begin_inset space \thinspace{}
38182 \end_inset
38183
38184 e., hunt for errors in the program) or to see what is going on in the background
38185  while \SpecialChar LaTeX
38186  is processing the document.
38187 \end_layout
38188
38189 \begin_layout Subsection
38190 Toolbars
38191 \begin_inset CommandInset label
38192 LatexCommand label
38193 name "subsec:Toolbars"
38194
38195 \end_inset
38196
38197
38198 \begin_inset Index idx
38199 status collapsed
38200
38201 \begin_layout Plain Layout
38202 Toolbar
38203 \end_layout
38204
38205 \end_inset
38206
38207
38208 \end_layout
38209
38210 \begin_layout Standard
38211 In this menu entry you can set the icon size and the appearance of the different
38212  toolbars.
38213  All toolbars and the 
38214 \family sans
38215 Command
38216 \begin_inset space ~
38217 \end_inset
38218
38219 Buffer
38220 \family default
38221  can be turned on and off.
38222  The 
38223 \emph on
38224 on
38225 \emph default
38226  state is denoted in the menu with a checkmark.
38227  The 
38228 \family sans
38229 Table
38230 \family default
38231
38232 \family sans
38233 Math,
38234 \family default
38235  
38236 \family sans
38237 Math
38238 \begin_inset space ~
38239 \end_inset
38240
38241 Macros,
38242 \family default
38243  
38244 \family sans
38245 Review
38246 \family default
38247  and 
38248 \family sans
38249 Math
38250 \begin_inset space ~
38251 \end_inset
38252
38253 Panels
38254 \family default
38255  toolbars can additionally be set to the state 
38256 \emph on
38257 automatic
38258 \emph default
38259 , denoted in the menu with the suffix 
38260 \family sans
38261 (auto)
38262 \family default
38263 .
38264 \end_layout
38265
38266 \begin_layout Standard
38267 In the 
38268 \emph on
38269 on
38270 \emph default
38271  state the toolbar is permanently shown; in the 
38272 \emph on
38273 automatic
38274 \emph default
38275  state the toolbar is only shown when the cursor is in a certain environment
38276  or when a certain feature is enabled.
38277  That means that the review toolbar will only be shown if change tracking
38278  is activated, the math and table toolbars are only shown if the cursor
38279  is inside a formula or table respectively.
38280 \end_layout
38281
38282 \begin_layout Standard
38283 \SpecialChar LyX
38284 's toolbars and their buttons are explained in section
38285 \begin_inset space ~
38286 \end_inset
38287
38288
38289 \begin_inset CommandInset ref
38290 LatexCommand ref
38291 reference "sec:Toolbars"
38292
38293 \end_inset
38294
38295 .
38296 \end_layout
38297
38298 \begin_layout Subsection
38299 Split View
38300 \end_layout
38301
38302 \begin_layout Standard
38303
38304 \family sans
38305 Split
38306 \begin_inset space ~
38307 \end_inset
38308
38309 View
38310 \begin_inset space ~
38311 \end_inset
38312
38313 into
38314 \begin_inset space ~
38315 \end_inset
38316
38317 Left
38318 \begin_inset space ~
38319 \end_inset
38320
38321 and
38322 \begin_inset space ~
38323 \end_inset
38324
38325 Right
38326 \begin_inset space ~
38327 \end_inset
38328
38329 Half
38330 \family default
38331  will split \SpecialChar LyX
38332 's main window vertically while 
38333 \family sans
38334 Split
38335 \begin_inset space ~
38336 \end_inset
38337
38338 View
38339 \begin_inset space ~
38340 \end_inset
38341
38342 into
38343 \begin_inset space ~
38344 \end_inset
38345
38346 Upper
38347 \begin_inset space ~
38348 \end_inset
38349
38350 and
38351 \begin_inset space ~
38352 \end_inset
38353
38354 Lower
38355 \begin_inset space ~
38356 \end_inset
38357
38358 Half
38359 \family default
38360  will split it horizontally.
38361  This allows you to view documents at the same time to compare them, or
38362  to view the same document, but at different positions.
38363  You can even split the main window several times to view, for example,
38364  three or more documents at the same time.
38365  To close a split view, use the menu 
38366 \family sans
38367 Close
38368 \begin_inset space ~
38369 \end_inset
38370
38371 Current
38372 \begin_inset space ~
38373 \end_inset
38374
38375 View
38376 \family default
38377 .
38378 \end_layout
38379
38380 \begin_layout Subsection
38381 Close Current View
38382 \end_layout
38383
38384 \begin_layout Standard
38385 Closes a split view.
38386 \end_layout
38387
38388 \begin_layout Subsection
38389 Fullscreen
38390 \end_layout
38391
38392 \begin_layout Standard
38393 Using this menu entry or pressing F11 removes the menu bar and all toolbars
38394  so that you will see nothing but your text.
38395  It furthermore displays \SpecialChar LyX
38396 's main window fullscreen.
38397  To return from fullscreen to the normal view, press F11, or right-click
38398  and turn off the fullscreen mode in the context menu.
38399 \end_layout
38400
38401 \begin_layout Section
38402 The Insert Menu
38403 \begin_inset Index idx
38404 status collapsed
38405
38406 \begin_layout Plain Layout
38407 Menu ! Insert
38408 \end_layout
38409
38410 \end_inset
38411
38412
38413 \end_layout
38414
38415 \begin_layout Subsection
38416 Math
38417 \end_layout
38418
38419 \begin_layout Standard
38420 Inserts math constructs that are explained in chapter
38421 \begin_inset space ~
38422 \end_inset
38423
38424
38425 \begin_inset CommandInset ref
38426 LatexCommand ref
38427 reference "chap:Mathematical-Formulas"
38428
38429 \end_inset
38430
38431  and the 
38432 \emph on
38433 Math
38434 \emph default
38435  manual.
38436 \end_layout
38437
38438 \begin_layout Subsection
38439 Special Character
38440 \begin_inset CommandInset label
38441 LatexCommand label
38442 name "subsec:Special-Character"
38443
38444 \end_inset
38445
38446
38447 \end_layout
38448
38449 \begin_layout Standard
38450 Here you can insert the following characters:
38451 \end_layout
38452
38453 \begin_layout Description
38454 Symbols Opens the 
38455 \family sans
38456 Symbols
38457 \family default
38458  dialog which allows you to insert any character that can be output by your
38459  \SpecialChar LaTeX
38460  system.
38461  By default groups of characters are displayed in character categories;
38462  the available characters depend on the \SpecialChar LaTeX
38463 -packages you have installed.
38464  You can get a complete display by checking 
38465 \family sans
38466 Display
38467 \begin_inset space ~
38468 \end_inset
38469
38470 all
38471 \family default
38472 .
38473 \begin_inset Newline newline
38474 \end_inset
38475
38476  
38477 \begin_inset Note Greyedout
38478 status open
38479
38480 \begin_layout Plain Layout
38481
38482 \series bold
38483 Note:
38484 \series default
38485  Not all characters will be visible in the 
38486 \family sans
38487 Symbols
38488 \family default
38489  dialog because none of the screen fonts that you can set in the preferences
38490  dialog (see section
38491 \begin_inset space ~
38492 \end_inset
38493
38494
38495 \begin_inset CommandInset ref
38496 LatexCommand ref
38497 reference "subsec:Screen-Fonts"
38498
38499 \end_inset
38500
38501 ) can display every character.
38502 \end_layout
38503
38504 \end_inset
38505
38506
38507 \end_layout
38508
38509 \begin_layout Description
38510 Ellipsis Inserts an ellipsis: \SpecialChar ldots
38511
38512 \end_layout
38513
38514 \begin_layout Description
38515 End
38516 \begin_inset space ~
38517 \end_inset
38518
38519 of
38520 \begin_inset space ~
38521 \end_inset
38522
38523 Sentence Inserts an end of sentence period as described in section
38524 \begin_inset space ~
38525 \end_inset
38526
38527
38528 \begin_inset CommandInset ref
38529 LatexCommand ref
38530 reference "subsec:Abbreviations"
38531
38532 \end_inset
38533
38534 .
38535 \end_layout
38536
38537 \begin_layout Description
38538 Ordinary
38539 \begin_inset space ~
38540 \end_inset
38541
38542 Quote Inserts this quote: ", no matter what quote style you selected in
38543  the 
38544 \family sans
38545 Document\SpecialChar menuseparator
38546 Settings\SpecialChar menuseparator
38547 Language
38548 \family default
38549  dialog.
38550 \end_layout
38551
38552 \begin_layout Description
38553 Single
38554 \begin_inset space ~
38555 \end_inset
38556
38557 Quote Inserts a single quote in the quotation marks style selected in the
38558  
38559 \family sans
38560 Document\SpecialChar menuseparator
38561 Settings\SpecialChar menuseparator
38562 Language
38563 \family default
38564  dialog.
38565 \end_layout
38566
38567 \begin_layout Description
38568 Protected
38569 \begin_inset space ~
38570 \end_inset
38571
38572 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar nobreakdash
38573
38574 \end_layout
38575
38576 \begin_layout Description
38577 Breakable
38578 \begin_inset space ~
38579 \end_inset
38580
38581 Slash Inserts a slash where a line break can also occur: \SpecialChar breakableslash
38582
38583 \end_layout
38584
38585 \begin_layout Description
38586 Visible
38587 \begin_inset space ~
38588 \end_inset
38589
38590 Space Inserts a character representing a single space (the one you get when
38591  pressing the 
38592 \family sans
38593 Space
38594 \family default
38595  key): 
38596 \begin_inset space \textvisiblespace{}
38597 \end_inset
38598
38599
38600 \end_layout
38601
38602 \begin_layout Description
38603 Menu
38604 \begin_inset space ~
38605 \end_inset
38606
38607 Separator Inserts the menu separator sign: \SpecialChar menuseparator
38608
38609 \end_layout
38610
38611 \begin_layout Description
38612 Phonetic
38613 \begin_inset space ~
38614 \end_inset
38615
38616 Symbols 
38617 \begin_inset Index idx
38618 status collapsed
38619
38620 \begin_layout Plain Layout
38621 Phonetic symbols
38622 \end_layout
38623
38624 \end_inset
38625
38626
38627 \begin_inset Index idx
38628 status collapsed
38629
38630 \begin_layout Plain Layout
38631 Language ! Phonetic symbols
38632 \end_layout
38633
38634 \end_inset
38635
38636 Inserts a box where you can insert symbols from the International Phonetic
38637  Alphabet (IPA) and opens a toolbar which provides a large set of these
38638  symbols.
38639  To use this feature you must have the \SpecialChar LaTeX
38640 -package 
38641 \series bold
38642 tipa
38643 \series default
38644
38645 \begin_inset Index idx
38646 status collapsed
38647
38648 \begin_layout Plain Layout
38649 \SpecialChar LaTeX
38650  packages ! tipa
38651 \end_layout
38652
38653 \end_inset
38654
38655  installed.
38656 \begin_inset Newline newline
38657 \end_inset
38658
38659 More information about this feature can be found in the 
38660 \emph on
38661 Linguistics
38662 \emph default
38663  manual (
38664 \family sans
38665 Help\SpecialChar menuseparator
38666 Specific Manuals
38667 \family default
38668 ).
38669 \end_layout
38670
38671 \begin_layout Description
38672 Logos Inserts the logos of the programs \SpecialChar LyX
38673 , \SpecialChar TeX
38674 , \SpecialChar LaTeX
38675  and \SpecialChar LaTeX2e
38676 .
38677 \end_layout
38678
38679 \begin_layout Subsection
38680 Formatting
38681 \end_layout
38682
38683 \begin_layout Standard
38684 Opens a submenu with the following options:
38685 \end_layout
38686
38687 \begin_layout Description
38688 Superscript Inserts a superscript: test
38689 \begin_inset script superscript
38690
38691 \begin_layout Plain Layout
38692 a, b
38693 \end_layout
38694
38695 \end_inset
38696
38697
38698 \end_layout
38699
38700 \begin_layout Description
38701 Subscript Inserts a subscript: test
38702 \begin_inset script subscript
38703
38704 \begin_layout Plain Layout
38705 3x
38706 \end_layout
38707
38708 \end_inset
38709
38710
38711 \end_layout
38712
38713 \begin_layout Description
38714 Protected
38715 \begin_inset space ~
38716 \end_inset
38717
38718 Space Inserts a protected space as described in section
38719 \begin_inset space ~
38720 \end_inset
38721
38722
38723 \begin_inset CommandInset ref
38724 LatexCommand ref
38725 reference "subsec:Protected-Space"
38726
38727 \end_inset
38728
38729 .
38730 \end_layout
38731
38732 \begin_layout Description
38733 Interword
38734 \begin_inset space ~
38735 \end_inset
38736
38737 Space Inserts an inter-word space as described in section
38738 \begin_inset space ~
38739 \end_inset
38740
38741
38742 \begin_inset CommandInset ref
38743 LatexCommand ref
38744 reference "subsec:Inter-word-Space"
38745
38746 \end_inset
38747
38748 .
38749 \end_layout
38750
38751 \begin_layout Description
38752 Thin
38753 \begin_inset space ~
38754 \end_inset
38755
38756 Space Inserts a thin space as described in section
38757 \begin_inset space ~
38758 \end_inset
38759
38760
38761 \begin_inset CommandInset ref
38762 LatexCommand ref
38763 reference "subsec:Thin-Space"
38764
38765 \end_inset
38766
38767 .
38768 \end_layout
38769
38770 \begin_layout Description
38771 Visible
38772 \begin_inset space ~
38773 \end_inset
38774
38775 Space Inserts a character to visualize that there is or should be a space.
38776  This is e.
38777 \begin_inset space \thinspace{}
38778 \end_inset
38779
38780 g.
38781 \begin_inset space \space{}
38782 \end_inset
38783
38784 useful if you need to indicate a space in a command sequence.
38785  An example from the \SpecialChar LyX
38786  
38787 \emph on
38788 Math
38789 \emph default
38790  manual: 
38791 \begin_inset Quotes eld
38792 \end_inset
38793
38794 To insert a fraction use the command 
38795 \series bold
38796
38797 \backslash
38798 frac
38799 \begin_inset space \textvisiblespace{}
38800 \end_inset
38801
38802 A
38803 \begin_inset Formula $\downarrow$
38804 \end_inset
38805
38806 B.
38807 \series default
38808
38809 \begin_inset Quotes erd
38810 \end_inset
38811
38812  The visible space is hereby the character before the 
38813 \series bold
38814 A
38815 \series default
38816 .
38817 \end_layout
38818
38819 \begin_layout Description
38820 Horizontal
38821 \begin_inset space ~
38822 \end_inset
38823
38824 Space Inserts horizontal space as described in section
38825 \begin_inset space ~
38826 \end_inset
38827
38828
38829 \begin_inset CommandInset ref
38830 LatexCommand ref
38831 reference "subsec:Horizontal-Space"
38832
38833 \end_inset
38834
38835 .
38836 \end_layout
38837
38838 \begin_layout Description
38839 Horizontal
38840 \begin_inset space ~
38841 \end_inset
38842
38843 Line Inserts a horizontal line as described in section
38844 \begin_inset space ~
38845 \end_inset
38846
38847
38848 \begin_inset CommandInset ref
38849 LatexCommand ref
38850 reference "subsec:Horizontal-Lines"
38851
38852 \end_inset
38853
38854 .
38855 \end_layout
38856
38857 \begin_layout Description
38858 Vertical
38859 \begin_inset space ~
38860 \end_inset
38861
38862 Space Inserts vertical space as described in section
38863 \begin_inset space ~
38864 \end_inset
38865
38866
38867 \begin_inset CommandInset ref
38868 LatexCommand ref
38869 reference "subsec:Vertical-Space"
38870
38871 \end_inset
38872
38873 .
38874 \end_layout
38875
38876 \begin_layout Description
38877 Phantom Inserts a Phantom space as described in section
38878 \begin_inset space ~
38879 \end_inset
38880
38881
38882 \begin_inset CommandInset ref
38883 LatexCommand ref
38884 reference "subsec:Phantom-Space"
38885
38886 \end_inset
38887
38888 .
38889 \end_layout
38890
38891 \begin_layout Description
38892 Hyphenation
38893 \begin_inset space ~
38894 \end_inset
38895
38896 Point Inserts a hyphenation point as described in section
38897 \begin_inset space ~
38898 \end_inset
38899
38900
38901 \begin_inset CommandInset ref
38902 LatexCommand ref
38903 reference "subsec:Hyphenation"
38904
38905 \end_inset
38906
38907 .
38908 \end_layout
38909
38910 \begin_layout Description
38911 Ligature
38912 \begin_inset space ~
38913 \end_inset
38914
38915 Break Inserts a ligature break as described in section
38916 \begin_inset space ~
38917 \end_inset
38918
38919
38920 \begin_inset CommandInset ref
38921 LatexCommand ref
38922 reference "subsec:Ligatures"
38923
38924 \end_inset
38925
38926 .
38927 \end_layout
38928
38929 \begin_layout Description
38930 Optional
38931 \begin_inset space ~
38932 \end_inset
38933
38934 Line
38935 \begin_inset space ~
38936 \end_inset
38937
38938 Break Inserts a line break point (zero-width space character) that is invisible
38939  in the output.
38940  See section
38941 \begin_inset space ~
38942 \end_inset
38943
38944
38945 \begin_inset CommandInset ref
38946 LatexCommand ref
38947 reference "subsec:Dashes-and-line-breaks"
38948 plural "false"
38949 caps "false"
38950 noprefix "false"
38951
38952 \end_inset
38953
38954  for a usage example.
38955 \end_layout
38956
38957 \begin_layout Description
38958 Ragged
38959 \begin_inset space ~
38960 \end_inset
38961
38962 Line
38963 \begin_inset space ~
38964 \end_inset
38965
38966 Break Inserts a forced line break as described in section
38967 \begin_inset space ~
38968 \end_inset
38969
38970
38971 \begin_inset CommandInset ref
38972 LatexCommand ref
38973 reference "subsec:Forced-Line-Breaks"
38974
38975 \end_inset
38976
38977 .
38978 \end_layout
38979
38980 \begin_layout Description
38981 Justified
38982 \begin_inset space ~
38983 \end_inset
38984
38985 Break Inserts a forced line break that right justifies the remaining text
38986  as described in section
38987 \begin_inset space ~
38988 \end_inset
38989
38990
38991 \begin_inset CommandInset ref
38992 LatexCommand ref
38993 reference "subsec:Forced-Line-Breaks"
38994
38995 \end_inset
38996
38997 .
38998 \end_layout
38999
39000 \begin_layout Description
39001 New
39002 \begin_inset space ~
39003 \end_inset
39004
39005 Page Inserts a forced page break as described in section
39006 \begin_inset space ~
39007 \end_inset
39008
39009
39010 \begin_inset CommandInset ref
39011 LatexCommand ref
39012 reference "subsec:Forced-Page-Breaks"
39013
39014 \end_inset
39015
39016 .
39017 \end_layout
39018
39019 \begin_layout Description
39020 Page
39021 \begin_inset space ~
39022 \end_inset
39023
39024 Break Inserts a forced page break that shares the extra space among paragraph
39025  breaks instead of leaving it at the bottom of the page, as described in
39026  section
39027 \begin_inset space ~
39028 \end_inset
39029
39030
39031 \begin_inset CommandInset ref
39032 LatexCommand ref
39033 reference "subsec:Forced-Page-Breaks"
39034
39035 \end_inset
39036
39037 .
39038 \end_layout
39039
39040 \begin_layout Description
39041 Clear
39042 \begin_inset space ~
39043 \end_inset
39044
39045 Page Inserts a clear page break as described in section
39046 \begin_inset space ~
39047 \end_inset
39048
39049
39050 \begin_inset CommandInset ref
39051 LatexCommand ref
39052 reference "subsec:Clear-Page-Breaks"
39053
39054 \end_inset
39055
39056 .
39057 \end_layout
39058
39059 \begin_layout Description
39060 Clear
39061 \begin_inset space ~
39062 \end_inset
39063
39064 Double
39065 \begin_inset space ~
39066 \end_inset
39067
39068 Page Inserts a clear doublepage break as described in section
39069 \begin_inset space ~
39070 \end_inset
39071
39072
39073 \begin_inset CommandInset ref
39074 LatexCommand ref
39075 reference "subsec:Clear-Page-Breaks"
39076
39077 \end_inset
39078
39079 .
39080 \end_layout
39081
39082 \begin_layout Subsection
39083 List/TOC
39084 \end_layout
39085
39086 \begin_layout Standard
39087 Various lists can be inserted with this menu entry.
39088  The 
39089 \family sans
39090 Table
39091 \begin_inset space ~
39092 \end_inset
39093
39094 of Contents
39095 \family default
39096 , the 
39097 \family sans
39098 List of Algorithms
39099 \family default
39100
39101 \family sans
39102 List of Figures,
39103 \family default
39104  
39105 \family sans
39106 List of Tables
39107 \family default
39108  and 
39109 \family sans
39110 List of Listings
39111 \family default
39112  are described in section
39113 \begin_inset space ~
39114 \end_inset
39115
39116
39117 \begin_inset CommandInset ref
39118 LatexCommand ref
39119 reference "sec:toc"
39120
39121 \end_inset
39122
39123 .
39124  The 
39125 \family sans
39126 Index List
39127 \family default
39128  is described in section
39129 \begin_inset space ~
39130 \end_inset
39131
39132
39133 \begin_inset CommandInset ref
39134 LatexCommand ref
39135 reference "sec:Index"
39136
39137 \end_inset
39138
39139 , the 
39140 \family sans
39141 Nomenclature
39142 \family default
39143  is described in section
39144 \begin_inset space ~
39145 \end_inset
39146
39147
39148 \begin_inset CommandInset ref
39149 LatexCommand ref
39150 reference "sec:Nomenclature"
39151
39152 \end_inset
39153
39154  and the 
39155 \family sans
39156 Bib\SpecialChar TeX
39157  Bibliography
39158 \family default
39159  is described in section
39160 \begin_inset space ~
39161 \end_inset
39162
39163
39164 \begin_inset CommandInset ref
39165 LatexCommand ref
39166 reference "subsec:Bibliography-databases"
39167
39168 \end_inset
39169
39170 .
39171 \end_layout
39172
39173 \begin_layout Subsection
39174 Float
39175 \end_layout
39176
39177 \begin_layout Standard
39178 To insert floats, as described in section
39179 \begin_inset space ~
39180 \end_inset
39181
39182
39183 \begin_inset CommandInset ref
39184 LatexCommand ref
39185 reference "sec:Floats"
39186
39187 \end_inset
39188
39189  and in detail the chapter 
39190 \emph on
39191 Floats
39192 \emph default
39193  of the 
39194 \emph on
39195 Embedded
39196 \begin_inset space ~
39197 \end_inset
39198
39199 Objects
39200 \emph default
39201  manual.
39202 \end_layout
39203
39204 \begin_layout Subsection
39205 Note
39206 \end_layout
39207
39208 \begin_layout Standard
39209 To insert notes, described in section
39210 \begin_inset space ~
39211 \end_inset
39212
39213
39214 \begin_inset CommandInset ref
39215 LatexCommand ref
39216 reference "sec:Notes"
39217
39218 \end_inset
39219
39220 .
39221 \end_layout
39222
39223 \begin_layout Subsection
39224 Branch
39225 \end_layout
39226
39227 \begin_layout Standard
39228 Inserts a branch inset, if any, and allowing you to create and insert a
39229  new branch.
39230  Branches are described in section
39231 \begin_inset space ~
39232 \end_inset
39233
39234
39235 \begin_inset CommandInset ref
39236 LatexCommand ref
39237 reference "sec:Branches"
39238
39239 \end_inset
39240
39241 .
39242 \end_layout
39243
39244 \begin_layout Subsection
39245 Custom Insets
39246 \end_layout
39247
39248 \begin_layout Standard
39249 Inserts document class-specific insets.
39250  Such insets only exist if they are defined in the layout file for a certain
39251  document class.
39252  An example is the document class 
39253 \begin_inset Quotes eld
39254 \end_inset
39255
39256 article (Elsevier)
39257 \begin_inset Quotes erd
39258 \end_inset
39259
39260  with three custom insets.
39261  The section 
39262 \emph on
39263 Flex insets and InsetLayout
39264 \emph default
39265  in 
39266 \emph on
39267 Installing New Document Classes, The Layout file format 
39268 \emph default
39269 of the 
39270 \emph on
39271 Customization
39272 \emph default
39273  manual explains how custom insets are defined.
39274 \end_layout
39275
39276 \begin_layout Subsection
39277 File
39278 \begin_inset Index idx
39279 status collapsed
39280
39281 \begin_layout Plain Layout
39282 External Material
39283 \end_layout
39284
39285 \end_inset
39286
39287
39288 \end_layout
39289
39290 \begin_layout Standard
39291 This menu entry allows you to insert or include the contents of other files
39292  in your document.
39293  For more information see chapter 
39294 \emph on
39295 External Document Parts
39296 \emph default
39297  of the Embedded
39298 \begin_inset space ~
39299 \end_inset
39300
39301 Objects manual.
39302 \end_layout
39303
39304 \begin_layout Subsection
39305 Box
39306 \begin_inset Index idx
39307 status collapsed
39308
39309 \begin_layout Plain Layout
39310 Boxes
39311 \end_layout
39312
39313 \end_inset
39314
39315
39316 \end_layout
39317
39318 \begin_layout Standard
39319 Inserts a box in a certain style.
39320  Boxes are described in detail in the chapter 
39321 \emph on
39322 Boxes
39323 \emph default
39324  of the 
39325 \emph on
39326 Embedded
39327 \begin_inset space ~
39328 \end_inset
39329
39330 Objects
39331 \emph default
39332  manual.
39333 \end_layout
39334
39335 \begin_layout Subsection
39336 Citation
39337 \end_layout
39338
39339 \begin_layout Standard
39340 Opens the 
39341 \family sans
39342 Citation
39343 \family default
39344  dialog as described in section
39345 \begin_inset space ~
39346 \end_inset
39347
39348
39349 \begin_inset CommandInset ref
39350 LatexCommand ref
39351 reference "sec:Bibliography"
39352
39353 \end_inset
39354
39355 .
39356 \end_layout
39357
39358 \begin_layout Subsection
39359 Cross-Reference
39360 \end_layout
39361
39362 \begin_layout Standard
39363 Inserts a 
39364 \family sans
39365 cross-reference
39366 \family default
39367  as described in section
39368 \begin_inset space ~
39369 \end_inset
39370
39371
39372 \begin_inset CommandInset ref
39373 LatexCommand ref
39374 reference "sec:Cross-References"
39375
39376 \end_inset
39377
39378 .
39379 \end_layout
39380
39381 \begin_layout Subsection
39382 Label
39383 \end_layout
39384
39385 \begin_layout Standard
39386 Inserts a 
39387 \family sans
39388 label
39389 \family default
39390  as described in section
39391 \begin_inset space ~
39392 \end_inset
39393
39394
39395 \begin_inset CommandInset ref
39396 LatexCommand ref
39397 reference "sec:Cross-References"
39398
39399 \end_inset
39400
39401 .
39402 \end_layout
39403
39404 \begin_layout Subsection
39405 Caption
39406 \begin_inset Index idx
39407 status collapsed
39408
39409 \begin_layout Plain Layout
39410 Captions
39411 \end_layout
39412
39413 \end_inset
39414
39415
39416 \begin_inset Index idx
39417 status collapsed
39418
39419 \begin_layout Plain Layout
39420 Tables ! Multi-page ! Caption
39421 \end_layout
39422
39423 \end_inset
39424
39425
39426 \end_layout
39427
39428 \begin_layout Standard
39429 Inserts a caption in a float or multi-page table.
39430  Floats are described in section
39431 \begin_inset space ~
39432 \end_inset
39433
39434
39435 \begin_inset CommandInset ref
39436 LatexCommand ref
39437 reference "sec:Floats"
39438
39439 \end_inset
39440
39441 ; captions in multi-page tables are described in the section 
39442 \emph on
39443 Multi-page Captions
39444 \emph default
39445  of the 
39446 \emph on
39447 Embedded
39448 \begin_inset space ~
39449 \end_inset
39450
39451 Objects
39452 \emph default
39453  manual.
39454 \end_layout
39455
39456 \begin_layout Subsection
39457 Index Entry
39458 \end_layout
39459
39460 \begin_layout Standard
39461 Inserts an index entry as described in section
39462 \begin_inset space ~
39463 \end_inset
39464
39465
39466 \begin_inset CommandInset ref
39467 LatexCommand ref
39468 reference "sec:Index"
39469
39470 \end_inset
39471
39472 .
39473 \end_layout
39474
39475 \begin_layout Subsection
39476 Nomenclature Entry
39477 \end_layout
39478
39479 \begin_layout Standard
39480 Inserts a nomenclature entry as described in section
39481 \begin_inset space ~
39482 \end_inset
39483
39484
39485 \begin_inset CommandInset ref
39486 LatexCommand ref
39487 reference "sec:Nomenclature"
39488
39489 \end_inset
39490
39491 .
39492 \end_layout
39493
39494 \begin_layout Subsection
39495 Table
39496 \end_layout
39497
39498 \begin_layout Standard
39499 Opens a dialog allowing you to specify the rows and columns of the table.
39500  Tables are described in section
39501 \begin_inset space ~
39502 \end_inset
39503
39504
39505 \begin_inset CommandInset ref
39506 LatexCommand ref
39507 reference "sec:Tables"
39508
39509 \end_inset
39510
39511  and in detail in the chapter 
39512 \emph on
39513 Tables
39514 \emph default
39515  of the 
39516 \emph on
39517 Embedded
39518 \begin_inset space ~
39519 \end_inset
39520
39521 Objects
39522 \emph default
39523  manual.
39524 \end_layout
39525
39526 \begin_layout Subsection
39527 Graphics
39528 \end_layout
39529
39530 \begin_layout Standard
39531 Opens the 
39532 \family sans
39533 Graphics
39534 \family default
39535  dialog.
39536  Graphics are described in section
39537 \begin_inset space ~
39538 \end_inset
39539
39540
39541 \begin_inset CommandInset ref
39542 LatexCommand ref
39543 reference "sec:Graphics"
39544
39545 \end_inset
39546
39547 .
39548 \end_layout
39549
39550 \begin_layout Subsection
39551 URL
39552 \end_layout
39553
39554 \begin_layout Standard
39555 Inserts a URL as described in section
39556 \begin_inset space ~
39557 \end_inset
39558
39559
39560 \begin_inset CommandInset ref
39561 LatexCommand ref
39562 reference "subsec:URLs"
39563
39564 \end_inset
39565
39566 .
39567 \end_layout
39568
39569 \begin_layout Subsection
39570 Hyperlink
39571 \end_layout
39572
39573 \begin_layout Standard
39574 Inserts a hyperlink as described in section
39575 \begin_inset space ~
39576 \end_inset
39577
39578
39579 \begin_inset CommandInset ref
39580 LatexCommand ref
39581 reference "subsec:Hyperlinks"
39582
39583 \end_inset
39584
39585 .
39586 \end_layout
39587
39588 \begin_layout Subsection
39589 Footnote
39590 \end_layout
39591
39592 \begin_layout Standard
39593 Inserts a footnote as described in section
39594 \begin_inset space ~
39595 \end_inset
39596
39597
39598 \begin_inset CommandInset ref
39599 LatexCommand ref
39600 reference "sec:Footnotes"
39601
39602 \end_inset
39603
39604 .
39605 \end_layout
39606
39607 \begin_layout Subsection
39608 Marginal Note
39609 \end_layout
39610
39611 \begin_layout Standard
39612 Inserts a marginal note as described in section
39613 \begin_inset space ~
39614 \end_inset
39615
39616
39617 \begin_inset CommandInset ref
39618 LatexCommand ref
39619 reference "sec:Marginal-Notes"
39620
39621 \end_inset
39622
39623 .
39624 \end_layout
39625
39626 \begin_layout Subsection
39627
39628 \family sans
39629 Separate <Name> (Above/Below)
39630 \end_layout
39631
39632 \begin_layout Standard
39633 These menu items are only visible if it is possible to have two consecutive
39634  environments of the same type.
39635  See section
39636 \begin_inset space ~
39637 \end_inset
39638
39639
39640 \begin_inset CommandInset ref
39641 LatexCommand ref
39642 reference "subsec:Separate-Nestings"
39643
39644 \end_inset
39645
39646  for an explanation.
39647 \end_layout
39648
39649 \begin_layout Subsection
39650 Short Title
39651 \end_layout
39652
39653 \begin_layout Standard
39654 Is only visible if the cursor is in front, in or behind a section heading,
39655  title or caption of a float.
39656  Inserts a short title as described in section
39657 \begin_inset space ~
39658 \end_inset
39659
39660
39661 \begin_inset CommandInset ref
39662 LatexCommand ref
39663 reference "sec:Short-Titles"
39664
39665 \end_inset
39666
39667 .
39668 \end_layout
39669
39670 \begin_layout Subsection
39671 \SpecialChar TeX
39672  Code
39673 \end_layout
39674
39675 \begin_layout Standard
39676 Inserts a \SpecialChar TeX
39677  Code box as described in section
39678 \begin_inset space ~
39679 \end_inset
39680
39681
39682 \begin_inset CommandInset ref
39683 LatexCommand ref
39684 reference "subsec:TeX-Code-Boxes"
39685
39686 \end_inset
39687
39688 .
39689 \end_layout
39690
39691 \begin_layout Subsection
39692 Program Listing
39693 \begin_inset Index idx
39694 status collapsed
39695
39696 \begin_layout Plain Layout
39697 Program listings
39698 \end_layout
39699
39700 \end_inset
39701
39702
39703 \end_layout
39704
39705 \begin_layout Standard
39706 Inserts a program listings box.
39707  Program listings are explained in the chapter 
39708 \emph on
39709 Program Code Listings
39710 \emph default
39711  of the 
39712 \emph on
39713 Embedded
39714 \begin_inset space ~
39715 \end_inset
39716
39717 Objects
39718 \emph default
39719  manual.
39720 \end_layout
39721
39722 \begin_layout Subsection
39723 Date
39724 \end_layout
39725
39726 \begin_layout Standard
39727 Inserts the actual date.
39728  The format depends on the date format of the language that is used for
39729  \SpecialChar LyX
39730 's menus.
39731 \end_layout
39732
39733 \begin_layout Subsection
39734 Preview
39735 \end_layout
39736
39737 \begin_layout Standard
39738 Inserts a preview inset as described in section
39739 \begin_inset space ~
39740 \end_inset
39741
39742
39743 \begin_inset CommandInset ref
39744 LatexCommand ref
39745 reference "sec:Previewing-snippets-of"
39746
39747 \end_inset
39748
39749 .
39750 \end_layout
39751
39752 \begin_layout Section
39753 The Navigate Menu
39754 \begin_inset Index idx
39755 status collapsed
39756
39757 \begin_layout Plain Layout
39758 Menu ! Navigate
39759 \end_layout
39760
39761 \end_inset
39762
39763
39764 \end_layout
39765
39766 \begin_layout Standard
39767 This menu lists the existing chapters, sections, figures, tables, etc.
39768 \begin_inset space ~
39769 \end_inset
39770
39771 of the current document.
39772  This allows you to navigate easily through your document.
39773 \end_layout
39774
39775 \begin_layout Subsection
39776 Bookmarks
39777 \end_layout
39778
39779 \begin_layout Standard
39780 With this menu entry you are able to define your own bookmarks.
39781  This is useful when you are working on a large document and often have
39782  to jump, for example, between section
39783 \begin_inset space ~
39784 \end_inset
39785
39786 2.5 and 6.3.
39787  To create bookmarks for this example, go to section
39788 \begin_inset space ~
39789 \end_inset
39790
39791 2.5 and use the submenu 
39792 \family sans
39793 Save
39794 \begin_inset space ~
39795 \end_inset
39796
39797 Bookmark
39798 \begin_inset space ~
39799 \end_inset
39800
39801 1
39802 \family default
39803 .
39804  Then go to section
39805 \begin_inset space ~
39806 \end_inset
39807
39808 6.3 and use 
39809 \family sans
39810 Save
39811 \begin_inset space ~
39812 \end_inset
39813
39814 Bookmark
39815 \begin_inset space ~
39816 \end_inset
39817
39818
39819 \family default
39820 2.
39821  Now you can jump easily between these sections by using the menu or by
39822  the key bindings 
39823 \begin_inset Info
39824 type  "shortcut"
39825 arg   "bookmark-goto 1"
39826 \end_inset
39827
39828  and 
39829 \begin_inset Info
39830 type  "shortcut"
39831 arg   "bookmark-goto 2"
39832 \end_inset
39833
39834 .You can also use bookmarks to jump between several opened documents.
39835 \end_layout
39836
39837 \begin_layout Standard
39838 The saved bookmarks are valid till the document is closed.
39839  The submenu 
39840 \family sans
39841 Clear
39842 \begin_inset space ~
39843 \end_inset
39844
39845 Bookmarks
39846 \family default
39847  allows you to clear bookmarks while the submenu 
39848 \family sans
39849 Navigate
39850 \begin_inset space ~
39851 \end_inset
39852
39853 Back
39854 \family default
39855  jumps to the position in the document where you recently changed something.
39856 \end_layout
39857
39858 \begin_layout Subsection
39859 Next Note, Change, Cross-reference
39860 \end_layout
39861
39862 \begin_layout Standard
39863 Jump to the next note, change, or cross-reference after the current cursor
39864  position.
39865 \end_layout
39866
39867 \begin_layout Subsection
39868 Go to Label
39869 \end_layout
39870
39871 \begin_layout Standard
39872 Only active if the cursor is in front of a cross-reference.
39873  Sets the cursor before the referenced label.
39874  (It is the same as if you right-click on a cross-reference box and use
39875  
39876 \family sans
39877 Go
39878 \begin_inset space ~
39879 \end_inset
39880
39881 to
39882 \begin_inset space ~
39883 \end_inset
39884
39885 Label)
39886 \family default
39887 .
39888 \end_layout
39889
39890 \begin_layout Subsection
39891 Forward Search
39892 \end_layout
39893
39894 \begin_layout Standard
39895 Allows you to jump directly to the corresponding text part in the output,
39896  see section 
39897 \emph on
39898 The \SpecialChar LyX
39899  Server\SpecialChar menuseparator
39900 Forward
39901 \begin_inset space ~
39902 \end_inset
39903
39904 search
39905 \emph default
39906  in the 
39907 \emph on
39908 Additional
39909 \begin_inset space ~
39910 \end_inset
39911
39912 Features
39913 \emph default
39914  manual for a detailed description.
39915 \end_layout
39916
39917 \begin_layout Section
39918 The Document Menu
39919 \begin_inset Index idx
39920 status collapsed
39921
39922 \begin_layout Plain Layout
39923 Menu ! Document
39924 \end_layout
39925
39926 \end_inset
39927
39928
39929 \end_layout
39930
39931 \begin_layout Subsection
39932 Change Tracking
39933 \end_layout
39934
39935 \begin_layout Standard
39936 Change Tracking is described in section
39937 \begin_inset space ~
39938 \end_inset
39939
39940
39941 \begin_inset CommandInset ref
39942 LatexCommand ref
39943 reference "sec:Change-Tracking"
39944
39945 \end_inset
39946
39947 .
39948 \end_layout
39949
39950 \begin_layout Subsection
39951 La
39952 \family sans
39953 TeX
39954 \family default
39955  Log
39956 \end_layout
39957
39958 \begin_layout Standard
39959 After running \SpecialChar LaTeX
39960  by viewing or exporting a document, this menu will be enabled.
39961  It shows the logfile of the \SpecialChar LaTeX
39962 -program used.
39963  You can go to the next error or the next warning, search, copy something
39964  to the clipboard or update the view.
39965 \begin_inset Newline newline
39966 \end_inset
39967
39968 With the help of the logfile, experts can find reasons for \SpecialChar LaTeX
39969 -errors.
39970 \end_layout
39971
39972 \begin_layout Standard
39973 With the button 
39974 \family sans
39975 Open Containing Directory
39976 \family default
39977  one can open \SpecialChar LyX
39978 's temporary folder for the document.
39979  This folder contains all converted and created files to generate the output.
39980  Some of these files might be of interest for experts to solve problems
39981  or for writers who need to supply intermediate files.
39982  For example some journals require to send the 
39983 \family sans
39984 *.bbl
39985 \family default
39986  file (a text file with the used Bib\SpecialChar TeX
39987  references).
39988 \end_layout
39989
39990 \begin_layout Subsection
39991 Start Appendix Here
39992 \end_layout
39993
39994 \begin_layout Standard
39995 Sets the start of the appendices of the document at the current cursor position
39996  as described in section
39997 \begin_inset space ~
39998 \end_inset
39999
40000
40001 \begin_inset CommandInset ref
40002 LatexCommand ref
40003 reference "sec:Appendices"
40004
40005 \end_inset
40006
40007 .
40008 \end_layout
40009
40010 \begin_layout Subsection
40011 View
40012 \begin_inset space ~
40013 \end_inset
40014
40015 [<output format>]
40016 \end_layout
40017
40018 \begin_layout Standard
40019 This menu entry generates the output in the format you have specified as
40020  default output format for the document (menu 
40021 \family sans
40022 Document\SpecialChar menuseparator
40023 Settings\SpecialChar menuseparator
40024 Output\SpecialChar menuseparator
40025 Default
40026 \begin_inset space ~
40027 \end_inset
40028
40029 Output
40030 \begin_inset space ~
40031 \end_inset
40032
40033 Format
40034 \family default
40035 ; see section
40036 \begin_inset space ~
40037 \end_inset
40038
40039
40040 \begin_inset CommandInset ref
40041 LatexCommand ref
40042 reference "sec:Doc-Formats"
40043
40044 \end_inset
40045
40046 ) or in the \SpecialChar LyX
40047  preferences (menu 
40048 \family sans
40049 Tools\SpecialChar menuseparator
40050 Preferences\SpecialChar menuseparator
40051 File
40052 \begin_inset space ~
40053 \end_inset
40054
40055 Handling\SpecialChar menuseparator
40056 File
40057 \begin_inset space ~
40058 \end_inset
40059
40060 Formats\SpecialChar menuseparator
40061 Default
40062 \begin_inset space ~
40063 \end_inset
40064
40065 Output
40066 \begin_inset space ~
40067 \end_inset
40068
40069 Format
40070 \family default
40071 ; see section
40072 \begin_inset space ~
40073 \end_inset
40074
40075
40076 \begin_inset CommandInset ref
40077 LatexCommand ref
40078 reference "sec:File-Formats"
40079
40080 \end_inset
40081
40082 ) and opens it in an appropriate viewer.
40083  The viewer can be set or changed in the preferences (menu 
40084 \family sans
40085 Tools\SpecialChar menuseparator
40086 Preferences\SpecialChar menuseparator
40087 File
40088 \begin_inset space ~
40089 \end_inset
40090
40091 Handling\SpecialChar menuseparator
40092 File
40093 \begin_inset space ~
40094 \end_inset
40095
40096 Formats\SpecialChar menuseparator
40097 Viewer
40098 \family default
40099 ; see section
40100 \begin_inset space ~
40101 \end_inset
40102
40103
40104 \begin_inset CommandInset ref
40105 LatexCommand ref
40106 reference "sec:File-Formats"
40107
40108 \end_inset
40109
40110 ).
40111  The default viewers are set by \SpecialChar LyX
40112  when it is first configured.
40113  The default output format is 
40114 \family sans
40115 PDF
40116 \begin_inset space ~
40117 \end_inset
40118
40119 (pdflatex)
40120 \family default
40121 .
40122 \end_layout
40123
40124 \begin_layout Subsection
40125 View (Other Formats)
40126 \end_layout
40127
40128 \begin_layout Standard
40129 With this menu you can view your document in alternative output formats.
40130  The menu contains a list of available formats in which you can view the
40131  actual document with an external program.
40132  The menu entries are not the same on all installations — it depends on
40133  the \SpecialChar LaTeX
40134  programs that are found when \SpecialChar LyX
40135  was configured.
40136  All possible formats are listed in section
40137 \begin_inset space ~
40138 \end_inset
40139
40140
40141 \begin_inset CommandInset ref
40142 LatexCommand ref
40143 reference "subsec:Export"
40144
40145 \end_inset
40146
40147 .
40148  You should at least see the menu entry 
40149 \family sans
40150 DVI
40151 \family default
40152 .
40153  If it is missing, you need to update or repair your \SpecialChar LaTeX
40154  installation.
40155  After updating you have to reconfigure \SpecialChar LyX
40156  (see section
40157 \begin_inset space ~
40158 \end_inset
40159
40160
40161 \begin_inset CommandInset ref
40162 LatexCommand ref
40163 reference "sec:Basic-LyX-Setup"
40164
40165 \end_inset
40166
40167 .
40168 \begin_inset Index idx
40169 status collapsed
40170
40171 \begin_layout Plain Layout
40172 Reconfiguration of \SpecialChar LyX
40173
40174 \end_layout
40175
40176 \end_inset
40177
40178 )
40179 \end_layout
40180
40181 \begin_layout Standard
40182 Invoking a view menu will start a viewer program.
40183  The viewer can be set or changed in the preferences (menu 
40184 \family sans
40185 Tools\SpecialChar menuseparator
40186 Preferences\SpecialChar menuseparator
40187 File
40188 \begin_inset space ~
40189 \end_inset
40190
40191 Handling\SpecialChar menuseparator
40192 File
40193 \begin_inset space ~
40194 \end_inset
40195
40196 Formats\SpecialChar menuseparator
40197 Viewer
40198 \family default
40199 ; see section
40200 \begin_inset space ~
40201 \end_inset
40202
40203
40204 \begin_inset CommandInset ref
40205 LatexCommand ref
40206 reference "sec:File-Formats"
40207
40208 \end_inset
40209
40210 ).
40211  The default viewers are set by \SpecialChar LyX
40212  when it is first configured.
40213 \end_layout
40214
40215 \begin_layout Subsection
40216 Update
40217 \begin_inset space ~
40218 \end_inset
40219
40220 [<output format>]
40221 \end_layout
40222
40223 \begin_layout Standard
40224 This menu entry allows you to update the view with your latest changes (in
40225  the default output format) without opening a new viewer window.
40226 \end_layout
40227
40228 \begin_layout Subsection
40229 Update (Other Formats)
40230 \end_layout
40231
40232 \begin_layout Standard
40233 With this menu you can update the view of alternative output formats of
40234  your document without opening a new viewer window.
40235 \end_layout
40236
40237 \begin_layout Subsection
40238 View Master Document
40239 \end_layout
40240
40241 \begin_layout Standard
40242 This menu item is only visible if your document is included to another document,
40243  which is then its 
40244 \begin_inset Quotes eld
40245 \end_inset
40246
40247 master
40248 \begin_inset Quotes erd
40249 \end_inset
40250
40251  (see section 
40252 \emph on
40253 Child Documents
40254 \emph default
40255  in the 
40256 \emph on
40257 Embedded
40258 \begin_inset space ~
40259 \end_inset
40260
40261 Objects
40262 \emph default
40263  manual for more information on this topic).
40264  This item allows you to view the master document from within its child.
40265  That is, if you are working on a child document which is a chapter of a
40266  book, 
40267 \family sans
40268 View
40269 \begin_inset space ~
40270 \end_inset
40271
40272 Master
40273 \begin_inset space ~
40274 \end_inset
40275
40276 Document
40277 \family default
40278  generates the output of the whole book, while 
40279 \family sans
40280 View
40281 \family default
40282  will just output the chapter alone.
40283 \end_layout
40284
40285 \begin_layout Standard
40286 The format used by this function is the default output format as specified
40287  in the document settings (menu 
40288 \family sans
40289 Document\SpecialChar menuseparator
40290 Settings\SpecialChar menuseparator
40291 Output\SpecialChar menuseparator
40292 Default
40293 \begin_inset space ~
40294 \end_inset
40295
40296 Output
40297 \begin_inset space ~
40298 \end_inset
40299
40300 Format
40301 \family default
40302 ; see section
40303 \begin_inset space ~
40304 \end_inset
40305
40306
40307 \begin_inset CommandInset ref
40308 LatexCommand ref
40309 reference "sec:Doc-Formats"
40310
40311 \end_inset
40312
40313 ) or in the preferences (menu 
40314 \family sans
40315 Tools\SpecialChar menuseparator
40316 Preferences\SpecialChar menuseparator
40317 File
40318 \begin_inset space ~
40319 \end_inset
40320
40321 Handling\SpecialChar menuseparator
40322 File
40323 \begin_inset space ~
40324 \end_inset
40325
40326 Formats\SpecialChar menuseparator
40327 Default
40328 \begin_inset space ~
40329 \end_inset
40330
40331 Output
40332 \begin_inset space ~
40333 \end_inset
40334
40335 Format
40336 \family default
40337 ; see section
40338 \begin_inset space ~
40339 \end_inset
40340
40341
40342 \begin_inset CommandInset ref
40343 LatexCommand ref
40344 reference "sec:File-Formats"
40345
40346 \end_inset
40347
40348 ).
40349 \end_layout
40350
40351 \begin_layout Subsection
40352 Update Master Document
40353 \end_layout
40354
40355 \begin_layout Standard
40356 This menu item is only visible if your document is included to another document,
40357  which is then its 
40358 \begin_inset Quotes eld
40359 \end_inset
40360
40361 master
40362 \begin_inset Quotes erd
40363 \end_inset
40364
40365  (see section 
40366 \emph on
40367 Child Documents
40368 \emph default
40369  in the 
40370 \emph on
40371 Embedded
40372 \begin_inset space ~
40373 \end_inset
40374
40375 Objects
40376 \emph default
40377  manual for more information on this topic).
40378  This item allows you to update the view of a master document from within
40379  its child without the need to switch to the master document itself.
40380 \end_layout
40381
40382 \begin_layout Standard
40383 The format used by this function is the default output format as specified
40384  in the document settings (menu 
40385 \family sans
40386 Document\SpecialChar menuseparator
40387 Settings\SpecialChar menuseparator
40388 Output\SpecialChar menuseparator
40389 Default
40390 \begin_inset space ~
40391 \end_inset
40392
40393 Output
40394 \begin_inset space ~
40395 \end_inset
40396
40397 Format
40398 \family default
40399 ; see section
40400 \begin_inset space ~
40401 \end_inset
40402
40403
40404 \begin_inset CommandInset ref
40405 LatexCommand ref
40406 reference "sec:Doc-Formats"
40407
40408 \end_inset
40409
40410 ) or in the preferences (menu 
40411 \family sans
40412 Tools\SpecialChar menuseparator
40413 Preferences\SpecialChar menuseparator
40414 File
40415 \begin_inset space ~
40416 \end_inset
40417
40418 Handling\SpecialChar menuseparator
40419 File
40420 \begin_inset space ~
40421 \end_inset
40422
40423 Formats\SpecialChar menuseparator
40424 Default
40425 \begin_inset space ~
40426 \end_inset
40427
40428 Output
40429 \begin_inset space ~
40430 \end_inset
40431
40432 Format
40433 \family default
40434 ; see section
40435 \begin_inset space ~
40436 \end_inset
40437
40438
40439 \begin_inset CommandInset ref
40440 LatexCommand ref
40441 reference "sec:File-Formats"
40442
40443 \end_inset
40444
40445 ).
40446 \end_layout
40447
40448 \begin_layout Subsection
40449 Compressed
40450 \begin_inset CommandInset label
40451 LatexCommand label
40452 name "subsec:Compressed"
40453
40454 \end_inset
40455
40456
40457 \end_layout
40458
40459 \begin_layout Standard
40460 Un/compresses the current document.
40461  For documents under version control it is strongly recommended to disable
40462  compression (see the 
40463 \emph on
40464 Additional Features
40465 \emph default
40466  manual for details).
40467 \end_layout
40468
40469 \begin_layout Subsection
40470 Disable Editing
40471 \end_layout
40472
40473 \begin_layout Standard
40474 Toggles the read-only state for the document.
40475 \end_layout
40476
40477 \begin_layout Subsection
40478 Settings
40479 \end_layout
40480
40481 \begin_layout Standard
40482 The document settings are described in appendix
40483 \begin_inset space ~
40484 \end_inset
40485
40486
40487 \begin_inset CommandInset ref
40488 LatexCommand ref
40489 reference "chap:The-Document-Settings"
40490
40491 \end_inset
40492
40493 .
40494 \end_layout
40495
40496 \begin_layout Section
40497 The Tools Menu
40498 \begin_inset Index idx
40499 status collapsed
40500
40501 \begin_layout Plain Layout
40502 Menu ! Tools
40503 \end_layout
40504
40505 \end_inset
40506
40507
40508 \end_layout
40509
40510 \begin_layout Subsection
40511 Spellchecker
40512 \end_layout
40513
40514 \begin_layout Standard
40515 Spell checking is explained in section
40516 \begin_inset space ~
40517 \end_inset
40518
40519
40520 \begin_inset CommandInset ref
40521 LatexCommand ref
40522 reference "sec:Spellchecking"
40523
40524 \end_inset
40525
40526 .
40527 \end_layout
40528
40529 \begin_layout Subsection
40530 Thesaurus
40531 \end_layout
40532
40533 \begin_layout Standard
40534 The thesaurus is described in section
40535 \begin_inset space ~
40536 \end_inset
40537
40538
40539 \begin_inset CommandInset ref
40540 LatexCommand ref
40541 reference "sec:Thesaurus"
40542
40543 \end_inset
40544
40545 .
40546 \end_layout
40547
40548 \begin_layout Subsection
40549 Statistics
40550 \begin_inset Index idx
40551 status collapsed
40552
40553 \begin_layout Plain Layout
40554 Word count
40555 \end_layout
40556
40557 \end_inset
40558
40559
40560 \begin_inset Index idx
40561 status collapsed
40562
40563 \begin_layout Plain Layout
40564 Character count
40565 \end_layout
40566
40567 \end_inset
40568
40569
40570 \end_layout
40571
40572 \begin_layout Standard
40573 Returns the number of the words and characters in the actual document or
40574  the highlighted document part.
40575 \end_layout
40576
40577 \begin_layout Subsection
40578 Check 
40579 \family sans
40580 TeX
40581 \family default
40582
40583 \begin_inset Index idx
40584 status collapsed
40585
40586 \begin_layout Plain Layout
40587 Chk\SpecialChar TeX
40588
40589 \end_layout
40590
40591 \end_inset
40592
40593
40594 \end_layout
40595
40596 \begin_layout Standard
40597 Generates with the help of the program 
40598 \family typewriter
40599 Chk\SpecialChar TeX
40600
40601 \family default
40602  a log of possible \SpecialChar LaTeX
40603 -errors and displays it in a dialog.
40604  This feature is not available on Windows.
40605 \end_layout
40606
40607 \begin_layout Subsection
40608
40609 \family sans
40610 TeX
40611 \family default
40612  Information
40613 \begin_inset Index idx
40614 status collapsed
40615
40616 \begin_layout Plain Layout
40617 \SpecialChar TeX
40618  Information
40619 \end_layout
40620
40621 \end_inset
40622
40623
40624 \end_layout
40625
40626 \begin_layout Standard
40627 Shows you a list of the document classes and styles installed in your \SpecialChar LaTeX
40628 -system.
40629  Use the option 
40630 \family sans
40631 Show
40632 \begin_inset space ~
40633 \end_inset
40634
40635 path
40636 \family default
40637  to see the full filename paths.
40638 \end_layout
40639
40640 \begin_layout Subsection
40641 Compare
40642 \begin_inset Index idx
40643 status collapsed
40644
40645 \begin_layout Plain Layout
40646 Compare
40647 \end_layout
40648
40649 \end_inset
40650
40651
40652 \end_layout
40653
40654 \begin_layout Standard
40655 Opens a dialog to compare \SpecialChar LyX
40656  files as described in section
40657 \begin_inset space ~
40658 \end_inset
40659
40660
40661 \begin_inset CommandInset ref
40662 LatexCommand ref
40663 reference "sec:Comparison-of-Documents"
40664
40665 \end_inset
40666
40667 .
40668 \end_layout
40669
40670 \begin_layout Subsection
40671 Reconfigure
40672 \begin_inset Index idx
40673 status collapsed
40674
40675 \begin_layout Plain Layout
40676 \SpecialChar LyX
40677  ! Reconfigure|see
40678 \begin_inset ERT
40679 status collapsed
40680
40681 \begin_layout Plain Layout
40682
40683 {
40684 \end_layout
40685
40686 \end_inset
40687
40688 Reconfiguration of \SpecialChar LyX
40689
40690 \begin_inset ERT
40691 status collapsed
40692
40693 \begin_layout Plain Layout
40694
40695 }
40696 \end_layout
40697
40698 \end_inset
40699
40700
40701 \end_layout
40702
40703 \end_inset
40704
40705
40706 \begin_inset Index idx
40707 status collapsed
40708
40709 \begin_layout Plain Layout
40710 Reconfiguration of \SpecialChar LyX
40711
40712 \end_layout
40713
40714 \end_inset
40715
40716
40717 \end_layout
40718
40719 \begin_layout Standard
40720 Reconfigures \SpecialChar LyX
40721 ; that is, \SpecialChar LyX
40722  looks for \SpecialChar LaTeX
40723 -packages and programs it needs; see
40724  also section
40725 \begin_inset space ~
40726 \end_inset
40727
40728
40729 \begin_inset CommandInset ref
40730 LatexCommand ref
40731 reference "sec:Basic-LyX-Setup"
40732
40733 \end_inset
40734
40735 .
40736 \end_layout
40737
40738 \begin_layout Subsection
40739 Preferences
40740 \end_layout
40741
40742 \begin_layout Standard
40743 Opens the 
40744 \family sans
40745 Preferences
40746 \family default
40747  dialog as described in detail in appendix
40748 \begin_inset space ~
40749 \end_inset
40750
40751
40752 \begin_inset CommandInset ref
40753 LatexCommand ref
40754 reference "chap:The-Preferences-dialog"
40755
40756 \end_inset
40757
40758 .
40759 \end_layout
40760
40761 \begin_layout Section
40762 The Help Menu
40763 \begin_inset Index idx
40764 status collapsed
40765
40766 \begin_layout Plain Layout
40767 Menu ! Help
40768 \end_layout
40769
40770 \end_inset
40771
40772
40773 \end_layout
40774
40775 \begin_layout Standard
40776 This menu lists the documentation files of \SpecialChar LyX
40777  in the language of \SpecialChar LyX
40778 's menus.
40779  If a file is not available in this language, the English version will be
40780  listed.
40781 \end_layout
40782
40783 \begin_layout Standard
40784 The menu 
40785 \family sans
40786 LaTeX
40787 \begin_inset space ~
40788 \end_inset
40789
40790 Configuration
40791 \family default
40792  shows a \SpecialChar LyX
40793  document with information about the \SpecialChar LaTeX
40794  packages and classes found
40795  by \SpecialChar LyX
40796  (see also section
40797 \begin_inset space ~
40798 \end_inset
40799
40800
40801 \begin_inset CommandInset ref
40802 LatexCommand ref
40803 reference "sec:LaTeX-Setup"
40804
40805 \end_inset
40806
40807 ).
40808 \end_layout
40809
40810 \begin_layout Standard
40811 The menu 
40812 \family sans
40813 About
40814 \begin_inset space ~
40815 \end_inset
40816
40817 LyX
40818 \family default
40819  gives information about the copyright, the credits and the \SpecialChar LyX
40820  version you
40821  are using.
40822 \end_layout
40823
40824 \begin_layout Section
40825 Toolbars
40826 \begin_inset CommandInset label
40827 LatexCommand label
40828 name "sec:Toolbars"
40829
40830 \end_inset
40831
40832
40833 \end_layout
40834
40835 \begin_layout Standard
40836 How to show or hide toolbars is explained in section
40837 \begin_inset space ~
40838 \end_inset
40839
40840
40841 \begin_inset CommandInset ref
40842 LatexCommand ref
40843 reference "subsec:Toolbars"
40844
40845 \end_inset
40846
40847 .
40848 \end_layout
40849
40850 \begin_layout Standard
40851 It is also possible to define custom toolbars.
40852  This is described in the 
40853 \emph on
40854 Additional Features
40855 \emph default
40856  manual.
40857 \end_layout
40858
40859 \begin_layout Subsection
40860 Standard Toolbar
40861 \begin_inset Index idx
40862 status collapsed
40863
40864 \begin_layout Plain Layout
40865 Toolbar ! Standard
40866 \end_layout
40867
40868 \end_inset
40869
40870
40871 \end_layout
40872
40873 \begin_layout Standard
40874 \begin_inset Graphics
40875         filename clipart/StandardToolbar.png
40876         width 100col%
40877
40878 \end_inset
40879
40880
40881 \end_layout
40882
40883 \begin_layout Standard
40884 \begin_inset VSpace defskip
40885 \end_inset
40886
40887
40888 \end_layout
40889
40890 \begin_layout Standard
40891 The standard toolbar as shown above contains from left to right the following
40892  buttons:
40893 \begin_inset ERT
40894 status collapsed
40895
40896 \begin_layout Plain Layout
40897
40898
40899 \backslash
40900 setlength{
40901 \backslash
40902 LTleft}{0pt}
40903 \end_layout
40904
40905 \end_inset
40906
40907
40908 \begin_inset Note Note
40909 status collapsed
40910
40911 \begin_layout Plain Layout
40912 This is necessary to left align the following longtables.
40913  See the 
40914 \emph on
40915 Embedded Objects
40916 \emph default
40917  manual for more information.
40918 \end_layout
40919
40920 \end_inset
40921
40922
40923 \end_layout
40924
40925 \begin_layout Standard
40926 \begin_inset VSpace defskip
40927 \end_inset
40928
40929
40930 \end_layout
40931
40932 \begin_layout Standard
40933 \begin_inset Tabular
40934 <lyxtabular version="3" rows="1" columns="2">
40935 <features islongtable="true" longtabularalignment="center">
40936 <column alignment="center" valignment="top">
40937 <column alignment="center" valignment="top">
40938 <row>
40939 <cell alignment="center" valignment="top" usebox="none">
40940 \begin_inset Text
40941
40942 \begin_layout Plain Layout
40943 \begin_inset Graphics
40944         filename clipart/ToolbarEnvBox.png
40945         clip
40946
40947 \end_inset
40948
40949
40950 \end_layout
40951
40952 \end_inset
40953 </cell>
40954 <cell alignment="center" valignment="top" usebox="none">
40955 \begin_inset Text
40956
40957 \begin_layout Plain Layout
40958 pull-down box for the environments
40959 \end_layout
40960
40961 \end_inset
40962 </cell>
40963 </row>
40964 </lyxtabular>
40965
40966 \end_inset
40967
40968
40969 \end_layout
40970
40971 \begin_layout Standard
40972 \begin_inset VSpace -10mm
40973 \end_inset
40974
40975
40976 \end_layout
40977
40978 \begin_layout Standard
40979 \align left
40980 \begin_inset Tabular
40981 <lyxtabular version="3" rows="22" columns="2">
40982 <features islongtable="true" longtabularalignment="center">
40983 <column alignment="left" valignment="top">
40984 <column alignment="left" valignment="top">
40985 <row interlinespace="2.5mm">
40986 <cell alignment="center" valignment="top" usebox="none">
40987 \begin_inset Text
40988
40989 \begin_layout Plain Layout
40990
40991 \family sans
40992 \begin_inset Info
40993 type  "icon"
40994 arg   "buffer-new"
40995 \end_inset
40996
40997
40998 \end_layout
40999
41000 \end_inset
41001 </cell>
41002 <cell alignment="center" valignment="top" usebox="none">
41003 \begin_inset Text
41004
41005 \begin_layout Plain Layout
41006
41007 \family sans
41008 File\SpecialChar menuseparator
41009 New
41010 \end_layout
41011
41012 \end_inset
41013 </cell>
41014 </row>
41015 <row interlinespace="2.5mm">
41016 <cell alignment="center" valignment="top" usebox="none">
41017 \begin_inset Text
41018
41019 \begin_layout Plain Layout
41020
41021 \family sans
41022 \begin_inset Info
41023 type  "icon"
41024 arg   "file-open"
41025 \end_inset
41026
41027
41028 \end_layout
41029
41030 \end_inset
41031 </cell>
41032 <cell alignment="center" valignment="top" usebox="none">
41033 \begin_inset Text
41034
41035 \begin_layout Plain Layout
41036
41037 \family sans
41038 File\SpecialChar menuseparator
41039 Open
41040 \end_layout
41041
41042 \end_inset
41043 </cell>
41044 </row>
41045 <row interlinespace="2.5mm">
41046 <cell alignment="center" valignment="top" usebox="none">
41047 \begin_inset Text
41048
41049 \begin_layout Plain Layout
41050
41051 \family sans
41052 \begin_inset Info
41053 type  "icon"
41054 arg   "buffer-write"
41055 \end_inset
41056
41057
41058 \end_layout
41059
41060 \end_inset
41061 </cell>
41062 <cell alignment="center" valignment="top" usebox="none">
41063 \begin_inset Text
41064
41065 \begin_layout Plain Layout
41066
41067 \family sans
41068 File\SpecialChar menuseparator
41069 Save
41070 \end_layout
41071
41072 \end_inset
41073 </cell>
41074 </row>
41075 <row interlinespace="2.5mm">
41076 <cell alignment="center" valignment="top" usebox="none">
41077 \begin_inset Text
41078
41079 \begin_layout Plain Layout
41080
41081 \family sans
41082 \begin_inset Info
41083 type  "icon"
41084 arg   "dialog-show spellchecker"
41085 \end_inset
41086
41087
41088 \end_layout
41089
41090 \end_inset
41091 </cell>
41092 <cell alignment="center" valignment="top" usebox="none">
41093 \begin_inset Text
41094
41095 \begin_layout Plain Layout
41096
41097 \family sans
41098 Tools\SpecialChar menuseparator
41099 Spellchecker
41100 \end_layout
41101
41102 \end_inset
41103 </cell>
41104 </row>
41105 <row interlinespace="2.5mm">
41106 <cell alignment="center" valignment="top" usebox="none">
41107 \begin_inset Text
41108
41109 \begin_layout Plain Layout
41110
41111 \family sans
41112 \begin_inset Info
41113 type  "icon"
41114 arg   "spelling-continuously"
41115 \end_inset
41116
41117
41118 \end_layout
41119
41120 \end_inset
41121 </cell>
41122 <cell alignment="center" valignment="top" usebox="none">
41123 \begin_inset Text
41124
41125 \begin_layout Plain Layout
41126 Spellcheck continuously
41127 \end_layout
41128
41129 \end_inset
41130 </cell>
41131 </row>
41132 <row interlinespace="2.5mm">
41133 <cell alignment="center" valignment="top" usebox="none">
41134 \begin_inset Text
41135
41136 \begin_layout Plain Layout
41137
41138 \family sans
41139 \begin_inset Info
41140 type  "icon"
41141 arg   "undo"
41142 \end_inset
41143
41144
41145 \end_layout
41146
41147 \end_inset
41148 </cell>
41149 <cell alignment="center" valignment="top" usebox="none">
41150 \begin_inset Text
41151
41152 \begin_layout Plain Layout
41153
41154 \family sans
41155 Edit\SpecialChar menuseparator
41156 Undo
41157 \end_layout
41158
41159 \end_inset
41160 </cell>
41161 </row>
41162 <row interlinespace="2.5mm">
41163 <cell alignment="center" valignment="top" usebox="none">
41164 \begin_inset Text
41165
41166 \begin_layout Plain Layout
41167
41168 \family sans
41169 \begin_inset Info
41170 type  "icon"
41171 arg   "redo"
41172 \end_inset
41173
41174
41175 \end_layout
41176
41177 \end_inset
41178 </cell>
41179 <cell alignment="center" valignment="top" usebox="none">
41180 \begin_inset Text
41181
41182 \begin_layout Plain Layout
41183
41184 \family sans
41185 Edit\SpecialChar menuseparator
41186 Redo
41187 \end_layout
41188
41189 \end_inset
41190 </cell>
41191 </row>
41192 <row interlinespace="2.5mm">
41193 <cell alignment="center" valignment="top" usebox="none">
41194 \begin_inset Text
41195
41196 \begin_layout Plain Layout
41197
41198 \family sans
41199 \begin_inset Info
41200 type  "icon"
41201 arg   "cut"
41202 \end_inset
41203
41204
41205 \end_layout
41206
41207 \end_inset
41208 </cell>
41209 <cell alignment="center" valignment="top" usebox="none">
41210 \begin_inset Text
41211
41212 \begin_layout Plain Layout
41213
41214 \family sans
41215 Edit\SpecialChar menuseparator
41216 Cut
41217 \end_layout
41218
41219 \end_inset
41220 </cell>
41221 </row>
41222 <row interlinespace="2.5mm">
41223 <cell alignment="center" valignment="top" usebox="none">
41224 \begin_inset Text
41225
41226 \begin_layout Plain Layout
41227
41228 \family sans
41229 \begin_inset Info
41230 type  "icon"
41231 arg   "copy"
41232 \end_inset
41233
41234
41235 \end_layout
41236
41237 \end_inset
41238 </cell>
41239 <cell alignment="center" valignment="top" usebox="none">
41240 \begin_inset Text
41241
41242 \begin_layout Plain Layout
41243
41244 \family sans
41245 Edit\SpecialChar menuseparator
41246 Copy
41247 \end_layout
41248
41249 \end_inset
41250 </cell>
41251 </row>
41252 <row interlinespace="2.5mm">
41253 <cell alignment="center" valignment="top" usebox="none">
41254 \begin_inset Text
41255
41256 \begin_layout Plain Layout
41257
41258 \family sans
41259 \begin_inset Info
41260 type  "icon"
41261 arg   "paste"
41262 \end_inset
41263
41264
41265 \end_layout
41266
41267 \end_inset
41268 </cell>
41269 <cell alignment="center" valignment="top" usebox="none">
41270 \begin_inset Text
41271
41272 \begin_layout Plain Layout
41273
41274 \family sans
41275 Edit\SpecialChar menuseparator
41276 Paste
41277 \end_layout
41278
41279 \end_inset
41280 </cell>
41281 </row>
41282 <row interlinespace="2.5mm">
41283 <cell alignment="center" valignment="top" usebox="none">
41284 \begin_inset Text
41285
41286 \begin_layout Plain Layout
41287
41288 \family sans
41289 \begin_inset Info
41290 type  "icon"
41291 arg   "dialog-show findreplace"
41292 \end_inset
41293
41294
41295 \end_layout
41296
41297 \end_inset
41298 </cell>
41299 <cell alignment="center" valignment="top" usebox="none">
41300 \begin_inset Text
41301
41302 \begin_layout Plain Layout
41303
41304 \family sans
41305 Edit\SpecialChar menuseparator
41306 Find
41307 \begin_inset space \thinspace{}
41308 \end_inset
41309
41310 &
41311 \begin_inset space \thinspace{}
41312 \end_inset
41313
41314 Replace
41315 \begin_inset space \thinspace{}
41316 \end_inset
41317
41318 (Quick)
41319 \end_layout
41320
41321 \end_inset
41322 </cell>
41323 </row>
41324 <row interlinespace="2.5mm">
41325 <cell alignment="center" valignment="top" usebox="none">
41326 \begin_inset Text
41327
41328 \begin_layout Plain Layout
41329 \begin_inset Info
41330 type  "icon"
41331 arg   "dialog-toggle findreplaceadv"
41332 \end_inset
41333
41334
41335 \end_layout
41336
41337 \end_inset
41338 </cell>
41339 <cell alignment="center" valignment="top" usebox="none">
41340 \begin_inset Text
41341
41342 \begin_layout Plain Layout
41343
41344 \family sans
41345 Edit\SpecialChar menuseparator
41346 Find
41347 \begin_inset space \thinspace{}
41348 \end_inset
41349
41350 &
41351 \begin_inset space \thinspace{}
41352 \end_inset
41353
41354 Replace
41355 \begin_inset space \thinspace{}
41356 \end_inset
41357
41358 (Advanced)
41359 \end_layout
41360
41361 \end_inset
41362 </cell>
41363 </row>
41364 <row interlinespace="2.5mm">
41365 <cell alignment="center" valignment="top" usebox="none">
41366 \begin_inset Text
41367
41368 \begin_layout Plain Layout
41369
41370 \family sans
41371 \begin_inset Info
41372 type  "icon"
41373 arg   "bookmark-goto 0"
41374 \end_inset
41375
41376
41377 \end_layout
41378
41379 \end_inset
41380 </cell>
41381 <cell alignment="center" valignment="top" usebox="none">
41382 \begin_inset Text
41383
41384 \begin_layout Plain Layout
41385
41386 \family sans
41387 Navigate\SpecialChar menuseparator
41388 Bookmarks\SpecialChar menuseparator
41389 Navigate Back
41390 \end_layout
41391
41392 \end_inset
41393 </cell>
41394 </row>
41395 <row interlinespace="2.5mm">
41396 <cell alignment="center" valignment="top" usebox="none">
41397 \begin_inset Text
41398
41399 \begin_layout Plain Layout
41400
41401 \family sans
41402 \begin_inset Info
41403 type  "icon"
41404 arg   "font-emph"
41405 \end_inset
41406
41407
41408 \end_layout
41409
41410 \end_inset
41411 </cell>
41412 <cell alignment="center" valignment="top" usebox="none">
41413 \begin_inset Text
41414
41415 \begin_layout Plain Layout
41416 Emphasize text, function of the 
41417 \family sans
41418 Edit\SpecialChar menuseparator
41419 Text
41420 \begin_inset space ~
41421 \end_inset
41422
41423 Style\SpecialChar menuseparator
41424 Customized
41425 \family default
41426  dialog
41427 \end_layout
41428
41429 \end_inset
41430 </cell>
41431 </row>
41432 <row interlinespace="2.5mm">
41433 <cell alignment="center" valignment="top" usebox="none">
41434 \begin_inset Text
41435
41436 \begin_layout Plain Layout
41437
41438 \family sans
41439 \begin_inset Info
41440 type  "icon"
41441 arg   "font-noun"
41442 \end_inset
41443
41444
41445 \end_layout
41446
41447 \end_inset
41448 </cell>
41449 <cell alignment="center" valignment="top" usebox="none">
41450 \begin_inset Text
41451
41452 \begin_layout Plain Layout
41453 Set text to noun style, function of the 
41454 \family sans
41455 Edit\SpecialChar menuseparator
41456 Text
41457 \begin_inset space ~
41458 \end_inset
41459
41460 Style\SpecialChar menuseparator
41461 Customized
41462 \family default
41463  dialog
41464 \end_layout
41465
41466 \end_inset
41467 </cell>
41468 </row>
41469 <row interlinespace="2.5mm">
41470 <cell alignment="center" valignment="top" usebox="none">
41471 \begin_inset Text
41472
41473 \begin_layout Plain Layout
41474
41475 \family sans
41476 \begin_inset Info
41477 type  "icon"
41478 arg   "textstyle-apply"
41479 \end_inset
41480
41481
41482 \end_layout
41483
41484 \end_inset
41485 </cell>
41486 <cell alignment="center" valignment="top" usebox="none">
41487 \begin_inset Text
41488
41489 \begin_layout Plain Layout
41490 Format text using the current settings in the 
41491 \family sans
41492 Edit\SpecialChar menuseparator
41493 Text
41494 \begin_inset space ~
41495 \end_inset
41496
41497 Style\SpecialChar menuseparator
41498 Customized
41499 \family default
41500  dialog
41501 \end_layout
41502
41503 \end_inset
41504 </cell>
41505 </row>
41506 <row interlinespace="2.5mm">
41507 <cell alignment="center" valignment="top" usebox="none">
41508 \begin_inset Text
41509
41510 \begin_layout Plain Layout
41511
41512 \family sans
41513 \begin_inset Info
41514 type  "icon"
41515 arg   "math-mode"
41516 \end_inset
41517
41518
41519 \end_layout
41520
41521 \end_inset
41522 </cell>
41523 <cell alignment="center" valignment="top" usebox="none">
41524 \begin_inset Text
41525
41526 \begin_layout Plain Layout
41527
41528 \family sans
41529 Insert\SpecialChar menuseparator
41530 Math\SpecialChar menuseparator
41531 Inline
41532 \begin_inset space ~
41533 \end_inset
41534
41535 Formula
41536 \end_layout
41537
41538 \end_inset
41539 </cell>
41540 </row>
41541 <row interlinespace="2.5mm">
41542 <cell alignment="center" valignment="top" usebox="none">
41543 \begin_inset Text
41544
41545 \begin_layout Plain Layout
41546
41547 \family sans
41548 \begin_inset Info
41549 type  "icon"
41550 arg   "dialog-show-new-inset graphics"
41551 \end_inset
41552
41553
41554 \end_layout
41555
41556 \end_inset
41557 </cell>
41558 <cell alignment="center" valignment="top" usebox="none">
41559 \begin_inset Text
41560
41561 \begin_layout Plain Layout
41562
41563 \family sans
41564 Insert\SpecialChar menuseparator
41565 Graphics
41566 \end_layout
41567
41568 \end_inset
41569 </cell>
41570 </row>
41571 <row interlinespace="2.5mm">
41572 <cell alignment="center" valignment="top" usebox="none">
41573 \begin_inset Text
41574
41575 \begin_layout Plain Layout
41576 \begin_inset Info
41577 type  "icon"
41578 arg   "tabular-insert"
41579 \end_inset
41580
41581
41582 \end_layout
41583
41584 \end_inset
41585 </cell>
41586 <cell alignment="center" valignment="top" usebox="none">
41587 \begin_inset Text
41588
41589 \begin_layout Plain Layout
41590
41591 \family sans
41592 Insert\SpecialChar menuseparator
41593 Table
41594 \end_layout
41595
41596 \end_inset
41597 </cell>
41598 </row>
41599 <row interlinespace="2.5mm">
41600 <cell alignment="center" valignment="top" usebox="none">
41601 \begin_inset Text
41602
41603 \begin_layout Plain Layout
41604
41605 \family sans
41606 \begin_inset Info
41607 type  "icon"
41608 arg   "dialog-toggle toc"
41609 \end_inset
41610
41611
41612 \end_layout
41613
41614 \end_inset
41615 </cell>
41616 <cell alignment="center" valignment="top" usebox="none">
41617 \begin_inset Text
41618
41619 \begin_layout Plain Layout
41620 Toggle outline window on/off, 
41621 \family sans
41622 View\SpecialChar menuseparator
41623 Outline
41624 \end_layout
41625
41626 \end_inset
41627 </cell>
41628 </row>
41629 <row interlinespace="2.5mm">
41630 <cell alignment="center" valignment="top" usebox="none">
41631 \begin_inset Text
41632
41633 \begin_layout Plain Layout
41634
41635 \family sans
41636 \begin_inset Info
41637 type  "icon"
41638 arg   "toolbar-toggle math"
41639 \end_inset
41640
41641
41642 \end_layout
41643
41644 \end_inset
41645 </cell>
41646 <cell alignment="center" valignment="top" usebox="none">
41647 \begin_inset Text
41648
41649 \begin_layout Plain Layout
41650 Toggle math toolbar on/off
41651 \end_layout
41652
41653 \end_inset
41654 </cell>
41655 </row>
41656 <row interlinespace="2.5mm">
41657 <cell alignment="center" valignment="top" usebox="none">
41658 \begin_inset Text
41659
41660 \begin_layout Plain Layout
41661
41662 \family sans
41663 \begin_inset Info
41664 type  "icon"
41665 arg   "toolbar-toggle table"
41666 \end_inset
41667
41668
41669 \end_layout
41670
41671 \end_inset
41672 </cell>
41673 <cell alignment="center" valignment="top" usebox="none">
41674 \begin_inset Text
41675
41676 \begin_layout Plain Layout
41677 Toggle table toolbar on/off
41678 \end_layout
41679
41680 \end_inset
41681 </cell>
41682 </row>
41683 </lyxtabular>
41684
41685 \end_inset
41686
41687
41688 \end_layout
41689
41690 \begin_layout Subsection
41691 Extra Toolbar
41692 \begin_inset Index idx
41693 status collapsed
41694
41695 \begin_layout Plain Layout
41696 Toolbar ! Extra
41697 \end_layout
41698
41699 \end_inset
41700
41701
41702 \end_layout
41703
41704 \begin_layout Standard
41705 \begin_inset Graphics
41706         filename clipart/ExtraToolbar.png
41707         width 100col%
41708
41709 \end_inset
41710
41711
41712 \end_layout
41713
41714 \begin_layout Standard
41715 \begin_inset VSpace defskip
41716 \end_inset
41717
41718
41719 \end_layout
41720
41721 \begin_layout Standard
41722 The extra toolbar as shown above contains from left to right the following
41723  buttons:
41724 \end_layout
41725
41726 \begin_layout Standard
41727 \begin_inset VSpace defskip
41728 \end_inset
41729
41730
41731 \end_layout
41732
41733 \begin_layout Standard
41734 \begin_inset Tabular
41735 <lyxtabular version="3" rows="25" columns="2">
41736 <features islongtable="true" longtabularalignment="center">
41737 <column alignment="left" valignment="top">
41738 <column alignment="left" valignment="top">
41739 <row interlinespace="2.5mm">
41740 <cell alignment="center" valignment="top" usebox="none">
41741 \begin_inset Text
41742
41743 \begin_layout Plain Layout
41744
41745 \family sans
41746 \begin_inset Info
41747 type  "icon"
41748 arg   "layout"
41749 \end_inset
41750
41751
41752 \end_layout
41753
41754 \end_inset
41755 </cell>
41756 <cell alignment="center" valignment="top" usebox="none">
41757 \begin_inset Text
41758
41759 \begin_layout Plain Layout
41760 Default
41761 \end_layout
41762
41763 \end_inset
41764 </cell>
41765 </row>
41766 <row interlinespace="2.5mm">
41767 <cell alignment="center" valignment="top" usebox="none">
41768 \begin_inset Text
41769
41770 \begin_layout Plain Layout
41771
41772 \family sans
41773 \begin_inset Info
41774 type  "icon"
41775 arg   "layout Enumerate"
41776 \end_inset
41777
41778
41779 \end_layout
41780
41781 \end_inset
41782 </cell>
41783 <cell alignment="center" valignment="top" usebox="none">
41784 \begin_inset Text
41785
41786 \begin_layout Plain Layout
41787 Numbered list
41788 \end_layout
41789
41790 \end_inset
41791 </cell>
41792 </row>
41793 <row interlinespace="2.5mm">
41794 <cell alignment="center" valignment="top" usebox="none">
41795 \begin_inset Text
41796
41797 \begin_layout Plain Layout
41798
41799 \family sans
41800 \begin_inset Info
41801 type  "icon"
41802 arg   "layout Itemize"
41803 \end_inset
41804
41805
41806 \end_layout
41807
41808 \end_inset
41809 </cell>
41810 <cell alignment="center" valignment="top" usebox="none">
41811 \begin_inset Text
41812
41813 \begin_layout Plain Layout
41814 Itemized list
41815 \end_layout
41816
41817 \end_inset
41818 </cell>
41819 </row>
41820 <row interlinespace="2.5mm">
41821 <cell alignment="center" valignment="top" usebox="none">
41822 \begin_inset Text
41823
41824 \begin_layout Plain Layout
41825
41826 \family sans
41827 \begin_inset Info
41828 type  "icon"
41829 arg   "layout List"
41830 \end_inset
41831
41832
41833 \end_layout
41834
41835 \end_inset
41836 </cell>
41837 <cell alignment="center" valignment="top" usebox="none">
41838 \begin_inset Text
41839
41840 \begin_layout Plain Layout
41841 List
41842 \end_layout
41843
41844 \end_inset
41845 </cell>
41846 </row>
41847 <row interlinespace="2.5mm">
41848 <cell alignment="center" valignment="top" usebox="none">
41849 \begin_inset Text
41850
41851 \begin_layout Plain Layout
41852
41853 \family sans
41854 \begin_inset Info
41855 type  "icon"
41856 arg   "layout Description"
41857 \end_inset
41858
41859
41860 \end_layout
41861
41862 \end_inset
41863 </cell>
41864 <cell alignment="center" valignment="top" usebox="none">
41865 \begin_inset Text
41866
41867 \begin_layout Plain Layout
41868 Description list
41869 \end_layout
41870
41871 \end_inset
41872 </cell>
41873 </row>
41874 <row interlinespace="2.5mm">
41875 <cell alignment="center" valignment="top" usebox="none">
41876 \begin_inset Text
41877
41878 \begin_layout Plain Layout
41879
41880 \family sans
41881 \begin_inset Info
41882 type  "icon"
41883 arg   "depth-increment"
41884 \end_inset
41885
41886
41887 \end_layout
41888
41889 \end_inset
41890 </cell>
41891 <cell alignment="center" valignment="top" usebox="none">
41892 \begin_inset Text
41893
41894 \begin_layout Plain Layout
41895
41896 \family sans
41897 Edit\SpecialChar menuseparator
41898 Increase
41899 \begin_inset space ~
41900 \end_inset
41901
41902 List
41903 \begin_inset space ~
41904 \end_inset
41905
41906 Depth
41907 \end_layout
41908
41909 \end_inset
41910 </cell>
41911 </row>
41912 <row interlinespace="2.5mm">
41913 <cell alignment="center" valignment="top" usebox="none">
41914 \begin_inset Text
41915
41916 \begin_layout Plain Layout
41917
41918 \family sans
41919 \begin_inset Info
41920 type  "icon"
41921 arg   "depth-decrement"
41922 \end_inset
41923
41924
41925 \end_layout
41926
41927 \end_inset
41928 </cell>
41929 <cell alignment="center" valignment="top" usebox="none">
41930 \begin_inset Text
41931
41932 \begin_layout Plain Layout
41933
41934 \family sans
41935 Edit\SpecialChar menuseparator
41936 Decrease
41937 \begin_inset space ~
41938 \end_inset
41939
41940 List
41941 \begin_inset space ~
41942 \end_inset
41943
41944 Depth
41945 \end_layout
41946
41947 \end_inset
41948 </cell>
41949 </row>
41950 <row interlinespace="2.5mm">
41951 <cell alignment="center" valignment="top" usebox="none">
41952 \begin_inset Text
41953
41954 \begin_layout Plain Layout
41955
41956 \family sans
41957 \begin_inset Info
41958 type  "icon"
41959 arg   "float-insert figure"
41960 \end_inset
41961
41962
41963 \end_layout
41964
41965 \end_inset
41966 </cell>
41967 <cell alignment="center" valignment="top" usebox="none">
41968 \begin_inset Text
41969
41970 \begin_layout Plain Layout
41971
41972 \family sans
41973 Insert\SpecialChar menuseparator
41974 Float\SpecialChar menuseparator
41975 Figure
41976 \end_layout
41977
41978 \end_inset
41979 </cell>
41980 </row>
41981 <row interlinespace="2.5mm">
41982 <cell alignment="center" valignment="top" usebox="none">
41983 \begin_inset Text
41984
41985 \begin_layout Plain Layout
41986
41987 \family sans
41988 \begin_inset Info
41989 type  "icon"
41990 arg   "float-insert table"
41991 \end_inset
41992
41993
41994 \end_layout
41995
41996 \end_inset
41997 </cell>
41998 <cell alignment="center" valignment="top" usebox="none">
41999 \begin_inset Text
42000
42001 \begin_layout Plain Layout
42002
42003 \family sans
42004 Insert\SpecialChar menuseparator
42005 Float\SpecialChar menuseparator
42006 Table
42007 \end_layout
42008
42009 \end_inset
42010 </cell>
42011 </row>
42012 <row interlinespace="2.5mm">
42013 <cell alignment="center" valignment="top" usebox="none">
42014 \begin_inset Text
42015
42016 \begin_layout Plain Layout
42017
42018 \family sans
42019 \begin_inset Info
42020 type  "icon"
42021 arg   "label-insert"
42022 \end_inset
42023
42024
42025 \end_layout
42026
42027 \end_inset
42028 </cell>
42029 <cell alignment="center" valignment="top" usebox="none">
42030 \begin_inset Text
42031
42032 \begin_layout Plain Layout
42033
42034 \family sans
42035 Insert\SpecialChar menuseparator
42036 Label
42037 \end_layout
42038
42039 \end_inset
42040 </cell>
42041 </row>
42042 <row interlinespace="2.5mm">
42043 <cell alignment="center" valignment="top" usebox="none">
42044 \begin_inset Text
42045
42046 \begin_layout Plain Layout
42047
42048 \family sans
42049 \begin_inset Info
42050 type  "icon"
42051 arg   "dialog-show-new-inset ref"
42052 \end_inset
42053
42054
42055 \end_layout
42056
42057 \end_inset
42058 </cell>
42059 <cell alignment="center" valignment="top" usebox="none">
42060 \begin_inset Text
42061
42062 \begin_layout Plain Layout
42063
42064 \family sans
42065 Insert\SpecialChar menuseparator
42066 Cross-Reference
42067 \end_layout
42068
42069 \end_inset
42070 </cell>
42071 </row>
42072 <row interlinespace="2.5mm">
42073 <cell alignment="center" valignment="top" usebox="none">
42074 \begin_inset Text
42075
42076 \begin_layout Plain Layout
42077
42078 \family sans
42079 \begin_inset Info
42080 type  "icon"
42081 arg   "dialog-show-new-inset citation"
42082 \end_inset
42083
42084
42085 \end_layout
42086
42087 \end_inset
42088 </cell>
42089 <cell alignment="center" valignment="top" usebox="none">
42090 \begin_inset Text
42091
42092 \begin_layout Plain Layout
42093
42094 \family sans
42095 Insert\SpecialChar menuseparator
42096 Citation
42097 \end_layout
42098
42099 \end_inset
42100 </cell>
42101 </row>
42102 <row interlinespace="2.5mm">
42103 <cell alignment="center" valignment="top" usebox="none">
42104 \begin_inset Text
42105
42106 \begin_layout Plain Layout
42107
42108 \family sans
42109 \begin_inset Info
42110 type  "icon"
42111 arg   "index-insert"
42112 \end_inset
42113
42114
42115 \end_layout
42116
42117 \end_inset
42118 </cell>
42119 <cell alignment="center" valignment="top" usebox="none">
42120 \begin_inset Text
42121
42122 \begin_layout Plain Layout
42123
42124 \family sans
42125 Insert\SpecialChar menuseparator
42126 Index
42127 \begin_inset space ~
42128 \end_inset
42129
42130 Entry
42131 \end_layout
42132
42133 \end_inset
42134 </cell>
42135 </row>
42136 <row interlinespace="2.5mm">
42137 <cell alignment="center" valignment="top" usebox="none">
42138 \begin_inset Text
42139
42140 \begin_layout Plain Layout
42141
42142 \family sans
42143 \begin_inset Info
42144 type  "icon"
42145 arg   "nomencl-insert"
42146 \end_inset
42147
42148
42149 \end_layout
42150
42151 \end_inset
42152 </cell>
42153 <cell alignment="center" valignment="top" usebox="none">
42154 \begin_inset Text
42155
42156 \begin_layout Plain Layout
42157
42158 \family sans
42159 Insert\SpecialChar menuseparator
42160 Nomenclature
42161 \begin_inset space ~
42162 \end_inset
42163
42164 Entry
42165 \end_layout
42166
42167 \end_inset
42168 </cell>
42169 </row>
42170 <row interlinespace="2.5mm">
42171 <cell alignment="center" valignment="top" usebox="none">
42172 \begin_inset Text
42173
42174 \begin_layout Plain Layout
42175
42176 \family sans
42177 \begin_inset Info
42178 type  "icon"
42179 arg   "footnote-insert"
42180 \end_inset
42181
42182
42183 \end_layout
42184
42185 \end_inset
42186 </cell>
42187 <cell alignment="center" valignment="top" usebox="none">
42188 \begin_inset Text
42189
42190 \begin_layout Plain Layout
42191
42192 \family sans
42193 Insert\SpecialChar menuseparator
42194 Footnote
42195 \end_layout
42196
42197 \end_inset
42198 </cell>
42199 </row>
42200 <row interlinespace="2.5mm">
42201 <cell alignment="center" valignment="top" usebox="none">
42202 \begin_inset Text
42203
42204 \begin_layout Plain Layout
42205
42206 \family sans
42207 \begin_inset Info
42208 type  "icon"
42209 arg   "marginalnote-insert"
42210 \end_inset
42211
42212
42213 \end_layout
42214
42215 \end_inset
42216 </cell>
42217 <cell alignment="center" valignment="top" usebox="none">
42218 \begin_inset Text
42219
42220 \begin_layout Plain Layout
42221
42222 \family sans
42223 Insert\SpecialChar menuseparator
42224 Marginal
42225 \begin_inset space ~
42226 \end_inset
42227
42228 Note
42229 \end_layout
42230
42231 \end_inset
42232 </cell>
42233 </row>
42234 <row interlinespace="2.5mm">
42235 <cell alignment="center" valignment="top" usebox="none">
42236 \begin_inset Text
42237
42238 \begin_layout Plain Layout
42239
42240 \family sans
42241 \begin_inset Info
42242 type  "icon"
42243 arg   "note-insert"
42244 \end_inset
42245
42246
42247 \end_layout
42248
42249 \end_inset
42250 </cell>
42251 <cell alignment="center" valignment="top" usebox="none">
42252 \begin_inset Text
42253
42254 \begin_layout Plain Layout
42255
42256 \family sans
42257 Insert\SpecialChar menuseparator
42258 Note\SpecialChar menuseparator
42259 LyX
42260 \begin_inset space ~
42261 \end_inset
42262
42263 Note
42264 \end_layout
42265
42266 \end_inset
42267 </cell>
42268 </row>
42269 <row interlinespace="2.5mm">
42270 <cell alignment="center" valignment="top" usebox="none">
42271 \begin_inset Text
42272
42273 \begin_layout Plain Layout
42274
42275 \family sans
42276 \begin_inset Info
42277 type  "icon"
42278 arg   "box-insert Frameless"
42279 \end_inset
42280
42281
42282 \end_layout
42283
42284 \end_inset
42285 </cell>
42286 <cell alignment="center" valignment="top" usebox="none">
42287 \begin_inset Text
42288
42289 \begin_layout Plain Layout
42290
42291 \family sans
42292 Insert\SpecialChar menuseparator
42293 Box
42294 \end_layout
42295
42296 \end_inset
42297 </cell>
42298 </row>
42299 <row interlinespace="2.5mm">
42300 <cell alignment="center" valignment="top" usebox="none">
42301 \begin_inset Text
42302
42303 \begin_layout Plain Layout
42304
42305 \family sans
42306 \begin_inset Info
42307 type  "icon"
42308 arg   "href-insert"
42309 \end_inset
42310
42311
42312 \end_layout
42313
42314 \end_inset
42315 </cell>
42316 <cell alignment="center" valignment="top" usebox="none">
42317 \begin_inset Text
42318
42319 \begin_layout Plain Layout
42320
42321 \family sans
42322 Insert\SpecialChar menuseparator
42323 Hyperlink
42324 \end_layout
42325
42326 \end_inset
42327 </cell>
42328 </row>
42329 <row interlinespace="2.5mm">
42330 <cell alignment="center" valignment="top" usebox="none">
42331 \begin_inset Text
42332
42333 \begin_layout Plain Layout
42334
42335 \family sans
42336 \begin_inset Info
42337 type  "icon"
42338 arg   "ert-insert"
42339 \end_inset
42340
42341
42342 \end_layout
42343
42344 \end_inset
42345 </cell>
42346 <cell alignment="center" valignment="top" usebox="none">
42347 \begin_inset Text
42348
42349 \begin_layout Plain Layout
42350
42351 \family sans
42352 Insert\SpecialChar menuseparator
42353 TeX
42354 \begin_inset space ~
42355 \end_inset
42356
42357 Code
42358 \end_layout
42359
42360 \end_inset
42361 </cell>
42362 </row>
42363 <row interlinespace="2.5mm">
42364 <cell alignment="center" valignment="top" usebox="none">
42365 \begin_inset Text
42366
42367 \begin_layout Plain Layout
42368
42369 \family sans
42370 \begin_inset Info
42371 type  "icon"
42372 arg   "math-macro newmacroname newcommand"
42373 \end_inset
42374
42375
42376 \end_layout
42377
42378 \end_inset
42379 </cell>
42380 <cell alignment="center" valignment="top" usebox="none">
42381 \begin_inset Text
42382
42383 \begin_layout Plain Layout
42384
42385 \family sans
42386 Insert\SpecialChar menuseparator
42387 Math\SpecialChar menuseparator
42388 Macro
42389 \end_layout
42390
42391 \end_inset
42392 </cell>
42393 </row>
42394 <row interlinespace="2.5mm">
42395 <cell alignment="center" valignment="top" usebox="none">
42396 \begin_inset Text
42397
42398 \begin_layout Plain Layout
42399
42400 \family sans
42401 \begin_inset Info
42402 type  "icon"
42403 arg   "dialog-show-new-inset include"
42404 \end_inset
42405
42406
42407 \end_layout
42408
42409 \end_inset
42410 </cell>
42411 <cell alignment="center" valignment="top" usebox="none">
42412 \begin_inset Text
42413
42414 \begin_layout Plain Layout
42415
42416 \family sans
42417 Insert\SpecialChar menuseparator
42418 File\SpecialChar menuseparator
42419 Child
42420 \begin_inset space ~
42421 \end_inset
42422
42423 Document
42424 \end_layout
42425
42426 \end_inset
42427 </cell>
42428 </row>
42429 <row interlinespace="2.5mm">
42430 <cell alignment="center" valignment="top" usebox="none">
42431 \begin_inset Text
42432
42433 \begin_layout Plain Layout
42434
42435 \family sans
42436 \begin_inset Info
42437 type  "icon"
42438 arg   "dialog-show character"
42439 \end_inset
42440
42441
42442 \end_layout
42443
42444 \end_inset
42445 </cell>
42446 <cell alignment="center" valignment="top" usebox="none">
42447 \begin_inset Text
42448
42449 \begin_layout Plain Layout
42450
42451 \family sans
42452 Edit\SpecialChar menuseparator
42453 Text
42454 \begin_inset space ~
42455 \end_inset
42456
42457 Style\SpecialChar menuseparator
42458 Customized
42459 \end_layout
42460
42461 \end_inset
42462 </cell>
42463 </row>
42464 <row interlinespace="2.5mm">
42465 <cell alignment="center" valignment="top" usebox="none">
42466 \begin_inset Text
42467
42468 \begin_layout Plain Layout
42469
42470 \family sans
42471 \begin_inset Info
42472 type  "icon"
42473 arg   "layout-paragraph"
42474 \end_inset
42475
42476
42477 \end_layout
42478
42479 \end_inset
42480 </cell>
42481 <cell alignment="center" valignment="top" usebox="none">
42482 \begin_inset Text
42483
42484 \begin_layout Plain Layout
42485
42486 \family sans
42487 Edit\SpecialChar menuseparator
42488 Paragraph
42489 \begin_inset space ~
42490 \end_inset
42491
42492 Settings
42493 \end_layout
42494
42495 \end_inset
42496 </cell>
42497 </row>
42498 <row interlinespace="2.5mm">
42499 <cell alignment="center" valignment="top" usebox="none">
42500 \begin_inset Text
42501
42502 \begin_layout Plain Layout
42503
42504 \family sans
42505 \begin_inset Info
42506 type  "icon"
42507 arg   "thesaurus-entry"
42508 \end_inset
42509
42510
42511 \end_layout
42512
42513 \end_inset
42514 </cell>
42515 <cell alignment="center" valignment="top" usebox="none">
42516 \begin_inset Text
42517
42518 \begin_layout Plain Layout
42519
42520 \family sans
42521 Tools\SpecialChar menuseparator
42522 Thesaurus
42523 \end_layout
42524
42525 \end_inset
42526 </cell>
42527 </row>
42528 </lyxtabular>
42529
42530 \end_inset
42531
42532
42533 \end_layout
42534
42535 \begin_layout Subsection
42536 View/Update Toolbar
42537 \begin_inset Index idx
42538 status collapsed
42539
42540 \begin_layout Plain Layout
42541 Toolbar ! View / Update
42542 \end_layout
42543
42544 \end_inset
42545
42546
42547 \end_layout
42548
42549 \begin_layout Standard
42550 \begin_inset Graphics
42551         filename clipart/ViewToolbar.png
42552
42553 \end_inset
42554
42555
42556 \end_layout
42557
42558 \begin_layout Standard
42559 \begin_inset VSpace defskip
42560 \end_inset
42561
42562
42563 \end_layout
42564
42565 \begin_layout Standard
42566 The view/update toolbar as shown above contains from left to right the following
42567  buttons:
42568 \end_layout
42569
42570 \begin_layout Standard
42571 \begin_inset VSpace defskip
42572 \end_inset
42573
42574
42575 \end_layout
42576
42577 \begin_layout Standard
42578 \begin_inset Tabular
42579 <lyxtabular version="3" rows="7" columns="2">
42580 <features islongtable="true" longtabularalignment="center">
42581 <column alignment="left" valignment="top">
42582 <column alignment="left" valignment="top">
42583 <row interlinespace="2.5mm">
42584 <cell alignment="center" valignment="top" usebox="none">
42585 \begin_inset Text
42586
42587 \begin_layout Plain Layout
42588
42589 \family sans
42590 \begin_inset Info
42591 type  "icon"
42592 arg   "buffer-view"
42593 \end_inset
42594
42595
42596 \end_layout
42597
42598 \end_inset
42599 </cell>
42600 <cell alignment="center" valignment="top" usebox="none">
42601 \begin_inset Text
42602
42603 \begin_layout Plain Layout
42604
42605 \family sans
42606 Document\SpecialChar menuseparator
42607 View
42608 \end_layout
42609
42610 \end_inset
42611 </cell>
42612 </row>
42613 <row interlinespace="2.5mm">
42614 <cell alignment="center" valignment="top" usebox="none">
42615 \begin_inset Text
42616
42617 \begin_layout Plain Layout
42618
42619 \family sans
42620 \begin_inset Info
42621 type  "icon"
42622 arg   "buffer-update"
42623 \end_inset
42624
42625
42626 \end_layout
42627
42628 \end_inset
42629 </cell>
42630 <cell alignment="center" valignment="top" usebox="none">
42631 \begin_inset Text
42632
42633 \begin_layout Plain Layout
42634
42635 \family sans
42636 Document\SpecialChar menuseparator
42637 Update
42638 \end_layout
42639
42640 \end_inset
42641 </cell>
42642 </row>
42643 <row interlinespace="2.5mm">
42644 <cell alignment="center" valignment="top" usebox="none">
42645 \begin_inset Text
42646
42647 \begin_layout Plain Layout
42648
42649 \family sans
42650 \begin_inset Info
42651 type  "icon"
42652 arg   "master-buffer-view"
42653 \end_inset
42654
42655
42656 \end_layout
42657
42658 \end_inset
42659 </cell>
42660 <cell alignment="center" valignment="top" usebox="none">
42661 \begin_inset Text
42662
42663 \begin_layout Plain Layout
42664
42665 \family sans
42666 Document\SpecialChar menuseparator
42667 Master
42668 \begin_inset space ~
42669 \end_inset
42670
42671 Document
42672 \end_layout
42673
42674 \end_inset
42675 </cell>
42676 </row>
42677 <row interlinespace="2.5mm">
42678 <cell alignment="center" valignment="top" usebox="none">
42679 \begin_inset Text
42680
42681 \begin_layout Plain Layout
42682
42683 \family sans
42684 \begin_inset Info
42685 type  "icon"
42686 arg   "master-buffer-update"
42687 \end_inset
42688
42689
42690 \end_layout
42691
42692 \end_inset
42693 </cell>
42694 <cell alignment="center" valignment="top" usebox="none">
42695 \begin_inset Text
42696
42697 \begin_layout Plain Layout
42698
42699 \family sans
42700 Document\SpecialChar menuseparator
42701 Update
42702 \begin_inset space ~
42703 \end_inset
42704
42705 Master
42706 \begin_inset space ~
42707 \end_inset
42708
42709 Document
42710 \end_layout
42711
42712 \end_inset
42713 </cell>
42714 </row>
42715 <row interlinespace="2.5mm">
42716 <cell alignment="center" valignment="top" usebox="none">
42717 \begin_inset Text
42718
42719 \begin_layout Plain Layout
42720
42721 \family sans
42722 \begin_inset Info
42723 type  "icon"
42724 arg   "buffer-toggle-output-sync"
42725 \end_inset
42726
42727
42728 \end_layout
42729
42730 \end_inset
42731 </cell>
42732 <cell alignment="center" valignment="top" usebox="none">
42733 \begin_inset Text
42734
42735 \begin_layout Plain Layout
42736
42737 \family sans
42738 Document\SpecialChar menuseparator
42739 Settings\SpecialChar menuseparator
42740 Output\SpecialChar menuseparator
42741 Synchronize with Output
42742 \end_layout
42743
42744 \end_inset
42745 </cell>
42746 </row>
42747 <row interlinespace="2.5mm">
42748 <cell alignment="center" valignment="top" usebox="none">
42749 \begin_inset Text
42750
42751 \begin_layout Plain Layout
42752 \begin_inset Info
42753 type  "icon"
42754 arg   "view-others"
42755 \end_inset
42756
42757
42758 \family sans
42759 *
42760 \end_layout
42761
42762 \end_inset
42763 </cell>
42764 <cell alignment="center" valignment="top" usebox="none">
42765 \begin_inset Text
42766
42767 \begin_layout Plain Layout
42768
42769 \family sans
42770 Document\SpecialChar menuseparator
42771 View (Other Formats)
42772 \end_layout
42773
42774 \end_inset
42775 </cell>
42776 </row>
42777 <row interlinespace="2.5mm">
42778 <cell alignment="center" valignment="top" usebox="none">
42779 \begin_inset Text
42780
42781 \begin_layout Plain Layout
42782 \begin_inset Info
42783 type  "icon"
42784 arg   "update-others"
42785 \end_inset
42786
42787 *
42788 \end_layout
42789
42790 \end_inset
42791 </cell>
42792 <cell alignment="center" valignment="top" usebox="none">
42793 \begin_inset Text
42794
42795 \begin_layout Plain Layout
42796
42797 \family sans
42798 Document\SpecialChar menuseparator
42799 Update (Other Formats)
42800 \end_layout
42801
42802 \end_inset
42803 </cell>
42804 </row>
42805 </lyxtabular>
42806
42807 \end_inset
42808
42809
42810 \end_layout
42811
42812 \begin_layout Standard
42813 * These icons might look different for you if you do not use the default
42814  icon set.
42815 \end_layout
42816
42817 \begin_layout Subsection
42818 Other Toolbars
42819 \end_layout
42820
42821 \begin_layout Standard
42822 The change tracking toolbar is explained in section
42823 \begin_inset space ~
42824 \end_inset
42825
42826
42827 \begin_inset CommandInset ref
42828 LatexCommand ref
42829 reference "sec:Change-Tracking"
42830
42831 \end_inset
42832
42833 , the table toolbar
42834 \begin_inset Index idx
42835 status collapsed
42836
42837 \begin_layout Plain Layout
42838 Toolbar ! Table
42839 \end_layout
42840
42841 \end_inset
42842
42843  in the 
42844 \emph on
42845 Embedded
42846 \begin_inset space ~
42847 \end_inset
42848
42849 Objects
42850 \emph default
42851  manual and the math macro toolbar
42852 \begin_inset Index idx
42853 status collapsed
42854
42855 \begin_layout Plain Layout
42856 Toolbar ! Macro
42857 \end_layout
42858
42859 \end_inset
42860
42861  in the 
42862 \emph on
42863 Math
42864 \emph default
42865  manual.
42866 \end_layout
42867
42868 \begin_layout Chapter
42869 The Document Settings
42870 \begin_inset CommandInset label
42871 LatexCommand label
42872 name "chap:The-Document-Settings"
42873
42874 \end_inset
42875
42876
42877 \begin_inset Index idx
42878 status collapsed
42879
42880 \begin_layout Plain Layout
42881 Document ! Settings
42882 \end_layout
42883
42884 \end_inset
42885
42886
42887 \end_layout
42888
42889 \begin_layout Standard
42890 The 
42891 \family sans
42892 Document
42893 \begin_inset space ~
42894 \end_inset
42895
42896 Setting
42897 \family default
42898 s dialog contains submenus to set properties for the whole document and
42899  is called with the menu
42900 \family sans
42901  Document\SpecialChar menuseparator
42902 Settings
42903 \family default
42904 .
42905  You can save your document settings as default with the
42906 \family sans
42907  Save as Document Defaults
42908 \family default
42909  button in any dialog.
42910  This will create a template named 
42911 \family typewriter
42912 defaults.lyx
42913 \family default
42914  which is automatically loaded by \SpecialChar LyX
42915  when you create a new document without
42916  using a template.
42917 \end_layout
42918
42919 \begin_layout Standard
42920 The button 
42921 \family sans
42922 Use Class Defaults
42923 \family default
42924  resets the document settings to the default of the document class.
42925  This affects mostly class options, the page layout and Numbering & TOC.
42926 \end_layout
42927
42928 \begin_layout Standard
42929 The different submenus of the dialog are explained in the following sections.
42930  There are so many document settings available that it might take a while
42931  to find the one you are looking for.
42932  To find a setting quicker, you can use the search field which is above
42933  the submenus of the dialog.
42934  If you search e.
42935 \begin_inset space \thinspace{}
42936 \end_inset
42937
42938 g.
42939 \begin_inset space \space{}
42940 \end_inset
42941
42942 for 
42943 \begin_inset Quotes eld
42944 \end_inset
42945
42946 page
42947 \begin_inset Quotes erd
42948 \end_inset
42949
42950 , you will see that some submenus will be grayed-out and disabled.
42951  Only the submenus with page settings stay enabled.
42952  The found page settings are labeled red in these submenus.
42953 \end_layout
42954
42955 \begin_layout Section
42956 Document Class
42957 \end_layout
42958
42959 \begin_layout Standard
42960 Here you set the document class, class options, a graphics driver, and a
42961  master document.
42962  Document classes are described in section
42963 \begin_inset space ~
42964 \end_inset
42965
42966
42967 \begin_inset CommandInset ref
42968 LatexCommand ref
42969 reference "sec:Document-Classes"
42970
42971 \end_inset
42972
42973 .
42974  
42975 \end_layout
42976
42977 \begin_layout Standard
42978 With the button 
42979 \family sans
42980 Local
42981 \begin_inset space ~
42982 \end_inset
42983
42984 Layout
42985 \family default
42986  you can load you own layout-file, that is not in \SpecialChar LyX
42987 's 
42988 \emph on
42989 layouts
42990 \emph default
42991  folder and thus not recognized by \SpecialChar LyX
42992  as a layout for a document class.
42993  For more about layout-files, see the chapter 
42994 \emph on
42995 Installing New Document Classes, Types of Layout Files
42996 \emph default
42997  of the 
42998 \emph on
42999 Customization
43000 \emph default
43001  Handbook.
43002 \end_layout
43003
43004 \begin_layout Standard
43005 Some classes use special class options by default.
43006  If this is the case, they are listed in the field 
43007 \family sans
43008 Predefined
43009 \family default
43010  and you can decide to use them or not.
43011  If you do not know exactly what the default class options are for, it is
43012  recommended you leave them untouched.
43013  The 
43014 \family sans
43015 Graphics driver
43016 \family default
43017  is used for \SpecialChar LaTeX
43018 's graphics, color and page layout packages.
43019  If using 
43020 \family sans
43021 Default
43022 \family default
43023 , the default driver for the \SpecialChar LaTeX
43024 -packages is used.
43025  It is recommended that you use the default unless you know what you are
43026  doing.
43027 \begin_inset Foot
43028 status collapsed
43029
43030 \begin_layout Plain Layout
43031 When you want to use one of the following drivers
43032 \begin_inset Newline newline
43033 \end_inset
43034
43035
43036 \family sans
43037 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
43038 \family default
43039
43040 \begin_inset Newline newline
43041 \end_inset
43042
43043 you first have to activate them in your \SpecialChar LaTeX
43044  distribution, see section 
43045 \emph on
43046 Driver support
43047 \emph default
43048  in 
43049 \begin_inset CommandInset href
43050 LatexCommand href
43051 target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
43052 literal "false"
43053
43054 \end_inset
43055
43056 .
43057 \end_layout
43058
43059 \end_inset
43060
43061
43062 \end_layout
43063
43064 \begin_layout Standard
43065 Specifying a 
43066 \family sans
43067 Master
43068 \family default
43069  document is necessary if the current document is a child or subdocument.
43070  The master document will be used by \SpecialChar LyX
43071  in the background if the child document
43072  is opened without its master.
43073  This way child documents are always compilable.
43074  More about master and child documents is explained in the section 
43075 \emph on
43076 Child Documents
43077 \emph default
43078  of the 
43079 \emph on
43080 Embedded
43081 \begin_inset space ~
43082 \end_inset
43083
43084 Objects
43085 \emph default
43086  manual.
43087 \end_layout
43088
43089 \begin_layout Standard
43090 There is also an option to suppress the date and one to use the \SpecialChar LaTeX
43091 -package
43092  
43093 \series bold
43094 refstyle
43095 \series default
43096  instead of 
43097 \series bold
43098 prettyref
43099 \series default
43100
43101 \begin_inset Index idx
43102 status collapsed
43103
43104 \begin_layout Plain Layout
43105 \SpecialChar LaTeX
43106  packages ! prettyref
43107 \end_layout
43108
43109 \end_inset
43110
43111
43112 \begin_inset Index idx
43113 status collapsed
43114
43115 \begin_layout Plain Layout
43116 \SpecialChar LaTeX
43117  packages ! refstyle
43118 \end_layout
43119
43120 \end_inset
43121
43122  for cross-references, see section
43123 \begin_inset space ~
43124 \end_inset
43125
43126
43127 \begin_inset CommandInset ref
43128 LatexCommand ref
43129 reference "sec:Cross-References"
43130
43131 \end_inset
43132
43133 .
43134 \end_layout
43135
43136 \begin_layout Section
43137 Child Documents
43138 \end_layout
43139
43140 \begin_layout Standard
43141 This submenu is only visible when your document includes child documents.
43142  Please refer to the section 
43143 \emph on
43144 Child
43145 \begin_inset space ~
43146 \end_inset
43147
43148 Documents
43149 \emph default
43150  of the 
43151 \emph on
43152 Embedded
43153 \begin_inset space ~
43154 \end_inset
43155
43156 Objects
43157 \emph default
43158  manual for details.
43159 \end_layout
43160
43161 \begin_layout Section
43162 Modules
43163 \end_layout
43164
43165 \begin_layout Standard
43166 Modules are explained in section
43167 \begin_inset space ~
43168 \end_inset
43169
43170
43171 \begin_inset CommandInset ref
43172 LatexCommand ref
43173 reference "subsec:Modules"
43174
43175 \end_inset
43176
43177 .
43178 \end_layout
43179
43180 \begin_layout Section
43181 Local Layout
43182 \end_layout
43183
43184 \begin_layout Standard
43185 See section
43186 \begin_inset space ~
43187 \end_inset
43188
43189
43190 \begin_inset CommandInset ref
43191 LatexCommand ref
43192 reference "subsec:Local-Layout"
43193
43194 \end_inset
43195
43196  for a description.
43197 \end_layout
43198
43199 \begin_layout Section
43200 Fonts
43201 \end_layout
43202
43203 \begin_layout Standard
43204 The document font settings are described in section
43205 \begin_inset space ~
43206 \end_inset
43207
43208
43209 \begin_inset CommandInset ref
43210 LatexCommand ref
43211 reference "sec:Fonts-and-Text"
43212
43213 \end_inset
43214
43215 .
43216 \end_layout
43217
43218 \begin_layout Section
43219 Text Layout
43220 \end_layout
43221
43222 \begin_layout Standard
43223 You can specify if paragraphs should be separated by 
43224 \family sans
43225 Indentation
43226 \family default
43227  or by 
43228 \family sans
43229 Vertical space
43230 \family default
43231 .
43232  The 
43233 \family sans
43234 Line
43235 \begin_inset space ~
43236 \end_inset
43237
43238 spacing
43239 \family default
43240  and whether it should be a 
43241 \family sans
43242 Two-column
43243 \begin_inset space ~
43244 \end_inset
43245
43246 document
43247 \family default
43248  can also be specified here.
43249 \end_layout
43250
43251 \begin_layout Standard
43252 Note that \SpecialChar LyX
43253  will not show two columns or the specified line spacing on screen.
43254  That would be impractical, often unreadable, and is not part of the WYSIWYM
43255  concept.
43256  However, it will be as you specified in the output.
43257 \end_layout
43258
43259 \begin_layout Standard
43260 With the option 
43261 \family sans
43262 Use justification in \SpecialChar LyX
43263  work area
43264 \family default
43265  you can decide if \SpecialChar LyX
43266  justifies the text on screen.
43267  This only affects the text inside \SpecialChar LyX
43268  not in the output.
43269 \end_layout
43270
43271 \begin_layout Section
43272 Page Layout
43273 \end_layout
43274
43275 \begin_layout Standard
43276 This dialog is described in sections
43277 \begin_inset space ~
43278 \end_inset
43279
43280
43281 \begin_inset CommandInset ref
43282 LatexCommand ref
43283 reference "subsec:Paper-Size,-Orientation"
43284
43285 \end_inset
43286
43287  and 
43288 \begin_inset CommandInset ref
43289 LatexCommand ref
43290 reference "subsec:Document-Layout"
43291
43292 \end_inset
43293
43294 .
43295 \end_layout
43296
43297 \begin_layout Section
43298 Page Margins
43299 \end_layout
43300
43301 \begin_layout Standard
43302 Here you can adjust the page margins as described in section
43303 \begin_inset space ~
43304 \end_inset
43305
43306
43307 \begin_inset CommandInset ref
43308 LatexCommand ref
43309 reference "subsec:Margins"
43310
43311 \end_inset
43312
43313 .
43314 \end_layout
43315
43316 \begin_layout Section
43317 Language
43318 \begin_inset CommandInset label
43319 LatexCommand label
43320 name "sec:Language-encodings"
43321
43322 \end_inset
43323
43324
43325 \begin_inset Index idx
43326 status collapsed
43327
43328 \begin_layout Plain Layout
43329 Language ! Encoding
43330 \end_layout
43331
43332 \end_inset
43333
43334
43335 \end_layout
43336
43337 \begin_layout Standard
43338 The document language and quote styles are set here.
43339  The encoding specifies how the document content is exported to \SpecialChar LaTeX
43340  (the \SpecialChar LyX
43341  file
43342  is always encoded in utf8).
43343  All characters that cannot be encoded using the specified encoding will
43344  be exported as \SpecialChar LaTeX
43345 -commands (this can fail if a \SpecialChar LaTeX
43346 -command is not known for
43347  a particular character).
43348 \end_layout
43349
43350 \begin_layout Standard
43351 If you use the option 
43352 \family sans
43353 Language Default
43354 \family default
43355 , \SpecialChar LyX
43356  determines the encoding of a text part from the language of this text.
43357  If the document contains text in more than one language you may get more
43358  than one encoding in the \SpecialChar LaTeX
43359  file.
43360  If you do not use this option then the complete document will always use
43361  exactly one encoding.
43362  Checking this option is the preferred setting.
43363 \end_layout
43364
43365 \begin_layout Standard
43366 \SpecialChar LyX
43367  also supports Unicode output, which is particularly useful if you need
43368  lots of special symbols or non-alphabetic scripts, respectively.
43369  If you want to use this (and your \SpecialChar LaTeX
43370  installation supports Unicode), choose
43371  one of the four utf8 variants from the list below.
43372  Unfortunately the Unicode support of standard \SpecialChar LaTeX
43373  is quite incomplete, so
43374  it is not uncommon that a file with lots of Unicode symbols works fine
43375  with 
43376 \family sans
43377 Language Default
43378 \family default
43379  (when \SpecialChar LyX
43380  uses its list of known \SpecialChar LaTeX
43381 -commands), but does not work with a fixed
43382  utf8 encoding (when the list of known \SpecialChar LaTeX
43383 -commands is not used, because all
43384  Unicode symbols can be encoded in utf8).
43385  The situation is much better with Xe\SpecialChar TeX
43386  and Lua\SpecialChar TeX
43387 , two new alternative engines
43388  to standard \SpecialChar LaTeX
43389 .
43390  Both engines support Unicode natively.
43391  \SpecialChar LyX
43392  now also supports these two engines (via the output formats 
43393 \family sans
43394 PDF
43395 \begin_inset space ~
43396 \end_inset
43397
43398 (XeTeX)
43399 \family default
43400
43401 \family sans
43402 PDF
43403 \begin_inset space ~
43404 \end_inset
43405
43406 (LuaTeX)
43407 \family default
43408  and 
43409 \family sans
43410 DVI
43411 \begin_inset space ~
43412 \end_inset
43413
43414 (LuaTeX)
43415 \family default
43416 , see section
43417 \begin_inset space ~
43418 \end_inset
43419
43420
43421 \begin_inset CommandInset ref
43422 LatexCommand ref
43423 reference "subsec:Output-file-formats"
43424
43425 \end_inset
43426
43427 ).
43428  So if you are using many special or accented characters and 
43429 \family sans
43430 Language Default
43431 \family default
43432  fails, you might try out one of these new engines.
43433 \end_layout
43434
43435 \begin_layout Standard
43436 The 
43437 \family sans
43438 Language
43439 \begin_inset space ~
43440 \end_inset
43441
43442 package
43443 \family default
43444  determines the \SpecialChar LaTeX
43445 -package that is used for hyphenation and the translation
43446  of strings like 
43447 \begin_inset Quotes eld
43448 \end_inset
43449
43450 Part
43451 \begin_inset Quotes erd
43452 \end_inset
43453
43454 .
43455  The possible settings are:
43456 \end_layout
43457
43458 \begin_layout Description
43459 Default uses the language package that is selected in
43460 \family sans
43461  Tools\SpecialChar menuseparator
43462 Preferences\SpecialChar menuseparator
43463 Language Settings
43464 \family default
43465  (see section
43466 \begin_inset space ~
43467 \end_inset
43468
43469
43470 \begin_inset CommandInset ref
43471 LatexCommand ref
43472 reference "subsec:Prefs-Language"
43473
43474 \end_inset
43475
43476 ).
43477 \end_layout
43478
43479 \begin_layout Description
43480 Automatic selects the most suitable language package for the view/export
43481  format you will use.
43482  In many cases this will be 
43483 \series bold
43484 babel
43485 \series default
43486
43487 \begin_inset Index idx
43488 status collapsed
43489
43490 \begin_layout Plain Layout
43491 \SpecialChar LaTeX
43492  packages ! babel
43493 \end_layout
43494
43495 \end_inset
43496
43497 .
43498  If the newer package 
43499 \series bold
43500 polyglossia
43501 \series default
43502
43503 \begin_inset Index idx
43504 status collapsed
43505
43506 \begin_layout Plain Layout
43507 \SpecialChar LaTeX
43508  packages ! polyglossia
43509 \end_layout
43510
43511 \end_inset
43512
43513  is more appropriate (is the case when using Xe\SpecialChar TeX
43514  or Lua\SpecialChar TeX
43515  and non-\SpecialChar TeX
43516  fonts),
43517  this package will be used instead of 
43518 \series bold
43519 babel
43520 \series default
43521 .
43522 \end_layout
43523
43524 \begin_layout Description
43525 Always
43526 \begin_inset space ~
43527 \end_inset
43528
43529 Babel uses 
43530 \series bold
43531 babel
43532 \series default
43533  even if 
43534 \series bold
43535 polyglossia
43536 \series default
43537  would be more appropriate.
43538 \end_layout
43539
43540 \begin_layout Description
43541 Custom allows you to specify a language package command of your choice.
43542  For example if you want to use a language-specific package like 
43543 \series bold
43544 ngerman
43545 \series default
43546  (for German texts), type in
43547 \series bold
43548
43549 \begin_inset Newline newline
43550 \end_inset
43551
43552
43553 \backslash
43554 usepackage{ngerman}
43555 \end_layout
43556
43557 \begin_layout Description
43558 None will not use a language package.
43559  This is necessary for some document classes for scientific articles.
43560 \end_layout
43561
43562 \begin_layout Standard
43563 Here is a list with the important encodings:
43564 \end_layout
43565
43566 \begin_layout Description
43567 Language
43568 \begin_inset space ~
43569 \end_inset
43570
43571 Default
43572 \begin_inset space ~
43573 \end_inset
43574
43575 (no
43576 \begin_inset space ~
43577 \end_inset
43578
43579 inputenc) Same as 
43580 \family sans
43581 Language Default
43582 \family default
43583 , but the \SpecialChar LaTeX
43584 -package 
43585 \series bold
43586 inputenc
43587 \series default
43588
43589 \begin_inset Index idx
43590 status collapsed
43591
43592 \begin_layout Plain Layout
43593 \SpecialChar LaTeX
43594  packages ! inputenc
43595 \end_layout
43596
43597 \end_inset
43598
43599  is not used.
43600  When using this, you probably need to load some additional packages manually
43601  in the preamble and specify the used encoding for text parts in foreign
43602  languages in \SpecialChar TeX
43603  code.
43604 \end_layout
43605
43606 \begin_layout Description
43607 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
43608  \SpecialChar LyX
43609  converts all other characters into \SpecialChar LaTeX
43610  commands, which may result in a big
43611  file when lots of \SpecialChar LaTeX
43612 -commands are needed.
43613 \end_layout
43614
43615 \begin_layout Description
43616 Arabic
43617 \begin_inset space ~
43618 \end_inset
43619
43620 (CP
43621 \begin_inset space ~
43622 \end_inset
43623
43624 1256) MS Windows code page for Arabic and Farsi
43625 \end_layout
43626
43627 \begin_layout Description
43628 Arabic
43629 \begin_inset space ~
43630 \end_inset
43631
43632 (ISO
43633 \begin_inset space ~
43634 \end_inset
43635
43636 8859-6) for Arabic and Farsi
43637 \end_layout
43638
43639 \begin_layout Description
43640 Armenian
43641 \begin_inset space ~
43642 \end_inset
43643
43644 (ArmSCII8) for Armenian
43645 \end_layout
43646
43647 \begin_layout Description
43648 Baltic
43649 \begin_inset space ~
43650 \end_inset
43651
43652 (CP
43653 \begin_inset space ~
43654 \end_inset
43655
43656 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
43657  as the ISO-8859-13 encoding
43658 \end_layout
43659
43660 \begin_layout Description
43661 Baltic
43662 \begin_inset space ~
43663 \end_inset
43664
43665 (ISO
43666 \begin_inset space ~
43667 \end_inset
43668
43669 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
43670  encoding
43671 \end_layout
43672
43673 \begin_layout Description
43674 Baltic
43675 \begin_inset space ~
43676 \end_inset
43677
43678 (ISO
43679 \begin_inset space ~
43680 \end_inset
43681
43682 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
43683  ISO-8859-13 encoding
43684 \end_layout
43685
43686 \begin_layout Description
43687 Central
43688 \begin_inset space ~
43689 \end_inset
43690
43691 European
43692 \begin_inset space ~
43693 \end_inset
43694
43695 (CP
43696 \begin_inset space ~
43697 \end_inset
43698
43699 1250) MS Windows code page for ISO
43700 \begin_inset space ~
43701 \end_inset
43702
43703 8859-2 (latin2)
43704 \end_layout
43705
43706 \begin_layout Description
43707 Central
43708 \begin_inset space ~
43709 \end_inset
43710
43711 European
43712 \begin_inset space ~
43713 \end_inset
43714
43715 (ISO
43716 \begin_inset space ~
43717 \end_inset
43718
43719 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
43720  Romanian, Slovak and Slovenian
43721 \end_layout
43722
43723 \begin_layout Description
43724 Chinese
43725 \begin_inset space ~
43726 \end_inset
43727
43728 (simplified)
43729 \begin_inset space ~
43730 \end_inset
43731
43732 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
43733  this encoding is officially replaced by the encoding GB18030, as GB18030
43734  is not available for \SpecialChar LaTeX
43735  you should try to use the encoding Unicode
43736 \begin_inset space ~
43737 \end_inset
43738
43739 (CJK)
43740 \begin_inset space ~
43741 \end_inset
43742
43743 (utf8)
43744 \end_layout
43745
43746 \begin_layout Description
43747 Chinese
43748 \begin_inset space ~
43749 \end_inset
43750
43751 (simplified)
43752 \begin_inset space ~
43753 \end_inset
43754
43755 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
43756  except for the Euro currency sign, since 2001 this encoding is officially
43757  replaced by the encoding GB18030, as GB18030 is not available for \SpecialChar LaTeX
43758  you
43759  should try to use the encoding Unicode
43760 \begin_inset space ~
43761 \end_inset
43762
43763 (CJK)
43764 \begin_inset space ~
43765 \end_inset
43766
43767 (utf8)
43768 \end_layout
43769
43770 \begin_layout Description
43771 Chinese
43772 \begin_inset space ~
43773 \end_inset
43774
43775 (traditional)
43776 \begin_inset space ~
43777 \end_inset
43778
43779 (EUC-TW) for traditional Chinese
43780 \end_layout
43781
43782 \begin_layout Description
43783 Cyrillic
43784 \begin_inset space ~
43785 \end_inset
43786
43787 (CP
43788 \begin_inset space ~
43789 \end_inset
43790
43791 1251) MS Windows code page for Cyrillic
43792 \end_layout
43793
43794 \begin_layout Description
43795 Cyrillic
43796 \begin_inset space ~
43797 \end_inset
43798
43799 (ISO
43800 \begin_inset space ~
43801 \end_inset
43802
43803 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
43804 \end_layout
43805
43806 \begin_layout Description
43807 Cyrillic
43808 \begin_inset space ~
43809 \end_inset
43810
43811 (KOI8-R) standard Cyrillic especially for Russian
43812 \end_layout
43813
43814 \begin_layout Description
43815 Cyrillic
43816 \begin_inset space ~
43817 \end_inset
43818
43819 (KOI8-U) Cyrillic for Ukrainian
43820 \end_layout
43821
43822 \begin_layout Description
43823 Cyrillic
43824 \begin_inset space ~
43825 \end_inset
43826
43827 (pt
43828 \begin_inset space ~
43829 \end_inset
43830
43831 154) Cyrillic for Kazakh
43832 \end_layout
43833
43834 \begin_layout Description
43835 Greek
43836 \begin_inset space ~
43837 \end_inset
43838
43839 (ISO
43840 \begin_inset space ~
43841 \end_inset
43842
43843 8859-7) for Greek
43844 \end_layout
43845
43846 \begin_layout Description
43847 Hebrew
43848 \begin_inset space ~
43849 \end_inset
43850
43851 (CP
43852 \begin_inset space ~
43853 \end_inset
43854
43855 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
43856 \end_layout
43857
43858 \begin_layout Description
43859 Hebrew
43860 \begin_inset space ~
43861 \end_inset
43862
43863 (ISO
43864 \begin_inset space ~
43865 \end_inset
43866
43867 8859-8) for Hebrew
43868 \end_layout
43869
43870 \begin_layout Description
43871 Japanese
43872 \begin_inset space ~
43873 \end_inset
43874
43875 (CJK)
43876 \begin_inset space ~
43877 \end_inset
43878
43879 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43880 -package 
43881 \series bold
43882 CJK
43883 \series default
43884
43885 \begin_inset Index idx
43886 status collapsed
43887
43888 \begin_layout Plain Layout
43889 \SpecialChar LaTeX
43890  packages ! CJK
43891 \end_layout
43892
43893 \end_inset
43894
43895 , when using this, set the document language to 
43896 \family sans
43897 Japanese (CJK)
43898 \end_layout
43899
43900 \begin_layout Description
43901 Japanese
43902 \begin_inset space ~
43903 \end_inset
43904
43905 (CJK)
43906 \begin_inset space ~
43907 \end_inset
43908
43909 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43910 -package 
43911 \series bold
43912 CJK
43913 \series default
43914 , when using this, set the document language to 
43915 \family sans
43916 Japanese
43917 \begin_inset space ~
43918 \end_inset
43919
43920 (CJK)
43921 \end_layout
43922
43923 \begin_layout Description
43924 Japanese
43925 \begin_inset space ~
43926 \end_inset
43927
43928 (non-CJK)
43929 \begin_inset space ~
43930 \end_inset
43931
43932 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43933 -package 
43934 \series bold
43935 japanese
43936 \series default
43937
43938 \begin_inset Index idx
43939 status collapsed
43940
43941 \begin_layout Plain Layout
43942 \SpecialChar LaTeX
43943  packages ! japanese
43944 \end_layout
43945
43946 \end_inset
43947
43948 , when using this, set the document language to 
43949 \family sans
43950 Japanese
43951 \end_layout
43952
43953 \begin_layout Description
43954 Japanese
43955 \begin_inset space ~
43956 \end_inset
43957
43958 (non-CJK)
43959 \begin_inset space ~
43960 \end_inset
43961
43962 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43963 -package 
43964 \series bold
43965 japanese
43966 \series default
43967 , when using this, set the document language to 
43968 \family sans
43969 Japanese
43970 \end_layout
43971
43972 \begin_layout Description
43973 Japanese
43974 \begin_inset space ~
43975 \end_inset
43976
43977 (non-CJK)
43978 \begin_inset space ~
43979 \end_inset
43980
43981 (SJIS) SJIS encoding for Japanese, uses the \SpecialChar LaTeX
43982 -package 
43983 \series bold
43984 japanese
43985 \series default
43986 , when using this, set the document language to 
43987 \family sans
43988 Japanese
43989 \end_layout
43990
43991 \begin_layout Description
43992 Korean
43993 \begin_inset space ~
43994 \end_inset
43995
43996 (EUC-KR) for Korean
43997 \end_layout
43998
43999 \begin_layout Description
44000 Southern
44001 \begin_inset space ~
44002 \end_inset
44003
44004 European
44005 \begin_inset space ~
44006 \end_inset
44007
44008 (ISO
44009 \begin_inset space ~
44010 \end_inset
44011
44012 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
44013 \end_layout
44014
44015 \begin_layout Description
44016 South-Eastern
44017 \begin_inset space ~
44018 \end_inset
44019
44020 European
44021 \begin_inset space ~
44022 \end_inset
44023
44024 (ISO
44025 \begin_inset space ~
44026 \end_inset
44027
44028 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
44029  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
44030  to cover many languages and characters with diacritics
44031 \end_layout
44032
44033 \begin_layout Description
44034 Thai
44035 \begin_inset space ~
44036 \end_inset
44037
44038 (TIS
44039 \begin_inset space ~
44040 \end_inset
44041
44042 620-0) for Thai
44043 \end_layout
44044
44045 \begin_layout Description
44046 Turkish
44047 \begin_inset space ~
44048 \end_inset
44049
44050 (ISO
44051 \begin_inset space ~
44052 \end_inset
44053
44054 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
44055  Icelandic letters are replaced by Turkish ones
44056 \end_layout
44057
44058 \begin_layout Description
44059 Unicode
44060 \begin_inset space ~
44061 \end_inset
44062
44063 (CJK)
44064 \begin_inset space ~
44065 \end_inset
44066
44067 (utf8) Unicode utf8 with the \SpecialChar LaTeX
44068 -package 
44069 \series bold
44070 CJK
44071 \series default
44072
44073 \begin_inset Index idx
44074 status collapsed
44075
44076 \begin_layout Plain Layout
44077 \SpecialChar LaTeX
44078  packages ! CJK
44079 \end_layout
44080
44081 \end_inset
44082
44083  (for the languages Chinese, Japanese and Korean)
44084 \end_layout
44085
44086 \begin_layout Description
44087 Unicode
44088 \begin_inset space ~
44089 \end_inset
44090
44091 (Xe
44092 \family sans
44093 TeX
44094 \family default
44095 )
44096 \begin_inset space ~
44097 \end_inset
44098
44099 (utf8) Unicode utf8 to be used with 
44100 \family sans
44101 Xe\SpecialChar TeX
44102
44103 \family default
44104  and 
44105 \family sans
44106 Lua\SpecialChar TeX
44107
44108 \family default
44109 , which use Unicode directly, without the help of the \SpecialChar LaTeX
44110 -package 
44111 \series bold
44112 inputenc
44113 \series default
44114 .
44115  \SpecialChar LyX
44116  automatically selects this encoding if you export or preview Xe\SpecialChar TeX
44117  or Lua\SpecialChar TeX
44118 .
44119  Normally you do not need to set this encoding manually.
44120 \end_layout
44121
44122 \begin_layout Description
44123 Unicode
44124 \begin_inset space ~
44125 \end_inset
44126
44127 (ucs-extended)
44128 \begin_inset space ~
44129 \end_inset
44130
44131 (utf8x) Unicode utf8 based on the \SpecialChar LaTeX
44132 -package 
44133 \series bold
44134 ucs
44135 \series default
44136
44137 \begin_inset Index idx
44138 status collapsed
44139
44140 \begin_layout Plain Layout
44141 \SpecialChar LaTeX
44142  packages ! ucs
44143 \end_layout
44144
44145 \end_inset
44146
44147  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
44148 \end_layout
44149
44150 \begin_layout Description
44151 Unicode
44152 \begin_inset space ~
44153 \end_inset
44154
44155 (utf8) Unicode utf8 based on the \SpecialChar LaTeX
44156 -package 
44157 \series bold
44158 inputenc
44159 \series default
44160
44161 \begin_inset Index idx
44162 status collapsed
44163
44164 \begin_layout Plain Layout
44165 \SpecialChar LaTeX
44166  packages ! inputenc
44167 \end_layout
44168
44169 \end_inset
44170
44171 .
44172  Currently only a limited range of characters (mainly for Latin scripts)
44173  is supported.
44174 \end_layout
44175
44176 \begin_layout Description
44177 Western
44178 \begin_inset space ~
44179 \end_inset
44180
44181 European
44182 \begin_inset space ~
44183 \end_inset
44184
44185 (CP
44186 \begin_inset space ~
44187 \end_inset
44188
44189 1252) MS Windows code page for ISO
44190 \begin_inset space ~
44191 \end_inset
44192
44193 8859-1 (latin1)
44194 \end_layout
44195
44196 \begin_layout Description
44197 Western
44198 \begin_inset space ~
44199 \end_inset
44200
44201 European
44202 \begin_inset space ~
44203 \end_inset
44204
44205 (ISO
44206 \begin_inset space ~
44207 \end_inset
44208
44209 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
44210  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
44211  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
44212  encoding instead
44213 \end_layout
44214
44215 \begin_layout Description
44216 Western
44217 \begin_inset space ~
44218 \end_inset
44219
44220 European
44221 \begin_inset space ~
44222 \end_inset
44223
44224 (ISO
44225 \begin_inset space ~
44226 \end_inset
44227
44228 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
44229  sign, the œ-ligature and some characters used for French and Finnish
44230 \end_layout
44231
44232 \begin_layout Section
44233 Colors
44234 \begin_inset Index idx
44235 status collapsed
44236
44237 \begin_layout Plain Layout
44238 Color ! main text
44239 \end_layout
44240
44241 \end_inset
44242
44243
44244 \begin_inset Index idx
44245 status collapsed
44246
44247 \begin_layout Plain Layout
44248 Color ! background
44249 \end_layout
44250
44251 \end_inset
44252
44253
44254 \begin_inset Index idx
44255 status collapsed
44256
44257 \begin_layout Plain Layout
44258 Color ! Shaded boxes
44259 \end_layout
44260
44261 \end_inset
44262
44263
44264 \begin_inset Index idx
44265 status collapsed
44266
44267 \begin_layout Plain Layout
44268 Color ! Greyed-out notes
44269 \end_layout
44270
44271 \end_inset
44272
44273
44274 \end_layout
44275
44276 \begin_layout Standard
44277 Here you can alter the font color for the 
44278 \family sans
44279 Main text
44280 \family default
44281  (default: black), for 
44282 \family sans
44283 Greyed
44284 \begin_inset space ~
44285 \end_inset
44286
44287 out notes
44288 \family default
44289  (default: light grey)for the background color for the 
44290 \family sans
44291 Page
44292 \family default
44293  (default: white) and for 
44294 \family sans
44295 Shaded
44296 \begin_inset space ~
44297 \end_inset
44298
44299 boxes
44300 \family default
44301  (default: red).
44302  The button 
44303 \family sans
44304 Reset
44305 \family default
44306  sets the color back to the default.
44307 \end_layout
44308
44309 \begin_layout Standard
44310 Clicking any button showing 
44311 \family sans
44312 Default
44313 \family default
44314  or 
44315 \family sans
44316 Change
44317 \family default
44318  opens a dialog enabling you to choose from a selection of colors or from
44319  a color-picker or to specify a color using HSL or RGB values.
44320  In the dialog you can add any color to the custom colors to select them
44321  later more quickly.
44322 \end_layout
44323
44324 \begin_layout Standard
44325 Note, if you change the 
44326 \family sans
44327 Main
44328 \begin_inset space ~
44329 \end_inset
44330
44331 text
44332 \family default
44333  font color and use the option 
44334 \family sans
44335 Color
44336 \begin_inset space ~
44337 \end_inset
44338
44339 links
44340 \family default
44341  in the document settings under 
44342 \family sans
44343 PDF
44344 \begin_inset space ~
44345 \end_inset
44346
44347 properties
44348 \family default
44349 , you probably also need to change the link font color as described in section
44350 \begin_inset space ~
44351 \end_inset
44352
44353
44354 \begin_inset CommandInset ref
44355 LatexCommand ref
44356 reference "sec:PDF-Properties"
44357
44358 \end_inset
44359
44360 .
44361 \end_layout
44362
44363 \begin_layout Standard
44364 \begin_inset VSpace bigskip
44365 \end_inset
44366
44367
44368 \end_layout
44369
44370 \begin_layout Standard
44371 You can adapt the 
44372 \family sans
44373 Main
44374 \begin_inset space ~
44375 \end_inset
44376
44377 text
44378 \family default
44379  font color and the 
44380 \family sans
44381 Page
44382 \family default
44383  background for every page in your document if you use these commands as
44384  \SpecialChar TeX
44385
44386 \begin_inset space ~
44387 \end_inset
44388
44389 Code after a forced page break:
44390 \end_layout
44391
44392 \begin_layout Itemize
44393 For the page color:
44394 \begin_inset Newline newline
44395 \end_inset
44396
44397
44398 \series bold
44399
44400 \backslash
44401 pagecolor{color name}
44402 \end_layout
44403
44404 \begin_layout Itemize
44405 For the text color:
44406 \begin_inset Newline newline
44407 \end_inset
44408
44409
44410 \series bold
44411
44412 \backslash
44413 color{color name}
44414 \end_layout
44415
44416 \begin_layout Standard
44417 You are restricted to one of 
44418 \series bold
44419 black
44420 \series default
44421
44422 \series bold
44423 blue
44424 \series default
44425
44426 \series bold
44427 cyan
44428 \series default
44429
44430 \series bold
44431 green
44432 \series default
44433
44434 \series bold
44435 magenta
44436 \series default
44437
44438 \series bold
44439 red
44440 \series default
44441
44442 \series bold
44443 white
44444 \series default
44445  or 
44446 \series bold
44447 yellow
44448 \series default
44449  for the 
44450 \series bold
44451 color name
44452 \series default
44453  unless you have defined your own color (see the section 
44454 \emph on
44455 Colored Tables
44456 \emph default
44457  of the 
44458 \emph on
44459 Embedded
44460 \begin_inset space ~
44461 \end_inset
44462
44463 Objects
44464 \emph default
44465  Manual).
44466 \begin_inset Newline newline
44467 \end_inset
44468
44469 If you have changed a text or background color, you can use the following
44470  names to refer to them:
44471 \end_layout
44472
44473 \begin_layout Itemize
44474 For the 
44475 \family sans
44476 Page
44477 \family default
44478  background color:
44479 \begin_inset Newline newline
44480 \end_inset
44481
44482
44483 \series bold
44484 page_backgroundcolor
44485 \end_layout
44486
44487 \begin_layout Itemize
44488 For the 
44489 \family sans
44490 Main
44491 \begin_inset space ~
44492 \end_inset
44493
44494 text
44495 \family default
44496  color:
44497 \begin_inset Newline newline
44498 \end_inset
44499
44500
44501 \series bold
44502 document_fontcolor
44503 \end_layout
44504
44505 \begin_layout Itemize
44506 For the 
44507 \family sans
44508 Shaded
44509 \begin_inset space ~
44510 \end_inset
44511
44512 boxes
44513 \family default
44514  background color:
44515 \begin_inset Newline newline
44516 \end_inset
44517
44518
44519 \series bold
44520 shadecolor
44521 \end_layout
44522
44523 \begin_layout Itemize
44524 For the 
44525 \family sans
44526 Greyed
44527 \begin_inset space ~
44528 \end_inset
44529
44530 out notes
44531 \family default
44532  text color:
44533 \begin_inset Newline newline
44534 \end_inset
44535
44536
44537 \series bold
44538 note_fontcolor
44539 \end_layout
44540
44541 \begin_layout Standard
44542 To see how to define and use custom colors, see section 
44543 \emph on
44544 Colored
44545 \begin_inset space ~
44546 \end_inset
44547
44548 Cells
44549 \emph default
44550  of the 
44551 \emph on
44552 Embedded
44553 \begin_inset space ~
44554 \end_inset
44555
44556 Objects
44557 \emph default
44558  manual.
44559 \end_layout
44560
44561 \begin_layout Section
44562 Numbering & TOC
44563 \end_layout
44564
44565 \begin_layout Standard
44566 Here you can adjust the 
44567 \family sans
44568 Numbering
44569 \family default
44570  depth of section headings and the section depth in the 
44571 \family sans
44572 Table of Contents
44573 \family default
44574  as described in section
44575 \begin_inset space ~
44576 \end_inset
44577
44578
44579 \begin_inset CommandInset ref
44580 LatexCommand ref
44581 reference "subsec:Numbering-depth"
44582
44583 \end_inset
44584
44585 .
44586 \end_layout
44587
44588 \begin_layout Section
44589 Bibliography
44590 \end_layout
44591
44592 \begin_layout Standard
44593 Here you can specify if a specific citation style using the \SpecialChar LaTeX
44594  packages 
44595 \series bold
44596 biblatex
44597 \series default
44598
44599 \begin_inset Index idx
44600 status collapsed
44601
44602 \begin_layout Plain Layout
44603 \SpecialChar LaTeX
44604  packages ! biblatex
44605 \end_layout
44606
44607 \end_inset
44608
44609
44610 \series bold
44611 natbib
44612 \series default
44613
44614 \begin_inset Index idx
44615 status collapsed
44616
44617 \begin_layout Plain Layout
44618 \SpecialChar LaTeX
44619  packages ! natbib
44620 \end_layout
44621
44622 \end_inset
44623
44624  or 
44625 \series bold
44626 jurabib
44627 \series default
44628
44629 \begin_inset Index idx
44630 status collapsed
44631
44632 \begin_layout Plain Layout
44633 \SpecialChar LaTeX
44634  packages ! jurabib
44635 \end_layout
44636
44637 \end_inset
44638
44639  should be used.
44640  If you use Bib\SpecialChar TeX
44641 , you can enable a 
44642 \family sans
44643 Sectioned bibliography
44644 \family default
44645  using the \SpecialChar LaTeX
44646  package 
44647 \series bold
44648 bibtopic
44649 \series default
44650
44651 \begin_inset Index idx
44652 status collapsed
44653
44654 \begin_layout Plain Layout
44655 \SpecialChar LaTeX
44656  packages ! bibtopic
44657 \end_layout
44658
44659 \end_inset
44660
44661 .
44662  If you use 
44663 \noun on
44664 Biblatex
44665 \noun default
44666 , you can select the style files and specify further options.
44667  Finally, you can select a document-specific 
44668 \family sans
44669 Processor
44670 \family default
44671  for the generation of the bibliography.
44672  For a further description of these possibilities see section
44673 \begin_inset space ~
44674 \end_inset
44675
44676
44677 \begin_inset CommandInset ref
44678 LatexCommand ref
44679 reference "sec:Bibliography"
44680
44681 \end_inset
44682
44683 .
44684 \end_layout
44685
44686 \begin_layout Section
44687 Indexes
44688 \end_layout
44689
44690 \begin_layout Standard
44691 Here you can define the 
44692 \family sans
44693 Processor
44694 \family default
44695  that will generate your index and you can define additional indexes (see
44696  section
44697 \begin_inset space ~
44698 \end_inset
44699
44700
44701 \begin_inset CommandInset ref
44702 LatexCommand ref
44703 reference "sec:Index"
44704
44705 \end_inset
44706
44707  for details).
44708 \end_layout
44709
44710 \begin_layout Section
44711 PDF Properties
44712 \end_layout
44713
44714 \begin_layout Standard
44715 The PDF properties are explained in section
44716 \begin_inset space ~
44717 \end_inset
44718
44719
44720 \begin_inset CommandInset ref
44721 LatexCommand ref
44722 reference "sec:PDF-Properties"
44723
44724 \end_inset
44725
44726 .
44727 \end_layout
44728
44729 \begin_layout Section
44730 Math Options
44731 \end_layout
44732
44733 \begin_layout Standard
44734 These options will force \SpecialChar LyX
44735  to use the \SpecialChar LaTeX
44736  packages 
44737 \series bold
44738 amsmath
44739 \series default
44740
44741 \begin_inset Index idx
44742 status collapsed
44743
44744 \begin_layout Plain Layout
44745 \SpecialChar LaTeX
44746  packages ! amsmath
44747 \end_layout
44748
44749 \end_inset
44750
44751
44752 \series bold
44753 amssymb
44754 \series default
44755
44756 \begin_inset Index idx
44757 status collapsed
44758
44759 \begin_layout Plain Layout
44760 \SpecialChar LaTeX
44761  packages ! amssymb
44762 \end_layout
44763
44764 \end_inset
44765
44766 ,
44767 \series bold
44768  cancel
44769 \series default
44770
44771 \begin_inset Index idx
44772 status collapsed
44773
44774 \begin_layout Plain Layout
44775 \SpecialChar LaTeX
44776  packages ! cancel
44777 \end_layout
44778
44779 \end_inset
44780
44781 ,
44782 \series bold
44783  esint
44784 \series default
44785
44786 \begin_inset Index idx
44787 status collapsed
44788
44789 \begin_layout Plain Layout
44790 \SpecialChar LaTeX
44791  packages ! esint
44792 \end_layout
44793
44794 \end_inset
44795
44796
44797 \series bold
44798 mathdots
44799 \series default
44800
44801 \begin_inset Index idx
44802 status collapsed
44803
44804 \begin_layout Plain Layout
44805 \SpecialChar LaTeX
44806  packages ! mathdots
44807 \end_layout
44808
44809 \end_inset
44810
44811
44812 \series bold
44813 mathtools
44814 \series default
44815
44816 \begin_inset Index idx
44817 status collapsed
44818
44819 \begin_layout Plain Layout
44820 \SpecialChar LaTeX
44821  packages ! mathtools
44822 \end_layout
44823
44824 \end_inset
44825
44826
44827 \series bold
44828 mhchem
44829 \series default
44830
44831 \begin_inset Index idx
44832 status collapsed
44833
44834 \begin_layout Plain Layout
44835 \SpecialChar LaTeX
44836  packages ! mhchem
44837 \end_layout
44838
44839 \end_inset
44840
44841
44842 \series bold
44843 stackrel
44844 \series default
44845
44846 \begin_inset Index idx
44847 status collapsed
44848
44849 \begin_layout Plain Layout
44850 \SpecialChar LaTeX
44851  packages ! stackrel
44852 \end_layout
44853
44854 \end_inset
44855
44856
44857 \series bold
44858 stmaryrd
44859 \series default
44860
44861 \begin_inset Index idx
44862 status collapsed
44863
44864 \begin_layout Plain Layout
44865 \SpecialChar LaTeX
44866  packages ! stmaryrd
44867 \end_layout
44868
44869 \end_inset
44870
44871  and 
44872 \series bold
44873 undertilde
44874 \series default
44875
44876 \begin_inset Index idx
44877 status collapsed
44878
44879 \begin_layout Plain Layout
44880 \SpecialChar LaTeX
44881  packages ! undertilde
44882 \end_layout
44883
44884 \end_inset
44885
44886 , or to use them automatically when they are needed.
44887 \end_layout
44888
44889 \begin_layout Description
44890 amsmath is needed for many constructs, so when you get \SpecialChar LaTeX
44891 -errors in formulas,
44892  ensure that you have this enabled.
44893 \end_layout
44894
44895 \begin_layout Description
44896 amssymb is needed for some special math symbols like bold or upright Greek
44897  letters, so when you get \SpecialChar LaTeX
44898 -errors in formulas, ensure that you have this
44899  enabled.
44900 \end_layout
44901
44902 \begin_layout Description
44903 cancel is used for canceled formulas, see section 
44904 \emph on
44905 Canceled
44906 \begin_inset space ~
44907 \end_inset
44908
44909 Formulas
44910 \emph default
44911  of the 
44912 \emph on
44913 Math
44914 \emph default
44915  manual.
44916 \end_layout
44917
44918 \begin_layout Description
44919 esint is used for special integral characters, see section 
44920 \emph on
44921 Big
44922 \begin_inset space ~
44923 \end_inset
44924
44925 Operators
44926 \emph default
44927  of the 
44928 \emph on
44929 Math
44930 \emph default
44931  manual.
44932 \end_layout
44933
44934 \begin_layout Description
44935 mathdots is used for special ellipses, see section 
44936 \emph on
44937 Ellipses
44938 \emph default
44939  of the 
44940 \emph on
44941 Math
44942 \emph default
44943  manual.
44944 \end_layout
44945
44946 \begin_layout Description
44947 mathtools is used for the math commands 
44948 \series bold
44949
44950 \backslash
44951 overbracket
44952 \series default
44953
44954 \series bold
44955
44956 \backslash
44957 underbracket
44958 \series default
44959
44960 \series bold
44961
44962 \backslash
44963 smashoperator
44964 \series default
44965
44966 \series bold
44967
44968 \backslash
44969 adjustlimits
44970 \series default
44971
44972 \series bold
44973
44974 \backslash
44975 splitfrac
44976 \series default
44977
44978 \series bold
44979
44980 \backslash
44981 shortintertext
44982 \series default
44983  and labeled arrows, see the corresponding sections in the 
44984 \emph on
44985 Math
44986 \emph default
44987  manual.
44988 \end_layout
44989
44990 \begin_layout Description
44991 mhchem is used for chemical equations, see section 
44992 \emph on
44993 Chemical Symbols and Equations
44994 \emph default
44995  of the 
44996 \emph on
44997 Math
44998 \emph default
44999  manual.
45000 \end_layout
45001
45002 \begin_layout Description
45003 stackrel is used for the math command 
45004 \series bold
45005
45006 \backslash
45007 stackrel
45008 \series default
45009 , see section 
45010 \emph on
45011 Relations 
45012 \emph default
45013 of the 
45014 \emph on
45015 Math
45016 \emph default
45017  manual.
45018 \end_layout
45019
45020 \begin_layout Description
45021 stmaryrd is used for a few special math symbols.
45022 \end_layout
45023
45024 \begin_layout Description
45025 undertilde is used for the math command 
45026 \series bold
45027
45028 \backslash
45029 utilde
45030 \series default
45031 , see section 
45032 \emph on
45033 Accents for one Character 
45034 \emph default
45035 of the 
45036 \emph on
45037 Math
45038 \emph default
45039  manual.
45040 \end_layout
45041
45042 \begin_layout Section
45043 Float Placement
45044 \end_layout
45045
45046 \begin_layout Standard
45047 The float placement options are described in the section 
45048 \emph on
45049 Float
45050 \begin_inset space ~
45051 \end_inset
45052
45053 Placement
45054 \emph default
45055  of the 
45056 \emph on
45057 Embedded
45058 \begin_inset space ~
45059 \end_inset
45060
45061 Objects
45062 \emph default
45063  manual.
45064 \end_layout
45065
45066 \begin_layout Section
45067 Listings
45068 \end_layout
45069
45070 \begin_layout Standard
45071 The listings settings are explained in the chapter 
45072 \emph on
45073 Program Code Listings
45074 \emph default
45075  of the 
45076 \emph on
45077 Embedded
45078 \begin_inset space ~
45079 \end_inset
45080
45081 Objects
45082 \emph default
45083  manual.
45084 \end_layout
45085
45086 \begin_layout Section
45087 Bullets
45088 \end_layout
45089
45090 \begin_layout Standard
45091 Here you can adjust the characters used for the itemize 
45092 \family sans
45093 Level
45094 \family default
45095 s, specify the 
45096 \family sans
45097 Font
45098 \family default
45099  set to be used and set the 
45100 \family sans
45101 Size
45102 \family default
45103  of the bullets.
45104  The itemize environment is described in section
45105 \begin_inset space ~
45106 \end_inset
45107
45108
45109 \begin_inset CommandInset ref
45110 LatexCommand ref
45111 reference "sec:Itemize"
45112
45113 \end_inset
45114
45115 .
45116 \end_layout
45117
45118 \begin_layout Standard
45119 You can furthermore specify a 
45120 \family sans
45121 Custom
45122 \begin_inset space ~
45123 \end_inset
45124
45125 Bullet
45126 \family default
45127  by inserting in this field the \SpecialChar LaTeX
45128  command of the desired character.
45129  For example to use the € sign, you have to insert the command 
45130 \series bold
45131
45132 \backslash
45133 texteuro
45134 \series default
45135 .
45136  For math symbols you additionally need to enclose the command with $ signs.
45137  To use e.
45138 \begin_inset space \thinspace{}
45139 \end_inset
45140
45141 g.
45142 \begin_inset space \space{}
45143 \end_inset
45144
45145 the symbol 
45146 \begin_inset Formula $\circlearrowright$
45147 \end_inset
45148
45149  you need to enter 
45150 \series bold
45151 $
45152 \backslash
45153 circlearrowright$
45154 \series default
45155 .
45156  To find the command for a math symbol, create a formula and hover the mouse
45157  over the desired symbol in the math toolbar.
45158 \end_layout
45159
45160 \begin_layout Standard
45161 \begin_inset Note Greyedout
45162 status open
45163
45164 \begin_layout Plain Layout
45165
45166 \series bold
45167 Note:
45168 \series default
45169  Some characters require to load special \SpecialChar LaTeX
45170 -packages in the preamble (menu
45171  
45172 \family sans
45173 Document\SpecialChar menuseparator
45174 Settings\SpecialChar menuseparator
45175 \SpecialChar LaTeX
45176
45177 \begin_inset space ~
45178 \end_inset
45179
45180 Preamble
45181 \family default
45182 ).
45183  For example for the € sign one needs to add the line 
45184 \series bold
45185
45186 \backslash
45187 usepackage{textcomp}
45188 \series default
45189  to the preamble.
45190  For most math symbols it is sufficient to add the line 
45191 \series bold
45192
45193 \backslash
45194 usepackage{amssymb}
45195 \series default
45196 .
45197 \end_layout
45198
45199 \end_inset
45200
45201
45202 \end_layout
45203
45204 \begin_layout Section
45205 Branches
45206 \end_layout
45207
45208 \begin_layout Standard
45209 Branches are described in section
45210 \begin_inset space ~
45211 \end_inset
45212
45213
45214 \begin_inset CommandInset ref
45215 LatexCommand ref
45216 reference "sec:Branches"
45217
45218 \end_inset
45219
45220 .
45221 \end_layout
45222
45223 \begin_layout Section
45224 Formats
45225 \begin_inset CommandInset label
45226 LatexCommand label
45227 name "sec:Doc-Formats"
45228
45229 \end_inset
45230
45231
45232 \end_layout
45233
45234 \begin_layout Standard
45235 Here you can define some output specifics for the current document:
45236 \end_layout
45237
45238 \begin_layout Description
45239 Default
45240 \begin_inset space ~
45241 \end_inset
45242
45243 Output
45244 \begin_inset space ~
45245 \end_inset
45246
45247 Format: The format that is used when you enter 
45248 \begin_inset Quotes eld
45249 \end_inset
45250
45251 View
45252 \begin_inset Quotes erd
45253 \end_inset
45254
45255
45256 \begin_inset Quotes eld
45257 \end_inset
45258
45259 Update
45260 \begin_inset Quotes erd
45261 \end_inset
45262
45263
45264 \begin_inset Quotes eld
45265 \end_inset
45266
45267 View Master Document
45268 \begin_inset Quotes erd
45269 \end_inset
45270
45271  and 
45272 \begin_inset Quotes eld
45273 \end_inset
45274
45275 Update Master Document
45276 \begin_inset Quotes erd
45277 \end_inset
45278
45279  in the 
45280 \family sans
45281 Document
45282 \family default
45283  menu or the toolbar.
45284  The default is set in 
45285 \family sans
45286 Tools\SpecialChar menuseparator
45287 Preferences\SpecialChar menuseparator
45288 File
45289 \begin_inset space ~
45290 \end_inset
45291
45292 Handling\SpecialChar menuseparator
45293 File Formats
45294 \family default
45295 , see section
45296 \begin_inset space ~
45297 \end_inset
45298
45299
45300 \begin_inset CommandInset ref
45301 LatexCommand ref
45302 reference "sec:File-Formats"
45303
45304 \end_inset
45305
45306 .
45307 \end_layout
45308
45309 \begin_layout Description
45310 Synchronize
45311 \begin_inset space ~
45312 \end_inset
45313
45314 with
45315 \begin_inset space ~
45316 \end_inset
45317
45318 Output settings for the menu 
45319 \family sans
45320 Navigate\SpecialChar menuseparator
45321 Forward
45322 \begin_inset space ~
45323 \end_inset
45324
45325 search
45326 \family default
45327 .
45328  For a detailed description see section 
45329 \emph on
45330 Reverse DVI/PDF search
45331 \emph default
45332  of the 
45333 \emph on
45334 Additional
45335 \begin_inset space ~
45336 \end_inset
45337
45338 Features
45339 \emph default
45340  manual.
45341 \end_layout
45342
45343 \begin_layout Description
45344 XHTML
45345 \begin_inset space ~
45346 \end_inset
45347
45348 Output
45349 \begin_inset space ~
45350 \end_inset
45351
45352 Options offers settings for the export format 
45353 \family sans
45354 LyXHTML
45355 \family default
45356 .
45357  
45358 \family sans
45359 Strict XHTML
45360 \begin_inset space ~
45361 \end_inset
45362
45363 1.1
45364 \family default
45365  will assure that the output follows exactly version
45366 \begin_inset space ~
45367 \end_inset
45368
45369 1.1 of the XHTML standard.
45370  The different 
45371 \family sans
45372 Math
45373 \begin_inset space ~
45374 \end_inset
45375
45376 output
45377 \family default
45378  settings are described in detail in section 
45379 \emph on
45380 Math Output in XHTML
45381 \emph default
45382  of the 
45383 \emph on
45384 Additional
45385 \begin_inset space ~
45386 \end_inset
45387
45388 Features
45389 \emph default
45390  manual.
45391  
45392 \family sans
45393 Math
45394 \begin_inset space ~
45395 \end_inset
45396
45397 image
45398 \begin_inset space ~
45399 \end_inset
45400
45401 scaling
45402 \family default
45403  is used for the size of equations in the output.
45404 \end_layout
45405
45406 \begin_layout Description
45407 LyX
45408 \begin_inset space ~
45409 \end_inset
45410
45411 Format The option 
45412 \family sans
45413 Save transient properties
45414 \family default
45415  controls whether document settings that are frequently switched or that
45416  are specific to the user are saved with the document.
45417  The properties that are affected by option are currently:
45418 \end_layout
45419
45420 \begin_deeper
45421 \begin_layout Itemize
45422 the activation of change tracking
45423 \end_layout
45424
45425 \begin_layout Itemize
45426 the output of tracked changes
45427 \end_layout
45428
45429 \begin_layout Itemize
45430 the recording of the document directory path.
45431 \end_layout
45432
45433 \begin_layout Standard
45434 Disabling the option can prevent issues in collaborative work and/or when
45435  using a version control system (for instance unnecessary merge conflicts).
45436 \end_layout
45437
45438 \end_deeper
45439 \begin_layout Section
45440 La
45441 \family sans
45442 TeX
45443 \family default
45444  Preamble
45445 \end_layout
45446
45447 \begin_layout Standard
45448 In this text field you can enter commands to load special \SpecialChar LaTeX
45449 -packages or to
45450  define \SpecialChar LaTeX
45451 -commands.
45452  The preamble is a thing for \SpecialChar LaTeX
45453 -experts.
45454  You should not enter commands here until you know exactly what you are
45455  doing.
45456 \end_layout
45457
45458 \begin_layout Standard
45459 An introduction to the \SpecialChar LaTeX
45460 -syntax is given in section
45461 \begin_inset space ~
45462 \end_inset
45463
45464
45465 \begin_inset CommandInset ref
45466 LatexCommand ref
45467 reference "subsec:LaTeX-Syntax"
45468
45469 \end_inset
45470
45471 .
45472 \end_layout
45473
45474 \begin_layout Chapter
45475 The 
45476 \family sans
45477 Preferences
45478 \family default
45479  Dialog
45480 \begin_inset CommandInset label
45481 LatexCommand label
45482 name "chap:The-Preferences-dialog"
45483
45484 \end_inset
45485
45486
45487 \begin_inset Index idx
45488 status collapsed
45489
45490 \begin_layout Plain Layout
45491 Preferences
45492 \end_layout
45493
45494 \end_inset
45495
45496
45497 \end_layout
45498
45499 \begin_layout Standard
45500 The preferences dialog is called with the menu 
45501 \family sans
45502 Tools\SpecialChar menuseparator
45503 Preferences
45504 \family default
45505 .
45506  It has the following submenus.
45507 \end_layout
45508
45509 \begin_layout Section
45510 Look and Feel
45511 \end_layout
45512
45513 \begin_layout Subsection
45514 User Interface
45515 \end_layout
45516
45517 \begin_layout Subsubsection
45518 User Interface File
45519 \begin_inset Index idx
45520 status collapsed
45521
45522 \begin_layout Plain Layout
45523 Customization ! of toolbars
45524 \end_layout
45525
45526 \end_inset
45527
45528
45529 \begin_inset Index idx
45530 status collapsed
45531
45532 \begin_layout Plain Layout
45533 Customization ! of menus
45534 \end_layout
45535
45536 \end_inset
45537
45538
45539 \end_layout
45540
45541 \begin_layout Standard
45542 The appearance of the menus and toolbars can be changed by choosing a user
45543  interface (ui) file.
45544  A ui-file is a text file where the toolbars and menus are listed.
45545  The file 
45546 \emph on
45547 default.ui
45548 \emph default
45549  loads three files:
45550 \end_layout
45551
45552 \begin_layout Description
45553 stdmenus.inc
45554 \shape italic
45555  
45556 \emph on
45557 specifies the menu entries for the standard menus
45558 \end_layout
45559
45560 \begin_layout Description
45561 stdcontext.inc 
45562 \shape italic
45563 \emph on
45564 specifies
45565 \shape default
45566 \emph default
45567  the menu entries in popup context menus
45568 \end_layout
45569
45570 \begin_layout Description
45571 stdtoolbars.inc
45572 \shape italic
45573  
45574 \emph on
45575 specifies the toolbar buttons
45576 \end_layout
45577
45578 \begin_layout Standard
45579 To create your own menu and toolbar layout, start with a copy of these files
45580  and edit the entries.
45581 \end_layout
45582
45583 \begin_layout Standard
45584 The syntax of the .inc-files is straightforward: the 
45585 \family sans
45586 Menubar
45587 \family default
45588
45589 \family sans
45590 Menu
45591 \family default
45592  and 
45593 \family sans
45594 Toolbar
45595 \family default
45596  entries must be finished with an explicit 
45597 \family sans
45598 End
45599 \family default
45600 .
45601  They may contain 
45602 \family sans
45603 Submenu
45604 \family default
45605
45606 \family sans
45607 Item
45608 \family default
45609
45610 \family sans
45611 OptItem
45612 \family default
45613
45614 \family sans
45615 Separator
45616 \family default
45617
45618 \family sans
45619 Icon,
45620 \family default
45621  and in the case of the 
45622 \begin_inset Quotes eld
45623 \end_inset
45624
45625 file_lastfiles
45626 \begin_inset Quotes erd
45627 \end_inset
45628
45629  menu a 
45630 \family sans
45631 Lastfiles
45632 \family default
45633  entry.
45634  The syntax for the entries is:
45635 \end_layout
45636
45637 \begin_layout Standard
45638 \begin_inset VSpace smallskip*
45639 \end_inset
45640
45641
45642 \series bold
45643 Item 
45644 \begin_inset Quotes eld
45645 \end_inset
45646
45647 menu 
45648 \series default
45649 or
45650 \series bold
45651  button name
45652 \begin_inset Quotes erd
45653 \end_inset
45654
45655  
45656 \begin_inset Quotes eld
45657 \end_inset
45658
45659 \SpecialChar LyX
45660  function
45661 \begin_inset Quotes erd
45662 \end_inset
45663
45664
45665 \end_layout
45666
45667 \begin_layout Standard
45668 \noindent
45669 \begin_inset VSpace smallskip*
45670 \end_inset
45671
45672 All the \SpecialChar LyX
45673 -functions are listed in the menu 
45674 \family sans
45675 Help\SpecialChar menuseparator
45676 LyX
45677 \begin_inset space ~
45678 \end_inset
45679
45680 Functions
45681 \family default
45682 .
45683 \end_layout
45684
45685 \begin_layout Standard
45686 \begin_inset VSpace medskip
45687 \end_inset
45688
45689
45690 \end_layout
45691
45692 \begin_layout Standard
45693 For example, assuming you use the menu 
45694 \family sans
45695 Navigate\SpecialChar menuseparator
45696 Bookmarks
45697 \family default
45698  quite often and therefore want six available bookmarks, you can add the
45699  line
45700 \end_layout
45701
45702 \begin_layout Standard
45703 \begin_inset VSpace smallskip*
45704 \end_inset
45705
45706
45707 \series bold
45708 Item 
45709 \begin_inset Quotes eld
45710 \end_inset
45711
45712 Save Bookmark 6
45713 \begin_inset Quotes erd
45714 \end_inset
45715
45716  
45717 \begin_inset Quotes eld
45718 \end_inset
45719
45720 bookmark-save 6
45721 \begin_inset Quotes erd
45722 \end_inset
45723
45724
45725 \end_layout
45726
45727 \begin_layout Standard
45728 \noindent
45729 \begin_inset VSpace smallskip*
45730 \end_inset
45731
45732 to the 
45733 \begin_inset Quotes eld
45734 \end_inset
45735
45736 navigate_bookmarks
45737 \begin_inset Quotes erd
45738 \end_inset
45739
45740  menu in 
45741 \emph on
45742 stdmenus.inc
45743 \emph default
45744  to have the sixth bookmark.
45745 \end_layout
45746
45747 \begin_layout Standard
45748
45749 \family sans
45750 Icon
45751 \begin_inset space ~
45752 \end_inset
45753
45754 Set
45755 \family default
45756  allows you to change the appearance of \SpecialChar LyX
45757 's toolbar buttons.
45758  The currently available icon sets are compared in 
45759 \begin_inset CommandInset href
45760 LatexCommand href
45761 name "this image"
45762 target "https://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
45763 literal "false"
45764
45765 \end_inset
45766
45767 .
45768 \end_layout
45769
45770 \begin_layout Subsubsection
45771 Context help
45772 \end_layout
45773
45774 \begin_layout Standard
45775 The option 
45776 \family sans
45777 Enable tool tips in main work area
45778 \family default
45779  enables tool tips showing the content of closed insets like index entries
45780  or footnotes.
45781 \end_layout
45782
45783 \begin_layout Subsubsection
45784 Menus
45785 \end_layout
45786
45787 \begin_layout Standard
45788
45789 \family sans
45790 Maximum last files
45791 \family default
45792  is the number of last opened files that \SpecialChar LyX
45793  should display in the menu 
45794 \family sans
45795 File\SpecialChar menuseparator
45796 Open
45797 \begin_inset space ~
45798 \end_inset
45799
45800 Recent
45801 \family default
45802 .
45803 \end_layout
45804
45805 \begin_layout Subsection
45806 Document Handling
45807 \end_layout
45808
45809 \begin_layout Subsubsection
45810 Session handling
45811 \end_layout
45812
45813 \begin_layout Standard
45814 With the option 
45815 \family sans
45816 Restore window layouts and geometries
45817 \family default
45818  \SpecialChar LyX
45819 's main window will be opened with the size and layout that was used in
45820  the last \SpecialChar LyX
45821  session.
45822 \end_layout
45823
45824 \begin_layout Standard
45825 The option 
45826 \family sans
45827 Restore cursor positions
45828 \family default
45829  sets the cursor to the position in the file where it was at the end of
45830  the last session.
45831 \end_layout
45832
45833 \begin_layout Standard
45834 The option 
45835 \family sans
45836 Load opened files from last session
45837 \family default
45838  opens all files that were opened in the last \SpecialChar LyX
45839  session.
45840 \end_layout
45841
45842 \begin_layout Standard
45843 The button 
45844 \family sans
45845 Clear all session information
45846 \family default
45847  deletes all information from previous \SpecialChar LyX
45848  sessions (cursor positions, names
45849  of last opened documents, etc.).
45850 \end_layout
45851
45852 \begin_layout Subsubsection
45853 Backup & saving
45854 \begin_inset CommandInset label
45855 LatexCommand label
45856 name "subsec:Backup documents"
45857
45858 \end_inset
45859
45860
45861 \begin_inset Index idx
45862 status collapsed
45863
45864 \begin_layout Plain Layout
45865 Backup ! Documents
45866 \end_layout
45867
45868 \end_inset
45869
45870
45871 \end_layout
45872
45873 \begin_layout Standard
45874
45875 \family sans
45876 Backup original documents when saving
45877 \family default
45878  creates a backup copy of the file in the state when it was opened or when
45879  it was saved the last time.
45880  It is stored in the 
45881 \family sans
45882 Backup
45883 \begin_inset space ~
45884 \end_inset
45885
45886 directory
45887 \family default
45888  (see section
45889 \begin_inset space ~
45890 \end_inset
45891
45892
45893 \begin_inset CommandInset ref
45894 LatexCommand ref
45895 reference "sec:Paths"
45896
45897 \end_inset
45898
45899 ) or in the same folder as your document if no 
45900 \family sans
45901 Backup
45902 \begin_inset space ~
45903 \end_inset
45904
45905 directory
45906 \family default
45907  is specified.
45908  The backup file has the file extension 
45909 \begin_inset Quotes eld
45910 \end_inset
45911
45912
45913 \family sans
45914 .lyx~
45915 \family default
45916
45917 \begin_inset Quotes erd
45918 \end_inset
45919
45920 .
45921 \end_layout
45922
45923 \begin_layout Standard
45924 With the option 
45925 \family sans
45926 Backup documents, every
45927 \family default
45928 , you can specify the time between backup saves.
45929 \end_layout
45930
45931 \begin_layout Standard
45932
45933 \family sans
45934 Save documents compressed by default
45935 \family default
45936  always saves files in a compressed format (see also section
45937 \begin_inset space ~
45938 \end_inset
45939
45940
45941 \begin_inset CommandInset ref
45942 LatexCommand ref
45943 reference "subsec:Compressed"
45944
45945 \end_inset
45946
45947 ).
45948  This applies to newly created documents only.
45949  The compression status of existing documents is not changed when saving.
45950 \end_layout
45951
45952 \begin_layout Subsubsection
45953 Windows & work area
45954 \end_layout
45955
45956 \begin_layout Standard
45957 If the option 
45958 \family sans
45959 Open documents in tabs
45960 \family default
45961  is not checked, every file will be opened in its own new instance of \SpecialChar LyX
45962 .
45963 \end_layout
45964
45965 \begin_layout Standard
45966 The option 
45967 \family sans
45968 Single instance
45969 \family default
45970  is only active if a \SpecialChar LyX
45971 Server pipe
45972 \begin_inset Foot
45973 status collapsed
45974
45975 \begin_layout Plain Layout
45976 See section
45977 \begin_inset space ~
45978 \end_inset
45979
45980
45981 \begin_inset CommandInset ref
45982 LatexCommand ref
45983 reference "sec:Paths"
45984
45985 \end_inset
45986
45987  for information about \SpecialChar LyX
45988 Server pipes.
45989 \end_layout
45990
45991 \end_inset
45992
45993  is specified.
45994  If it is checked, \SpecialChar LyX
45995  documents will be opened in the same running instance
45996  of \SpecialChar LyX
45997 .
45998  Otherwise a new \SpecialChar LyX
45999  instance is created for each file.
46000 \end_layout
46001
46002 \begin_layout Standard
46003 If the option 
46004 \family sans
46005 Single close-tab button
46006 \family default
46007  is checked, there will only be one close button (
46008 \family sans
46009
46010 \begin_inset Info
46011 type  "icon"
46012 arg   "closetab"
46013 \end_inset
46014
46015
46016 \family default
46017 ) at the right side of the tab bar to close tabs.
46018  Otherwise every document tab has its own close button.
46019  Regardless of this option, one can always close a tab by middle-clicking
46020  it in the tab bar.
46021 \end_layout
46022
46023 \begin_layout Standard
46024 \begin_inset Note Greyedout
46025 status open
46026
46027 \begin_layout Plain Layout
46028
46029 \series bold
46030 Note:
46031 \series default
46032  For this option you have to restart \SpecialChar LyX
46033  before the change takes effect.
46034 \end_layout
46035
46036 \end_inset
46037
46038
46039 \end_layout
46040
46041 \begin_layout Standard
46042 With the setting 
46043 \family sans
46044 Closing last view
46045 \family default
46046  you one can decide if a document is closed or hidden when its tab or view
46047  is closed.
46048  Hidden documents are accessible via the menu 
46049 \family sans
46050 View\SpecialChar menuseparator
46051 Hidden
46052 \family default
46053 .
46054  Not to close documents can be useful if you open files parallel in several
46055  instances of \SpecialChar LyX
46056  and only want to close the view in once instance.
46057 \end_layout
46058
46059 \begin_layout Subsection
46060 Screen Fonts
46061 \begin_inset Index idx
46062 status collapsed
46063
46064 \begin_layout Plain Layout
46065 Font ! Screen
46066 \end_layout
46067
46068 \end_inset
46069
46070
46071 \begin_inset CommandInset label
46072 LatexCommand label
46073 name "subsec:Screen-Fonts"
46074
46075 \end_inset
46076
46077
46078 \end_layout
46079
46080 \begin_layout Standard
46081 These fonts are used to display your documents within \SpecialChar LyX
46082 .
46083 \end_layout
46084
46085 \begin_layout Standard
46086 \begin_inset Note Greyedout
46087 status open
46088
46089 \begin_layout Plain Layout
46090
46091 \series bold
46092 Note:
46093 \series default
46094  This section only deals with the fonts 
46095 \emph on
46096 inside
46097 \emph default
46098  the \SpecialChar LyX
46099  window.
46100  The fonts that appear in the output are independent of these fonts, and
46101  set in the menu 
46102 \family sans
46103 Document\SpecialChar menuseparator
46104 Settings\SpecialChar menuseparator
46105 Fonts
46106 \family default
46107 .
46108 \end_layout
46109
46110 \end_inset
46111
46112
46113 \end_layout
46114
46115 \begin_layout Standard
46116 By default, \SpecialChar LyX
46117  uses 
46118 \family typewriter
46119 Times
46120 \family default
46121  as its 
46122 \family sans
46123 Roman
46124 \family default
46125  (serif) font, 
46126 \family typewriter
46127 Arial
46128 \family default
46129  or 
46130 \family typewriter
46131 Helvetica
46132 \family default
46133  (depends on the system) as its 
46134 \family sans
46135 Sans
46136 \begin_inset space ~
46137 \end_inset
46138
46139 Serif
46140 \family default
46141  font and 
46142 \family typewriter
46143 Courier
46144 \family default
46145  as its 
46146 \family typewriter
46147 Typewriter
46148 \family default
46149  font.
46150 \end_layout
46151
46152 \begin_layout Standard
46153 You can change the font size with the 
46154 \family sans
46155 Zoom
46156 \family default
46157  setting.
46158 \end_layout
46159
46160 \begin_layout Standard
46161 The 
46162 \family sans
46163 Font Sizes
46164 \family default
46165  are calculated as letter height in units of points.
46166  72.27
46167 \begin_inset space \thinspace{}
46168 \end_inset
46169
46170 points have the size of 1
46171 \begin_inset space \thinspace{}
46172 \end_inset
46173
46174 inch, see Appendix
46175 \begin_inset space ~
46176 \end_inset
46177
46178
46179 \begin_inset CommandInset ref
46180 LatexCommand ref
46181 reference "chap:Units-available-in"
46182
46183 \end_inset
46184
46185 .
46186  The default font sizes are the same as if a document font size of 10
46187 \begin_inset space \thinspace{}
46188 \end_inset
46189
46190 pt were used.
46191  The sizes are explained in detail in section
46192 \begin_inset space ~
46193 \end_inset
46194
46195
46196 \begin_inset CommandInset ref
46197 LatexCommand ref
46198 reference "subsec:Document-Font"
46199
46200 \end_inset
46201
46202 .
46203 \end_layout
46204
46205 \begin_layout Standard
46206 With the option 
46207 \family sans
46208 Use pixmap cache to speed up font rendering
46209 \family default
46210  enabled, \SpecialChar LyX
46211  needs to redraw the screen less often.
46212  This results in better performance, especially on slow systems.
46213  On the other hand, the characters might look more fuzzy on screen.
46214  So whether you enable this or not depends on whether you prefer speed over
46215  aesthetics.
46216  Note that the Pixmap Cache is only available and useful under Mac
46217 \begin_inset space ~
46218 \end_inset
46219
46220 OS and Windows.
46221 \end_layout
46222
46223 \begin_layout Subsection
46224 Colors
46225 \begin_inset Index idx
46226 status collapsed
46227
46228 \begin_layout Plain Layout
46229 Color ! \SpecialChar LyX
46230  screen
46231 \end_layout
46232
46233 \end_inset
46234
46235
46236 \begin_inset Index idx
46237 status collapsed
46238
46239 \begin_layout Plain Layout
46240 Settings ! Color
46241 \end_layout
46242
46243 \end_inset
46244
46245
46246 \end_layout
46247
46248 \begin_layout Standard
46249 Here you can change the screen colors used by \SpecialChar LyX
46250  by choosing an item in the
46251  list and selecting the 
46252 \family sans
46253 Alter
46254 \family default
46255  button.
46256 \end_layout
46257
46258 \begin_layout Standard
46259 By checking the option 
46260 \family sans
46261 Use system colors
46262 \family default
46263  the color scheme of your OS or window manager is used.
46264  The colors 
46265 \family sans
46266 cursor, selection, table line, text, URL
46267 \begin_inset space ~
46268 \end_inset
46269
46270 label and URL
46271 \begin_inset space ~
46272 \end_inset
46273
46274 text
46275 \family default
46276  are then not customizable and thus not listed.
46277 \end_layout
46278
46279 \begin_layout Subsection
46280 Display
46281 \begin_inset Index idx
46282 status collapsed
46283
46284 \begin_layout Plain Layout
46285 Settings ! Display
46286 \end_layout
46287
46288 \end_inset
46289
46290
46291 \end_layout
46292
46293 \begin_layout Standard
46294 Here you can specify if graphics are displayed inside \SpecialChar LyX
46295 .
46296 \end_layout
46297
46298 \begin_layout Standard
46299
46300 \family sans
46301 Instant Preview
46302 \family default
46303  enables previewing snippets of your document.
46304  This feature is described in section
46305 \begin_inset space ~
46306 \end_inset
46307
46308
46309 \begin_inset CommandInset ref
46310 LatexCommand ref
46311 reference "sec:Previewing-snippets-of"
46312
46313 \end_inset
46314
46315 .
46316 \end_layout
46317
46318 \begin_layout Standard
46319 Checking the option 
46320 \family sans
46321 Mark
46322 \begin_inset space ~
46323 \end_inset
46324
46325 end
46326 \begin_inset space ~
46327 \end_inset
46328
46329 of
46330 \begin_inset space ~
46331 \end_inset
46332
46333 paragraphs
46334 \family default
46335  displays a pilcrow (¶) at the end of every paragraph.
46336 \end_layout
46337
46338 \begin_layout Section
46339 Editing
46340 \begin_inset Index idx
46341 status collapsed
46342
46343 \begin_layout Plain Layout
46344 Settings ! Editing
46345 \end_layout
46346
46347 \end_inset
46348
46349
46350 \end_layout
46351
46352 \begin_layout Subsection
46353 Control
46354 \end_layout
46355
46356 \begin_layout Subsubsection
46357 Editing
46358 \end_layout
46359
46360 \begin_layout Standard
46361 The option 
46362 \family sans
46363 Cursor follows scrollbar
46364 \family default
46365  sets the cursor to the top of the currently displayed document part when
46366  scrolling.
46367 \end_layout
46368
46369 \begin_layout Standard
46370 You can adjust the width of the cursor.
46371  If you set the value to zero, the thickness of the cursor scales relative
46372  to the zoom value you choose for the screen fonts.
46373 \end_layout
46374
46375 \begin_layout Standard
46376
46377 \family sans
46378 Scroll below end of document
46379 \family default
46380  is self-explanatory.
46381 \end_layout
46382
46383 \begin_layout Standard
46384 In \SpecialChar LyX
46385  one can jump from word to word by pressing 
46386 \family sans
46387 Ctrl+arrow key
46388 \family default
46389 .
46390  With the option
46391 \family sans
46392  Use Mac-style for cursor moving between words
46393 \family default
46394  the cursor jumps from the end of a word to the end of the next word.
46395  Normally it jumps from the beginning to the beginning.
46396 \end_layout
46397
46398 \begin_layout Standard
46399 The option 
46400 \family sans
46401 Sort environments alphabetically
46402 \family default
46403  sorts the entries in the pull-down box for the paragraph environments.
46404 \end_layout
46405
46406 \begin_layout Standard
46407 The option 
46408 \family sans
46409 Group environments by their category
46410 \family default
46411  groups the entries in the pull-down box for the paragraph environments.
46412 \end_layout
46413
46414 \begin_layout Standard
46415 The 
46416 \family sans
46417 Edit math macros
46418 \family default
46419  options determine the editing style for math macros, see the section 
46420 \emph on
46421 Math Macros
46422 \emph default
46423  of the 
46424 \emph on
46425 Math
46426 \emph default
46427  manual.
46428 \end_layout
46429
46430 \begin_layout Subsubsection
46431 Fullscreen
46432 \end_layout
46433
46434 \begin_layout Standard
46435 Here you can specify what is hidden in the fullscreen mode.
46436  With the option 
46437 \family sans
46438 Limit text width
46439 \family default
46440  you can specify the width of the text in fullscreen mode.
46441  This way you can display the text smaller than the screen; the text then
46442  appears centered.
46443 \end_layout
46444
46445 \begin_layout Subsection
46446 Shortcuts
46447 \begin_inset Index idx
46448 status collapsed
46449
46450 \begin_layout Plain Layout
46451 Key Bindings
46452 \end_layout
46453
46454 \end_inset
46455
46456
46457 \begin_inset Index idx
46458 status collapsed
46459
46460 \begin_layout Plain Layout
46461 Settings ! Shortcuts
46462 \end_layout
46463
46464 \end_inset
46465
46466
46467 \end_layout
46468
46469 \begin_layout Standard
46470
46471 \family sans
46472 Bind File
46473 \family default
46474  specifies the file to be used to bind a \SpecialChar LyX
46475  function to a key.
46476  Several binding files are available, among them:
46477 \end_layout
46478
46479 \begin_layout Description
46480 cua.bind a typical set of PC keyboard shortcuts
46481 \end_layout
46482
46483 \begin_layout Description
46484 (x)emacs.bind a set of bindings similar to those used in the editor programs
46485  
46486 \family sans
46487 Emacs
46488 \family default
46489  (
46490 \family sans
46491 XEmacs
46492 \family default
46493 )
46494 \end_layout
46495
46496 \begin_layout Description
46497 mac.bind a set of bindings for 
46498 \family sans
46499 Mac
46500 \begin_inset space \thinspace{}
46501 \end_inset
46502
46503 OS
46504 \family default
46505  systems.
46506 \end_layout
46507
46508 \begin_layout Standard
46509 There are also binding files designed for special document classes, like
46510  
46511 \shape italic
46512 broadway.bind
46513 \shape default
46514 , and binding files for special languages.
46515  The names of language binding files begin with a language code, e.
46516 \begin_inset space \thinspace{}
46517 \end_inset
46518
46519 g.
46520 \begin_inset space \space{}
46521 \end_inset
46522
46523
46524 \begin_inset Quotes eld
46525 \end_inset
46526
46527 pt
46528 \begin_inset Quotes erd
46529 \end_inset
46530
46531  for Portuguese.
46532  If you use \SpecialChar LyX
46533  in a certain language, \SpecialChar LyX
46534  will try to use the appropriate binding
46535  file.
46536 \end_layout
46537
46538 \begin_layout Standard
46539 Some binding files, like 
46540 \shape italic
46541 math.bind
46542 \shape default
46543 , only have a limited scope.
46544  When looking at the end of the file 
46545 \shape italic
46546 cua.bind
46547 \shape default
46548 , you can see that they are included to keep the overview in the bind-file.
46549 \end_layout
46550
46551 \begin_layout Standard
46552 The field 
46553 \family sans
46554 Show
46555 \begin_inset space ~
46556 \end_inset
46557
46558 key-bindings
46559 \begin_inset space ~
46560 \end_inset
46561
46562 containing
46563 \family default
46564  allows you to search for the shortcut provided for a particular function
46565  in the selected key binding file.
46566 \end_layout
46567
46568 \begin_layout Subsubsection
46569 Editing Shortcuts
46570 \begin_inset CommandInset label
46571 LatexCommand label
46572 name "subsec:Editing-Shortcuts"
46573
46574 \end_inset
46575
46576
46577 \begin_inset Index idx
46578 status collapsed
46579
46580 \begin_layout Plain Layout
46581 Key Bindings ! Editing
46582 \end_layout
46583
46584 \end_inset
46585
46586
46587 \end_layout
46588
46589 \begin_layout Standard
46590 To add new or modify existing key bindings to your own taste you can use
46591  the table in the dialog that lists all \SpecialChar LyX
46592  functions and the bound shortcuts.
46593  To find functions easily, they are grouped by categories and the dialog
46594  provides the field 
46595 \family sans
46596 Show key-bindings containing
46597 \family default
46598 .
46599  In this field you can insert a keyword for a function you want to edit.
46600  Insert there for example as keyword 
46601 \begin_inset Quotes eld
46602 \end_inset
46603
46604 paste
46605 \begin_inset Quotes erd
46606 \end_inset
46607
46608  and you get the four different existing shortcuts for the three different
46609  functions that contain 
46610 \begin_inset Quotes eld
46611 \end_inset
46612
46613 paste
46614 \begin_inset Quotes erd
46615 \end_inset
46616
46617  in their name.
46618  As you can see, one function can have more than one shortcut.
46619  All \SpecialChar LyX
46620  functions are also listed in the file 
46621 \family sans
46622 \SpecialChar LyX
46623  Functions
46624 \family default
46625  that you will find in the 
46626 \family sans
46627 Help
46628 \family default
46629  menu.
46630 \end_layout
46631
46632 \begin_layout Standard
46633 For example, to add the shortcut 
46634 \family sans
46635 Alt+Q
46636 \family default
46637  for the function 
46638 \family sans
46639 textstyle-apply
46640 \family default
46641 , select the function and press the 
46642 \family sans
46643 Modify
46644 \family default
46645  button.
46646  A dialog pops up where you can add the shortcut by using it.
46647  So press Alt+Q to define the shortcut.
46648 \end_layout
46649
46650 \begin_layout Standard
46651 Modifying an existing shortcut is done the same way.
46652  You can also bind multiple functions to one shortcut by starting the \SpecialChar LyX
46653  Function
46654  definition with “command alternatives” and following it with the different
46655  function names as a semicolon separated list.
46656  \SpecialChar LyX
46657  will then use the first function that is enabled in the current document
46658  part.
46659  
46660 \end_layout
46661
46662 \begin_layout Standard
46663 If you don't like a particular shortcut, you can remove it.
46664 \end_layout
46665
46666 \begin_layout Standard
46667 Alternatively you can also edit shortcuts by modifying binding files with
46668  a text editor.
46669  The syntax of the entries is:
46670 \end_layout
46671
46672 \begin_layout Standard
46673
46674 \series bold
46675
46676 \backslash
46677 bind 
46678 \begin_inset Quotes eld
46679 \end_inset
46680
46681 key combination
46682 \begin_inset Quotes erd
46683 \end_inset
46684
46685  
46686 \begin_inset Quotes eld
46687 \end_inset
46688
46689 \SpecialChar LyX
46690  function
46691 \begin_inset Quotes erd
46692 \end_inset
46693
46694
46695 \end_layout
46696
46697 \begin_layout Standard
46698 Note, though, that the key combination definition uses a specific syntax.
46699  This applies to the designators of specific modifier keys (e.
46700 \begin_inset space \thinspace{}
46701 \end_inset
46702
46703 g., 
46704 \family typewriter
46705 M
46706 \family default
46707
46708 \family typewriter
46709 S
46710 \family default
46711
46712 \family typewriter
46713 C
46714 \family default
46715  for 
46716 \family sans
46717 Meta/Alt
46718 \family default
46719
46720 \family sans
46721 Shift
46722 \family default
46723
46724 \family sans
46725 Ctrl
46726 \family default
46727 , respectively) as well as to the other keys.
46728  Note particularly that you cannot use non-alphanumeric characters directly
46729  in the definition of the key combination, but must use commands following
46730  the Xlib standard instead (please refer to the existing bind files for
46731  a model).
46732  So if you wanted to bind a command to the key combination 
46733 \family sans
46734 Alt+Shift+:
46735 \family default
46736 , you needed to specify it as 
46737 \family typewriter
46738 M-S-colon
46739 \family default
46740 .
46741  If you use the dialog to edit key bindings, you don't have to care for
46742  these specifics.
46743  \SpecialChar LyX
46744  transforms your input to the correct syntax.
46745 \end_layout
46746
46747 \begin_layout Subsection
46748 Keyboard/Mouse
46749 \begin_inset CommandInset label
46750 LatexCommand label
46751 name "subsec:Keyboard-Map"
46752
46753 \end_inset
46754
46755
46756 \begin_inset Index idx
46757 status collapsed
46758
46759 \begin_layout Plain Layout
46760 Keyboard Map
46761 \end_layout
46762
46763 \end_inset
46764
46765
46766 \begin_inset Index idx
46767 status collapsed
46768
46769 \begin_layout Plain Layout
46770 Settings ! Keyboard Map
46771 \end_layout
46772
46773 \end_inset
46774
46775
46776 \end_layout
46777
46778 \begin_layout Standard
46779 Normally keyboard settings are made in a menu of your operating system.
46780  For the case thatWhere this is not possible, \SpecialChar LyX
46781  provides keyboard maps.
46782  If, for example, you have a Czech keyboard but want to use it as if it
46783  is a Romanian one, you can enable 
46784 \family sans
46785 Use
46786 \begin_inset space ~
46787 \end_inset
46788
46789 keyboard
46790 \begin_inset space ~
46791 \end_inset
46792
46793 map
46794 \family default
46795  and select the keyboard map file named 
46796 \shape italic
46797 romanian.kmap
46798 \shape default
46799 .
46800 \end_layout
46801
46802 \begin_layout Standard
46803 You can specify a 
46804 \family sans
46805 First
46806 \family default
46807  and a 
46808 \family sans
46809 Second
46810 \family default
46811  keyboard map and, if you use the 
46812 \emph on
46813 cua
46814 \emph default
46815  bindings, you can select the first and second with 
46816 \begin_inset Info
46817 type  "shortcut"
46818 arg   "keymap-primary"
46819 \end_inset
46820
46821  and 
46822 \begin_inset Info
46823 type  "shortcut"
46824 arg   "keymap-secondary"
46825 \end_inset
46826
46827  respectively or toggle between them with 
46828 \begin_inset Info
46829 type  "shortcut"
46830 arg   "keymap-toggle"
46831 \end_inset
46832
46833 .
46834 \end_layout
46835
46836 \begin_layout Standard
46837 \begin_inset Note Greyedout
46838 status open
46839
46840 \begin_layout Plain Layout
46841
46842 \series bold
46843 Note:
46844 \series default
46845  Keyboard maps can only provide a makeshift solution and don't work on all
46846  systems.
46847 \end_layout
46848
46849 \end_inset
46850
46851
46852 \end_layout
46853
46854 \begin_layout Standard
46855 You can also specify the mouse 
46856 \family sans
46857 Wheel scrolling speed
46858 \family default
46859 .
46860  The standard value is 1.0; higher values speed up the scrolling, lower ones
46861  slow it down.
46862  With the option 
46863 \family sans
46864 Middle mouse button pasting
46865 \family default
46866  you can determine if pressing the middle mouse button (or the mouse wheel)
46867  inserts the content of the clipboard.
46868 \end_layout
46869
46870 \begin_layout Standard
46871 If you 
46872 \family sans
46873 Enable
46874 \family default
46875  
46876 \family sans
46877 Scroll
46878 \begin_inset space ~
46879 \end_inset
46880
46881 wheel
46882 \begin_inset space ~
46883 \end_inset
46884
46885 zoom,
46886 \family default
46887  you can select a key for zooming.
46888  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
46889 \end_layout
46890
46891 \begin_layout Subsection
46892 Input Completion
46893 \end_layout
46894
46895 \begin_layout Standard
46896 Input completion is described in section
46897 \begin_inset space ~
46898 \end_inset
46899
46900
46901 \begin_inset CommandInset ref
46902 LatexCommand ref
46903 reference "sec:Input-Completion"
46904
46905 \end_inset
46906
46907 .
46908 \end_layout
46909
46910 \begin_layout Section
46911 Paths
46912 \begin_inset CommandInset label
46913 LatexCommand label
46914 name "sec:Paths"
46915
46916 \end_inset
46917
46918
46919 \begin_inset Index idx
46920 status collapsed
46921
46922 \begin_layout Plain Layout
46923 Paths
46924 \end_layout
46925
46926 \end_inset
46927
46928
46929 \begin_inset Index idx
46930 status collapsed
46931
46932 \begin_layout Plain Layout
46933 Settings ! Paths
46934 \end_layout
46935
46936 \end_inset
46937
46938
46939 \end_layout
46940
46941 \begin_layout Standard
46942 The paths to the various resources used by \SpecialChar LyX
46943  are normally determined during
46944  the installation.
46945  But there may be reasons why you might want to modify them.
46946 \end_layout
46947
46948 \begin_layout Description
46949 Working
46950 \begin_inset space ~
46951 \end_inset
46952
46953 directory This is \SpecialChar LyX
46954 's working directory.
46955  It is the default when you 
46956 \family sans
46957 Open
46958 \family default
46959
46960 \family sans
46961 Save
46962 \family default
46963  or 
46964 \family sans
46965 Save
46966 \begin_inset space ~
46967 \end_inset
46968
46969 As
46970 \family default
46971  files.
46972 \end_layout
46973
46974 \begin_layout Description
46975 Document
46976 \begin_inset space ~
46977 \end_inset
46978
46979 templates This directory will be opened when you use the menu 
46980 \family sans
46981 File\SpecialChar menuseparator
46982 New
46983 \begin_inset space ~
46984 \end_inset
46985
46986 from
46987 \begin_inset space ~
46988 \end_inset
46989
46990 Template
46991 \family default
46992 .
46993 \end_layout
46994
46995 \begin_layout Description
46996 Example
46997 \begin_inset space ~
46998 \end_inset
46999
47000 files This directory will be opened when you use the button 
47001 \family sans
47002 Examples
47003 \family default
47004  in the 
47005 \family sans
47006 File\SpecialChar menuseparator
47007 Open
47008 \family default
47009  dialog.
47010 \begin_inset Newline newline
47011 \end_inset
47012
47013
47014 \begin_inset Note Greyedout
47015 status open
47016
47017 \begin_layout Plain Layout
47018
47019 \series bold
47020 Note:
47021 \series default
47022  The 
47023 \family sans
47024 Examples
47025 \family default
47026  button does not exist when using \SpecialChar LyX
47027  on Mac OS and Windows systems.
47028 \end_layout
47029
47030 \end_inset
47031
47032
47033 \end_layout
47034
47035 \begin_layout Description
47036 Backup
47037 \begin_inset space ~
47038 \end_inset
47039
47040 directory
47041 \begin_inset Index idx
47042 status collapsed
47043
47044 \begin_layout Plain Layout
47045 Backup ! Directory
47046 \end_layout
47047
47048 \end_inset
47049
47050  Backup copies will be saved to this directory.
47051  If no directory is given but backups are enabled as described in section
47052 \begin_inset space ~
47053 \end_inset
47054
47055
47056 \begin_inset CommandInset ref
47057 LatexCommand ref
47058 reference "subsec:Backup documents"
47059
47060 \end_inset
47061
47062 , the 
47063 \family sans
47064 Working directory
47065 \family default
47066  will be used to save the backups.
47067 \begin_inset Newline newline
47068 \end_inset
47069
47070 Backup files have the ending 
47071 \begin_inset Quotes eld
47072 \end_inset
47073
47074 .lyx~
47075 \begin_inset Quotes erd
47076 \end_inset
47077
47078 .
47079 \end_layout
47080
47081 \begin_layout Description
47082 LyXServer
47083 \begin_inset space ~
47084 \end_inset
47085
47086 pipe Here you can enter the name of a so-called UNIX-pipe.
47087  This pipe is used to send data from external programs to \SpecialChar LyX
47088 .
47089 \begin_inset Newline newline
47090 \end_inset
47091
47092
47093 \series bold
47094 Example:
47095 \series default
47096  You add a Bib\SpecialChar TeX
47097  database 
47098 \emph on
47099 test.bib
47100 \emph default
47101  to your document.
47102  You can edit this file with the program 
47103 \family typewriter
47104 JabRef
47105 \family default
47106 .
47107  In 
47108 \family typewriter
47109 JabRef
47110 \family default
47111  you have to use the same Unix-Pipe for \SpecialChar LyX
47112  in its preferences under 
47113 \family sans
47114 External
47115 \begin_inset space ~
47116 \end_inset
47117
47118 programs
47119 \family default
47120 .
47121  If you want to get one entry of the database as citation, select it in
47122  
47123 \family typewriter
47124 JabRef
47125 \family default
47126  and click on the \SpecialChar LyX
47127  symbol.
47128  The entry will now be inserted as a citation at the current cursor position
47129  in your \SpecialChar LyX
47130  file.
47131  Of course, 
47132 \family typewriter
47133 JabRef
47134 \family default
47135  and \SpecialChar LyX
47136  need to be running the same time.
47137 \begin_inset Newline newline
47138 \end_inset
47139
47140 The pipe is also used for the 
47141 \family sans
47142 Single instance
47143 \family default
47144  feature, see section
47145 \begin_inset space ~
47146 \end_inset
47147
47148
47149 \begin_inset CommandInset ref
47150 LatexCommand ref
47151 reference "subsec:Backup documents"
47152
47153 \end_inset
47154
47155 .
47156 \begin_inset Newline newline
47157 \end_inset
47158
47159 To use the \SpecialChar LyX
47160 Server-Pipe on Windows, you must use this pipe name:
47161 \begin_inset Newline newline
47162 \end_inset
47163
47164
47165 \series bold
47166
47167 \backslash
47168
47169 \backslash
47170 .
47171 \backslash
47172 pipe
47173 \backslash
47174 lyxpipe
47175 \end_layout
47176
47177 \begin_layout Description
47178 Temporary
47179 \begin_inset space ~
47180 \end_inset
47181
47182 directory Temporary files will be saved in this directory.
47183 \end_layout
47184
47185 \begin_layout Description
47186 Thesaurus
47187 \begin_inset space ~
47188 \end_inset
47189
47190 dictionary Directory where the thesaurus dictionaries are located.
47191  You only need to specify it if the thesaurus does not work or if you want
47192  to use custom/alternative dictionaries.
47193 \end_layout
47194
47195 \begin_layout Description
47196 Hunspell
47197 \begin_inset space ~
47198 \end_inset
47199
47200 dictionary Directory where the dictionaries of the spell checker program
47201  
47202 \family typewriter
47203 Hunspell
47204 \family default
47205  are located.
47206  You only need to specify it if you are using 
47207 \family typewriter
47208 Hunspell
47209 \family default
47210  and spell checking does not work or if you want to use custom/alternative
47211  dictionaries.
47212  For \SpecialChar LyX
47213  on Windows 
47214 \family typewriter
47215 Hunspell
47216 \family default
47217  is the only available spell checker and should work without specifying
47218  a directory.
47219 \end_layout
47220
47221 \begin_layout Description
47222 PATH
47223 \begin_inset space ~
47224 \end_inset
47225
47226 prefix This field contains a list of paths to external programs.
47227  When \SpecialChar LyX
47228  needs to use an external program, it looks in this list to see where
47229  to find it on the system.
47230  The path list is automatically set up on Windows and Mac systems when \SpecialChar LyX
47231
47232  is configured; so you normally don't have to modify it.
47233  On Unix
47234 \begin_inset space \thinspace{}
47235 \end_inset
47236
47237 /
47238 \begin_inset space \thinspace{}
47239 \end_inset
47240
47241 Linux systems, the path list will need to be set only if there are external
47242  programs you wish to use that are not in your normal system path ($PATH).
47243 \end_layout
47244
47245 \begin_layout Description
47246 TEXINPUTS
47247 \begin_inset space ~
47248 \end_inset
47249
47250 prefix The TEXINPUTS environment variable allows you to use external files
47251  which are included in a \SpecialChar LyX
47252  document via commands in \SpecialChar TeX
47253  code or in the document
47254  preamble.
47255  This prefix includes by default the document directory (represented by
47256  a single dot '.').
47257  The prefix can contain any list of paths separated by the default separator
47258  of the OS (':' on UNIX like systems and ';' on Windows).
47259  If files are included, the paths listed in the TEXINPUTS prefix will be
47260  scanned for the input files.
47261  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
47262  to be relative to the directory of your \SpecialChar LyX
47263  file.
47264  It is recommended that you always include '.' as one of the paths; otherwise
47265  compilation may fail for some documents.
47266 \end_layout
47267
47268 \begin_layout Section
47269 Identity
47270 \end_layout
47271
47272 \begin_layout Standard
47273 Here you can insert your 
47274 \family sans
47275 Name
47276 \family default
47277  and 
47278 \family sans
47279 E-mail
47280 \family default
47281  address.
47282  These will be used when you have enabled change tracking, as described
47283  in section
47284 \begin_inset space ~
47285 \end_inset
47286
47287
47288 \begin_inset CommandInset ref
47289 LatexCommand ref
47290 reference "sec:Change-Tracking"
47291
47292 \end_inset
47293
47294 , to mark changes you make as yours.
47295 \end_layout
47296
47297 \begin_layout Section
47298 Language Settings
47299 \begin_inset Index idx
47300 status collapsed
47301
47302 \begin_layout Plain Layout
47303 Language ! Settings
47304 \end_layout
47305
47306 \end_inset
47307
47308
47309 \begin_inset Index idx
47310 status collapsed
47311
47312 \begin_layout Plain Layout
47313 Settings ! Language
47314 \end_layout
47315
47316 \end_inset
47317
47318
47319 \end_layout
47320
47321 \begin_layout Subsection
47322 Language
47323 \begin_inset CommandInset label
47324 LatexCommand label
47325 name "subsec:Prefs-Language"
47326
47327 \end_inset
47328
47329
47330 \end_layout
47331
47332 \begin_layout Description
47333 User
47334 \begin_inset space ~
47335 \end_inset
47336
47337 interface
47338 \begin_inset space ~
47339 \end_inset
47340
47341 language Here you can select the language for \SpecialChar LyX
47342 's menus.
47343  You can find its actual translation status here: 
47344 \begin_inset CommandInset href
47345 LatexCommand href
47346 target "https://www.lyx.org/I18n"
47347 literal "false"
47348
47349 \end_inset
47350
47351
47352 \end_layout
47353
47354 \begin_layout Description
47355 Language
47356 \begin_inset space ~
47357 \end_inset
47358
47359 package determines which \SpecialChar LaTeX
47360  package should be loaded to handle language issues.
47361  Language issues that are handled by this package include proper hyphenation
47362  as well as localization of dates and text strings such as 
47363 \begin_inset Quotes eld
47364 \end_inset
47365
47366 Chapter
47367 \begin_inset Quotes erd
47368 \end_inset
47369
47370  and 
47371 \begin_inset Quotes eld
47372 \end_inset
47373
47374 Table
47375 \begin_inset Quotes erd
47376 \end_inset
47377
47378 .
47379  The most widespread language package is 
47380 \series bold
47381 babel
47382 \series default
47383
47384 \begin_inset Index idx
47385 status collapsed
47386
47387 \begin_layout Plain Layout
47388 \SpecialChar LaTeX
47389  packages ! babel
47390 \end_layout
47391
47392 \end_inset
47393
47394 ; it is the default language package in classic \SpecialChar LaTeX
47395 .
47396  More recent typesetting engines such as Xe\SpecialChar TeX
47397  and Lua\SpecialChar TeX
47398  come with the alternative
47399  language package 
47400 \series bold
47401 polyglossia
47402 \series default
47403
47404 \begin_inset Index idx
47405 status collapsed
47406
47407 \begin_layout Plain Layout
47408 \SpecialChar LaTeX
47409  packages ! polyglossia
47410 \end_layout
47411
47412 \end_inset
47413
47414  that is more suited to the multi-script support of these engines.
47415  Furthermore, there are also specific language packages for languages not
47416  covered by 
47417 \series bold
47418 babel
47419 \series default
47420 .
47421  The available selections are described in section
47422 \begin_inset space ~
47423 \end_inset
47424
47425
47426 \begin_inset CommandInset ref
47427 LatexCommand ref
47428 reference "sec:Language-encodings"
47429
47430 \end_inset
47431
47432 .
47433 \end_layout
47434
47435 \begin_layout Description
47436 Command
47437 \begin_inset space ~
47438 \end_inset
47439
47440 start If a special \SpecialChar LaTeX
47441 -package is needed to write in a certain document language,
47442  you can here specify the command to start the package.
47443  An example is the start command 
47444 \family sans
47445
47446 \backslash
47447 begin{arabtext}
47448 \family default
47449  that is needed to write Arabic using the package 
47450 \series bold
47451 Arab\SpecialChar TeX
47452
47453 \series default
47454 , see 
47455 \begin_inset CommandInset citation
47456 LatexCommand cite
47457 key "Arabic"
47458 literal "true"
47459
47460 \end_inset
47461
47462 .
47463  The default is the 
47464 \series bold
47465 babel
47466 \series default
47467  command 
47468 \family sans
47469
47470 \backslash
47471 selectlanguage{$$lang}
47472 \family default
47473 .
47474 \end_layout
47475
47476 \begin_layout Description
47477 Command
47478 \begin_inset space ~
47479 \end_inset
47480
47481 end Counterpart to 
47482 \family sans
47483 Command start
47484 \family default
47485 .
47486  Some packages, like the default, don't have an end command since the start
47487  command toggles the package on and off.
47488 \end_layout
47489
47490 \begin_layout Description
47491 Default
47492 \begin_inset space ~
47493 \end_inset
47494
47495 decimal
47496 \begin_inset space ~
47497 \end_inset
47498
47499 separator Defines the default decimal point for use in tables (decimal point
47500  alignment).
47501 \end_layout
47502
47503 \begin_layout Description
47504 Default
47505 \begin_inset space ~
47506 \end_inset
47507
47508 length
47509 \begin_inset space ~
47510 \end_inset
47511
47512 unit Defines the unit that is used as default for lengths in \SpecialChar LyX
47513 's dialogs.
47514 \end_layout
47515
47516 \begin_layout Description
47517 Set
47518 \begin_inset space ~
47519 \end_inset
47520
47521 languages
47522 \begin_inset space ~
47523 \end_inset
47524
47525 globally When this option is set, the languages used in the document will
47526  be added as options to the document class options, so that they can be
47527  used by all \SpecialChar LaTeX
47528 -packages.
47529  Otherwise they will only be used as options for the 
47530 \series bold
47531 babel
47532 \series default
47533  package.
47534 \end_layout
47535
47536 \begin_layout Description
47537 Auto
47538 \begin_inset space ~
47539 \end_inset
47540
47541 begin When this option is set, documents start with the chosen document
47542  language.
47543  When this option is not set, the 
47544 \family sans
47545 Command
47546 \begin_inset space ~
47547 \end_inset
47548
47549 start
47550 \family default
47551  is explicitly set to the beginning of the document in the \SpecialChar LaTeX
47552 -output.
47553  This assures that the correct language is used when you use another 
47554 \family sans
47555 Command
47556 \begin_inset space ~
47557 \end_inset
47558
47559 start
47560 \family default
47561  than the default.
47562 \end_layout
47563
47564 \begin_layout Description
47565 Auto
47566 \begin_inset space ~
47567 \end_inset
47568
47569 end Counterpart to 
47570 \family sans
47571 Auto
47572 \begin_inset space ~
47573 \end_inset
47574
47575 begin
47576 \family default
47577 .
47578  When it is not set, the 
47579 \family sans
47580 Command
47581 \begin_inset space ~
47582 \end_inset
47583
47584 end
47585 \family default
47586  is set to the end of the document.
47587 \end_layout
47588
47589 \begin_layout Description
47590 Mark
47591 \begin_inset space ~
47592 \end_inset
47593
47594 foreign
47595 \begin_inset space ~
47596 \end_inset
47597
47598 languages Text marked formatted in a language different from the document
47599  language will be underlined in blue.
47600 \end_layout
47601
47602 \begin_layout Description
47603 Enable
47604 \begin_inset space ~
47605 \end_inset
47606
47607 RTL
47608 \begin_inset space ~
47609 \end_inset
47610
47611 support Enables the use of languages, written from right to left (RTL),
47612  like Arabic, Hebrew or Farsi.
47613 \end_layout
47614
47615 \begin_layout Description
47616 Cursor
47617 \begin_inset space ~
47618 \end_inset
47619
47620 movement When writing RTL, you can define if the left and right arrow keys
47621  move the cursor visually to the left or right, respectively, or logically.
47622  Logical means that the cursor is moved to the left when pressing the right
47623  arrow key and the cursor is inside text in an RTL language.
47624 \end_layout
47625
47626 \begin_layout Subsection
47627 Spellchecker
47628 \end_layout
47629
47630 \begin_layout Standard
47631 The spellchecker settings are explained in section
47632 \begin_inset space ~
47633 \end_inset
47634
47635
47636 \begin_inset CommandInset ref
47637 LatexCommand ref
47638 reference "sec:Spellchecking"
47639
47640 \end_inset
47641
47642 .
47643 \end_layout
47644
47645 \begin_layout Section
47646 Outputs
47647 \end_layout
47648
47649 \begin_layout Subsection
47650 General
47651 \begin_inset CommandInset label
47652 LatexCommand label
47653 name "subsec:General-output"
47654
47655 \end_inset
47656
47657
47658 \end_layout
47659
47660 \begin_layout Description
47661 Forward
47662 \begin_inset space ~
47663 \end_inset
47664
47665 search Commands that will be used for the menu 
47666 \family sans
47667 Navigate\SpecialChar menuseparator
47668 Forward
47669 \begin_inset space ~
47670 \end_inset
47671
47672 search
47673 \family default
47674 .
47675  For a detailed description see section 
47676 \emph on
47677 Reverse DVI/PDF search
47678 \emph default
47679  of the 
47680 \emph on
47681 Additional
47682 \begin_inset space ~
47683 \end_inset
47684
47685 Features
47686 \emph default
47687  manual.
47688 \end_layout
47689
47690 \begin_layout Description
47691 Dvips
47692 \begin_inset space ~
47693 \end_inset
47694
47695 Options Options for the program 
47696 \family typewriter
47697 dvips
47698 \family default
47699  that is used for the export format 
47700 \family sans
47701 Postscript
47702 \family default
47703 , see section
47704 \begin_inset space ~
47705 \end_inset
47706
47707
47708 \begin_inset CommandInset ref
47709 LatexCommand ref
47710 reference "subsec:Export"
47711
47712 \end_inset
47713
47714 .
47715  Possible options are listed in the 
47716 \family typewriter
47717 dvips
47718 \family default
47719  manual:
47720 \begin_inset Newline newline
47721 \end_inset
47722
47723
47724 \begin_inset Flex URL
47725 status collapsed
47726
47727 \begin_layout Plain Layout
47728
47729 https://www.tug.org/texinfohtml/dvips.html
47730 \backslash
47731 #Option-details
47732 \end_layout
47733
47734 \end_inset
47735
47736
47737 \end_layout
47738
47739 \begin_layout Description
47740 Output
47741 \begin_inset space ~
47742 \end_inset
47743
47744 line
47745 \begin_inset space ~
47746 \end_inset
47747
47748 length sets the maximum number of characters printed in one line when using
47749  the menu 
47750 \family sans
47751 File\SpecialChar menuseparator
47752 Export\SpecialChar menuseparator
47753 Plain
47754 \begin_inset space ~
47755 \end_inset
47756
47757 text
47758 \family default
47759 .
47760  Setting the line length to 0 means all text is printed in one endless line.
47761 \end_layout
47762
47763 \begin_layout Description
47764 Date
47765 \begin_inset space ~
47766 \end_inset
47767
47768 format
47769 \begin_inset Index idx
47770 status collapsed
47771
47772 \begin_layout Plain Layout
47773 Date Format
47774 \end_layout
47775
47776 \end_inset
47777
47778
47779 \begin_inset Index idx
47780 status collapsed
47781
47782 \begin_layout Plain Layout
47783 Settings ! Date format
47784 \end_layout
47785
47786 \end_inset
47787
47788  The date format can be one or a mixture of the formats listed here:
47789 \begin_inset Newline newline
47790 \end_inset
47791
47792
47793 \begin_inset Flex URL
47794 status collapsed
47795
47796 \begin_layout Plain Layout
47797
47798 http://man7.org/linux/man-pages/man1/date.1.html
47799 \end_layout
47800
47801 \end_inset
47802
47803
47804 \begin_inset Newline newline
47805 \end_inset
47806
47807 For example the format
47808 \begin_inset Newline newline
47809 \end_inset
47810
47811 %d/%m/%y
47812 \begin_inset Newline newline
47813 \end_inset
47814
47815 prints the date as day/month/year.
47816 \end_layout
47817
47818 \begin_layout Description
47819 Overwrite
47820 \begin_inset space ~
47821 \end_inset
47822
47823 on
47824 \begin_inset space ~
47825 \end_inset
47826
47827 export Setting what \SpecialChar LyX
47828  is allowed to overwrite on export.
47829 \end_layout
47830
47831 \begin_layout Subsection
47832 La
47833 \family sans
47834 TeX
47835 \family default
47836
47837 \begin_inset CommandInset label
47838 LatexCommand label
47839 name "subsec:LaTeX-settings"
47840
47841 \end_inset
47842
47843
47844 \begin_inset Index idx
47845 status collapsed
47846
47847 \begin_layout Plain Layout
47848 Settings ! \SpecialChar LaTeX
47849
47850 \end_layout
47851
47852 \end_inset
47853
47854
47855 \end_layout
47856
47857 \begin_layout Description
47858 Use
47859 \begin_inset space ~
47860 \end_inset
47861
47862 La
47863 \family sans
47864 TeX
47865 \family default
47866
47867 \begin_inset space ~
47868 \end_inset
47869
47870 font
47871 \begin_inset space ~
47872 \end_inset
47873
47874 encoding This is the default encoding of the document font.
47875  
47876 \family sans
47877 T1
47878 \family default
47879  is the default and covers western languages and symbols.
47880  
47881 \family sans
47882 T2A
47883 \family default
47884
47885 \family sans
47886 T2B
47887 \family default
47888
47889 \family sans
47890 T2C
47891 \family default
47892
47893 \family sans
47894 LCY
47895 \family default
47896  and 
47897 \family sans
47898 X2
47899 \family default
47900  are used for Cyrillic.
47901  Combinations of the encodings are possible, like 
47902 \begin_inset Quotes eld
47903 \end_inset
47904
47905
47906 \family sans
47907 T1, T2B
47908 \family default
47909
47910 \begin_inset Quotes erd
47911 \end_inset
47912
47913 .
47914  The font encoding is normally automatically loaded by the language packages
47915  \SpecialChar LyX
47916  sets up in the background.
47917  So there is no need to change the default encoding.
47918 \end_layout
47919
47920 \begin_layout Description
47921 DVI
47922 \begin_inset space ~
47923 \end_inset
47924
47925 viewer
47926 \begin_inset space ~
47927 \end_inset
47928
47929 paper
47930 \begin_inset space ~
47931 \end_inset
47932
47933 size
47934 \begin_inset space ~
47935 \end_inset
47936
47937 options They only have an effect when the program 
47938 \family sans
47939 xdvi
47940 \family default
47941  is used as DVI-viewer, read its manual to find out more.
47942 \end_layout
47943
47944 \begin_layout Standard
47945 Here you can also specify options and commands with parameters for processors.
47946  But before you change something, it is strongly recommended to read the
47947  manuals of the applications.
47948 \end_layout
47949
47950 \begin_layout Description
47951 Bibliography
47952 \begin_inset space ~
47953 \end_inset
47954
47955 generation Settings for the generation of the bibliography, see section
47956 \begin_inset space ~
47957 \end_inset
47958
47959
47960 \begin_inset CommandInset ref
47961 LatexCommand ref
47962 reference "subsec:Bibliography-databases"
47963
47964 \end_inset
47965
47966 .
47967 \end_layout
47968
47969 \begin_layout Description
47970 Index
47971 \begin_inset space ~
47972 \end_inset
47973
47974 generation Settings for the generation of the index, see section
47975 \begin_inset space ~
47976 \end_inset
47977
47978
47979 \begin_inset CommandInset ref
47980 LatexCommand ref
47981 reference "subsec:Index-Program"
47982
47983 \end_inset
47984
47985 .
47986 \end_layout
47987
47988 \begin_layout Description
47989 Nomenclature
47990 \begin_inset space ~
47991 \end_inset
47992
47993 command Command for the program that generates the nomenclature, see section
47994 \begin_inset space ~
47995 \end_inset
47996
47997
47998 \begin_inset CommandInset ref
47999 LatexCommand ref
48000 reference "subsec:Nomenclature-Program"
48001
48002 \end_inset
48003
48004 .
48005 \end_layout
48006
48007 \begin_layout Description
48008 Check
48009 \family sans
48010 TeX
48011 \family default
48012
48013 \begin_inset space ~
48014 \end_inset
48015
48016 command Command for the program 
48017 \family sans
48018 Check\SpecialChar TeX
48019
48020 \family default
48021  that is described in the section 
48022 \emph on
48023 Checking \SpecialChar TeX
48024
48025 \emph default
48026  of the 
48027 \emph on
48028 Additional Features
48029 \emph default
48030  manual.
48031 \end_layout
48032
48033 \begin_layout Standard
48034 There are additionally the following options:
48035 \end_layout
48036
48037 \begin_layout Description
48038 Use
48039 \begin_inset space ~
48040 \end_inset
48041
48042 Windows-style
48043 \begin_inset space ~
48044 \end_inset
48045
48046 paths
48047 \begin_inset space ~
48048 \end_inset
48049
48050 in
48051 \begin_inset space ~
48052 \end_inset
48053
48054 \SpecialChar LaTeX
48055
48056 \begin_inset space ~
48057 \end_inset
48058
48059 files Uses paths in the notation of Windows, that means that 
48060 \begin_inset Quotes eld
48061 \end_inset
48062
48063
48064 \backslash
48065
48066 \begin_inset Quotes erd
48067 \end_inset
48068
48069  is used instead of 
48070 \begin_inset Quotes eld
48071 \end_inset
48072
48073 /
48074 \begin_inset Quotes erd
48075 \end_inset
48076
48077  to separate folders.
48078  This option is enabled by default when you use \SpecialChar LyX
48079  on Windows.
48080 \begin_inset Index idx
48081 status collapsed
48082
48083 \begin_layout Plain Layout
48084 Paths
48085 \end_layout
48086
48087 \end_inset
48088
48089
48090 \begin_inset Index idx
48091 status collapsed
48092
48093 \begin_layout Plain Layout
48094 Settings ! Paths
48095 \end_layout
48096
48097 \end_inset
48098
48099
48100 \end_layout
48101
48102 \begin_layout Description
48103 Reset
48104 \begin_inset space ~
48105 \end_inset
48106
48107 class
48108 \begin_inset space ~
48109 \end_inset
48110
48111 options
48112 \begin_inset space ~
48113 \end_inset
48114
48115 when
48116 \begin_inset space ~
48117 \end_inset
48118
48119 document
48120 \begin_inset space ~
48121 \end_inset
48122
48123 class
48124 \begin_inset space ~
48125 \end_inset
48126
48127 changes Removes all manually set 
48128 \family sans
48129 Class options
48130 \family default
48131  in the 
48132 \family sans
48133 Document\SpecialChar menuseparator
48134 Settings\SpecialChar menuseparator
48135 Document
48136 \begin_inset space ~
48137 \end_inset
48138
48139 Class
48140 \family default
48141  dialog when changing the document class.
48142 \end_layout
48143
48144 \begin_layout Section
48145 File
48146 \begin_inset space ~
48147 \end_inset
48148
48149 Handling
48150 \begin_inset Index idx
48151 status collapsed
48152
48153 \begin_layout Plain Layout
48154 File handling
48155 \end_layout
48156
48157 \end_inset
48158
48159
48160 \end_layout
48161
48162 \begin_layout Subsection
48163 Converters
48164 \begin_inset CommandInset label
48165 LatexCommand label
48166 name "subsec:Converters"
48167
48168 \end_inset
48169
48170
48171 \begin_inset Index idx
48172 status collapsed
48173
48174 \begin_layout Plain Layout
48175 Converters
48176 \end_layout
48177
48178 \end_inset
48179
48180
48181 \end_layout
48182
48183 \begin_layout Standard
48184 Here you find the list of defined converter commands to convert material
48185  from one format to another.
48186  You can modify converters or create new ones.
48187  To modify a converter, select it, change the entry of the 
48188 \family sans
48189 Converter
48190 \family default
48191  and/or 
48192 \family sans
48193 Extra
48194 \begin_inset space ~
48195 \end_inset
48196
48197 flag
48198 \family default
48199  field and press the 
48200 \family sans
48201 Modify
48202 \family default
48203  button.
48204  To create a new converter, select an existing one, select a different format
48205  in the 
48206 \family sans
48207 To
48208 \begin_inset space ~
48209 \end_inset
48210
48211 format
48212 \family default
48213  drop-down list, modify the 
48214 \family sans
48215 Converter
48216 \family default
48217  field and press the 
48218 \family sans
48219 Add
48220 \family default
48221  button.
48222 \end_layout
48223
48224 \begin_layout Standard
48225 If the 
48226 \family sans
48227 Converter File Cache
48228 \family default
48229  is 
48230 \family sans
48231 Enabled
48232 \family default
48233 , conversions will be cached as long as specified in the field 
48234 \family sans
48235 Maximum Age (in days
48236 \family default
48237 ).
48238  This means that images don't need to be converted again when you reopen
48239  a document; the converted images from the cache will be used instead.
48240 \end_layout
48241
48242 \begin_layout Standard
48243 More about converters, like the flags that can be used in the converter
48244  definition, is described in the section 
48245 \emph on
48246 Converters
48247 \emph default
48248  of the 
48249 \emph on
48250 Customization
48251 \emph default
48252  manual.
48253 \end_layout
48254
48255 \begin_layout Subsection
48256 File Formats
48257 \begin_inset CommandInset label
48258 LatexCommand label
48259 name "sec:File-Formats"
48260
48261 \end_inset
48262
48263
48264 \begin_inset Index idx
48265 status collapsed
48266
48267 \begin_layout Plain Layout
48268 File formats
48269 \end_layout
48270
48271 \end_inset
48272
48273
48274 \begin_inset Index idx
48275 status collapsed
48276
48277 \begin_layout Plain Layout
48278 Copiers
48279 \end_layout
48280
48281 \end_inset
48282
48283
48284 \end_layout
48285
48286 \begin_layout Standard
48287 Here you find the list of defined file formats that \SpecialChar LyX
48288  can handle.
48289  You can modify the 
48290 \family sans
48291 Editor
48292 \family default
48293  and 
48294 \family sans
48295 Viewer
48296 \family default
48297  programs that should be used for certain formats.
48298 \end_layout
48299
48300 \begin_layout Standard
48301 You can also define the 
48302 \family sans
48303 Default output format
48304 \family default
48305  that is used when you use 
48306 \family sans
48307 View, Update, View Master Document
48308 \family default
48309  or 
48310 \family sans
48311 Update Master Document
48312 \family default
48313  in the 
48314 \family sans
48315 Document
48316 \family default
48317  menu or the toolbar.
48318 \end_layout
48319
48320 \begin_layout Standard
48321 More about formats and their options is described in the section 
48322 \emph on
48323 Formats
48324 \emph default
48325  of the 
48326 \emph on
48327 Customization
48328 \emph default
48329  manual.
48330 \end_layout
48331
48332 \begin_layout Standard
48333 Since all conversions from one format to another take place in \SpecialChar LyX
48334 's temporary
48335  directory, it is sometimes necessary to modify a file before copying it
48336  to the temporary directory so that the conversion may be performed.
48337  This is done by specifying a 
48338 \family sans
48339 Copier
48340 \family default
48341 .
48342  More about this is described in the section 
48343 \emph on
48344 Copiers
48345 \emph default
48346  of the 
48347 \emph on
48348 Customization
48349 \emph default
48350  manual.
48351 \end_layout
48352
48353 \begin_layout Chapter
48354 Units available in \SpecialChar LyX
48355
48356 \begin_inset Index idx
48357 status collapsed
48358
48359 \begin_layout Plain Layout
48360 Units
48361 \end_layout
48362
48363 \end_inset
48364
48365
48366 \begin_inset CommandInset label
48367 LatexCommand label
48368 name "chap:Units-available-in"
48369
48370 \end_inset
48371
48372
48373 \end_layout
48374
48375 \begin_layout Standard
48376 Table
48377 \begin_inset space ~
48378 \end_inset
48379
48380
48381 \begin_inset CommandInset ref
48382 LatexCommand ref
48383 reference "tab:Units"
48384
48385 \end_inset
48386
48387  explains all the units available in \SpecialChar LyX
48388  and used in this documentation.
48389 \end_layout
48390
48391 \begin_layout Standard
48392 \begin_inset Float table
48393 placement h
48394 wide false
48395 sideways false
48396 status open
48397
48398 \begin_layout Plain Layout
48399 \begin_inset Caption Standard
48400
48401 \begin_layout Plain Layout
48402 \begin_inset CommandInset label
48403 LatexCommand label
48404 name "tab:Units"
48405
48406 \end_inset
48407
48408 Units
48409 \end_layout
48410
48411 \end_inset
48412
48413
48414 \end_layout
48415
48416 \begin_layout Plain Layout
48417 \begin_inset VSpace medskip
48418 \end_inset
48419
48420
48421 \end_layout
48422
48423 \begin_layout Plain Layout
48424 \align center
48425 \begin_inset Tabular
48426 <lyxtabular version="3" rows="21" columns="3">
48427 <features tabularvalignment="middle">
48428 <column alignment="center" valignment="top">
48429 <column alignment="center" valignment="middle" width="50col%">
48430 <column alignment="center" valignment="top">
48431 <row>
48432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48433 \begin_inset Text
48434
48435 \begin_layout Plain Layout
48436 unit
48437 \end_layout
48438
48439 \end_inset
48440 </cell>
48441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48442 \begin_inset Text
48443
48444 \begin_layout Plain Layout
48445 name/description
48446 \end_layout
48447
48448 \end_inset
48449 </cell>
48450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
48451 \begin_inset Text
48452
48453 \begin_layout Plain Layout
48454 \SpecialChar LaTeX
48455  command
48456 \end_layout
48457
48458 \end_inset
48459 </cell>
48460 </row>
48461 <row>
48462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48463 \begin_inset Text
48464
48465 \begin_layout Plain Layout
48466 bp
48467 \end_layout
48468
48469 \end_inset
48470 </cell>
48471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48472 \begin_inset Text
48473
48474 \begin_layout Plain Layout
48475 big point (72
48476 \begin_inset space \thinspace{}
48477 \end_inset
48478
48479 bp = 1
48480 \begin_inset space \thinspace{}
48481 \end_inset
48482
48483 in)
48484 \end_layout
48485
48486 \end_inset
48487 </cell>
48488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48489 \begin_inset Text
48490
48491 \begin_layout Plain Layout
48492 -
48493 \end_layout
48494
48495 \end_inset
48496 </cell>
48497 </row>
48498 <row>
48499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48500 \begin_inset Text
48501
48502 \begin_layout Plain Layout
48503 cc
48504 \end_layout
48505
48506 \end_inset
48507 </cell>
48508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48509 \begin_inset Text
48510
48511 \begin_layout Plain Layout
48512 cicero (1
48513 \begin_inset space \thinspace{}
48514 \end_inset
48515
48516 cc = 12
48517 \begin_inset space \thinspace{}
48518 \end_inset
48519
48520 dd)
48521 \end_layout
48522
48523 \end_inset
48524 </cell>
48525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48526 \begin_inset Text
48527
48528 \begin_layout Plain Layout
48529 -
48530 \end_layout
48531
48532 \end_inset
48533 </cell>
48534 </row>
48535 <row>
48536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48537 \begin_inset Text
48538
48539 \begin_layout Plain Layout
48540 cm
48541 \end_layout
48542
48543 \end_inset
48544 </cell>
48545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48546 \begin_inset Text
48547
48548 \begin_layout Plain Layout
48549 centimeter
48550 \end_layout
48551
48552 \end_inset
48553 </cell>
48554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48555 \begin_inset Text
48556
48557 \begin_layout Plain Layout
48558 -
48559 \end_layout
48560
48561 \end_inset
48562 </cell>
48563 </row>
48564 <row>
48565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48566 \begin_inset Text
48567
48568 \begin_layout Plain Layout
48569 dd
48570 \end_layout
48571
48572 \end_inset
48573 </cell>
48574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48575 \begin_inset Text
48576
48577 \begin_layout Plain Layout
48578 didot (1
48579 \begin_inset space \thinspace{}
48580 \end_inset
48581
48582 dd 
48583 \begin_inset Formula $\approx$
48584 \end_inset
48585
48586  0.376
48587 \begin_inset space \thinspace{}
48588 \end_inset
48589
48590 mm)
48591 \end_layout
48592
48593 \end_inset
48594 </cell>
48595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48596 \begin_inset Text
48597
48598 \begin_layout Plain Layout
48599 -
48600 \end_layout
48601
48602 \end_inset
48603 </cell>
48604 </row>
48605 <row>
48606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48607 \begin_inset Text
48608
48609 \begin_layout Plain Layout
48610 em
48611 \end_layout
48612
48613 \end_inset
48614 </cell>
48615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48616 \begin_inset Text
48617
48618 \begin_layout Plain Layout
48619 width of letter 
48620 \emph on
48621 M
48622 \emph default
48623  in current font
48624 \end_layout
48625
48626 \end_inset
48627 </cell>
48628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48629 \begin_inset Text
48630
48631 \begin_layout Plain Layout
48632 -
48633 \end_layout
48634
48635 \end_inset
48636 </cell>
48637 </row>
48638 <row>
48639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48640 \begin_inset Text
48641
48642 \begin_layout Plain Layout
48643 ex
48644 \end_layout
48645
48646 \end_inset
48647 </cell>
48648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48649 \begin_inset Text
48650
48651 \begin_layout Plain Layout
48652 height of letter 
48653 \emph on
48654 x
48655 \emph default
48656  in current font
48657 \end_layout
48658
48659 \end_inset
48660 </cell>
48661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48662 \begin_inset Text
48663
48664 \begin_layout Plain Layout
48665 -
48666 \end_layout
48667
48668 \end_inset
48669 </cell>
48670 </row>
48671 <row>
48672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48673 \begin_inset Text
48674
48675 \begin_layout Plain Layout
48676 in
48677 \end_layout
48678
48679 \end_inset
48680 </cell>
48681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48682 \begin_inset Text
48683
48684 \begin_layout Plain Layout
48685 inch
48686 \end_layout
48687
48688 \end_inset
48689 </cell>
48690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48691 \begin_inset Text
48692
48693 \begin_layout Plain Layout
48694 -
48695 \end_layout
48696
48697 \end_inset
48698 </cell>
48699 </row>
48700 <row>
48701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48702 \begin_inset Text
48703
48704 \begin_layout Plain Layout
48705 mm
48706 \end_layout
48707
48708 \end_inset
48709 </cell>
48710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48711 \begin_inset Text
48712
48713 \begin_layout Plain Layout
48714 millimeter
48715 \end_layout
48716
48717 \end_inset
48718 </cell>
48719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48720 \begin_inset Text
48721
48722 \begin_layout Plain Layout
48723 -
48724 \end_layout
48725
48726 \end_inset
48727 </cell>
48728 </row>
48729 <row>
48730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48731 \begin_inset Text
48732
48733 \begin_layout Plain Layout
48734 mu
48735 \end_layout
48736
48737 \end_inset
48738 </cell>
48739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48740 \begin_inset Text
48741
48742 \begin_layout Plain Layout
48743 math unit (1
48744 \begin_inset space \thinspace{}
48745 \end_inset
48746
48747 mu = 1/18
48748 \begin_inset space \thinspace{}
48749 \end_inset
48750
48751 em)
48752 \end_layout
48753
48754 \end_inset
48755 </cell>
48756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48757 \begin_inset Text
48758
48759 \begin_layout Plain Layout
48760 -
48761 \end_layout
48762
48763 \end_inset
48764 </cell>
48765 </row>
48766 <row>
48767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48768 \begin_inset Text
48769
48770 \begin_layout Plain Layout
48771 pt
48772 \end_layout
48773
48774 \end_inset
48775 </cell>
48776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48777 \begin_inset Text
48778
48779 \begin_layout Plain Layout
48780 point (72.27
48781 \begin_inset space \thinspace{}
48782 \end_inset
48783
48784 pt = 1
48785 \begin_inset space \thinspace{}
48786 \end_inset
48787
48788 in)
48789 \end_layout
48790
48791 \end_inset
48792 </cell>
48793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48794 \begin_inset Text
48795
48796 \begin_layout Plain Layout
48797 -
48798 \end_layout
48799
48800 \end_inset
48801 </cell>
48802 </row>
48803 <row>
48804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48805 \begin_inset Text
48806
48807 \begin_layout Plain Layout
48808 pc
48809 \end_layout
48810
48811 \end_inset
48812 </cell>
48813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48814 \begin_inset Text
48815
48816 \begin_layout Plain Layout
48817 pica (1
48818 \begin_inset space \thinspace{}
48819 \end_inset
48820
48821 pc = 12
48822 \begin_inset space \thinspace{}
48823 \end_inset
48824
48825 pt)
48826 \end_layout
48827
48828 \end_inset
48829 </cell>
48830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48831 \begin_inset Text
48832
48833 \begin_layout Plain Layout
48834 -
48835 \end_layout
48836
48837 \end_inset
48838 </cell>
48839 </row>
48840 <row>
48841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48842 \begin_inset Text
48843
48844 \begin_layout Plain Layout
48845 sp
48846 \end_layout
48847
48848 \end_inset
48849 </cell>
48850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48851 \begin_inset Text
48852
48853 \begin_layout Plain Layout
48854 scaled point (65536
48855 \begin_inset space \thinspace{}
48856 \end_inset
48857
48858 sp = 1
48859 \begin_inset space \thinspace{}
48860 \end_inset
48861
48862 pt)
48863 \end_layout
48864
48865 \end_inset
48866 </cell>
48867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48868 \begin_inset Text
48869
48870 \begin_layout Plain Layout
48871 -
48872 \end_layout
48873
48874 \end_inset
48875 </cell>
48876 </row>
48877 <row>
48878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48879 \begin_inset Text
48880
48881 \begin_layout Plain Layout
48882 Column Width %
48883 \end_layout
48884
48885 \end_inset
48886 </cell>
48887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48888 \begin_inset Text
48889
48890 \begin_layout Plain Layout
48891 % of column width
48892 \end_layout
48893
48894 \end_inset
48895 </cell>
48896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48897 \begin_inset Text
48898
48899 \begin_layout Plain Layout
48900
48901 \backslash
48902 columnwidth
48903 \end_layout
48904
48905 \end_inset
48906 </cell>
48907 </row>
48908 <row>
48909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48910 \begin_inset Text
48911
48912 \begin_layout Plain Layout
48913 Line Distance %
48914 \end_layout
48915
48916 \end_inset
48917 </cell>
48918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48919 \begin_inset Text
48920
48921 \begin_layout Plain Layout
48922 % of height between baselines of two subsequent text lines
48923 \end_layout
48924
48925 \end_inset
48926 </cell>
48927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48928 \begin_inset Text
48929
48930 \begin_layout Plain Layout
48931
48932 \backslash
48933 baselineskip
48934 \end_layout
48935
48936 \end_inset
48937 </cell>
48938 </row>
48939 <row>
48940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48941 \begin_inset Text
48942
48943 \begin_layout Plain Layout
48944 Line Width %
48945 \end_layout
48946
48947 \end_inset
48948 </cell>
48949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48950 \begin_inset Text
48951
48952 \begin_layout Plain Layout
48953 % of line width
48954 \end_layout
48955
48956 \end_inset
48957 </cell>
48958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48959 \begin_inset Text
48960
48961 \begin_layout Plain Layout
48962
48963 \backslash
48964 linewidth
48965 \end_layout
48966
48967 \end_inset
48968 </cell>
48969 </row>
48970 <row>
48971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48972 \begin_inset Text
48973
48974 \begin_layout Plain Layout
48975 Page Height %
48976 \end_layout
48977
48978 \end_inset
48979 </cell>
48980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48981 \begin_inset Text
48982
48983 \begin_layout Plain Layout
48984 % of paper height
48985 \end_layout
48986
48987 \end_inset
48988 </cell>
48989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48990 \begin_inset Text
48991
48992 \begin_layout Plain Layout
48993
48994 \backslash
48995 paperheight
48996 \end_layout
48997
48998 \end_inset
48999 </cell>
49000 </row>
49001 <row>
49002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49003 \begin_inset Text
49004
49005 \begin_layout Plain Layout
49006 Page Width %
49007 \end_layout
49008
49009 \end_inset
49010 </cell>
49011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49012 \begin_inset Text
49013
49014 \begin_layout Plain Layout
49015 % of paper width
49016 \end_layout
49017
49018 \end_inset
49019 </cell>
49020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49021 \begin_inset Text
49022
49023 \begin_layout Plain Layout
49024
49025 \backslash
49026 paperwidth
49027 \end_layout
49028
49029 \end_inset
49030 </cell>
49031 </row>
49032 <row>
49033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49034 \begin_inset Text
49035
49036 \begin_layout Plain Layout
49037 Scale Graphics %
49038 \end_layout
49039
49040 \end_inset
49041 </cell>
49042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49043 \begin_inset Text
49044
49045 \begin_layout Plain Layout
49046 % of original image width
49047 \end_layout
49048
49049 \end_inset
49050 </cell>
49051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49052 \begin_inset Text
49053
49054 \begin_layout Plain Layout
49055
49056 \end_layout
49057
49058 \end_inset
49059 </cell>
49060 </row>
49061 <row>
49062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49063 \begin_inset Text
49064
49065 \begin_layout Plain Layout
49066 Text Height %
49067 \end_layout
49068
49069 \end_inset
49070 </cell>
49071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49072 \begin_inset Text
49073
49074 \begin_layout Plain Layout
49075 % of text height
49076 \end_layout
49077
49078 \end_inset
49079 </cell>
49080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49081 \begin_inset Text
49082
49083 \begin_layout Plain Layout
49084
49085 \backslash
49086 textheight
49087 \end_layout
49088
49089 \end_inset
49090 </cell>
49091 </row>
49092 <row>
49093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
49094 \begin_inset Text
49095
49096 \begin_layout Plain Layout
49097 Text Width %
49098 \end_layout
49099
49100 \end_inset
49101 </cell>
49102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
49103 \begin_inset Text
49104
49105 \begin_layout Plain Layout
49106 % of text width
49107 \end_layout
49108
49109 \end_inset
49110 </cell>
49111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
49112 \begin_inset Text
49113
49114 \begin_layout Plain Layout
49115
49116 \backslash
49117 textwidth
49118 \end_layout
49119
49120 \end_inset
49121 </cell>
49122 </row>
49123 </lyxtabular>
49124
49125 \end_inset
49126
49127
49128 \end_layout
49129
49130 \end_inset
49131
49132
49133 \end_layout
49134
49135 \begin_layout Standard
49136 \begin_inset Newpage newpage
49137 \end_inset
49138
49139 The bibliography on the following page was created with the 
49140 \family sans
49141 Bibliography
49142 \family default
49143  environment.
49144 \end_layout
49145
49146 \begin_layout Bibliography
49147 \begin_inset CommandInset bibitem
49148 LatexCommand bibitem
49149 label "Credits"
49150 key "lyxcredit"
49151 literal "true"
49152
49153 \end_inset
49154
49155 The \SpecialChar LyX
49156  Team: 
49157 \begin_inset CommandInset href
49158 LatexCommand href
49159 name "Credits"
49160 target "https://www.lyx.org/Credits"
49161 literal "false"
49162
49163 \end_inset
49164
49165 :
49166 \begin_inset Newline newline
49167 \end_inset
49168
49169
49170 \begin_inset Flex URL
49171 status collapsed
49172
49173 \begin_layout Plain Layout
49174
49175 https://www.lyx.org/Credits
49176 \end_layout
49177
49178 \end_inset
49179
49180
49181 \end_layout
49182
49183 \begin_layout Bibliography
49184 \begin_inset CommandInset bibitem
49185 LatexCommand bibitem
49186 key "latexcompanion"
49187 literal "true"
49188
49189 \end_inset
49190
49191 Frank Mittelbach and Michel Goossens: 
49192 \emph on
49193 The \SpecialChar LaTeX
49194  Companion Second Edition.
49195
49196 \emph default
49197  Addison-Wesley, 2004
49198 \end_layout
49199
49200 \begin_layout Bibliography
49201 \begin_inset CommandInset bibitem
49202 LatexCommand bibitem
49203 key "latexguide"
49204 literal "true"
49205
49206 \end_inset
49207
49208 Helmut Kopka and Patrick W.
49209  Daly: 
49210 \emph on
49211 A Guide to \SpecialChar LaTeX
49212  Fourth Edition.
49213
49214 \emph default
49215  Addison-Wesley, 2003
49216 \end_layout
49217
49218 \begin_layout Bibliography
49219 \begin_inset CommandInset bibitem
49220 LatexCommand bibitem
49221 key "latexbook"
49222 literal "true"
49223
49224 \end_inset
49225
49226 Leslie Lamport: 
49227 \emph on
49228 \SpecialChar LaTeX
49229 : A Document Preparation System.
49230
49231 \emph default
49232  Addison-Wesley, second edition, 1994
49233 \end_layout
49234
49235 \begin_layout Bibliography
49236 \begin_inset CommandInset bibitem
49237 LatexCommand bibitem
49238 key "texbook"
49239 literal "true"
49240
49241 \end_inset
49242
49243 Donald E.
49244  Knuth.
49245  
49246 \emph on
49247 The \SpecialChar TeX
49248 book.
49249
49250 \emph default
49251  Addison-Wesley, 1984
49252 \end_layout
49253
49254 \begin_layout Bibliography
49255 \begin_inset CommandInset bibitem
49256 LatexCommand bibitem
49257 key "TeXCatalogue"
49258 literal "true"
49259
49260 \end_inset
49261
49262 The \SpecialChar TeX
49263  Catalogue:
49264 \begin_inset Newline newline
49265 \end_inset
49266
49267
49268 \begin_inset Flex URL
49269 status collapsed
49270
49271 \begin_layout Plain Layout
49272
49273 http://texcatalogue.ctan.org/bytopic.html
49274 \end_layout
49275
49276 \end_inset
49277
49278
49279 \end_layout
49280
49281 \begin_layout Bibliography
49282 \begin_inset CommandInset bibitem
49283 LatexCommand bibitem
49284 key "LaTeXFAQ"
49285 literal "true"
49286
49287 \end_inset
49288
49289 The \SpecialChar LaTeX
49290  FAQ:
49291 \begin_inset Newline newline
49292 \end_inset
49293
49294
49295 \begin_inset Flex URL
49296 status collapsed
49297
49298 \begin_layout Plain Layout
49299
49300 http://www.tex.ac.uk/faq/
49301 \end_layout
49302
49303 \end_inset
49304
49305
49306 \end_layout
49307
49308 \begin_layout Bibliography
49309 \begin_inset CommandInset bibitem
49310 LatexCommand bibitem
49311 key "BibTeX"
49312 literal "true"
49313
49314 \end_inset
49315
49316
49317 \begin_inset CommandInset href
49318 LatexCommand href
49319 name "Documentation"
49320 target "https://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/btxdoc.pdf"
49321 literal "false"
49322
49323 \end_inset
49324
49325  of the program 
49326 \family sans
49327 Bib\SpecialChar TeX
49328
49329 \family default
49330 :
49331 \begin_inset Newline newline
49332 \end_inset
49333
49334
49335 \begin_inset Flex URL
49336 status collapsed
49337
49338 \begin_layout Plain Layout
49339
49340 https://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/btxdoc.pdf
49341 \end_layout
49342
49343 \end_inset
49344
49345
49346 \end_layout
49347
49348 \begin_layout Bibliography
49349 \begin_inset CommandInset bibitem
49350 LatexCommand bibitem
49351 key "BibTeX-2"
49352 literal "true"
49353
49354 \end_inset
49355
49356
49357 \begin_inset CommandInset href
49358 LatexCommand href
49359 name "Documentation"
49360 target "https://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
49361 literal "false"
49362
49363 \end_inset
49364
49365  how to use the program 
49366 \family sans
49367 Bib\SpecialChar TeX
49368
49369 \family default
49370 :
49371 \begin_inset Newline newline
49372 \end_inset
49373
49374
49375 \begin_inset Flex URL
49376 status collapsed
49377
49378 \begin_layout Plain Layout
49379
49380 https://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
49381 \end_layout
49382
49383 \end_inset
49384
49385
49386 \end_layout
49387
49388 \begin_layout Bibliography
49389 \begin_inset CommandInset bibitem
49390 LatexCommand bibitem
49391 key "Biblatex"
49392 literal "true"
49393
49394 \end_inset
49395
49396
49397 \begin_inset CommandInset href
49398 LatexCommand href
49399 name "Documentation"
49400 target "https://www.ctan.org/tex-archive/macros/latex/contrib/biblatex/doc/biblatex.pdf"
49401 literal "false"
49402
49403 \end_inset
49404
49405  of the \SpecialChar LaTeX
49406  package 
49407 \series bold
49408 biblatex
49409 \series default
49410
49411 \begin_inset Index idx
49412 status collapsed
49413
49414 \begin_layout Plain Layout
49415 \SpecialChar LaTeX
49416  packages ! biblatex
49417 \end_layout
49418
49419 \end_inset
49420
49421 :
49422 \begin_inset Newline newline
49423 \end_inset
49424
49425
49426 \begin_inset Flex URL
49427 status collapsed
49428
49429 \begin_layout Plain Layout
49430
49431 https://www.ctan.org/tex-archive/macros/latex/contrib/biblatex/doc/biblatex.pdf
49432 \end_layout
49433
49434 \end_inset
49435
49436
49437 \end_layout
49438
49439 \begin_layout Bibliography
49440 \begin_inset CommandInset bibitem
49441 LatexCommand bibitem
49442 key "biber"
49443 literal "true"
49444
49445 \end_inset
49446
49447
49448 \begin_inset CommandInset href
49449 LatexCommand href
49450 name "Documentation"
49451 target "https://www.ctan.org/tex-archive/biblio/biber/documentation/biber.pdf"
49452 literal "false"
49453
49454 \end_inset
49455
49456  of the \SpecialChar LaTeX
49457  package 
49458 \series bold
49459 biber
49460 \series default
49461
49462 \begin_inset Index idx
49463 status collapsed
49464
49465 \begin_layout Plain Layout
49466 \SpecialChar LaTeX
49467  packages ! biber
49468 \end_layout
49469
49470 \end_inset
49471
49472 :
49473 \begin_inset Newline newline
49474 \end_inset
49475
49476
49477 \begin_inset Flex URL
49478 status collapsed
49479
49480 \begin_layout Plain Layout
49481
49482 https://www.ctan.org/tex-archive/biblio/biber/documentation/biber.pdf
49483 \end_layout
49484
49485 \end_inset
49486
49487
49488 \end_layout
49489
49490 \begin_layout Bibliography
49491 \begin_inset CommandInset bibitem
49492 LatexCommand bibitem
49493 key "makeindex"
49494 literal "true"
49495
49496 \end_inset
49497
49498
49499 \begin_inset CommandInset href
49500 LatexCommand href
49501 name "Documentation"
49502 target "https://www.ctan.org/tex-archive/indexing/makeindex/doc/makeindex.pdf"
49503 literal "false"
49504
49505 \end_inset
49506
49507  of the program 
49508 \family sans
49509 makeindex
49510 \family default
49511 :
49512 \begin_inset Newline newline
49513 \end_inset
49514
49515
49516 \begin_inset Flex URL
49517 status collapsed
49518
49519 \begin_layout Plain Layout
49520
49521 https://www.ctan.org/tex-archive/indexing/makeindex/doc/makeindex.pdf
49522 \end_layout
49523
49524 \end_inset
49525
49526
49527 \end_layout
49528
49529 \begin_layout Bibliography
49530 \begin_inset CommandInset bibitem
49531 LatexCommand bibitem
49532 key "makeindex-man"
49533 literal "true"
49534
49535 \end_inset
49536
49537
49538 \begin_inset CommandInset href
49539 LatexCommand href
49540 name "Options"
49541 target "https://www.ctan.org/tex-archive/indexing/makeindex/doc/manpages.dvi"
49542 literal "false"
49543
49544 \end_inset
49545
49546  for the program 
49547 \family sans
49548 makeindex
49549 \family default
49550 :
49551 \begin_inset Newline newline
49552 \end_inset
49553
49554
49555 \begin_inset Flex URL
49556 status collapsed
49557
49558 \begin_layout Plain Layout
49559
49560 https://www.ctan.org/tex-archive/indexing/makeindex/doc/manpages.dvi
49561 \end_layout
49562
49563 \end_inset
49564
49565
49566 \end_layout
49567
49568 \begin_layout Bibliography
49569 \begin_inset CommandInset bibitem
49570 LatexCommand bibitem
49571 key "xindy"
49572 literal "true"
49573
49574 \end_inset
49575
49576
49577 \begin_inset CommandInset href
49578 LatexCommand href
49579 name "Documentation"
49580 target "http://www.xindy.org/documentation.html"
49581 literal "false"
49582
49583 \end_inset
49584
49585  of the program 
49586 \family sans
49587 xindy
49588 \family default
49589 :
49590 \begin_inset Newline newline
49591 \end_inset
49592
49593
49594 \begin_inset Flex URL
49595 status collapsed
49596
49597 \begin_layout Plain Layout
49598
49599 http://www.xindy.org/documentation.html
49600 \end_layout
49601
49602 \end_inset
49603
49604
49605 \end_layout
49606
49607 \begin_layout Bibliography
49608 \begin_inset CommandInset bibitem
49609 LatexCommand bibitem
49610 key "AMS"
49611 literal "true"
49612
49613 \end_inset
49614
49615
49616 \begin_inset CommandInset href
49617 LatexCommand href
49618 name "Documentation"
49619 target "https://www.ams.org/publications/authors/tex/amslatex"
49620 literal "false"
49621
49622 \end_inset
49623
49624  of the AMS \SpecialChar LaTeX
49625 -packages:
49626 \begin_inset Newline newline
49627 \end_inset
49628
49629
49630 \begin_inset Flex URL
49631 status collapsed
49632
49633 \begin_layout Plain Layout
49634
49635 https://www.ams.org/publications/authors/tex/amslatex
49636 \end_layout
49637
49638 \end_inset
49639
49640
49641 \end_layout
49642
49643 \begin_layout Bibliography
49644 \begin_inset CommandInset bibitem
49645 LatexCommand bibitem
49646 key "caption"
49647 literal "true"
49648
49649 \end_inset
49650
49651
49652 \begin_inset CommandInset href
49653 LatexCommand href
49654 name "Documentation"
49655 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
49656 literal "false"
49657
49658 \end_inset
49659
49660  of the \SpecialChar LaTeX
49661  package 
49662 \series bold
49663 caption
49664 \series default
49665
49666 \begin_inset Index idx
49667 status collapsed
49668
49669 \begin_layout Plain Layout
49670 \SpecialChar LaTeX
49671  packages ! caption
49672 \end_layout
49673
49674 \end_inset
49675
49676 :
49677 \begin_inset Newline newline
49678 \end_inset
49679
49680
49681 \begin_inset Flex URL
49682 status collapsed
49683
49684 \begin_layout Plain Layout
49685
49686 https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf
49687 \end_layout
49688
49689 \end_inset
49690
49691
49692 \end_layout
49693
49694 \begin_layout Bibliography
49695 \begin_inset CommandInset bibitem
49696 LatexCommand bibitem
49697 key "enumitem"
49698 literal "true"
49699
49700 \end_inset
49701
49702
49703 \begin_inset CommandInset href
49704 LatexCommand href
49705 name "Documentation"
49706 target "https://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/enumitem.pdf"
49707 literal "false"
49708
49709 \end_inset
49710
49711  of the \SpecialChar LaTeX
49712  package 
49713 \series bold
49714 enumitem
49715 \series default
49716
49717 \begin_inset Index idx
49718 status collapsed
49719
49720 \begin_layout Plain Layout
49721 \SpecialChar LaTeX
49722  packages ! enumitem
49723 \end_layout
49724
49725 \end_inset
49726
49727 :
49728 \begin_inset Newline newline
49729 \end_inset
49730
49731
49732 \begin_inset Flex URL
49733 status collapsed
49734
49735 \begin_layout Plain Layout
49736
49737 https://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/enumitem.pdf
49738 \end_layout
49739
49740 \end_inset
49741
49742
49743 \end_layout
49744
49745 \begin_layout Bibliography
49746 \begin_inset CommandInset bibitem
49747 LatexCommand bibitem
49748 key "fancyhdr"
49749 literal "true"
49750
49751 \end_inset
49752
49753
49754 \begin_inset CommandInset href
49755 LatexCommand href
49756 name "Documentation"
49757 target "https://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
49758 literal "false"
49759
49760 \end_inset
49761
49762  of the \SpecialChar LaTeX
49763  package 
49764 \series bold
49765 fancyhdr
49766 \series default
49767
49768 \begin_inset Index idx
49769 status collapsed
49770
49771 \begin_layout Plain Layout
49772 \SpecialChar LaTeX
49773  packages ! fancyhdr
49774 \end_layout
49775
49776 \end_inset
49777
49778 :
49779 \begin_inset Newline newline
49780 \end_inset
49781
49782
49783 \begin_inset Flex URL
49784 status collapsed
49785
49786 \begin_layout Plain Layout
49787
49788 https://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
49789 \end_layout
49790
49791 \end_inset
49792
49793
49794 \end_layout
49795
49796 \begin_layout Bibliography
49797 \begin_inset CommandInset bibitem
49798 LatexCommand bibitem
49799 key "hyperref"
49800 literal "true"
49801
49802 \end_inset
49803
49804
49805 \begin_inset CommandInset href
49806 LatexCommand href
49807 name "Documentation"
49808 target "https://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf"
49809 literal "false"
49810
49811 \end_inset
49812
49813  of the \SpecialChar LaTeX
49814  package 
49815 \series bold
49816 hyperref
49817 \series default
49818
49819 \begin_inset Index idx
49820 status collapsed
49821
49822 \begin_layout Plain Layout
49823 \SpecialChar LaTeX
49824  packages ! hyperref
49825 \end_layout
49826
49827 \end_inset
49828
49829 :
49830 \begin_inset Newline newline
49831 \end_inset
49832
49833
49834 \begin_inset Flex URL
49835 status collapsed
49836
49837 \begin_layout Plain Layout
49838
49839 https://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf
49840 \end_layout
49841
49842 \end_inset
49843
49844
49845 \end_layout
49846
49847 \begin_layout Bibliography
49848 \begin_inset CommandInset bibitem
49849 LatexCommand bibitem
49850 key "microtype"
49851 literal "true"
49852
49853 \end_inset
49854
49855
49856 \begin_inset CommandInset href
49857 LatexCommand href
49858 name "Documentation"
49859 target "https://www.ctan.org/tex-archive/macros/latex/contrib/microtype/microtype.pdf"
49860 literal "false"
49861
49862 \end_inset
49863
49864  of the \SpecialChar LaTeX
49865  package 
49866 \series bold
49867 microtpye
49868 \series default
49869
49870 \begin_inset Index idx
49871 status collapsed
49872
49873 \begin_layout Plain Layout
49874 \SpecialChar LaTeX
49875  packages ! microtpye
49876 \end_layout
49877
49878 \end_inset
49879
49880 :
49881 \begin_inset Newline newline
49882 \end_inset
49883
49884
49885 \begin_inset Flex URL
49886 status collapsed
49887
49888 \begin_layout Plain Layout
49889
49890 https://www.ctan.org/tex-archive/macros/latex/contrib/microtype/microtype.pdf
49891 \end_layout
49892
49893 \end_inset
49894
49895
49896 \end_layout
49897
49898 \begin_layout Bibliography
49899 \begin_inset CommandInset bibitem
49900 LatexCommand bibitem
49901 key "nomencl"
49902 literal "true"
49903
49904 \end_inset
49905
49906
49907 \begin_inset CommandInset href
49908 LatexCommand href
49909 name "Documentation"
49910 target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
49911 literal "false"
49912
49913 \end_inset
49914
49915  of the \SpecialChar LaTeX
49916  package 
49917 \series bold
49918 nomencl
49919 \series default
49920
49921 \begin_inset Index idx
49922 status collapsed
49923
49924 \begin_layout Plain Layout
49925 \SpecialChar LaTeX
49926  packages ! nomencl
49927 \end_layout
49928
49929 \end_inset
49930
49931 :
49932 \begin_inset Newline newline
49933 \end_inset
49934
49935
49936 \begin_inset Flex URL
49937 status collapsed
49938
49939 \begin_layout Plain Layout
49940
49941 https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
49942 \end_layout
49943
49944 \end_inset
49945
49946
49947 \end_layout
49948
49949 \begin_layout Bibliography
49950 \begin_inset CommandInset bibitem
49951 LatexCommand bibitem
49952 key "prettyref"
49953 literal "true"
49954
49955 \end_inset
49956
49957
49958 \begin_inset CommandInset href
49959 LatexCommand href
49960 name "Documentation"
49961 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
49962 literal "false"
49963
49964 \end_inset
49965
49966  of the \SpecialChar LaTeX
49967  package 
49968 \series bold
49969 prettyref
49970 \series default
49971
49972 \begin_inset Index idx
49973 status collapsed
49974
49975 \begin_layout Plain Layout
49976 \SpecialChar LaTeX
49977  packages ! prettyref
49978 \end_layout
49979
49980 \end_inset
49981
49982 :
49983 \begin_inset Newline newline
49984 \end_inset
49985
49986
49987 \begin_inset Flex URL
49988 status collapsed
49989
49990 \begin_layout Plain Layout
49991
49992 https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
49993 \end_layout
49994
49995 \end_inset
49996
49997
49998 \end_layout
49999
50000 \begin_layout Bibliography
50001 \begin_inset CommandInset bibitem
50002 LatexCommand bibitem
50003 key "refstyle"
50004 literal "true"
50005
50006 \end_inset
50007
50008
50009 \begin_inset CommandInset href
50010 LatexCommand href
50011 name "Documentation"
50012 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50013 literal "false"
50014
50015 \end_inset
50016
50017  of the \SpecialChar LaTeX
50018  package 
50019 \series bold
50020 refstyle
50021 \series default
50022
50023 \begin_inset Index idx
50024 status collapsed
50025
50026 \begin_layout Plain Layout
50027 \SpecialChar LaTeX
50028  packages ! refstyle
50029 \end_layout
50030
50031 \end_inset
50032
50033 :
50034 \begin_inset Newline newline
50035 \end_inset
50036
50037
50038 \begin_inset Flex URL
50039 status collapsed
50040
50041 \begin_layout Plain Layout
50042
50043 https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf
50044 \end_layout
50045
50046 \end_inset
50047
50048
50049 \end_layout
50050
50051 \begin_layout Bibliography
50052 \begin_inset CommandInset bibitem
50053 LatexCommand bibitem
50054 key "Arabic"
50055 literal "true"
50056
50057 \end_inset
50058
50059
50060 \begin_inset CommandInset href
50061 LatexCommand href
50062 name "Wiki-page"
50063 target "https://wiki.lyx.org/Windows/Arabic"
50064 literal "false"
50065
50066 \end_inset
50067
50068  how to set up \SpecialChar LyX
50069  for Arabic:
50070 \begin_inset Newline newline
50071 \end_inset
50072
50073
50074 \begin_inset Flex URL
50075 status collapsed
50076
50077 \begin_layout Plain Layout
50078
50079 https://wiki.lyx.org/Windows/Arabic
50080 \end_layout
50081
50082 \end_inset
50083
50084
50085 \end_layout
50086
50087 \begin_layout Bibliography
50088 \begin_inset CommandInset bibitem
50089 LatexCommand bibitem
50090 key "Armenian"
50091 literal "true"
50092
50093 \end_inset
50094
50095
50096 \begin_inset CommandInset href
50097 LatexCommand href
50098 name "Wiki-page"
50099 target "https://wiki.lyx.org/Windows/Armenian"
50100 literal "false"
50101
50102 \end_inset
50103
50104  how to set up \SpecialChar LyX
50105  for Armenian:
50106 \begin_inset Newline newline
50107 \end_inset
50108
50109
50110 \begin_inset Flex URL
50111 status collapsed
50112
50113 \begin_layout Plain Layout
50114
50115 https://wiki.lyx.org/Windows/Armenian
50116 \end_layout
50117
50118 \end_inset
50119
50120
50121 \end_layout
50122
50123 \begin_layout Bibliography
50124 \begin_inset CommandInset bibitem
50125 LatexCommand bibitem
50126 key "Cyrillic"
50127 literal "true"
50128
50129 \end_inset
50130
50131
50132 \begin_inset CommandInset href
50133 LatexCommand href
50134 name "Wiki-page"
50135 target "https://wiki.lyx.org/Windows/Cyrillic"
50136 literal "false"
50137
50138 \end_inset
50139
50140  how to set up \SpecialChar LyX
50141  for Cyrillic languages:
50142 \begin_inset Newline newline
50143 \end_inset
50144
50145
50146 \begin_inset Flex URL
50147 status collapsed
50148
50149 \begin_layout Plain Layout
50150
50151 https://wiki.lyx.org/Windows/Cyrillic
50152 \end_layout
50153
50154 \end_inset
50155
50156
50157 \end_layout
50158
50159 \begin_layout Bibliography
50160 \begin_inset CommandInset bibitem
50161 LatexCommand bibitem
50162 key "Farsi"
50163 literal "true"
50164
50165 \end_inset
50166
50167
50168 \begin_inset CommandInset href
50169 LatexCommand href
50170 name "Wiki-page"
50171 target "https://wiki.lyx.org/Windows/Farsi"
50172 literal "false"
50173
50174 \end_inset
50175
50176  how to set up \SpecialChar LyX
50177  for Farsi:
50178 \begin_inset Newline newline
50179 \end_inset
50180
50181
50182 \begin_inset Flex URL
50183 status collapsed
50184
50185 \begin_layout Plain Layout
50186
50187 https://wiki.lyx.org/Windows/Farsi
50188 \end_layout
50189
50190 \end_inset
50191
50192
50193 \end_layout
50194
50195 \begin_layout Bibliography
50196 \begin_inset CommandInset bibitem
50197 LatexCommand bibitem
50198 key "Hebrew"
50199 literal "true"
50200
50201 \end_inset
50202
50203
50204 \begin_inset CommandInset href
50205 LatexCommand href
50206 name "Wiki-page"
50207 target "https://wiki.lyx.org/Windows/Hebrew"
50208 literal "false"
50209
50210 \end_inset
50211
50212  how to set up \SpecialChar LyX
50213  for Hebrew:
50214 \begin_inset Newline newline
50215 \end_inset
50216
50217
50218 \begin_inset Flex URL
50219 status collapsed
50220
50221 \begin_layout Plain Layout
50222
50223 https://wiki.lyx.org/Windows/Hebrew
50224 \end_layout
50225
50226 \end_inset
50227
50228
50229 \end_layout
50230
50231 \begin_layout Bibliography
50232 \begin_inset CommandInset bibitem
50233 LatexCommand bibitem
50234 key "Japanese"
50235 literal "true"
50236
50237 \end_inset
50238
50239
50240 \begin_inset CommandInset href
50241 LatexCommand href
50242 name "Wiki-page"
50243 target "https://wiki.lyx.org/Windows/Japanese"
50244 literal "false"
50245
50246 \end_inset
50247
50248  how to set up \SpecialChar LyX
50249  for Japanese:
50250 \begin_inset Newline newline
50251 \end_inset
50252
50253
50254 \begin_inset Flex URL
50255 status collapsed
50256
50257 \begin_layout Plain Layout
50258
50259 https://wiki.lyx.org/Windows/Japanese
50260 \end_layout
50261
50262 \end_inset
50263
50264
50265 \end_layout
50266
50267 \begin_layout Standard
50268 \begin_inset Newpage newpage
50269 \end_inset
50270
50271
50272 \begin_inset ERT
50273 status collapsed
50274
50275 \begin_layout Plain Layout
50276
50277
50278 \backslash
50279 let
50280 \backslash
50281 mybibname
50282 \backslash
50283 bibname
50284 \end_layout
50285
50286 \begin_layout Plain Layout
50287
50288
50289 \backslash
50290 renewcommand{
50291 \backslash
50292 bibname}{
50293 \backslash
50294 mybibname
50295 \backslash
50296 ; 2}
50297 \end_layout
50298
50299 \end_inset
50300
50301
50302 \begin_inset Note Note
50303 status collapsed
50304
50305 \begin_layout Plain Layout
50306 The command 
50307 \series bold
50308
50309 \backslash
50310 bibname
50311 \series default
50312  is the name of the bibliography in the current document language.
50313  It is redefined here with the number 2 at the end to state that the following
50314  bibliography is the second one:
50315 \end_layout
50316
50317 \end_inset
50318
50319
50320 \end_layout
50321
50322 \begin_layout Standard
50323 \begin_inset CommandInset bibtex
50324 LatexCommand bibtex
50325 bibfiles "biblio/LyXDocs"
50326 options "biblio/alphadin"
50327
50328 \end_inset
50329
50330
50331 \end_layout
50332
50333 \begin_layout Standard
50334 The above bibliography is created from a Bib\SpecialChar TeX
50335  database.
50336 \end_layout
50337
50338 \begin_layout Standard
50339 \begin_inset ERT
50340 status collapsed
50341
50342 \begin_layout Plain Layout
50343
50344
50345 \backslash
50346 renewcommand*{
50347 \backslash
50348 pagedeclaration}[1]{
50349 \end_layout
50350
50351 \begin_layout Plain Layout
50352
50353  
50354 \backslash
50355 unskip, 
50356 \backslash
50357 hyperlink{page.#1}{page
50358 \backslash
50359 nobreakspace{}#1}}
50360 \end_layout
50361
50362 \end_inset
50363
50364
50365 \begin_inset Note Note
50366 status collapsed
50367
50368 \begin_layout Plain Layout
50369 This command makes the page number a clickable hyperlink, see sec.
50370 \begin_inset space ~
50371 \end_inset
50372
50373
50374 \begin_inset CommandInset ref
50375 LatexCommand ref
50376 reference "subsec:Nomenclature-Options"
50377
50378 \end_inset
50379
50380  for more info.
50381 \end_layout
50382
50383 \end_inset
50384
50385
50386 \end_layout
50387
50388 \begin_layout Standard
50389 \begin_inset CommandInset nomencl_print
50390 LatexCommand printnomenclature
50391 set_width "auto"
50392
50393 \end_inset
50394
50395
50396 \begin_inset CommandInset index_print
50397 LatexCommand printindex
50398 type "idx"
50399 name "Index"
50400 literal "false"
50401
50402 \end_inset
50403
50404
50405 \end_layout
50406
50407 \end_body
50408 \end_document