]> git.lyx.org Git - features.git/blob - lib/doc/UserGuide.lyx
UserGuide.lyx: correct an equation
[features.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 This is Verbatim.
8339 \end_layout
8340
8341 \begin_layout Verbatim
8342 \noindent
8343 \align block
8344 The following 2 lines are empty:
8345 \end_layout
8346
8347 \begin_layout Verbatim
8348
8349 \end_layout
8350
8351 \begin_layout Verbatim
8352
8353 \end_layout
8354
8355 \begin_layout Verbatim
8356 Almost everything is allowed in Verbatim:"%&$§#~'`
8357 \backslash
8358 }][{|
8359 \end_layout
8360
8361 \begin_layout Standard
8362 The 
8363 \family sans
8364 Verbatim*
8365 \family default
8366  environment is identical to 
8367 \family sans
8368 Verbatim
8369 \family default
8370  with the difference that spaces appear in the output as the character '
8371 \begin_inset space \textvisiblespace{}
8372 \end_inset
8373
8374 '.
8375  An example:
8376 \end_layout
8377
8378 \begin_layout Verbatim*
8379 This is Verbatim*.
8380 \end_layout
8381
8382 \begin_layout Section
8383 Nesting Environments
8384 \begin_inset Index idx
8385 status collapsed
8386
8387 \begin_layout Plain Layout
8388 Nesting ! Environments
8389 \end_layout
8390
8391 \end_inset
8392
8393
8394 \begin_inset CommandInset label
8395 LatexCommand label
8396 name "sec:Nesting"
8397
8398 \end_inset
8399
8400
8401 \end_layout
8402
8403 \begin_layout Subsection
8404 Introduction
8405 \end_layout
8406
8407 \begin_layout Standard
8408 \SpecialChar LyX
8409  treats text as a unified block with a particular context and specific propertie
8410 s.
8411  This allows you to create blocks that inherit some of the properties of
8412  another block.
8413  For example you have three main points in an outline, but point #2 also
8414  has two subpoints.
8415  In other words, you have a list inside of another list, with the inner
8416  list 
8417 \begin_inset Quotes eld
8418 \end_inset
8419
8420 attached
8421 \begin_inset Quotes erd
8422 \end_inset
8423
8424  to item #2:
8425 \end_layout
8426
8427 \begin_layout Enumerate
8428 one
8429 \end_layout
8430
8431 \begin_layout Enumerate
8432 two
8433 \end_layout
8434
8435 \begin_deeper
8436 \begin_layout Enumerate
8437 sublist – item #1
8438 \end_layout
8439
8440 \begin_layout Enumerate
8441 sublist – item #2
8442 \end_layout
8443
8444 \end_deeper
8445 \begin_layout Enumerate
8446 three
8447 \end_layout
8448
8449 \begin_layout Standard
8450 You put a list inside a list by nesting one list inside the other.
8451  Nesting an environment is quite simple: Select 
8452 \family sans
8453 Edit\SpecialChar menuseparator
8454 Increase
8455 \begin_inset space ~
8456 \end_inset
8457
8458 List
8459 \begin_inset space ~
8460 \end_inset
8461
8462 Depth
8463 \family default
8464  or 
8465 \family sans
8466 Decrease
8467 \begin_inset space ~
8468 \end_inset
8469
8470 List
8471 \begin_inset space ~
8472 \end_inset
8473
8474 Depth
8475 \family default
8476  to change the nesting depth (the status bar will tell you how far you are
8477  nested).
8478  Instead of the menu, you can also use the toolbar buttons 
8479 \begin_inset Info
8480 type  "icon"
8481 arg   "depth-increment"
8482 \end_inset
8483
8484  and 
8485 \begin_inset Info
8486 type  "icon"
8487 arg   "depth-decrement"
8488 \end_inset
8489
8490  or the key bindings 
8491 \family sans
8492 Tab
8493 \family default
8494  and 
8495 \family sans
8496 Shift+Tab
8497 \family default
8498  or 
8499 \begin_inset Info
8500 type  "shortcut"
8501 arg   "depth-increment"
8502 \end_inset
8503
8504  and 
8505 \begin_inset Info
8506 type  "shortcut"
8507 arg   "depth-decrement"
8508 \end_inset
8509
8510 .
8511  The change will work on the current selection, if you have made one (allowing
8512  you to change the nesting of several paragraphs at once), or the current
8513  paragraph.
8514 \end_layout
8515
8516 \begin_layout Standard
8517 Note that \SpecialChar LyX
8518  only changes the nesting depth if it can.
8519  If it is invalid to do so, nothing happens if you try to change the depth.
8520  Additionally, if you change the depth of one paragraph, it affects the
8521  depth of every paragraph nested inside of it.
8522 \end_layout
8523
8524 \begin_layout Standard
8525 Nesting isn't limited to lists.
8526  In \SpecialChar LyX
8527 , you can nest just about anything inside anything else, as you're about
8528  to find out.
8529  This is the real power of nesting paragraph environments.
8530 \end_layout
8531
8532 \begin_layout Subsection
8533 What You Can and Can't Nest
8534 \end_layout
8535
8536 \begin_layout Standard
8537 Before we fire a list of paragraph environments at you, we need to tell
8538  you a little bit more about how nesting works.
8539 \end_layout
8540
8541 \begin_layout Standard
8542 The question of nesting a paragraph environment is a bit more complicated
8543  than a simple yes or no.
8544  There are three types of paragraph environments:
8545 \end_layout
8546
8547 \begin_layout Itemize
8548 Completely unnestable
8549 \end_layout
8550
8551 \begin_layout Itemize
8552 Fully nestable, you can nest them inside things and you can also nest other
8553  things inside them.
8554 \end_layout
8555
8556 \begin_layout Itemize
8557 A third type, you can nest them into other environments, but you can't nest
8558  anything into them.
8559 \end_layout
8560
8561 \begin_layout Standard
8562 Here's a list of the three types of nesting behavior, and which paragraph
8563  environments have them:
8564 \end_layout
8565
8566 \begin_layout Description
8567 Unnestable Can't nest them.
8568  Can't nest into them.
8569 \end_layout
8570
8571 \begin_deeper
8572 \begin_layout Itemize
8573
8574 \family sans
8575 Bibliography
8576 \end_layout
8577
8578 \begin_layout Itemize
8579
8580 \family sans
8581 Abstract
8582 \end_layout
8583
8584 \begin_layout Itemize
8585
8586 \family sans
8587 Title
8588 \end_layout
8589
8590 \begin_layout Itemize
8591
8592 \family sans
8593 Author
8594 \end_layout
8595
8596 \begin_layout Itemize
8597
8598 \family sans
8599 Date
8600 \end_layout
8601
8602 \end_deeper
8603 \begin_layout Description
8604 Fully
8605 \begin_inset space ~
8606 \end_inset
8607
8608 Nestable You can nest them.
8609  You can nest other things into them.
8610 \end_layout
8611
8612 \begin_deeper
8613 \begin_layout Itemize
8614
8615 \family sans
8616 Verse
8617 \end_layout
8618
8619 \begin_layout Itemize
8620
8621 \family sans
8622 Quote
8623 \end_layout
8624
8625 \begin_layout Itemize
8626
8627 \family sans
8628 Quotation
8629 \end_layout
8630
8631 \begin_layout Itemize
8632
8633 \family sans
8634 Itemize
8635 \end_layout
8636
8637 \begin_layout Itemize
8638
8639 \family sans
8640 Enumerate
8641 \end_layout
8642
8643 \begin_layout Itemize
8644
8645 \family sans
8646 Description
8647 \end_layout
8648
8649 \begin_layout Itemize
8650
8651 \family sans
8652 List
8653 \end_layout
8654
8655 \begin_layout Itemize
8656
8657 \family sans
8658 \SpecialChar LyX
8659 -Code
8660 \end_layout
8661
8662 \begin_layout Itemize
8663
8664 \family sans
8665 Verbatim
8666 \end_layout
8667
8668 \begin_layout Itemize
8669
8670 \family sans
8671 Verbatim*
8672 \end_layout
8673
8674 \end_deeper
8675 \begin_layout Description
8676 Nestable-Inside You can nest them inside other things.
8677  You can't nest anything into them.
8678 \end_layout
8679
8680 \begin_deeper
8681 \begin_layout Itemize
8682
8683 \family sans
8684 Standard
8685 \end_layout
8686
8687 \begin_layout Itemize
8688
8689 \family sans
8690 Part
8691 \end_layout
8692
8693 \begin_layout Itemize
8694
8695 \family sans
8696 Chapter
8697 \end_layout
8698
8699 \begin_layout Itemize
8700
8701 \family sans
8702 Section
8703 \end_layout
8704
8705 \begin_layout Itemize
8706
8707 \family sans
8708 Subsection
8709 \end_layout
8710
8711 \begin_layout Itemize
8712
8713 \family sans
8714 Subsubsection
8715 \end_layout
8716
8717 \begin_layout Itemize
8718
8719 \family sans
8720 Paragraph
8721 \end_layout
8722
8723 \begin_layout Itemize
8724
8725 \family sans
8726 Subparagraph
8727 \end_layout
8728
8729 \begin_layout Itemize
8730
8731 \family sans
8732 Part*
8733 \end_layout
8734
8735 \begin_layout Itemize
8736
8737 \family sans
8738 Chapter*
8739 \end_layout
8740
8741 \begin_layout Itemize
8742
8743 \family sans
8744 Section*
8745 \end_layout
8746
8747 \begin_layout Itemize
8748
8749 \family sans
8750 Subsection*
8751 \end_layout
8752
8753 \begin_layout Itemize
8754
8755 \family sans
8756 Subsubsection*
8757 \end_layout
8758
8759 \begin_layout Itemize
8760
8761 \family sans
8762 Right
8763 \begin_inset space ~
8764 \end_inset
8765
8766 Address
8767 \end_layout
8768
8769 \begin_layout Itemize
8770
8771 \family sans
8772 Address
8773 \end_layout
8774
8775 \end_deeper
8776 \begin_layout Standard
8777 \begin_inset Note Greyedout
8778 status open
8779
8780 \begin_layout Plain Layout
8781
8782 \series bold
8783 Note:
8784 \series default
8785  Although it is possible, for example, to nest numbered section headings
8786  like 
8787 \family sans
8788 Chapter
8789 \family default
8790
8791 \family sans
8792 Section
8793 \family default
8794 , etc.
8795 \begin_inset space ~
8796 \end_inset
8797
8798 into lists, it is highly recommended not to do this because the aim is to
8799  create well-structured documents following typesetting guidelines whereas
8800  nested section headings violate this.
8801 \end_layout
8802
8803 \end_inset
8804
8805
8806 \end_layout
8807
8808 \begin_layout Subsection
8809 Nesting Other Things: Tables, Math, Floats, etc.
8810 \begin_inset Index idx
8811 status collapsed
8812
8813 \begin_layout Plain Layout
8814 Nesting ! Tables etc.
8815 \end_layout
8816
8817 \end_inset
8818
8819
8820 \end_layout
8821
8822 \begin_layout Standard
8823 There are several things that aren't paragraph environments, but which are
8824  affected by nesting anyhow.
8825  They are:
8826 \end_layout
8827
8828 \begin_layout Itemize
8829 equations
8830 \end_layout
8831
8832 \begin_layout Itemize
8833 tables
8834 \end_layout
8835
8836 \begin_layout Itemize
8837 figures
8838 \end_layout
8839
8840 \begin_layout Standard
8841 (
8842 \begin_inset Note Greyedout
8843 status open
8844
8845 \begin_layout Plain Layout
8846
8847 \series bold
8848 Note:
8849 \series default
8850  Figures and tables in 
8851 \family sans
8852 Floats
8853 \family default
8854  are not affected by this.
8855 \end_layout
8856
8857 \end_inset
8858
8859  Have a look at section
8860 \begin_inset space ~
8861 \end_inset
8862
8863
8864 \begin_inset CommandInset ref
8865 LatexCommand ref
8866 reference "sec:Floats"
8867
8868 \end_inset
8869
8870  for more information about 
8871 \family sans
8872 Floats
8873 \family default
8874 .)
8875 \end_layout
8876
8877 \begin_layout Standard
8878 \SpecialChar LyX
8879  can treat these three objects as either a word or as a paragraph.
8880  If a figure, table, or an equation is inline, it goes wherever the paragraph
8881  it is in goes.
8882 \end_layout
8883
8884 \begin_layout Standard
8885 On the other hand, if you have an equation, figure or table in a 
8886 \begin_inset Quotes eld
8887 \end_inset
8888
8889 paragraph
8890 \begin_inset Quotes erd
8891 \end_inset
8892
8893  of its own, it behaves just like a 
8894 \begin_inset Quotes eld
8895 \end_inset
8896
8897 nestable-inside
8898 \begin_inset Quotes erd
8899 \end_inset
8900
8901  paragraph environment.
8902  You can nest it into any environment, but you obviously can't nest anything
8903  into it.
8904 \end_layout
8905
8906 \begin_layout Standard
8907 Here's an example with a table:
8908 \end_layout
8909
8910 \begin_layout Enumerate
8911 Item One
8912 \end_layout
8913
8914 \begin_deeper
8915 \begin_layout Enumerate
8916 This is (a) and it's nested.
8917 \end_layout
8918
8919 \begin_deeper
8920 \begin_layout Standard
8921 \begin_inset VSpace 0.3cm
8922 \end_inset
8923
8924
8925 \end_layout
8926
8927 \begin_layout Standard
8928 \align center
8929 \begin_inset Tabular
8930 <lyxtabular version="3" rows="2" columns="2">
8931 <features tabularvalignment="middle">
8932 <column alignment="center" valignment="top" width="0pt">
8933 <column alignment="center" valignment="top" width="0pt">
8934 <row>
8935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8936 \begin_inset Text
8937
8938 \begin_layout Plain Layout
8939
8940 \family roman
8941 \series medium
8942 \shape up
8943 \size normal
8944 \emph off
8945 \bar no
8946 \noun off
8947 \color none
8948 a
8949 \end_layout
8950
8951 \end_inset
8952 </cell>
8953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8954 \begin_inset Text
8955
8956 \begin_layout Plain Layout
8957
8958 \family roman
8959 \series medium
8960 \shape up
8961 \size normal
8962 \emph off
8963 \bar no
8964 \noun off
8965 \color none
8966 b
8967 \end_layout
8968
8969 \end_inset
8970 </cell>
8971 </row>
8972 <row>
8973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8974 \begin_inset Text
8975
8976 \begin_layout Plain Layout
8977
8978 \family roman
8979 \series medium
8980 \shape up
8981 \size normal
8982 \emph off
8983 \bar no
8984 \noun off
8985 \color none
8986 c
8987 \end_layout
8988
8989 \end_inset
8990 </cell>
8991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8992 \begin_inset Text
8993
8994 \begin_layout Plain Layout
8995
8996 \family roman
8997 \series medium
8998 \shape up
8999 \size normal
9000 \emph off
9001 \bar no
9002 \noun off
9003 \color none
9004 d
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 </row>
9010 </lyxtabular>
9011
9012 \end_inset
9013
9014
9015 \end_layout
9016
9017 \begin_layout Standard
9018 \begin_inset VSpace 0.3cm
9019 \end_inset
9020
9021
9022 \end_layout
9023
9024 \end_deeper
9025 \begin_layout Enumerate
9026 This is (b).
9027  The table is actually nested inside (a).
9028 \end_layout
9029
9030 \end_deeper
9031 \begin_layout Enumerate
9032 Back out again.
9033 \end_layout
9034
9035 \begin_layout Standard
9036 If we hadn't nested the table at all, the list would look like this:
9037 \end_layout
9038
9039 \begin_layout Enumerate
9040 Item One
9041 \end_layout
9042
9043 \begin_deeper
9044 \begin_layout Enumerate
9045 This is (a) and it's nested.
9046 \end_layout
9047
9048 \end_deeper
9049 \begin_layout Standard
9050 \begin_inset VSpace 0.3cm
9051 \end_inset
9052
9053
9054 \end_layout
9055
9056 \begin_layout Standard
9057 \align center
9058 \begin_inset Tabular
9059 <lyxtabular version="3" rows="2" columns="2">
9060 <features tabularvalignment="middle">
9061 <column alignment="center" valignment="top" width="0pt">
9062 <column alignment="center" valignment="top" width="0pt">
9063 <row>
9064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9065 \begin_inset Text
9066
9067 \begin_layout Plain Layout
9068
9069 \family roman
9070 \series medium
9071 \shape up
9072 \size normal
9073 \emph off
9074 \bar no
9075 \noun off
9076 \color none
9077 a
9078 \end_layout
9079
9080 \end_inset
9081 </cell>
9082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9083 \begin_inset Text
9084
9085 \begin_layout Plain Layout
9086
9087 \family roman
9088 \series medium
9089 \shape up
9090 \size normal
9091 \emph off
9092 \bar no
9093 \noun off
9094 \color none
9095 b
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 </row>
9101 <row>
9102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Plain Layout
9106
9107 \family roman
9108 \series medium
9109 \shape up
9110 \size normal
9111 \emph off
9112 \bar no
9113 \noun off
9114 \color none
9115 c
9116 \end_layout
9117
9118 \end_inset
9119 </cell>
9120 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9121 \begin_inset Text
9122
9123 \begin_layout Plain Layout
9124
9125 \family roman
9126 \series medium
9127 \shape up
9128 \size normal
9129 \emph off
9130 \bar no
9131 \noun off
9132 \color none
9133 d
9134 \end_layout
9135
9136 \end_inset
9137 </cell>
9138 </row>
9139 </lyxtabular>
9140
9141 \end_inset
9142
9143
9144 \end_layout
9145
9146 \begin_layout Standard
9147 \begin_inset VSpace 0.3cm
9148 \end_inset
9149
9150
9151 \end_layout
9152
9153 \begin_layout Enumerate
9154 This is (b).
9155  The table is 
9156 \emph on
9157 not
9158 \emph default
9159  nested inside (a).
9160  In fact, it's not nested at all.
9161 \end_layout
9162
9163 \begin_layout Enumerate
9164 Back out again.
9165 \end_layout
9166
9167 \begin_layout Standard
9168 Notice how item (b) is not only no longer nested, but is also the first
9169  item of a new list!
9170 \end_layout
9171
9172 \begin_layout Standard
9173 There's another trap you can fall into: Nesting the table, but not going
9174  deep enough.
9175  \SpecialChar LyX
9176  then turns anything after the table into a new sublist.
9177 \end_layout
9178
9179 \begin_layout Enumerate
9180 Item One
9181 \end_layout
9182
9183 \begin_deeper
9184 \begin_layout Enumerate
9185 This is (a) and it's nested.
9186 \end_layout
9187
9188 \begin_layout Standard
9189 \begin_inset VSpace 0.3cm
9190 \end_inset
9191
9192
9193 \end_layout
9194
9195 \begin_layout Standard
9196 \align center
9197 \begin_inset Tabular
9198 <lyxtabular version="3" rows="2" columns="2">
9199 <features tabularvalignment="middle">
9200 <column alignment="center" valignment="top" width="0pt">
9201 <column alignment="center" valignment="top" width="0pt">
9202 <row>
9203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Plain Layout
9207
9208 \family roman
9209 \series medium
9210 \shape up
9211 \size normal
9212 \emph off
9213 \bar no
9214 \noun off
9215 \color none
9216 a
9217 \end_layout
9218
9219 \end_inset
9220 </cell>
9221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9222 \begin_inset Text
9223
9224 \begin_layout Plain Layout
9225
9226 \family roman
9227 \series medium
9228 \shape up
9229 \size normal
9230 \emph off
9231 \bar no
9232 \noun off
9233 \color none
9234 b
9235 \end_layout
9236
9237 \end_inset
9238 </cell>
9239 </row>
9240 <row>
9241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9242 \begin_inset Text
9243
9244 \begin_layout Plain Layout
9245
9246 \family roman
9247 \series medium
9248 \shape up
9249 \size normal
9250 \emph off
9251 \bar no
9252 \noun off
9253 \color none
9254 c
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9260 \begin_inset Text
9261
9262 \begin_layout Plain Layout
9263
9264 \family roman
9265 \series medium
9266 \shape up
9267 \size normal
9268 \emph off
9269 \bar no
9270 \noun off
9271 \color none
9272 d
9273 \end_layout
9274
9275 \end_inset
9276 </cell>
9277 </row>
9278 </lyxtabular>
9279
9280 \end_inset
9281
9282
9283 \end_layout
9284
9285 \end_deeper
9286 \begin_layout Standard
9287 \begin_inset VSpace 0.3cm
9288 \end_inset
9289
9290
9291 \end_layout
9292
9293 \begin_layout Enumerate
9294 This is (b).
9295  The table is actually nested inside Item One, but 
9296 \emph on
9297 not
9298 \emph default
9299  inside (a).
9300 \end_layout
9301
9302 \begin_layout Enumerate
9303 Back out again.
9304 \end_layout
9305
9306 \begin_layout Standard
9307 As you can see, item (b) turned into the first item of a new list, but a
9308  new list 
9309 \emph on
9310 inside
9311 \emph default
9312  item 1.
9313  The same thing would have happened to a figure or an equation.
9314  So, if you nest tables, figures or equations, make sure you go to the right
9315  depth!
9316 \end_layout
9317
9318 \begin_layout Subsection
9319 Usage and General Features
9320 \end_layout
9321
9322 \begin_layout Standard
9323 Speaking of levels, \SpecialChar LyX
9324  can perform up to a six-fold nesting.
9325  In other words, 
9326 \begin_inset Quotes eld
9327 \end_inset
9328
9329 level #6
9330 \begin_inset Quotes erd
9331 \end_inset
9332
9333  is the innermost possible depth.
9334  Here's an example to illustrate what we mean:
9335 \end_layout
9336
9337 \begin_layout Enumerate
9338 level #1 – outermost
9339 \end_layout
9340
9341 \begin_deeper
9342 \begin_layout Enumerate
9343 level #2
9344 \end_layout
9345
9346 \begin_deeper
9347 \begin_layout Enumerate
9348 level #3
9349 \end_layout
9350
9351 \begin_deeper
9352 \begin_layout Enumerate
9353 level #4
9354 \end_layout
9355
9356 \begin_deeper
9357 \begin_layout Itemize
9358 level #5
9359 \end_layout
9360
9361 \begin_deeper
9362 \begin_layout Itemize
9363 level #6
9364 \end_layout
9365
9366 \end_deeper
9367 \end_deeper
9368 \end_deeper
9369 \end_deeper
9370 \end_deeper
9371 \begin_layout Standard
9372 There are two exceptions to the six-fold nesting limit, and you can see
9373  both of them in the example.
9374  Unlike the other fully-nestable environments, you can only perform a four-fold
9375  nesting with the 
9376 \family sans
9377 Enumerate
9378 \family default
9379  and 
9380 \family sans
9381 Itemize
9382 \family default
9383  environments.
9384  For example, if we tried to nest another 
9385 \family sans
9386 Enumerate
9387 \family default
9388  list inside item 
9389 \begin_inset Quotes eld
9390 \end_inset
9391
9392 A.
9393 \begin_inset Quotes erd
9394 \end_inset
9395
9396 , we would get errors.
9397 \end_layout
9398
9399 \begin_layout Subsection
9400 Some Examples
9401 \begin_inset Index idx
9402 status collapsed
9403
9404 \begin_layout Plain Layout
9405 Nesting ! Examples
9406 \end_layout
9407
9408 \end_inset
9409
9410
9411 \end_layout
9412
9413 \begin_layout Standard
9414 The best way to explain just what you can do with nesting is by illustration.
9415  We have several examples of nested environments.
9416  In them, we explain how we created the example, so that you can reproduce
9417  them.
9418 \end_layout
9419
9420 \begin_layout Subsubsection
9421 Example 1: The Six-fold Way and Mixed Nesting
9422 \end_layout
9423
9424 \begin_layout Labeling
9425 \labelwidthstring MMM
9426 #1-a This is the outermost level.
9427  It's a 
9428 \family sans
9429 List
9430 \family default
9431  environment.
9432 \end_layout
9433
9434 \begin_deeper
9435 \begin_layout Labeling
9436 \labelwidthstring MMM
9437 #2-a This is level #2.
9438  We created it by using 
9439 \begin_inset Info
9440 type  "shortcut"
9441 arg   "paragraph-break inverse"
9442 \end_inset
9443
9444  followed by 
9445 \begin_inset Info
9446 type  "shortcut"
9447 arg   "depth-increment"
9448 \end_inset
9449
9450 .
9451 \end_layout
9452
9453 \begin_deeper
9454 \begin_layout Labeling
9455 \labelwidthstring MMM
9456 #3-a This is level #3.
9457  This time, we just enter 
9458 \family sans
9459 Return
9460 \family default
9461 , then used 
9462 \begin_inset Info
9463 type  "shortcut"
9464 arg   "depth-increment"
9465 \end_inset
9466
9467  twice in a row.
9468  We could have also created it the same way as we did the previous level,
9469  by entering 
9470 \begin_inset Info
9471 type  "shortcut"
9472 arg   "paragraph-break inverse"
9473 \end_inset
9474
9475  followed by 
9476 \begin_inset Info
9477 type  "shortcut"
9478 arg   "depth-increment"
9479 \end_inset
9480
9481 .
9482 \end_layout
9483
9484 \begin_deeper
9485 \begin_layout Standard
9486 This is actually a 
9487 \family sans
9488 Standard
9489 \family default
9490  environment, nested inside of 
9491 \begin_inset Quotes eld
9492 \end_inset
9493
9494 #3-a
9495 \begin_inset Quotes erd
9496 \end_inset
9497
9498 .
9499  So, it's at level #4.
9500  We did this by entering 
9501 \begin_inset Info
9502 type  "shortcut"
9503 arg   "paragraph-break inverse"
9504 \end_inset
9505
9506 , then 
9507 \begin_inset Info
9508 type  "shortcut"
9509 arg   "depth-increment"
9510 \end_inset
9511
9512 , then changing the paragraph environment to 
9513 \family sans
9514 Standard
9515 \family default
9516 .
9517  Do this to create list items with more than one paragraph — it also works
9518  for the 
9519 \family sans
9520 Description
9521 \family default
9522
9523 \family sans
9524 Enumerate
9525 \family default
9526 , and 
9527 \family sans
9528 Itemize
9529 \family default
9530  environments!
9531 \end_layout
9532
9533 \begin_layout Standard
9534 Here's another 
9535 \family sans
9536 Standard
9537 \family default
9538  paragraph, also at level #4, made with just a 
9539 \begin_inset Info
9540 type  "shortcut"
9541 arg   "paragraph-break inverse"
9542 \end_inset
9543
9544 .
9545 \end_layout
9546
9547 \begin_layout Labeling
9548 \labelwidthstring MMM
9549 #4-a This is level #4.
9550  We enter 
9551 \begin_inset Info
9552 type  "shortcut"
9553 arg   "paragraph-break inverse"
9554 \end_inset
9555
9556  and changed the paragraph environment back to 
9557 \family sans
9558 List
9559 \family default
9560 .
9561  Remember — we can't nest anything inside a 
9562 \family sans
9563 Standard
9564 \family default
9565  environment, which is why we're still at level #4.
9566  However, we 
9567 \emph on
9568 can
9569 \emph default
9570  keep nesting things inside 
9571 \begin_inset Quotes eld
9572 \end_inset
9573
9574 #3-a
9575 \begin_inset Quotes erd
9576 \end_inset
9577
9578 .
9579 \end_layout
9580
9581 \begin_deeper
9582 \begin_layout Labeling
9583 \labelwidthstring MMM
9584 #5-a This is level #5\SpecialChar ldots
9585
9586 \end_layout
9587
9588 \begin_deeper
9589 \begin_layout Labeling
9590 \labelwidthstring MMM
9591 #6-a \SpecialChar ldots
9592 and this is level #6.
9593  By now, you should know how we made these two.
9594 \end_layout
9595
9596 \end_deeper
9597 \begin_layout Labeling
9598 \labelwidthstring MMM
9599 #5-b Back to level #5.
9600  Just enter 
9601 \begin_inset Info
9602 type  "shortcut"
9603 arg   "paragraph-break inverse"
9604 \end_inset
9605
9606  followed by a 
9607 \begin_inset Info
9608 type  "shortcut"
9609 arg   "depth-decrement"
9610 \end_inset
9611
9612 .
9613 \end_layout
9614
9615 \end_deeper
9616 \begin_layout Labeling
9617 \labelwidthstring MMM
9618 #4-b After another 
9619 \begin_inset Info
9620 type  "shortcut"
9621 arg   "paragraph-break inverse"
9622 \end_inset
9623
9624  followed by a 
9625 \begin_inset Info
9626 type  "shortcut"
9627 arg   "depth-decrement"
9628 \end_inset
9629
9630 , we're back at level #4.
9631 \end_layout
9632
9633 \end_deeper
9634 \begin_layout Labeling
9635 \labelwidthstring MMM
9636 #3-b Back to level #3.
9637  By now it should be obvious how we did this.
9638 \end_layout
9639
9640 \end_deeper
9641 \begin_layout Labeling
9642 \labelwidthstring MMM
9643 #2-b Back to level #2.
9644  
9645 \end_layout
9646
9647 \end_deeper
9648 \begin_layout Labeling
9649 \labelwidthstring MMM
9650 #1-b And last, back to the outermost level, #1.
9651  After this sentence, we will enter 
9652 \family sans
9653 Return
9654 \family default
9655  and change the paragraph environment back to 
9656 \family sans
9657 Standard
9658 \family default
9659  to end the list.
9660 \end_layout
9661
9662 \begin_layout Standard
9663 We could have also used the 
9664 \family sans
9665 Description
9666 \family default
9667
9668 \family sans
9669 Quote
9670 \family default
9671
9672 \family sans
9673 Quotation
9674 \family default
9675 , or even the 
9676 \family sans
9677 Verse
9678 \family default
9679  environment in place of the 
9680 \family sans
9681 List
9682 \family default
9683  environment.
9684  The example would have worked exactly the same.
9685 \end_layout
9686
9687 \begin_layout Subsubsection
9688 Example 2: Inheritance
9689 \end_layout
9690
9691 \begin_layout LyX-Code
9692 This is the LyX-Code environment, at level #1, the outermost
9693 \end_layout
9694
9695 \begin_layout LyX-Code
9696 level.
9697   Now we will enter 
9698 \family sans
9699 Return
9700 \family default
9701 , then 
9702 \begin_inset Info
9703 type  "shortcut"
9704 arg   "depth-increment"
9705 \end_inset
9706
9707 , after
9708 \begin_inset Newline newline
9709 \end_inset
9710
9711 which, we will change to the 
9712 \family sans
9713 Enumerate
9714 \family default
9715  environment.
9716 \end_layout
9717
9718 \begin_deeper
9719 \begin_layout Enumerate
9720 This is the 
9721 \family sans
9722 Enumerate
9723 \family default
9724  environment, at level #2.
9725 \end_layout
9726
9727 \begin_layout Enumerate
9728 Notice how the nested 
9729 \family sans
9730 Enumerate
9731 \family default
9732  not only inherits its margins from its parent environment (
9733 \family sans
9734 LyX-Code
9735 \family default
9736 ), but also inherits its font and spacing!
9737 \end_layout
9738
9739 \end_deeper
9740 \begin_layout Standard
9741 We ended this example by entering 
9742 \family sans
9743 Return
9744 \family default
9745 .
9746  After that, we needed to reset the paragraph environment to 
9747 \family sans
9748 Standard
9749 \family default
9750  and reset the nesting depth by using 
9751 \begin_inset Info
9752 type  "shortcut"
9753 arg   "depth-decrement"
9754 \end_inset
9755
9756  once.
9757 \end_layout
9758
9759 \begin_layout Subsubsection
9760 Example 3: Labels, Levels, and the 
9761 \family sans
9762 Enumerate
9763 \family default
9764  and 
9765 \family sans
9766 Itemize
9767 \family default
9768  Environments
9769 \begin_inset Argument 1
9770 status collapsed
9771
9772 \begin_layout Plain Layout
9773 Example #3: Labels, Levels and other list environments
9774 \end_layout
9775
9776 \end_inset
9777
9778
9779 \end_layout
9780
9781 \begin_layout Enumerate
9782 This is level #1, in an 
9783 \family sans
9784 Enumerate
9785 \family default
9786  paragraph environment.
9787  We're actually going to nest a bunch of these.
9788 \end_layout
9789
9790 \begin_deeper
9791 \begin_layout Enumerate
9792 This is level #2.
9793  We used 
9794 \begin_inset Info
9795 type  "shortcut"
9796 arg   "paragraph-break inverse"
9797 \end_inset
9798
9799  followed by 
9800 \begin_inset Info
9801 type  "shortcut"
9802 arg   "depth-increment"
9803 \end_inset
9804
9805 .
9806  Now, what happens if we nest an 
9807 \family sans
9808 Itemize
9809 \family default
9810  environment inside of this one? It will be at level #3, but what will its
9811  label be? An asterisk?
9812 \end_layout
9813
9814 \begin_deeper
9815 \begin_layout Itemize
9816 No! It's a bullet.
9817  This is the 
9818 \emph on
9819 first
9820 \emph default
9821  
9822 \family sans
9823 Itemize
9824 \family default
9825  environment, even though it's at level #3.
9826  So, its label is a bullet.
9827  (We got here by using 
9828 \begin_inset Info
9829 type  "shortcut"
9830 arg   "paragraph-break inverse"
9831 \end_inset
9832
9833 , then 
9834 \begin_inset Info
9835 type  "shortcut"
9836 arg   "depth-increment"
9837 \end_inset
9838
9839 , then changing the environment to 
9840 \family sans
9841 Itemize
9842 \family default
9843 .)
9844 \end_layout
9845
9846 \begin_deeper
9847 \begin_layout Itemize
9848 Here's level #4, produced using 
9849 \begin_inset Info
9850 type  "shortcut"
9851 arg   "paragraph-break inverse"
9852 \end_inset
9853
9854 , then 
9855 \begin_inset Info
9856 type  "shortcut"
9857 arg   "depth-increment"
9858 \end_inset
9859
9860 .
9861  We will do that again\SpecialChar ldots
9862
9863 \end_layout
9864
9865 \begin_deeper
9866 \begin_layout Enumerate
9867 \SpecialChar ldots
9868 to get to level #5.
9869  This time, however, we also changed the paragraph environment back to 
9870 \family sans
9871 Enumerate
9872 \family default
9873 .
9874  Notice the type of numbering, it is 
9875 \emph on
9876 lowercase Roman
9877 \emph default
9878 , because we are in the 
9879 \emph on
9880 thirdfold
9881 \emph default
9882  
9883 \family sans
9884 Enumerate
9885 \family default
9886  environment (that is, it is an 
9887 \family sans
9888 Enumerate
9889 \family default
9890  inside an 
9891 \family sans
9892 Enumerate
9893 \family default
9894  inside an 
9895 \family sans
9896 Enumerate
9897 \family default
9898 ).
9899 \end_layout
9900
9901 \begin_layout Enumerate
9902 What happens if we 
9903 \emph on
9904 don't
9905 \emph default
9906  change the paragraph environment, but decrease the nesting depth? What
9907  type of numbering does \SpecialChar LyX
9908  use?
9909 \end_layout
9910
9911 \begin_layout Enumerate
9912 Oh, as if you couldn't guess by now, we're just using 
9913 \begin_inset Info
9914 type  "shortcut"
9915 arg   "paragraph-break inverse"
9916 \end_inset
9917
9918  to keep the current environment and depth but create a new item.
9919 \end_layout
9920
9921 \begin_layout Enumerate
9922 Let's use 
9923 \begin_inset Info
9924 type  "shortcut"
9925 arg   "depth-decrement"
9926 \end_inset
9927
9928  to decrease the depth after the next 
9929 \begin_inset Info
9930 type  "shortcut"
9931 arg   "paragraph-break inverse"
9932 \end_inset
9933
9934 .
9935 \end_layout
9936
9937 \end_deeper
9938 \begin_layout Enumerate
9939 This is level #4.
9940  Look what type of label \SpecialChar LyX
9941  is using!
9942 \end_layout
9943
9944 \end_deeper
9945 \begin_layout Enumerate
9946 This is level #3.
9947  Even though we've changed levels, \SpecialChar LyX
9948  is still using a lowercase Roman numeral
9949  as the label.Why?
9950 \end_layout
9951
9952 \begin_layout Enumerate
9953 Because, even though the nesting depth has changed, the paragraph is 
9954 \emph on
9955 still
9956 \emph default
9957  a thirdfold 
9958 \family sans
9959 Enumerate
9960 \family default
9961  environment.
9962  Notice, however, that \SpecialChar LyX
9963  
9964 \emph on
9965 did
9966 \emph default
9967  reset the counter for the label.
9968 \end_layout
9969
9970 \end_deeper
9971 \begin_layout Enumerate
9972 Another 
9973 \begin_inset Info
9974 type  "shortcut"
9975 arg   "paragraph-break inverse"
9976 \end_inset
9977
9978  
9979 \begin_inset Info
9980 type  "shortcut"
9981 arg   "depth-decrement"
9982 \end_inset
9983
9984  sequence, and we're back to level #2.
9985  This time, we not only changed the nesting depth, but we also moved back
9986  into the twofold-nested 
9987 \family sans
9988 Enumerate
9989 \family default
9990  environment.
9991 \end_layout
9992
9993 \end_deeper
9994 \begin_layout Enumerate
9995 The same thing happens if we do another 
9996 \begin_inset Info
9997 type  "shortcut"
9998 arg   "paragraph-break inverse"
9999 \end_inset
10000
10001  
10002 \begin_inset Info
10003 type  "shortcut"
10004 arg   "depth-decrement"
10005 \end_inset
10006
10007  sequence and return to level #1, the outermost level.
10008 \end_layout
10009
10010 \begin_layout Standard
10011 Lastly, we reset the environment to 
10012 \family sans
10013 Standard
10014 \family default
10015 .
10016  As you can see, the level number doesn't correspond to what type of labeling
10017  \SpecialChar LyX
10018  uses for the 
10019 \family sans
10020 Enumerate
10021 \family default
10022  and 
10023 \family sans
10024 Itemize
10025 \family default
10026  environments.
10027  The number of other 
10028 \family sans
10029 Enumerate
10030 \family default
10031  environments surrounding it determines what kind of label \SpecialChar LyX
10032  uses for an
10033  
10034 \family sans
10035 Enumerate
10036 \family default
10037  item.
10038  The same rule applies for the 
10039 \family sans
10040 Itemize
10041 \family default
10042  environment, as well.
10043 \end_layout
10044
10045 \begin_layout Subsubsection
10046 Example 4: Going Bonkers
10047 \end_layout
10048
10049 \begin_layout Enumerate
10050 We're going to go totally nuts now.
10051  We will not nest as deep as in the other examples, nor will we go into
10052  the same detail with how we did it.
10053  (level #1: 
10054 \family sans
10055 Enumerate
10056 \family default
10057 )
10058 \end_layout
10059
10060 \begin_deeper
10061 \begin_layout Standard
10062 (
10063 \family sans
10064 Return, 
10065 \family default
10066
10067 \begin_inset Info
10068 type  "shortcut"
10069 arg   "depth-increment"
10070 \end_inset
10071
10072
10073 \family sans
10074 , Standard
10075 \family default
10076 : level #2) We will stick an encapsulated description of how we created
10077  the example in parentheses someplace.
10078  For example, the two key bindings are how we changed the depth.
10079  The environment name is the name of the current environment.
10080  Either before or after this, we will put in the level.
10081 \end_layout
10082
10083 \end_deeper
10084 \begin_layout Enumerate
10085 (
10086 \family sans
10087 Return, Enumerate
10088 \family default
10089 : level #1) This is the next item in the list.
10090 \end_layout
10091
10092 \begin_deeper
10093 \begin_layout Verse
10094 Now we will add verse.
10095 \begin_inset Newline newline
10096 \end_inset
10097
10098 It will get much worse.
10099 \begin_inset Newline newline
10100 \end_inset
10101
10102 (
10103 \family sans
10104 Return, 
10105 \family default
10106
10107 \begin_inset Info
10108 type  "shortcut"
10109 arg   "depth-increment"
10110 \end_inset
10111
10112
10113 \family sans
10114 , Verse
10115 \family default
10116 : level #2)
10117 \end_layout
10118
10119 \begin_layout Verse
10120 Fiddle dee, Fiddle doo.
10121 \begin_inset Newline newline
10122 \end_inset
10123
10124 Bippitey boppitey boo!
10125 \begin_inset Newline newline
10126 \end_inset
10127
10128 (
10129 \begin_inset Info
10130 type  "shortcut"
10131 arg   "paragraph-break inverse"
10132 \end_inset
10133
10134
10135 \family sans
10136 )
10137 \end_layout
10138
10139 \begin_layout Verse
10140 Here comes a table:
10141 \end_layout
10142
10143 \begin_deeper
10144 \begin_layout Standard
10145 \begin_inset VSpace 0.3cm
10146 \end_inset
10147
10148
10149 \end_layout
10150
10151 \begin_layout Standard
10152 \align center
10153 \begin_inset Tabular
10154 <lyxtabular version="3" rows="2" columns="2">
10155 <features tabularvalignment="middle">
10156 <column alignment="center" valignment="top" width="0pt">
10157 <column alignment="center" valignment="top" width="0pt">
10158 <row>
10159 <cell alignment="center" valignment="top" usebox="none">
10160 \begin_inset Text
10161
10162 \begin_layout Plain Layout
10163
10164 \family roman
10165 \series medium
10166 \shape up
10167 \size normal
10168 \emph off
10169 \bar no
10170 \noun off
10171 \color none
10172 one-fish
10173 \end_layout
10174
10175 \end_inset
10176 </cell>
10177 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Plain Layout
10181
10182 \family roman
10183 \series medium
10184 \shape up
10185 \size normal
10186 \emph off
10187 \bar no
10188 \noun off
10189 \color none
10190 two-fish
10191 \end_layout
10192
10193 \end_inset
10194 </cell>
10195 </row>
10196 <row>
10197 <cell alignment="center" valignment="top" topline="true" usebox="none">
10198 \begin_inset Text
10199
10200 \begin_layout Plain Layout
10201
10202 \family roman
10203 \series medium
10204 \shape up
10205 \size normal
10206 \emph off
10207 \bar no
10208 \noun off
10209 \color none
10210 red-fish
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Plain Layout
10219
10220 \family roman
10221 \series medium
10222 \shape up
10223 \size normal
10224 \emph off
10225 \bar no
10226 \noun off
10227 \color none
10228 blue-fish
10229 \end_layout
10230
10231 \end_inset
10232 </cell>
10233 </row>
10234 </lyxtabular>
10235
10236 \end_inset
10237
10238
10239 \end_layout
10240
10241 \end_deeper
10242 \begin_layout Verse
10243 (
10244 \begin_inset Info
10245 type  "shortcut"
10246 arg   "paragraph-break inverse"
10247 \end_inset
10248
10249
10250 \family sans
10251 , Table, 
10252 \family default
10253
10254 \begin_inset Info
10255 type  "shortcut"
10256 arg   "depth-increment"
10257 \end_inset
10258
10259  3 times, 
10260 \begin_inset Info
10261 type  "shortcut"
10262 arg   "paragraph-break inverse"
10263 \end_inset
10264
10265
10266 \family sans
10267 , Verse,
10268 \begin_inset Newline newline
10269 \end_inset
10270
10271
10272 \family default
10273
10274 \begin_inset Info
10275 type  "shortcut"
10276 arg   "depth-decrement"
10277 \end_inset
10278
10279 )
10280 \end_layout
10281
10282 \end_deeper
10283 \begin_layout Enumerate
10284 (
10285 \family sans
10286 Return, Enumerate
10287 \family default
10288 : level #1) This is another item.
10289  Note that selecting a 
10290 \family sans
10291 Table
10292 \family default
10293  resets the nesting depth to level #1, so we increased the nesting depth
10294  3 times to put the table inside the 
10295 \family sans
10296 Verse
10297 \family default
10298  environment.
10299  
10300 \end_layout
10301
10302 \begin_layout Quotation
10303 We're now ending the 
10304 \family sans
10305 Enumerate
10306 \family default
10307  list and changing to 
10308 \family sans
10309 Quotation
10310 \family default
10311 .
10312  We're still at level #1.
10313  We want to show you some of the things you can do by mixing environments.
10314  The next set of paragraphs is a 
10315 \begin_inset Quotes eld
10316 \end_inset
10317
10318 quoted letter.
10319 \begin_inset Quotes erd
10320 \end_inset
10321
10322  We will nest both the 
10323 \family sans
10324 Address
10325 \family default
10326  and 
10327 \family sans
10328 Right
10329 \begin_inset space ~
10330 \end_inset
10331
10332 Address
10333 \family default
10334  environments inside of this one, then use another nested 
10335 \family sans
10336 Quotation
10337 \family default
10338  for the letter body.
10339  We will use 
10340 \begin_inset Info
10341 type  "shortcut"
10342 arg   "paragraph-break inverse"
10343 \end_inset
10344
10345  to preserve the depth.
10346  Remember that you need to use 
10347 \begin_inset Info
10348 type  "shortcut"
10349 arg   "newline-insert newline"
10350 \end_inset
10351
10352  to create multiple lines inside the 
10353 \family sans
10354 Address
10355 \family default
10356  and 
10357 \family sans
10358 Right
10359 \begin_inset space ~
10360 \end_inset
10361
10362 Address
10363 \family default
10364  environments.
10365  Here it goes:
10366 \end_layout
10367
10368 \begin_deeper
10369 \begin_layout Right Address
10370 1234 Nowhere Rd.
10371 \begin_inset Newline newline
10372 \end_inset
10373
10374 Moosegroin, MT 00100
10375 \begin_inset Newline newline
10376 \end_inset
10377
10378 9-6-96
10379 \end_layout
10380
10381 \begin_layout Address
10382 Dear Mr.
10383 \begin_inset space ~
10384 \end_inset
10385
10386 Fizlewitz:
10387 \end_layout
10388
10389 \begin_layout Quotation
10390 We regret to inform you that we cannot fill your order for 50
10391 \begin_inset space \thinspace{}
10392 \end_inset
10393
10394 L of compressed methane gas due to circumstances beyond our control.
10395  Unfortunately, several of our cows have mysteriously exploded, creating
10396  a backlog in our orders for methane.
10397  We will place your name on the waiting list and try to fill your order
10398  as soon as possible.
10399  In the meantime, we thank you for your patience.
10400 \end_layout
10401
10402 \begin_layout Quotation
10403 We do, however, now have a special on beef.
10404  If you are interested, please return the enclosed pricing and order form
10405  with your order, along with payment.
10406 \end_layout
10407
10408 \begin_layout Quotation
10409 We thank you again for your patience.
10410 \end_layout
10411
10412 \begin_layout Address
10413 Sincerely,
10414 \begin_inset Newline newline
10415 \end_inset
10416
10417 Bill Hick
10418 \end_layout
10419
10420 \end_deeper
10421 \begin_layout Quotation
10422 That ends that example!
10423 \end_layout
10424
10425 \begin_layout Standard
10426 As you can see, nesting environments in \SpecialChar LyX
10427  gives you a lot of power with just
10428  a few keystrokes.
10429  We could have easily nested an 
10430 \family sans
10431 Itemize
10432 \family default
10433  list inside of a 
10434 \family sans
10435 Quotation
10436 \family default
10437  or 
10438 \family sans
10439 Quote
10440 \family default
10441 , or put a 
10442 \family sans
10443 Quote
10444 \family default
10445  inside of an 
10446 \family sans
10447 Itemize
10448 \family default
10449  list.
10450  You have a huge variety of options at your disposal.
10451 \end_layout
10452
10453 \begin_layout Subsection
10454 Separate Nestings
10455 \begin_inset Index idx
10456 status collapsed
10457
10458 \begin_layout Plain Layout
10459 Nesting ! Separation
10460 \end_layout
10461
10462 \end_inset
10463
10464
10465 \begin_inset CommandInset label
10466 LatexCommand label
10467 name "subsec:Separate-Nestings"
10468
10469 \end_inset
10470
10471
10472 \end_layout
10473
10474 \begin_layout Standard
10475 It is sometimes necessary to have two consecutive environments of the same
10476  type.
10477  For example you need two different enumerations:
10478 \end_layout
10479
10480 \begin_layout Enumerate
10481 Hello
10482 \end_layout
10483
10484 \begin_deeper
10485 \begin_layout Enumerate
10486 this is an
10487 \end_layout
10488
10489 \begin_deeper
10490 \begin_layout Enumerate
10491 enumeration
10492 \end_layout
10493
10494 \begin_layout Standard
10495 \begin_inset Separator plain
10496 \end_inset
10497
10498
10499 \end_layout
10500
10501 \begin_layout Itemize
10502 itemize list
10503 \end_layout
10504
10505 \end_deeper
10506 \end_deeper
10507 \begin_layout Standard
10508 \begin_inset Separator parbreak
10509 \end_inset
10510
10511
10512 \end_layout
10513
10514 \begin_layout Enumerate
10515 Hi
10516 \end_layout
10517
10518 \begin_layout Enumerate
10519 this is another
10520 \end_layout
10521
10522 \begin_layout Enumerate
10523 enumeration
10524 \end_layout
10525
10526 \begin_layout Standard
10527 To split an existing list into two lists, set the cursor at the end of a
10528  list item and use the menu 
10529 \family sans
10530 Insert\SpecialChar menuseparator
10531 Separated <Name> Above
10532 \family default
10533  or
10534 \family sans
10535  Insert\SpecialChar menuseparator
10536 Separated <Name> Below
10537 \family default
10538 .
10539  This inserts a plain separator (red line in \SpecialChar LyX
10540 ) and before or behind it the
10541  new list.
10542  Inside nested environments, it is also possible to split the outer environment.
10543 \end_layout
10544
10545 \begin_layout Standard
10546 By right-clicking on a separator one can change it into a paragraph separator
10547  (red arrow in LyX).
10548  The difference between both separator types is that the plain separator
10549  only splits the list and not the current paragraph.
10550 \end_layout
10551
10552 \begin_layout Standard
10553 In general, you get an environment separator when you press 
10554 \begin_inset Info
10555 type  "shortcut"
10556 arg   "paragraph-break"
10557 \end_inset
10558
10559  in a 
10560 \family sans
10561 Standard
10562 \family default
10563  environment immediately after a non-Standard one.
10564 \end_layout
10565
10566 \begin_layout Section
10567 Spacing, pagination and line breaks
10568 \begin_inset Index idx
10569 status collapsed
10570
10571 \begin_layout Plain Layout
10572 Spacing
10573 \end_layout
10574
10575 \end_inset
10576
10577
10578 \end_layout
10579
10580 \begin_layout Standard
10581 What is a space? While you might be used to pressing the space key anytime
10582  you want to separate two words in ordinary word processors, \SpecialChar LyX
10583  offers you
10584  more spaces: spaces of different widths and spaces which can or cannot
10585  be broken at the end of a line.
10586  The following sections will show you some examples where those spaces are
10587  useful.
10588 \end_layout
10589
10590 \begin_layout Subsection
10591 Protected Space
10592 \begin_inset CommandInset label
10593 LatexCommand label
10594 name "subsec:Protected-Space"
10595
10596 \end_inset
10597
10598
10599 \begin_inset Index idx
10600 status collapsed
10601
10602 \begin_layout Plain Layout
10603 Spaces ! Protected
10604 \end_layout
10605
10606 \end_inset
10607
10608
10609 \end_layout
10610
10611 \begin_layout Standard
10612 The protected space: It is used to tell \SpecialChar LyX
10613  (and \SpecialChar LaTeX
10614 ) not to break the line at
10615  that point.
10616  This may be necessary to avoid unlucky line breaks, like in: 
10617 \end_layout
10618
10619 \begin_layout Quote
10620 Further documentation is given in section
10621 \begin_inset Newline newline
10622 \end_inset
10623
10624
10625 \begin_inset CommandInset ref
10626 LatexCommand ref
10627 reference "sec:Bibliography"
10628
10629 \end_inset
10630
10631 .
10632  
10633 \end_layout
10634
10635 \begin_layout Standard
10636 Obviously, it would be a good thing to put a protected space between 
10637 \begin_inset Quotes eld
10638 \end_inset
10639
10640 section
10641 \begin_inset Quotes erd
10642 \end_inset
10643
10644  and 
10645 \begin_inset Quotes eld
10646 \end_inset
10647
10648
10649 \begin_inset CommandInset ref
10650 LatexCommand ref
10651 reference "sec:Bibliography"
10652
10653 \end_inset
10654
10655
10656 \begin_inset Quotes erd
10657 \end_inset
10658
10659 .
10660  A protected space is set with 
10661 \family sans
10662 Insert\SpecialChar menuseparator
10663 Formatting\SpecialChar menuseparator
10664 Protected
10665 \begin_inset space ~
10666 \end_inset
10667
10668 Space
10669 \family default
10670  (shortcut 
10671 \begin_inset Info
10672 type  "shortcut"
10673 arg   "command-alternatives math-space ; space-insert protected"
10674 \end_inset
10675
10676 ).
10677 \end_layout
10678
10679 \begin_layout Subsection
10680 Horizontal Space
10681 \begin_inset CommandInset label
10682 LatexCommand label
10683 name "subsec:Horizontal-Space"
10684
10685 \end_inset
10686
10687
10688 \begin_inset Index idx
10689 status collapsed
10690
10691 \begin_layout Plain Layout
10692 Spacing ! Horizontal
10693 \end_layout
10694
10695 \end_inset
10696
10697
10698 \end_layout
10699
10700 \begin_layout Standard
10701 All horizontal spaces can be inserted with the menu 
10702 \family sans
10703 Insert\SpecialChar menuseparator
10704 Formatting\SpecialChar menuseparator
10705 Horizontal Space
10706 \family default
10707 .
10708  The length units are listed in Appendix
10709 \begin_inset space ~
10710 \end_inset
10711
10712
10713 \begin_inset CommandInset ref
10714 LatexCommand ref
10715 reference "chap:Units-available-in"
10716
10717 \end_inset
10718
10719 .
10720 \end_layout
10721
10722 \begin_layout Subsubsection
10723 Inter-word Space
10724 \begin_inset CommandInset label
10725 LatexCommand label
10726 name "subsec:Inter-word-Space"
10727
10728 \end_inset
10729
10730
10731 \begin_inset Index idx
10732 status collapsed
10733
10734 \begin_layout Plain Layout
10735 Spaces ! Inter-word
10736 \end_layout
10737
10738 \end_inset
10739
10740
10741 \end_layout
10742
10743 \begin_layout Standard
10744 With the introduction of typewriters, it became conventional in some countries
10745  to type two spaces after a period to mimic the wider spaces used by typesetters
10746  at the ends of sentences.
10747  There is no need to do this as \SpecialChar LyX
10748  automatically takes care about this.
10749  However, you do not want an end of sentence space after an abbreviation
10750  followed by a period; see section
10751 \begin_inset space ~
10752 \end_inset
10753
10754
10755 \begin_inset CommandInset ref
10756 LatexCommand ref
10757 reference "subsec:Abbreviations"
10758
10759 \end_inset
10760
10761  for examples.
10762  To insert a normal space, select 
10763 \family sans
10764 Insert\SpecialChar menuseparator
10765 Formatting\SpecialChar menuseparator
10766 Interword
10767 \begin_inset space ~
10768 \end_inset
10769
10770 Space
10771 \family default
10772  (shortcut 
10773 \begin_inset Info
10774 type  "shortcut"
10775 arg   "space-insert normal"
10776 \end_inset
10777
10778 ).
10779 \end_layout
10780
10781 \begin_layout Subsubsection
10782 Thin Space
10783 \begin_inset CommandInset label
10784 LatexCommand label
10785 name "subsec:Thin-Space"
10786
10787 \end_inset
10788
10789
10790 \begin_inset Index idx
10791 status collapsed
10792
10793 \begin_layout Plain Layout
10794 Spaces ! Thin
10795 \end_layout
10796
10797 \end_inset
10798
10799
10800 \end_layout
10801
10802 \begin_layout Standard
10803
10804 \begin_inset Quotes eld
10805 \end_inset
10806
10807 thin space
10808 \begin_inset Quotes erd
10809 \end_inset
10810
10811  is a blank which has half the size of a normal space (and it is also 
10812 \begin_inset Quotes eld
10813 \end_inset
10814
10815 protected
10816 \begin_inset Quotes erd
10817 \end_inset
10818
10819 ).
10820  The typographical conventions in a lot of languages propose the use of
10821  thin spaces in cases where normal spaces would be too wide, for instance,
10822  inside abbreviations:
10823 \end_layout
10824
10825 \begin_layout Quote
10826 D.
10827 \begin_inset space \thinspace{}
10828 \end_inset
10829
10830 E.
10831  Knuth has developed our beloved typesetting program.
10832 \end_layout
10833
10834 \begin_layout Standard
10835 or between values and units.
10836  Compare for example this:
10837 \begin_inset Newline newline
10838 \end_inset
10839
10840 10
10841 \begin_inset space \thinspace{}
10842 \end_inset
10843
10844 kg (thin space)
10845 \begin_inset Newline newline
10846 \end_inset
10847
10848 10 kg (normal space
10849 \end_layout
10850
10851 \begin_layout Standard
10852 You can insert thin spaces with the menu 
10853 \family sans
10854 Insert\SpecialChar menuseparator
10855 Formatting\SpecialChar menuseparator
10856 Thin
10857 \begin_inset space ~
10858 \end_inset
10859
10860 Space
10861 \family default
10862  (shortcut 
10863 \begin_inset Info
10864 type  "shortcuts"
10865 arg   "space-insert thin"
10866 \end_inset
10867
10868 ).
10869 \end_layout
10870
10871 \begin_layout Subsubsection
10872 More Spaces
10873 \end_layout
10874
10875 \begin_layout Standard
10876 You can also insert the following space types:
10877 \end_layout
10878
10879 \begin_layout Description
10880 Negative
10881 \begin_inset space ~
10882 \end_inset
10883
10884 thin
10885 \begin_inset space ~
10886 \end_inset
10887
10888 space A line with a 
10889 \begin_inset Formula $\to$
10890 \end_inset
10891
10892
10893 \begin_inset space \negthinspace{}
10894 \end_inset
10895
10896
10897 \begin_inset Formula $\gets$
10898 \end_inset
10899
10900  negative thin space between the arrows.
10901 \end_layout
10902
10903 \begin_layout Description
10904 Negative
10905 \begin_inset space ~
10906 \end_inset
10907
10908 medium
10909 \begin_inset space ~
10910 \end_inset
10911
10912 space A line with a 
10913 \begin_inset Formula $\to$
10914 \end_inset
10915
10916
10917 \begin_inset space \negmedspace{}
10918 \end_inset
10919
10920
10921 \begin_inset Formula $\gets$
10922 \end_inset
10923
10924  negative medium space between the arrows.
10925 \end_layout
10926
10927 \begin_layout Description
10928 Negative
10929 \begin_inset space ~
10930 \end_inset
10931
10932 thick
10933 \begin_inset space ~
10934 \end_inset
10935
10936 space A line with a 
10937 \begin_inset Formula $\to$
10938 \end_inset
10939
10940
10941 \begin_inset space \negthickspace{}
10942 \end_inset
10943
10944
10945 \begin_inset Formula $\gets$
10946 \end_inset
10947
10948  negative thick space between the arrows.
10949 \end_layout
10950
10951 \begin_layout Description
10952 Enspace
10953 \begin_inset space ~
10954 \end_inset
10955
10956 (0.5
10957 \begin_inset space \thinspace{}
10958 \end_inset
10959
10960 em) A line with an 
10961 \begin_inset Formula $\to$
10962 \end_inset
10963
10964
10965 \begin_inset space \enskip{}
10966 \end_inset
10967
10968
10969 \begin_inset Formula $\gets$
10970 \end_inset
10971
10972  enspace
10973 \begin_inset space ~
10974 \end_inset
10975
10976 (0.5
10977 \begin_inset space \thinspace{}
10978 \end_inset
10979
10980 em) space between the arrows.
10981 \end_layout
10982
10983 \begin_layout Description
10984 Quad
10985 \begin_inset space ~
10986 \end_inset
10987
10988 (1
10989 \begin_inset space \thinspace{}
10990 \end_inset
10991
10992 em) A line with a 
10993 \begin_inset Formula $\to$
10994 \end_inset
10995
10996
10997 \begin_inset space \quad{}
10998 \end_inset
10999
11000
11001 \begin_inset Formula $\gets$
11002 \end_inset
11003
11004  Quad
11005 \begin_inset space ~
11006 \end_inset
11007
11008 (1
11009 \begin_inset space \thinspace{}
11010 \end_inset
11011
11012 em) space between the arrows.
11013 \end_layout
11014
11015 \begin_layout Description
11016 QQuad
11017 \begin_inset space ~
11018 \end_inset
11019
11020 (2
11021 \begin_inset space \thinspace{}
11022 \end_inset
11023
11024 em) A line with a 
11025 \begin_inset Formula $\to$
11026 \end_inset
11027
11028
11029 \begin_inset space \qquad{}
11030 \end_inset
11031
11032
11033 \begin_inset Formula $\gets$
11034 \end_inset
11035
11036  QQuad
11037 \begin_inset space ~
11038 \end_inset
11039
11040 (2
11041 \begin_inset space \thinspace{}
11042 \end_inset
11043
11044 em) space between the arrows.
11045 \end_layout
11046
11047 \begin_layout Description
11048 Custom
11049 \begin_inset space ~
11050 \end_inset
11051
11052 space A line with 
11053 \begin_inset Formula $\to$
11054 \end_inset
11055
11056
11057 \begin_inset space \hspace{}
11058 \length 2cm
11059 \end_inset
11060
11061
11062 \begin_inset Formula $\gets$
11063 \end_inset
11064
11065  2
11066 \begin_inset space \thinspace{}
11067 \end_inset
11068
11069 cm space between the arrows.
11070 \end_layout
11071
11072 \begin_layout Standard
11073 Table
11074 \begin_inset space ~
11075 \end_inset
11076
11077
11078 \begin_inset CommandInset ref
11079 LatexCommand ref
11080 reference "tab:Width-of-the"
11081
11082 \end_inset
11083
11084  lists the different space sizes.
11085 \end_layout
11086
11087 \begin_layout Standard
11088 \begin_inset Float table
11089 wide false
11090 sideways false
11091 status open
11092
11093 \begin_layout Plain Layout
11094 \begin_inset Caption Standard
11095
11096 \begin_layout Plain Layout
11097 \begin_inset CommandInset label
11098 LatexCommand label
11099 name "tab:Width-of-the"
11100
11101 \end_inset
11102
11103 Width of the different horizontal spaces.
11104 \end_layout
11105
11106 \end_inset
11107
11108
11109 \end_layout
11110
11111 \begin_layout Plain Layout
11112 \align center
11113 \begin_inset Tabular
11114 <lyxtabular version="3" rows="10" columns="2">
11115 <features tabularvalignment="middle">
11116 <column alignment="center" valignment="top">
11117 <column alignment="center" valignment="top">
11118 <row>
11119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11120 \begin_inset Text
11121
11122 \begin_layout Plain Layout
11123
11124 \series bold
11125 Space
11126 \end_layout
11127
11128 \end_inset
11129 </cell>
11130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11131 \begin_inset Text
11132
11133 \begin_layout Plain Layout
11134
11135 \series bold
11136 Width
11137 \end_layout
11138
11139 \end_inset
11140 </cell>
11141 </row>
11142 <row>
11143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11144 \begin_inset Text
11145
11146 \begin_layout Plain Layout
11147 Normal
11148 \end_layout
11149
11150 \end_inset
11151 </cell>
11152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11153 \begin_inset Text
11154
11155 \begin_layout Plain Layout
11156 1/3
11157 \begin_inset space \thinspace{}
11158 \end_inset
11159
11160 em
11161 \end_layout
11162
11163 \end_inset
11164 </cell>
11165 </row>
11166 <row>
11167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11168 \begin_inset Text
11169
11170 \begin_layout Plain Layout
11171 Protected
11172 \end_layout
11173
11174 \end_inset
11175 </cell>
11176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11177 \begin_inset Text
11178
11179 \begin_layout Plain Layout
11180 1/3
11181 \begin_inset space \thinspace{}
11182 \end_inset
11183
11184 em
11185 \end_layout
11186
11187 \end_inset
11188 </cell>
11189 </row>
11190 <row>
11191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11192 \begin_inset Text
11193
11194 \begin_layout Plain Layout
11195 Thin
11196 \end_layout
11197
11198 \end_inset
11199 </cell>
11200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11201 \begin_inset Text
11202
11203 \begin_layout Plain Layout
11204 1/6
11205 \begin_inset space \thinspace{}
11206 \end_inset
11207
11208 em
11209 \end_layout
11210
11211 \end_inset
11212 </cell>
11213 </row>
11214 <row>
11215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11216 \begin_inset Text
11217
11218 \begin_layout Plain Layout
11219 Negative thin
11220 \end_layout
11221
11222 \end_inset
11223 </cell>
11224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11225 \begin_inset Text
11226
11227 \begin_layout Plain Layout
11228 -1/6
11229 \begin_inset space \thinspace{}
11230 \end_inset
11231
11232 em
11233 \begin_inset Formula $\thinspace=\thinspace$
11234 \end_inset
11235
11236 -3
11237 \begin_inset space \thinspace{}
11238 \end_inset
11239
11240 mu
11241 \end_layout
11242
11243 \end_inset
11244 </cell>
11245 </row>
11246 <row>
11247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11248 \begin_inset Text
11249
11250 \begin_layout Plain Layout
11251 Negative medium
11252 \end_layout
11253
11254 \end_inset
11255 </cell>
11256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11257 \begin_inset Text
11258
11259 \begin_layout Plain Layout
11260 -4
11261 \begin_inset space \thinspace{}
11262 \end_inset
11263
11264 mu
11265 \end_layout
11266
11267 \end_inset
11268 </cell>
11269 </row>
11270 <row>
11271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11272 \begin_inset Text
11273
11274 \begin_layout Plain Layout
11275 Negative thick
11276 \end_layout
11277
11278 \end_inset
11279 </cell>
11280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11281 \begin_inset Text
11282
11283 \begin_layout Plain Layout
11284 -5
11285 \begin_inset space \thinspace{}
11286 \end_inset
11287
11288 mu
11289 \end_layout
11290
11291 \end_inset
11292 </cell>
11293 </row>
11294 <row>
11295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11296 \begin_inset Text
11297
11298 \begin_layout Plain Layout
11299 Enspace (0.5
11300 \begin_inset space \thinspace{}
11301 \end_inset
11302
11303 em)
11304 \end_layout
11305
11306 \end_inset
11307 </cell>
11308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11309 \begin_inset Text
11310
11311 \begin_layout Plain Layout
11312 0.5
11313 \begin_inset space \thinspace{}
11314 \end_inset
11315
11316 em
11317 \end_layout
11318
11319 \end_inset
11320 </cell>
11321 </row>
11322 <row>
11323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11324 \begin_inset Text
11325
11326 \begin_layout Plain Layout
11327 Quad (1
11328 \begin_inset space \thinspace{}
11329 \end_inset
11330
11331 em)
11332 \end_layout
11333
11334 \end_inset
11335 </cell>
11336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11337 \begin_inset Text
11338
11339 \begin_layout Plain Layout
11340 1
11341 \begin_inset space \thinspace{}
11342 \end_inset
11343
11344 em
11345 \end_layout
11346
11347 \end_inset
11348 </cell>
11349 </row>
11350 <row>
11351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11352 \begin_inset Text
11353
11354 \begin_layout Plain Layout
11355 QQuad (2
11356 \begin_inset space \thinspace{}
11357 \end_inset
11358
11359 em)
11360 \end_layout
11361
11362 \end_inset
11363 </cell>
11364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11365 \begin_inset Text
11366
11367 \begin_layout Plain Layout
11368 2
11369 \begin_inset space \thinspace{}
11370 \end_inset
11371
11372 em
11373 \end_layout
11374
11375 \end_inset
11376 </cell>
11377 </row>
11378 </lyxtabular>
11379
11380 \end_inset
11381
11382
11383 \end_layout
11384
11385 \end_inset
11386
11387
11388 \end_layout
11389
11390 \begin_layout Subsubsection
11391 Horizontal Fills
11392 \begin_inset Index idx
11393 status collapsed
11394
11395 \begin_layout Plain Layout
11396 Spacing ! Fills
11397 \end_layout
11398
11399 \end_inset
11400
11401
11402 \end_layout
11403
11404 \begin_layout Standard
11405 Horizontal fills (HFills) are a special \SpecialChar LyX
11406  feature for adding extra space
11407  in a uniform fashion.
11408  An HFill is actually a variable length space, whose length always equals
11409  the remaining space between the left and right margins.
11410  If there is more than one HFill on a line, they divide the available space
11411  equally between themselves.
11412 \end_layout
11413
11414 \begin_layout Standard
11415 Here are a few examples of what you can do with them:
11416 \end_layout
11417
11418 \begin_layout Quote
11419 \noindent
11420 This is on the left side
11421 \begin_inset space \hfill{}
11422 \end_inset
11423
11424 This is on the right
11425 \end_layout
11426
11427 \begin_layout Quote
11428 \noindent
11429 Left
11430 \begin_inset space \hfill{}
11431 \end_inset
11432
11433 Middle
11434 \begin_inset space \hfill{}
11435 \end_inset
11436
11437 Right
11438 \end_layout
11439
11440 \begin_layout Quote
11441 \noindent
11442 Left
11443 \begin_inset space \hfill{}
11444 \end_inset
11445
11446 1/3 Left
11447 \begin_inset space \hfill{}
11448 \end_inset
11449
11450
11451 \begin_inset space \hfill{}
11452 \end_inset
11453
11454 Right
11455 \end_layout
11456
11457 \begin_layout Standard
11458 That was an example in the 
11459 \family sans
11460 Quote
11461 \family default
11462  environment.
11463  Here
11464 \begin_inset Formula $\to$
11465 \end_inset
11466
11467
11468 \begin_inset space \hfill{}
11469 \end_inset
11470
11471
11472 \begin_inset Formula $\gets$
11473 \end_inset
11474
11475 is one in a standard paragraph.
11476  It may or may not be apparent in the printed text, but it 
11477 \emph on
11478 is
11479 \emph default
11480  sitting in-between the two arrows.
11481 \end_layout
11482
11483 \begin_layout Standard
11484 HFills can be made visible when you choose one of the 
11485 \family sans
11486 Fill
11487 \begin_inset space ~
11488 \end_inset
11489
11490 Pattern
11491 \family default
11492 s in the space dialog: The following patterns are available:
11493 \end_layout
11494
11495 \begin_layout Standard
11496 Dots: 
11497 \begin_inset space \dotfill{}
11498 \end_inset
11499
11500
11501 \begin_inset space ~
11502 \end_inset
11503
11504
11505 \end_layout
11506
11507 \begin_layout Standard
11508 Rule: 
11509 \begin_inset space \hrulefill{}
11510 \end_inset
11511
11512
11513 \begin_inset space ~
11514 \end_inset
11515
11516
11517 \end_layout
11518
11519 \begin_layout Standard
11520 Left arrow: 
11521 \begin_inset space \leftarrowfill{}
11522 \end_inset
11523
11524
11525 \begin_inset space ~
11526 \end_inset
11527
11528
11529 \end_layout
11530
11531 \begin_layout Standard
11532 Right arrow: 
11533 \begin_inset space \rightarrowfill{}
11534 \end_inset
11535
11536
11537 \begin_inset space ~
11538 \end_inset
11539
11540
11541 \end_layout
11542
11543 \begin_layout Standard
11544 Up brace: 
11545 \begin_inset space \downbracefill{}
11546 \end_inset
11547
11548
11549 \begin_inset space ~
11550 \end_inset
11551
11552
11553 \end_layout
11554
11555 \begin_layout Standard
11556 Down brace: 
11557 \begin_inset space \upbracefill{}
11558 \end_inset
11559
11560
11561 \begin_inset space ~
11562 \end_inset
11563
11564
11565 \end_layout
11566
11567 \begin_layout Standard
11568 \begin_inset Note Greyedout
11569 status open
11570
11571 \begin_layout Plain Layout
11572
11573 \series bold
11574 Note:
11575 \series default
11576  If an HFill is at the beginning of a line, and 
11577 \emph on
11578 not
11579 \emph default
11580  in the first line in a paragraph, \SpecialChar LyX
11581  ignores it.
11582  This prevents HFills from accidentally being wrapped onto a new line.
11583  If you need space in this case anyway, set the 
11584 \family sans
11585 Protect
11586 \family default
11587  option in the space dialog.
11588 \end_layout
11589
11590 \end_inset
11591
11592
11593 \end_layout
11594
11595 \begin_layout Subsubsection
11596 Phantom Space
11597 \begin_inset CommandInset label
11598 LatexCommand label
11599 name "subsec:Phantom-Space"
11600
11601 \end_inset
11602
11603
11604 \begin_inset Index idx
11605 status collapsed
11606
11607 \begin_layout Plain Layout
11608 Spacing ! Phantom
11609 \end_layout
11610
11611 \end_inset
11612
11613
11614 \end_layout
11615
11616 \begin_layout Standard
11617 Sometimes you want to insert space with exactly the length of a phrase.
11618  For example, you want to create the following multiple choice question:
11619 \end_layout
11620
11621 \begin_layout Standard
11622 \begin_inset VSpace medskip
11623 \end_inset
11624
11625 What is correct English?:
11626 \begin_inset Newline newline
11627 \end_inset
11628
11629
11630 \begin_inset Newline newline
11631 \end_inset
11632
11633 Mr.
11634 \begin_inset space ~
11635 \end_inset
11636
11637 Edge would have been jumps the gun.
11638 \begin_inset Newline newline
11639 \end_inset
11640
11641
11642 \begin_inset Phantom HPhantom
11643 status open
11644
11645 \begin_layout Plain Layout
11646 Mr.
11647  Edge 
11648 \end_layout
11649
11650 \end_inset
11651
11652 has to be jumped
11653 \begin_inset Newline newline
11654 \end_inset
11655
11656
11657 \begin_inset Phantom HPhantom
11658 status open
11659
11660 \begin_layout Plain Layout
11661 Mr.
11662  Edge 
11663 \end_layout
11664
11665 \end_inset
11666
11667 jumps
11668 \begin_inset VSpace medskip
11669 \end_inset
11670
11671
11672 \end_layout
11673
11674 \begin_layout Standard
11675 \noindent
11676 so that the choices appear exactly after the phrase 
11677 \begin_inset Quotes eld
11678 \end_inset
11679
11680 Mr.
11681 \begin_inset space ~
11682 \end_inset
11683
11684 Edge
11685 \begin_inset space ~
11686 \end_inset
11687
11688
11689 \begin_inset Quotes erd
11690 \end_inset
11691
11692 .
11693  To get this, you can use the phantom insets available via the menu 
11694 \family sans
11695 Insert\SpecialChar menuseparator
11696 Formatting\SpecialChar menuseparator
11697 Phantom
11698 \family default
11699 .
11700  In our case insert a horizontal phantom at the beginning of the last two
11701  lines and insert 
11702 \begin_inset Quotes eld
11703 \end_inset
11704
11705 Mr.
11706 \begin_inset space ~
11707 \end_inset
11708
11709 Edge
11710 \begin_inset space ~
11711 \end_inset
11712
11713
11714 \begin_inset Quotes erd
11715 \end_inset
11716
11717  into the phantom inset (note the space after 
11718 \begin_inset Quotes eld
11719 \end_inset
11720
11721 Edge
11722 \begin_inset Quotes erd
11723 \end_inset
11724
11725 ).
11726  A phantom insets prints only the space of its content (like a placeholder).
11727  That is why it is named 
11728 \begin_inset Quotes eld
11729 \end_inset
11730
11731 phantom
11732 \begin_inset Quotes erd
11733 \end_inset
11734
11735 .
11736  The normal phantom outputs the width and height of the content as space,
11737  while the horizontal and vertical variant only outputs the corresponding
11738  dimension.
11739 \end_layout
11740
11741 \begin_layout Subsection
11742 Vertical Space
11743 \begin_inset CommandInset label
11744 LatexCommand label
11745 name "subsec:Vertical-Space"
11746
11747 \end_inset
11748
11749
11750 \begin_inset Index idx
11751 status collapsed
11752
11753 \begin_layout Plain Layout
11754 Spacing ! Vertical
11755 \end_layout
11756
11757 \end_inset
11758
11759
11760 \end_layout
11761
11762 \begin_layout Standard
11763 To add extra vertical space above or below a paragraph, use the 
11764 \family sans
11765 Insert\SpecialChar menuseparator
11766 Formatting\SpecialChar menuseparator
11767 Vertical
11768 \begin_inset space ~
11769 \end_inset
11770
11771 Space
11772 \family default
11773  dialog.
11774  There you find the following sizes:
11775 \end_layout
11776
11777 \begin_layout Standard
11778
11779 \family sans
11780 SmallSkip
11781 \family default
11782
11783 \family sans
11784 MedSkip
11785 \family default
11786  and 
11787 \family sans
11788 BigSkip
11789 \family default
11790  are \SpecialChar LaTeX
11791  sizes which depend on the font size of the document.
11792  
11793 \family sans
11794 DefSkip
11795 \family default
11796  is the skip adjusted in the dialog 
11797 \family sans
11798 Document\SpecialChar menuseparator
11799 Settings\SpecialChar menuseparator
11800 Text
11801 \begin_inset space ~
11802 \end_inset
11803
11804 Layout
11805 \family default
11806
11807 \begin_inset Index idx
11808 status collapsed
11809
11810 \begin_layout Plain Layout
11811 Document ! Settings
11812 \end_layout
11813
11814 \end_inset
11815
11816  for the paragraph separation.
11817  If you use indentation to separate paragraphs 
11818 \family sans
11819 DefSkip
11820 \family default
11821  is equal to 
11822 \family sans
11823 MedSkip
11824 \family default
11825 .
11826 \end_layout
11827
11828 \begin_layout Standard
11829
11830 \family sans
11831 VFill
11832 \family default
11833
11834 \begin_inset Index idx
11835 status collapsed
11836
11837 \begin_layout Plain Layout
11838 Spacing ! Fills
11839 \end_layout
11840
11841 \end_inset
11842
11843  is a variable space, set so that the space is maximal within one page.
11844  An example: you have only two short paragraphs on one page with a 
11845 \family sans
11846 Vfill
11847 \family default
11848  between them.
11849  Then the first paragraph is placed at the top of the page and the second
11850  one at the bottom, because the space between them is then maximal.
11851  
11852 \family sans
11853 VFill
11854 \family default
11855 s work like 
11856 \family sans
11857 HFill
11858 \family default
11859 s: they fill the remaining vertical space on a page with blank space.
11860 \begin_inset Foot
11861 status collapsed
11862
11863 \begin_layout Plain Layout
11864
11865 \family sans
11866 HFill
11867 \family default
11868 s are described in section
11869 \begin_inset space ~
11870 \end_inset
11871
11872
11873 \begin_inset CommandInset ref
11874 LatexCommand ref
11875 reference "subsec:Horizontal-Space"
11876
11877 \end_inset
11878
11879 .
11880 \end_layout
11881
11882 \end_inset
11883
11884  If there are several 
11885 \family sans
11886 VFill
11887 \family default
11888 s on a page, they divide the remaining vertical space equally between themselves.
11889  You can therefore use 
11890 \family sans
11891 VFill
11892 \family default
11893 s to center text on a page, or even place text 2/3 down a page.
11894 \end_layout
11895
11896 \begin_layout Standard
11897
11898 \family sans
11899 Custom
11900 \family default
11901  are custom spaces in units explained in Appendix
11902 \begin_inset space ~
11903 \end_inset
11904
11905
11906 \begin_inset CommandInset ref
11907 LatexCommand ref
11908 reference "chap:Units-available-in"
11909
11910 \end_inset
11911
11912 .
11913 \end_layout
11914
11915 \begin_layout Standard
11916 \begin_inset Note Greyedout
11917 status open
11918
11919 \begin_layout Plain Layout
11920
11921 \series bold
11922 Note:
11923 \series default
11924  
11925 \series medium
11926 If the extra vertical space would be in the output at the top/bottom of
11927  a page, the space is only added if you have also checked the option 
11928 \family sans
11929 Protect
11930 \family default
11931 .
11932 \end_layout
11933
11934 \end_inset
11935
11936
11937 \end_layout
11938
11939 \begin_layout Subsection
11940 Paragraph Alignment
11941 \begin_inset Index idx
11942 status collapsed
11943
11944 \begin_layout Plain Layout
11945 Paragraph ! Alignment
11946 \end_layout
11947
11948 \end_inset
11949
11950
11951 \end_layout
11952
11953 \begin_layout Standard
11954 You can change the paragraph alignment with the 
11955 \family sans
11956 Edit\SpecialChar menuseparator
11957 Paragraph Settings
11958 \family default
11959  dialog (toolbar button 
11960 \begin_inset Info
11961 type  "icon"
11962 arg   "layout-paragraph"
11963 \end_inset
11964
11965 ).
11966  There are five possibilities: 
11967 \end_layout
11968
11969 \begin_layout Itemize
11970
11971 \family sans
11972 Justified
11973 \family default
11974  (shortcut 
11975 \begin_inset Info
11976 type  "shortcut"
11977 arg   "paragraph-params \\align block"
11978 \end_inset
11979
11980 )
11981 \end_layout
11982
11983 \begin_layout Itemize
11984
11985 \family sans
11986 Left
11987 \family default
11988  (
11989 \begin_inset Info
11990 type  "shortcut"
11991 arg   "paragraph-params \\align left"
11992 \end_inset
11993
11994 )
11995 \end_layout
11996
11997 \begin_layout Itemize
11998
11999 \family sans
12000 Right
12001 \family default
12002  (
12003 \begin_inset Info
12004 type  "shortcut"
12005 arg   "paragraph-params \\align right"
12006 \end_inset
12007
12008 )
12009 \end_layout
12010
12011 \begin_layout Itemize
12012
12013 \family sans
12014 Center
12015 \family default
12016  (
12017 \begin_inset Info
12018 type  "shortcut"
12019 arg   "paragraph-params \\align center"
12020 \end_inset
12021
12022 )
12023 \end_layout
12024
12025 \begin_layout Itemize
12026
12027 \family sans
12028 Default
12029 \family default
12030  (
12031 \begin_inset Info
12032 type  "shortcut"
12033 arg   "paragraph-params \\align default"
12034 \end_inset
12035
12036 )
12037 \end_layout
12038
12039 \begin_layout Standard
12040 The default in most cases is justified alignment, in which the inter-word
12041  spacing is variable and each line of a paragraph fills the region between
12042  the left and right margins.
12043  The other three alignments should be self-explanatory, and look like this:
12044 \end_layout
12045
12046 \begin_layout Standard
12047 \align right
12048 This paragraph is right aligned,
12049 \end_layout
12050
12051 \begin_layout Standard
12052 \align center
12053 this one is centered,
12054 \end_layout
12055
12056 \begin_layout Standard
12057 \align left
12058 this one is left aligned.
12059 \end_layout
12060
12061 \begin_layout Subsection
12062 Forced Page Breaks
12063 \begin_inset Index idx
12064 status collapsed
12065
12066 \begin_layout Plain Layout
12067 Page breaks ! Forced
12068 \end_layout
12069
12070 \end_inset
12071
12072
12073 \begin_inset CommandInset label
12074 LatexCommand label
12075 name "subsec:Forced-Page-Breaks"
12076
12077 \end_inset
12078
12079
12080 \end_layout
12081
12082 \begin_layout Standard
12083 If you don't like the way \SpecialChar LaTeX
12084  does the page breaks in your document, you can
12085  force a page break where you want one.
12086  Normally this will not be necessary, because \SpecialChar LaTeX
12087  is good at page breaking.
12088  Only if you use a lot of 
12089 \family sans
12090 Floats
12091 \family default
12092 , \SpecialChar LaTeX
12093 's page breaking algorithm can fail.
12094 \end_layout
12095
12096 \begin_layout Standard
12097 We recommend you not to use forced page breaks until the text is finished
12098  and you have checked in the preview to see if you 
12099 \emph on
12100 really
12101 \emph default
12102  have to change the page breaking.
12103 \end_layout
12104
12105 \begin_layout Standard
12106 There are two types of page breaks: One that ends the page without any special
12107  action.
12108  This can be inserted above or below a paragraph via the menu 
12109 \family sans
12110 Insert\SpecialChar menuseparator
12111 Formatting\SpecialChar menuseparator
12112 New
12113 \begin_inset space ~
12114 \end_inset
12115
12116 Page
12117 \family default
12118 .
12119  The second type, that is inserted via the menu 
12120 \family sans
12121 Insert\SpecialChar menuseparator
12122 Formatting\SpecialChar menuseparator
12123 Page
12124 \begin_inset space ~
12125 \end_inset
12126
12127 Break
12128 \family default
12129 , ends a page but stretches the content of the page, so that it fills out
12130  the complete page.
12131  This type is useful to avoid whitespace when a page break produces a page
12132  on which only the last few lines are absent.
12133 \end_layout
12134
12135 \begin_layout Standard
12136 You might try to use a page break to ensure that a figure or table appears
12137  at the top of a page.
12138  This is, of course, the wrong way to do it.
12139  \SpecialChar LyX
12140  gives you a way of automatically ensuring that your figures and tables
12141  appear at the top of a page (or the bottom, or on their own page) without
12142  having to worry about what precedes or follows your figure or table.
12143  See chapter 
12144 \begin_inset CommandInset ref
12145 LatexCommand ref
12146 reference "chap:Floats-and-Notes"
12147
12148 \end_inset
12149
12150  to learn more about 
12151 \family sans
12152 Floats
12153 \family default
12154 .
12155 \end_layout
12156
12157 \begin_layout Subsubsection
12158 Clear Page Breaks
12159 \begin_inset CommandInset label
12160 LatexCommand label
12161 name "subsec:Clear-Page-Breaks"
12162
12163 \end_inset
12164
12165
12166 \begin_inset Index idx
12167 status collapsed
12168
12169 \begin_layout Plain Layout
12170 Page breaks ! Clear
12171 \end_layout
12172
12173 \end_inset
12174
12175
12176 \end_layout
12177
12178 \begin_layout Standard
12179 Rather than forced page breaks where the content behind the break is placed
12180  directly on the next page, you can also clear pages while breaking them.
12181  That means that the current paragraph is terminated and everything, including
12182  unprocessed floats, from the earlier part of the document are placed after
12183  it, if necessary by adding pages.
12184 \end_layout
12185
12186 \begin_layout Standard
12187 You can insert a clear page break with the menu 
12188 \family sans
12189 Insert\SpecialChar menuseparator
12190 Formatting\SpecialChar menuseparator
12191 Clear
12192 \begin_inset space ~
12193 \end_inset
12194
12195 Page
12196 \family default
12197 .
12198  When you have a two-sided document like a book, you can use the menu 
12199 \family sans
12200 Insert\SpecialChar menuseparator
12201 Formatting\SpecialChar menuseparator
12202 Clear
12203 \begin_inset space ~
12204 \end_inset
12205
12206 Double
12207 \begin_inset space ~
12208 \end_inset
12209
12210 Page
12211 \family default
12212  to insert a clear page break that assures that the next page is a right-hand
12213  page (odd-numbered), if necessary by adding a page.
12214 \end_layout
12215
12216 \begin_layout Subsection
12217 Forced Line Breaks
12218 \begin_inset Index idx
12219 status collapsed
12220
12221 \begin_layout Plain Layout
12222 Line breaks
12223 \end_layout
12224
12225 \end_inset
12226
12227
12228 \begin_inset CommandInset label
12229 LatexCommand label
12230 name "subsec:Forced-Line-Breaks"
12231
12232 \end_inset
12233
12234
12235 \end_layout
12236
12237 \begin_layout Standard
12238 Similar to page breaks there are two types of line breaks: one simply breaks
12239  the line.
12240  You can force this line break within a paragraph by selecting 
12241 \family sans
12242 Insert\SpecialChar menuseparator
12243 Formatting\SpecialChar menuseparator
12244 Ragged
12245 \begin_inset space ~
12246 \end_inset
12247
12248 Line
12249 \begin_inset space ~
12250 \end_inset
12251
12252 Break
12253 \family default
12254  or with 
12255 \begin_inset Info
12256 type  "shortcut"
12257 arg   "newline-insert newline"
12258 \end_inset
12259
12260 .
12261  Another type that is inserted via the menu 
12262 \family sans
12263 Insert\SpecialChar menuseparator
12264 Formatting\SpecialChar menuseparator
12265 Justified
12266 \begin_inset space ~
12267 \end_inset
12268
12269 Line
12270 \begin_inset space ~
12271 \end_inset
12272
12273 Break
12274 \family default
12275  or with 
12276 \begin_inset Info
12277 type  "shortcut"
12278 arg   "newline-insert linebreak"
12279 \end_inset
12280
12281  breaks the line and stretches it so that it fills out the whole space between
12282  the page margins.
12283  This is useful to avoid 
12284 \begin_inset Quotes eld
12285 \end_inset
12286
12287 fringes
12288 \begin_inset Quotes erd
12289 \end_inset
12290
12291  in justified paragraphs due to possible whitespace introduced by line breaks.
12292 \end_layout
12293
12294 \begin_layout Standard
12295 You shouldn't use forced line breaks to correct \SpecialChar LaTeX
12296 's line breaking, as \SpecialChar LaTeX
12297  is
12298  very good at line breaking.
12299  There are, however, a number of situations where it is necessary to set
12300  a line break actively, for example, in a poem or for an address (see sections
12301 \begin_inset space ~
12302 \end_inset
12303
12304
12305 \begin_inset CommandInset ref
12306 LatexCommand ref
12307 reference "sec:Quote"
12308
12309 \end_inset
12310
12311
12312 \begin_inset CommandInset ref
12313 LatexCommand ref
12314 reference "sec:Verse"
12315
12316 \end_inset
12317
12318  and 
12319 \begin_inset CommandInset ref
12320 LatexCommand ref
12321 reference "sec:Address-Usage"
12322
12323 \end_inset
12324
12325 ).
12326 \end_layout
12327
12328 \begin_layout Subsection
12329 Horizontal Lines
12330 \begin_inset CommandInset label
12331 LatexCommand label
12332 name "subsec:Horizontal-Lines"
12333
12334 \end_inset
12335
12336
12337 \begin_inset Index idx
12338 status collapsed
12339
12340 \begin_layout Plain Layout
12341 Horizontal lines
12342 \end_layout
12343
12344 \end_inset
12345
12346
12347 \end_layout
12348
12349 \begin_layout Standard
12350 \noindent
12351 \begin_inset CommandInset line
12352 LatexCommand rule
12353 offset "0.5ex"
12354 width "100line%"
12355 height "1pt"
12356
12357 \end_inset
12358
12359
12360 \end_layout
12361
12362 \begin_layout Standard
12363 \noindent
12364 In the dialog 
12365 \family sans
12366 Insert\SpecialChar menuseparator
12367 Formatting\SpecialChar menuseparator
12368 Horizontal
12369 \begin_inset space ~
12370 \end_inset
12371
12372 Line
12373 \family default
12374  you can insert horizontal lines.
12375  The line offset is the vertical distance between the line and the baseline
12376  of the current text line or the paragraph.
12377  The line settings can be changed by left-clicking on the line.
12378 \end_layout
12379
12380 \begin_layout Standard
12381 \noindent
12382 \begin_inset CommandInset line
12383 LatexCommand rule
12384 offset "0.5ex"
12385 width "100line%"
12386 height "1pt"
12387
12388 \end_inset
12389
12390
12391 \end_layout
12392
12393 \begin_layout Section
12394 Characters and Symbols
12395 \end_layout
12396
12397 \begin_layout Standard
12398 You can directly enter all characters that are available on your keyboard.
12399  You can also use special keyboard maps to be able to enter, for example,
12400  characters needed for French with an English keyboard.
12401  See section
12402 \begin_inset space \thinspace{}
12403 \end_inset
12404
12405
12406 \begin_inset CommandInset ref
12407 LatexCommand ref
12408 reference "subsec:Keyboard-mapping"
12409
12410 \end_inset
12411
12412  for information on how this is done.
12413 \end_layout
12414
12415 \begin_layout Standard
12416 For the case where you need a character that is not on your keyboard, you
12417  can use the 
12418 \family sans
12419 Symbols
12420 \family default
12421  dialog via the menu 
12422 \family sans
12423 Insert\SpecialChar menuseparator
12424 Special Character\SpecialChar menuseparator
12425 Symbols
12426 \family default
12427 .
12428 \end_layout
12429
12430 \begin_layout Standard
12431 \begin_inset Note Greyedout
12432 status open
12433
12434 \begin_layout Plain Layout
12435
12436 \series bold
12437 Note:
12438 \series default
12439  Maybe not all symbols inserted with the symbols dialog can be displayed
12440  when you are using a special screen font in \SpecialChar LyX
12441 's preferences.
12442  But the inserted symbols will in every case be displayed in the output.
12443 \end_layout
12444
12445 \end_inset
12446
12447
12448 \end_layout
12449
12450 \begin_layout Section
12451 Fonts and Text Styles
12452 \begin_inset CommandInset label
12453 LatexCommand label
12454 name "sec:Fonts-and-Text"
12455
12456 \end_inset
12457
12458
12459 \end_layout
12460
12461 \begin_layout Subsection
12462 Font Types
12463 \begin_inset Index idx
12464 status collapsed
12465
12466 \begin_layout Plain Layout
12467 Font ! Types
12468 \end_layout
12469
12470 \end_inset
12471
12472
12473 \end_layout
12474
12475 \begin_layout Standard
12476 There are two types of fonts:
12477 \end_layout
12478
12479 \begin_layout Description
12480 Vector
12481 \begin_inset space ~
12482 \end_inset
12483
12484 fonts
12485 \begin_inset Index idx
12486 status collapsed
12487
12488 \begin_layout Plain Layout
12489 Fonts ! Vector-
12490 \end_layout
12491
12492 \end_inset
12493
12494  are built from outlines of the single glyphs (e.
12495 \begin_inset space \thinspace{}
12496 \end_inset
12497
12498 g.
12499  characters) in the font.
12500  This means that each glyph is defined using mathematical curves that are
12501  well suited for scaling to any requested size.
12502  This mathematical definition is interpreted by the font renderer and the
12503  curve is filled out with pixels according to the size and glyph.
12504  This means that vector fonts will look pretty good in all sizes.
12505  Only at very small sizes where each pixel has to be very carefully computed
12506  to provide a good image might it be hard to provide a good rendering.
12507 \begin_inset Newline newline
12508 \end_inset
12509
12510 That could mean that one only needs to define one font size and scale them.
12511  But to achieve a better quality, many fonts define several font sizes.
12512  That improves the appearance because you need more details at large font
12513  sizes than at small ones.
12514 \begin_inset Newline newline
12515 \end_inset
12516
12517 The font types 
12518 \family typewriter
12519 TrueType
12520 \family default
12521
12522 \family typewriter
12523 OpenType
12524 \family default
12525 , and 
12526 \family typewriter
12527 Type
12528 \begin_inset space ~
12529 \end_inset
12530
12531 1
12532 \family default
12533  are vector fonts.
12534 \end_layout
12535
12536 \begin_layout Description
12537 Bitmap
12538 \begin_inset space ~
12539 \end_inset
12540
12541 fonts
12542 \begin_inset Index idx
12543 status collapsed
12544
12545 \begin_layout Plain Layout
12546 Fonts ! Bitmap-
12547 \end_layout
12548
12549 \end_inset
12550
12551  on the other hand, are defined by bitmap graphics from the start; so they
12552  will look good at all the sizes they are meant for.
12553  However, they don't scale well, because in order to scale a glyph, each
12554  pixel is enlarged into several pixels.
12555  It is the same effect that happens if you try to enlarge a picture in an
12556  image manipulation program.
12557  In order to mitigate this effect, bitmap fonts are typically provided in
12558  several fixed sizes typically from around 8
12559 \begin_inset space ~
12560 \end_inset
12561
12562 pixels high up to 34
12563 \begin_inset space ~
12564 \end_inset
12565
12566 pixels or so high in steps according to what is believed to be useful.
12567  The advantage of bitmap fonts is that no complicated computations are necessary
12568  to display each glyph; so bitmap fonts display therefore more quickly than
12569  scalable fonts.
12570  The disadvantage is that sizes that don't exist as fixed versions have
12571  to be scaled by doubling pixels, and thus look bad.
12572 \begin_inset Newline newline
12573 \end_inset
12574
12575 Bitmap fonts are named 
12576 \family typewriter
12577 Type
12578 \begin_inset space ~
12579 \end_inset
12580
12581 3
12582 \family default
12583  in PostScript- and PDF-documents.
12584 \end_layout
12585
12586 \begin_layout Standard
12587 The result of all this is that bitmap fonts are best for the size they are
12588  designed for, while scalable fonts are good for nearly all sizes.
12589  So one needs fewer font size definitions for scalable fonts.
12590  That's the reason why nearly all text rendering and typesetting programs
12591  use scalable fonts.
12592 \end_layout
12593
12594 \begin_layout Standard
12595 To see which fonts are used in a PDF-document, look at its document properties.
12596 \end_layout
12597
12598 \begin_layout Standard
12599 Many modern typesetting and markup languages have begun to move towards
12600  specifying character styles rather than specifying a particular font.
12601  For example, instead of changing to an italicized version of the current
12602  font to emphasize text, you use an 
12603 \begin_inset Quotes eld
12604 \end_inset
12605
12606 emphasized style
12607 \begin_inset Quotes erd
12608 \end_inset
12609
12610  instead.
12611  This concept fits in perfectly with \SpecialChar LyX
12612 .
12613  In \SpecialChar LyX
12614 , you do things based on contexts, rather than focusing on typesetting
12615  details.
12616 \end_layout
12617
12618 \begin_layout Subsection
12619 \SpecialChar LaTeX
12620  font support
12621 \begin_inset CommandInset label
12622 LatexCommand label
12623 name "subsec:LaTeX-font-support"
12624
12625 \end_inset
12626
12627
12628 \end_layout
12629
12630 \begin_layout Standard
12631 Traditionally, \SpecialChar LaTeX
12632  used its own fonts.
12633  That is to say, you cannot directly access the fonts installed on your
12634  operating system, but you have to use specific fonts provided by your \SpecialChar LaTeX
12635
12636  distribution.
12637  The reason is that \SpecialChar LaTeX
12638  needs some extra information about the fonts, which
12639  have to be provided by additional files and packages.
12640  The downside of this is that your font choice is somewhat limited compared
12641  to a word processor.
12642  On the other hand this comes with the advantage that the provided fonts
12643  are generally of very good quality, and that \SpecialChar LaTeX
12644  files are very portable across
12645  different machines.
12646  Also, the range of fonts supported by traditional \SpecialChar LaTeX
12647  has increased a lot
12648  in the meantime; so you can find packages for many free and commercial
12649  fonts.
12650  \SpecialChar LyX
12651  supports the fonts that are under a free license via the user interface
12652  (see section
12653 \begin_inset space ~
12654 \end_inset
12655
12656
12657 \begin_inset CommandInset ref
12658 LatexCommand ref
12659 reference "subsec:Document-Font"
12660
12661 \end_inset
12662
12663  for details).
12664  Other fonts are available if you enter the relevant \SpecialChar LaTeX
12665  code in the document
12666  preamble (please refer to the documentation of your desired font).
12667 \end_layout
12668
12669 \begin_layout Standard
12670 Recent developments brought some new \SpecialChar LaTeX
12671  engines that are also able directly
12672  to access fonts that are installed for your operating system, namely Xe\SpecialChar TeX
12673
12674  and Lua\SpecialChar TeX
12675 .
12676  Both engines are supported by \SpecialChar LyX
12677 .
12678  By using them, you can theoretically use any OpenType or TrueType font
12679  that is installed on your system.
12680  The next section describes how to use these fonts.
12681 \end_layout
12682
12683 \begin_layout Standard
12684 \begin_inset Note Greyedout
12685 status open
12686
12687 \begin_layout Plain Layout
12688
12689 \series bold
12690 Note:
12691 \series default
12692  In practice, some fonts might fail due to a legacy (non Unicode) font encoding,
12693  bad metrics, or other font deficiencies; so you might have to experiment.
12694 \end_layout
12695
12696 \end_inset
12697
12698
12699 \end_layout
12700
12701 \begin_layout Subsection
12702 Document Font and Font size
12703 \begin_inset CommandInset label
12704 LatexCommand label
12705 name "subsec:Document-Font"
12706
12707 \end_inset
12708
12709
12710 \begin_inset Index idx
12711 status collapsed
12712
12713 \begin_layout Plain Layout
12714 Font ! Size
12715 \end_layout
12716
12717 \end_inset
12718
12719
12720 \begin_inset Index idx
12721 status collapsed
12722
12723 \begin_layout Plain Layout
12724 Document ! Font
12725 \end_layout
12726
12727 \end_inset
12728
12729
12730 \end_layout
12731
12732 \begin_layout Standard
12733 You can set the document fonts in the 
12734 \family sans
12735 Document\SpecialChar menuseparator
12736 Settings
12737 \family default
12738
12739 \begin_inset Index idx
12740 status collapsed
12741
12742 \begin_layout Plain Layout
12743 Document ! Settings
12744 \end_layout
12745
12746 \end_inset
12747
12748  dialog.
12749  In the 
12750 \family sans
12751 Fonts
12752 \family default
12753  section of the dialog, you can specify which font should be used for the
12754  three different font shapes — roman (serif), 
12755 \family sans
12756 sans
12757 \begin_inset space ~
12758 \end_inset
12759
12760 serif
12761 \family default
12762  and 
12763 \family typewriter
12764 typewriter
12765 \family default
12766  (monospaced) — and you can specify the base font size and scaling factors
12767  for (some) sans
12768 \begin_inset space ~
12769 \end_inset
12770
12771 serif and typewriter fonts if this is necessary to fit with the roman font.
12772 \end_layout
12773
12774 \begin_layout Standard
12775 If you select 
12776 \family sans
12777 Use non-TeX fonts
12778 \family default
12779 , you will have access to the fonts installed on your operating system.
12780  This requires that you use 
12781 \family sans
12782 PDF (XeTeX)
12783 \family default
12784
12785 \family sans
12786 PDF (LuaTeX)
12787 \family default
12788  or 
12789 \family sans
12790 DVI (LuaTeX)
12791 \family default
12792  as the output format, i.
12793 \begin_inset space \thinspace{}
12794 \end_inset
12795
12796 e.
12797 \begin_inset space \space{}
12798 \end_inset
12799
12800 you will have to have either Xe\SpecialChar TeX
12801  or Lua\SpecialChar TeX
12802  installed (see section
12803 \begin_inset space ~
12804 \end_inset
12805
12806
12807 \begin_inset CommandInset ref
12808 LatexCommand ref
12809 reference "subsec:LaTeX-font-support"
12810
12811 \end_inset
12812
12813 ).
12814  You will then not have access to \SpecialChar TeX
12815 's own fonts.
12816  Note that \SpecialChar LyX
12817  then lists all available fonts in each of the three lists (roman,
12818  sans
12819 \begin_inset space ~
12820 \end_inset
12821
12822 serif, and typewriter), since \SpecialChar LyX
12823  cannot determine the family.
12824  Also note that the output might fail with some of the listed fonts, due
12825  to the encoding of the fonts and\SpecialChar breakableslash
12826 or font failures.
12827  \SpecialChar LyX
12828  cannot determine this in advance, so you might need to experiment.
12829 \end_layout
12830
12831 \begin_layout Standard
12832 If you use \SpecialChar TeX
12833  fonts (which is the default), the possible options for the font
12834  include 
12835 \family sans
12836 Default
12837 \family default
12838  and a list of fonts available with your \SpecialChar LaTeX
12839  distribution.
12840  If you select 
12841 \family sans
12842 Default,
12843 \family default
12844  the font that is preset by the current document class is used.
12845  With LyX's default font encoding, this is a look-alike of the standard
12846  \SpecialChar TeX
12847  font 
12848 \begin_inset Quotes eld
12849 \end_inset
12850
12851
12852 \family typewriter
12853 Computer
12854 \begin_inset space ~
12855 \end_inset
12856
12857 Modern
12858 \family default
12859
12860 \begin_inset Quotes erd
12861 \end_inset
12862
12863  (
12864 \family typewriter
12865 cm
12866 \family default
12867 ): either 
12868 \begin_inset Quotes eld
12869 \end_inset
12870
12871
12872 \family typewriter
12873 cm-super
12874 \family default
12875
12876 \begin_inset Quotes erd
12877 \end_inset
12878
12879  or the bitmap font 
12880 \begin_inset Quotes eld
12881 \end_inset
12882
12883
12884 \family typewriter
12885 European Computer Modern
12886 \family default
12887
12888 \begin_inset Quotes erd
12889 \end_inset
12890
12891  (
12892 \family typewriter
12893 ec
12894 \family default
12895 ).
12896  However, some classes set different default fonts.
12897 \end_layout
12898
12899 \begin_layout Standard
12900 As 
12901 \family typewriter
12902 ec
12903 \family default
12904  is a bitmap font, it looks pixelated in PDF output, especially when you
12905  read the PDF in a zoomed size.
12906 \begin_inset Foot
12907 status collapsed
12908
12909 \begin_layout Plain Layout
12910 This problem is less severe if you read PDFs in 
12911 \family typewriter
12912 Adobe
12913 \begin_inset space ~
12914 \end_inset
12915
12916 Reader
12917 \family default
12918  version 6 or later, because this program includes a special bitmap font
12919  renderer.
12920 \end_layout
12921
12922 \end_inset
12923
12924  To get rid of pixelated fonts, you have to use a vector font.
12925  Depending on how your document should look, you can either:
12926 \end_layout
12927
12928 \begin_layout Itemize
12929 select the 
12930 \family sans
12931 Latin
12932 \begin_inset space ~
12933 \end_inset
12934
12935 Modern
12936 \family default
12937  fonts, which is the recommended choice if you want to keep the look of
12938  
12939 \family typewriter
12940 cm
12941 \family default
12942 /
12943 \family typewriter
12944 ec
12945 \family default
12946 .
12947  
12948 \family sans
12949 Latin
12950 \begin_inset space ~
12951 \end_inset
12952
12953 Modern
12954 \family default
12955  was developed for the \SpecialChar LaTeX
12956  community in order to replace 
12957 \family typewriter
12958 cm
12959 \family default
12960  as the default font.
12961  It covers a huge range of glyphs and several font shapes.
12962  Except for some details, where the appearance was improved, 
12963 \family sans
12964 Latin
12965 \begin_inset space ~
12966 \end_inset
12967
12968 Modern
12969 \family default
12970  looks identical to 
12971 \family typewriter
12972 cm
12973 \family default
12974 .
12975 \begin_inset Foot
12976 status collapsed
12977
12978 \begin_layout Plain Layout
12979 One difference is improved kerning.
12980 \end_layout
12981
12982 \end_inset
12983
12984
12985 \end_layout
12986
12987 \begin_layout Itemize
12988 If you do not like the look of 
12989 \family typewriter
12990 cm
12991 \family default
12992 /
12993 \family typewriter
12994 ec
12995 \family default
12996 , you can of course select one of the other vector fonts provided, e.
12997 \begin_inset space \thinspace{}
12998 \end_inset
12999
13000 g.
13001 \begin_inset space ~
13002 \end_inset
13003
13004
13005 \family typewriter
13006 Times
13007 \begin_inset space ~
13008 \end_inset
13009
13010 Roman
13011 \family default
13012  or
13013 \family typewriter
13014  Palatino
13015 \family default
13016 .
13017  Most roman vector fonts will automatically select matching sans
13018 \begin_inset space ~
13019 \end_inset
13020
13021 serif and typewriter fonts,
13022 \begin_inset Foot
13023 status collapsed
13024
13025 \begin_layout Plain Layout
13026 These are sometimes just matching other fonts (e.
13027 \begin_inset space \thinspace{}
13028 \end_inset
13029
13030 g., 
13031 \family sans
13032 Times
13033 \begin_inset space ~
13034 \end_inset
13035
13036 Roman
13037 \family default
13038  selects 
13039 \family sans
13040 Helvetica
13041 \family default
13042  for sans serif text), or different shapes of the same font, i.
13043 \begin_inset space \thinspace{}
13044 \end_inset
13045
13046 e.
13047 \begin_inset space \space{}
13048 \end_inset
13049
13050 a real font 
13051 \emph on
13052 family
13053 \emph default
13054  (e.
13055 \begin_inset space \thinspace{}
13056 \end_inset
13057
13058 g.
13059 \begin_inset space \space{}
13060 \end_inset
13061
13062 in case of 
13063 \family sans
13064 Latin
13065 \begin_inset space ~
13066 \end_inset
13067
13068 Modern
13069 \family default
13070  oder 
13071 \family sans
13072 Computer
13073 \begin_inset space ~
13074 \end_inset
13075
13076 Modern
13077 \family default
13078 ).
13079 \end_layout
13080
13081 \end_inset
13082
13083  but you can also select your own.
13084 \begin_inset Newline newline
13085 \end_inset
13086
13087 The differences between roman, 
13088 \family sans
13089 sans
13090 \begin_inset space ~
13091 \end_inset
13092
13093 serif
13094 \family default
13095  and 
13096 \family typewriter
13097 typewriter
13098 \family default
13099  fonts are explained in section
13100 \begin_inset space ~
13101 \end_inset
13102
13103
13104 \begin_inset CommandInset ref
13105 LatexCommand ref
13106 reference "subsec:Fine-Tuning-with-the"
13107
13108 \end_inset
13109
13110 .
13111 \begin_inset Newline newline
13112 \end_inset
13113
13114 The font 
13115 \family sans
13116 Times
13117 \begin_inset space ~
13118 \end_inset
13119
13120 Roman
13121 \family default
13122  was originally designed for newspapers.
13123  Its glyphs are thus smaller than glyphs from other fonts in order to fit
13124  into the small newspaper columns.
13125  Therefore 
13126 \family sans
13127 Times
13128 \begin_inset space ~
13129 \end_inset
13130
13131 Roman
13132 \family default
13133  is not the optimal choice for larger documents like books.
13134 \end_layout
13135
13136 \begin_layout Standard
13137 For the font size there are generally four possible values: 
13138 \family sans
13139 Default, 10
13140 \family default
13141
13142 \family sans
13143 11
13144 \family default
13145  and 
13146 \family sans
13147 12
13148 \family default
13149 .
13150  Some classes provide additional sizes.
13151  The size of 
13152 \family sans
13153 Default
13154 \family default
13155  depends on the class you are using.
13156  In the standard classes it is equal to the font size 10.
13157 \end_layout
13158
13159 \begin_layout Standard
13160 Note that the font size is the 
13161 \emph on
13162 base size
13163 \emph default
13164 .
13165  That means that \SpecialChar LyX
13166  scales all other possible font sizes (such as those used
13167  in footnotes, super-, and subscripts) by this value.
13168  You can fine-tune the font size of text parts via the 
13169 \family sans
13170 Text
13171 \begin_inset space ~
13172 \end_inset
13173
13174 Style
13175 \family default
13176  dialog if needed.
13177  The possible font sizes for text parts are explained in section
13178 \begin_inset space ~
13179 \end_inset
13180
13181
13182 \begin_inset CommandInset ref
13183 LatexCommand ref
13184 reference "subsec:Fine-Tuning-with-the"
13185
13186 \end_inset
13187
13188 .
13189 \end_layout
13190
13191 \begin_layout Standard
13192 The 
13193 \family sans
13194 Default
13195 \begin_inset space ~
13196 \end_inset
13197
13198 Family
13199 \family default
13200  selection lets you specify whether the base font of your document should
13201  be roman, sans
13202 \begin_inset space ~
13203 \end_inset
13204
13205 serif or typewriter.
13206  The 
13207 \family sans
13208 Default
13209 \family default
13210  selection uses what is preset by the class, the other selections override
13211  this.
13212  In most cases, 
13213 \family sans
13214 Default
13215 \family default
13216  is equal to 
13217 \family sans
13218 roman
13219 \family default
13220 , but some classes (such as presentation classes) use other defaults.
13221 \end_layout
13222
13223 \begin_layout Standard
13224 The
13225 \family typewriter
13226  
13227 \family sans
13228 LaTeX font encoding
13229 \family default
13230  selection is an expert setting which lets you change the value passed to
13231  the \SpecialChar LaTeX
13232 -package 
13233 \series bold
13234 fontenc
13235 \series default
13236
13237 \begin_inset Index idx
13238 status collapsed
13239
13240 \begin_layout Plain Layout
13241 \SpecialChar LaTeX
13242  packages ! fontenc
13243 \end_layout
13244
13245 \end_inset
13246
13247  (see also section
13248 \begin_inset space ~
13249 \end_inset
13250
13251
13252 \begin_inset CommandInset ref
13253 LatexCommand ref
13254 reference "subsec:LaTeX-settings"
13255
13256 \end_inset
13257
13258 ).
13259  Normally, you do not need to change (or even understand) this.
13260  Unless you have specific reasons, use 
13261 \family sans
13262 Default
13263 \family default
13264 .
13265 \end_layout
13266
13267 \begin_layout Standard
13268 With some fonts, the checkboxes 
13269 \family sans
13270 Use Old Style Figures
13271 \family default
13272  and 
13273 \family sans
13274 Use True Small Caps
13275 \family default
13276  are available.
13277  These are extra features some fonts provide.
13278  If 
13279 \family sans
13280 Use Old Style Figures
13281 \family default
13282  is checked, old style figures (also known as medieval or text figures)
13283  are used.
13284  Old style figures are the numerals (0
13285 \begin_inset space \thinspace{}
13286 \end_inset
13287
13288
13289 \begin_inset space \thinspace{}
13290 \end_inset
13291
13292 9) with ascenders and descenders, which makes them fit nicely with lowercase
13293  letters.
13294  
13295 \family sans
13296 Use True Small Caps
13297 \family default
13298  determines that real small caps are used instead of faked small caps made
13299  of scaled capitals.
13300  Real small caps are often part of expert font sets; they generally look
13301  better than faked small caps but might have to be purchased separately.
13302 \end_layout
13303
13304 \begin_layout Standard
13305 The field 
13306 \family sans
13307 CJK
13308 \family default
13309  allows users of the languages Chinese, Japanese, Korean (CJK) to specify
13310  a font to display the script characters.
13311 \begin_inset Foot
13312 status collapsed
13313
13314 \begin_layout Plain Layout
13315 The font will be the argument for the commands of the \SpecialChar LaTeX
13316 -package 
13317 \series bold
13318 CJK
13319 \series default
13320 .
13321 \begin_inset Index idx
13322 status collapsed
13323
13324 \begin_layout Plain Layout
13325 \SpecialChar LaTeX
13326  packages ! CJK
13327 \end_layout
13328
13329 \end_inset
13330
13331  So this has no effect for the document language 
13332 \family sans
13333 Japanese
13334 \family default
13335  that does not use 
13336 \series bold
13337 CJK
13338 \series default
13339 .
13340 \end_layout
13341
13342 \end_inset
13343
13344
13345 \end_layout
13346
13347 \begin_layout Standard
13348 The option 
13349 \family sans
13350 Enable micro-typographic extensions
13351 \family default
13352  activates extensions such as character protrusion and font expansion via
13353  the \SpecialChar LaTeX
13354 -package 
13355 \series bold
13356 microtype
13357 \series default
13358
13359 \begin_inset Index idx
13360 status collapsed
13361
13362 \begin_layout Plain Layout
13363 \SpecialChar LaTeX
13364  packages ! microtype
13365 \end_layout
13366
13367 \end_inset
13368
13369 .
13370  
13371 \end_layout
13372
13373 \begin_layout Standard
13374 The option 
13375 \family sans
13376 Disallow line breaks after dashes
13377 \family default
13378  outputs en- and em-dashes as literal characters
13379 \begin_inset Foot
13380 status collapsed
13381
13382 \begin_layout Plain Layout
13383 Or \SpecialChar LaTeX
13384  macro, if the literal character is not supported by the \SpecialChar LaTeX
13385  input encoding.
13386 \end_layout
13387
13388 \end_inset
13389
13390  instead of ligatures (--, ---) (see section
13391 \begin_inset space ~
13392 \end_inset
13393
13394
13395 \begin_inset CommandInset ref
13396 LatexCommand ref
13397 reference "subsec:Dashes-and-line-breaks"
13398 plural "false"
13399 caps "false"
13400 noprefix "false"
13401
13402 \end_inset
13403
13404 ).
13405 \end_layout
13406
13407 \begin_layout Standard
13408 \begin_inset VSpace bigskip
13409 \end_inset
13410
13411
13412 \begin_inset Note Greyedout
13413 status open
13414
13415 \begin_layout Plain Layout
13416
13417 \series bold
13418 Note:
13419 \series default
13420  When you choose a new font or font size, \SpecialChar LyX
13421  does 
13422 \emph on
13423 not
13424 \emph default
13425  change the screen font! You will only see a difference in the printed output;
13426  this is part of the WYSIWYM concept.
13427  \SpecialChar LyX
13428 's screen fonts can be adjusted in the 
13429 \family sans
13430 Tools\SpecialChar menuseparator
13431 Preferences
13432 \family default
13433  dialog, see section
13434 \begin_inset space ~
13435 \end_inset
13436
13437
13438 \begin_inset CommandInset ref
13439 LatexCommand ref
13440 reference "subsec:Screen-Fonts"
13441
13442 \end_inset
13443
13444 .
13445 \end_layout
13446
13447 \end_inset
13448
13449
13450 \end_layout
13451
13452 \begin_layout Subsection
13453 Math Fonts
13454 \end_layout
13455
13456 \begin_layout Standard
13457 In \SpecialChar LaTeX
13458  the font used for characters in equations is different from the document
13459  font.
13460  For the case that you use \SpecialChar TeX
13461  fonts for your document, you can explicitly
13462  choose a math font in the dialog 
13463 \family sans
13464 Document\SpecialChar menuseparator
13465 Settings
13466 \family default
13467
13468 \begin_inset Index idx
13469 status collapsed
13470
13471 \begin_layout Plain Layout
13472 Document ! Settings
13473 \end_layout
13474
13475 \end_inset
13476
13477 .
13478  The default setting is that \SpecialChar LyX
13479  automatically selects a math font.
13480  For most cases this will be \SpecialChar LaTeX
13481 's default – the math variant of \SpecialChar LaTeX
13482 's default
13483  font family 
13484 \begin_inset Quotes eld
13485 \end_inset
13486
13487
13488 \family typewriter
13489 Computer
13490 \begin_inset space ~
13491 \end_inset
13492
13493 Modern
13494 \family default
13495
13496 \begin_inset Quotes erd
13497 \end_inset
13498
13499 .
13500  \SpecialChar LyX
13501  will automatically only load another math font if a math variant of the
13502  document font is available.
13503 \end_layout
13504
13505 \begin_layout Standard
13506 Note that the math font will not be used for 
13507 \emph on
13508 mathematical text
13509 \emph default
13510  (which is inserted with the shortcut 
13511 \begin_inset Info
13512 type  "shortcut"
13513 arg   "font-default"
13514 \end_inset
13515
13516  or by the insertion of the command 
13517 \series bold
13518
13519 \backslash
13520 text
13521 \series default
13522  into a formula).
13523  Also note that some math fonts are sans
13524 \begin_inset space ~
13525 \end_inset
13526
13527 serif.
13528  Your document might therefore look strange when the document text has serifs
13529  while the math characters do not.
13530  Sans
13531 \begin_inset space ~
13532 \end_inset
13533
13534 serif math fonts make therefore in most cases only sense if you select 
13535 \family sans
13536 Sans
13537 \begin_inset space ~
13538 \end_inset
13539
13540 Serif
13541 \family default
13542  for the 
13543 \family sans
13544 Default
13545 \begin_inset space ~
13546 \end_inset
13547
13548 family
13549 \family default
13550  in the document font settings.
13551 \end_layout
13552
13553 \begin_layout Standard
13554 If you use non-\SpecialChar TeX
13555  fonts for the document, you can only choose for math to
13556  use either the document's class default \SpecialChar TeX
13557  font (in most cases 
13558 \begin_inset Quotes eld
13559 \end_inset
13560
13561
13562 \family typewriter
13563 Computer
13564 \begin_inset space ~
13565 \end_inset
13566
13567 Modern
13568 \family default
13569
13570 \begin_inset Quotes erd
13571 \end_inset
13572
13573 ) or to use the non-\SpecialChar TeX
13574  variant of the document's class default font (in most
13575  cases 
13576 \begin_inset Quotes eld
13577 \end_inset
13578
13579
13580 \family typewriter
13581 Latin
13582 \begin_inset space ~
13583 \end_inset
13584
13585 Modern
13586 \family default
13587
13588 \begin_inset Quotes erd
13589 \end_inset
13590
13591 ).
13592 \end_layout
13593
13594 \begin_layout Subsection
13595 Using Different Character Styles
13596 \begin_inset Index idx
13597 status collapsed
13598
13599 \begin_layout Plain Layout
13600 Character Styles
13601 \end_layout
13602
13603 \end_inset
13604
13605
13606 \begin_inset Index idx
13607 status collapsed
13608
13609 \begin_layout Plain Layout
13610 Text Style
13611 \end_layout
13612
13613 \end_inset
13614
13615
13616 \end_layout
13617
13618 \begin_layout Standard
13619 As we've already seen, \SpecialChar LyX
13620  automatically changes the character style for certain
13621  paragraph environments.
13622  \SpecialChar LyX
13623  supports two character styles, 
13624 \family sans
13625 Emphasized
13626 \family default
13627  and 
13628 \family sans
13629 Noun
13630 \family default
13631 .
13632  You can activate both of these styles via key bindings, the menus, and
13633  the toolbar.
13634 \end_layout
13635
13636 \begin_layout Standard
13637 To activate the 
13638 \family sans
13639 Noun
13640 \family default
13641  style, do one of the following:
13642 \end_layout
13643
13644 \begin_layout Itemize
13645 click on the toolbar button 
13646 \begin_inset Info
13647 type  "icon"
13648 arg   "font-noun"
13649 \end_inset
13650
13651
13652 \end_layout
13653
13654 \begin_layout Itemize
13655 use the key binding 
13656 \begin_inset Info
13657 type  "shortcut"
13658 arg   "font-noun"
13659 \end_inset
13660
13661
13662 \end_layout
13663
13664 \begin_layout Standard
13665 These commands are all toggles.
13666  That is, if 
13667 \family sans
13668 Noun
13669 \family default
13670  style is already active, they deactivate it.
13671 \end_layout
13672
13673 \begin_layout Standard
13674 One typically uses the 
13675 \family sans
13676 Noun
13677 \family default
13678  style for proper names.
13679  For example: 
13680 \begin_inset Quotes eld
13681 \end_inset
13682
13683
13684 \noun on
13685 Matthias Ettrich
13686 \noun default
13687  is the original author of \SpecialChar LyX
13688 .
13689 \begin_inset Quotes erd
13690 \end_inset
13691
13692
13693 \end_layout
13694
13695 \begin_layout Standard
13696 A more widely used character style is the 
13697 \family sans
13698 Emphasized
13699 \family default
13700  style.
13701  You can activate (or deactivate — it's also a toggle) the 
13702 \family sans
13703 Emphasized
13704 \family default
13705  style by:
13706 \end_layout
13707
13708 \begin_layout Itemize
13709 clicking on the toolbar button 
13710 \begin_inset Info
13711 type  "icon"
13712 arg   "font-emph"
13713 \end_inset
13714
13715
13716 \end_layout
13717
13718 \begin_layout Itemize
13719 using the keybindings 
13720 \begin_inset Info
13721 type  "shortcut"
13722 arg   "font-emph"
13723 \end_inset
13724
13725
13726 \end_layout
13727
13728 \begin_layout Standard
13729 Normally the 
13730 \family sans
13731 Emphasized
13732 \family default
13733  style is equivalent to an italic font but some document classes or \SpecialChar LaTeX
13734 -packages
13735  use a different font.
13736 \end_layout
13737
13738 \begin_layout Standard
13739 We've been using the 
13740 \family sans
13741 Emphasized
13742 \family default
13743  style all over the place in this document.
13744  Here's one more example:
13745 \end_layout
13746
13747 \begin_layout Quotation
13748
13749 \emph on
13750 Do not overuse character styles!
13751 \end_layout
13752
13753 \begin_layout Standard
13754 It's also a warning in addition to an example.
13755  One's writing should parallel ordinary conversation.
13756  Since we don't all constantly scream at each other, we should also avoid
13757  the common tendency to overuse character styles.
13758  
13759 \end_layout
13760
13761 \begin_layout Standard
13762 You can always reset to the default font using the key binding 
13763 \begin_inset Info
13764 type  "shortcut"
13765 arg   "font-default"
13766 \end_inset
13767
13768  or the dialog 
13769 \family sans
13770 Edit\SpecialChar menuseparator
13771 Text
13772 \begin_inset space ~
13773 \end_inset
13774
13775 Style\SpecialChar menuseparator
13776 Customized
13777 \family default
13778  (
13779 \begin_inset Info
13780 type  "icon"
13781 arg   "dialog-show character"
13782 \end_inset
13783
13784 ).
13785 \end_layout
13786
13787 \begin_layout Subsection
13788 Fine-Tuning with the 
13789 \family sans
13790 Text Style
13791 \family default
13792  dialog
13793 \begin_inset CommandInset label
13794 LatexCommand label
13795 name "subsec:Fine-Tuning-with-the"
13796
13797 \end_inset
13798
13799
13800 \begin_inset Index idx
13801 status collapsed
13802
13803 \begin_layout Plain Layout
13804 Text Style
13805 \end_layout
13806
13807 \end_inset
13808
13809
13810 \end_layout
13811
13812 \begin_layout Standard
13813 There are always occasions when you will need to do some fine-tuning; so
13814  \SpecialChar LyX
13815  gives you a way to create a custom character style.
13816  For example, an academic journal or a corporation may have a style sheet
13817  requiring a sans-serif font be used in certain situations.
13818  Also, writers sometimes use a different font to offset a character's thoughts
13819  from ordinary dialog.
13820 \end_layout
13821
13822 \begin_layout Standard
13823 Before we document how to use custom character style, we want to issue a
13824  warning yet again: Don't overuse character styles! 
13825 \begin_inset Newline newline
13826 \end_inset
13827
13828 Documents that overuse different fonts and sizes are not easy to read and
13829  tend to look as if someone has knocked huge holes in them.
13830 \end_layout
13831
13832 \begin_layout Standard
13833 To use custom character styles, open the 
13834 \family sans
13835 Edit\SpecialChar menuseparator
13836 Text
13837 \begin_inset space ~
13838 \end_inset
13839
13840 Style\SpecialChar menuseparator
13841 Customized
13842 \family default
13843  dialog or press the toolbar button 
13844 \begin_inset Info
13845 type  "icon"
13846 arg   "dialog-show character"
13847 \end_inset
13848
13849 .
13850  There are several boxes in this dialog, each corresponding to a different
13851  font property that you can choose.
13852  You can choose an option for one of these properties, or select 
13853 \family sans
13854 No
13855 \begin_inset space ~
13856 \end_inset
13857
13858 change
13859 \family default
13860 , which keeps the current state of that property.
13861  The item 
13862 \family sans
13863 Reset
13864 \family default
13865  will reset the property to whatever is the default.
13866  You can use this to reset attributes across a bunch of different paragraph
13867  environments all at once.
13868 \end_layout
13869
13870 \begin_layout Standard
13871 The font properties, and their options (in addition to 
13872 \family sans
13873 No
13874 \begin_inset space ~
13875 \end_inset
13876
13877 change
13878 \family default
13879  and 
13880 \family sans
13881 Reset
13882 \family default
13883 ) are:
13884 \end_layout
13885
13886 \begin_layout Labeling
13887 \labelwidthstring 00.00.0000
13888
13889 \family sans
13890 Family
13891 \family default
13892  The 
13893 \begin_inset Quotes eld
13894 \end_inset
13895
13896 overall look
13897 \begin_inset Quotes erd
13898 \end_inset
13899
13900  of the font.
13901  The possible options are:
13902 \end_layout
13903
13904 \begin_deeper
13905 \begin_layout Labeling
13906 \labelwidthstring 00.00.0000
13907
13908 \family sans
13909 Roman
13910 \family default
13911  This is the Roman font family.
13912  Normally a serif font.
13913  It's also the default family.
13914  (key binding 
13915 \begin_inset Info
13916 type  "shortcut"
13917 arg   "font-roman"
13918 \end_inset
13919
13920 )
13921 \end_layout
13922
13923 \begin_layout Labeling
13924 \labelwidthstring 00.00.0000
13925
13926 \family sans
13927 Sans
13928 \begin_inset space ~
13929 \end_inset
13930
13931 Serif
13932 \family default
13933  
13934 \family sans
13935 This is the Sans Serif font family.
13936
13937 \family default
13938  (key binding 
13939 \begin_inset Info
13940 type  "shortcut"
13941 arg   "font-sans"
13942 \end_inset
13943
13944 )
13945 \end_layout
13946
13947 \begin_layout Labeling
13948 \labelwidthstring 00.00.0000
13949
13950 \family sans
13951 Typewriter
13952 \family default
13953  
13954 \family typewriter
13955 This is the Typewriter font family.
13956
13957 \family default
13958  (key binding 
13959 \begin_inset Info
13960 type  "shortcut"
13961 arg   "font-typewriter"
13962 \end_inset
13963
13964
13965 \family sans
13966 )
13967 \end_layout
13968
13969 \end_deeper
13970 \begin_layout Labeling
13971 \labelwidthstring 00.00.0000
13972
13973 \family sans
13974 Series
13975 \family default
13976  This corresponds to the print weight.
13977  Options are:
13978 \end_layout
13979
13980 \begin_deeper
13981 \begin_layout Labeling
13982 \labelwidthstring 00.00.0000
13983
13984 \family sans
13985 Medium
13986 \family default
13987  This is the Medium font series.
13988  It's also the default series.
13989 \end_layout
13990
13991 \begin_layout Labeling
13992 \labelwidthstring 00.00.0000
13993
13994 \family sans
13995 Bold
13996 \family default
13997  
13998 \series bold
13999 This is the Bold font series.
14000
14001 \series default
14002  (key binding 
14003 \begin_inset Info
14004 type  "shortcut"
14005 arg   "font-bold"
14006 \end_inset
14007
14008 )
14009 \end_layout
14010
14011 \end_deeper
14012 \begin_layout Labeling
14013 \labelwidthstring 00.00.0000
14014
14015 \family sans
14016 Shape
14017 \family default
14018  As the name implies.
14019  Options are:
14020 \end_layout
14021
14022 \begin_deeper
14023 \begin_layout Labeling
14024 \labelwidthstring 00.00.0000
14025
14026 \family sans
14027 Upright
14028 \family default
14029  This is the Upright font shape.
14030  It's also the default shape.
14031 \end_layout
14032
14033 \begin_layout Labeling
14034 \labelwidthstring 00.00.0000
14035
14036 \family sans
14037 Italic
14038 \family default
14039  
14040 \shape italic
14041 This
14042 \shape default
14043  
14044 \family sans
14045 \shape italic
14046 i
14047 \family default
14048 s the Italic font shape
14049 \shape default
14050 \emph on
14051 .
14052 \end_layout
14053
14054 \begin_layout Labeling
14055 \labelwidthstring 00.00.0000
14056
14057 \family sans
14058 Slanted
14059 \family default
14060  
14061 \shape slanted
14062 This is the Slanted font shape
14063 \shape default
14064  (although it might not be visible in \SpecialChar LyX
14065 , this is different from italic).
14066 \end_layout
14067
14068 \begin_layout Labeling
14069 \labelwidthstring 00.00.0000
14070
14071 \family sans
14072 Small
14073 \begin_inset space ~
14074 \end_inset
14075
14076 Caps
14077 \family default
14078  
14079 \shape smallcaps
14080 This is the Small caps font shape
14081 \shape default
14082 \noun on
14083 .
14084 \end_layout
14085
14086 \end_deeper
14087 \begin_layout Labeling
14088 \labelwidthstring 00.00.0000
14089
14090 \family sans
14091 Color
14092 \family default
14093  Alters the text color.
14094  Note that not all DVI-viewers are able to display colors.
14095  Besides 
14096 \family sans
14097 No
14098 \begin_inset space ~
14099 \end_inset
14100
14101 color
14102 \family default
14103 , which means that the document default color set in 
14104 \family sans
14105 Document\SpecialChar menuseparator
14106 Settings\SpecialChar menuseparator
14107 Color
14108 \family default
14109  for 
14110 \family sans
14111 Main
14112 \begin_inset space ~
14113 \end_inset
14114
14115 text
14116 \family default
14117  is used, you can choose between 
14118 \family sans
14119 Black
14120 \family default
14121
14122 \family sans
14123 White
14124 \family default
14125
14126 \family sans
14127 Red
14128 \family default
14129
14130 \family sans
14131 Green
14132 \family default
14133
14134 \family sans
14135 Blue
14136 \family default
14137
14138 \family sans
14139 Cyan
14140 \family default
14141
14142 \family sans
14143 Magenta
14144 \family default
14145
14146 \family sans
14147 Yellow
14148 \family default
14149
14150 \family sans
14151 Brown
14152 \family default
14153
14154 \family sans
14155 Darkgray
14156 \family default
14157
14158 \family sans
14159 Gray
14160 \family default
14161
14162 \family sans
14163 Lightgray
14164 \family default
14165
14166 \family sans
14167 Lime
14168 \family default
14169
14170 \family sans
14171 Orange
14172 \family default
14173
14174 \family sans
14175 Olive
14176 \family default
14177
14178 \family sans
14179 Pink
14180 \family default
14181
14182 \family sans
14183 Purple
14184 \family default
14185
14186 \family sans
14187 Teal
14188 \family default
14189  and 
14190 \family sans
14191 Violet
14192 \family default
14193  text.
14194 \begin_inset Index idx
14195 status collapsed
14196
14197 \begin_layout Plain Layout
14198 Color ! Text
14199 \end_layout
14200
14201 \end_inset
14202
14203  
14204 \end_layout
14205
14206 \begin_layout Labeling
14207 \labelwidthstring 00.00.0000
14208
14209 \family sans
14210 Language
14211 \family default
14212  This is used to mark regions of text as having a different language from
14213  the language of the document.
14214  Text marked in this way will be underlined in blue to indicate the change
14215  (only within \SpecialChar LyX
14216 ).
14217 \begin_inset Newline newline
14218 \end_inset
14219
14220 If you have for example, an extract of German text in a non-German document,
14221  \SpecialChar LaTeX
14222  respects the German hyphenation rules automatically.
14223  When using the spell checking (see section
14224 \begin_inset space ~
14225 \end_inset
14226
14227
14228 \begin_inset CommandInset ref
14229 LatexCommand ref
14230 reference "sec:Spellchecking"
14231
14232 \end_inset
14233
14234 ) the German-marked text will be checked according to the German dictionary.
14235 \end_layout
14236
14237 \begin_layout Labeling
14238 \labelwidthstring 00.00.0000
14239
14240 \family sans
14241 Size
14242 \family default
14243  Alters the size of the font.
14244  You will find no numerical values here; all possible sizes are actually
14245  proportional to the document font size.
14246  Once again, you don't feed \SpecialChar LyX
14247  the details, but a general description of what
14248  you want to do.
14249  The options are:
14250 \end_layout
14251
14252 \begin_deeper
14253 \begin_layout Labeling
14254 \labelwidthstring 00.00.0000
14255
14256 \family sans
14257 Tiny
14258 \family default
14259  
14260 \size tiny
14261 This is the 
14262 \begin_inset Quotes eld
14263 \end_inset
14264
14265 Tiny
14266 \begin_inset Quotes erd
14267 \end_inset
14268
14269  font size.
14270
14271 \size default
14272  (key bindings 
14273 \begin_inset Info
14274 type  "shortcuts"
14275 arg   "font-size tiny"
14276 \end_inset
14277
14278 )
14279 \end_layout
14280
14281 \begin_layout Labeling
14282 \labelwidthstring 00.00.0000
14283
14284 \family sans
14285 Smallest
14286 \family default
14287  
14288 \size scriptsize
14289 This is the 
14290 \begin_inset Quotes eld
14291 \end_inset
14292
14293 Smallest
14294 \begin_inset Quotes erd
14295 \end_inset
14296
14297  font size
14298 \size default
14299 .
14300  (key binding 
14301 \begin_inset Info
14302 type  "shortcut"
14303 arg   "font-size scriptsize"
14304 \end_inset
14305
14306 )
14307 \end_layout
14308
14309 \begin_layout Labeling
14310 \labelwidthstring 00.00.0000
14311
14312 \family sans
14313 Smaller
14314 \family default
14315  
14316 \size footnotesize
14317 This is the 
14318 \begin_inset Quotes eld
14319 \end_inset
14320
14321 Smaller
14322 \begin_inset Quotes erd
14323 \end_inset
14324
14325  font size.
14326
14327 \size default
14328  (key bindings 
14329 \begin_inset Info
14330 type  "shortcuts"
14331 arg   "font-size footnotesize"
14332 \end_inset
14333
14334 )
14335 \end_layout
14336
14337 \begin_layout Labeling
14338 \labelwidthstring 00.00.0000
14339
14340 \family sans
14341 Small
14342 \family default
14343  
14344 \size small
14345 This is the 
14346 \begin_inset Quotes eld
14347 \end_inset
14348
14349 Small
14350 \begin_inset Quotes erd
14351 \end_inset
14352
14353  font size.
14354
14355 \size default
14356  (key bindings 
14357 \begin_inset Info
14358 type  "shortcuts"
14359 arg   "font-size small"
14360 \end_inset
14361
14362 )
14363 \end_layout
14364
14365 \begin_layout Labeling
14366 \labelwidthstring 00.00.0000
14367
14368 \family sans
14369 Normal
14370 \family default
14371  This is the 
14372 \begin_inset Quotes eld
14373 \end_inset
14374
14375 Normal
14376 \begin_inset Quotes erd
14377 \end_inset
14378
14379  font size.
14380  It's also the default size.
14381  (key bindings 
14382 \begin_inset Info
14383 type  "shortcuts"
14384 arg   "font-size normal"
14385 \end_inset
14386
14387 )
14388 \end_layout
14389
14390 \begin_layout Labeling
14391 \labelwidthstring 00.00.0000
14392
14393 \family sans
14394 Large
14395 \family default
14396  
14397 \size large
14398 This is the 
14399 \begin_inset Quotes eld
14400 \end_inset
14401
14402 Large
14403 \begin_inset Quotes erd
14404 \end_inset
14405
14406  font size.
14407
14408 \size default
14409  (key bindings 
14410 \begin_inset Info
14411 type  "shortcuts"
14412 arg   "font-size large"
14413 \end_inset
14414
14415 )
14416 \end_layout
14417
14418 \begin_layout Labeling
14419 \labelwidthstring 00.00.0000
14420
14421 \family sans
14422 Larger
14423 \family default
14424  
14425 \size larger
14426 This is the 
14427 \begin_inset Quotes eld
14428 \end_inset
14429
14430 Larger
14431 \begin_inset Quotes erd
14432 \end_inset
14433
14434  font size.
14435
14436 \size default
14437  (key bindings 
14438 \begin_inset Info
14439 type  "shortcuts"
14440 arg   "font-size larger"
14441 \end_inset
14442
14443 )
14444 \end_layout
14445
14446 \begin_layout Labeling
14447 \labelwidthstring 00.00.0000
14448
14449 \family sans
14450 Largest
14451 \family default
14452  
14453 \size largest
14454 This is the 
14455 \begin_inset Quotes eld
14456 \end_inset
14457
14458 Largest
14459 \begin_inset Quotes erd
14460 \end_inset
14461
14462  font size.
14463
14464 \size default
14465  (key binding 
14466 \begin_inset Info
14467 type  "shortcut"
14468 arg   "font-size largest"
14469 \end_inset
14470
14471 )
14472 \end_layout
14473
14474 \begin_layout Labeling
14475 \labelwidthstring 00.00.0000
14476
14477 \family sans
14478 Huge
14479 \family default
14480  
14481 \size huge
14482 This is the 
14483 \begin_inset Quotes eld
14484 \end_inset
14485
14486 Huge
14487 \begin_inset Quotes erd
14488 \end_inset
14489
14490  font size.
14491
14492 \size default
14493  (key bindings 
14494 \begin_inset Info
14495 type  "shortcuts"
14496 arg   "font-size huge"
14497 \end_inset
14498
14499 )
14500 \end_layout
14501
14502 \begin_layout Labeling
14503 \labelwidthstring 00.00.0000
14504
14505 \family sans
14506 Huger
14507 \family default
14508  
14509 \size giant
14510 This is the 
14511 \begin_inset Quotes eld
14512 \end_inset
14513
14514 Huger
14515 \begin_inset Quotes erd
14516 \end_inset
14517
14518  font size.
14519
14520 \size default
14521  (key bindings 
14522 \begin_inset Info
14523 type  "shortcuts"
14524 arg   "font-size giant"
14525 \end_inset
14526
14527 )
14528 \end_layout
14529
14530 \begin_layout Labeling
14531 \labelwidthstring 00.00.0000
14532
14533 \family sans
14534 Increase
14535 \family default
14536  This increases the size by one step (for instance, from 
14537 \begin_inset Quotes eld
14538 \end_inset
14539
14540 Largest
14541 \begin_inset Quotes erd
14542 \end_inset
14543
14544  to 
14545 \begin_inset Quotes eld
14546 \end_inset
14547
14548 Huge
14549 \begin_inset Quotes erd
14550 \end_inset
14551
14552 ).
14553  (key binding 
14554 \begin_inset Info
14555 type  "shortcut"
14556 arg   "font-size increase"
14557 \end_inset
14558
14559 )
14560 \end_layout
14561
14562 \begin_layout Labeling
14563 \labelwidthstring 00.00.0000
14564
14565 \family sans
14566 Decrease
14567 \family default
14568  This decreases the size by one step (for instance, from 
14569 \begin_inset Quotes eld
14570 \end_inset
14571
14572 Normal
14573 \begin_inset Quotes erd
14574 \end_inset
14575
14576  to 
14577 \begin_inset Quotes eld
14578 \end_inset
14579
14580 Small
14581 \begin_inset Quotes erd
14582 \end_inset
14583
14584 ).
14585  (key binding 
14586 \begin_inset Info
14587 type  "shortcut"
14588 arg   "font-size decrease"
14589 \end_inset
14590
14591 )
14592 \end_layout
14593
14594 \end_deeper
14595 \begin_layout Standard
14596 We warn you 
14597 \emph on
14598 yet again
14599 \emph default
14600 : don't go crazy with this feature.
14601  You should almost never need to change the font size.
14602  \SpecialChar LyX
14603  automatically changes the font size for different paragraph environments
14604  — use those instead.
14605  This is here for fine-tuning only!
14606 \end_layout
14607
14608 \begin_layout Labeling
14609 \labelwidthstring 00.00.0000
14610
14611 \family sans
14612 Misc
14613 \family default
14614  Here you can change a few other things at the character level.
14615  Options are:
14616 \end_layout
14617
14618 \begin_deeper
14619 \begin_layout Labeling
14620 \labelwidthstring 00.00.0000
14621
14622 \family sans
14623 Emph
14624 \family default
14625  
14626 \emph on
14627 This is text with emphasize on
14628 \emph default
14629 .
14630  This might seem like the same as 
14631 \shape italic
14632 Italic
14633 \shape default
14634 , but it is actually a bit different.
14635  Emphasized is a 
14636 \emph on
14637 logical
14638 \emph default
14639  attribute.
14640  That means every document class can define its own font used for emphasized
14641  text.
14642  Normally this font is equal to italic.
14643 \end_layout
14644
14645 \begin_layout Labeling
14646 \labelwidthstring 00.00.0000
14647
14648 \family sans
14649 Underbar
14650 \family default
14651  
14652 \bar under
14653 This is text with Underbar on.
14654
14655 \bar default
14656  (key binding 
14657 \begin_inset Info
14658 type  "shortcuts"
14659 arg   "font-underline"
14660 \end_inset
14661
14662
14663 \family sans
14664 )
14665 \begin_inset Newline newline
14666 \end_inset
14667
14668
14669 \family default
14670 Avoid using underbar if you can! It is a hangover from the typewriter days,
14671  when you could not change fonts.
14672  One no longer needs to emphasize text by underscoring characters.
14673  This is only possible in \SpecialChar LyX
14674  because some people 
14675 \emph on
14676 may
14677 \emph default
14678  need it in order to follow style sheets for journal submissions.
14679 \end_layout
14680
14681 \begin_layout Labeling
14682 \labelwidthstring 00.00.0000
14683
14684 \family sans
14685 Double
14686 \begin_inset space ~
14687 \end_inset
14688
14689 underbar
14690 \family default
14691  
14692 \uuline on
14693 This is text with Double underbar on.
14694
14695 \uuline default
14696  (key binding 
14697 \begin_inset Info
14698 type  "shortcut"
14699 arg   "font-underunderline"
14700 \end_inset
14701
14702 )
14703 \begin_inset Newline newline
14704 \end_inset
14705
14706 As we just warned you against using underbar, you can imagine what we think
14707  about double underbar.
14708 \end_layout
14709
14710 \begin_layout Labeling
14711 \labelwidthstring 00.00.0000
14712
14713 \family sans
14714 Wavy
14715 \begin_inset space ~
14716 \end_inset
14717
14718 underbar
14719 \family default
14720  
14721 \uwave on
14722 This is text with Wavy underbar on.
14723
14724 \uwave default
14725  (key binding 
14726 \begin_inset Info
14727 type  "shortcut"
14728 arg   "font-underwave"
14729 \end_inset
14730
14731 )
14732 \begin_inset Newline newline
14733 \end_inset
14734
14735 Use this only if a journal absolutely insists on it.
14736  Keep antinausea pills handy.
14737 \end_layout
14738
14739 \begin_layout Labeling
14740 \labelwidthstring 00.00.0000
14741
14742 \family sans
14743 Strike
14744 \begin_inset space ~
14745 \end_inset
14746
14747 out
14748 \family default
14749  
14750 \strikeout on
14751 This is text with Strikeout on.
14752
14753 \strikeout default
14754  (key binding 
14755 \begin_inset Info
14756 type  "shortcut"
14757 arg   "font-strikeout"
14758 \end_inset
14759
14760 )
14761 \begin_inset Newline newline
14762 \end_inset
14763
14764 This is frequently used to indicate an older version of text that has been
14765  changed in the meantime.
14766 \end_layout
14767
14768 \begin_layout Labeling
14769 \labelwidthstring 00.00.0000
14770
14771 \family sans
14772 Cross
14773 \begin_inset space ~
14774 \end_inset
14775
14776 out
14777 \family default
14778  
14779 \xout on
14780 This is text with Cross out on.
14781 \xout default
14782
14783 \begin_inset Newline newline
14784 \end_inset
14785
14786 This is used to make text hardly readable.
14787 \end_layout
14788
14789 \begin_layout Labeling
14790 \labelwidthstring 00.00.0000
14791
14792 \family sans
14793 Noun
14794 \family default
14795  
14796 \noun on
14797 This is text with Noun on.
14798
14799 \noun default
14800  Like 
14801 \family sans
14802 Emph
14803 \family default
14804 , this is a logical attribute.
14805  Normally it's equivalent to 
14806 \family sans
14807 Small
14808 \begin_inset space ~
14809 \end_inset
14810
14811 Caps
14812 \family default
14813 .
14814 \end_layout
14815
14816 \end_deeper
14817 \begin_layout Standard
14818 So you have a huge number of combinations to choose from.
14819  Once you have chosen a new character style via the 
14820 \family sans
14821 Edit\SpecialChar menuseparator
14822 Text
14823 \begin_inset space ~
14824 \end_inset
14825
14826 Style\SpecialChar menuseparator
14827 Customized
14828 \family default
14829  (
14830 \begin_inset Info
14831 type  "icon"
14832 arg   "dialog-show character"
14833 \end_inset
14834
14835 ) dialog, the settings are saved.
14836  You can activate them by using the toolbar button 
14837 \begin_inset Info
14838 type  "icon"
14839 arg   "textstyle-apply"
14840 \end_inset
14841
14842 .
14843  The button lets you apply your custom character style even when the dialog
14844  isn't visible.
14845 \end_layout
14846
14847 \begin_layout Standard
14848 To completely reset the character style to the default, use 
14849 \begin_inset Info
14850 type  "shortcut"
14851 arg   "font-default"
14852 \end_inset
14853
14854 .
14855  If you want to toggle only those properties that you have just changed
14856  (suppose you just set the shape to 
14857 \begin_inset Quotes eld
14858 \end_inset
14859
14860 slanted
14861 \begin_inset Quotes erd
14862 \end_inset
14863
14864  and the series to 
14865 \begin_inset Quotes eld
14866 \end_inset
14867
14868 bold
14869 \begin_inset Quotes erd
14870 \end_inset
14871
14872 ), set the 
14873 \family sans
14874 Toggle
14875 \begin_inset space ~
14876 \end_inset
14877
14878 all
14879 \family default
14880  switch and press 
14881 \family sans
14882 Apply
14883 \family default
14884 .
14885 \end_layout
14886
14887 \begin_layout Standard
14888 You should also know something about the differences between the three main
14889  font types 
14890 \family sans
14891 serif
14892 \family default
14893
14894 \family sans
14895 sans
14896 \begin_inset space ~
14897 \end_inset
14898
14899 serif
14900 \family default
14901 , and 
14902 \family sans
14903 typewriter
14904 \family default
14905 :
14906 \end_layout
14907
14908 \begin_layout Itemize
14909
14910 \family sans
14911 Typewriter
14912 \family default
14913  is a so called 
14914 \begin_inset Quotes eld
14915 \end_inset
14916
14917 monospaced
14918 \begin_inset Quotes erd
14919 \end_inset
14920
14921  font, which means every character has the same width; the 
14922 \begin_inset Quotes eld
14923 \end_inset
14924
14925 i
14926 \begin_inset Quotes erd
14927 \end_inset
14928
14929  is as wide as the 
14930 \begin_inset Quotes eld
14931 \end_inset
14932
14933 m
14934 \begin_inset Quotes erd
14935 \end_inset
14936
14937 .
14938  Here is an example
14939 \begin_inset Newline newline
14940 \end_inset
14941
14942
14943 \begin_inset Phantom HPhantom
14944 status open
14945
14946 \begin_layout Plain Layout
14947 no 
14948 \end_layout
14949
14950 \end_inset
14951
14952
14953 \family typewriter
14954 typewriter text
14955 \family default
14956
14957 \begin_inset Note Note
14958 status collapsed
14959
14960 \begin_layout Plain Layout
14961 For more on phantoms see section
14962 \begin_inset space ~
14963 \end_inset
14964
14965
14966 \begin_inset CommandInset ref
14967 LatexCommand ref
14968 reference "subsec:Phantom-Space"
14969
14970 \end_inset
14971
14972 .
14973 \end_layout
14974
14975 \end_inset
14976
14977
14978 \begin_inset Newline newline
14979 \end_inset
14980
14981 no typewriter text
14982 \end_layout
14983
14984 \begin_layout Itemize
14985
14986 \family sans
14987 Serif
14988 \family default
14989  fonts use characters with serifs.
14990  These are the small 
14991 \begin_inset Quotes eld
14992 \end_inset
14993
14994 appendices
14995 \begin_inset Quotes erd
14996 \end_inset
14997
14998  at the ends of the strokes that form the character.
14999  The following example shows the difference:
15000 \begin_inset Newline newline
15001 \end_inset
15002
15003 text with serifs
15004 \begin_inset Newline newline
15005 \end_inset
15006
15007
15008 \family sans
15009 text without serifs
15010 \family default
15011
15012 \begin_inset Newline newline
15013 \end_inset
15014
15015 Serifs facilitate quick and easy reading.
15016  These fonts are therefore used as default (named 
15017 \family sans
15018 roman
15019 \family default
15020 ).
15021 \end_layout
15022
15023 \begin_layout Itemize
15024
15025 \family sans
15026 Sans serif
15027 \family default
15028  is not recommended for use as a base type.
15029  This font type is therefore often only used for headings and short texts.
15030  We use it in this document to highlight menu names.
15031 \end_layout
15032
15033 \begin_layout Standard
15034 \begin_inset Quotes eld
15035 \end_inset
15036
15037 Toggling
15038 \begin_inset Quotes erd
15039 \end_inset
15040
15041  refers to applying or removing font properties.
15042  When a property is marked for toggling in the 
15043 \family sans
15044 Text
15045 \begin_inset space ~
15046 \end_inset
15047
15048 Style
15049 \family default
15050  dialog, applying the style to text that already has the property will cause
15051  the property to be removed.
15052  If you, for example, apply a style with properties A, B and C to text that
15053  currently has font properties B, C, F and G, and if B is set to toggle
15054  and C is set not to toggle, the text ends up with properties A, C, F and
15055  G.
15056  
15057 \begin_inset Quotes eld
15058 \end_inset
15059
15060 Never toggled
15061 \begin_inset Quotes erd
15062 \end_inset
15063
15064  and 
15065 \begin_inset Quotes eld
15066 \end_inset
15067
15068 always toggled
15069 \begin_inset Quotes erd
15070 \end_inset
15071
15072  mean that you do not control the toggling behavior.
15073  For the properties on the left side of the dialog (
15074 \begin_inset Quotes eld
15075 \end_inset
15076
15077 Family
15078 \begin_inset Quotes erd
15079 \end_inset
15080
15081  etc.), toggling behavior is up to you.
15082  If 
15083 \family sans
15084 Toggle
15085 \begin_inset space ~
15086 \end_inset
15087
15088 all
15089 \family default
15090  is checked, all of the left side properties are toggled; by default, none
15091  of them are.
15092  Finally, 
15093 \begin_inset Quotes eld
15094 \end_inset
15095
15096 Reset
15097 \begin_inset Quotes erd
15098 \end_inset
15099
15100  is never toggled.
15101  If you, for example, set 
15102 \begin_inset Quotes eld
15103 \end_inset
15104
15105 Series
15106 \begin_inset Quotes erd
15107 \end_inset
15108
15109  to 
15110 \begin_inset Quotes eld
15111 \end_inset
15112
15113 Reset
15114 \begin_inset Quotes erd
15115 \end_inset
15116
15117  and select 
15118 \family sans
15119 Toggle
15120 \begin_inset space ~
15121 \end_inset
15122
15123 all
15124 \family default
15125 , then apply the style to bold face text, the text will revert to the default
15126  series (
15127 \begin_inset Quotes eld
15128 \end_inset
15129
15130 Medium
15131 \begin_inset Quotes erd
15132 \end_inset
15133
15134 ), no matter how many times you apply the style.
15135 \end_layout
15136
15137 \begin_layout Standard
15138 We conclude with the same warning once again: Do not overuse the fonts!
15139  They are, more often than not, a kludge and a bad substitute for good writing.
15140 \end_layout
15141
15142 \begin_layout Section
15143 Printing and Previewing
15144 \end_layout
15145
15146 \begin_layout Subsection
15147 Overview
15148 \end_layout
15149
15150 \begin_layout Standard
15151 Now that we have covered some of the basic features of document preparation
15152  using \SpecialChar LyX
15153 , you probably want to know how to print out your masterpiece.
15154  Before we tell you that, we want to give you a quick explanation of what
15155  goes on behind-the-scenes.
15156  We cover this information in much greater detail in the 
15157 \emph on
15158 Additional Features
15159 \emph default
15160  manual as well.
15161 \end_layout
15162
15163 \begin_layout Standard
15164 \SpecialChar LyX
15165  uses the program \SpecialChar LaTeX
15166  as its backend.
15167  \SpecialChar LaTeX
15168  is just a macro package for the \SpecialChar TeX
15169  typesetting system, but to prevent confusion,
15170  we will only refer to \SpecialChar LaTeX
15171 .
15172  \SpecialChar LyX
15173  is what you use to do your actual writing.
15174  Then, \SpecialChar LyX
15175  calls \SpecialChar LaTeX
15176  to turn your writing into printable output.
15177  This happens in two stages:
15178 \end_layout
15179
15180 \begin_layout Enumerate
15181 First, \SpecialChar LyX
15182  converts your document to a series of text commands for \SpecialChar LaTeX
15183 , generating
15184  a file with the extension, 
15185 \begin_inset Quotes eld
15186 \end_inset
15187
15188
15189 \family typewriter
15190 .tex
15191 \family default
15192
15193 \begin_inset Quotes erd
15194 \end_inset
15195
15196 .
15197 \end_layout
15198
15199 \begin_layout Enumerate
15200 Next, \SpecialChar LyX
15201  calls \SpecialChar LaTeX
15202  to use the commands in the 
15203 \family typewriter
15204 .tex
15205 \family default
15206  file to produce printable output.
15207 \end_layout
15208
15209 \begin_layout Subsection
15210 Output file formats
15211 \begin_inset Index idx
15212 status collapsed
15213
15214 \begin_layout Plain Layout
15215 File formats
15216 \end_layout
15217
15218 \end_inset
15219
15220
15221 \begin_inset CommandInset label
15222 LatexCommand label
15223 name "subsec:Output-file-formats"
15224
15225 \end_inset
15226
15227
15228 \end_layout
15229
15230 \begin_layout Subsubsection
15231 Simple text (ASCII)
15232 \begin_inset Index idx
15233 status collapsed
15234
15235 \begin_layout Plain Layout
15236 File formats ! ASCII
15237 \end_layout
15238
15239 \end_inset
15240
15241
15242 \end_layout
15243
15244 \begin_layout Standard
15245 This file type has the extension 
15246 \begin_inset Quotes eld
15247 \end_inset
15248
15249
15250 \family typewriter
15251 .txt
15252 \family default
15253
15254 \begin_inset Quotes erd
15255 \end_inset
15256
15257 .
15258  It contains your document as plain text following the rules of the 
15259 \begin_inset Quotes eld
15260 \end_inset
15261
15262 American Standard Code for Information Interchange
15263 \begin_inset Quotes erd
15264 \end_inset
15265
15266  (ASCII).
15267 \end_layout
15268
15269 \begin_layout Standard
15270 You can export your document to ASCII with the menu 
15271 \family sans
15272 File\SpecialChar menuseparator
15273 Export\SpecialChar menuseparator
15274 Plain
15275 \begin_inset space ~
15276 \end_inset
15277
15278 text
15279 \family default
15280 .
15281  However, this will not export any externally generated material such as
15282  a Bib\SpecialChar TeX
15283  bibliography (section
15284 \begin_inset space ~
15285 \end_inset
15286
15287
15288 \begin_inset CommandInset ref
15289 LatexCommand ref
15290 reference "subsec:Bibliography-databases"
15291
15292 \end_inset
15293
15294 ).
15295  If your document includes such material, use 
15296 \family sans
15297 File\SpecialChar menuseparator
15298 Export\SpecialChar menuseparator
15299 More
15300 \begin_inset space ~
15301 \end_inset
15302
15303 Formats
15304 \begin_inset space ~
15305 \end_inset
15306
15307 &
15308 \begin_inset space ~
15309 \end_inset
15310
15311 Options
15312 \family default
15313  and then select 
15314 \family sans
15315 Plain
15316 \begin_inset space ~
15317 \end_inset
15318
15319 text
15320 \begin_inset space ~
15321 \end_inset
15322
15323 (ps2ascii)
15324 \family default
15325 .
15326  This will first internally export your document to PostScript (generating
15327  thereby the external material) and then do the conversion to ASCII.
15328 \end_layout
15329
15330 \begin_layout Subsubsection
15331 \SpecialChar LaTeX
15332
15333 \begin_inset Index idx
15334 status collapsed
15335
15336 \begin_layout Plain Layout
15337 File formats ! \SpecialChar LaTeX
15338
15339 \end_layout
15340
15341 \end_inset
15342
15343
15344 \end_layout
15345
15346 \begin_layout Standard
15347 This file type has the extension 
15348 \begin_inset Quotes eld
15349 \end_inset
15350
15351
15352 \family typewriter
15353 .tex
15354 \family default
15355
15356 \begin_inset Quotes erd
15357 \end_inset
15358
15359  and contains all commands that are necessary for the \SpecialChar LaTeX
15360  program to process
15361  your document.
15362  If you know \SpecialChar LaTeX
15363 , you can use it to find out \SpecialChar LaTeX
15364 -Errors or to process it manually
15365  with console commands.
15366  The \SpecialChar LaTeX
15367 -file is automatically created in \SpecialChar LyX
15368 's temporary directory whenever you
15369  view or export your document.
15370 \end_layout
15371
15372 \begin_layout Standard
15373 You can export your document as a \SpecialChar LaTeX
15374 -file using the menu 
15375 \family sans
15376 File\SpecialChar menuseparator
15377 Export\SpecialChar menuseparator
15378 LaTeX
15379 \family default
15380 .
15381  The different \SpecialChar LaTeX
15382  export variants are explained in section
15383 \begin_inset space ~
15384 \end_inset
15385
15386
15387 \begin_inset CommandInset ref
15388 LatexCommand ref
15389 reference "subsec:Export"
15390
15391 \end_inset
15392
15393 .
15394 \end_layout
15395
15396 \begin_layout Subsubsection
15397 DVI
15398 \begin_inset Index idx
15399 status collapsed
15400
15401 \begin_layout Plain Layout
15402 File formats ! DVI
15403 \end_layout
15404
15405 \end_inset
15406
15407
15408 \end_layout
15409
15410 \begin_layout Standard
15411 This file type has the extension 
15412 \begin_inset Quotes eld
15413 \end_inset
15414
15415
15416 \family typewriter
15417 .dvi
15418 \family default
15419
15420 \begin_inset Quotes erd
15421 \end_inset
15422
15423 .
15424  It is called 
15425 \begin_inset Quotes eld
15426 \end_inset
15427
15428 device-independent
15429 \begin_inset Quotes erd
15430 \end_inset
15431
15432  (DVI), because it is completely portable; you can move them from one machine
15433  to another without needing to do any sort of conversion.
15434  DVIs are used for quick previews and as a pre-stage for other output formats,
15435  like PostScript.
15436 \end_layout
15437
15438 \begin_layout Standard
15439 DVI files do not contain images, they only link to them.
15440  So don't forget to deliver the images together with your DVIs.
15441  Because the DVI-viewer has to convert the images in the background to make
15442  them visible when you scroll the DVI, this can slow down your computer
15443  when you view the DVI.
15444  So we recommend using PDF for files with many images.
15445 \end_layout
15446
15447 \begin_layout Standard
15448 You can export your document to DVI by the menus 
15449 \family sans
15450 File\SpecialChar menuseparator
15451 Export\SpecialChar menuseparator
15452 DVI
15453 \family default
15454  or 
15455 \family sans
15456 File\SpecialChar menuseparator
15457 Export\SpecialChar menuseparator
15458 DVI
15459 \begin_inset space ~
15460 \end_inset
15461
15462 (LuaTeX).
15463
15464 \family default
15465  The latter option uses the program 
15466 \family typewriter
15467 Lua\SpecialChar TeX
15468
15469 \family default
15470 .
15471  
15472 \family typewriter
15473 Lua\SpecialChar TeX
15474
15475 \family default
15476  is an engine that provides direct Unicode support and support for direct
15477  font access (see section
15478 \begin_inset space ~
15479 \end_inset
15480
15481
15482 \begin_inset CommandInset ref
15483 LatexCommand ref
15484 reference "subsec:LaTeX-font-support"
15485
15486 \end_inset
15487
15488 ).
15489  Lua\SpecialChar TeX
15490  is still a work in progress, but it might develop into the next standard
15491  \SpecialChar TeX
15492  processor.
15493 \end_layout
15494
15495 \begin_layout Subsubsection
15496 PostScript
15497 \begin_inset Index idx
15498 status collapsed
15499
15500 \begin_layout Plain Layout
15501 File formats ! PostScript
15502 \end_layout
15503
15504 \end_inset
15505
15506
15507 \end_layout
15508
15509 \begin_layout Standard
15510 This file type has the extension 
15511 \begin_inset Quotes eld
15512 \end_inset
15513
15514
15515 \family typewriter
15516 .ps
15517 \family default
15518
15519 \begin_inset Quotes erd
15520 \end_inset
15521
15522 .
15523  PostScript was developed by the company 
15524 \family typewriter
15525 Adobe
15526 \family default
15527  as a printer language.
15528  The file therefore contains commands that the printer uses to print the
15529  file.
15530  PostScript can be seen as a 
15531 \begin_inset Quotes eld
15532 \end_inset
15533
15534 programming language
15535 \begin_inset Quotes erd
15536 \end_inset
15537
15538 ; you can calculate with it and draw diagrams and images.
15539 \begin_inset Foot
15540 status collapsed
15541
15542 \begin_layout Plain Layout
15543 If you are interested in learning more about this, have a look at the \SpecialChar LaTeX
15544 -package
15545  
15546 \series bold
15547 pstricks
15548 \series default
15549
15550 \begin_inset Index idx
15551 status collapsed
15552
15553 \begin_layout Plain Layout
15554 \SpecialChar LaTeX
15555  packages ! pstricks
15556 \end_layout
15557
15558 \end_inset
15559
15560 .
15561 \end_layout
15562
15563 \end_inset
15564
15565  As a result of this, the files are often bigger than PDFs.
15566 \end_layout
15567
15568 \begin_layout Standard
15569 PostScript can only contain images in the format 
15570 \begin_inset Quotes eld
15571 \end_inset
15572
15573 Encapsulated PostScript
15574 \begin_inset Quotes erd
15575 \end_inset
15576
15577  (EPS, file extension 
15578 \begin_inset Quotes eld
15579 \end_inset
15580
15581
15582 \family typewriter
15583 .eps
15584 \family default
15585
15586 \begin_inset Quotes erd
15587 \end_inset
15588
15589 ).
15590  As \SpecialChar LyX
15591  allows you to use any known image format in your document, it has to
15592  convert them in the background to EPS.
15593  If, for example, you have 50
15594 \begin_inset space ~
15595 \end_inset
15596
15597 images in your document, \SpecialChar LyX
15598  has to do 50
15599 \begin_inset space ~
15600 \end_inset
15601
15602 conversions when you view or export your document the first time.
15603  This might slow down your workflow with \SpecialChar LyX
15604 .
15605  So if you plan to use PostScript, you can insert your images directly as
15606  EPS to avoid this problem.
15607 \end_layout
15608
15609 \begin_layout Standard
15610 You can export to PostScript using the menu 
15611 \family sans
15612 File\SpecialChar menuseparator
15613 Export\SpecialChar menuseparator
15614 PostScript
15615 \family default
15616 .
15617 \end_layout
15618
15619 \begin_layout Subsubsection
15620 PDF
15621 \begin_inset Index idx
15622 status collapsed
15623
15624 \begin_layout Plain Layout
15625 File formats ! PDF
15626 \end_layout
15627
15628 \end_inset
15629
15630
15631 \begin_inset Index idx
15632 status collapsed
15633
15634 \begin_layout Plain Layout
15635 PDF
15636 \end_layout
15637
15638 \end_inset
15639
15640
15641 \end_layout
15642
15643 \begin_layout Standard
15644 This file type has the extension 
15645 \begin_inset Quotes eld
15646 \end_inset
15647
15648
15649 \family typewriter
15650 .pdf
15651 \family default
15652
15653 \begin_inset Quotes erd
15654 \end_inset
15655
15656 .
15657  The 
15658 \begin_inset Quotes eld
15659 \end_inset
15660
15661 Portable Document Format
15662 \begin_inset Quotes erd
15663 \end_inset
15664
15665  (PDF) developed by 
15666 \family typewriter
15667 Adobe
15668 \family default
15669  was derived from PostScript.
15670  It is more compressed and it uses fewer commands than PostScript.
15671  As the name 
15672 \begin_inset Quotes eld
15673 \end_inset
15674
15675 portable
15676 \begin_inset Quotes erd
15677 \end_inset
15678
15679  implies, it can be processed on any computer system and the printed output
15680  looks exactly the same.
15681 \end_layout
15682
15683 \begin_layout Standard
15684 PDF can contain images in its own PDF format and in the formats 
15685 \begin_inset Quotes eld
15686 \end_inset
15687
15688 Joint Photographic Experts Group
15689 \begin_inset Quotes erd
15690 \end_inset
15691
15692  (JPG, file extension 
15693 \begin_inset Quotes eld
15694 \end_inset
15695
15696
15697 \family typewriter
15698 .jpg
15699 \family default
15700
15701 \begin_inset Quotes erd
15702 \end_inset
15703
15704  or 
15705 \begin_inset Quotes eld
15706 \end_inset
15707
15708
15709 \family typewriter
15710 .jpeg
15711 \family default
15712
15713 \begin_inset Quotes erd
15714 \end_inset
15715
15716 ) and 
15717 \begin_inset Quotes eld
15718 \end_inset
15719
15720 Portable Network Graphics
15721 \begin_inset Quotes erd
15722 \end_inset
15723
15724  (PNG, file extension 
15725 \begin_inset Quotes eld
15726 \end_inset
15727
15728
15729 \family typewriter
15730 .png
15731 \family default
15732
15733 \begin_inset Quotes erd
15734 \end_inset
15735
15736 ).
15737  You can also use any other image format, because \SpecialChar LyX
15738  converts them in the
15739  background to one of these formats.
15740  But as described in the section about PostScript, the image conversion
15741  will slow down your workflow.
15742  So we recommend using images in one of the three formats mentioned above.
15743 \end_layout
15744
15745 \begin_layout Standard
15746 You can export your document to PDF via the menu 
15747 \family sans
15748 File\SpecialChar menuseparator
15749 Export
15750 \family default
15751  in different ways:
15752 \end_layout
15753
15754 \begin_layout Description
15755 PDF
15756 \begin_inset space ~
15757 \end_inset
15758
15759 (pdflatex) This uses the program 
15760 \family typewriter
15761 pdftex
15762 \family default
15763  which converts your file directly to PDF.
15764 \end_layout
15765
15766 \begin_layout Description
15767 PDF
15768 \begin_inset space ~
15769 \end_inset
15770
15771 (Lua
15772 \family sans
15773 TeX
15774 \family default
15775 ) This uses the program 
15776 \family typewriter
15777 Lua\SpecialChar TeX
15778
15779 \family default
15780  which converts your file directly to PDF.
15781  
15782 \family typewriter
15783 Lua\SpecialChar TeX
15784
15785 \family default
15786  is a new engine, derived from 
15787 \family typewriter
15788 pdflatex
15789 \family default
15790 , that also provides direct Unicode support and support for direct font
15791  access (see section
15792 \begin_inset space ~
15793 \end_inset
15794
15795
15796 \begin_inset CommandInset ref
15797 LatexCommand ref
15798 reference "subsec:LaTeX-font-support"
15799
15800 \end_inset
15801
15802 ).
15803  Lua\SpecialChar TeX
15804  is still a work in progress, but it might develop into the next standard
15805  \SpecialChar TeX
15806  processor.
15807 \end_layout
15808
15809 \begin_layout Description
15810 PDF
15811 \begin_inset space ~
15812 \end_inset
15813
15814 (Xe
15815 \family sans
15816 TeX
15817 \family default
15818 ) This uses the program 
15819 \family typewriter
15820 Xe\SpecialChar TeX
15821
15822 \family default
15823  that converts your file directly to PDF.
15824  
15825 \family typewriter
15826 Xe\SpecialChar TeX
15827
15828 \family default
15829  is a new engine that provides direct Unicode support and support for direct
15830  font access (see section
15831 \begin_inset space ~
15832 \end_inset
15833
15834
15835 \begin_inset CommandInset ref
15836 LatexCommand ref
15837 reference "subsec:LaTeX-font-support"
15838
15839 \end_inset
15840
15841 ).
15842  It is particularly good at typesetting different scripts, for example,
15843  vertically written Japanese.
15844 \end_layout
15845
15846 \begin_layout Description
15847 PDF
15848 \begin_inset space ~
15849 \end_inset
15850
15851 (cropped) This is the same as 
15852 \family sans
15853 PDF
15854 \begin_inset space ~
15855 \end_inset
15856
15857 (pdflatex)
15858 \family default
15859  but the result is a PDF with cropped page margins.
15860  This is for example useful if you want to use \SpecialChar LyX
15861  to generate good-looking
15862  formulas to use them in other programs like for presentations.
15863 \end_layout
15864
15865 \begin_layout Description
15866 PDF
15867 \begin_inset space ~
15868 \end_inset
15869
15870 (dvipdfm) This uses the program 
15871 \family typewriter
15872 dvipdfm
15873 \family default
15874  that converts your file in the background to DVI and in a second step to
15875  PDF.
15876 \end_layout
15877
15878 \begin_layout Description
15879 PDF
15880 \begin_inset space ~
15881 \end_inset
15882
15883 (ps2pdf) This uses the program 
15884 \family typewriter
15885 ps2pdf
15886 \family default
15887  that creates a PDF from a PostScript-version of your file.
15888  The PostScript-version is produced by the program 
15889 \family typewriter
15890 dvips
15891 \family default
15892  which uses a DVI-version as intermediate step.
15893  So this export variant consists of three conversions.
15894 \end_layout
15895
15896 \begin_layout Standard
15897 We recommend using 
15898 \family sans
15899 PDF
15900 \begin_inset space ~
15901 \end_inset
15902
15903 (pdflatex)
15904 \family default
15905  because 
15906 \family typewriter
15907 pdftex
15908 \family default
15909  supports all the features of actual PDF-versions, is quick, stable, and
15910  works without problems.
15911  If you rely on multiscript support and\SpecialChar breakableslash
15912 or specific OpenType fonts, you might
15913  want to try out 
15914 \family sans
15915 PDF
15916 \begin_inset space ~
15917 \end_inset
15918
15919 (XeTeX)
15920 \family default
15921  or 
15922 \family sans
15923 PDF
15924 \begin_inset space ~
15925 \end_inset
15926
15927 (LuaTeX)
15928 \family default
15929  instead, bearing in mind that these two programs are not yet as mature
15930  as 
15931 \family typewriter
15932 pdflatex
15933 \family default
15934 .
15935 \end_layout
15936
15937 \begin_layout Subsubsection
15938 XHTML
15939 \begin_inset Index idx
15940 status collapsed
15941
15942 \begin_layout Plain Layout
15943 FileFormats ! XHTML
15944 \end_layout
15945
15946 \end_inset
15947
15948
15949 \begin_inset Index idx
15950 status collapsed
15951
15952 \begin_layout Plain Layout
15953 HTML
15954 \end_layout
15955
15956 \end_inset
15957
15958
15959 \end_layout
15960
15961 \begin_layout Standard
15962 This file type has the extension 
15963 \begin_inset Quotes eld
15964 \end_inset
15965
15966
15967 \family typewriter
15968 .xhtml
15969 \family default
15970
15971 \begin_inset Quotes erd
15972 \end_inset
15973
15974 .
15975  It is a file suitable for viewing in web browsers.
15976  It does not itself contain images and the like but only links to them.
15977  When \SpecialChar LyX
15978  produces XHTML, it also generates corresponding images in formats
15979  suitable for the purpose.
15980  For the math output you can choose in the menu 
15981 \family sans
15982 Document\SpecialChar menuseparator
15983 Settings\SpecialChar menuseparator
15984 Output
15985 \family default
15986  between different formats, which are described in section 
15987 \emph on
15988 Math Output in XHTML
15989 \emph default
15990  of the 
15991 \emph on
15992 Additional
15993 \begin_inset space ~
15994 \end_inset
15995
15996 Features
15997 \emph default
15998  manual.
15999 \end_layout
16000
16001 \begin_layout Standard
16002 XHTML output remains 
16003 \begin_inset Quotes eld
16004 \end_inset
16005
16006 under development
16007 \begin_inset Quotes erd
16008 \end_inset
16009
16010 , and not all \SpecialChar LyX
16011  features are supported yet.
16012  See the chapter 
16013 \emph on
16014 \SpecialChar LyX
16015  and the World Wide Web
16016 \emph default
16017 , in the 
16018 \emph on
16019 Additional Features
16020 \emph default
16021  manual, for more information.
16022 \end_layout
16023
16024 \begin_layout Standard
16025 You can export your document as an XHTML file using the menu item 
16026 \family sans
16027 File\SpecialChar menuseparator
16028 Export\SpecialChar menuseparator
16029 LyXHTML
16030 \family default
16031 .
16032 \end_layout
16033
16034 \begin_layout Subsection
16035 Previewing
16036 \begin_inset Index idx
16037 status collapsed
16038
16039 \begin_layout Plain Layout
16040 Document ! Preview 
16041 \end_layout
16042
16043 \end_inset
16044
16045
16046 \end_layout
16047
16048 \begin_layout Standard
16049 To get a look at the final version of your document, with all of the page
16050  breaks in place, the footnotes correctly numbered, and so on, use the menu
16051  
16052 \family sans
16053 Document
16054 \family default
16055  and choose 
16056 \family sans
16057 View
16058 \family default
16059  or use the toolbar button 
16060 \begin_inset Info
16061 type  "icon"
16062 arg   "buffer-view"
16063 \end_inset
16064
16065 .
16066  A viewing program will pop up showing the output in the defined default
16067  output format, which is globally set in the preferences (see section
16068 \begin_inset space ~
16069 \end_inset
16070
16071
16072 \begin_inset CommandInset ref
16073 LatexCommand ref
16074 reference "sec:File-Formats"
16075
16076 \end_inset
16077
16078 ) and can also be altered for single documents in the document settings
16079  (see section
16080 \begin_inset space ~
16081 \end_inset
16082
16083
16084 \begin_inset CommandInset ref
16085 LatexCommand ref
16086 reference "sec:Doc-Formats"
16087
16088 \end_inset
16089
16090 ).
16091  Further output formats can be selected via 
16092 \family sans
16093 Document\SpecialChar menuseparator
16094 View (Other Formats)
16095 \family default
16096  or the toolbar button 
16097 \begin_inset Info
16098 type  "icon"
16099 arg   "view-others"
16100 \end_inset
16101
16102 .
16103 \end_layout
16104
16105 \begin_layout Standard
16106 If you have changed your document, you can refresh the output in the same
16107  viewer window using the menu 
16108 \family sans
16109 Document\SpecialChar menuseparator
16110 Update
16111 \family default
16112  or 
16113 \family sans
16114 Document\SpecialChar menuseparator
16115 Update (Other Formats)
16116 \family default
16117 , respectively.
16118 \end_layout
16119
16120 \begin_layout Standard
16121 When you preview a file, the output file is only generated in \SpecialChar LyX
16122 's temporary
16123  directory.
16124  To have a real output, export your document.
16125 \end_layout
16126
16127 \begin_layout Section
16128 A few Words about Typography
16129 \begin_inset Index idx
16130 status collapsed
16131
16132 \begin_layout Plain Layout
16133 Typography
16134 \end_layout
16135
16136 \end_inset
16137
16138
16139 \end_layout
16140
16141 \begin_layout Subsection
16142 Hyphens, Dashes and Minus Signs
16143 \begin_inset Index idx
16144 status collapsed
16145
16146 \begin_layout Plain Layout
16147 Hyphens
16148 \end_layout
16149
16150 \end_inset
16151
16152
16153 \begin_inset Index idx
16154 status collapsed
16155
16156 \begin_layout Plain Layout
16157 Dashes
16158 \end_layout
16159
16160 \end_inset
16161
16162
16163 \end_layout
16164
16165 \begin_layout Standard
16166 In \SpecialChar LyX
16167 , the 
16168 \begin_inset Quotes eld
16169 \end_inset
16170
16171
16172 \family typewriter
16173 -
16174 \family default
16175
16176 \begin_inset Quotes erd
16177 \end_inset
16178
16179  symbol comes in four variants: the 
16180 \emph on
16181 hyphen
16182 \emph default
16183 , the 
16184 \emph on
16185 en dash
16186 \emph default
16187 , the 
16188 \emph on
16189 em dash
16190 \emph default
16191 , and the 
16192 \emph on
16193 minus sign
16194 \emph default
16195 :
16196 \begin_inset VSpace defskip
16197 \end_inset
16198
16199
16200 \end_layout
16201
16202 \begin_layout Standard
16203 \begin_inset Box Frameless
16204 position "t"
16205 hor_pos "c"
16206 has_inner_box 1
16207 inner_pos "t"
16208 use_parbox 0
16209 use_makebox 0
16210 width "100col%"
16211 special "none"
16212 height "1in"
16213 height_special "totalheight"
16214 thickness "0.4pt"
16215 separation "3pt"
16216 shadowsize "4pt"
16217 framecolor "black"
16218 backgroundcolor "none"
16219 status open
16220
16221 \begin_layout Plain Layout
16222 \begin_inset Tabular
16223 <lyxtabular version="3" rows="5" columns="3">
16224 <features tabularvalignment="middle">
16225 <column alignment="left" valignment="top" width="0pt">
16226 <column alignment="left" valignment="top">
16227 <column alignment="left" valignment="top">
16228 <row interlinespace="3mm">
16229 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
16230 \begin_inset Text
16231
16232 \begin_layout Plain Layout
16233 name
16234 \end_layout
16235
16236 \end_inset
16237 </cell>
16238 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16239 \begin_inset Text
16240
16241 \begin_layout Plain Layout
16242 output
16243 \end_layout
16244
16245 \end_inset
16246 </cell>
16247 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16248 \begin_inset Text
16249
16250 \begin_layout Plain Layout
16251 inserted with
16252 \end_layout
16253
16254 \end_inset
16255 </cell>
16256 </row>
16257 <row interlinespace="3mm">
16258 <cell alignment="left" valignment="top" usebox="none">
16259 \begin_inset Text
16260
16261 \begin_layout Plain Layout
16262 hyphen
16263 \end_layout
16264
16265 \end_inset
16266 </cell>
16267 <cell alignment="center" valignment="top" usebox="none">
16268 \begin_inset Text
16269
16270 \begin_layout Plain Layout
16271 -
16272 \end_layout
16273
16274 \end_inset
16275 </cell>
16276 <cell alignment="center" valignment="top" usebox="none">
16277 \begin_inset Text
16278
16279 \begin_layout Plain Layout
16280 \begin_inset Quotes eld
16281 \end_inset
16282
16283
16284 \family typewriter
16285 -
16286 \family default
16287
16288 \begin_inset Quotes erd
16289 \end_inset
16290
16291  in text
16292 \end_layout
16293
16294 \end_inset
16295 </cell>
16296 </row>
16297 <row interlinespace="3mm">
16298 <cell alignment="left" valignment="top" usebox="none">
16299 \begin_inset Text
16300
16301 \begin_layout Plain Layout
16302 en dash
16303 \end_layout
16304
16305 \end_inset
16306 </cell>
16307 <cell alignment="center" valignment="top" usebox="none">
16308 \begin_inset Text
16309
16310 \begin_layout Plain Layout
16311
16312 \end_layout
16313
16314 \end_inset
16315 </cell>
16316 <cell alignment="center" valignment="top" usebox="none">
16317 \begin_inset Text
16318
16319 \begin_layout Plain Layout
16320 system key combination
16321 \begin_inset Foot
16322 status collapsed
16323
16324 \begin_layout Plain Layout
16325 On Mac and Linux, the en dash is entered with 
16326 \family sans
16327 Opt+
16328 \begin_inset Quotes eld
16329 \end_inset
16330
16331 -
16332 \begin_inset Quotes erd
16333 \end_inset
16334
16335
16336 \family default
16337  and the em dash with 
16338 \family sans
16339 Shift-Opt+
16340 \begin_inset Quotes erd
16341 \end_inset
16342
16343 -
16344 \begin_inset Quotes erd
16345 \end_inset
16346
16347
16348 \family default
16349  (
16350 \family sans
16351 Opt
16352 \family default
16353  is the Mac label for the right 
16354 \family sans
16355 Alt 
16356 \family default
16357 key).
16358  
16359 \end_layout
16360
16361 \end_inset
16362
16363  or 
16364 \begin_inset Quotes eld
16365 \end_inset
16366
16367 --
16368 \begin_inset Quotes erd
16369 \end_inset
16370
16371  in text
16372 \end_layout
16373
16374 \end_inset
16375 </cell>
16376 </row>
16377 <row interlinespace="3mm">
16378 <cell alignment="left" valignment="top" usebox="none">
16379 \begin_inset Text
16380
16381 \begin_layout Plain Layout
16382 em dash
16383 \end_layout
16384
16385 \end_inset
16386 </cell>
16387 <cell alignment="center" valignment="top" usebox="none">
16388 \begin_inset Text
16389
16390 \begin_layout Plain Layout
16391
16392 \end_layout
16393
16394 \end_inset
16395 </cell>
16396 <cell alignment="center" valignment="top" usebox="none">
16397 \begin_inset Text
16398
16399 \begin_layout Plain Layout
16400 system key combination or 
16401 \begin_inset Quotes eld
16402 \end_inset
16403
16404 ---
16405 \begin_inset Quotes erd
16406 \end_inset
16407
16408  in text
16409 \end_layout
16410
16411 \end_inset
16412 </cell>
16413 </row>
16414 <row>
16415 <cell alignment="left" valignment="top" usebox="none">
16416 \begin_inset Text
16417
16418 \begin_layout Plain Layout
16419 minus sign
16420 \end_layout
16421
16422 \end_inset
16423 </cell>
16424 <cell alignment="center" valignment="top" usebox="none">
16425 \begin_inset Text
16426
16427 \begin_layout Plain Layout
16428 \begin_inset Formula $-$
16429 \end_inset
16430
16431
16432 \end_layout
16433
16434 \end_inset
16435 </cell>
16436 <cell alignment="center" valignment="top" usebox="none">
16437 \begin_inset Text
16438
16439 \begin_layout Plain Layout
16440 \begin_inset Quotes eld
16441 \end_inset
16442
16443
16444 \family typewriter
16445 -
16446 \family default
16447
16448 \begin_inset Quotes erd
16449 \end_inset
16450
16451  in math mode
16452 \end_layout
16453
16454 \end_inset
16455 </cell>
16456 </row>
16457 </lyxtabular>
16458
16459 \end_inset
16460
16461
16462 \end_layout
16463
16464 \end_inset
16465
16466
16467 \begin_inset VSpace defskip
16468 \end_inset
16469
16470
16471 \end_layout
16472
16473 \begin_layout Standard
16474 Dashes can also be inserted with 
16475 \family sans
16476 Insert\SpecialChar menuseparator
16477 Special
16478 \begin_inset space ~
16479 \end_inset
16480
16481 Character\SpecialChar menuseparator
16482 Symbols
16483 \family default
16484  or using the 
16485 \family typewriter
16486 unicode-insert
16487 \family default
16488  \SpecialChar LyX
16489  function with the Unicode code point as argument (2013 for the em dash
16490  and 2014 for the en dash).
16491 \end_layout
16492
16493 \begin_layout Standard
16494 Hyphen and dashes are distinct from the minus sign, which appears in math
16495  mode and has a length of its own.
16496  Here are some examples:
16497 \end_layout
16498
16499 \begin_layout Enumerate
16500 line- and page-breaks
16501 \begin_inset space \hfill{}
16502 \end_inset
16503
16504 (
16505 \emph on
16506 hyphen
16507 \emph default
16508 )
16509 \end_layout
16510
16511 \begin_layout Enumerate
16512 A–Z; pages
16513 \begin_inset space ~
16514 \end_inset
16515
16516 369–378
16517 \begin_inset space \hfill{}
16518 \end_inset
16519
16520 (
16521 \emph on
16522 en dash
16523 \emph default
16524 )
16525 \end_layout
16526
16527 \begin_layout Enumerate
16528 The em dash is used without spaces: Oh—there's a dash.
16529 \begin_inset space \hfill{}
16530 \end_inset
16531
16532 (
16533 \emph on
16534 em dash
16535 \emph default
16536 )
16537 \end_layout
16538
16539 \begin_layout Enumerate
16540 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
16541 \end_inset
16542
16543
16544 \begin_inset space \hfill{}
16545 \end_inset
16546
16547 (
16548 \emph on
16549 minus sign
16550 \emph default
16551 )
16552 \end_layout
16553
16554 \begin_layout Standard
16555 See also the 
16556 \begin_inset CommandInset href
16557 LatexCommand href
16558 name "Wikipedia entry on dashes"
16559 target "https://en.wikipedia.org/wiki/Dash"
16560 literal "false"
16561
16562 \end_inset
16563
16564 .
16565 \end_layout
16566
16567 \begin_layout Subsection
16568 Dashes and Line Breaks
16569 \begin_inset CommandInset label
16570 LatexCommand label
16571 name "subsec:Dashes-and-line-breaks"
16572
16573 \end_inset
16574
16575
16576 \end_layout
16577
16578 \begin_layout Standard
16579 Whether line breaks before or after dashes are allowed depends on the use
16580  case and locale, e.
16581 \begin_inset space \thinspace{}
16582 \end_inset
16583
16584 g.:
16585 \end_layout
16586
16587 \begin_layout Itemize
16588 In English, line breaks are generally allowed after the dash, but no line
16589  break should occur if only a single character follows the dash (as in A–Z).
16590 \end_layout
16591
16592 \begin_layout Itemize
16593 In English, dashes used to set off parenthetical statements should not start
16594  a new line.
16595 \end_layout
16596
16597 \begin_layout Itemize
16598 In French and Spanish, dashes around parenthetical statements are treated
16599  similar to brackets: line breaks are not allowed on the inner side.
16600 \end_layout
16601
16602 \begin_layout Standard
16603 By default, dashes are output by \SpecialChar LyX
16604  to \SpecialChar LaTeX
16605  as 
16606 \begin_inset Quotes eld
16607 \end_inset
16608
16609 ligature dashes
16610 \begin_inset Quotes erd
16611 \end_inset
16612
16613  (-- and ---).
16614  \SpecialChar LaTeX
16615  allows line breaks after hyphens, en-dashes and em-dashes.
16616 \end_layout
16617
16618 \begin_layout Enumerate
16619 Line breaks before spaced en dashes
16620 \begin_inset space ~
16621 \end_inset
16622
16623 – common in British English and generally recommended by 
16624 \emph on
16625 The Elements of Typographic Style
16626 \emph default
16627
16628 \begin_inset space ~
16629 \end_inset
16630
16631 – can be prevented using protected spaces.
16632 \end_layout
16633
16634 \begin_layout Enumerate
16635 Unwanted line breaks after dashes can be prevented by wrapping in a makebox
16636 \begin_inset Foot
16637 status collapsed
16638
16639 \begin_layout Plain Layout
16640 See section 
16641 \emph on
16642 Prevent Hyphenation
16643 \emph default
16644  of the 
16645 \emph on
16646 Embedded
16647 \begin_inset space ~
16648 \end_inset
16649
16650 Objects
16651 \emph default
16652  manual.
16653 \end_layout
16654
16655 \end_inset
16656
16657  or preceding with 
16658 \series bold
16659
16660 \backslash
16661 nobreakdash
16662 \series default
16663  in \SpecialChar TeX
16664  code.
16665  Examples:
16666 \end_layout
16667
16668 \begin_deeper
16669 \begin_layout Itemize
16670 Pages
16671 \begin_inset space ~
16672 \end_inset
16673
16674
16675 \begin_inset Box Frameless
16676 position "t"
16677 hor_pos "c"
16678 has_inner_box 1
16679 inner_pos "t"
16680 use_parbox 0
16681 use_makebox 1
16682 width ""
16683 special "none"
16684 height "1in"
16685 height_special "totalheight"
16686 thickness "0.4pt"
16687 separation "3pt"
16688 shadowsize "4pt"
16689 framecolor "black"
16690 backgroundcolor "none"
16691 status open
16692
16693 \begin_layout Plain Layout
16694 36–39
16695 \end_layout
16696
16697 \end_inset
16698
16699
16700 \end_layout
16701
16702 \begin_layout Itemize
16703
16704 \lang french
16705 Les incises 
16706 \begin_inset Box Frameless
16707 position "t"
16708 hor_pos "c"
16709 has_inner_box 1
16710 inner_pos "t"
16711 use_parbox 0
16712 use_makebox 1
16713 width ""
16714 special "none"
16715 height "1in"
16716 height_special "totalheight"
16717 thickness "0.4pt"
16718 separation "3pt"
16719 shadowsize "4pt"
16720 framecolor "black"
16721 backgroundcolor "none"
16722 status open
16723
16724 \begin_layout Plain Layout
16725
16726 \lang french
16727
16728 \begin_inset space ~
16729 \end_inset
16730
16731 même
16732 \end_layout
16733
16734 \end_inset
16735
16736  si tout le monde ne les aime pas
16737 \begin_inset space ~
16738 \end_inset
16739
16740 – sont très utiles.
16741 \end_layout
16742
16743 \begin_layout Itemize
16744
16745 \lang spanish
16746 En una frase 
16747 \begin_inset ERT
16748 status collapsed
16749
16750 \begin_layout Plain Layout
16751
16752
16753 \backslash
16754 nobreakdash
16755 \end_layout
16756
16757 \end_inset
16758
16759 —un inciso con rayas— se escribe así.
16760 \end_layout
16761
16762 \end_deeper
16763 \begin_layout Standard
16764 An incorrect line break is easily overlooked because
16765 \begin_inset space ~
16766 \end_inset
16767
16768 – in contrast to an overfull line
16769 \begin_inset space ~
16770 \end_inset
16771
16772 – it does not trigger a warning in the \SpecialChar LaTeX
16773  log.
16774 \end_layout
16775
16776 \begin_layout Standard
16777 If you want to globally disable line breaks after dashes, you can select
16778  the option 
16779 \family sans
16780 Document\SpecialChar menuseparator
16781 Settings\SpecialChar menuseparator
16782 Fonts\SpecialChar menuseparator
16783 Disallow line breaks after dashes
16784 \family default
16785 :
16786 \end_layout
16787
16788 \begin_layout Enumerate
16789 Line breaks are still allowed after spaced dashes.
16790  They can be prevented using protected spaces (without need for a makebox
16791  or \SpecialChar TeX
16792  code).
16793  Example:
16794 \end_layout
16795
16796 \begin_deeper
16797 \begin_layout Itemize
16798
16799 \lang french
16800 Les incises –
16801 \begin_inset space ~
16802 \end_inset
16803
16804 même si tout le monde ne les aime pas
16805 \begin_inset space ~
16806 \end_inset
16807
16808 – sont très utiles.
16809 \end_layout
16810
16811 \end_deeper
16812 \begin_layout Enumerate
16813 Line breaks after unspaced dashes can be allowed via the menu
16814 \begin_inset Newline newline
16815 \end_inset
16816
16817
16818 \family sans
16819 Insert\SpecialChar menuseparator
16820 Formatting\SpecialChar menuseparator
16821 Optional line break
16822 \family default
16823 :
16824 \end_layout
16825
16826 \begin_deeper
16827 \begin_layout Itemize
16828 Em-dashes without spaces—\SpecialChar allowbreak
16829 common in American English—\SpecialChar allowbreak
16830 should be followed by
16831  a line break opportunity.
16832 \end_layout
16833
16834 \begin_layout Standard
16835 This also allows hyphenation of the word following the dash (see section
16836 \begin_inset space ~
16837 \end_inset
16838
16839
16840 \begin_inset CommandInset ref
16841 LatexCommand ref
16842 reference "subsec:Hyphenation"
16843 plural "false"
16844 caps "false"
16845 noprefix "false"
16846
16847 \end_inset
16848
16849 ).
16850 \end_layout
16851
16852 \end_deeper
16853 \begin_layout Enumerate
16854 With this setting, \SpecialChar LaTeX
16855  hyphenates words also if immediately followed by em
16856  or en dashes (see section
16857 \begin_inset space ~
16858 \end_inset
16859
16860
16861 \begin_inset CommandInset ref
16862 LatexCommand ref
16863 reference "subsec:Hyphenation"
16864 plural "false"
16865 caps "false"
16866 noprefix "false"
16867
16868 \end_inset
16869
16870 ).
16871 \end_layout
16872
16873 \begin_layout Subsubsection
16874 Changes and backwards compatibility
16875 \end_layout
16876
16877 \begin_layout Standard
16878 Up to \SpecialChar LyX
16879
16880 \begin_inset space ~
16881 \end_inset
16882
16883 2.1, consecutive hyphen characters (-- and ---) in the LyX source were merged
16884  to en or em dashes by LaTeX.
16885  These 
16886 \begin_inset Quotes eld
16887 \end_inset
16888
16889 ligature dashes
16890 \begin_inset Quotes erd
16891 \end_inset
16892
16893  retain the line-break properties of hyphens while literal dash characters
16894  are regarded by \SpecialChar LaTeX
16895  as 
16896 \emph on
16897 non-breakable
16898 \emph default
16899 .
16900 \end_layout
16901
16902 \begin_layout Standard
16903 Since \SpecialChar LyX
16904
16905 \begin_inset space ~
16906 \end_inset
16907
16908 2.2, consecutive hyphens in the LyX source are exported to \SpecialChar LaTeX
16909  in a way that
16910  prevents ligation to dashes.
16911  
16912 \begin_inset Quotes eld
16913 \end_inset
16914
16915 Ligature dashes
16916 \begin_inset Quotes erd
16917 \end_inset
16918
16919  in documents from earlier versions are converted to literal dash characters
16920  (except in 
16921 \family typewriter
16922 typewriter
16923 \family default
16924  font); typed in consecutive hyphens are merged to dash characters immediately
16925  after the input (unless the current text font is 
16926 \family typewriter
16927 type
16928 \family default
16929 writer).
16930 \begin_inset Foot
16931 status open
16932
16933 \begin_layout Plain Layout
16934 The behavior was changed since 
16935 \begin_inset Quotes eld
16936 \end_inset
16937
16938 lyx --help
16939 \begin_inset Quotes erd
16940 \end_inset
16941
16942  became 
16943 \begin_inset Quotes eld
16944 \end_inset
16945
16946 lyx –help
16947 \begin_inset Quotes erd
16948 \end_inset
16949
16950  in PDF, Postscript, and DVI output.
16951  An unintended consequence of these changes was that all dashes were output
16952  as non-breakable dashes.
16953  This also resulted in changed line breaks in some older documents.
16954  
16955 \end_layout
16956
16957 \end_inset
16958
16959
16960 \end_layout
16961
16962 \begin_layout Standard
16963 \SpecialChar LyX
16964
16965 \begin_inset space ~
16966 \end_inset
16967
16968 2.3 outputs 
16969 \emph on
16970 breakable
16971 \emph default
16972  dashes by default.
16973  When opening documents edited with \SpecialChar LyX
16974
16975 \begin_inset space ~
16976 \end_inset
16977
16978 2.2 or earlier and containing literal dash characters not followed by whitespace,
16979  the setting 
16980 \family sans
16981 Document\SpecialChar menuseparator
16982 Settings\SpecialChar menuseparator
16983 Fonts\SpecialChar menuseparator
16984 Disallow line breaks after dashes
16985 \family default
16986  is active to prevent changes to the line breaks.
16987 \series bold
16988 Warning:
16989 \series default
16990  If you used both literal and 
16991 \begin_inset Quotes eld
16992 \end_inset
16993
16994 ligature
16995 \begin_inset Quotes erd
16996 \end_inset
16997
16998  dashes in pre-\SpecialChar LyX
16999
17000 \begin_inset space ~
17001 \end_inset
17002
17003 2.2 documents, you may need to enable or prevent individual line breaks as
17004  shown above to restore the correct line breaking behavior.
17005 \end_layout
17006
17007 \begin_layout Subsection
17008 Hyphenation
17009 \begin_inset Index idx
17010 status collapsed
17011
17012 \begin_layout Plain Layout
17013 Hyphenation
17014 \end_layout
17015
17016 \end_inset
17017
17018
17019 \begin_inset CommandInset label
17020 LatexCommand label
17021 name "subsec:Hyphenation"
17022
17023 \end_inset
17024
17025
17026 \end_layout
17027
17028 \begin_layout Standard
17029 Words are not hyphenated within \SpecialChar LyX
17030  but automatically in the output.
17031  Hyphenation is done by the \SpecialChar LaTeX
17032 -package 
17033 \series bold
17034 babel
17035 \series default
17036
17037 \begin_inset Index idx
17038 status collapsed
17039
17040 \begin_layout Plain Layout
17041 \SpecialChar LaTeX
17042  packages ! babel
17043 \end_layout
17044
17045 \end_inset
17046
17047  following the rules of the document language.
17048  \SpecialChar LaTeX
17049  does not hyphenate text in the 
17050 \family sans
17051 typewriter
17052 \family default
17053  font and words immediately preceded or followed by hyphens or dashes.
17054 \end_layout
17055
17056 \begin_layout Standard
17057 \SpecialChar LaTeX
17058  hyphenates almost perfectly; it only has problems with text in the 
17059 \family sans
17060 typewriter
17061 \family default
17062  font and with unusual constructs, like 
17063 \begin_inset Quotes eld
17064 \end_inset
17065
17066 h3knix/m0n0wall
17067 \begin_inset Quotes erd
17068 \end_inset
17069
17070 .
17071  If \SpecialChar LaTeX
17072  cannot break a word correctly, you can set hyphenation points manually.
17073  This is done with the menu 
17074 \family sans
17075 Insert\SpecialChar menuseparator
17076 Formatting\SpecialChar menuseparator
17077 Hyphenation
17078 \begin_inset space ~
17079 \end_inset
17080
17081 Point
17082 \family default
17083 .
17084  These extra hyphenation points are only recommendations to \SpecialChar LaTeX
17085 .
17086  If no hyphenation is necessary, \SpecialChar LaTeX
17087  will ignore them.
17088 \end_layout
17089
17090 \begin_layout Standard
17091 Sometimes you want to prevent words or constructs from being hyphenated.
17092  Imagine that you are describing keybindings/shortcuts in your document
17093  in the form 
17094 \begin_inset Quotes eld
17095 \end_inset
17096
17097 A-b c
17098 \begin_inset Quotes erd
17099 \end_inset
17100
17101 .
17102  \SpecialChar LaTeX
17103  would then see the hyphen 
17104 \begin_inset Quotes eld
17105 \end_inset
17106
17107 -
17108 \begin_inset Quotes erd
17109 \end_inset
17110
17111  as a line break possibility.
17112  A line break at this point would look ugly.
17113  To prevent the shortcut from being broken, you can use a protected hyphen
17114  (
17115 \family sans
17116 Insert\SpecialChar menuseparator
17117 Formatting\SpecialChar menuseparator
17118 Protected Hyphen
17119 \family default
17120 ) or put it into a makebox as described in section 
17121 \emph on
17122 Prevent Hyphenation
17123 \emph default
17124  of the 
17125 \emph on
17126 Embedded
17127 \begin_inset space ~
17128 \end_inset
17129
17130 Objects
17131 \emph default
17132  manual.
17133 \end_layout
17134
17135 \begin_layout Subsection
17136 Punctuation Marks
17137 \begin_inset Index idx
17138 status collapsed
17139
17140 \begin_layout Plain Layout
17141 Punctuation marks
17142 \end_layout
17143
17144 \end_inset
17145
17146
17147 \end_layout
17148
17149 \begin_layout Subsubsection
17150 Abbreviations and End of Sentence
17151 \begin_inset CommandInset label
17152 LatexCommand label
17153 name "subsec:Abbreviations"
17154
17155 \end_inset
17156
17157
17158 \end_layout
17159
17160 \begin_layout Standard
17161 When \SpecialChar LyX
17162  calls \SpecialChar LaTeX
17163  to generate the final version of your document, \SpecialChar LaTeX
17164  automatically
17165  distinguishes between words, sentences, and abbreviations.
17166  \SpecialChar LaTeX
17167  then adds the 
17168 \begin_inset Quotes eld
17169 \end_inset
17170
17171 appropriate amount of space.
17172 \begin_inset Quotes erd
17173 \end_inset
17174
17175  That means sentences get a little bit more space between the period and
17176  the next word.
17177  Abbreviations get the same amount of space after the period that a word
17178  gets after another word.
17179 \end_layout
17180
17181 \begin_layout Standard
17182 Unfortunately, the algorithm for figuring out what's an abbreviation does
17183  not work in all cases.
17184  If a 
17185 \begin_inset Quotes eld
17186 \end_inset
17187
17188
17189 \family typewriter
17190 .
17191 \family default
17192
17193 \begin_inset Quotes erd
17194 \end_inset
17195
17196  is at the end of a lowercase letter, it's the end of a sentence; if it's
17197  at the end of a capitalized letter, it's an abbreviation.
17198 \end_layout
17199
17200 \begin_layout Standard
17201 Here are some examples of 
17202 \emph on
17203 correct
17204 \emph default
17205  abbreviations and of the end of a sentence:
17206 \end_layout
17207
17208 \begin_layout Itemize
17209 M.
17210  Butterfly
17211 \end_layout
17212
17213 \begin_layout Itemize
17214 Don't worry.
17215  Be happy.
17216 \end_layout
17217
17218 \begin_layout Standard
17219 And here is an example of the algorithm going wrong:
17220 \end_layout
17221
17222 \begin_layout Itemize
17223 e.
17224 \begin_inset space \thinspace{}
17225 \end_inset
17226
17227 g.
17228  this is too much space!
17229 \end_layout
17230
17231 \begin_layout Itemize
17232 This is I.
17233  It's okay.
17234 \end_layout
17235
17236 \begin_layout Standard
17237 You will not see anything wrong until you view a final version of your document.
17238 \end_layout
17239
17240 \begin_layout Standard
17241 To fix this problem, use one of the following:
17242 \end_layout
17243
17244 \begin_layout Enumerate
17245 Use an 
17246 \family sans
17247 Inter-word
17248 \begin_inset space ~
17249 \end_inset
17250
17251 Space
17252 \family default
17253  after lowercase abbreviations (see section
17254 \begin_inset space ~
17255 \end_inset
17256
17257
17258 \begin_inset CommandInset ref
17259 LatexCommand ref
17260 reference "subsec:Inter-word-Space"
17261
17262 \end_inset
17263
17264 ).
17265 \begin_inset Index idx
17266 status collapsed
17267
17268 \begin_layout Plain Layout
17269 Spaces ! inter-word
17270 \end_layout
17271
17272 \end_inset
17273
17274
17275 \end_layout
17276
17277 \begin_layout Enumerate
17278 Use a 
17279 \family sans
17280 Thin
17281 \begin_inset space ~
17282 \end_inset
17283
17284 Space
17285 \family default
17286  between two tokens of an abbreviation (see section
17287 \begin_inset space ~
17288 \end_inset
17289
17290
17291 \begin_inset CommandInset ref
17292 LatexCommand ref
17293 reference "subsec:Thin-Space"
17294
17295 \end_inset
17296
17297 ).
17298 \begin_inset Index idx
17299 status collapsed
17300
17301 \begin_layout Plain Layout
17302 Spaces ! thin
17303 \end_layout
17304
17305 \end_inset
17306
17307
17308 \end_layout
17309
17310 \begin_layout Enumerate
17311 Use an 
17312 \family sans
17313 End
17314 \begin_inset space ~
17315 \end_inset
17316
17317 of
17318 \begin_inset space ~
17319 \end_inset
17320
17321 sentence
17322 \begin_inset space ~
17323 \end_inset
17324
17325 period
17326 \family default
17327  found under the 
17328 \family sans
17329 Insert\SpecialChar menuseparator
17330 Special
17331 \begin_inset space ~
17332 \end_inset
17333
17334 Character
17335 \family default
17336  menu to force the use of inter-sentence spacing.
17337  This function is also bound to 
17338 \begin_inset Info
17339 type  "shortcut"
17340 arg   "specialchar-insert end-of-sentence"
17341 \end_inset
17342
17343  for easy access.
17344 \end_layout
17345
17346 \begin_layout Standard
17347 With the corrections, our earlier examples look like this:
17348 \end_layout
17349
17350 \begin_layout Itemize
17351 e.
17352 \begin_inset space \thinspace{}
17353 \end_inset
17354
17355 g.
17356 \begin_inset space \space{}
17357 \end_inset
17358
17359 this is too much space!
17360 \end_layout
17361
17362 \begin_layout Itemize
17363 This is I\SpecialChar endofsentence
17364  It's okay.
17365 \end_layout
17366
17367 \begin_layout Standard
17368 Some languages don't use extra spacing between sentences.
17369  If your language is such a language, you don't need to worry, because \SpecialChar LaTeX
17370
17371  will take care of this.
17372 \end_layout
17373
17374 \begin_layout Standard
17375 For those that do need to bother, there is help to catch those sneaky errors:
17376  Check out the 
17377 \family sans
17378 Check
17379 \begin_inset space ~
17380 \end_inset
17381
17382 \SpecialChar TeX
17383
17384 \family default
17385  feature described in the section 
17386 \emph on
17387 Checking \SpecialChar TeX
17388
17389 \emph default
17390  of the 
17391 \emph on
17392 Additional Features
17393 \emph default
17394  manual.
17395 \end_layout
17396
17397 \begin_layout Subsubsection
17398 Quotation Marks
17399 \begin_inset Index idx
17400 status collapsed
17401
17402 \begin_layout Plain Layout
17403 Typography ! Quotation marks
17404 \end_layout
17405
17406 \end_inset
17407
17408
17409 \begin_inset Index idx
17410 status collapsed
17411
17412 \begin_layout Plain Layout
17413 Quotation marks | see
17414 \begin_inset ERT
17415 status collapsed
17416
17417 \begin_layout Plain Layout
17418
17419 {
17420 \end_layout
17421
17422 \end_inset
17423
17424 Typography
17425 \begin_inset ERT
17426 status collapsed
17427
17428 \begin_layout Plain Layout
17429
17430 }
17431 \end_layout
17432
17433 \end_inset
17434
17435
17436 \end_layout
17437
17438 \end_inset
17439
17440
17441 \end_layout
17442
17443 \begin_layout Standard
17444 \SpecialChar LyX
17445  usually sets quotation marks correctly.
17446  Specifically, it will insert an opening mark at the beginning of quoted
17447  text, and use a closing mark at the end.
17448  For example, 
17449 \begin_inset Quotes eld
17450 \end_inset
17451
17452 open close
17453 \begin_inset Quotes erd
17454 \end_inset
17455
17456 .
17457  The keyboard character, 
17458 \family sans
17459 "
17460 \family default
17461 , generates this automatically.
17462 \end_layout
17463
17464 \begin_layout Standard
17465 You can specify what character the 
17466 \family sans
17467 "
17468 \family default
17469  key produces by using the submenu 
17470 \family sans
17471 Language
17472 \family default
17473  of the 
17474 \family sans
17475 Document\SpecialChar menuseparator
17476 Settings
17477 \family default
17478
17479 \begin_inset Index idx
17480 status collapsed
17481
17482 \begin_layout Plain Layout
17483 Document ! Settings
17484 \end_layout
17485
17486 \end_inset
17487
17488  dialog and switching the 
17489 \family sans
17490 Quote Style
17491 \family default
17492  (note that \SpecialChar LyX
17493  makes a sensible proposal for the selected main language).
17494  There are 14
17495 \begin_inset space ~
17496 \end_inset
17497
17498 choices:
17499 \end_layout
17500
17501 \begin_layout Labeling
17502 \labelwidthstring <<Outer>> and <<inner>>:
17503 \noindent
17504
17505 \family sans
17506 \begin_inset Quotes eld
17507 \end_inset
17508
17509 Outer
17510 \begin_inset Quotes erd
17511 \end_inset
17512
17513
17514 \begin_inset space ~
17515 \end_inset
17516
17517 and
17518 \begin_inset space ~
17519 \end_inset
17520
17521
17522 \begin_inset Quotes els
17523 \end_inset
17524
17525 inner
17526 \begin_inset Quotes ers
17527 \end_inset
17528
17529
17530 \family default
17531  Produces 
17532 \begin_inset Quotes eld
17533 \end_inset
17534
17535 these outer
17536 \begin_inset Quotes erd
17537 \end_inset
17538
17539  and 
17540 \begin_inset Quotes els
17541 \end_inset
17542
17543 these inner
17544 \begin_inset Quotes ers
17545 \end_inset
17546
17547  quotation marks (as common, e.
17548 \begin_inset space \thinspace{}
17549 \end_inset
17550
17551 g., in the US)
17552 \end_layout
17553
17554 \begin_layout Labeling
17555 \labelwidthstring <<Outer>> and <<inner>>:
17556
17557 \family sans
17558 \begin_inset Quotes sld
17559 \end_inset
17560
17561 Outer
17562 \begin_inset Quotes sld
17563 \end_inset
17564
17565
17566 \begin_inset space ~
17567 \end_inset
17568
17569 and
17570 \begin_inset space ~
17571 \end_inset
17572
17573
17574 \begin_inset Quotes sls
17575 \end_inset
17576
17577 inner
17578 \begin_inset Quotes srs
17579 \end_inset
17580
17581
17582 \family default
17583  Produces 
17584 \begin_inset Quotes sld
17585 \end_inset
17586
17587 these outer
17588 \begin_inset Quotes sld
17589 \end_inset
17590
17591  and 
17592 \begin_inset Quotes sls
17593 \end_inset
17594
17595 these inner
17596 \begin_inset Quotes srs
17597 \end_inset
17598
17599  quotation marks (as common, e.
17600 \begin_inset space \thinspace{}
17601 \end_inset
17602
17603 g., in Sweden)
17604 \end_layout
17605
17606 \begin_layout Labeling
17607 \labelwidthstring <<Outer>> and <<inner>>:
17608
17609 \family sans
17610 \begin_inset Quotes gld
17611 \end_inset
17612
17613 Outer
17614 \begin_inset Quotes grd
17615 \end_inset
17616
17617
17618 \begin_inset space ~
17619 \end_inset
17620
17621 and
17622 \begin_inset space ~
17623 \end_inset
17624
17625
17626 \begin_inset Quotes gls
17627 \end_inset
17628
17629 inner
17630 \begin_inset Quotes grs
17631 \end_inset
17632
17633
17634 \family default
17635  Produces 
17636 \begin_inset Quotes gld
17637 \end_inset
17638
17639 these outer
17640 \begin_inset Quotes grd
17641 \end_inset
17642
17643  and 
17644 \begin_inset Quotes gls
17645 \end_inset
17646
17647 these inner
17648 \begin_inset Quotes grs
17649 \end_inset
17650
17651  quotation marks (as common, e.
17652 \begin_inset space \thinspace{}
17653 \end_inset
17654
17655 g., in Germany)
17656 \end_layout
17657
17658 \begin_layout Labeling
17659 \labelwidthstring <<Outer>> and <<inner>>:
17660
17661 \family sans
17662 \begin_inset Quotes pld
17663 \end_inset
17664
17665 Outer
17666 \begin_inset Quotes prd
17667 \end_inset
17668
17669
17670 \begin_inset space ~
17671 \end_inset
17672
17673 and
17674 \begin_inset space ~
17675 \end_inset
17676
17677
17678 \begin_inset Quotes pls
17679 \end_inset
17680
17681 inner
17682 \begin_inset Quotes prs
17683 \end_inset
17684
17685
17686 \family default
17687  Produces 
17688 \begin_inset Quotes pld
17689 \end_inset
17690
17691 these outer
17692 \begin_inset Quotes prd
17693 \end_inset
17694
17695  and 
17696 \begin_inset Quotes pls
17697 \end_inset
17698
17699 these inner
17700 \begin_inset Quotes prs
17701 \end_inset
17702
17703  quotation marks (as common, e.
17704 \begin_inset space \thinspace{}
17705 \end_inset
17706
17707 g., in Poland)
17708 \end_layout
17709
17710 \begin_layout Labeling
17711 \labelwidthstring <<Outer>> and <<inner>>:
17712
17713 \family sans
17714 \begin_inset Quotes cld
17715 \end_inset
17716
17717 Outer
17718 \begin_inset Quotes crd
17719 \end_inset
17720
17721
17722 \begin_inset space ~
17723 \end_inset
17724
17725 and
17726 \begin_inset space ~
17727 \end_inset
17728
17729
17730 \begin_inset Quotes cls
17731 \end_inset
17732
17733 inner
17734 \begin_inset Quotes crs
17735 \end_inset
17736
17737
17738 \family default
17739  Produces 
17740 \begin_inset Quotes cld
17741 \end_inset
17742
17743 these outer
17744 \begin_inset Quotes crd
17745 \end_inset
17746
17747  and 
17748 \begin_inset Quotes cls
17749 \end_inset
17750
17751 these inner
17752 \begin_inset Quotes crs
17753 \end_inset
17754
17755  quotation marks (as common, e.
17756 \begin_inset space \thinspace{}
17757 \end_inset
17758
17759 g., in Switzerland)
17760 \end_layout
17761
17762 \begin_layout Labeling
17763 \labelwidthstring <<Outer>> and <<inner>>:
17764
17765 \family sans
17766 \begin_inset Quotes ald
17767 \end_inset
17768
17769 Outer
17770 \begin_inset Quotes ard
17771 \end_inset
17772
17773
17774 \begin_inset space ~
17775 \end_inset
17776
17777 and
17778 \begin_inset space ~
17779 \end_inset
17780
17781
17782 \begin_inset Quotes als
17783 \end_inset
17784
17785 inner
17786 \begin_inset Quotes ars
17787 \end_inset
17788
17789
17790 \family default
17791  Produces 
17792 \begin_inset Quotes ald
17793 \end_inset
17794
17795 these outer
17796 \begin_inset Quotes ard
17797 \end_inset
17798
17799  and 
17800 \begin_inset Quotes als
17801 \end_inset
17802
17803 these inner
17804 \begin_inset Quotes ars
17805 \end_inset
17806
17807  quotation marks (as common, e.
17808 \begin_inset space \thinspace{}
17809 \end_inset
17810
17811 g., in Denmark)
17812 \end_layout
17813
17814 \begin_layout Labeling
17815 \labelwidthstring <<Outer>> and <<inner>>:
17816
17817 \family sans
17818 \begin_inset Quotes qrd
17819 \end_inset
17820
17821 Outer
17822 \begin_inset Quotes qrd
17823 \end_inset
17824
17825
17826 \begin_inset space ~
17827 \end_inset
17828
17829 and
17830 \begin_inset space ~
17831 \end_inset
17832
17833
17834 \begin_inset Quotes qls
17835 \end_inset
17836
17837 inner
17838 \begin_inset Quotes qls
17839 \end_inset
17840
17841
17842 \family default
17843  Produces 
17844 \begin_inset Quotes qrd
17845 \end_inset
17846
17847 these outer
17848 \begin_inset Quotes qrd
17849 \end_inset
17850
17851  and 
17852 \begin_inset Quotes qls
17853 \end_inset
17854
17855 these inner
17856 \begin_inset Quotes qls
17857 \end_inset
17858
17859  quotation marks (so-called plain or non-typographical quotation marks)
17860 \end_layout
17861
17862 \begin_layout Labeling
17863 \labelwidthstring <<Outer>> and <<inner>>:
17864
17865 \family sans
17866 \begin_inset Quotes bld
17867 \end_inset
17868
17869 Outer
17870 \begin_inset Quotes brd
17871 \end_inset
17872
17873
17874 \begin_inset space ~
17875 \end_inset
17876
17877 and
17878 \begin_inset space ~
17879 \end_inset
17880
17881
17882 \begin_inset Quotes bls
17883 \end_inset
17884
17885 inner
17886 \begin_inset Quotes brs
17887 \end_inset
17888
17889
17890 \family default
17891  Produces 
17892 \begin_inset Quotes bld
17893 \end_inset
17894
17895 these outer
17896 \begin_inset Quotes brd
17897 \end_inset
17898
17899  and 
17900 \begin_inset Quotes bls
17901 \end_inset
17902
17903 these inner
17904 \begin_inset Quotes brs
17905 \end_inset
17906
17907  quotation marks (as common, e.
17908 \begin_inset space \thinspace{}
17909 \end_inset
17910
17911 g., in Great Britain)
17912 \end_layout
17913
17914 \begin_layout Labeling
17915 \labelwidthstring <<Outer>> and <<inner>>:
17916
17917 \family sans
17918 \begin_inset Quotes fld
17919 \end_inset
17920
17921 Outer
17922 \begin_inset Quotes frd
17923 \end_inset
17924
17925
17926 \begin_inset space ~
17927 \end_inset
17928
17929 and
17930 \begin_inset space ~
17931 \end_inset
17932
17933
17934 \begin_inset Quotes fls
17935 \end_inset
17936
17937 inner
17938 \begin_inset Quotes frs
17939 \end_inset
17940
17941
17942 \family default
17943  Produces 
17944 \begin_inset Quotes fld
17945 \end_inset
17946
17947 these outer
17948 \begin_inset Quotes frd
17949 \end_inset
17950
17951  and 
17952 \begin_inset Quotes fls
17953 \end_inset
17954
17955 these inner
17956 \begin_inset Quotes frs
17957 \end_inset
17958
17959  quotation marks (as common, e.
17960 \begin_inset space \thinspace{}
17961 \end_inset
17962
17963 g., in France)
17964 \end_layout
17965
17966 \begin_layout Labeling
17967 \labelwidthstring <<Outer>> and <<inner>>:
17968
17969 \family sans
17970 \begin_inset Quotes ild
17971 \end_inset
17972
17973 Outer
17974 \begin_inset Quotes ird
17975 \end_inset
17976
17977
17978 \begin_inset space ~
17979 \end_inset
17980
17981 and
17982 \begin_inset space ~
17983 \end_inset
17984
17985
17986 \begin_inset Quotes ils
17987 \end_inset
17988
17989 inner
17990 \begin_inset Quotes irs
17991 \end_inset
17992
17993
17994 \family default
17995  Produces 
17996 \begin_inset Quotes ild
17997 \end_inset
17998
17999 these outer
18000 \begin_inset Quotes ird
18001 \end_inset
18002
18003  and 
18004 \begin_inset Quotes ils
18005 \end_inset
18006
18007 these inner
18008 \begin_inset Quotes irs
18009 \end_inset
18010
18011  quotation marks (another style common in France)
18012 \begin_inset Foot
18013 status collapsed
18014
18015 \begin_layout Plain Layout
18016 Maybe you wonder why one does not simply use only outer marks in this case,
18017  since these look identical to the inner marks.
18018  The answer is that you cannot easily switch to another style then (where
18019  the inner marks differ).
18020 \end_layout
18021
18022 \end_inset
18023
18024
18025 \end_layout
18026
18027 \begin_layout Labeling
18028 \labelwidthstring <<Outer>> and <<inner>>:
18029
18030 \family sans
18031 \begin_inset Quotes rld
18032 \end_inset
18033
18034 Outer
18035 \begin_inset Quotes rrd
18036 \end_inset
18037
18038
18039 \begin_inset space ~
18040 \end_inset
18041
18042 and
18043 \begin_inset space ~
18044 \end_inset
18045
18046
18047 \begin_inset Quotes rls
18048 \end_inset
18049
18050 inner
18051 \begin_inset Quotes rrs
18052 \end_inset
18053
18054
18055 \family default
18056  Produces 
18057 \begin_inset Quotes rld
18058 \end_inset
18059
18060 these outer
18061 \begin_inset Quotes rrd
18062 \end_inset
18063
18064  and 
18065 \begin_inset Quotes rls
18066 \end_inset
18067
18068 these inner
18069 \begin_inset Quotes rrs
18070 \end_inset
18071
18072  quotation marks (as common, e.
18073 \begin_inset space \thinspace{}
18074 \end_inset
18075
18076 g., in Russia)
18077 \end_layout
18078
18079 \begin_layout Labeling
18080 \labelwidthstring <<Outer>> and <<inner>>:
18081
18082 \family sans
18083 \begin_inset Quotes wld
18084 \end_inset
18085
18086 Outer
18087 \begin_inset Quotes wrd
18088 \end_inset
18089
18090
18091 \begin_inset space ~
18092 \end_inset
18093
18094 and
18095 \begin_inset space ~
18096 \end_inset
18097
18098
18099 \begin_inset Quotes wls
18100 \end_inset
18101
18102 inner
18103 \begin_inset Quotes wrs
18104 \end_inset
18105
18106
18107 \family default
18108  Produces 
18109 \begin_inset Quotes wld
18110 \end_inset
18111
18112 these outer
18113 \begin_inset Quotes wrd
18114 \end_inset
18115
18116  and 
18117 \begin_inset Quotes wls
18118 \end_inset
18119
18120 these inner
18121 \begin_inset Quotes wrs
18122 \end_inset
18123
18124  quotation marks (another style common in Sweden)
18125 \end_layout
18126
18127 \begin_layout Labeling
18128 \labelwidthstring <<Outer>> and <<inner>>:
18129 \begin_inset Quotes jld
18130 \end_inset
18131
18132
18133 \family sans
18134 Outer
18135 \family default
18136
18137 \begin_inset Quotes jrd
18138 \end_inset
18139
18140
18141 \family sans
18142
18143 \begin_inset space ~
18144 \end_inset
18145
18146 and
18147 \begin_inset space ~
18148 \end_inset
18149
18150
18151 \family default
18152
18153 \begin_inset Quotes jls
18154 \end_inset
18155
18156
18157 \family sans
18158 inner
18159 \family default
18160
18161 \begin_inset Quotes jrs
18162 \end_inset
18163
18164  Produces 
18165 \begin_inset Quotes jld
18166 \end_inset
18167
18168 these outer
18169 \begin_inset Quotes jrd
18170 \end_inset
18171
18172  and 
18173 \begin_inset Quotes jls
18174 \end_inset
18175
18176 these inner
18177 \begin_inset Quotes jrs
18178 \end_inset
18179
18180  quotation marks (as common, e.
18181 \begin_inset space \thinspace{}
18182 \end_inset
18183
18184 g., in Japan)
18185 \begin_inset Foot
18186 status collapsed
18187
18188 \begin_layout Plain Layout
18189 Note that these characters are just emulated with similar-looking math symbols
18190  in many encodings that do not cover these glyphs.
18191 \end_layout
18192
18193 \end_inset
18194
18195
18196 \end_layout
18197
18198 \begin_layout Labeling
18199 \labelwidthstring <<Outer>> and <<inner>>:
18200 \begin_inset Quotes kld
18201 \end_inset
18202
18203
18204 \family sans
18205 Outer
18206 \family default
18207
18208 \begin_inset Quotes krd
18209 \end_inset
18210
18211
18212 \family sans
18213
18214 \begin_inset space ~
18215 \end_inset
18216
18217 and
18218 \begin_inset space ~
18219 \end_inset
18220
18221
18222 \family default
18223
18224 \begin_inset Quotes kls
18225 \end_inset
18226
18227
18228 \family sans
18229 inner
18230 \family default
18231
18232 \begin_inset Quotes krs
18233 \end_inset
18234
18235  Produces 
18236 \begin_inset Quotes kld
18237 \end_inset
18238
18239 these outer
18240 \begin_inset Quotes krd
18241 \end_inset
18242
18243  and 
18244 \begin_inset Quotes kls
18245 \end_inset
18246
18247 these inner
18248 \begin_inset Quotes krs
18249 \end_inset
18250
18251  quotation marks (as common, e.
18252 \begin_inset space \thinspace{}
18253 \end_inset
18254
18255 g., in North Korea and China)
18256 \begin_inset Foot
18257 status collapsed
18258
18259 \begin_layout Plain Layout
18260 Note that these characters are just emulated with similar-looking math symbols
18261  in many encodings that do not cover these glyphs.
18262 \end_layout
18263
18264 \end_inset
18265
18266
18267 \end_layout
18268
18269 \begin_layout Standard
18270 Inner quotation marks
18271 \begin_inset Foot
18272 status collapsed
18273
18274 \begin_layout Plain Layout
18275 In many writing cultures, these are single quotation marks.
18276  But as the British and French styles show, this is not necessarily the
18277  case (and specifically the British style shows that 
18278 \begin_inset Quotes eld
18279 \end_inset
18280
18281 outer
18282 \begin_inset Quotes erd
18283 \end_inset
18284
18285  does not necessarily mean 
18286 \begin_inset Quotes eld
18287 \end_inset
18288
18289 double
18290 \begin_inset Quotes erd
18291 \end_inset
18292
18293 ).
18294  This is why we call them 
18295 \begin_inset Quotes els
18296 \end_inset
18297
18298 inner
18299 \begin_inset Quotes ers
18300 \end_inset
18301
18302  as opposed to 
18303 \begin_inset Quotes eld
18304 \end_inset
18305
18306 outer
18307 \begin_inset Quotes erd
18308 \end_inset
18309
18310  quotation marks.
18311 \end_layout
18312
18313 \end_inset
18314
18315  for quotations inside quotations (and other tasks in some languages, such
18316  as 
18317 \begin_inset Quotes els
18318 \end_inset
18319
18320 scare quotes
18321 \begin_inset Quotes ers
18322 \end_inset
18323
18324 ) can be obtained by means of the shortcut 
18325 \begin_inset Info
18326 type  "shortcut"
18327 arg   "quote-insert inner"
18328 \end_inset
18329
18330  and via the 
18331 \family sans
18332 Insert\SpecialChar menuseparator
18333 Special Characters
18334 \family default
18335  menu.
18336 \end_layout
18337
18338 \begin_layout Standard
18339 By default, the quotation mark styles are persistent.
18340  That is to say, a quotation mark maintains the style that was current when
18341  it was inserted, even if the document-wide style changes.
18342  This allows you to enter marks of different style.
18343  If you check the setting 
18344 \family sans
18345 Use dynamic quotation marks
18346 \family default
18347  in 
18348 \family sans
18349 Document\SpecialChar menuseparator
18350 Settings\SpecialChar menuseparator
18351 Language
18352 \family default
18353 , however, special quotation marks will be inserted (in the LyX window,
18354  they appear in a special color).
18355  These marks will automatically adapt to the main style (and its changes).
18356  Such quotation marks make it easy to alter the quotation mark style in
18357  one step (e.
18358 \begin_inset space \thinspace{}
18359 \end_inset
18360
18361 g., if your publisher requests a different style).
18362 \end_layout
18363
18364 \begin_layout Standard
18365 Individual quotation marks (i.
18366 \begin_inset space \thinspace{}
18367 \end_inset
18368
18369 e., their level [inner, outer], side [opening, closing], and style) can be
18370  easily switched by a context menu that pops up if you right-click on a
18371  mark.
18372 \end_layout
18373
18374 \begin_layout Subsection
18375 Ligatures
18376 \begin_inset Index idx
18377 status collapsed
18378
18379 \begin_layout Plain Layout
18380 Typography ! Ligatures
18381 \end_layout
18382
18383 \end_inset
18384
18385
18386 \begin_inset Index idx
18387 status collapsed
18388
18389 \begin_layout Plain Layout
18390 Ligatures | see
18391 \begin_inset ERT
18392 status collapsed
18393
18394 \begin_layout Plain Layout
18395
18396 {
18397 \end_layout
18398
18399 \end_inset
18400
18401 Typography
18402 \begin_inset ERT
18403 status collapsed
18404
18405 \begin_layout Plain Layout
18406
18407 }
18408 \end_layout
18409
18410 \end_inset
18411
18412
18413 \end_layout
18414
18415 \end_inset
18416
18417
18418 \begin_inset CommandInset label
18419 LatexCommand label
18420 name "subsec:Ligatures"
18421
18422 \end_inset
18423
18424
18425 \end_layout
18426
18427 \begin_layout Standard
18428 It is standard typesetting practice to group certain letters together and
18429  print them as single characters.
18430  These groups are known as 
18431 \emph on
18432 ligatures
18433 \emph default
18434 .
18435  Since \SpecialChar LaTeX
18436  knows about ligatures, your documents will contain them too in the
18437  output.
18438  Here are the standard ligatures:
18439 \end_layout
18440
18441 \begin_layout Itemize
18442 ff
18443 \end_layout
18444
18445 \begin_layout Itemize
18446 fi
18447 \end_layout
18448
18449 \begin_layout Itemize
18450 fl
18451 \end_layout
18452
18453 \begin_layout Itemize
18454 ffi
18455 \end_layout
18456
18457 \begin_layout Itemize
18458 ffl
18459 \end_layout
18460
18461 \begin_layout Standard
18462 Some languages uses other ligatures if the document font supports them.
18463 \end_layout
18464
18465 \begin_layout Standard
18466 Sometimes, you don't want a ligature in a word.
18467  While a ligature may be okay in the word, 
18468 \begin_inset Quotes eld
18469 \end_inset
18470
18471 graffiti,
18472 \begin_inset Quotes erd
18473 \end_inset
18474
18475  it looks really weird in compound words, such as 
18476 \begin_inset Quotes eld
18477 \end_inset
18478
18479 cufflink
18480 \begin_inset Quotes erd
18481 \end_inset
18482
18483  or the German 
18484 \begin_inset Quotes eld
18485 \end_inset
18486
18487 Dorffest.
18488 \begin_inset Quotes erd
18489 \end_inset
18490
18491  To break a ligature, use 
18492 \family sans
18493 Insert\SpecialChar menuseparator
18494 Formatting\SpecialChar menuseparator
18495 Ligature
18496 \begin_inset space ~
18497 \end_inset
18498
18499 Break.
18500
18501 \family default
18502  This changes 
18503 \begin_inset Quotes eld
18504 \end_inset
18505
18506 cufflinks
18507 \begin_inset Quotes erd
18508 \end_inset
18509
18510  to 
18511 \begin_inset Quotes eld
18512 \end_inset
18513
18514 cuff\SpecialChar ligaturebreak
18515 links
18516 \begin_inset Quotes erd
18517 \end_inset
18518
18519  and 
18520 \begin_inset Quotes eld
18521 \end_inset
18522
18523 Dorffest
18524 \begin_inset Quotes erd
18525 \end_inset
18526
18527  to 
18528 \begin_inset Quotes eld
18529 \end_inset
18530
18531 Dorf\SpecialChar ligaturebreak
18532 fest
18533 \begin_inset Quotes erd
18534 \end_inset
18535
18536 .
18537 \end_layout
18538
18539 \begin_layout Subsection
18540 \SpecialChar LyX
18541  and \SpecialChar LaTeX
18542  Logos
18543 \begin_inset Index idx
18544 status collapsed
18545
18546 \begin_layout Plain Layout
18547 \SpecialChar LyX
18548  ! Proper names
18549 \end_layout
18550
18551 \end_inset
18552
18553
18554 \end_layout
18555
18556 \begin_layout Standard
18557 Via 
18558 \family sans
18559 Insert\SpecialChar menuseparator
18560 Special Characters\SpecialChar menuseparator
18561 Logos
18562 \family default
18563 , \SpecialChar LyX
18564  provides the following program logos with special formatting:
18565 \end_layout
18566
18567 \begin_layout Description
18568 \SpecialChar LyX
18569  The name of the game.
18570 \end_layout
18571
18572 \begin_layout Description
18573 \SpecialChar TeX
18574  The typesetting engine used by \SpecialChar LyX
18575 .
18576 \end_layout
18577
18578 \begin_layout Description
18579 \SpecialChar LaTeX
18580  The \SpecialChar TeX
18581  macro collection used by \SpecialChar LyX
18582 .
18583 \end_layout
18584
18585 \begin_layout Description
18586 \SpecialChar LaTeX2e
18587  The current version of \SpecialChar LaTeX
18588 .
18589 \end_layout
18590
18591 \begin_layout Standard
18592 You might wonder why the \SpecialChar LaTeX
18593  version is 
18594 \begin_inset Quotes eld
18595 \end_inset
18596
18597 2
18598 \begin_inset Formula $\epsilon$
18599 \end_inset
18600
18601
18602 \begin_inset Quotes erd
18603 \end_inset
18604
18605 .
18606  It is an old tradition in the \SpecialChar TeX
18607  world to give programs geek version numbers.
18608  For example the version number of \SpecialChar TeX
18609  converges to the number 
18610 \begin_inset Formula $\pi$
18611 \end_inset
18612
18613 : The actual version is 
18614 \begin_inset Quotes eld
18615 \end_inset
18616
18617 \SpecialChar TeX
18618 -3.141592
18619 \begin_inset Quotes erd
18620 \end_inset
18621
18622 , the previous one was 
18623 \begin_inset Quotes eld
18624 \end_inset
18625
18626 \SpecialChar TeX
18627 -3.14159
18628 \begin_inset Quotes erd
18629 \end_inset
18630
18631 .
18632 \end_layout
18633
18634 \begin_layout Subsection
18635 Units
18636 \begin_inset Index idx
18637 status collapsed
18638
18639 \begin_layout Plain Layout
18640 Typography ! Units
18641 \end_layout
18642
18643 \end_inset
18644
18645
18646 \end_layout
18647
18648 \begin_layout Standard
18649 Generally the space between units and the number is smaller than the normal
18650  space between two words.
18651  As you can see in the example below, it looks better when the space is
18652  smaller.
18653  To get such a 
18654 \begin_inset Quotes eld
18655 \end_inset
18656
18657 half space
18658 \begin_inset Quotes erd
18659 \end_inset
18660
18661  for units use the menu 
18662 \family sans
18663 Insert\SpecialChar menuseparator
18664 Formatting\SpecialChar menuseparator
18665 Thin
18666 \begin_inset space ~
18667 \end_inset
18668
18669 Space
18670 \family default
18671  (shortcut 
18672 \begin_inset Info
18673 type  "shortcuts"
18674 arg   "space-insert thin"
18675 \end_inset
18676
18677 ).
18678 \end_layout
18679
18680 \begin_layout Standard
18681 Here is an example to show the differences:
18682 \end_layout
18683
18684 \begin_layout Standard
18685 \begin_inset Tabular
18686 <lyxtabular version="3" rows="2" columns="2">
18687 <features tabularvalignment="middle">
18688 <column alignment="left" valignment="top">
18689 <column alignment="left" valignment="top">
18690 <row>
18691 <cell alignment="center" valignment="top" usebox="none">
18692 \begin_inset Text
18693
18694 \begin_layout Plain Layout
18695 24
18696 \begin_inset space ~
18697 \end_inset
18698
18699 kW
18700 \begin_inset Formula $\cdot$
18701 \end_inset
18702
18703 h
18704 \end_layout
18705
18706 \end_inset
18707 </cell>
18708 <cell alignment="center" valignment="top" usebox="none">
18709 \begin_inset Text
18710
18711 \begin_layout Plain Layout
18712 space between number and unit
18713 \end_layout
18714
18715 \end_inset
18716 </cell>
18717 </row>
18718 <row>
18719 <cell alignment="center" valignment="top" usebox="none">
18720 \begin_inset Text
18721
18722 \begin_layout Plain Layout
18723 24
18724 \begin_inset space \thinspace{}
18725 \end_inset
18726
18727 kW
18728 \begin_inset Formula $\cdot$
18729 \end_inset
18730
18731 h
18732 \end_layout
18733
18734 \end_inset
18735 </cell>
18736 <cell alignment="center" valignment="top" usebox="none">
18737 \begin_inset Text
18738
18739 \begin_layout Plain Layout
18740 half space between number and unit
18741 \end_layout
18742
18743 \end_inset
18744 </cell>
18745 </row>
18746 </lyxtabular>
18747
18748 \end_inset
18749
18750
18751 \end_layout
18752
18753 \begin_layout Subsection
18754 Widows and Orphans
18755 \begin_inset Index idx
18756 status collapsed
18757
18758 \begin_layout Plain Layout
18759 Typography ! Widows and orphans
18760 \end_layout
18761
18762 \end_inset
18763
18764
18765 \end_layout
18766
18767 \begin_layout Standard
18768 In the early days of word processors, page breaks went wherever the page
18769  happened to end.
18770  There was no regard for what was actually going on in the text.
18771  For example the heading for a new section was printed at the very bottom
18772  of the page, the first line of a new paragraph all alone at the bottom
18773  of a page, or the last line of a paragraph at the top of a new page.
18774  These bits of text became known as 
18775 \emph on
18776 widows
18777 \emph default
18778  and 
18779 \emph on
18780 orphans
18781 \emph default
18782 .
18783 \end_layout
18784
18785 \begin_layout Standard
18786 Clearly, \SpecialChar LyX
18787  can avoid breaking pages after a section heading.
18788  That's part of the advantage of paragraph environments.
18789  But what about widows and orphans, where the page breaks leave one line
18790  of a paragraph all alone at the top or bottom of a page? There are rules
18791  built into \SpecialChar LaTeX
18792  governing page breaks, and some of those rules are there specifical
18793 ly to prevent widows and orphans.
18794  If they appear nevertheless and you don't like them, you can add the commands
18795 \begin_inset Newline newline
18796 \end_inset
18797
18798
18799 \series bold
18800
18801 \backslash
18802 widowpenalty=10000
18803 \begin_inset Newline newline
18804 \end_inset
18805
18806
18807 \backslash
18808 clubpenalty=10000
18809 \series default
18810
18811 \begin_inset Newline newline
18812 \end_inset
18813
18814 to the \SpecialChar LaTeX
18815  preamble of your document to avoid them.
18816  Some \SpecialChar LaTeX
18817  books (such as
18818 \begin_inset space ~
18819 \end_inset
18820
18821
18822 \begin_inset CommandInset citation
18823 LatexCommand cite
18824 key "latexcompanion"
18825 literal "true"
18826
18827 \end_inset
18828
18829  or
18830 \begin_inset space ~
18831 \end_inset
18832
18833
18834 \begin_inset CommandInset citation
18835 LatexCommand cite
18836 key "latexguide"
18837 literal "true"
18838
18839 \end_inset
18840
18841 ) have more information about the technical details of \SpecialChar LaTeX
18842 's page break mechanism.
18843 \end_layout
18844
18845 \begin_layout Chapter
18846 Notes, Graphics, Tables and Floats
18847 \begin_inset CommandInset label
18848 LatexCommand label
18849 name "chap:Floats-and-Notes"
18850
18851 \end_inset
18852
18853
18854 \end_layout
18855
18856 \begin_layout Standard
18857 The issues of this chapter are described in detail in the 
18858 \emph on
18859 Embedded
18860 \begin_inset space ~
18861 \end_inset
18862
18863 Objects
18864 \emph default
18865  manual.
18866  There you will also find tips and tricks for special cases.
18867 \end_layout
18868
18869 \begin_layout Section
18870 Notes
18871 \begin_inset Index idx
18872 status collapsed
18873
18874 \begin_layout Plain Layout
18875 Notes
18876 \end_layout
18877
18878 \end_inset
18879
18880
18881 \begin_inset CommandInset label
18882 LatexCommand label
18883 name "sec:Notes"
18884
18885 \end_inset
18886
18887
18888 \end_layout
18889
18890 \begin_layout Standard
18891 \SpecialChar LyX
18892  offers you a few types of notes to add to your document:
18893 \end_layout
18894
18895 \begin_layout Description
18896 \SpecialChar LyX
18897
18898 \begin_inset space ~
18899 \end_inset
18900
18901 Note This note type is for internal notes that will not appear in the output.
18902 \begin_inset Newline newline
18903 \end_inset
18904
18905
18906 \begin_inset Note Note
18907 status open
18908
18909 \begin_layout Plain Layout
18910 This is text in a note box that doesn't appear in the output.
18911 \end_layout
18912
18913 \end_inset
18914
18915
18916 \end_layout
18917
18918 \begin_layout Description
18919 Comment This note also doesn't appear in the output but it does appear as
18920  a \SpecialChar LaTeX
18921 -comment when you export the document to \SpecialChar LaTeX
18922  via the menu 
18923 \family sans
18924 File\SpecialChar menuseparator
18925 Export\SpecialChar menuseparator
18926 LaTeX
18927 \begin_inset space ~
18928 \end_inset
18929
18930 (xxx)
18931 \family default
18932 .
18933 \begin_inset Newline newline
18934 \end_inset
18935
18936
18937 \begin_inset Note Comment
18938 status open
18939
18940 \begin_layout Plain Layout
18941 This is text in a note box that only appears as a comment in \SpecialChar LaTeX
18942 -files.
18943 \end_layout
18944
18945 \end_inset
18946
18947
18948 \end_layout
18949
18950 \begin_layout Description
18951 Greyed
18952 \begin_inset space ~
18953 \end_inset
18954
18955 Out This note will appear in the output as text in a color which you can
18956  set in the document settings under 
18957 \family sans
18958 Colors\SpecialChar menuseparator
18959 Greyed-out
18960 \begin_inset space ~
18961 \end_inset
18962
18963 notes
18964 \family default
18965 .
18966 \begin_inset Newline newline
18967 \end_inset
18968
18969
18970 \begin_inset Newline newline
18971 \end_inset
18972
18973
18974 \begin_inset Note Greyedout
18975 status open
18976
18977 \begin_layout Plain Layout
18978 This is the text
18979 \begin_inset Foot
18980 status collapsed
18981
18982 \begin_layout Plain Layout
18983 This is an example footnote within a greyed out note.
18984  In this document the color of this note type is set to blue.
18985 \end_layout
18986
18987 \end_inset
18988
18989  of a comment that appears in the output.
18990 \end_layout
18991
18992 \end_inset
18993
18994
18995 \begin_inset Newline newline
18996 \end_inset
18997
18998
18999 \begin_inset Newline newline
19000 \end_inset
19001
19002 As you can see in the example, greyed out notes can have footnotes.
19003 \end_layout
19004
19005 \begin_layout Standard
19006 Notes are inserted with the toolbar button 
19007 \begin_inset Info
19008 type  "icon"
19009 arg   "note-insert"
19010 \end_inset
19011
19012  or the menu 
19013 \family sans
19014 Insert\SpecialChar menuseparator
19015 Note
19016 \family default
19017 .
19018  Right-click on the note box that appears to select the note type.
19019 \end_layout
19020
19021 \begin_layout Section
19022 Footnotes
19023 \begin_inset Index idx
19024 status collapsed
19025
19026 \begin_layout Plain Layout
19027 Footnotes
19028 \end_layout
19029
19030 \end_inset
19031
19032
19033 \begin_inset CommandInset label
19034 LatexCommand label
19035 name "sec:Footnotes"
19036
19037 \end_inset
19038
19039
19040 \end_layout
19041
19042 \begin_layout Standard
19043 \SpecialChar LyX
19044  uses boxes to display footnotes: When you insert a footnote using the menu
19045  
19046 \family sans
19047 Insert\SpecialChar menuseparator
19048 Footnote
19049 \family default
19050  or the toolbar button 
19051 \begin_inset Info
19052 type  "icon"
19053 arg   "footnote-insert"
19054 \end_inset
19055
19056
19057 \family roman
19058 \series medium
19059 \bar no
19060 you will see
19061 \family default
19062 \series default
19063 \bar default
19064  a box like this: 
19065 \begin_inset Graphics
19066         filename clipart/footnote.png
19067         scale 95
19068
19069 \end_inset
19070
19071
19072 \family roman
19073 \series medium
19074 \bar no
19075  This box is \SpecialChar LyX
19076 's representation of your footnote.
19077  If you
19078 \family default
19079 \series default
19080 \bar default
19081  left-click on 
19082 \family roman
19083 \series medium
19084 \bar no
19085 the 
19086 \begin_inset Quotes eld
19087 \end_inset
19088
19089
19090 \family sans
19091 foot
19092 \family roman
19093
19094 \begin_inset Quotes erd
19095 \end_inset
19096
19097
19098 \family default
19099 \series default
19100 \bar default
19101  
19102 \family roman
19103 \series medium
19104 \bar no
19105 label, the box will
19106 \family default
19107 \series default
19108 \bar default
19109  be opened and you can enter the footnote text into it.
19110  Clicking on the box label again will close 
19111 \family roman
19112 \series medium
19113 \bar no
19114 the
19115 \family default
19116 \series default
19117 \bar default
19118  box
19119 \family roman
19120 \series medium
19121 \bar no
19122 .
19123  If you want to turn existing text into a footnote, simply highlight it
19124  and click on the footnote
19125 \family default
19126 \series default
19127 \bar default
19128  toolbar 
19129 \family roman
19130 \series medium
19131 \bar no
19132 button
19133 \family default
19134 \series default
19135 \bar default
19136 .
19137 \end_layout
19138
19139 \begin_layout Standard
19140 Here is an example footnote:
19141 \family roman
19142 \series medium
19143 \bar no
19144
19145 \begin_inset Foot
19146 status collapsed
19147
19148 \begin_layout Plain Layout
19149 To close a footnote, click on the footnote box label.
19150 \end_layout
19151
19152 \end_inset
19153
19154
19155 \end_layout
19156
19157 \begin_layout Standard
19158 The footnote will appear in the output as a superscript number at the text
19159  position where the footnote box is placed.
19160  The footnote text is placed at the bottom of the current page.
19161  The footnote number is calculated by \SpecialChar LyX
19162  according to the document class.
19163  \SpecialChar LyX
19164  does not yet support a particular numbering scheme, but you can get other
19165  schemes using special \SpecialChar LaTeX
19166 -commands.
19167  T
19168 \family roman
19169 h
19170 \family default
19171 ey are described in the 
19172 \emph on
19173 Embedded
19174 \begin_inset space ~
19175 \end_inset
19176
19177 Objects
19178 \emph default
19179  manual.
19180 \end_layout
19181
19182 \begin_layout Section
19183 Marginal Notes
19184 \begin_inset Index idx
19185 status collapsed
19186
19187 \begin_layout Plain Layout
19188 Marginal notes
19189 \end_layout
19190
19191 \end_inset
19192
19193
19194 \begin_inset CommandInset label
19195 LatexCommand label
19196 name "sec:Marginal-Notes"
19197
19198 \end_inset
19199
19200
19201 \end_layout
19202
19203 \begin_layout Standard
19204 Marginal notes look and behave just like footnotes in \SpecialChar LyX
19205 .
19206  When you insert a margin note via the menu 
19207 \family sans
19208 Insert\SpecialChar menuseparator
19209 Marginal
19210 \begin_inset space ~
19211 \end_inset
19212
19213 Note
19214 \family default
19215  or the toolbar button 
19216 \begin_inset Info
19217 type  "icon"
19218 arg   "marginalnote-insert"
19219 \end_inset
19220
19221 , you will see 
19222 \family roman
19223 \series medium
19224 a
19225 \family default
19226 \series default
19227  
19228 \family roman
19229 \series medium
19230 box with the
19231 \family default
19232 \series default
19233  
19234 \family roman
19235 \series medium
19236 label 
19237 \begin_inset Quotes eld
19238 \end_inset
19239
19240 margin
19241 \begin_inset Quotes erd
19242 \end_inset
19243
19244  appearing within your text.
19245  This box is \SpecialChar LyX
19246 's representation of your margin
19247 \family default
19248 \series default
19249 al 
19250 \family roman
19251 \series medium
19252 note.
19253 \end_layout
19254
19255 \begin_layout Standard
19256 At the side of this sentence is an example marginal note.
19257 \family roman
19258 \series medium
19259
19260 \begin_inset Marginal
19261 status open
19262
19263 \begin_layout Plain Layout
19264 \align left
19265 This is a marginal note.
19266 \end_layout
19267
19268 \end_inset
19269
19270
19271 \end_layout
19272
19273 \begin_layout Standard
19274 Marginal notes appear at the right side in single-sided documents.
19275  In double-sided documents they appear in the outer margin – left on even
19276  pages, right on odd pages.
19277 \end_layout
19278
19279 \begin_layout Standard
19280 For further information about marginal notes see the section 
19281 \emph on
19282 Margin
19283 \begin_inset space ~
19284 \end_inset
19285
19286 Notes
19287 \emph default
19288  in the 
19289 \emph on
19290 Embedded
19291 \begin_inset space ~
19292 \end_inset
19293
19294 Objects
19295 \emph default
19296  manual.
19297 \end_layout
19298
19299 \begin_layout Section
19300 Graphics and Images
19301 \begin_inset Index idx
19302 status collapsed
19303
19304 \begin_layout Plain Layout
19305 Images
19306 \end_layout
19307
19308 \end_inset
19309
19310
19311 \begin_inset Index idx
19312 status collapsed
19313
19314 \begin_layout Plain Layout
19315 Graphics
19316 \end_layout
19317
19318 \end_inset
19319
19320
19321 \begin_inset CommandInset label
19322 LatexCommand label
19323 name "sec:Graphics"
19324
19325 \end_inset
19326
19327
19328 \end_layout
19329
19330 \begin_layout Standard
19331 To insert an image in your document, place the cursor at the text position
19332  you want and click on the toolbar icon 
19333 \begin_inset Info
19334 type  "icon"
19335 arg   "dialog-show-new-inset graphics"
19336 \end_inset
19337
19338  or select 
19339 \family sans
19340 Insert\SpecialChar menuseparator
19341 Graphics
19342 \family default
19343  from the menu.
19344  Then a dialog will appear to choose the file to load.
19345 \end_layout
19346
19347 \begin_layout Standard
19348 This dialog has numerous mostly self-explanatory parameters.
19349  The 
19350 \family sans
19351 Graphics
19352 \family default
19353  tab allows you to choose your image file.
19354  The image can be transformed by setting a rotation angle and a scaling
19355  factor.
19356  The scaling units are explained in Appendix
19357 \begin_inset space ~
19358 \end_inset
19359
19360
19361 \begin_inset CommandInset ref
19362 LatexCommand ref
19363 reference "chap:Units-available-in"
19364
19365 \end_inset
19366
19367 .
19368 \end_layout
19369
19370 \begin_layout Standard
19371 In the tab 
19372 \family sans
19373 Clipping
19374 \family default
19375  it is possible to set image coordinates to adjust the height and width
19376  of the image in the output.
19377  The coordinates can also be calculated automatically by pressing the button
19378  
19379 \family sans
19380 Get
19381 \begin_inset space ~
19382 \end_inset
19383
19384 from
19385 \begin_inset space ~
19386 \end_inset
19387
19388 file
19389 \family default
19390 .
19391  The option 
19392 \family sans
19393 Clip
19394 \begin_inset space ~
19395 \end_inset
19396
19397 to
19398 \begin_inset space ~
19399 \end_inset
19400
19401 bounding
19402 \begin_inset space ~
19403 \end_inset
19404
19405 box
19406 \family default
19407  will only print the image region within the given coordinates.
19408  Normally you don't need to take care about image coordinates and can ignore
19409  the tab 
19410 \family sans
19411 Clipping
19412 \family default
19413 .
19414 \end_layout
19415
19416 \begin_layout Standard
19417 In the 
19418 \family sans
19419 LaTeX
19420 \begin_inset space ~
19421 \end_inset
19422
19423 and
19424 \begin_inset space ~
19425 \end_inset
19426
19427 LyX options
19428 \family default
19429  tab \SpecialChar LaTeX
19430  experts can specify additional \SpecialChar LaTeX
19431  options.
19432  In this tab you can also specify the appearance of the image inside \SpecialChar LyX
19433 .
19434  The option 
19435 \family sans
19436 Draft
19437 \begin_inset space ~
19438 \end_inset
19439
19440 mode
19441 \family default
19442  has the effect that the image doesn't appear in the output, only a frame
19443  with the image size is printed.
19444 \end_layout
19445
19446 \begin_layout Standard
19447 The graphics dialog can be called at any time by clicking on an image.
19448  Images will appear in the output exactly at the position where they are
19449  in the text.
19450  This is an example image within a separate, horizontally centered paragraph:
19451 \end_layout
19452
19453 \begin_layout Standard
19454 \align center
19455 \begin_inset Graphics
19456         filename clipart/2D-intensity-plot.pdf
19457         scale 70
19458
19459 \end_inset
19460
19461
19462 \end_layout
19463
19464 \begin_layout Standard
19465 If you need image captions or want to reference images, you have to put
19466  the image into a float, see section
19467 \begin_inset space ~
19468 \end_inset
19469
19470
19471 \begin_inset CommandInset ref
19472 LatexCommand ref
19473 reference "subsec:Figure-Floats"
19474
19475 \end_inset
19476
19477 .
19478 \end_layout
19479
19480 \begin_layout Subsection
19481 Image Formats
19482 \begin_inset Index idx
19483 status collapsed
19484
19485 \begin_layout Plain Layout
19486 Images ! Formats
19487 \end_layout
19488
19489 \end_inset
19490
19491
19492 \begin_inset CommandInset label
19493 LatexCommand label
19494 name "subsec:Image-Formats"
19495
19496 \end_inset
19497
19498
19499 \end_layout
19500
19501 \begin_layout Standard
19502 You can insert images in any known file format.
19503  But as we explained in section
19504 \begin_inset space ~
19505 \end_inset
19506
19507
19508 \begin_inset CommandInset ref
19509 LatexCommand ref
19510 reference "subsec:Output-file-formats"
19511
19512 \end_inset
19513
19514 , every output document format allows only a few image formats.
19515  \SpecialChar LyX
19516  therefore uses the program 
19517 \family typewriter
19518 ImageMagick
19519 \family default
19520  in the background to convert the images to the right format.
19521  To increase your workflow by avoiding these conversions in the background,
19522  use only the image formats listed in the subsections of section
19523 \begin_inset space ~
19524 \end_inset
19525
19526
19527 \begin_inset CommandInset ref
19528 LatexCommand ref
19529 reference "subsec:Output-file-formats"
19530
19531 \end_inset
19532
19533 .
19534 \end_layout
19535
19536 \begin_layout Standard
19537 Similar to fonts there are two types of image formats:
19538 \end_layout
19539
19540 \begin_layout Description
19541 Bitmap
19542 \begin_inset space ~
19543 \end_inset
19544
19545 images consist of pixel values, often in a compressed form.
19546  They are therefore not fully scalable and look pixelated in large zooms.
19547  Well-known bitmap image formats are 
19548 \begin_inset Quotes eld
19549 \end_inset
19550
19551 Graphics Interchange Format
19552 \begin_inset Quotes erd
19553 \end_inset
19554
19555  (GIF, file extension 
19556 \begin_inset Quotes eld
19557 \end_inset
19558
19559
19560 \family typewriter
19561 .gif
19562 \family default
19563
19564 \begin_inset Quotes erd
19565 \end_inset
19566
19567 )
19568 \begin_inset Index idx
19569 status collapsed
19570
19571 \begin_layout Plain Layout
19572 GIF|see
19573 \begin_inset ERT
19574 status collapsed
19575
19576 \begin_layout Plain Layout
19577
19578 {
19579 \end_layout
19580
19581 \end_inset
19582
19583 Image formats
19584 \begin_inset ERT
19585 status collapsed
19586
19587 \begin_layout Plain Layout
19588
19589 }
19590 \end_layout
19591
19592 \end_inset
19593
19594
19595 \end_layout
19596
19597 \end_inset
19598
19599
19600 \begin_inset Quotes eld
19601 \end_inset
19602
19603 Portable Network Graphics
19604 \begin_inset Quotes erd
19605 \end_inset
19606
19607  (PNG, file extension 
19608 \begin_inset Quotes eld
19609 \end_inset
19610
19611
19612 \family typewriter
19613 .png
19614 \family default
19615
19616 \begin_inset Quotes erd
19617 \end_inset
19618
19619 )
19620 \begin_inset Index idx
19621 status collapsed
19622
19623 \begin_layout Plain Layout
19624 PNG|see
19625 \begin_inset ERT
19626 status collapsed
19627
19628 \begin_layout Plain Layout
19629
19630 {
19631 \end_layout
19632
19633 \end_inset
19634
19635 Image formats
19636 \begin_inset ERT
19637 status collapsed
19638
19639 \begin_layout Plain Layout
19640
19641 }
19642 \end_layout
19643
19644 \end_inset
19645
19646
19647 \end_layout
19648
19649 \end_inset
19650
19651 , and 
19652 \begin_inset Quotes eld
19653 \end_inset
19654
19655 Joint Photographic Experts Group
19656 \begin_inset Quotes erd
19657 \end_inset
19658
19659  (JPG, file extension 
19660 \begin_inset Quotes eld
19661 \end_inset
19662
19663
19664 \family typewriter
19665 .jpg
19666 \family default
19667
19668 \begin_inset Quotes erd
19669 \end_inset
19670
19671  or 
19672 \begin_inset Quotes eld
19673 \end_inset
19674
19675
19676 \family typewriter
19677 .jpeg
19678 \family default
19679
19680 \begin_inset Quotes erd
19681 \end_inset
19682
19683 )
19684 \begin_inset Index idx
19685 status collapsed
19686
19687 \begin_layout Plain Layout
19688 JPG|see
19689 \begin_inset ERT
19690 status collapsed
19691
19692 \begin_layout Plain Layout
19693
19694 {
19695 \end_layout
19696
19697 \end_inset
19698
19699 Image formats
19700 \begin_inset ERT
19701 status collapsed
19702
19703 \begin_layout Plain Layout
19704
19705 }
19706 \end_layout
19707
19708 \end_inset
19709
19710
19711 \end_layout
19712
19713 \end_inset
19714
19715 .
19716 \end_layout
19717
19718 \begin_layout Description
19719 Scalable
19720 \begin_inset space ~
19721 \end_inset
19722
19723 images consist of vectors and can therefore be scaled to any size without
19724  data loss.
19725  The scaling ability is desired if you want to create presentations, because
19726  presentations are always scaled by the beamer.
19727  Scaling is also useful for online documents to let the user zoom into diagrams.
19728 \begin_inset Newline newline
19729 \end_inset
19730
19731 Scalable image formats can be 
19732 \begin_inset Quotes eld
19733 \end_inset
19734
19735 Scalable Vector Graphics
19736 \begin_inset Quotes erd
19737 \end_inset
19738
19739  (SVG, file extension 
19740 \begin_inset Quotes eld
19741 \end_inset
19742
19743
19744 \family typewriter
19745 .svg
19746 \family default
19747
19748 \begin_inset Quotes erd
19749 \end_inset
19750
19751 )
19752 \begin_inset Index idx
19753 status collapsed
19754
19755 \begin_layout Plain Layout
19756 SVG|see
19757 \begin_inset ERT
19758 status collapsed
19759
19760 \begin_layout Plain Layout
19761
19762 {
19763 \end_layout
19764
19765 \end_inset
19766
19767 Image formats
19768 \begin_inset ERT
19769 status collapsed
19770
19771 \begin_layout Plain Layout
19772
19773 }
19774 \end_layout
19775
19776 \end_inset
19777
19778
19779 \end_layout
19780
19781 \end_inset
19782
19783
19784 \begin_inset Quotes eld
19785 \end_inset
19786
19787 Encapsulated PostScript
19788 \begin_inset Quotes erd
19789 \end_inset
19790
19791  (EPS, file extension 
19792 \begin_inset Quotes eld
19793 \end_inset
19794
19795
19796 \family typewriter
19797 .eps
19798 \family default
19799
19800 \begin_inset Quotes erd
19801 \end_inset
19802
19803 )
19804 \begin_inset Index idx
19805 status collapsed
19806
19807 \begin_layout Plain Layout
19808 EPS|see
19809 \begin_inset ERT
19810 status collapsed
19811
19812 \begin_layout Plain Layout
19813
19814 {
19815 \end_layout
19816
19817 \end_inset
19818
19819 Image formats
19820 \begin_inset ERT
19821 status collapsed
19822
19823 \begin_layout Plain Layout
19824
19825 }
19826 \end_layout
19827
19828 \end_inset
19829
19830
19831 \end_layout
19832
19833 \end_inset
19834
19835 , and 
19836 \begin_inset Quotes eld
19837 \end_inset
19838
19839 Portable Document Format
19840 \begin_inset Quotes erd
19841 \end_inset
19842
19843  (PDF, file extension 
19844 \begin_inset Quotes eld
19845 \end_inset
19846
19847
19848 \family typewriter
19849 .pdf
19850 \family default
19851
19852 \begin_inset Quotes erd
19853 \end_inset
19854
19855 )
19856 \begin_inset Index idx
19857 status collapsed
19858
19859 \begin_layout Plain Layout
19860 PDF
19861 \end_layout
19862
19863 \end_inset
19864
19865 .
19866  We say 
19867 \begin_inset Quotes eld
19868 \end_inset
19869
19870 can be
19871 \begin_inset Quotes erd
19872 \end_inset
19873
19874 , because you can convert any bitmap image format to PDF or EPS and the
19875  result will not be scalable.
19876  In this case only a header with the image properties is added to the original
19877  image.
19878 \begin_inset Foot
19879 status collapsed
19880
19881 \begin_layout Plain Layout
19882 In the case of PDF, the original image is additionally compressed.
19883 \end_layout
19884
19885 \end_inset
19886
19887
19888 \end_layout
19889
19890 \begin_layout Standard
19891 Normally one cannot convert a bitmap image into a scalable one, only 
19892 \emph on
19893 vice versa
19894 \emph default
19895 .
19896 \end_layout
19897
19898 \begin_layout Subsection
19899 Grouping of Image Settings
19900 \begin_inset Index idx
19901 status collapsed
19902
19903 \begin_layout Plain Layout
19904 Images ! Settings grouping
19905 \end_layout
19906
19907 \end_inset
19908
19909
19910 \end_layout
19911
19912 \begin_layout Standard
19913 Each image can define a new group of image settings or join an existing
19914  group.
19915  Images within such a group share their settings, so adjusting one image
19916  of the group automatically also adjusts all other images of the group in
19917  the same way.
19918  So you can for example change the size for a bunch of images without the
19919  need to manually change each of them.
19920  
19921 \end_layout
19922
19923 \begin_layout Standard
19924 A new group can be set by pressing the button 
19925 \family sans
19926 Open
19927 \begin_inset space ~
19928 \end_inset
19929
19930 new
19931 \begin_inset space ~
19932 \end_inset
19933
19934 group
19935 \family default
19936  in the
19937 \family sans
19938  Graphics
19939 \family default
19940  dialog in the 
19941 \family sans
19942 LaTeX
19943 \begin_inset space ~
19944 \end_inset
19945
19946 and
19947 \begin_inset space ~
19948 \end_inset
19949
19950 LyX options
19951 \family default
19952  tab.
19953  Joining an existing group can be done using the context menu of the image
19954  and checking the name of the desired group.
19955 \end_layout
19956
19957 \begin_layout Section
19958 Tables
19959 \begin_inset Index idx
19960 status collapsed
19961
19962 \begin_layout Plain Layout
19963 Tables
19964 \end_layout
19965
19966 \end_inset
19967
19968
19969 \begin_inset CommandInset label
19970 LatexCommand label
19971 name "sec:Tables"
19972
19973 \end_inset
19974
19975
19976 \end_layout
19977
19978 \begin_layout Standard
19979 You can insert a table using either the toolbar button 
19980 \begin_inset Info
19981 type  "icon"
19982 arg   "tabular-insert"
19983 \end_inset
19984
19985  or the menu 
19986 \family sans
19987 Insert\SpecialChar menuseparator
19988 Table
19989 \family default
19990 .
19991  A dialog will appear, asking you for the number of rows and columns.
19992  The default table has lines around any cell and the first row appears separated
19993  from the rest of the table.
19994  This separation appears due to a double line: The cells of the first row
19995  have a line below them and the cells of the second row have a line above
19996  them.
19997  Here is an example table:
19998 \end_layout
19999
20000 \begin_layout Standard
20001 \align center
20002 \begin_inset Tabular
20003 <lyxtabular version="3" rows="4" columns="4">
20004 <features tabularvalignment="middle">
20005 <column alignment="center" valignment="top" width="0pt">
20006 <column alignment="center" valignment="top" width="0pt">
20007 <column alignment="center" valignment="top" width="0in">
20008 <column alignment="center" valignment="top" width="0pt">
20009 <row>
20010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20011 \begin_inset Text
20012
20013 \begin_layout Plain Layout
20014
20015 \end_layout
20016
20017 \end_inset
20018 </cell>
20019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20020 \begin_inset Text
20021
20022 \begin_layout Plain Layout
20023
20024 \family roman
20025 \series medium
20026 \shape up
20027 \size normal
20028 \emph off
20029 \bar no
20030 \noun off
20031 \color none
20032 1
20033 \end_layout
20034
20035 \end_inset
20036 </cell>
20037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20038 \begin_inset Text
20039
20040 \begin_layout Plain Layout
20041 2
20042 \end_layout
20043
20044 \end_inset
20045 </cell>
20046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20047 \begin_inset Text
20048
20049 \begin_layout Plain Layout
20050 3
20051 \end_layout
20052
20053 \end_inset
20054 </cell>
20055 </row>
20056 <row>
20057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20058 \begin_inset Text
20059
20060 \begin_layout Plain Layout
20061
20062 \family roman
20063 \series medium
20064 \shape up
20065 \size normal
20066 \emph off
20067 \bar no
20068 \noun off
20069 \color none
20070 A
20071 \end_layout
20072
20073 \end_inset
20074 </cell>
20075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20076 \begin_inset Text
20077
20078 \begin_layout Plain Layout
20079
20080 \end_layout
20081
20082 \end_inset
20083 </cell>
20084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20085 \begin_inset Text
20086
20087 \begin_layout Plain Layout
20088
20089 \end_layout
20090
20091 \end_inset
20092 </cell>
20093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20094 \begin_inset Text
20095
20096 \begin_layout Plain Layout
20097
20098 \end_layout
20099
20100 \end_inset
20101 </cell>
20102 </row>
20103 <row>
20104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20105 \begin_inset Text
20106
20107 \begin_layout Plain Layout
20108
20109 \family roman
20110 \series medium
20111 \shape up
20112 \size normal
20113 \emph off
20114 \bar no
20115 \noun off
20116 \color none
20117 B
20118 \end_layout
20119
20120 \end_inset
20121 </cell>
20122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20123 \begin_inset Text
20124
20125 \begin_layout Plain Layout
20126
20127 \end_layout
20128
20129 \end_inset
20130 </cell>
20131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20132 \begin_inset Text
20133
20134 \begin_layout Plain Layout
20135
20136 \size normal
20137 \noun off
20138 \color none
20139  
20140 \end_layout
20141
20142 \end_inset
20143 </cell>
20144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20145 \begin_inset Text
20146
20147 \begin_layout Plain Layout
20148
20149 \end_layout
20150
20151 \end_inset
20152 </cell>
20153 </row>
20154 <row>
20155 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20156 \begin_inset Text
20157
20158 \begin_layout Plain Layout
20159
20160 \family roman
20161 \series medium
20162 \shape up
20163 \size normal
20164 \emph off
20165 \bar no
20166 \noun off
20167 \color none
20168 C
20169 \end_layout
20170
20171 \end_inset
20172 </cell>
20173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20174 \begin_inset Text
20175
20176 \begin_layout Plain Layout
20177
20178 \end_layout
20179
20180 \end_inset
20181 </cell>
20182 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20183 \begin_inset Text
20184
20185 \begin_layout Plain Layout
20186
20187 \end_layout
20188
20189 \end_inset
20190 </cell>
20191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20192 \begin_inset Text
20193
20194 \begin_layout Plain Layout
20195
20196 \end_layout
20197
20198 \end_inset
20199 </cell>
20200 </row>
20201 </lyxtabular>
20202
20203 \end_inset
20204
20205
20206 \end_layout
20207
20208 \begin_layout Subsection
20209 Table Dialog
20210 \end_layout
20211
20212 \begin_layout Standard
20213 You can alter a table by clicking on it with the right mouse button and
20214  then choosing 
20215 \family sans
20216 More\SpecialChar menuseparator
20217 Settings
20218 \family default
20219 .
20220  This brings up the table dialog.
20221  Here you can adjust the settings of the cell, row and/or column where the
20222  cursor is placed currently.
20223  Most of the dialog options also work on selections.
20224  This means that if you select more cells, columns or rows the action is
20225  done on all of your selection.
20226 \end_layout
20227
20228 \begin_layout Standard
20229 In addition to the table dialog, the 
20230 \family sans
20231 table
20232 \begin_inset space ~
20233 \end_inset
20234
20235 toolbar
20236 \family default
20237  helps you in setting table properties.
20238  It appears if the cursor is inside a table.
20239 \end_layout
20240
20241 \begin_layout Standard
20242 In the tab 
20243 \family sans
20244 Table
20245 \begin_inset space ~
20246 \end_inset
20247
20248 Settings
20249 \family default
20250  of the table dialog you can set the alignment for the current row.
20251  If you add a row or column, it will be inserted right beside or below the
20252  current cell respectively.
20253  The vertical alignment of a column can only be adjusted when a column width
20254  is given.
20255  A given width will allow the cell to have line breaks and multiple paragraphs
20256  of text, see section
20257 \begin_inset space ~
20258 \end_inset
20259
20260
20261 \begin_inset CommandInset ref
20262 LatexCommand ref
20263 reference "subsec:Table-Cells"
20264
20265 \end_inset
20266
20267 .
20268 \end_layout
20269
20270 \begin_layout Standard
20271 You can mark multiple cells of one row/column as a multicolumn/row cell
20272  using the check box 
20273 \family sans
20274 Multicolumn
20275 \family default
20276  or 
20277 \family sans
20278 Multirow
20279 \family default
20280 .
20281  This will merge the cells to 
20282 \emph on
20283 one
20284 \emph default
20285  cell, spread over more than one column/row.
20286  Multicolumn cells are treated as own rows, so that the alignment, width,
20287  and border settings affect only the multicolumn cell.
20288  Here is an example table with a multicolumn cell in the first row and one
20289  in the last row without the upper border:
20290 \end_layout
20291
20292 \begin_layout Standard
20293 \align center
20294 \begin_inset Tabular
20295 <lyxtabular version="3" rows="3" columns="4">
20296 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
20297 <column alignment="center" valignment="top" width="0pt">
20298 <column alignment="center" valignment="middle">
20299 <column alignment="center" valignment="top" width="0in">
20300 <column alignment="center" valignment="top" width="0pt">
20301 <row>
20302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20303 \begin_inset Text
20304
20305 \begin_layout Plain Layout
20306 abc
20307 \end_layout
20308
20309 \end_inset
20310 </cell>
20311 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
20312 \begin_inset Text
20313
20314 \begin_layout Plain Layout
20315 def ghi
20316 \end_layout
20317
20318 \end_inset
20319 </cell>
20320 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20321 \begin_inset Text
20322
20323 \begin_layout Plain Layout
20324
20325 \end_layout
20326
20327 \end_inset
20328 </cell>
20329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20330 \begin_inset Text
20331
20332 \begin_layout Plain Layout
20333 jkl
20334 \end_layout
20335
20336 \end_inset
20337 </cell>
20338 </row>
20339 <row>
20340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20341 \begin_inset Text
20342
20343 \begin_layout Plain Layout
20344
20345 \family roman
20346 \series medium
20347 \shape up
20348 \size normal
20349 \emph off
20350 \bar no
20351 \noun off
20352 \color none
20353 A
20354 \end_layout
20355
20356 \end_inset
20357 </cell>
20358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20359 \begin_inset Text
20360
20361 \begin_layout Plain Layout
20362 B
20363 \end_layout
20364
20365 \end_inset
20366 </cell>
20367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20368 \begin_inset Text
20369
20370 \begin_layout Plain Layout
20371 C
20372 \end_layout
20373
20374 \end_inset
20375 </cell>
20376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20377 \begin_inset Text
20378
20379 \begin_layout Plain Layout
20380 D
20381 \end_layout
20382
20383 \end_inset
20384 </cell>
20385 </row>
20386 <row>
20387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20388 \begin_inset Text
20389
20390 \begin_layout Plain Layout
20391 1
20392 \end_layout
20393
20394 \end_inset
20395 </cell>
20396 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20397 \begin_inset Text
20398
20399 \begin_layout Plain Layout
20400 2
20401 \end_layout
20402
20403 \end_inset
20404 </cell>
20405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20406 \begin_inset Text
20407
20408 \begin_layout Plain Layout
20409 3
20410 \end_layout
20411
20412 \end_inset
20413 </cell>
20414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20415 \begin_inset Text
20416
20417 \begin_layout Plain Layout
20418 4
20419 \end_layout
20420
20421 \end_inset
20422 </cell>
20423 </row>
20424 </lyxtabular>
20425
20426 \end_inset
20427
20428
20429 \end_layout
20430
20431 \begin_layout Standard
20432 Adept users can declare special \SpecialChar LaTeX
20433 -arguments for the table.
20434  They are necessary for special table formatting, such as the multirow cells,
20435  explained in the chapter 
20436 \emph on
20437 Tables
20438 \emph default
20439  of the 
20440 \emph on
20441 Embedded
20442 \begin_inset space ~
20443 \end_inset
20444
20445 Objects
20446 \emph default
20447  manual.
20448  You can also rotate the current cell or the whole table.
20449  These rotations are not visible in \SpecialChar LyX
20450  but are visible in the output.
20451 \end_layout
20452
20453 \begin_layout Standard
20454 \begin_inset Note Greyedout
20455 status open
20456
20457 \begin_layout Plain Layout
20458
20459 \series bold
20460 Note:
20461 \series default
20462  Most DVI-viewers are 
20463 \emph on
20464 not
20465 \emph default
20466  able to display rotations.
20467 \end_layout
20468
20469 \end_inset
20470
20471
20472 \end_layout
20473
20474 \begin_layout Standard
20475 The 
20476 \family sans
20477 Borders
20478 \family default
20479  tab allows you to add and delete border lines for the current row/column.
20480  The button 
20481 \family sans
20482 Default
20483 \family default
20484  adds lines for all cell borders.
20485 \end_layout
20486
20487 \begin_layout Subsection
20488 Multi-page Tables
20489 \begin_inset Index idx
20490 status collapsed
20491
20492 \begin_layout Plain Layout
20493 Tables ! Multi-page
20494 \end_layout
20495
20496 \end_inset
20497
20498
20499 \begin_inset Index idx
20500 status collapsed
20501
20502 \begin_layout Plain Layout
20503 Multi-page tables
20504 \end_layout
20505
20506 \end_inset
20507
20508
20509 \end_layout
20510
20511 \begin_layout Standard
20512 If the table is too long to fit on one page, you can use the option 
20513 \family sans
20514 Use
20515 \begin_inset space ~
20516 \end_inset
20517
20518 multi-page
20519 \begin_inset space ~
20520 \end_inset
20521
20522 table
20523 \family default
20524  in the tab 
20525 \family sans
20526 Multi-page
20527 \begin_inset space ~
20528 \end_inset
20529
20530 table
20531 \family default
20532  of the table dialog to split the table automatically over more pages.
20533  Doing this enables some check boxes and you can now define:
20534 \end_layout
20535
20536 \begin_layout Description
20537
20538 \family sans
20539 Header
20540 \family default
20541 : The current row and all rows above, that don't have any special options
20542  defined, are defined to be the header rows of all pages of the longtable.
20543  Except for the first page, if 
20544 \family sans
20545 First
20546 \begin_inset space ~
20547 \end_inset
20548
20549 header
20550 \family default
20551  is defined.
20552 \end_layout
20553
20554 \begin_layout Description
20555
20556 \family sans
20557 First
20558 \begin_inset space ~
20559 \end_inset
20560
20561 header
20562 \family default
20563 : The current row and all rows above, that don't have any special options
20564  defined, are defined to be the header rows of the first page of the longtable.
20565 \end_layout
20566
20567 \begin_layout Description
20568
20569 \family sans
20570 Footer
20571 \family default
20572 : The current row and all rows below, that don't have any special options
20573  defined, are defined to be the footer rows of all pages of the longtable,
20574  except for the last page, if 
20575 \family sans
20576 Last
20577 \begin_inset space ~
20578 \end_inset
20579
20580 footer
20581 \family default
20582  is defined.
20583 \end_layout
20584
20585 \begin_layout Description
20586
20587 \family sans
20588 Last
20589 \begin_inset space ~
20590 \end_inset
20591
20592 footer
20593 \family default
20594 : The current row and all rows below, that don't have any special options
20595  defined, are defined to be the footer rows of the last page of the longtable.
20596 \end_layout
20597
20598 \begin_layout Description
20599 Caption: The first row is reset as a single column.
20600  You can now insert there the table caption via the menu 
20601 \family sans
20602 Insert\SpecialChar menuseparator
20603 Caption
20604 \family default
20605 .
20606  More about multi-page table captions can be found in the 
20607 \emph on
20608 Embedded
20609 \begin_inset space ~
20610 \end_inset
20611
20612 Objects
20613 \emph default
20614  manual.
20615 \end_layout
20616
20617 \begin_layout Standard
20618 You can also specify a row where the table is split.
20619  If you set more than one option in the same table row, you should be aware
20620  that then only the first option is used; the others will be defined as
20621  
20622 \emph on
20623 empty
20624 \emph default
20625 .
20626  In this context, first means first in this order: 
20627 \family sans
20628 Footer, Last
20629 \begin_inset space ~
20630 \end_inset
20631
20632 footer,
20633 \family default
20634  
20635 \family sans
20636 Header,
20637 \family default
20638  
20639 \family sans
20640 First
20641 \begin_inset space ~
20642 \end_inset
20643
20644 header
20645 \family default
20646 ; see the following longtable to see how it works:
20647 \end_layout
20648
20649 \begin_layout Standard
20650 \align center
20651 \begin_inset Tabular
20652 <lyxtabular version="3" rows="69" columns="3">
20653 <features islongtable="true" longtabularalignment="center">
20654 <column alignment="block" valignment="top" width="5cm">
20655 <column alignment="left" valignment="top" width="0pt">
20656 <column alignment="right" valignment="top" width="0pt">
20657 <row endfirsthead="true">
20658 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20659 \begin_inset Text
20660
20661 \begin_layout Plain Layout
20662
20663 \series bold
20664 Example Phone List (ignore the names)
20665 \end_layout
20666
20667 \end_inset
20668 </cell>
20669 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20670 \begin_inset Text
20671
20672 \begin_layout Plain Layout
20673
20674 \end_layout
20675
20676 \end_inset
20677 </cell>
20678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20679 \begin_inset Text
20680
20681 \begin_layout Plain Layout
20682
20683 \end_layout
20684
20685 \end_inset
20686 </cell>
20687 </row>
20688 <row endfirsthead="true">
20689 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20690 \begin_inset Text
20691
20692 \begin_layout Plain Layout
20693
20694 \series bold
20695 NAME
20696 \end_layout
20697
20698 \end_inset
20699 </cell>
20700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20701 \begin_inset Text
20702
20703 \begin_layout Plain Layout
20704
20705 \end_layout
20706
20707 \end_inset
20708 </cell>
20709 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20710 \begin_inset Text
20711
20712 \begin_layout Plain Layout
20713
20714 \series bold
20715 TEL.
20716 \end_layout
20717
20718 \end_inset
20719 </cell>
20720 </row>
20721 <row endhead="true">
20722 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20723 \begin_inset Text
20724
20725 \begin_layout Plain Layout
20726  
20727 \series bold
20728 Example Phone List
20729 \end_layout
20730
20731 \end_inset
20732 </cell>
20733 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20734 \begin_inset Text
20735
20736 \begin_layout Plain Layout
20737
20738 \end_layout
20739
20740 \end_inset
20741 </cell>
20742 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20743 \begin_inset Text
20744
20745 \begin_layout Plain Layout
20746
20747 \end_layout
20748
20749 \end_inset
20750 </cell>
20751 </row>
20752 <row endhead="true">
20753 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20754 \begin_inset Text
20755
20756 \begin_layout Plain Layout
20757
20758 \series bold
20759 NAME
20760 \end_layout
20761
20762 \end_inset
20763 </cell>
20764 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20765 \begin_inset Text
20766
20767 \begin_layout Plain Layout
20768
20769 \end_layout
20770
20771 \end_inset
20772 </cell>
20773 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20774 \begin_inset Text
20775
20776 \begin_layout Plain Layout
20777
20778 \series bold
20779 TEL.
20780 \end_layout
20781
20782 \end_inset
20783 </cell>
20784 </row>
20785 <row endfoot="true">
20786 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20787 \begin_inset Text
20788
20789 \begin_layout Plain Layout
20790  
20791 \series bold
20792 continue ...
20793 \end_layout
20794
20795 \end_inset
20796 </cell>
20797 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20798 \begin_inset Text
20799
20800 \begin_layout Plain Layout
20801
20802 \end_layout
20803
20804 \end_inset
20805 </cell>
20806 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20807 \begin_inset Text
20808
20809 \begin_layout Plain Layout
20810
20811 \end_layout
20812
20813 \end_inset
20814 </cell>
20815 </row>
20816 <row>
20817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20818 \begin_inset Text
20819
20820 \begin_layout Plain Layout
20821
20822 \series bold
20823 Annovi
20824 \end_layout
20825
20826 \end_inset
20827 </cell>
20828 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20829 \begin_inset Text
20830
20831 \begin_layout Plain Layout
20832 Silvia
20833 \end_layout
20834
20835 \end_inset
20836 </cell>
20837 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20838 \begin_inset Text
20839
20840 \begin_layout Plain Layout
20841 111
20842 \end_layout
20843
20844 \end_inset
20845 </cell>
20846 </row>
20847 <row>
20848 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20849 \begin_inset Text
20850
20851 \begin_layout Plain Layout
20852
20853 \series bold
20854 Bertoli
20855 \end_layout
20856
20857 \end_inset
20858 </cell>
20859 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20860 \begin_inset Text
20861
20862 \begin_layout Plain Layout
20863 Stefano
20864 \end_layout
20865
20866 \end_inset
20867 </cell>
20868 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20869 \begin_inset Text
20870
20871 \begin_layout Plain Layout
20872 111
20873 \end_layout
20874
20875 \end_inset
20876 </cell>
20877 </row>
20878 <row>
20879 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20880 \begin_inset Text
20881
20882 \begin_layout Plain Layout
20883
20884 \series bold
20885 Bozzi
20886 \end_layout
20887
20888 \end_inset
20889 </cell>
20890 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20891 \begin_inset Text
20892
20893 \begin_layout Plain Layout
20894 Walter
20895 \end_layout
20896
20897 \end_inset
20898 </cell>
20899 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20900 \begin_inset Text
20901
20902 \begin_layout Plain Layout
20903 111
20904 \end_layout
20905
20906 \end_inset
20907 </cell>
20908 </row>
20909 <row>
20910 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20911 \begin_inset Text
20912
20913 \begin_layout Plain Layout
20914
20915 \series bold
20916 Cachia
20917 \end_layout
20918
20919 \end_inset
20920 </cell>
20921 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20922 \begin_inset Text
20923
20924 \begin_layout Plain Layout
20925 Maria
20926 \end_layout
20927
20928 \end_inset
20929 </cell>
20930 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20931 \begin_inset Text
20932
20933 \begin_layout Plain Layout
20934 111
20935 \end_layout
20936
20937 \end_inset
20938 </cell>
20939 </row>
20940 <row>
20941 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20942 \begin_inset Text
20943
20944 \begin_layout Plain Layout
20945
20946 \series bold
20947 Cachia
20948 \end_layout
20949
20950 \end_inset
20951 </cell>
20952 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20953 \begin_inset Text
20954
20955 \begin_layout Plain Layout
20956 Maurizio
20957 \end_layout
20958
20959 \end_inset
20960 </cell>
20961 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20962 \begin_inset Text
20963
20964 \begin_layout Plain Layout
20965 111
20966 \end_layout
20967
20968 \end_inset
20969 </cell>
20970 </row>
20971 <row>
20972 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20973 \begin_inset Text
20974
20975 \begin_layout Plain Layout
20976
20977 \series bold
20978 Cinquemani
20979 \end_layout
20980
20981 \end_inset
20982 </cell>
20983 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20984 \begin_inset Text
20985
20986 \begin_layout Plain Layout
20987 Giusi
20988 \end_layout
20989
20990 \end_inset
20991 </cell>
20992 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20993 \begin_inset Text
20994
20995 \begin_layout Plain Layout
20996 111
20997 \end_layout
20998
20999 \end_inset
21000 </cell>
21001 </row>
21002 <row>
21003 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21004 \begin_inset Text
21005
21006 \begin_layout Plain Layout
21007
21008 \series bold
21009 Colin
21010 \end_layout
21011
21012 \end_inset
21013 </cell>
21014 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21015 \begin_inset Text
21016
21017 \begin_layout Plain Layout
21018 Bernard
21019 \end_layout
21020
21021 \end_inset
21022 </cell>
21023 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21024 \begin_inset Text
21025
21026 \begin_layout Plain Layout
21027 111
21028 \end_layout
21029
21030 \end_inset
21031 </cell>
21032 </row>
21033 <row>
21034 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21035 \begin_inset Text
21036
21037 \begin_layout Plain Layout
21038
21039 \series bold
21040 Concli
21041 \end_layout
21042
21043 \end_inset
21044 </cell>
21045 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21046 \begin_inset Text
21047
21048 \begin_layout Plain Layout
21049 Gianfranco
21050 \end_layout
21051
21052 \end_inset
21053 </cell>
21054 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21055 \begin_inset Text
21056
21057 \begin_layout Plain Layout
21058 111
21059 \end_layout
21060
21061 \end_inset
21062 </cell>
21063 </row>
21064 <row>
21065 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21066 \begin_inset Text
21067
21068 \begin_layout Plain Layout
21069
21070 \series bold
21071 Dal Bosco
21072 \end_layout
21073
21074 \end_inset
21075 </cell>
21076 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21077 \begin_inset Text
21078
21079 \begin_layout Plain Layout
21080 Carolina
21081 \end_layout
21082
21083 \end_inset
21084 </cell>
21085 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21086 \begin_inset Text
21087
21088 \begin_layout Plain Layout
21089 111
21090 \end_layout
21091
21092 \end_inset
21093 </cell>
21094 </row>
21095 <row>
21096 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21097 \begin_inset Text
21098
21099 \begin_layout Plain Layout
21100
21101 \series bold
21102 Dalpiaz
21103 \end_layout
21104
21105 \end_inset
21106 </cell>
21107 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21108 \begin_inset Text
21109
21110 \begin_layout Plain Layout
21111 Annamaria
21112 \end_layout
21113
21114 \end_inset
21115 </cell>
21116 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21117 \begin_inset Text
21118
21119 \begin_layout Plain Layout
21120 111
21121 \end_layout
21122
21123 \end_inset
21124 </cell>
21125 </row>
21126 <row>
21127 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21128 \begin_inset Text
21129
21130 \begin_layout Plain Layout
21131
21132 \series bold
21133 Feliciello
21134 \end_layout
21135
21136 \end_inset
21137 </cell>
21138 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21139 \begin_inset Text
21140
21141 \begin_layout Plain Layout
21142 Domenico
21143 \end_layout
21144
21145 \end_inset
21146 </cell>
21147 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21148 \begin_inset Text
21149
21150 \begin_layout Plain Layout
21151 111
21152 \end_layout
21153
21154 \end_inset
21155 </cell>
21156 </row>
21157 <row>
21158 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21159 \begin_inset Text
21160
21161 \begin_layout Plain Layout
21162
21163 \series bold
21164 Focarelli
21165 \end_layout
21166
21167 \end_inset
21168 </cell>
21169 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21170 \begin_inset Text
21171
21172 \begin_layout Plain Layout
21173 Paola
21174 \end_layout
21175
21176 \end_inset
21177 </cell>
21178 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21179 \begin_inset Text
21180
21181 \begin_layout Plain Layout
21182 111
21183 \end_layout
21184
21185 \end_inset
21186 </cell>
21187 </row>
21188 <row>
21189 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21190 \begin_inset Text
21191
21192 \begin_layout Plain Layout
21193
21194 \series bold
21195 Galletti
21196 \end_layout
21197
21198 \end_inset
21199 </cell>
21200 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21201 \begin_inset Text
21202
21203 \begin_layout Plain Layout
21204 Oreste
21205 \end_layout
21206
21207 \end_inset
21208 </cell>
21209 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21210 \begin_inset Text
21211
21212 \begin_layout Plain Layout
21213 111
21214 \end_layout
21215
21216 \end_inset
21217 </cell>
21218 </row>
21219 <row>
21220 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21221 \begin_inset Text
21222
21223 \begin_layout Plain Layout
21224
21225 \series bold
21226 Gasparini
21227 \end_layout
21228
21229 \end_inset
21230 </cell>
21231 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21232 \begin_inset Text
21233
21234 \begin_layout Plain Layout
21235 Franca
21236 \end_layout
21237
21238 \end_inset
21239 </cell>
21240 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21241 \begin_inset Text
21242
21243 \begin_layout Plain Layout
21244 111
21245 \end_layout
21246
21247 \end_inset
21248 </cell>
21249 </row>
21250 <row>
21251 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21252 \begin_inset Text
21253
21254 \begin_layout Plain Layout
21255
21256 \series bold
21257 Rizzardi
21258 \end_layout
21259
21260 \end_inset
21261 </cell>
21262 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21263 \begin_inset Text
21264
21265 \begin_layout Plain Layout
21266 Paola
21267 \end_layout
21268
21269 \end_inset
21270 </cell>
21271 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21272 \begin_inset Text
21273
21274 \begin_layout Plain Layout
21275 111
21276 \end_layout
21277
21278 \end_inset
21279 </cell>
21280 </row>
21281 <row>
21282 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21283 \begin_inset Text
21284
21285 \begin_layout Plain Layout
21286
21287 \series bold
21288 Lassini
21289 \end_layout
21290
21291 \end_inset
21292 </cell>
21293 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21294 \begin_inset Text
21295
21296 \begin_layout Plain Layout
21297 Giancarlo
21298 \end_layout
21299
21300 \end_inset
21301 </cell>
21302 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21303 \begin_inset Text
21304
21305 \begin_layout Plain Layout
21306 111
21307 \end_layout
21308
21309 \end_inset
21310 </cell>
21311 </row>
21312 <row>
21313 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21314 \begin_inset Text
21315
21316 \begin_layout Plain Layout
21317
21318 \series bold
21319 Malfatti
21320 \end_layout
21321
21322 \end_inset
21323 </cell>
21324 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21325 \begin_inset Text
21326
21327 \begin_layout Plain Layout
21328 Luciano
21329 \end_layout
21330
21331 \end_inset
21332 </cell>
21333 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21334 \begin_inset Text
21335
21336 \begin_layout Plain Layout
21337 111
21338 \end_layout
21339
21340 \end_inset
21341 </cell>
21342 </row>
21343 <row>
21344 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21345 \begin_inset Text
21346
21347 \begin_layout Plain Layout
21348
21349 \series bold
21350 Malfatti
21351 \end_layout
21352
21353 \end_inset
21354 </cell>
21355 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21356 \begin_inset Text
21357
21358 \begin_layout Plain Layout
21359 Valeriano
21360 \end_layout
21361
21362 \end_inset
21363 </cell>
21364 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21365 \begin_inset Text
21366
21367 \begin_layout Plain Layout
21368 111
21369 \end_layout
21370
21371 \end_inset
21372 </cell>
21373 </row>
21374 <row>
21375 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21376 \begin_inset Text
21377
21378 \begin_layout Plain Layout
21379
21380 \series bold
21381 Meneguzzo
21382 \end_layout
21383
21384 \end_inset
21385 </cell>
21386 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21387 \begin_inset Text
21388
21389 \begin_layout Plain Layout
21390 Roberto
21391 \end_layout
21392
21393 \end_inset
21394 </cell>
21395 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21396 \begin_inset Text
21397
21398 \begin_layout Plain Layout
21399 111
21400 \end_layout
21401
21402 \end_inset
21403 </cell>
21404 </row>
21405 <row>
21406 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21407 \begin_inset Text
21408
21409 \begin_layout Plain Layout
21410
21411 \series bold
21412 Mezzadra
21413 \end_layout
21414
21415 \end_inset
21416 </cell>
21417 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21418 \begin_inset Text
21419
21420 \begin_layout Plain Layout
21421 Roberto
21422 \end_layout
21423
21424 \end_inset
21425 </cell>
21426 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21427 \begin_inset Text
21428
21429 \begin_layout Plain Layout
21430 111
21431 \end_layout
21432
21433 \end_inset
21434 </cell>
21435 </row>
21436 <row>
21437 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21438 \begin_inset Text
21439
21440 \begin_layout Plain Layout
21441
21442 \series bold
21443 Pirpamer
21444 \end_layout
21445
21446 \end_inset
21447 </cell>
21448 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21449 \begin_inset Text
21450
21451 \begin_layout Plain Layout
21452 Erich
21453 \end_layout
21454
21455 \end_inset
21456 </cell>
21457 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21458 \begin_inset Text
21459
21460 \begin_layout Plain Layout
21461 111
21462 \end_layout
21463
21464 \end_inset
21465 </cell>
21466 </row>
21467 <row>
21468 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21469 \begin_inset Text
21470
21471 \begin_layout Plain Layout
21472
21473 \series bold
21474 Pochiesa
21475 \end_layout
21476
21477 \end_inset
21478 </cell>
21479 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21480 \begin_inset Text
21481
21482 \begin_layout Plain Layout
21483 Paolo
21484 \end_layout
21485
21486 \end_inset
21487 </cell>
21488 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21489 \begin_inset Text
21490
21491 \begin_layout Plain Layout
21492 111, 222
21493 \end_layout
21494
21495 \end_inset
21496 </cell>
21497 </row>
21498 <row>
21499 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21500 \begin_inset Text
21501
21502 \begin_layout Plain Layout
21503
21504 \series bold
21505 Radina
21506 \end_layout
21507
21508 \end_inset
21509 </cell>
21510 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21511 \begin_inset Text
21512
21513 \begin_layout Plain Layout
21514 Claudio
21515 \end_layout
21516
21517 \end_inset
21518 </cell>
21519 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21520 \begin_inset Text
21521
21522 \begin_layout Plain Layout
21523 111
21524 \end_layout
21525
21526 \end_inset
21527 </cell>
21528 </row>
21529 <row>
21530 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21531 \begin_inset Text
21532
21533 \begin_layout Plain Layout
21534
21535 \series bold
21536 Stuffer
21537 \end_layout
21538
21539 \end_inset
21540 </cell>
21541 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21542 \begin_inset Text
21543
21544 \begin_layout Plain Layout
21545 Oskar
21546 \end_layout
21547
21548 \end_inset
21549 </cell>
21550 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21551 \begin_inset Text
21552
21553 \begin_layout Plain Layout
21554 111
21555 \end_layout
21556
21557 \end_inset
21558 </cell>
21559 </row>
21560 <row>
21561 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21562 \begin_inset Text
21563
21564 \begin_layout Plain Layout
21565
21566 \series bold
21567 Tacchelli
21568 \end_layout
21569
21570 \end_inset
21571 </cell>
21572 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21573 \begin_inset Text
21574
21575 \begin_layout Plain Layout
21576 Ugo
21577 \end_layout
21578
21579 \end_inset
21580 </cell>
21581 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21582 \begin_inset Text
21583
21584 \begin_layout Plain Layout
21585 111
21586 \end_layout
21587
21588 \end_inset
21589 </cell>
21590 </row>
21591 <row>
21592 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21593 \begin_inset Text
21594
21595 \begin_layout Plain Layout
21596
21597 \series bold
21598 Tezzele
21599 \end_layout
21600
21601 \end_inset
21602 </cell>
21603 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21604 \begin_inset Text
21605
21606 \begin_layout Plain Layout
21607 Margit
21608 \end_layout
21609
21610 \end_inset
21611 </cell>
21612 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21613 \begin_inset Text
21614
21615 \begin_layout Plain Layout
21616 111
21617 \end_layout
21618
21619 \end_inset
21620 </cell>
21621 </row>
21622 <row>
21623 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21624 \begin_inset Text
21625
21626 \begin_layout Plain Layout
21627
21628 \series bold
21629 Unterkalmsteiner
21630 \end_layout
21631
21632 \end_inset
21633 </cell>
21634 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21635 \begin_inset Text
21636
21637 \begin_layout Plain Layout
21638 Frieda
21639 \end_layout
21640
21641 \end_inset
21642 </cell>
21643 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21644 \begin_inset Text
21645
21646 \begin_layout Plain Layout
21647 111
21648 \end_layout
21649
21650 \end_inset
21651 </cell>
21652 </row>
21653 <row>
21654 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21655 \begin_inset Text
21656
21657 \begin_layout Plain Layout
21658
21659 \series bold
21660 Vieider
21661 \end_layout
21662
21663 \end_inset
21664 </cell>
21665 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21666 \begin_inset Text
21667
21668 \begin_layout Plain Layout
21669 Hilde
21670 \end_layout
21671
21672 \end_inset
21673 </cell>
21674 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21675 \begin_inset Text
21676
21677 \begin_layout Plain Layout
21678 111
21679 \end_layout
21680
21681 \end_inset
21682 </cell>
21683 </row>
21684 <row>
21685 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21686 \begin_inset Text
21687
21688 \begin_layout Plain Layout
21689
21690 \series bold
21691 Vigna
21692 \end_layout
21693
21694 \end_inset
21695 </cell>
21696 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21697 \begin_inset Text
21698
21699 \begin_layout Plain Layout
21700 Jürgen
21701 \end_layout
21702
21703 \end_inset
21704 </cell>
21705 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21706 \begin_inset Text
21707
21708 \begin_layout Plain Layout
21709 111
21710 \end_layout
21711
21712 \end_inset
21713 </cell>
21714 </row>
21715 <row>
21716 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21717 \begin_inset Text
21718
21719 \begin_layout Plain Layout
21720
21721 \series bold
21722 Weber
21723 \end_layout
21724
21725 \end_inset
21726 </cell>
21727 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21728 \begin_inset Text
21729
21730 \begin_layout Plain Layout
21731 Maurizio
21732 \end_layout
21733
21734 \end_inset
21735 </cell>
21736 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21737 \begin_inset Text
21738
21739 \begin_layout Plain Layout
21740 111
21741 \end_layout
21742
21743 \end_inset
21744 </cell>
21745 </row>
21746 <row>
21747 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21748 \begin_inset Text
21749
21750 \begin_layout Plain Layout
21751
21752 \series bold
21753 Winkler
21754 \end_layout
21755
21756 \end_inset
21757 </cell>
21758 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21759 \begin_inset Text
21760
21761 \begin_layout Plain Layout
21762 Franz
21763 \end_layout
21764
21765 \end_inset
21766 </cell>
21767 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21768 \begin_inset Text
21769
21770 \begin_layout Plain Layout
21771 111
21772 \end_layout
21773
21774 \end_inset
21775 </cell>
21776 </row>
21777 <row>
21778 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21779 \begin_inset Text
21780
21781 \begin_layout Plain Layout
21782  
21783 \end_layout
21784
21785 \end_inset
21786 </cell>
21787 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
21788 \begin_inset Text
21789
21790 \begin_layout Plain Layout
21791
21792 \end_layout
21793
21794 \end_inset
21795 </cell>
21796 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21797 \begin_inset Text
21798
21799 \begin_layout Plain Layout
21800
21801 \end_layout
21802
21803 \end_inset
21804 </cell>
21805 </row>
21806 <row>
21807 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21808 \begin_inset Text
21809
21810 \begin_layout Plain Layout
21811
21812 \series bold
21813 Annovi
21814 \end_layout
21815
21816 \end_inset
21817 </cell>
21818 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21819 \begin_inset Text
21820
21821 \begin_layout Plain Layout
21822 Silvia
21823 \end_layout
21824
21825 \end_inset
21826 </cell>
21827 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21828 \begin_inset Text
21829
21830 \begin_layout Plain Layout
21831 555
21832 \end_layout
21833
21834 \end_inset
21835 </cell>
21836 </row>
21837 <row>
21838 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21839 \begin_inset Text
21840
21841 \begin_layout Plain Layout
21842
21843 \series bold
21844 Bertoli
21845 \end_layout
21846
21847 \end_inset
21848 </cell>
21849 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21850 \begin_inset Text
21851
21852 \begin_layout Plain Layout
21853 Stefano
21854 \end_layout
21855
21856 \end_inset
21857 </cell>
21858 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21859 \begin_inset Text
21860
21861 \begin_layout Plain Layout
21862 555
21863 \end_layout
21864
21865 \end_inset
21866 </cell>
21867 </row>
21868 <row>
21869 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21870 \begin_inset Text
21871
21872 \begin_layout Plain Layout
21873
21874 \series bold
21875 Bozzi
21876 \end_layout
21877
21878 \end_inset
21879 </cell>
21880 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21881 \begin_inset Text
21882
21883 \begin_layout Plain Layout
21884 Walter
21885 \end_layout
21886
21887 \end_inset
21888 </cell>
21889 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21890 \begin_inset Text
21891
21892 \begin_layout Plain Layout
21893 555
21894 \end_layout
21895
21896 \end_inset
21897 </cell>
21898 </row>
21899 <row>
21900 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21901 \begin_inset Text
21902
21903 \begin_layout Plain Layout
21904
21905 \series bold
21906 Cachia
21907 \end_layout
21908
21909 \end_inset
21910 </cell>
21911 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21912 \begin_inset Text
21913
21914 \begin_layout Plain Layout
21915 Maria
21916 \end_layout
21917
21918 \end_inset
21919 </cell>
21920 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21921 \begin_inset Text
21922
21923 \begin_layout Plain Layout
21924 555
21925 \end_layout
21926
21927 \end_inset
21928 </cell>
21929 </row>
21930 <row>
21931 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21932 \begin_inset Text
21933
21934 \begin_layout Plain Layout
21935
21936 \series bold
21937 Cachia
21938 \end_layout
21939
21940 \end_inset
21941 </cell>
21942 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21943 \begin_inset Text
21944
21945 \begin_layout Plain Layout
21946 Maurizio
21947 \end_layout
21948
21949 \end_inset
21950 </cell>
21951 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21952 \begin_inset Text
21953
21954 \begin_layout Plain Layout
21955 555
21956 \end_layout
21957
21958 \end_inset
21959 </cell>
21960 </row>
21961 <row>
21962 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21963 \begin_inset Text
21964
21965 \begin_layout Plain Layout
21966
21967 \series bold
21968 Cinquemani
21969 \end_layout
21970
21971 \end_inset
21972 </cell>
21973 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21974 \begin_inset Text
21975
21976 \begin_layout Plain Layout
21977 Giusi
21978 \end_layout
21979
21980 \end_inset
21981 </cell>
21982 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21983 \begin_inset Text
21984
21985 \begin_layout Plain Layout
21986 555
21987 \end_layout
21988
21989 \end_inset
21990 </cell>
21991 </row>
21992 <row>
21993 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21994 \begin_inset Text
21995
21996 \begin_layout Plain Layout
21997
21998 \series bold
21999 Colin
22000 \end_layout
22001
22002 \end_inset
22003 </cell>
22004 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22005 \begin_inset Text
22006
22007 \begin_layout Plain Layout
22008 Bernard
22009 \end_layout
22010
22011 \end_inset
22012 </cell>
22013 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22014 \begin_inset Text
22015
22016 \begin_layout Plain Layout
22017 555
22018 \end_layout
22019
22020 \end_inset
22021 </cell>
22022 </row>
22023 <row>
22024 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22025 \begin_inset Text
22026
22027 \begin_layout Plain Layout
22028
22029 \series bold
22030 Concli
22031 \end_layout
22032
22033 \end_inset
22034 </cell>
22035 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22036 \begin_inset Text
22037
22038 \begin_layout Plain Layout
22039 Gianfranco
22040 \end_layout
22041
22042 \end_inset
22043 </cell>
22044 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22045 \begin_inset Text
22046
22047 \begin_layout Plain Layout
22048 555
22049 \end_layout
22050
22051 \end_inset
22052 </cell>
22053 </row>
22054 <row>
22055 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22056 \begin_inset Text
22057
22058 \begin_layout Plain Layout
22059
22060 \series bold
22061 Dal Bosco
22062 \end_layout
22063
22064 \end_inset
22065 </cell>
22066 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22067 \begin_inset Text
22068
22069 \begin_layout Plain Layout
22070 Carolina
22071 \end_layout
22072
22073 \end_inset
22074 </cell>
22075 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22076 \begin_inset Text
22077
22078 \begin_layout Plain Layout
22079 555
22080 \end_layout
22081
22082 \end_inset
22083 </cell>
22084 </row>
22085 <row>
22086 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22087 \begin_inset Text
22088
22089 \begin_layout Plain Layout
22090
22091 \series bold
22092 Dalpiaz
22093 \end_layout
22094
22095 \end_inset
22096 </cell>
22097 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22098 \begin_inset Text
22099
22100 \begin_layout Plain Layout
22101 Annamaria
22102 \end_layout
22103
22104 \end_inset
22105 </cell>
22106 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22107 \begin_inset Text
22108
22109 \begin_layout Plain Layout
22110 555
22111 \end_layout
22112
22113 \end_inset
22114 </cell>
22115 </row>
22116 <row>
22117 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22118 \begin_inset Text
22119
22120 \begin_layout Plain Layout
22121
22122 \series bold
22123 Feliciello
22124 \end_layout
22125
22126 \end_inset
22127 </cell>
22128 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22129 \begin_inset Text
22130
22131 \begin_layout Plain Layout
22132 Domenico
22133 \end_layout
22134
22135 \end_inset
22136 </cell>
22137 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22138 \begin_inset Text
22139
22140 \begin_layout Plain Layout
22141 555
22142 \end_layout
22143
22144 \end_inset
22145 </cell>
22146 </row>
22147 <row>
22148 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22149 \begin_inset Text
22150
22151 \begin_layout Plain Layout
22152
22153 \series bold
22154 Focarelli
22155 \end_layout
22156
22157 \end_inset
22158 </cell>
22159 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22160 \begin_inset Text
22161
22162 \begin_layout Plain Layout
22163 Paola
22164 \end_layout
22165
22166 \end_inset
22167 </cell>
22168 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22169 \begin_inset Text
22170
22171 \begin_layout Plain Layout
22172 555
22173 \end_layout
22174
22175 \end_inset
22176 </cell>
22177 </row>
22178 <row>
22179 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22180 \begin_inset Text
22181
22182 \begin_layout Plain Layout
22183
22184 \series bold
22185 Galletti
22186 \end_layout
22187
22188 \end_inset
22189 </cell>
22190 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22191 \begin_inset Text
22192
22193 \begin_layout Plain Layout
22194 Oreste
22195 \end_layout
22196
22197 \end_inset
22198 </cell>
22199 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22200 \begin_inset Text
22201
22202 \begin_layout Plain Layout
22203 555
22204 \end_layout
22205
22206 \end_inset
22207 </cell>
22208 </row>
22209 <row>
22210 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22211 \begin_inset Text
22212
22213 \begin_layout Plain Layout
22214
22215 \series bold
22216 Gasparini
22217 \end_layout
22218
22219 \end_inset
22220 </cell>
22221 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22222 \begin_inset Text
22223
22224 \begin_layout Plain Layout
22225 Franca
22226 \end_layout
22227
22228 \end_inset
22229 </cell>
22230 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22231 \begin_inset Text
22232
22233 \begin_layout Plain Layout
22234 555
22235 \end_layout
22236
22237 \end_inset
22238 </cell>
22239 </row>
22240 <row>
22241 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22242 \begin_inset Text
22243
22244 \begin_layout Plain Layout
22245
22246 \series bold
22247 Rizzardi
22248 \end_layout
22249
22250 \end_inset
22251 </cell>
22252 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22253 \begin_inset Text
22254
22255 \begin_layout Plain Layout
22256 Paola
22257 \end_layout
22258
22259 \end_inset
22260 </cell>
22261 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22262 \begin_inset Text
22263
22264 \begin_layout Plain Layout
22265 555
22266 \end_layout
22267
22268 \end_inset
22269 </cell>
22270 </row>
22271 <row>
22272 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22273 \begin_inset Text
22274
22275 \begin_layout Plain Layout
22276
22277 \series bold
22278 Lassini
22279 \end_layout
22280
22281 \end_inset
22282 </cell>
22283 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22284 \begin_inset Text
22285
22286 \begin_layout Plain Layout
22287 Giancarlo
22288 \end_layout
22289
22290 \end_inset
22291 </cell>
22292 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22293 \begin_inset Text
22294
22295 \begin_layout Plain Layout
22296 555
22297 \end_layout
22298
22299 \end_inset
22300 </cell>
22301 </row>
22302 <row>
22303 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22304 \begin_inset Text
22305
22306 \begin_layout Plain Layout
22307
22308 \series bold
22309 Malfatti
22310 \end_layout
22311
22312 \end_inset
22313 </cell>
22314 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22315 \begin_inset Text
22316
22317 \begin_layout Plain Layout
22318 Luciano
22319 \end_layout
22320
22321 \end_inset
22322 </cell>
22323 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22324 \begin_inset Text
22325
22326 \begin_layout Plain Layout
22327 555
22328 \end_layout
22329
22330 \end_inset
22331 </cell>
22332 </row>
22333 <row>
22334 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22335 \begin_inset Text
22336
22337 \begin_layout Plain Layout
22338
22339 \series bold
22340 Malfatti
22341 \end_layout
22342
22343 \end_inset
22344 </cell>
22345 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22346 \begin_inset Text
22347
22348 \begin_layout Plain Layout
22349 Valeriano
22350 \end_layout
22351
22352 \end_inset
22353 </cell>
22354 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22355 \begin_inset Text
22356
22357 \begin_layout Plain Layout
22358 555
22359 \end_layout
22360
22361 \end_inset
22362 </cell>
22363 </row>
22364 <row>
22365 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22366 \begin_inset Text
22367
22368 \begin_layout Plain Layout
22369
22370 \series bold
22371 Meneguzzo
22372 \end_layout
22373
22374 \end_inset
22375 </cell>
22376 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22377 \begin_inset Text
22378
22379 \begin_layout Plain Layout
22380 Roberto
22381 \end_layout
22382
22383 \end_inset
22384 </cell>
22385 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22386 \begin_inset Text
22387
22388 \begin_layout Plain Layout
22389 555
22390 \end_layout
22391
22392 \end_inset
22393 </cell>
22394 </row>
22395 <row>
22396 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22397 \begin_inset Text
22398
22399 \begin_layout Plain Layout
22400
22401 \series bold
22402 Mezzadra
22403 \end_layout
22404
22405 \end_inset
22406 </cell>
22407 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22408 \begin_inset Text
22409
22410 \begin_layout Plain Layout
22411 Roberto
22412 \end_layout
22413
22414 \end_inset
22415 </cell>
22416 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22417 \begin_inset Text
22418
22419 \begin_layout Plain Layout
22420 555
22421 \end_layout
22422
22423 \end_inset
22424 </cell>
22425 </row>
22426 <row>
22427 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22428 \begin_inset Text
22429
22430 \begin_layout Plain Layout
22431
22432 \series bold
22433 Pirpamer
22434 \end_layout
22435
22436 \end_inset
22437 </cell>
22438 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22439 \begin_inset Text
22440
22441 \begin_layout Plain Layout
22442 Erich
22443 \end_layout
22444
22445 \end_inset
22446 </cell>
22447 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22448 \begin_inset Text
22449
22450 \begin_layout Plain Layout
22451 555
22452 \end_layout
22453
22454 \end_inset
22455 </cell>
22456 </row>
22457 <row>
22458 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22459 \begin_inset Text
22460
22461 \begin_layout Plain Layout
22462
22463 \series bold
22464 Pochiesa
22465 \end_layout
22466
22467 \end_inset
22468 </cell>
22469 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22470 \begin_inset Text
22471
22472 \begin_layout Plain Layout
22473 Paolo
22474 \end_layout
22475
22476 \end_inset
22477 </cell>
22478 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22479 \begin_inset Text
22480
22481 \begin_layout Plain Layout
22482 555, 222
22483 \end_layout
22484
22485 \end_inset
22486 </cell>
22487 </row>
22488 <row>
22489 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22490 \begin_inset Text
22491
22492 \begin_layout Plain Layout
22493
22494 \series bold
22495 Radina
22496 \end_layout
22497
22498 \end_inset
22499 </cell>
22500 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22501 \begin_inset Text
22502
22503 \begin_layout Plain Layout
22504 Claudio
22505 \end_layout
22506
22507 \end_inset
22508 </cell>
22509 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22510 \begin_inset Text
22511
22512 \begin_layout Plain Layout
22513 555
22514 \end_layout
22515
22516 \end_inset
22517 </cell>
22518 </row>
22519 <row>
22520 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22521 \begin_inset Text
22522
22523 \begin_layout Plain Layout
22524
22525 \series bold
22526 Stuffer
22527 \end_layout
22528
22529 \end_inset
22530 </cell>
22531 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22532 \begin_inset Text
22533
22534 \begin_layout Plain Layout
22535 Oskar
22536 \end_layout
22537
22538 \end_inset
22539 </cell>
22540 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22541 \begin_inset Text
22542
22543 \begin_layout Plain Layout
22544 555
22545 \end_layout
22546
22547 \end_inset
22548 </cell>
22549 </row>
22550 <row>
22551 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22552 \begin_inset Text
22553
22554 \begin_layout Plain Layout
22555
22556 \series bold
22557 Tacchelli
22558 \end_layout
22559
22560 \end_inset
22561 </cell>
22562 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22563 \begin_inset Text
22564
22565 \begin_layout Plain Layout
22566 Ugo
22567 \end_layout
22568
22569 \end_inset
22570 </cell>
22571 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22572 \begin_inset Text
22573
22574 \begin_layout Plain Layout
22575 555
22576 \end_layout
22577
22578 \end_inset
22579 </cell>
22580 </row>
22581 <row>
22582 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22583 \begin_inset Text
22584
22585 \begin_layout Plain Layout
22586
22587 \series bold
22588 Tezzele
22589 \end_layout
22590
22591 \end_inset
22592 </cell>
22593 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22594 \begin_inset Text
22595
22596 \begin_layout Plain Layout
22597 Margit
22598 \end_layout
22599
22600 \end_inset
22601 </cell>
22602 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22603 \begin_inset Text
22604
22605 \begin_layout Plain Layout
22606 555
22607 \end_layout
22608
22609 \end_inset
22610 </cell>
22611 </row>
22612 <row>
22613 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22614 \begin_inset Text
22615
22616 \begin_layout Plain Layout
22617
22618 \series bold
22619 Unterkalmsteiner
22620 \end_layout
22621
22622 \end_inset
22623 </cell>
22624 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22625 \begin_inset Text
22626
22627 \begin_layout Plain Layout
22628 Frieda
22629 \end_layout
22630
22631 \end_inset
22632 </cell>
22633 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22634 \begin_inset Text
22635
22636 \begin_layout Plain Layout
22637 555
22638 \end_layout
22639
22640 \end_inset
22641 </cell>
22642 </row>
22643 <row>
22644 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22645 \begin_inset Text
22646
22647 \begin_layout Plain Layout
22648
22649 \series bold
22650 Vieider
22651 \end_layout
22652
22653 \end_inset
22654 </cell>
22655 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22656 \begin_inset Text
22657
22658 \begin_layout Plain Layout
22659 Hilde
22660 \end_layout
22661
22662 \end_inset
22663 </cell>
22664 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22665 \begin_inset Text
22666
22667 \begin_layout Plain Layout
22668 555
22669 \end_layout
22670
22671 \end_inset
22672 </cell>
22673 </row>
22674 <row>
22675 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22676 \begin_inset Text
22677
22678 \begin_layout Plain Layout
22679
22680 \series bold
22681 Vigna
22682 \end_layout
22683
22684 \end_inset
22685 </cell>
22686 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22687 \begin_inset Text
22688
22689 \begin_layout Plain Layout
22690 Jürgen
22691 \end_layout
22692
22693 \end_inset
22694 </cell>
22695 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22696 \begin_inset Text
22697
22698 \begin_layout Plain Layout
22699 999
22700 \end_layout
22701
22702 \end_inset
22703 </cell>
22704 </row>
22705 <row>
22706 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22707 \begin_inset Text
22708
22709 \begin_layout Plain Layout
22710
22711 \series bold
22712 Weber
22713 \end_layout
22714
22715 \end_inset
22716 </cell>
22717 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22718 \begin_inset Text
22719
22720 \begin_layout Plain Layout
22721 Maurizio
22722 \end_layout
22723
22724 \end_inset
22725 </cell>
22726 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22727 \begin_inset Text
22728
22729 \begin_layout Plain Layout
22730 555
22731 \end_layout
22732
22733 \end_inset
22734 </cell>
22735 </row>
22736 <row>
22737 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22738 \begin_inset Text
22739
22740 \begin_layout Plain Layout
22741
22742 \series bold
22743 Winkler
22744 \end_layout
22745
22746 \end_inset
22747 </cell>
22748 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22749 \begin_inset Text
22750
22751 \begin_layout Plain Layout
22752 Franz
22753 \end_layout
22754
22755 \end_inset
22756 </cell>
22757 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22758 \begin_inset Text
22759
22760 \begin_layout Plain Layout
22761 555
22762 \end_layout
22763
22764 \end_inset
22765 </cell>
22766 </row>
22767 <row endlastfoot="true">
22768 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22769 \begin_inset Text
22770
22771 \begin_layout Plain Layout
22772
22773 \series bold
22774 End
22775 \end_layout
22776
22777 \end_inset
22778 </cell>
22779 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
22780 \begin_inset Text
22781
22782 \begin_layout Plain Layout
22783
22784 \end_layout
22785
22786 \end_inset
22787 </cell>
22788 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22789 \begin_inset Text
22790
22791 \begin_layout Plain Layout
22792
22793 \end_layout
22794
22795 \end_inset
22796 </cell>
22797 </row>
22798 </lyxtabular>
22799
22800 \end_inset
22801
22802
22803 \end_layout
22804
22805 \begin_layout Subsection
22806 Table Cells
22807 \begin_inset Index idx
22808 status collapsed
22809
22810 \begin_layout Plain Layout
22811 Tables ! Cells
22812 \end_layout
22813
22814 \end_inset
22815
22816
22817 \begin_inset CommandInset label
22818 LatexCommand label
22819 name "subsec:Table-Cells"
22820
22821 \end_inset
22822
22823
22824 \end_layout
22825
22826 \begin_layout Standard
22827 A table cell can contain text, inline equations, a figure, or another table.
22828  All these kinds of objects can be placed in the same cell.
22829  Font sizes and shapes can also be altered.
22830  But you can't put a special environment in a cell (like 
22831 \family sans
22832 Section*
22833 \family default
22834 , etc.), nor set spacing options for the cell's paragraph.
22835 \end_layout
22836
22837 \begin_layout Standard
22838 To have multi-line entries in table cells, you have to declare a fixed width
22839  for the column in the table dialog.
22840  Your text is then automatically split into multiple lines and the cell
22841  is enlarged vertically when the length of the text exceeds the given width.
22842  An example:
22843 \end_layout
22844
22845 \begin_layout Standard
22846 \align center
22847 \begin_inset Tabular
22848 <lyxtabular version="3" rows="4" columns="3">
22849 <features tabularvalignment="middle">
22850 <column alignment="center" valignment="top" width="0pt">
22851 <column alignment="block" valignment="top" width="3cm">
22852 <column alignment="center" valignment="top" width="0pt">
22853 <row>
22854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22855 \begin_inset Text
22856
22857 \begin_layout Plain Layout
22858
22859 \family roman
22860 \series medium
22861 \shape up
22862 \size normal
22863 \emph off
22864 \bar no
22865 \noun off
22866 \color none
22867 1
22868 \end_layout
22869
22870 \end_inset
22871 </cell>
22872 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22873 \begin_inset Text
22874
22875 \begin_layout Plain Layout
22876
22877 \family roman
22878 \series medium
22879 \shape up
22880 \size normal
22881 \emph off
22882 \bar no
22883 \noun off
22884 \color none
22885 2
22886 \end_layout
22887
22888 \end_inset
22889 </cell>
22890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22891 \begin_inset Text
22892
22893 \begin_layout Plain Layout
22894
22895 \family roman
22896 \series medium
22897 \shape up
22898 \size normal
22899 \emph off
22900 \bar no
22901 \noun off
22902 \color none
22903 3
22904 \end_layout
22905
22906 \end_inset
22907 </cell>
22908 </row>
22909 <row>
22910 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22911 \begin_inset Text
22912
22913 \begin_layout Plain Layout
22914
22915 \family roman
22916 \series medium
22917 \shape up
22918 \size normal
22919 \emph off
22920 \bar no
22921 \noun off
22922 \color none
22923 4
22924 \end_layout
22925
22926 \end_inset
22927 </cell>
22928 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22929 \begin_inset Text
22930
22931 \begin_layout Plain Layout
22932
22933 \family roman
22934 \series medium
22935 \shape up
22936 \size normal
22937 \emph off
22938 \bar no
22939 \noun off
22940 \color none
22941 This is a multi-line entry in a table.
22942 \end_layout
22943
22944 \end_inset
22945 </cell>
22946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22947 \begin_inset Text
22948
22949 \begin_layout Plain Layout
22950
22951 \family roman
22952 \series medium
22953 \shape up
22954 \size normal
22955 \emph off
22956 \bar no
22957 \noun off
22958 \color none
22959 5
22960 \end_layout
22961
22962 \end_inset
22963 </cell>
22964 </row>
22965 <row>
22966 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22967 \begin_inset Text
22968
22969 \begin_layout Plain Layout
22970
22971 \family roman
22972 \series medium
22973 \shape up
22974 \size normal
22975 \emph off
22976 \bar no
22977 \noun off
22978 \color none
22979 6
22980 \end_layout
22981
22982 \end_inset
22983 </cell>
22984 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22985 \begin_inset Text
22986
22987 \begin_layout Plain Layout
22988
22989 \family roman
22990 \series medium
22991 \shape up
22992 \size normal
22993 \emph off
22994 \bar no
22995 \noun off
22996 \color none
22997 This is longer now.
22998 \end_layout
22999
23000 \end_inset
23001 </cell>
23002 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
23003 \begin_inset Text
23004
23005 \begin_layout Plain Layout
23006
23007 \family roman
23008 \series medium
23009 \shape up
23010 \size normal
23011 \emph off
23012 \bar no
23013 \noun off
23014 \color none
23015 7
23016 \end_layout
23017
23018 \end_inset
23019 </cell>
23020 </row>
23021 <row>
23022 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
23023 \begin_inset Text
23024
23025 \begin_layout Plain Layout
23026
23027 \family roman
23028 \series medium
23029 \shape up
23030 \size normal
23031 \emph off
23032 \bar no
23033 \noun off
23034 \color none
23035 8
23036 \end_layout
23037
23038 \end_inset
23039 </cell>
23040 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
23041 \begin_inset Text
23042
23043 \begin_layout Plain Layout
23044
23045 \family roman
23046 \series medium
23047 \shape up
23048 \size normal
23049 \emph off
23050 \bar no
23051 \noun off
23052 \color none
23053 This is a multi-line entry in a table.
23054  This is longer now.
23055 \end_layout
23056
23057 \end_inset
23058 </cell>
23059 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
23060 \begin_inset Text
23061
23062 \begin_layout Plain Layout
23063
23064 \family roman
23065 \series medium
23066 \shape up
23067 \size normal
23068 \emph off
23069 \bar no
23070 \noun off
23071 \color none
23072 9
23073 \end_layout
23074
23075 \end_inset
23076 </cell>
23077 </row>
23078 </lyxtabular>
23079
23080 \end_inset
23081
23082
23083 \end_layout
23084
23085 \begin_layout Standard
23086 Cutting and pasting between tables and table cells works reasonably well.
23087  You can even cut and paste more than one row.
23088 \begin_inset Foot
23089 status collapsed
23090
23091 \begin_layout Plain Layout
23092 Note that you cannot paste into a multicell selection because it would not
23093  be clear what to do when pasting a single word in a selected 2×3.
23094  
23095 \end_layout
23096
23097 \end_inset
23098
23099  Selection with the mouse or with 
23100 \family sans
23101 Shift
23102 \family default
23103  plus the arrow keys works as usual.
23104  You can also copy and paste the entire table as a single unit by starting
23105  the selection from outside the table.
23106 \end_layout
23107
23108 \begin_layout Section
23109 Floats
23110 \begin_inset Index idx
23111 status collapsed
23112
23113 \begin_layout Plain Layout
23114 Floats
23115 \end_layout
23116
23117 \end_inset
23118
23119
23120 \begin_inset CommandInset label
23121 LatexCommand label
23122 name "sec:Floats"
23123
23124 \end_inset
23125
23126
23127 \end_layout
23128
23129 \begin_layout Subsection
23130 Introduction
23131 \end_layout
23132
23133 \begin_layout Standard
23134 A float is a block of text associated with some sort of label, which doesn't
23135  have a fixed location.
23136  It can 
23137 \begin_inset Quotes eld
23138 \end_inset
23139
23140 float
23141 \begin_inset Quotes erd
23142 \end_inset
23143
23144  forward or backward a page or two, to wherever it fits best.
23145  
23146 \family sans
23147 Footnotes
23148 \family default
23149  and 
23150 \family sans
23151 Margin
23152 \begin_inset space ~
23153 \end_inset
23154
23155 Notes
23156 \family default
23157  are also floats, because they can float to the next page when there are
23158  too many notes on the current page.
23159 \end_layout
23160
23161 \begin_layout Standard
23162 Floats make it possible to get a high quality layout.
23163  Images and tables can be distributed evenly over the pages to avoid whitespace
23164  and pages without text.
23165  As the floating often destroys the spatial context between the text and
23166  the image/table, every float can be referenced in the text.
23167  Floats are therefore numbered.
23168  Referencing is described in section
23169 \begin_inset space ~
23170 \end_inset
23171
23172
23173 \begin_inset CommandInset ref
23174 LatexCommand ref
23175 reference "sec:Cross-References"
23176
23177 \end_inset
23178
23179 .
23180 \end_layout
23181
23182 \begin_layout Standard
23183 To insert a float, use the menu 
23184 \family sans
23185 Insert\SpecialChar menuseparator
23186 Float
23187 \family default
23188 .
23189  A box with a caption will be inserted into your document.
23190  The label will automatically be translated to the document language in
23191  the output.
23192  After the label you can insert the caption text.
23193 \begin_inset Index idx
23194 status collapsed
23195
23196 \begin_layout Plain Layout
23197 Floats ! Captions
23198 \end_layout
23199
23200 \end_inset
23201
23202  The image or table is inserted above or below the caption in a separate
23203  paragraph within the float.
23204  To keep your \SpecialChar LyX
23205 -document readable, you can open and close the float box by
23206  left-clicking on the box label.
23207  A closed float box looks like this: 
23208 \begin_inset Graphics
23209         filename clipart/float.png
23210         scale 80
23211
23212 \end_inset
23213
23214  – a gray button with a red label.
23215 \end_layout
23216
23217 \begin_layout Standard
23218 You should insert floats in a separate paragraph to avoid possible \SpecialChar LaTeX
23219 -errors
23220  that can occur when the surrounding text is specially formatted.
23221 \end_layout
23222
23223 \begin_layout Subsection
23224 Figure Floats
23225 \begin_inset CommandInset label
23226 LatexCommand label
23227 name "subsec:Figure-Floats"
23228
23229 \end_inset
23230
23231
23232 \begin_inset Index idx
23233 status collapsed
23234
23235 \begin_layout Plain Layout
23236 Floats ! Figure floats
23237 \end_layout
23238
23239 \end_inset
23240
23241
23242 \end_layout
23243
23244 \begin_layout Standard
23245 Figure
23246 \begin_inset space ~
23247 \end_inset
23248
23249
23250 \begin_inset CommandInset ref
23251 LatexCommand ref
23252 reference "fig:A-star-in"
23253
23254 \end_inset
23255
23256  was created using the menu 
23257 \family sans
23258 Insert\SpecialChar menuseparator
23259 Float\SpecialChar menuseparator
23260 Figure
23261 \family default
23262  (toolbar button 
23263 \begin_inset Info
23264 type  "icon"
23265 arg   "float-insert figure"
23266 \end_inset
23267
23268 ).
23269  The image was inserted by setting the cursor above the caption label and
23270  using the menu 
23271 \family sans
23272 Insert\SpecialChar menuseparator
23273 Graphics
23274 \family default
23275  (toolbar button 
23276 \begin_inset Info
23277 type  "icon"
23278 arg   "dialog-show-new-inset graphics"
23279 \end_inset
23280
23281 ).
23282  The image in the float was horizontally centered by putting the cursor
23283  to the left or right of the image and using the menu 
23284 \family sans
23285 Edit\SpecialChar menuseparator
23286 Paragraph
23287 \begin_inset space ~
23288 \end_inset
23289
23290 Settings
23291 \family default
23292  (toolbar button 
23293 \begin_inset Info
23294 type  "icon"
23295 arg   "layout-paragraph"
23296 \end_inset
23297
23298 ).
23299 \end_layout
23300
23301 \begin_layout Standard
23302 \begin_inset Float figure
23303 wide false
23304 sideways false
23305 status open
23306
23307 \begin_layout Plain Layout
23308 \align center
23309 \begin_inset Graphics
23310         filename clipart/Star-structure.pdf
23311         lyxscale 60
23312         width 50col%
23313
23314 \end_inset
23315
23316
23317 \end_layout
23318
23319 \begin_layout Plain Layout
23320 \begin_inset Caption Standard
23321
23322 \begin_layout Plain Layout
23323 \begin_inset CommandInset label
23324 LatexCommand label
23325 name "fig:A-star-in"
23326
23327 \end_inset
23328
23329 A star in a float.
23330 \end_layout
23331
23332 \end_inset
23333
23334
23335 \end_layout
23336
23337 \end_inset
23338
23339
23340 \end_layout
23341
23342 \begin_layout Standard
23343 This figure float also shows how to set a label and create a cross-reference
23344  to it: Insert a label into the caption using the menu 
23345 \family sans
23346 Insert\SpecialChar menuseparator
23347 Label
23348 \family default
23349  (toolbar button 
23350 \begin_inset Info
23351 type  "icon"
23352 arg   "label-insert"
23353 \end_inset
23354
23355 ) and refer to it using the menu 
23356 \family sans
23357 Insert\SpecialChar menuseparator
23358 Cross-Reference
23359 \family default
23360  (toolbar button 
23361 \begin_inset Info
23362 type  "icon"
23363 arg   "dialog-show-new-inset ref"
23364 \end_inset
23365
23366 ).
23367  It is important to use cross-references to figure floats rather than using
23368  vague references like 
23369 \begin_inset Quotes eld
23370 \end_inset
23371
23372 the figure above
23373 \begin_inset Quotes erd
23374 \end_inset
23375
23376 , because, as \SpecialChar LaTeX
23377  will reposition the floats in the final document, it might
23378  not be 
23379 \begin_inset Quotes eld
23380 \end_inset
23381
23382 above
23383 \begin_inset Quotes erd
23384 \end_inset
23385
23386  at all.
23387  For more about cross-references, see section
23388 \begin_inset space ~
23389 \end_inset
23390
23391
23392 \begin_inset CommandInset ref
23393 LatexCommand ref
23394 reference "sec:Cross-References"
23395
23396 \end_inset
23397
23398 .
23399 \end_layout
23400
23401 \begin_layout Standard
23402 Normally only one image is inserted in a figure float, but sometimes you
23403  might want to use two images with separate subcaptions.
23404  This can be done by inserting image floats into existing image floats.
23405  Note that only the main caption of the float is added to the List of Figures
23406  as described in section
23407 \begin_inset space ~
23408 \end_inset
23409
23410
23411 \begin_inset CommandInset ref
23412 LatexCommand ref
23413 reference "subsec:List-of-Figures"
23414
23415 \end_inset
23416
23417 .
23418  Figure
23419 \begin_inset space ~
23420 \end_inset
23421
23422
23423 \begin_inset CommandInset ref
23424 LatexCommand ref
23425 reference "fig:Two-images"
23426
23427 \end_inset
23428
23429  is an example of a figure float with two images set side by side.
23430  You can also set the images one below the other.
23431  Figure
23432 \begin_inset space ~
23433 \end_inset
23434
23435
23436 \begin_inset CommandInset ref
23437 LatexCommand ref
23438 reference "fig:Undefinable"
23439
23440 \end_inset
23441
23442  and 
23443 \begin_inset CommandInset ref
23444 LatexCommand ref
23445 reference "fig:Star"
23446
23447 \end_inset
23448
23449  are the subfigures.
23450 \end_layout
23451
23452 \begin_layout Standard
23453 \begin_inset Float figure
23454 wide false
23455 sideways false
23456 status open
23457
23458 \begin_layout Plain Layout
23459 \begin_inset space \hfill{}
23460 \end_inset
23461
23462
23463 \begin_inset Float figure
23464 wide false
23465 sideways false
23466 status collapsed
23467
23468 \begin_layout Plain Layout
23469 \begin_inset Caption Standard
23470
23471 \begin_layout Plain Layout
23472 \begin_inset CommandInset label
23473 LatexCommand label
23474 name "fig:Undefinable"
23475
23476 \end_inset
23477
23478 Undefinable
23479 \end_layout
23480
23481 \end_inset
23482
23483
23484 \end_layout
23485
23486 \begin_layout Plain Layout
23487 \begin_inset Graphics
23488         filename clipart/3D-structure-distort.pdf
23489         lyxscale 60
23490         width 45col%
23491
23492 \end_inset
23493
23494
23495 \end_layout
23496
23497 \end_inset
23498
23499
23500 \begin_inset space \hfill{}
23501 \end_inset
23502
23503
23504 \begin_inset Float figure
23505 wide false
23506 sideways false
23507 status collapsed
23508
23509 \begin_layout Plain Layout
23510 \begin_inset Caption Standard
23511
23512 \begin_layout Plain Layout
23513 \begin_inset CommandInset label
23514 LatexCommand label
23515 name "fig:Star"
23516
23517 \end_inset
23518
23519 Star
23520 \end_layout
23521
23522 \end_inset
23523
23524
23525 \end_layout
23526
23527 \begin_layout Plain Layout
23528 \begin_inset Graphics
23529         filename clipart/Star-structure.pdf
23530         lyxscale 60
23531         width 45col%
23532
23533 \end_inset
23534
23535
23536 \end_layout
23537
23538 \end_inset
23539
23540
23541 \begin_inset space \hfill{}
23542 \end_inset
23543
23544
23545 \end_layout
23546
23547 \begin_layout Plain Layout
23548 \begin_inset Caption Standard
23549
23550 \begin_layout Plain Layout
23551 \begin_inset CommandInset label
23552 LatexCommand label
23553 name "fig:Two-images"
23554
23555 \end_inset
23556
23557 Two images.
23558 \end_layout
23559
23560 \end_inset
23561
23562
23563 \end_layout
23564
23565 \end_inset
23566
23567
23568 \end_layout
23569
23570 \begin_layout Subsection
23571 Table Floats
23572 \begin_inset Index idx
23573 status collapsed
23574
23575 \begin_layout Plain Layout
23576 Floats ! Table floats
23577 \end_layout
23578
23579 \end_inset
23580
23581
23582 \end_layout
23583
23584 \begin_layout Standard
23585 Table floats can be inserted using the menu 
23586 \family sans
23587 Insert\SpecialChar menuseparator
23588 Float\SpecialChar menuseparator
23589 Table
23590 \family default
23591  or the toolbar button 
23592 \begin_inset Info
23593 type  "icon"
23594 arg   "float-insert table"
23595 \end_inset
23596
23597 .
23598  They have the same properties as figure floats except that the table in
23599  the float is normally placed below the caption and not above like for figures
23600  and that the label begins with “tab:”.
23601  Table
23602 \begin_inset space ~
23603 \end_inset
23604
23605
23606 \begin_inset CommandInset ref
23607 LatexCommand ref
23608 reference "tab:Table-float"
23609
23610 \end_inset
23611
23612  is a table float.
23613 \end_layout
23614
23615 \begin_layout Standard
23616 \begin_inset Float table
23617 wide false
23618 sideways false
23619 status open
23620
23621 \begin_layout Plain Layout
23622 \begin_inset Caption Standard
23623
23624 \begin_layout Plain Layout
23625 \begin_inset CommandInset label
23626 LatexCommand label
23627 name "tab:Table-float"
23628
23629 \end_inset
23630
23631 A table float.
23632 \end_layout
23633
23634 \end_inset
23635
23636
23637 \end_layout
23638
23639 \begin_layout Plain Layout
23640 \align center
23641 \begin_inset Tabular
23642 <lyxtabular version="3" rows="3" columns="3">
23643 <features tabularvalignment="middle">
23644 <column alignment="center" valignment="top" width="0pt">
23645 <column alignment="center" valignment="top" width="0pt">
23646 <column alignment="center" valignment="top" width="0pt">
23647 <row>
23648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23649 \begin_inset Text
23650
23651 \begin_layout Plain Layout
23652
23653 \family roman
23654 \series medium
23655 \shape up
23656 \size normal
23657 \emph off
23658 \bar no
23659 \noun off
23660 \color none
23661 1
23662 \end_layout
23663
23664 \end_inset
23665 </cell>
23666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23667 \begin_inset Text
23668
23669 \begin_layout Plain Layout
23670
23671 \family roman
23672 \series medium
23673 \shape up
23674 \size normal
23675 \emph off
23676 \bar no
23677 \noun off
23678 \color none
23679 2
23680 \end_layout
23681
23682 \end_inset
23683 </cell>
23684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23685 \begin_inset Text
23686
23687 \begin_layout Plain Layout
23688
23689 \family roman
23690 \series medium
23691 \shape up
23692 \size normal
23693 \emph off
23694 \bar no
23695 \noun off
23696 \color none
23697 3
23698 \end_layout
23699
23700 \end_inset
23701 </cell>
23702 </row>
23703 <row>
23704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23705 \begin_inset Text
23706
23707 \begin_layout Plain Layout
23708
23709 \family roman
23710 \series medium
23711 \shape up
23712 \size normal
23713 \emph off
23714 \bar no
23715 \noun off
23716 \color none
23717 Joe
23718 \end_layout
23719
23720 \end_inset
23721 </cell>
23722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23723 \begin_inset Text
23724
23725 \begin_layout Plain Layout
23726
23727 \family roman
23728 \series medium
23729 \shape up
23730 \size normal
23731 \emph off
23732 \bar no
23733 \noun off
23734 \color none
23735 Mary
23736 \end_layout
23737
23738 \end_inset
23739 </cell>
23740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23741 \begin_inset Text
23742
23743 \begin_layout Plain Layout
23744
23745 \family roman
23746 \series medium
23747 \shape up
23748 \size normal
23749 \emph off
23750 \bar no
23751 \noun off
23752 \color none
23753 Ted
23754 \end_layout
23755
23756 \end_inset
23757 </cell>
23758 </row>
23759 <row>
23760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23761 \begin_inset Text
23762
23763 \begin_layout Plain Layout
23764
23765 \family roman
23766 \series medium
23767 \shape up
23768 \size normal
23769 \emph off
23770 \bar no
23771 \noun off
23772 \color none
23773 \begin_inset Formula $\int x^{2}dx$
23774 \end_inset
23775
23776
23777 \end_layout
23778
23779 \end_inset
23780 </cell>
23781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23782 \begin_inset Text
23783
23784 \begin_layout Plain Layout
23785
23786 \family roman
23787 \series medium
23788 \shape up
23789 \size normal
23790 \emph off
23791 \bar no
23792 \noun off
23793 \color none
23794 \begin_inset Formula $\left[\begin{array}{cc}
23795 a & b\\
23796 c & d
23797 \end{array}\right]$
23798 \end_inset
23799
23800
23801 \end_layout
23802
23803 \end_inset
23804 </cell>
23805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23806 \begin_inset Text
23807
23808 \begin_layout Plain Layout
23809
23810 \family roman
23811 \series medium
23812 \shape up
23813 \size normal
23814 \emph off
23815 \bar no
23816 \noun off
23817 \color none
23818 \begin_inset Formula $1+1=2$
23819 \end_inset
23820
23821
23822 \end_layout
23823
23824 \end_inset
23825 </cell>
23826 </row>
23827 </lyxtabular>
23828
23829 \end_inset
23830
23831
23832 \end_layout
23833
23834 \end_inset
23835
23836
23837 \end_layout
23838
23839 \begin_layout Subsection
23840 More Information
23841 \begin_inset Index idx
23842 status collapsed
23843
23844 \begin_layout Plain Layout
23845 Floats ! Details
23846 \end_layout
23847
23848 \end_inset
23849
23850
23851 \end_layout
23852
23853 \begin_layout Standard
23854 \SpecialChar LyX
23855  offers you further float types as well as rotated floats.
23856  It also allows you to change the float numbering scheme, to control the
23857  float placement and to change the formatting and placement of the float
23858  caption.
23859  All these features are explained in detail with many examples in the chapter
23860  
23861 \emph on
23862 Floats
23863 \emph default
23864  in the 
23865 \emph on
23866 Embedded
23867 \begin_inset space ~
23868 \end_inset
23869
23870 Objects
23871 \emph default
23872  manual.
23873 \end_layout
23874
23875 \begin_layout Section
23876 Minipages
23877 \begin_inset Index idx
23878 status collapsed
23879
23880 \begin_layout Plain Layout
23881 Minipages
23882 \end_layout
23883
23884 \end_inset
23885
23886
23887 \end_layout
23888
23889 \begin_layout Standard
23890 \SpecialChar LaTeX
23891  provides a mechanism essentially to produce a page within a page, called
23892  a minipage.
23893  Within a minipage, all the usual rules of indentation, line wrapping, etc.
23894 \begin_inset space \space{}
23895 \end_inset
23896
23897 apply.
23898  
23899 \end_layout
23900
23901 \begin_layout Standard
23902 Minipages in \SpecialChar LyX
23903  have their own collapsible box inserted via the menu 
23904 \family sans
23905 Insert\SpecialChar menuseparator
23906 Box
23907 \family default
23908 .
23909  Right-clicking on the box label allows you to alter the width of the minipage
23910  and its alignment within the page.
23911 \end_layout
23912
23913 \begin_layout Standard
23914 \align center
23915 \begin_inset Box Frameless
23916 position "t"
23917 hor_pos "c"
23918 has_inner_box 1
23919 inner_pos "t"
23920 use_parbox 0
23921 use_makebox 0
23922 width "30col%"
23923 special "none"
23924 height "1pt"
23925 height_special "totalheight"
23926 thickness "0.4pt"
23927 separation "3pt"
23928 shadowsize "4pt"
23929 framecolor "black"
23930 backgroundcolor "none"
23931 status collapsed
23932
23933 \begin_layout Plain Layout
23934
23935 \shape italic
23936 This is a minipage.
23937  The text is set in an italic style.
23938 \end_layout
23939
23940 \begin_layout Plain Layout
23941
23942 \shape italic
23943 Minipages are often used for text in another language or text that needs
23944  another formatting.
23945 \end_layout
23946
23947 \end_inset
23948
23949
23950 \end_layout
23951
23952 \begin_layout Standard
23953 \begin_inset VSpace medskip
23954 \end_inset
23955
23956 If you place two minipages side-by-side, you can use 
23957 \family sans
23958 Horizontal Fills
23959 \family default
23960  as described in section
23961 \begin_inset space ~
23962 \end_inset
23963
23964
23965 \begin_inset CommandInset ref
23966 LatexCommand ref
23967 reference "subsec:Horizontal-Space"
23968
23969 \end_inset
23970
23971 :
23972 \begin_inset VSpace medskip
23973 \end_inset
23974
23975
23976 \end_layout
23977
23978 \begin_layout Standard
23979 \begin_inset Box Frameless
23980 position "t"
23981 hor_pos "c"
23982 has_inner_box 1
23983 inner_pos "t"
23984 use_parbox 0
23985 use_makebox 0
23986 width "1.5in"
23987 special "none"
23988 height "1pt"
23989 height_special "totalheight"
23990 thickness "0.4pt"
23991 separation "3pt"
23992 shadowsize "4pt"
23993 framecolor "black"
23994 backgroundcolor "none"
23995 status open
23996
23997 \begin_layout Plain Layout
23998 This is a minipage with some stupid dummy text.
23999  This dummy text is used to increase the size of the minipage.
24000 \end_layout
24001
24002 \end_inset
24003
24004
24005 \begin_inset space \hfill{}
24006 \end_inset
24007
24008
24009 \begin_inset Box Frameless
24010 position "t"
24011 hor_pos "c"
24012 has_inner_box 1
24013 inner_pos "t"
24014 use_parbox 0
24015 use_makebox 0
24016 width "1.5in"
24017 special "none"
24018 height "1pt"
24019 height_special "totalheight"
24020 thickness "0.4pt"
24021 separation "3pt"
24022 shadowsize "4pt"
24023 framecolor "black"
24024 backgroundcolor "none"
24025 status open
24026
24027 \begin_layout Plain Layout
24028 This is a minipage with some stupid dummy text.
24029  This dummy text is used to increase the size of the minipage.
24030 \end_layout
24031
24032 \end_inset
24033
24034
24035 \end_layout
24036
24037 \begin_layout Standard
24038 \begin_inset VSpace bigskip
24039 \end_inset
24040
24041
24042 \end_layout
24043
24044 \begin_layout Standard
24045 When you right-click on a minipage box, you can transform the box to another
24046  box type.
24047  All box types and their settings are explained in detail in chapter 
24048 \emph on
24049 Boxes
24050 \emph default
24051  of the 
24052 \emph on
24053 Embedded
24054 \begin_inset space ~
24055 \end_inset
24056
24057 Objects
24058 \emph default
24059  manual.
24060 \end_layout
24061
24062 \begin_layout Chapter
24063 Mathematical Formulas
24064 \begin_inset Index idx
24065 status collapsed
24066
24067 \begin_layout Plain Layout
24068 Math
24069 \end_layout
24070
24071 \end_inset
24072
24073
24074 \begin_inset Index idx
24075 status collapsed
24076
24077 \begin_layout Plain Layout
24078 Formulas | see
24079 \begin_inset ERT
24080 status collapsed
24081
24082 \begin_layout Plain Layout
24083
24084 {
24085 \end_layout
24086
24087 \end_inset
24088
24089 Math
24090 \begin_inset ERT
24091 status collapsed
24092
24093 \begin_layout Plain Layout
24094
24095 }
24096 \end_layout
24097
24098 \end_inset
24099
24100
24101 \end_layout
24102
24103 \end_inset
24104
24105
24106 \begin_inset CommandInset label
24107 LatexCommand label
24108 name "chap:Mathematical-Formulas"
24109
24110 \end_inset
24111
24112
24113 \end_layout
24114
24115 \begin_layout Standard
24116 The issues of this chapter are described in detail in the 
24117 \emph on
24118 Math
24119 \emph default
24120  manual.
24121  There you will also find tips and tricks for special cases.
24122 \end_layout
24123
24124 \begin_layout Section
24125 Basic Math Editing
24126 \begin_inset Index idx
24127 status collapsed
24128
24129 \begin_layout Plain Layout
24130 Math ! Basics
24131 \end_layout
24132
24133 \end_inset
24134
24135
24136 \end_layout
24137
24138 \begin_layout Standard
24139 To create a math formula, you can just click on the toolbar icon 
24140 \begin_inset Info
24141 type  "icon"
24142 arg   "math-mode on"
24143 \end_inset
24144
24145  (shortcut 
24146 \begin_inset Info
24147 type  "shortcut"
24148 arg   "math-mode"
24149 \end_inset
24150
24151 ).
24152  That will create a little blue rectangle, with purple markers around its
24153  corners.
24154  That blue rectangle is the formula itself; the purple markers indicate
24155  what level of nesting within the formula you are at.
24156  You can also choose a particular formula type to insert via the 
24157 \family sans
24158 Insert\SpecialChar menuseparator
24159 Math
24160 \family default
24161  menu.
24162 \end_layout
24163
24164 \begin_layout Standard
24165 Editing the parameters of a formula and adding math constructs can be done
24166  with the 
24167 \family sans
24168 math
24169 \begin_inset space ~
24170 \end_inset
24171
24172 toolbar
24173 \family default
24174 , that appears if the cursor is in a formula.
24175 \end_layout
24176
24177 \begin_layout Standard
24178 There are two main types of formulas, inline formulas and display formulas.
24179  Inline formulas appear within a text line, like this one:
24180 \end_layout
24181
24182 \begin_layout Standard
24183 This is a line with an inline formula 
24184 \begin_inset Formula $A=B$
24185 \end_inset
24186
24187  in it.
24188 \end_layout
24189
24190 \begin_layout Standard
24191 Displayed formulas appear outside the text like if they were in a separate
24192  paragraph, like this one:
24193 \begin_inset Formula 
24194 \[
24195 A=B
24196 \]
24197
24198 \end_inset
24199
24200 You can only number and reference displayed formulas.
24201 \end_layout
24202
24203 \begin_layout Standard
24204 \SpecialChar LyX
24205  also supports many \SpecialChar LaTeX
24206  math commands.
24207  For example, typing 
24208 \begin_inset Quotes eld
24209 \end_inset
24210
24211
24212 \series bold
24213
24214 \backslash
24215 alpha
24216 \series default
24217
24218 \begin_inset Quotes erd
24219 \end_inset
24220
24221 , followed by a space, in a formula will create the Greek letter 
24222 \begin_inset Formula $\alpha$
24223 \end_inset
24224
24225 .
24226  Typing commands might sometimes be faster than using the 
24227 \family sans
24228 Math
24229 \begin_inset space ~
24230 \end_inset
24231
24232 Panel
24233 \family default
24234 .
24235 \end_layout
24236
24237 \begin_layout Subsection
24238 Navigating in Formulas
24239 \begin_inset Index idx
24240 status collapsed
24241
24242 \begin_layout Plain Layout
24243 Math ! Navigating
24244 \end_layout
24245
24246 \end_inset
24247
24248
24249 \end_layout
24250
24251 \begin_layout Standard
24252 The best control over the cursor position within an existing formula is
24253  achieved with the arrow keys.
24254  \SpecialChar LyX
24255  uses small rectangles to indicate places where something can be inserted.
24256  The arrow keys can be used to navigate between parts of a formula.
24257  Pressing 
24258 \family sans
24259 Space
24260 \family default
24261  will leave a formula construct (a square root 
24262 \begin_inset Formula $\sqrt{2}$
24263 \end_inset
24264
24265 , or parentheses 
24266 \begin_inset Formula $\left(f\right)$
24267 \end_inset
24268
24269 , or a matrix 
24270 \begin_inset Formula $\left[\begin{array}{cc}
24271 1 & 2\\
24272 3 & 4
24273 \end{array}\right]$
24274 \end_inset
24275
24276 ).
24277  Pressing 
24278 \family sans
24279 Escape
24280 \family default
24281  will leave the formula, placing the cursor after the formula.
24282  
24283 \family sans
24284 Tab
24285 \family default
24286  can be used to move horizontally in a formula; for example, through the
24287  cells of a matrix or the positions in a multi-line equation.
24288 \end_layout
24289
24290 \begin_layout Standard
24291
24292 \family sans
24293 Space
24294 \family default
24295 , printed in this document as 
24296 \begin_inset Quotes eld
24297 \end_inset
24298
24299
24300 \begin_inset space \textvisiblespace{}
24301 \end_inset
24302
24303
24304 \begin_inset Quotes erd
24305 \end_inset
24306
24307 , seems to do nothing in a formula, since it does not add a space between
24308  characters, but it does exit a nested structure.
24309  For this reason, you have to be careful about using 
24310 \family sans
24311 Space
24312 \family default
24313 .
24314  For example, if you want 
24315 \begin_inset Formula $\sqrt{2x+1}$
24316 \end_inset
24317
24318 , type 
24319 \series bold
24320
24321 \backslash
24322 sqrt
24323 \begin_inset space \textvisiblespace{}
24324 \end_inset
24325
24326 2x+1
24327 \series default
24328  and not 
24329 \series bold
24330
24331 \backslash
24332 sqrt
24333 \begin_inset space \textvisiblespace{}
24334 \end_inset
24335
24336 2x
24337 \begin_inset space \textvisiblespace{}
24338 \end_inset
24339
24340 +1
24341 \series default
24342 , since in the latter case only the 
24343 \family typewriter
24344
24345 \begin_inset Formula $2x$
24346 \end_inset
24347
24348
24349 \family default
24350  will be under the square root sign: 
24351 \begin_inset Formula $\sqrt{2x}+1$
24352 \end_inset
24353
24354 .
24355 \end_layout
24356
24357 \begin_layout Standard
24358 You can leave many parts of a formula, like this matrix, partially filled
24359  in, such as:
24360 \begin_inset Formula 
24361 \[
24362 \left(\begin{array}{ccc}
24363 \lambda_{1}\\
24364  & \ddots\\
24365  &  & \lambda_{n}
24366 \end{array}\right)
24367 \]
24368
24369 \end_inset
24370
24371 If you leave a fraction only partially filled in, or a subscript with nothing
24372  in it, the results will be unpredictable, but most constructs don't mind.
24373 \end_layout
24374
24375 \begin_layout Subsection
24376 Selecting Text
24377 \end_layout
24378
24379 \begin_layout Standard
24380 You can select text within a formula in two different ways.
24381  Place the cursor at one end of the string of text you want, and press 
24382 \family sans
24383 Shift
24384 \family default
24385  and a cursor movement key to select text.
24386  It will be highlighted as with regular text selection.
24387  Alternatively, you can select text with the mouse in the usual way.
24388  That text can then be cut or copied, and then pasted within any formula,
24389  but not in a normal text region in \SpecialChar LyX
24390 .
24391 \end_layout
24392
24393 \begin_layout Subsection
24394 Exponents and Subscripts
24395 \begin_inset Index idx
24396 status collapsed
24397
24398 \begin_layout Plain Layout
24399 Math ! Exponents
24400 \end_layout
24401
24402 \end_inset
24403
24404
24405 \begin_inset Index idx
24406 status collapsed
24407
24408 \begin_layout Plain Layout
24409 Math ! Subscripts
24410 \end_layout
24411
24412 \end_inset
24413
24414
24415 \end_layout
24416
24417 \begin_layout Standard
24418 You can use the math panel to add super- or subscripts (buttons 
24419 \begin_inset Info
24420 type  "icon"
24421 arg   "math-superscript"
24422 \end_inset
24423
24424  and 
24425 \begin_inset Info
24426 type  "icon"
24427 arg   "math-subscript"
24428 \end_inset
24429
24430 ), but it is often much easier to use a command.
24431  To get 
24432 \begin_inset Formula $x^{2}$
24433 \end_inset
24434
24435 , type in a formula 
24436 \series bold
24437 x^2
24438 \begin_inset space \textvisiblespace{}
24439 \end_inset
24440
24441
24442 \series default
24443 .
24444  The final 
24445 \family sans
24446 Space
24447 \family default
24448  puts the cursor back down on the base line of the expression.
24449  If you type 
24450 \series bold
24451 x^2y
24452 \series default
24453 , you will get 
24454 \begin_inset Formula $x^{2y}$
24455 \end_inset
24456
24457 , to get 
24458 \begin_inset Formula $x^{2}y$
24459 \end_inset
24460
24461 , type 
24462 \series bold
24463 x^2
24464 \begin_inset space \textvisiblespace{}
24465 \end_inset
24466
24467 y
24468 \series default
24469 .
24470  If you use characters in the superscript, that could be accented with the
24471  circumflex 
24472 \begin_inset Quotes eld
24473 \end_inset
24474
24475 ^
24476 \begin_inset Quotes erd
24477 \end_inset
24478
24479 , you have to use an extra 
24480 \family sans
24481 Space
24482 \family default
24483  to separate the circumflex and the character.
24484  For example, if you want 
24485 \begin_inset Formula $x^{a}$
24486 \end_inset
24487
24488 , type 
24489 \series bold
24490 x^
24491 \begin_inset space \textvisiblespace{}
24492 \end_inset
24493
24494 a
24495 \series default
24496 .
24497  Subscripts are similar: To get 
24498 \begin_inset Formula $a_{1}$
24499 \end_inset
24500
24501 , type 
24502 \series bold
24503 a_1
24504 \begin_inset space \textvisiblespace{}
24505 \end_inset
24506
24507
24508 \series default
24509 .
24510 \end_layout
24511
24512 \begin_layout Subsection
24513 Fractions
24514 \begin_inset Index idx
24515 status collapsed
24516
24517 \begin_layout Plain Layout
24518 Math ! Fractions
24519 \end_layout
24520
24521 \end_inset
24522
24523
24524 \end_layout
24525
24526 \begin_layout Standard
24527 Create a fraction either with the command 
24528 \series bold
24529
24530 \backslash
24531 frac
24532 \series default
24533  or by using the icon 
24534 \begin_inset Info
24535 type  "icon"
24536 arg   "math-insert \\frac"
24537 \end_inset
24538
24539  in the 
24540 \family sans
24541 Math
24542 \begin_inset space ~
24543 \end_inset
24544
24545 Panel
24546 \family default
24547 .
24548  You will be presented with an empty fraction.
24549  The cursor is above the fraction line.
24550  To move it to the bottom, simply press 
24551 \family sans
24552 Down
24553 \family default
24554 .
24555  To move back up, press 
24556 \family sans
24557 Up
24558 \family default
24559 .
24560  Any math structure can be placed in a fraction, as this example shows:
24561 \begin_inset Formula 
24562 \[
24563 \left[\frac{1}{\left(\begin{array}{cc}
24564 2 & 3\\
24565 4 & 5
24566 \end{array}\right)}\right]
24567 \]
24568
24569 \end_inset
24570
24571
24572 \end_layout
24573
24574 \begin_layout Subsection
24575 Roots
24576 \begin_inset Index idx
24577 status collapsed
24578
24579 \begin_layout Plain Layout
24580 Math ! Roots
24581 \end_layout
24582
24583 \end_inset
24584
24585
24586 \end_layout
24587
24588 \begin_layout Standard
24589 Roots can be created using the 
24590 \family sans
24591 Math
24592 \begin_inset space ~
24593 \end_inset
24594
24595 Panel
24596 \family default
24597  buttons 
24598 \begin_inset Info
24599 type  "icon"
24600 arg   "math-insert \\sqrt"
24601 \end_inset
24602
24603  or 
24604 \begin_inset Info
24605 type  "icon"
24606 arg   "math-insert \\root"
24607 \end_inset
24608
24609  or the commands 
24610 \series bold
24611
24612 \backslash
24613 sqrt
24614 \series default
24615  or 
24616 \series bold
24617
24618 \backslash
24619 root
24620 \series default
24621 .
24622  With the command 
24623 \series bold
24624
24625 \backslash
24626 root
24627 \series default
24628  you can produce roots of higher orders, like cube roots, while 
24629 \series bold
24630
24631 \backslash
24632 sqrt
24633 \series default
24634  always produces a square root.
24635 \end_layout
24636
24637 \begin_layout Subsection
24638 Operators with Limits
24639 \begin_inset Index idx
24640 status collapsed
24641
24642 \begin_layout Plain Layout
24643 Math ! Sums
24644 \end_layout
24645
24646 \end_inset
24647
24648
24649 \begin_inset Index idx
24650 status collapsed
24651
24652 \begin_layout Plain Layout
24653 Math ! Integrals
24654 \end_layout
24655
24656 \end_inset
24657
24658
24659 \begin_inset CommandInset label
24660 LatexCommand label
24661 name "subsec:Operators-with-Limits"
24662
24663 \end_inset
24664
24665
24666 \end_layout
24667
24668 \begin_layout Standard
24669 Sum (
24670 \begin_inset Formula $\sum$
24671 \end_inset
24672
24673 ) and integral (
24674 \begin_inset Formula $\int$
24675 \end_inset
24676
24677 ) operators are very often decorated with limits.
24678  These limits can be entered in \SpecialChar LyX
24679  by entering them as you would enter a super-
24680  or subscript, directly after the symbol.
24681  The sum operator will automatically place its 
24682 \begin_inset Quotes eld
24683 \end_inset
24684
24685 limits
24686 \begin_inset Quotes erd
24687 \end_inset
24688
24689  over and under the symbol in displayed formulas, and to the side in inline
24690  formulas, as in 
24691 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
24692 \end_inset
24693
24694 , versus
24695 \begin_inset Formula 
24696 \[
24697 \sum_{n=0}^{\infty}\frac{1}{n!}=e
24698 \]
24699
24700 \end_inset
24701
24702 Integral signs, however, will place the limits to the side in both formula
24703  types.
24704 \end_layout
24705
24706 \begin_layout Standard
24707 All operators with limits will be automatically re-sized when placed in
24708  display mode.
24709  The placement of the limits can be changed by placing the cursor directly
24710  behind the operator and using the menu 
24711 \family sans
24712 Edit\SpecialChar menuseparator
24713 Math\SpecialChar menuseparator
24714 Change
24715 \begin_inset space ~
24716 \end_inset
24717
24718 Limits
24719 \begin_inset space ~
24720 \end_inset
24721
24722 Type
24723 \family default
24724  or entering 
24725 \begin_inset Info
24726 type  "shortcut"
24727 arg   "math-limits"
24728 \end_inset
24729
24730 .
24731 \end_layout
24732
24733 \begin_layout Standard
24734 Certain other mathematical expressions also have this 
24735 \begin_inset Quotes eld
24736 \end_inset
24737
24738 moving limits
24739 \begin_inset Quotes erd
24740 \end_inset
24741
24742  feature, such as
24743 \begin_inset Index idx
24744 status collapsed
24745
24746 \begin_layout Plain Layout
24747 Math ! Limits
24748 \end_layout
24749
24750 \end_inset
24751
24752
24753 \begin_inset Formula 
24754 \[
24755 \lim_{x\rightarrow\infty}f(x),
24756 \]
24757
24758 \end_inset
24759
24760 which will place the 
24761 \begin_inset Formula $x\rightarrow\infty$
24762 \end_inset
24763
24764  underneath the 
24765 \begin_inset Quotes eld
24766 \end_inset
24767
24768 lim
24769 \begin_inset Quotes erd
24770 \end_inset
24771
24772  in display mode.
24773  In inline formulas it looks like this: 
24774 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
24775 \end_inset
24776
24777 .
24778 \end_layout
24779
24780 \begin_layout Standard
24781 Note that the lim-function was entered as the function macro 
24782 \series bold
24783
24784 \backslash
24785 lim
24786 \series default
24787 .
24788  Have a look at section
24789 \begin_inset space ~
24790 \end_inset
24791
24792
24793 \begin_inset CommandInset ref
24794 LatexCommand ref
24795 reference "subsec:Functions"
24796
24797 \end_inset
24798
24799  for an explanation of function macros.
24800 \end_layout
24801
24802 \begin_layout Subsection
24803 Math Symbols
24804 \begin_inset Index idx
24805 status collapsed
24806
24807 \begin_layout Plain Layout
24808 Math ! Symbols
24809 \end_layout
24810
24811 \end_inset
24812
24813
24814 \end_layout
24815
24816 \begin_layout Standard
24817 Most math symbols can be found in the 
24818 \family sans
24819 Math
24820 \begin_inset space ~
24821 \end_inset
24822
24823 Panel
24824 \family default
24825  under one of several categories; including 
24826 \family sans
24827 Greek
24828 \family default
24829
24830 \family sans
24831 Operators
24832 \family default
24833
24834 \family sans
24835 Relations
24836 \family default
24837
24838 \family sans
24839 Arrows
24840 \family default
24841 .
24842  There are also the additional symbols provided by the American Mathematical
24843  Society (AMS).
24844 \end_layout
24845
24846 \begin_layout Standard
24847 If you know the \SpecialChar LaTeX
24848 -command for a construct or symbol you wish to use, you
24849  don't have to use the 
24850 \family sans
24851 Math
24852 \begin_inset space ~
24853 \end_inset
24854
24855 Panel
24856 \family default
24857 ; you can type the command directly into the formula.
24858  \SpecialChar LyX
24859  will convert it to the corresponding symbol or construct.
24860 \end_layout
24861
24862 \begin_layout Subsection
24863 Altering Spacing
24864 \begin_inset Index idx
24865 status collapsed
24866
24867 \begin_layout Plain Layout
24868 Math ! Spaces
24869 \end_layout
24870
24871 \end_inset
24872
24873
24874 \end_layout
24875
24876 \begin_layout Standard
24877 You may want to create spaces that differ from the standard spacing that
24878  \SpecialChar LaTeX
24879  provides.
24880  To do this, press 
24881 \begin_inset Info
24882 type  "shortcut"
24883 arg   "command-alternatives math-space ; space-insert protected"
24884 \end_inset
24885
24886  or use the 
24887 \family sans
24888 Math
24889 \begin_inset space ~
24890 \end_inset
24891
24892 Panel
24893 \family default
24894  button 
24895 \begin_inset Info
24896 type  "icon"
24897 arg   "math-insert \\space"
24898 \end_inset
24899
24900 .
24901  This generates a small space, and shows a small marker on the screen.
24902  For example, the sequence 
24903 \series bold
24904 a Ctrl+Space b
24905 \series default
24906
24907 \begin_inset Formula $a\,b$
24908 \end_inset
24909
24910  appears in \SpecialChar LyX
24911  as 
24912 \begin_inset Graphics
24913         filename clipart/SpaceMarker.png
24914
24915 \end_inset
24916
24917 .
24918  You can change the space to different sizes when you set the cursor behind
24919  the space marker and enter space again several times.
24920  With every space enter the size will be changed.
24921  Some markers for the space size appear red in \SpecialChar LyX
24922 , because they are negative
24923  spaces.
24924  Here are two examples:
24925 \end_layout
24926
24927 \begin_layout Standard
24928
24929 \series bold
24930 a Ctrl+Space b
24931 \series default
24932  and 3×
24933 \family sans
24934 Space
24935 \family default
24936
24937 \begin_inset Formula $a\quad b$
24938 \end_inset
24939
24940
24941 \end_layout
24942
24943 \begin_layout Standard
24944
24945 \series bold
24946 a Ctrl+Space b
24947 \series default
24948  and 5×
24949 \family sans
24950 Space
24951 \family default
24952
24953 \begin_inset Formula $a\!b$
24954 \end_inset
24955
24956
24957 \end_layout
24958
24959 \begin_layout Subsection
24960 Functions
24961 \begin_inset Index idx
24962 status collapsed
24963
24964 \begin_layout Plain Layout
24965 Math ! Functions
24966 \end_layout
24967
24968 \end_inset
24969
24970
24971 \begin_inset CommandInset label
24972 LatexCommand label
24973 name "subsec:Functions"
24974
24975 \end_inset
24976
24977
24978 \end_layout
24979
24980 \begin_layout Standard
24981 The 
24982 \family sans
24983 Math
24984 \begin_inset space ~
24985 \end_inset
24986
24987 Panel
24988 \family default
24989  contains under the button 
24990 \begin_inset Info
24991 type  "icon"
24992 arg   "math-insert \\functions"
24993 \end_inset
24994
24995  a number of function macros, such as 
24996 \begin_inset Formula $\sin$
24997 \end_inset
24998
24999
25000 \begin_inset Formula $\lim$
25001 \end_inset
25002
25003
25004 \emph on
25005 etc
25006 \emph default
25007 .
25008  (you can also insert them in a formula by typing 
25009 \series bold
25010
25011 \backslash
25012 sin
25013 \series default
25014  etc.).
25015  Standard mathematical practice is that functions are printed upright to
25016  avoid confusions, because 
25017 \begin_inset Formula $sin$
25018 \end_inset
25019
25020  does normally mean 
25021 \begin_inset Formula $s\cdot i\cdot n$
25022 \end_inset
25023
25024 .
25025 \end_layout
25026
25027 \begin_layout Standard
25028 Using the function macros will also produce correct spacing around the function:
25029  
25030 \begin_inset Formula $a\sin x$
25031 \end_inset
25032
25033  is different from 
25034 \begin_inset Formula $asinx$
25035 \end_inset
25036
25037 .
25038 \end_layout
25039
25040 \begin_layout Standard
25041 For some mathematical objects, like limits, the macro changes where subscripts
25042  are placed, as described in section
25043 \begin_inset space ~
25044 \end_inset
25045
25046
25047 \begin_inset CommandInset ref
25048 LatexCommand ref
25049 reference "subsec:Operators-with-Limits"
25050
25051 \end_inset
25052
25053 .
25054 \end_layout
25055
25056 \begin_layout Subsection
25057 Accents
25058 \begin_inset Index idx
25059 status collapsed
25060
25061 \begin_layout Plain Layout
25062 Math ! Accents
25063 \end_layout
25064
25065 \end_inset
25066
25067
25068 \end_layout
25069
25070 \begin_layout Standard
25071 In a formula you can insert accented characters in the same way as in text
25072  mode.
25073  This may depend on your keyboard, or the bindings file you use.
25074  You can also use \SpecialChar LaTeX
25075  commands, for example, to enter 
25076 \begin_inset Formula $\hat{a}$
25077 \end_inset
25078
25079  even if your keyboard doesn't have the circumflex enabled.
25080  Our example is entered by typing 
25081 \series bold
25082
25083 \backslash
25084 hat
25085 \begin_inset space \textvisiblespace{}
25086 \end_inset
25087
25088 a
25089 \series default
25090  in a formula.
25091  Table
25092 \begin_inset space ~
25093 \end_inset
25094
25095
25096 \begin_inset CommandInset ref
25097 LatexCommand ref
25098 reference "tab:Accent-names-and"
25099
25100 \end_inset
25101
25102  shows the equivalences between the accent names and the commands.
25103 \end_layout
25104
25105 \begin_layout Standard
25106 \begin_inset Float table
25107 wide false
25108 sideways false
25109 status open
25110
25111 \begin_layout Plain Layout
25112 \begin_inset Caption Standard
25113
25114 \begin_layout Plain Layout
25115 \begin_inset CommandInset label
25116 LatexCommand label
25117 name "tab:Accent-names-and"
25118
25119 \end_inset
25120
25121 Accent names and the corresponding commands.
25122 \end_layout
25123
25124 \end_inset
25125
25126
25127 \end_layout
25128
25129 \begin_layout Plain Layout
25130 \align center
25131 \begin_inset Tabular
25132 <lyxtabular version="3" rows="11" columns="3">
25133 <features tabularvalignment="middle">
25134 <column alignment="center" valignment="top" width="0pt">
25135 <column alignment="center" valignment="top" width="0pt">
25136 <column alignment="center" valignment="top" width="0pt">
25137 <row>
25138 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25139 \begin_inset Text
25140
25141 \begin_layout Plain Layout
25142 Name
25143 \end_layout
25144
25145 \end_inset
25146 </cell>
25147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25148 \begin_inset Text
25149
25150 \begin_layout Plain Layout
25151 Command
25152 \end_layout
25153
25154 \end_inset
25155 </cell>
25156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25157 \begin_inset Text
25158
25159 \begin_layout Plain Layout
25160 E
25161 \family roman
25162 \series medium
25163 \shape up
25164 \size normal
25165 \emph off
25166 \bar no
25167 \noun off
25168 \color none
25169 xample
25170 \end_layout
25171
25172 \end_inset
25173 </cell>
25174 </row>
25175 <row>
25176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25177 \begin_inset Text
25178
25179 \begin_layout Plain Layout
25180
25181 \family roman
25182 \series medium
25183 \shape up
25184 \size normal
25185 \emph off
25186 \bar no
25187 \noun off
25188 \color none
25189 circumflex
25190 \end_layout
25191
25192 \end_inset
25193 </cell>
25194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25195 \begin_inset Text
25196
25197 \begin_layout Plain Layout
25198
25199 \series bold
25200
25201 \backslash
25202 hat
25203 \end_layout
25204
25205 \end_inset
25206 </cell>
25207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25208 \begin_inset Text
25209
25210 \begin_layout Plain Layout
25211
25212 \family roman
25213 \series medium
25214 \shape up
25215 \size normal
25216 \emph off
25217 \bar no
25218 \noun off
25219 \color none
25220 \begin_inset Formula $\hat{a}$
25221 \end_inset
25222
25223
25224 \end_layout
25225
25226 \end_inset
25227 </cell>
25228 </row>
25229 <row>
25230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25231 \begin_inset Text
25232
25233 \begin_layout Plain Layout
25234
25235 \family roman
25236 \series medium
25237 \shape up
25238 \size normal
25239 \emph off
25240 \bar no
25241 \noun off
25242 \color none
25243 grave
25244 \end_layout
25245
25246 \end_inset
25247 </cell>
25248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25249 \begin_inset Text
25250
25251 \begin_layout Plain Layout
25252
25253 \series bold
25254
25255 \backslash
25256 grave
25257 \end_layout
25258
25259 \end_inset
25260 </cell>
25261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25262 \begin_inset Text
25263
25264 \begin_layout Plain Layout
25265
25266 \family roman
25267 \series medium
25268 \shape up
25269 \size normal
25270 \emph off
25271 \bar no
25272 \noun off
25273 \color none
25274 \begin_inset Formula $\grave{a}$
25275 \end_inset
25276
25277
25278 \end_layout
25279
25280 \end_inset
25281 </cell>
25282 </row>
25283 <row>
25284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25285 \begin_inset Text
25286
25287 \begin_layout Plain Layout
25288
25289 \family roman
25290 \series medium
25291 \shape up
25292 \size normal
25293 \emph off
25294 \bar no
25295 \noun off
25296 \color none
25297 acute
25298 \end_layout
25299
25300 \end_inset
25301 </cell>
25302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25303 \begin_inset Text
25304
25305 \begin_layout Plain Layout
25306
25307 \series bold
25308
25309 \backslash
25310 acute
25311 \end_layout
25312
25313 \end_inset
25314 </cell>
25315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25316 \begin_inset Text
25317
25318 \begin_layout Plain Layout
25319
25320 \family roman
25321 \series medium
25322 \shape up
25323 \size normal
25324 \emph off
25325 \bar no
25326 \noun off
25327 \color none
25328 \begin_inset Formula $\acute{a}$
25329 \end_inset
25330
25331
25332 \end_layout
25333
25334 \end_inset
25335 </cell>
25336 </row>
25337 <row>
25338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25339 \begin_inset Text
25340
25341 \begin_layout Plain Layout
25342
25343 \family roman
25344 \series medium
25345 \shape up
25346 \size normal
25347 \emph off
25348 \bar no
25349 \noun off
25350 \color none
25351 umlaut
25352 \end_layout
25353
25354 \end_inset
25355 </cell>
25356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25357 \begin_inset Text
25358
25359 \begin_layout Plain Layout
25360
25361 \series bold
25362
25363 \backslash
25364 ddot
25365 \end_layout
25366
25367 \end_inset
25368 </cell>
25369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25370 \begin_inset Text
25371
25372 \begin_layout Plain Layout
25373
25374 \family roman
25375 \series medium
25376 \shape up
25377 \size normal
25378 \emph off
25379 \bar no
25380 \noun off
25381 \color none
25382 \begin_inset Formula $\ddot{a}$
25383 \end_inset
25384
25385
25386 \end_layout
25387
25388 \end_inset
25389 </cell>
25390 </row>
25391 <row>
25392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25393 \begin_inset Text
25394
25395 \begin_layout Plain Layout
25396
25397 \family roman
25398 \series medium
25399 \shape up
25400 \size normal
25401 \emph off
25402 \bar no
25403 \noun off
25404 \color none
25405 tilde
25406 \end_layout
25407
25408 \end_inset
25409 </cell>
25410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25411 \begin_inset Text
25412
25413 \begin_layout Plain Layout
25414
25415 \series bold
25416
25417 \backslash
25418 tilde
25419 \end_layout
25420
25421 \end_inset
25422 </cell>
25423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25424 \begin_inset Text
25425
25426 \begin_layout Plain Layout
25427
25428 \family roman
25429 \series medium
25430 \shape up
25431 \size normal
25432 \emph off
25433 \bar no
25434 \noun off
25435 \color none
25436 \begin_inset Formula $\tilde{a}$
25437 \end_inset
25438
25439
25440 \end_layout
25441
25442 \end_inset
25443 </cell>
25444 </row>
25445 <row>
25446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25447 \begin_inset Text
25448
25449 \begin_layout Plain Layout
25450
25451 \family roman
25452 \series medium
25453 \shape up
25454 \size normal
25455 \emph off
25456 \bar no
25457 \noun off
25458 \color none
25459 dot
25460 \end_layout
25461
25462 \end_inset
25463 </cell>
25464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25465 \begin_inset Text
25466
25467 \begin_layout Plain Layout
25468
25469 \series bold
25470
25471 \backslash
25472 dot
25473 \end_layout
25474
25475 \end_inset
25476 </cell>
25477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25478 \begin_inset Text
25479
25480 \begin_layout Plain Layout
25481
25482 \family roman
25483 \series medium
25484 \shape up
25485 \size normal
25486 \emph off
25487 \bar no
25488 \noun off
25489 \color none
25490 \begin_inset Formula $\dot{a}$
25491 \end_inset
25492
25493
25494 \end_layout
25495
25496 \end_inset
25497 </cell>
25498 </row>
25499 <row>
25500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25501 \begin_inset Text
25502
25503 \begin_layout Plain Layout
25504
25505 \family roman
25506 \series medium
25507 \shape up
25508 \size normal
25509 \emph off
25510 \bar no
25511 \noun off
25512 \color none
25513 breve
25514 \end_layout
25515
25516 \end_inset
25517 </cell>
25518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25519 \begin_inset Text
25520
25521 \begin_layout Plain Layout
25522
25523 \series bold
25524
25525 \backslash
25526 breve
25527 \end_layout
25528
25529 \end_inset
25530 </cell>
25531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25532 \begin_inset Text
25533
25534 \begin_layout Plain Layout
25535
25536 \family roman
25537 \series medium
25538 \shape up
25539 \size normal
25540 \emph off
25541 \bar no
25542 \noun off
25543 \color none
25544 \begin_inset Formula $\breve{a}$
25545 \end_inset
25546
25547
25548 \end_layout
25549
25550 \end_inset
25551 </cell>
25552 </row>
25553 <row>
25554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25555 \begin_inset Text
25556
25557 \begin_layout Plain Layout
25558
25559 \family roman
25560 \series medium
25561 \shape up
25562 \size normal
25563 \emph off
25564 \bar no
25565 \noun off
25566 \color none
25567 caron
25568 \end_layout
25569
25570 \end_inset
25571 </cell>
25572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25573 \begin_inset Text
25574
25575 \begin_layout Plain Layout
25576
25577 \series bold
25578
25579 \backslash
25580 check
25581 \end_layout
25582
25583 \end_inset
25584 </cell>
25585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25586 \begin_inset Text
25587
25588 \begin_layout Plain Layout
25589
25590 \family roman
25591 \series medium
25592 \shape up
25593 \size normal
25594 \emph off
25595 \bar no
25596 \noun off
25597 \color none
25598 \begin_inset Formula $\check{a}$
25599 \end_inset
25600
25601
25602 \end_layout
25603
25604 \end_inset
25605 </cell>
25606 </row>
25607 <row>
25608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25609 \begin_inset Text
25610
25611 \begin_layout Plain Layout
25612
25613 \family roman
25614 \series medium
25615 \shape up
25616 \size normal
25617 \emph off
25618 \bar no
25619 \noun off
25620 \color none
25621 macron
25622 \end_layout
25623
25624 \end_inset
25625 </cell>
25626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25627 \begin_inset Text
25628
25629 \begin_layout Plain Layout
25630
25631 \series bold
25632
25633 \backslash
25634 bar
25635 \end_layout
25636
25637 \end_inset
25638 </cell>
25639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25640 \begin_inset Text
25641
25642 \begin_layout Plain Layout
25643
25644 \family roman
25645 \series medium
25646 \shape up
25647 \size normal
25648 \emph off
25649 \bar no
25650 \noun off
25651 \color none
25652 \begin_inset Formula $\bar{a}$
25653 \end_inset
25654
25655
25656 \end_layout
25657
25658 \end_inset
25659 </cell>
25660 </row>
25661 <row>
25662 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25663 \begin_inset Text
25664
25665 \begin_layout Plain Layout
25666 vector
25667 \end_layout
25668
25669 \end_inset
25670 </cell>
25671 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25672 \begin_inset Text
25673
25674 \begin_layout Plain Layout
25675
25676 \series bold
25677
25678 \backslash
25679 vec
25680 \end_layout
25681
25682 \end_inset
25683 </cell>
25684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25685 \begin_inset Text
25686
25687 \begin_layout Plain Layout
25688
25689 \family roman
25690 \series medium
25691 \shape up
25692 \size normal
25693 \emph off
25694 \bar no
25695 \noun off
25696 \color none
25697 \begin_inset Formula $\vec{a}$
25698 \end_inset
25699
25700
25701 \end_layout
25702
25703 \end_inset
25704 </cell>
25705 </row>
25706 </lyxtabular>
25707
25708 \end_inset
25709
25710
25711 \end_layout
25712
25713 \end_inset
25714
25715
25716 \end_layout
25717
25718 \begin_layout Standard
25719 You can choose one of the accents by selecting an item from the 
25720 \family sans
25721 Frame
25722 \begin_inset space ~
25723 \end_inset
25724
25725 decorations
25726 \family default
25727  symbol set button 
25728 \begin_inset Info
25729 type  "icon"
25730 arg   "math-insert \\hat"
25731 \end_inset
25732
25733  in the math panel; this will apply to any selection you have made within
25734  a formula too.
25735 \end_layout
25736
25737 \begin_layout Section
25738 Brackets and Delimiters
25739 \begin_inset Index idx
25740 status collapsed
25741
25742 \begin_layout Plain Layout
25743 Math ! Brackets
25744 \end_layout
25745
25746 \end_inset
25747
25748
25749 \begin_inset Index idx
25750 status collapsed
25751
25752 \begin_layout Plain Layout
25753 Math ! Delimiters
25754 \end_layout
25755
25756 \end_inset
25757
25758
25759 \begin_inset CommandInset label
25760 LatexCommand label
25761 name "sec:Brackets-and-Delimiters"
25762
25763 \end_inset
25764
25765
25766 \end_layout
25767
25768 \begin_layout Standard
25769 There are several brackets available through \SpecialChar LyX
25770 .
25771  For some purposes, using just the keys 
25772 \family typewriter
25773 []{}()|<>
25774 \family default
25775  should suffice.
25776  But if you want to surround a large structure, like a matrix or a fraction,
25777  or if you have several layers of brackets, it is better to use the math
25778  toolbar delimiter icon 
25779 \begin_inset Info
25780 type  "icon"
25781 arg   "dialog-show mathdelimiter"
25782 \end_inset
25783
25784 .
25785  For example, if you construct the brackets around a matrix in this way:
25786 \begin_inset Formula 
25787 \[
25788 \left[\begin{array}{cc}
25789 1 & 2\\
25790 3 & 4
25791 \end{array}\right]
25792 \]
25793
25794 \end_inset
25795
25796 it makes it easier to see the layers of parentheses.
25797  Below, the expression on the left was entered using the delimiter icon
25798  
25799 \begin_inset Info
25800 type  "icon"
25801 arg   "dialog-show mathdelimiter"
25802 \end_inset
25803
25804  and the expression on the right was entered using the 
25805 \family typewriter
25806 ()
25807 \family default
25808  keys.
25809  
25810 \begin_inset Formula 
25811 \[
25812 \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})}))}
25813 \]
25814
25815 \end_inset
25816
25817
25818 \end_layout
25819
25820 \begin_layout Standard
25821 If you use the delimiter icon, the parentheses, and other brackets from
25822  that menu will automatically re-size to accommodate the size of what is
25823  inside.
25824 \end_layout
25825
25826 \begin_layout Standard
25827 To construct brackets click on the button for the bracket you want on the
25828  left side and right side.
25829  If you use the option 
25830 \family sans
25831 Keep
25832 \begin_inset space ~
25833 \end_inset
25834
25835 matched
25836 \family default
25837 , the selected bracket type will be used for the left and the right side.
25838  The selection will be shown as \SpecialChar TeX
25839  code.
25840  If you want one side not to have a bracket, use 
25841 \family sans
25842 (none)
25843 \family default
25844 .
25845  It will appear in \SpecialChar LyX
25846  with a dotted line, but nothing will be printed.
25847 \end_layout
25848
25849 \begin_layout Standard
25850 If you want to place brackets around existing math structures, like a square
25851  root, you can do so by first highlighting (selecting) the structure that
25852  is to go inside the brackets.
25853  Then choose the appropriate brackets for left and right and click on 
25854 \family sans
25855 Insert
25856 \family default
25857 .
25858  The most common bracket combinations (parentheses, square brackets, and
25859  braces, on both sides) can be entered more quickly using keyboard shortcuts.
25860  For example, to insert a pair of parentheses, select the structure and
25861  enter 
25862 \begin_inset Info
25863 type  "shortcut"
25864 arg   "math-delim ( )"
25865 \end_inset
25866
25867 .
25868 \end_layout
25869
25870 \begin_layout Section
25871 Arrays and Multi-line Equations
25872 \begin_inset Index idx
25873 status collapsed
25874
25875 \begin_layout Plain Layout
25876 Math ! Arrays
25877 \end_layout
25878
25879 \end_inset
25880
25881
25882 \begin_inset Index idx
25883 status collapsed
25884
25885 \begin_layout Plain Layout
25886 Math ! Matrices
25887 \end_layout
25888
25889 \end_inset
25890
25891
25892 \begin_inset Index idx
25893 status collapsed
25894
25895 \begin_layout Plain Layout
25896 Math ! Multi-line Equations
25897 \end_layout
25898
25899 \end_inset
25900
25901
25902 \end_layout
25903
25904 \begin_layout Standard
25905 Matrices are entered in \SpecialChar LyX
25906  using the 
25907 \family sans
25908 Math
25909 \begin_inset space ~
25910 \end_inset
25911
25912 Panel
25913 \family default
25914  matrix button 
25915 \begin_inset Info
25916 type  "icon"
25917 arg   "dialog-show mathmatrix"
25918 \end_inset
25919
25920 .
25921  It will open a dialog for you to choose the number of rows/columns.
25922  Here is an example:
25923 \begin_inset Formula 
25924 \[
25925 \left(\begin{array}{ccc}
25926 1 & 2 & 3\\
25927 4 & 5 & 6\\
25928 7 & 8 & 9
25929 \end{array}\right)
25930 \]
25931
25932 \end_inset
25933
25934 The parentheses aren't automatic, but you can add them as described in section
25935 \begin_inset space ~
25936 \end_inset
25937
25938
25939 \begin_inset CommandInset ref
25940 LatexCommand ref
25941 reference "sec:Brackets-and-Delimiters"
25942
25943 \end_inset
25944
25945 .
25946  When you construct the matrix, you can decide whether the column entries
25947  will be left-, right-, or center-justified.
25948  This alignment is set in the box 
25949 \family sans
25950 Horizontal
25951 \family default
25952  with the letters 
25953 \begin_inset Quotes eld
25954 \end_inset
25955
25956
25957 \family sans
25958 l
25959 \family default
25960
25961 \begin_inset Quotes erd
25962 \end_inset
25963
25964
25965 \begin_inset Quotes eld
25966 \end_inset
25967
25968
25969 \family sans
25970 r
25971 \family default
25972
25973 \begin_inset Quotes erd
25974 \end_inset
25975
25976 , and 
25977 \begin_inset Quotes eld
25978 \end_inset
25979
25980
25981 \family sans
25982 c
25983 \family default
25984
25985 \begin_inset Quotes erd
25986 \end_inset
25987
25988 .
25989  \SpecialChar LyX
25990  proposes a 
25991 \begin_inset Quotes eld
25992 \end_inset
25993
25994
25995 \family sans
25996 c
25997 \family default
25998
25999 \begin_inset Quotes erd
26000 \end_inset
26001
26002  for every column as default.
26003  For example, the sequence 
26004 \begin_inset Quotes eld
26005 \end_inset
26006
26007
26008 \family sans
26009 lcr
26010 \family default
26011
26012 \begin_inset Quotes erd
26013 \end_inset
26014
26015  means that the first column will be left-justified, the second will be
26016  centered, and the third column will be right-justified, because each letter
26017  corresponds to the relevant column.
26018  The result will look like this:
26019 \begin_inset Formula 
26020 \[
26021 \begin{array}{lcr}
26022 this & this\,column & this\,column\\
26023 column & has & has\,right\\
26024 has\,left\,alignment & center\,alignment & alignment
26025 \end{array}.
26026 \]
26027
26028 \end_inset
26029
26030
26031 \end_layout
26032
26033 \begin_layout Standard
26034 You can add more rows to an existing matrix by entering 
26035 \begin_inset Info
26036 type  "shortcut"
26037 arg   "newline-insert newline"
26038 \end_inset
26039
26040  while the cursor is in the matrix.
26041  Adding or deleting columns can be done via the menu 
26042 \family sans
26043 Edit\SpecialChar menuseparator
26044 Math
26045 \family default
26046  or the math toolbar.
26047 \end_layout
26048
26049 \begin_layout Standard
26050 There are other arrays used in formulas, such as distinctions of cases.
26051  It can be created with the menu 
26052 \family sans
26053 Insert\SpecialChar menuseparator
26054 Math\SpecialChar menuseparator
26055 Cases
26056 \begin_inset space ~
26057 \end_inset
26058
26059 Environment
26060 \family default
26061  or the command 
26062 \series bold
26063
26064 \backslash
26065 cases
26066 \series default
26067 .
26068  Here is an example: 
26069 \begin_inset Formula 
26070 \[
26071 f(x)=\begin{cases}
26072 -1 & x<0\\
26073 0 & x=0\\
26074 1 & x>0
26075 \end{cases}
26076 \]
26077
26078 \end_inset
26079
26080
26081 \end_layout
26082
26083 \begin_layout Standard
26084 \begin_inset VSpace bigskip
26085 \end_inset
26086
26087 Multi-line formulas are created when you press 
26088 \begin_inset Info
26089 type  "shortcut"
26090 arg   "newline-insert newline"
26091 \end_inset
26092
26093  within a formula.
26094  In an empty formula you can see that three blue boxes appear, one for each
26095  column.
26096  When you press 
26097 \begin_inset Info
26098 type  "shortcut"
26099 arg   "newline-insert newline"
26100 \end_inset
26101
26102  in a non-empty formula, the part before the relation sign (equal sign 
26103 \begin_inset Quotes eld
26104 \end_inset
26105
26106 =
26107 \begin_inset Quotes erd
26108 \end_inset
26109
26110  etc.) will be inserted automatically in the first column, the relation sign
26111  is in the second column, and the rest in the third column.
26112  A new row is created by every further entry of 
26113 \begin_inset Info
26114 type  "shortcut"
26115 arg   "newline-insert newline"
26116 \end_inset
26117
26118 .
26119  Multi-line formulas are always displayed formulas.
26120  Here is an example:
26121 \begin_inset Formula 
26122 \begin{eqnarray}
26123 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
26124 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
26125 \end{eqnarray}
26126
26127 \end_inset
26128
26129 Note that the middle column is designed for relation signs so structures
26130  in this column will be printed in a smaller size:
26131 \begin_inset Formula 
26132 \begin{eqnarray*}
26133 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
26134 \end{eqnarray*}
26135
26136 \end_inset
26137
26138
26139 \end_layout
26140
26141 \begin_layout Standard
26142 The multi-line formula type described here is called 
26143 \family typewriter
26144 \series medium
26145 eqnarray
26146 \family default
26147 \series default
26148 .
26149  There are other multi-line types more suitable for certain situations,
26150  for example if you want a better inter-line spacing than in formula 
26151 \begin_inset CommandInset ref
26152 LatexCommand eqref
26153 reference "eq:asquared"
26154
26155 \end_inset
26156
26157 .
26158  The other types are described in section
26159 \begin_inset space ~
26160 \end_inset
26161
26162
26163 \begin_inset CommandInset ref
26164 LatexCommand ref
26165 reference "subsec:AMS-Formula-Types"
26166
26167 \end_inset
26168
26169 .
26170 \end_layout
26171
26172 \begin_layout Section
26173 Formula Numbering and Referencing
26174 \begin_inset Index idx
26175 status collapsed
26176
26177 \begin_layout Plain Layout
26178 Math ! Formula numbering
26179 \end_layout
26180
26181 \end_inset
26182
26183
26184 \begin_inset Index idx
26185 status collapsed
26186
26187 \begin_layout Plain Layout
26188 Math ! Referencing formulas
26189 \end_layout
26190
26191 \end_inset
26192
26193
26194 \begin_inset CommandInset label
26195 LatexCommand label
26196 name "sec:Formula-Numbering-and"
26197
26198 \end_inset
26199
26200
26201 \end_layout
26202
26203 \begin_layout Standard
26204 To number a formula, set the cursor in the formula and use the menu 
26205 \family sans
26206 Edit\SpecialChar menuseparator
26207 Math\SpecialChar menuseparator
26208 Number
26209 \begin_inset space ~
26210 \end_inset
26211
26212 Whole
26213 \begin_inset space ~
26214 \end_inset
26215
26216 Formula
26217 \family default
26218  or the shortcut 
26219 \begin_inset Info
26220 type  "shortcut"
26221 arg   "math-number-toggle"
26222 \end_inset
26223
26224 .
26225  The formula number appears in \SpecialChar LyX
26226  within parentheses.
26227  The number shown is temporary and may be different when the output is generated.
26228  The placement and format of the formula number in the output depends on
26229  the document class.
26230  In this document the number is printed together with the chapter number,
26231  separated by a dot:
26232 \begin_inset Formula 
26233 \begin{equation}
26234 1+1=2
26235 \end{equation}
26236
26237 \end_inset
26238
26239 Using 
26240 \begin_inset Info
26241 type  "shortcut"
26242 arg   "math-number-toggle"
26243 \end_inset
26244
26245  in a numbered formula will switch off the numbering.
26246  You can only number displayed formulas.
26247 \end_layout
26248
26249 \begin_layout Standard
26250 Multi-line formulas can be numbered line by line: Using the menu 
26251 \family sans
26252 Edit\SpecialChar menuseparator
26253 Math\SpecialChar menuseparator
26254 Number
26255 \begin_inset space ~
26256 \end_inset
26257
26258 This
26259 \begin_inset space ~
26260 \end_inset
26261
26262 Line
26263 \family default
26264  or the shortcut 
26265 \begin_inset Info
26266 type  "shortcut"
26267 arg   "math-number-line-toggle"
26268 \end_inset
26269
26270  will only toggle the numbering of the line where the cursor is:
26271 \begin_inset Formula 
26272 \begin{eqnarray}
26273 1 & = & 3-2\\
26274 2 & = & 4-2\nonumber \\
26275 4 & \leq & 7
26276 \end{eqnarray}
26277
26278 \end_inset
26279
26280 To number all lines use the shortcut 
26281 \begin_inset Info
26282 type  "shortcut"
26283 arg   "math-number-toggle"
26284 \end_inset
26285
26286 .
26287 \end_layout
26288
26289 \begin_layout Standard
26290 \begin_inset VSpace bigskip
26291 \end_inset
26292
26293 Every displayed formula can be referenced by its number using a label.
26294  A label is inserted with the menu 
26295 \family sans
26296 Insert\SpecialChar menuseparator
26297 Label
26298 \family default
26299  (toolbar button 
26300 \begin_inset Info
26301 type  "icon"
26302 arg   "label-insert"
26303 \end_inset
26304
26305 ) when the cursor is in the formula.
26306  This opens a dialog to enter the label.
26307  It is recommended that you use the suggested 
26308 \begin_inset Quotes eld
26309 \end_inset
26310
26311
26312 \family sans
26313 eq:
26314 \family default
26315
26316 \begin_inset Quotes erd
26317 \end_inset
26318
26319  as the first part of the label, because this helps later to identify the
26320  label type when you have many labels in your document.
26321  We inserted in the following example the label 
26322 \begin_inset Quotes eld
26323 \end_inset
26324
26325 eq:tanhExp
26326 \begin_inset Quotes erd
26327 \end_inset
26328
26329  in the second line:
26330 \begin_inset Formula 
26331 \begin{eqnarray}
26332 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
26333  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
26334 \end{eqnarray}
26335
26336 \end_inset
26337
26338 Every labeled line is automatically numbered.
26339  Therefore the label is shown behind the formula number.
26340  You can reference a labeled formula using the menu 
26341 \family sans
26342 Insert\SpecialChar menuseparator
26343 Cross
26344 \begin_inset space ~
26345 \end_inset
26346
26347 Reference
26348 \family default
26349  (toolbar button 
26350 \begin_inset Info
26351 type  "icon"
26352 arg   "dialog-show-new-inset ref"
26353 \end_inset
26354
26355 ).
26356  A dialog appears to choose a label you want to refer to.
26357  The reference appears in \SpecialChar LyX
26358  as a gray cross-reference box and in the output
26359  as the formula number:
26360 \end_layout
26361
26362 \begin_layout Standard
26363 This is a cross-reference to equation (
26364 \begin_inset CommandInset ref
26365 LatexCommand ref
26366 reference "eq:tanhExp"
26367
26368 \end_inset
26369
26370 ).
26371 \end_layout
26372
26373 \begin_layout Standard
26374 The properties of \SpecialChar LyX
26375 's cross-reference box are described in section
26376 \begin_inset space ~
26377 \end_inset
26378
26379
26380 \begin_inset CommandInset ref
26381 LatexCommand ref
26382 reference "sec:Cross-References"
26383
26384 \end_inset
26385
26386 .
26387  To delete a label, set the cursor at the end in the labeled formula and
26388  press 
26389 \family sans
26390 Del
26391 \family default
26392 .
26393 \end_layout
26394
26395 \begin_layout Section
26396 User defined math macros
26397 \begin_inset Index idx
26398 status collapsed
26399
26400 \begin_layout Plain Layout
26401 Math ! Macros
26402 \end_layout
26403
26404 \end_inset
26405
26406
26407 \end_layout
26408
26409 \begin_layout Standard
26410 \SpecialChar LyX
26411  allows you to define macros for formulas which is very useful when you
26412  have equations of the same form in a document several times.
26413  Math macros are explained in section 
26414 \emph on
26415 Math
26416 \begin_inset space ~
26417 \end_inset
26418
26419 Macros
26420 \emph default
26421  of the 
26422 \emph on
26423 Math
26424 \emph default
26425  manual.
26426 \end_layout
26427
26428 \begin_layout Section
26429 Fine-Tuning
26430 \end_layout
26431
26432 \begin_layout Subsection
26433 Typefaces
26434 \begin_inset Index idx
26435 status collapsed
26436
26437 \begin_layout Plain Layout
26438 Math ! Typefaces
26439 \end_layout
26440
26441 \end_inset
26442
26443
26444 \end_layout
26445
26446 \begin_layout Standard
26447 The standard font for text is italic, for numbers the standard is roman.
26448  To set a font in a formula, use the 
26449 \family sans
26450 Math
26451 \begin_inset space ~
26452 \end_inset
26453
26454 Panel
26455 \family default
26456  button 
26457 \begin_inset Info
26458 type  "icon"
26459 arg   "math-insert \\font"
26460 \end_inset
26461
26462 , or enter its command, listed in table
26463 \begin_inset space ~
26464 \end_inset
26465
26466
26467 \begin_inset CommandInset ref
26468 LatexCommand ref
26469 reference "tab:Typefaces-and-the"
26470
26471 \end_inset
26472
26473 , directly.
26474 \end_layout
26475
26476 \begin_layout Standard
26477 \begin_inset Float table
26478 wide false
26479 sideways false
26480 status open
26481
26482 \begin_layout Plain Layout
26483 \begin_inset Caption Standard
26484
26485 \begin_layout Plain Layout
26486 \begin_inset CommandInset label
26487 LatexCommand label
26488 name "tab:Typefaces-and-the"
26489
26490 \end_inset
26491
26492 Typefaces and the corresponding commands.
26493 \end_layout
26494
26495 \end_inset
26496
26497
26498 \end_layout
26499
26500 \begin_layout Plain Layout
26501 \align center
26502 \begin_inset Tabular
26503 <lyxtabular version="3" rows="9" columns="2">
26504 <features tabularvalignment="middle">
26505 <column alignment="center" valignment="top" width="0pt">
26506 <column alignment="center" valignment="top" width="0pt">
26507 <row>
26508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26509 \begin_inset Text
26510
26511 \begin_layout Plain Layout
26512 Font
26513 \end_layout
26514
26515 \end_inset
26516 </cell>
26517 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26518 \begin_inset Text
26519
26520 \begin_layout Plain Layout
26521 Command
26522 \end_layout
26523
26524 \end_inset
26525 </cell>
26526 </row>
26527 <row>
26528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26529 \begin_inset Text
26530
26531 \begin_layout Plain Layout
26532
26533 \shape up
26534 \size normal
26535 \bar no
26536 \noun off
26537 \color none
26538 \begin_inset Formula $\mathrm{Roman}$
26539 \end_inset
26540
26541
26542 \end_layout
26543
26544 \end_inset
26545 </cell>
26546 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26547 \begin_inset Text
26548
26549 \begin_layout Plain Layout
26550
26551 \series bold
26552
26553 \backslash
26554 mathrm
26555 \end_layout
26556
26557 \end_inset
26558 </cell>
26559 </row>
26560 <row>
26561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26562 \begin_inset Text
26563
26564 \begin_layout Plain Layout
26565 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
26566 \end_inset
26567
26568
26569 \end_layout
26570
26571 \end_inset
26572 </cell>
26573 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26574 \begin_inset Text
26575
26576 \begin_layout Plain Layout
26577
26578 \series bold
26579
26580 \backslash
26581 mathbf
26582 \end_layout
26583
26584 \end_inset
26585 </cell>
26586 </row>
26587 <row>
26588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26589 \begin_inset Text
26590
26591 \begin_layout Plain Layout
26592 \begin_inset Formula $\mathit{Italic}$
26593 \end_inset
26594
26595
26596 \end_layout
26597
26598 \end_inset
26599 </cell>
26600 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26601 \begin_inset Text
26602
26603 \begin_layout Plain Layout
26604
26605 \series bold
26606
26607 \backslash
26608 mathit
26609 \end_layout
26610
26611 \end_inset
26612 </cell>
26613 </row>
26614 <row>
26615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26616 \begin_inset Text
26617
26618 \begin_layout Plain Layout
26619
26620 \shape up
26621 \size normal
26622 \bar no
26623 \noun off
26624 \color none
26625 \begin_inset Formula $\mathtt{Typewriter}$
26626 \end_inset
26627
26628
26629 \end_layout
26630
26631 \end_inset
26632 </cell>
26633 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26634 \begin_inset Text
26635
26636 \begin_layout Plain Layout
26637
26638 \series bold
26639
26640 \backslash
26641 mathtt
26642 \end_layout
26643
26644 \end_inset
26645 </cell>
26646 </row>
26647 <row>
26648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26649 \begin_inset Text
26650
26651 \begin_layout Plain Layout
26652 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
26653 \end_inset
26654
26655
26656 \end_layout
26657
26658 \end_inset
26659 </cell>
26660 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26661 \begin_inset Text
26662
26663 \begin_layout Plain Layout
26664
26665 \series bold
26666
26667 \backslash
26668 mathbb
26669 \end_layout
26670
26671 \end_inset
26672 </cell>
26673 </row>
26674 <row>
26675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26676 \begin_inset Text
26677
26678 \begin_layout Plain Layout
26679 \begin_inset Formula $\mathfrak{Fraktur}$
26680 \end_inset
26681
26682
26683 \end_layout
26684
26685 \end_inset
26686 </cell>
26687 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26688 \begin_inset Text
26689
26690 \begin_layout Plain Layout
26691
26692 \series bold
26693
26694 \backslash
26695 mathfrak
26696 \end_layout
26697
26698 \end_inset
26699 </cell>
26700 </row>
26701 <row>
26702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26703 \begin_inset Text
26704
26705 \begin_layout Plain Layout
26706
26707 \shape up
26708 \size normal
26709 \emph on
26710 \bar no
26711 \noun off
26712 \color none
26713 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
26714 \end_inset
26715
26716
26717 \end_layout
26718
26719 \end_inset
26720 </cell>
26721 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26722 \begin_inset Text
26723
26724 \begin_layout Plain Layout
26725
26726 \series bold
26727
26728 \backslash
26729 mathcal
26730 \end_layout
26731
26732 \end_inset
26733 </cell>
26734 </row>
26735 <row>
26736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26737 \begin_inset Text
26738
26739 \begin_layout Plain Layout
26740 \begin_inset Formula $\mathsf{SansSerif}$
26741 \end_inset
26742
26743
26744 \end_layout
26745
26746 \end_inset
26747 </cell>
26748 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26749 \begin_inset Text
26750
26751 \begin_layout Plain Layout
26752
26753 \series bold
26754
26755 \backslash
26756 mathsf
26757 \end_layout
26758
26759 \end_inset
26760 </cell>
26761 </row>
26762 </lyxtabular>
26763
26764 \end_inset
26765
26766
26767 \end_layout
26768
26769 \end_inset
26770
26771
26772 \end_layout
26773
26774 \begin_layout Standard
26775 \begin_inset Note Greyedout
26776 status open
26777
26778 \begin_layout Plain Layout
26779
26780 \series bold
26781 Note:
26782 \series default
26783  You can only print capital letters in the typefaces 
26784 \family sans
26785 Blackboard
26786 \family default
26787  and 
26788 \family sans
26789 Calligraphic
26790 \family default
26791 .
26792 \end_layout
26793
26794 \end_inset
26795
26796
26797 \end_layout
26798
26799 \begin_layout Standard
26800 When you use a typeface, a blue box is inserted in the formula.
26801  Every character in this box will be printed in this typeface.
26802  Pressing 
26803 \family sans
26804 Space
26805 \family default
26806  within the box will set the cursor outside, so that you have to use a protected
26807  space when you need a space in the box.
26808  Here is an example where 
26809 \begin_inset Quotes eld
26810 \end_inset
26811
26812 N
26813 \begin_inset Quotes erd
26814 \end_inset
26815
26816  in 
26817 \family sans
26818 Blackboard
26819 \family default
26820  denotes the set of numbers:
26821 \begin_inset Formula 
26822 \[
26823 f(x)=\sqrt{x}\:;\:x\in\mathbb{N}
26824 \]
26825
26826 \end_inset
26827
26828
26829 \end_layout
26830
26831 \begin_layout Standard
26832 The typefaces are nestable, which can cause confusion.
26833  You can, for example, put a character in 
26834 \family sans
26835 Fraktur
26836 \family default
26837  in a box for 
26838 \family sans
26839 Typewriter
26840 \family default
26841
26842 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
26843 \end_inset
26844
26845  
26846 \begin_inset Newline newline
26847 \end_inset
26848
26849 So it is better not to use this feature.
26850 \end_layout
26851
26852 \begin_layout Standard
26853 The typefaces have no effect on Greek letters: 
26854 \begin_inset Formula $\mathfrak{abc\delta e}$
26855 \end_inset
26856
26857
26858 \begin_inset Newline newline
26859 \end_inset
26860
26861 You can only print them emboldened using the command 
26862 \series bold
26863
26864 \backslash
26865 boldsymbol
26866 \series default
26867 , which works like the other typeface commands: 
26868 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
26869 \end_inset
26870
26871
26872 \end_layout
26873
26874 \begin_layout Standard
26875
26876 \series bold
26877
26878 \backslash
26879 boldsymbol
26880 \series default
26881  works for all symbols, letters, and numbers.
26882 \end_layout
26883
26884 \begin_layout Standard
26885 A number of other font options are available as well, in the menu 
26886 \family sans
26887 Edit\SpecialChar menuseparator
26888 Math\SpecialChar menuseparator
26889 Text
26890 \begin_inset space ~
26891 \end_inset
26892
26893 Style
26894 \family default
26895 .
26896 \end_layout
26897
26898 \begin_layout Subsection
26899 Math Text
26900 \begin_inset Index idx
26901 status collapsed
26902
26903 \begin_layout Plain Layout
26904 Math ! Text
26905 \end_layout
26906
26907 \end_inset
26908
26909
26910 \end_layout
26911
26912 \begin_layout Standard
26913 Typefaces are useful for entering some characters in some given font, but
26914  not for text.
26915  For typing longer pieces of text use the math text, which is obtained using
26916  the entry 
26917 \family sans
26918 Normal
26919 \begin_inset space ~
26920 \end_inset
26921
26922 text
26923 \begin_inset space ~
26924 \end_inset
26925
26926 mode
26927 \family default
26928  of the 
26929 \family sans
26930 Math
26931 \begin_inset space ~
26932 \end_inset
26933
26934 Panel
26935 \family default
26936  button 
26937 \begin_inset Info
26938 type  "icon"
26939 arg   "math-insert \\font"
26940 \end_inset
26941
26942 .
26943  Math text appears in \SpecialChar LyX
26944  in black instead of blue.
26945  You can use spaces and accents in math text as in normal text.
26946  Here is an example:
26947 \begin_inset Formula 
26948 \[
26949 f(x)=\begin{cases}
26950 x & \mbox{if I say so}\\
26951 -x & \mbox{under Umständen}
26952 \end{cases}
26953 \]
26954
26955 \end_inset
26956
26957
26958 \end_layout
26959
26960 \begin_layout Subsection
26961 Font Sizes
26962 \begin_inset Index idx
26963 status collapsed
26964
26965 \begin_layout Plain Layout
26966 Math ! Font sizes
26967 \end_layout
26968
26969 \end_inset
26970
26971
26972 \end_layout
26973
26974 \begin_layout Standard
26975 There are four font styles (relative sizes) used in math-mode, which are
26976  automatically chosen in most situations.
26977  These are called 
26978 \family sans
26979 textstyle
26980 \family default
26981
26982 \family sans
26983 displaystyle
26984 \family default
26985
26986 \family sans
26987 scriptstyle
26988 \family default
26989 , and 
26990 \family sans
26991 scriptscriptstyle
26992 \family default
26993 .
26994  For most characters, 
26995 \family sans
26996 textstyle
26997 \family default
26998  and 
26999 \family sans
27000 displaystyle
27001 \family default
27002  are actually the same size, but fractions, superscripts and subscripts,
27003  and certain other structures, are set larger in 
27004 \family sans
27005 displaystyle
27006 \family default
27007 .
27008  Except for some operators, which resize themselves to accommodate various
27009  situations, all text will be set in the styles that \SpecialChar LaTeX
27010  thinks are appropriate.
27011  These choices can be overridden by using the math panel button 
27012 \begin_inset Info
27013 type  "icon"
27014 arg   "math-insert \\style"
27015 \end_inset
27016
27017 .
27018  A box for the size will be created in which you can insert the math structure.
27019  For example, you can set 
27020 \begin_inset Formula $\frac{1}{2}$
27021 \end_inset
27022
27023 , which is normally in 
27024 \family sans
27025 textstyle
27026 \family default
27027 , larger in 
27028 \family sans
27029 displaystyle
27030 \family default
27031
27032 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
27033 \end_inset
27034
27035 .
27036  The four styles are used in the following example:
27037 \end_layout
27038
27039 \begin_layout Standard
27040 \begin_inset Formula $displaystyle$
27041 \end_inset
27042
27043
27044 \begin_inset Formula ${\textstyle textstyle}$
27045 \end_inset
27046
27047
27048 \begin_inset Formula ${\scriptstyle scriptstyle}$
27049 \end_inset
27050
27051
27052 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
27053 \end_inset
27054
27055 .
27056 \end_layout
27057
27058 \begin_layout Standard
27059 All these math-mode font sizes are relative so that if the whole math inset
27060  is set in a particular size with the menu 
27061 \family sans
27062 Edit\SpecialChar menuseparator
27063 Text
27064 \begin_inset space ~
27065 \end_inset
27066
27067 Style
27068 \family default
27069 , all sizes in the formula will be adjusted relative to this size.
27070  Similarly, if the base font size of the document is changed, all fonts
27071  will be adjusted to correspond.
27072  As an example here is a formula in the font size 
27073 \begin_inset Quotes eld
27074 \end_inset
27075
27076 largest
27077 \begin_inset Quotes erd
27078 \end_inset
27079
27080 :
27081 \end_layout
27082
27083 \begin_layout Standard
27084
27085 \family roman
27086 \size largest
27087 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
27088 \end_inset
27089
27090
27091 \end_layout
27092
27093 \begin_layout Section
27094 AMS-\SpecialChar LaTeX
27095
27096 \begin_inset Index idx
27097 status collapsed
27098
27099 \begin_layout Plain Layout
27100 AMS math
27101 \end_layout
27102
27103 \end_inset
27104
27105
27106 \begin_inset Index idx
27107 status collapsed
27108
27109 \begin_layout Plain Layout
27110 Math ! AMS
27111 \end_layout
27112
27113 \end_inset
27114
27115
27116 \end_layout
27117
27118 \begin_layout Standard
27119 \SpecialChar LyX
27120  supports the packages provided by the American Mathematical Society (AMS)
27121  that are in common use.
27122 \end_layout
27123
27124 \begin_layout Subsection
27125 Enabling AMS-Support
27126 \end_layout
27127
27128 \begin_layout Standard
27129 You can make the facilities of the AMS-packages explicitly available in
27130  the document by selecting the checkbox 
27131 \family sans
27132 Use
27133 \begin_inset space ~
27134 \end_inset
27135
27136 AMS
27137 \begin_inset space ~
27138 \end_inset
27139
27140 math
27141 \begin_inset space ~
27142 \end_inset
27143
27144 package
27145 \family default
27146  in the 
27147 \family sans
27148 Document\SpecialChar menuseparator
27149 Settings
27150 \family default
27151
27152 \begin_inset Index idx
27153 status collapsed
27154
27155 \begin_layout Plain Layout
27156 Document ! Settings
27157 \end_layout
27158
27159 \end_inset
27160
27161  dialog under 
27162 \family sans
27163 Math
27164 \begin_inset space ~
27165 \end_inset
27166
27167 Options
27168 \family default
27169 .
27170  AMS is needed for many math-constructs; so when you get \SpecialChar LaTeX
27171 -errors in formulas,
27172  ensure that you have enabled AMS.
27173 \end_layout
27174
27175 \begin_layout Subsection
27176 AMS-Formula Types
27177 \begin_inset CommandInset label
27178 LatexCommand label
27179 name "subsec:AMS-Formula-Types"
27180
27181 \end_inset
27182
27183
27184 \begin_inset Index idx
27185 status collapsed
27186
27187 \begin_layout Plain Layout
27188 Math ! Multi-line Equations
27189 \end_layout
27190
27191 \end_inset
27192
27193
27194 \end_layout
27195
27196 \begin_layout Standard
27197 AMS-\SpecialChar LaTeX
27198  provides a selection of different formula types.
27199  \SpecialChar LyX
27200  allows you to choose between 
27201 \family typewriter
27202 align
27203 \family default
27204
27205 \family typewriter
27206 alignat
27207 \family default
27208
27209 \family typewriter
27210 flalign
27211 \family default
27212
27213 \family typewriter
27214 gather
27215 \family default
27216 , and 
27217 \family typewriter
27218 multline
27219 \family default
27220 .
27221  We refer you to the AMS-documentation, 
27222 \begin_inset CommandInset citation
27223 LatexCommand cite
27224 key "AMS"
27225 literal "true"
27226
27227 \end_inset
27228
27229 , for an explanation of these formula types.
27230 \end_layout
27231
27232 \begin_layout Chapter
27233 More Tools
27234 \end_layout
27235
27236 \begin_layout Section
27237 Cross-References
27238 \begin_inset Index idx
27239 status collapsed
27240
27241 \begin_layout Plain Layout
27242 Cross references
27243 \end_layout
27244
27245 \end_inset
27246
27247
27248 \begin_inset CommandInset label
27249 LatexCommand label
27250 name "sec:Cross-References"
27251
27252 \end_inset
27253
27254
27255 \end_layout
27256
27257 \begin_layout Standard
27258 One of \SpecialChar LyX
27259 's strengths is cross-references.
27260  You can reference every section, float, footnote, formula, and list in
27261  the document.
27262  To reference a document part, you have to insert a label into it.
27263  The label is used as an anchor and a name for the reference.
27264  We want for example to refer to the second item of the following list:
27265 \end_layout
27266
27267 \begin_layout Enumerate
27268 First item
27269 \end_layout
27270
27271 \begin_layout Enumerate
27272 \begin_inset CommandInset label
27273 LatexCommand label
27274 name "enu:Second-item"
27275
27276 \end_inset
27277
27278 Second item
27279 \end_layout
27280
27281 \begin_layout Enumerate
27282 Third item
27283 \end_layout
27284
27285 \begin_layout Standard
27286 First we insert a label into the second item with the menu 
27287 \family sans
27288 Insert\SpecialChar menuseparator
27289 Label
27290 \family default
27291  or by pressing the toolbar button 
27292 \begin_inset Info
27293 type  "icon"
27294 arg   "label-insert"
27295 \end_inset
27296
27297 .
27298  A gray label box like this: 
27299 \begin_inset Graphics
27300         filename clipart/label.png
27301
27302 \end_inset
27303
27304  is inserted and the label window pops up asking for the label text.
27305  \SpecialChar LyX
27306  offers as text the first words of the item with a prefix, in our case
27307  the text 
27308 \begin_inset Quotes eld
27309 \end_inset
27310
27311
27312 \family sans
27313 enu:Second-item
27314 \family default
27315
27316 \begin_inset Quotes erd
27317 \end_inset
27318
27319 .
27320  The prefix 
27321 \begin_inset Quotes eld
27322 \end_inset
27323
27324
27325 \family sans
27326 enu:
27327 \family default
27328
27329 \begin_inset Quotes erd
27330 \end_inset
27331
27332  stands for 
27333 \begin_inset Quotes eld
27334 \end_inset
27335
27336 enumerate
27337 \begin_inset Quotes erd
27338 \end_inset
27339
27340 .
27341  The prefix depends on the document part where the label is inserted; for
27342  example, if you insert a label into a section heading, the suggested prefix
27343  will be 
27344 \begin_inset Quotes eld
27345 \end_inset
27346
27347
27348 \family sans
27349 sec:
27350 \family default
27351
27352 \begin_inset Quotes erd
27353 \end_inset
27354
27355 .
27356 \end_layout
27357
27358 \begin_layout Standard
27359 To reference the item, we refer to its label using the menu 
27360 \family sans
27361 Insert\SpecialChar menuseparator
27362 Cross-Reference
27363 \family default
27364  or the toolbar button 
27365 \begin_inset Info
27366 type  "icon"
27367 arg   "dialog-show-new-inset ref"
27368 \end_inset
27369
27370 .
27371  A gray cross-reference box like this: 
27372 \begin_inset Graphics
27373         filename clipart/reference.png
27374
27375 \end_inset
27376
27377  is inserted and the cross-reference window appears showing all the labels
27378  in the document.
27379  We can now sort the labels alphabetically and then choose the entry 
27380 \begin_inset Quotes eld
27381 \end_inset
27382
27383
27384 \family sans
27385 enu:Second-item
27386 \family default
27387
27388 \begin_inset Quotes erd
27389 \end_inset
27390
27391 .
27392  At the position of the cross-reference box the item number will appear
27393  in the output.
27394 \end_layout
27395
27396 \begin_layout Standard
27397 As an alternative to 
27398 \family sans
27399 Insert\SpecialChar menuseparator
27400 Cross-Reference
27401 \family default
27402 , you can right-click on a label and in the popup menu select 
27403 \family sans
27404 Copy as Reference
27405 \family default
27406 .
27407  The cross-reference to this label is now in the clipboard and can be pasted
27408  to the actual cursor position via the menu 
27409 \family sans
27410 Edit\SpecialChar menuseparator
27411 Paste
27412 \family default
27413  (shortcut 
27414 \begin_inset Info
27415 type  "shortcut"
27416 arg   "paste"
27417 \end_inset
27418
27419 ).
27420 \end_layout
27421
27422 \begin_layout Standard
27423 Here is our cross-reference: Item
27424 \begin_inset space ~
27425 \end_inset
27426
27427
27428 \begin_inset CommandInset ref
27429 LatexCommand ref
27430 reference "enu:Second-item"
27431
27432 \end_inset
27433
27434
27435 \end_layout
27436
27437 \begin_layout Standard
27438 It is recommended to use a protected space
27439 \begin_inset Foot
27440 status collapsed
27441
27442 \begin_layout Plain Layout
27443 described in section
27444 \begin_inset space ~
27445 \end_inset
27446
27447
27448 \begin_inset CommandInset ref
27449 LatexCommand ref
27450 reference "subsec:Protected-Space"
27451
27452 \end_inset
27453
27454
27455 \end_layout
27456
27457 \end_inset
27458
27459  between the cross-reference name and the cross-reference to avoid ugly
27460  line breaks between them.
27461 \end_layout
27462
27463 \begin_layout Standard
27464 There are eight formats of cross-references:
27465 \end_layout
27466
27467 \begin_layout Description
27468 <reference>: prints the number, this is the default: 
27469 \begin_inset CommandInset ref
27470 LatexCommand ref
27471 reference "fig:Two-images"
27472
27473 \end_inset
27474
27475
27476 \end_layout
27477
27478 \begin_layout Description
27479 (<reference>): prints the number within two parentheses, this is the style
27480  normally used to reference formulas, especially when the reference name
27481  
27482 \begin_inset Quotes eld
27483 \end_inset
27484
27485 Equation
27486 \begin_inset Quotes erd
27487 \end_inset
27488
27489  is omitted: 
27490 \begin_inset CommandInset ref
27491 LatexCommand eqref
27492 reference "eq:tanhExp"
27493
27494 \end_inset
27495
27496
27497 \end_layout
27498
27499 \begin_layout Description
27500 <page>: prints the page number: Page
27501 \begin_inset space ~
27502 \end_inset
27503
27504
27505 \begin_inset CommandInset ref
27506 LatexCommand pageref
27507 reference "fig:Two-images"
27508
27509 \end_inset
27510
27511
27512 \end_layout
27513
27514 \begin_layout Description
27515 on
27516 \begin_inset space ~
27517 \end_inset
27518
27519 page
27520 \begin_inset space ~
27521 \end_inset
27522
27523 <page>: prints the text “on page” and the page number: 
27524 \begin_inset CommandInset ref
27525 LatexCommand vpageref
27526 reference "fig:Two-images"
27527
27528 \end_inset
27529
27530
27531 \begin_inset Newline newline
27532 \end_inset
27533
27534 If the label is on the same page, it prints “on this page”; if the label
27535  is on a facing page in a two-sided document, it prints “on the facing page”;
27536  if it is on the previous page which is not a facing page, it prints “on
27537  the previous page”; if it is on the next page which is not a facing page,
27538  it prints “on the next page”.
27539  The wording of the printed text also depends on the used document class.
27540 \end_layout
27541
27542 \begin_layout Description
27543 <reference>
27544 \begin_inset space ~
27545 \end_inset
27546
27547 on
27548 \begin_inset space ~
27549 \end_inset
27550
27551 page
27552 \begin_inset space ~
27553 \end_inset
27554
27555 <page>: prints the number, the text “on page” and the page number: 
27556 \begin_inset CommandInset ref
27557 LatexCommand vref
27558 reference "fig:Two-images"
27559
27560 \end_inset
27561
27562
27563 \begin_inset Newline newline
27564 \end_inset
27565
27566 If the label is on the same page, this format behaves like 
27567 \family sans
27568 \series bold
27569 <reference>
27570 \family default
27571 \series default
27572 ; otherwise it behaves like 
27573 \family sans
27574 \series bold
27575 on
27576 \begin_inset space ~
27577 \end_inset
27578
27579 page
27580 \begin_inset space ~
27581 \end_inset
27582
27583 <page>
27584 \family default
27585 \series default
27586 .
27587 \end_layout
27588
27589 \begin_layout Description
27590 Formatted
27591 \begin_inset space ~
27592 \end_inset
27593
27594 reference: prints a self defined cross-reference format.
27595 \begin_inset Newline newline
27596 \end_inset
27597
27598
27599 \begin_inset Note Greyedout
27600 status open
27601
27602 \begin_layout Plain Layout
27603
27604 \series bold
27605 Note:
27606 \series default
27607  This feature is only available when you have the \SpecialChar LaTeX
27608 -package 
27609 \series bold
27610 prettyref
27611 \series default
27612  or 
27613 \series bold
27614 refstyle
27615 \series default
27616
27617 \begin_inset Index idx
27618 status collapsed
27619
27620 \begin_layout Plain Layout
27621 \SpecialChar LaTeX
27622  packages ! prettyref
27623 \end_layout
27624
27625 \end_inset
27626
27627
27628 \begin_inset Index idx
27629 status collapsed
27630
27631 \begin_layout Plain Layout
27632 \SpecialChar LaTeX
27633  packages ! refstyle
27634 \end_layout
27635
27636 \end_inset
27637
27638  installed.
27639 \end_layout
27640
27641 \end_inset
27642
27643
27644 \begin_inset Newline newline
27645 \end_inset
27646
27647 You can select which \SpecialChar LaTeX
27648 -package should be used for this feature by setting
27649  the option 
27650 \family sans
27651 Use refstyle (not prettyref) for cross-references
27652 \family default
27653  in the menu 
27654 \family sans
27655 Document\SpecialChar menuseparator
27656 Settings\SpecialChar menuseparator
27657 Document Class
27658 \family default
27659 .
27660  The package 
27661 \series bold
27662 refstyle
27663 \series default
27664  is the default and preferred because 
27665 \series bold
27666 prettyref
27667 \series default
27668  supports only English documents.
27669  The format is specified by using the command 
27670 \series bold
27671
27672 \backslash
27673 newrefformat
27674 \series default
27675  (prettyref) or 
27676 \series bold
27677
27678 \backslash
27679 newref
27680 \series default
27681  (refstyle) in the \SpecialChar LaTeX
27682  preamble of the document.
27683  For example redefining all references to figures (which have the label
27684  shortcut 
27685 \begin_inset Quotes eld
27686 \end_inset
27687
27688
27689 \family sans
27690 fig
27691 \family default
27692
27693 \begin_inset Quotes erd
27694 \end_inset
27695
27696 ) can be done for 
27697 \series bold
27698 refstyle
27699 \series default
27700  with this command:
27701 \begin_inset Newline newline
27702 \end_inset
27703
27704
27705 \series bold
27706
27707 \backslash
27708 newref{fig}{refcmd={Image on page 
27709 \backslash
27710 pageref{#1}}}
27711 \series default
27712
27713 \begin_inset Newline newline
27714 \end_inset
27715
27716 Note that neither 
27717 \series bold
27718 prettyref
27719 \series default
27720  nor 
27721 \series bold
27722 refstyle 
27723 \series default
27724 predefines reference formats for all available types.
27725  This is especially true for the wide variety of mathematical `theorem'
27726  environments.
27727  So if you want to make formatted references to, say, Propositions, then
27728  you will need to define the relevant format yourself.
27729  For 
27730 \series bold
27731 prettyref
27732 \series default
27733 , you might do so as follows:
27734 \begin_inset Newline newline
27735 \end_inset
27736
27737
27738 \series bold
27739
27740 \backslash
27741 newrefformat{prop}{Proposition 
27742 \backslash
27743 ref{#1}}
27744 \series default
27745
27746 \begin_inset Newline newline
27747 \end_inset
27748
27749 For more information about defining formatted references, have a look at
27750  the package documentation 
27751 \begin_inset CommandInset citation
27752 LatexCommand cite
27753 key "prettyref,refstyle"
27754 literal "true"
27755
27756 \end_inset
27757
27758 .
27759 \begin_inset Newline newline
27760 \end_inset
27761
27762 The options 
27763 \family sans
27764 Plural
27765 \family default
27766  and 
27767 \family sans
27768 Capitalized
27769 \family default
27770  will be available with formatted references only if you are using the 
27771 \series bold
27772 refstyle
27773 \series default
27774  package.
27775 \end_layout
27776
27777 \begin_layout Description
27778 Textual
27779 \begin_inset space ~
27780 \end_inset
27781
27782 reference: prints the caption or the name of the reference: 
27783 \begin_inset CommandInset ref
27784 LatexCommand nameref
27785 reference "fig:Two-images"
27786
27787 \end_inset
27788
27789
27790 \end_layout
27791
27792 \begin_layout Description
27793 Label
27794 \begin_inset space ~
27795 \end_inset
27796
27797 only: prints only the \SpecialChar LaTeX
27798  label for the reference: 
27799 \begin_inset CommandInset ref
27800 LatexCommand labelonly
27801 reference "fig:Two-images"
27802
27803 \end_inset
27804
27805
27806 \begin_inset Newline newline
27807 \end_inset
27808
27809 This allows for customization, using \SpecialChar TeX
27810  Code, if you want to issue a command
27811  that \SpecialChar LyX
27812  does not support.
27813  If you are using 
27814 \series bold
27815 refstyle
27816 \series default
27817 , then you may want to use the 
27818 \family sans
27819 No
27820 \begin_inset space ~
27821 \end_inset
27822
27823 Prefix
27824 \family default
27825  option, which will output only the part of the reference following the
27826  
27827 \begin_inset Quotes eld
27828 \end_inset
27829
27830 :
27831 \begin_inset Quotes erd
27832 \end_inset
27833
27834  separator.
27835  This is the form needed for e.
27836 \begin_inset space \thinspace{}
27837 \end_inset
27838
27839 g.
27840 \begin_inset space \space{}
27841 \end_inset
27842
27843
27844 \series bold
27845 refstyle
27846 \series default
27847 's range commands.The number and current page of the referenced document
27848  part in the output is automatically calculated by \SpecialChar LaTeX
27849 .
27850  The varieties are adjusted in the field 
27851 \family sans
27852 Format
27853 \family default
27854  of the cross-reference window, that appears when you click on the cross-referen
27855 ce.
27856 \end_layout
27857
27858 \begin_layout Standard
27859 You can only use the style 
27860 \family sans
27861 <reference>
27862 \family default
27863  to reference numbered document parts, while the reference style 
27864 \family sans
27865 <page>
27866 \family default
27867  is always possible.
27868 \end_layout
27869
27870 \begin_layout Standard
27871 If you want to reference a section, put the label in the section heading;
27872  for floats put the label in the caption; for footnotes put the label in
27873  it.
27874  Referencing formulas is explained in section
27875 \begin_inset space ~
27876 \end_inset
27877
27878
27879 \begin_inset CommandInset ref
27880 LatexCommand ref
27881 reference "sec:Formula-Numbering-and"
27882
27883 \end_inset
27884
27885 .
27886 \end_layout
27887
27888 \begin_layout Standard
27889 Right-clicking on a cross-reference opens a context menu.
27890  The entry 
27891 \family sans
27892 Go
27893 \begin_inset space ~
27894 \end_inset
27895
27896 to
27897 \begin_inset space ~
27898 \end_inset
27899
27900 Label
27901 \family default
27902  sets the cursor before the referenced label.
27903  This entry will be renamed in the context menu of the label to 
27904 \family sans
27905 Go
27906 \begin_inset space ~
27907 \end_inset
27908
27909 Back
27910 \family default
27911  so that you can use it to set the cursor back to the cross-reference.
27912  You can also go back with the toolbar button 
27913 \begin_inset Info
27914 type  "icon"
27915 arg   "bookmark-goto 0"
27916 \end_inset
27917
27918 .
27919 \end_layout
27920
27921 \begin_layout Standard
27922 You can change labels at any time.
27923  References to the changed label will automatically be updated so that you
27924  do not need to think about this.
27925 \end_layout
27926
27927 \begin_layout Standard
27928 If a cross-reference refers to a non-existent label, you will see in \SpecialChar LyX
27929  “BROKEN”
27930  in the cross-reference label and two question marks in the output instead
27931  of the reference.
27932 \end_layout
27933
27934 \begin_layout Standard
27935 References are described in detail in the section
27936 \begin_inset space ~
27937 \end_inset
27938
27939
27940 \emph on
27941 Referencing Floats
27942 \emph default
27943  of the 
27944 \emph on
27945 Embedded
27946 \begin_inset space ~
27947 \end_inset
27948
27949 Objects
27950 \emph default
27951  manual.
27952 \end_layout
27953
27954 \begin_layout Section
27955 Table of Contents and other Listings
27956 \begin_inset Index idx
27957 status collapsed
27958
27959 \begin_layout Plain Layout
27960 Table of contents
27961 \end_layout
27962
27963 \end_inset
27964
27965
27966 \begin_inset Index idx
27967 status collapsed
27968
27969 \begin_layout Plain Layout
27970 Navigating ! Outline
27971 \end_layout
27972
27973 \end_inset
27974
27975
27976 \begin_inset Index idx
27977 status collapsed
27978
27979 \begin_layout Plain Layout
27980 Outline
27981 \end_layout
27982
27983 \end_inset
27984
27985
27986 \begin_inset CommandInset label
27987 LatexCommand label
27988 name "sec:toc"
27989
27990 \end_inset
27991
27992
27993 \end_layout
27994
27995 \begin_layout Subsection
27996 Table of Contents
27997 \begin_inset CommandInset label
27998 LatexCommand label
27999 name "subsec:Table-of-Contents"
28000
28001 \end_inset
28002
28003
28004 \end_layout
28005
28006 \begin_layout Standard
28007 The Table of Contents (TOC) is inserted with the menu 
28008 \family sans
28009 Insert\SpecialChar menuseparator
28010 List/TOC\SpecialChar menuseparator
28011 Table
28012 \begin_inset space ~
28013 \end_inset
28014
28015 of
28016 \begin_inset space ~
28017 \end_inset
28018
28019 Contents
28020 \family default
28021 .
28022  It is displayed in \SpecialChar LyX
28023  as a gray box.
28024  If you click on it, the 
28025 \family sans
28026 Outline
28027 \family default
28028  window appears, showing you the TOC entries as outline, which allows you
28029  to move and rearrange sections in your documents.
28030  So this operation is an alternative to the menu 
28031 \family sans
28032 View\SpecialChar menuseparator
28033 Outline
28034 \begin_inset space ~
28035 \end_inset
28036
28037 Pane
28038 \family default
28039  that is described in section
28040 \begin_inset space ~
28041 \end_inset
28042
28043
28044 \begin_inset CommandInset ref
28045 LatexCommand ref
28046 reference "subsec:The-Outliner"
28047
28048 \end_inset
28049
28050 .
28051 \end_layout
28052
28053 \begin_layout Standard
28054 The TOC in the document output lists every numbered section automatically.
28055  If you have declared a short title for a section heading, as described
28056  in section
28057 \begin_inset space ~
28058 \end_inset
28059
28060
28061 \begin_inset CommandInset ref
28062 LatexCommand ref
28063 reference "sec:Short-Titles"
28064
28065 \end_inset
28066
28067 , it will be used in the TOC instead of the section heading.
28068  Section
28069 \begin_inset space ~
28070 \end_inset
28071
28072
28073 \begin_inset CommandInset ref
28074 LatexCommand ref
28075 reference "subsec:Numbering-depth"
28076
28077 \end_inset
28078
28079  describes how the level is adjusted that defines which section types are
28080  listed in the TOC.
28081  Unnumbered sections are not listed in the TOC.
28082 \end_layout
28083
28084 \begin_layout Subsection
28085 List of Figures, Tables, Listings and Algorithms
28086 \begin_inset CommandInset label
28087 LatexCommand label
28088 name "subsec:List-of-Figures"
28089
28090 \end_inset
28091
28092
28093 \end_layout
28094
28095 \begin_layout Standard
28096 Table, figure, listings and algorithm lists are very much like the table
28097  of contents.
28098  You can insert them via the 
28099 \family sans
28100 Insert\SpecialChar menuseparator
28101 List/TOC
28102 \family default
28103  submenus.
28104  The list entries are the float captions and the float number.
28105 \end_layout
28106
28107 \begin_layout Section
28108 URLs and Hyperlinks
28109 \begin_inset Index idx
28110 status collapsed
28111
28112 \begin_layout Plain Layout
28113 URLs
28114 \end_layout
28115
28116 \end_inset
28117
28118
28119 \begin_inset Index idx
28120 status collapsed
28121
28122 \begin_layout Plain Layout
28123 Hyperlinks
28124 \end_layout
28125
28126 \end_inset
28127
28128
28129 \end_layout
28130
28131 \begin_layout Subsection
28132 URLs
28133 \begin_inset CommandInset label
28134 LatexCommand label
28135 name "subsec:URLs"
28136
28137 \end_inset
28138
28139
28140 \end_layout
28141
28142 \begin_layout Standard
28143 Links to web pages or email addresses can be inserted via the menu 
28144 \family sans
28145 Insert\SpecialChar menuseparator
28146 URL
28147 \family default
28148 .
28149 \end_layout
28150
28151 \begin_layout Standard
28152 Here is an example URL: \SpecialChar LyX
28153 's homepage: 
28154 \begin_inset Flex URL
28155 status collapsed
28156
28157 \begin_layout Plain Layout
28158
28159 https://www.lyx.org
28160 \end_layout
28161
28162 \end_inset
28163
28164
28165 \end_layout
28166
28167 \begin_layout Standard
28168 You cannot change the style of the link text, the URL text will always be
28169  in the style 
28170 \family typewriter
28171 Typewriter
28172 \family default
28173 .
28174  To be able to format the URL text, use hyperlinks as explained in the next
28175  subsection.
28176 \end_layout
28177
28178 \begin_layout Standard
28179 \begin_inset Note Greyedout
28180 status open
28181
28182 \begin_layout Plain Layout
28183
28184 \series bold
28185 Note:
28186 \series default
28187  URLs must not end with a backslash, otherwise you get \SpecialChar LaTeX
28188  errors.
28189 \end_layout
28190
28191 \end_inset
28192
28193
28194 \end_layout
28195
28196 \begin_layout Subsection
28197 Hyperlinks
28198 \begin_inset CommandInset label
28199 LatexCommand label
28200 name "subsec:Hyperlinks"
28201
28202 \end_inset
28203
28204
28205 \end_layout
28206
28207 \begin_layout Standard
28208 Hyperlinks can be inserted with the menu 
28209 \family sans
28210 Insert\SpecialChar menuseparator
28211 Hyperlink
28212 \family default
28213  or with the toolbar button 
28214 \begin_inset Info
28215 type  "icon"
28216 arg   "href-insert"
28217 \end_inset
28218
28219 .
28220  The appearing dialog has two fields: 
28221 \family sans
28222 Target
28223 \family default
28224  and 
28225 \family sans
28226 Name
28227 \family default
28228 .
28229  The name is the printed text for the hyperlink.
28230  The hyperlink type can be a weblink like this: 
28231 \begin_inset CommandInset href
28232 LatexCommand href
28233 name "LyX's homepage"
28234 target "https://www.lyx.org"
28235 literal "false"
28236
28237 \end_inset
28238
28239 , an Email address like this: 
28240 \begin_inset CommandInset href
28241 LatexCommand href
28242 name "lyx-docs mailing list"
28243 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
28244 type "mailto:"
28245 literal "false"
28246
28247 \end_inset
28248
28249 , or a link to a file.
28250  The option 
28251 \family sans
28252 Literal
28253 \family default
28254  in the hyperlink settings dialog allows to input \SpecialChar TeX
28255  code to the 
28256 \family sans
28257 Name
28258 \family default
28259  field.
28260 \end_layout
28261
28262 \begin_layout Standard
28263 You can start applications via a hyperlink when you insert a weblink by
28264  adding the prefix 
28265 \begin_inset Quotes eld
28266 \end_inset
28267
28268
28269 \family sans
28270 run:
28271 \family default
28272
28273 \begin_inset Quotes erd
28274 \end_inset
28275
28276  to the link target.
28277 \end_layout
28278
28279 \begin_layout Standard
28280 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
28281  and become clickable in the DVI and PDF-output.
28282  To set the format of the link text, highlight the hyperlink inset and use
28283  the text style dialog.
28284  This is for example a hyperlink with bold sans serif text: 
28285 \family sans
28286 \series bold
28287
28288 \begin_inset CommandInset href
28289 LatexCommand href
28290 name "LyX's homepage"
28291 target "https://www.lyx.org"
28292 literal "false"
28293
28294 \end_inset
28295
28296
28297 \end_layout
28298
28299 \begin_layout Standard
28300 The link text color can be changed, when the option 
28301 \family sans
28302 Color links
28303 \family default
28304  is set in the PDF Properties dialog (menu 
28305 \family sans
28306 Document\SpecialChar menuseparator
28307 Settings\SpecialChar menuseparator
28308 PDF Properties
28309 \family default
28310 ).
28311  The link text is for example set in this document to blue by adding the
28312  option
28313 \begin_inset Newline newline
28314 \end_inset
28315
28316
28317 \series bold
28318 urlcolor=blue
28319 \series default
28320
28321 \begin_inset Newline newline
28322 \end_inset
28323
28324 to the field 
28325 \family sans
28326 Additional options
28327 \family default
28328  in the PDF Properties dialog.
28329 \end_layout
28330
28331 \begin_layout Section
28332 Appendices
28333 \begin_inset Index idx
28334 status collapsed
28335
28336 \begin_layout Plain Layout
28337 Appendix
28338 \end_layout
28339
28340 \end_inset
28341
28342
28343 \begin_inset CommandInset label
28344 LatexCommand label
28345 name "sec:Appendices"
28346
28347 \end_inset
28348
28349
28350 \end_layout
28351
28352 \begin_layout Standard
28353 Appendices are created with the menu 
28354 \family sans
28355 Document\SpecialChar menuseparator
28356 Start
28357 \begin_inset space ~
28358 \end_inset
28359
28360 Appendix
28361 \begin_inset space ~
28362 \end_inset
28363
28364 Here
28365 \family default
28366 .
28367  This menu sets the document from the current cursor position to the end
28368  as the appendix part of the book.
28369  This part is marked with a red borderline.
28370 \end_layout
28371
28372 \begin_layout Standard
28373 Every chapter (or section) within the appendix part is treated as an appendix,
28374  numbered with a capital Latin letter.
28375  The appendix subsections are numbered with this letter followed by a dot
28376  and the subsection number.
28377  All appendix sections can be referenced as if they were normal sections,
28378  here two examples:
28379 \end_layout
28380
28381 \begin_layout Standard
28382 Appendix
28383 \begin_inset space ~
28384 \end_inset
28385
28386
28387 \begin_inset CommandInset ref
28388 LatexCommand ref
28389 reference "chap:Credits"
28390
28391 \end_inset
28392
28393 ; Appendix
28394 \begin_inset space ~
28395 \end_inset
28396
28397
28398 \begin_inset CommandInset ref
28399 LatexCommand ref
28400 reference "subsec:Export"
28401
28402 \end_inset
28403
28404
28405 \end_layout
28406
28407 \begin_layout Section
28408 Bibliography
28409 \begin_inset Index idx
28410 status collapsed
28411
28412 \begin_layout Plain Layout
28413 Bibliography
28414 \end_layout
28415
28416 \end_inset
28417
28418
28419 \begin_inset CommandInset label
28420 LatexCommand label
28421 name "sec:Bibliography"
28422
28423 \end_inset
28424
28425
28426 \end_layout
28427
28428 \begin_layout Standard
28429 There are two ways of generating the bibliography in a \SpecialChar LyX
28430  document.
28431  You can include a bibliography database, which is explained in sec.
28432 \begin_inset space ~
28433 \end_inset
28434
28435
28436 \begin_inset CommandInset ref
28437 LatexCommand ref
28438 reference "subsec:Bibliography-databases"
28439 plural "false"
28440 caps "false"
28441 noprefix "false"
28442
28443 \end_inset
28444
28445 , or you can insert the bibliography manually, using the paragraph environment
28446  
28447 \family sans
28448 Bibliography
28449 \family default
28450 , which is described in the following section (but see also sec.
28451 \begin_inset space ~
28452 \end_inset
28453
28454
28455 \begin_inset CommandInset ref
28456 LatexCommand ref
28457 reference "subsec:Biblio_environment"
28458
28459 \end_inset
28460
28461 ).
28462  If you want anything other than the numerical citations that are used in
28463  this document, such as author-year citations, and if you have more than
28464  a handful of references, then you should seriously consider
28465 \emph on
28466  
28467 \emph default
28468 using a bibliography database.
28469 \end_layout
28470
28471 \begin_layout Standard
28472 In order to demonstrate the difference between these two approaches, we
28473  use two bibliographies in this document, a 
28474 \family sans
28475 Bibliography
28476 \family default
28477  environment and a database-generated bibliography.
28478  As you can see, the bibliography that is created from a database lists
28479  only the database entries that are referenced in the document.
28480  In other words, the database approach relieves you, amongst other things,
28481  from the burden to check which entries you have actually cited.
28482 \end_layout
28483
28484 \begin_layout Subsection
28485 The Bibliography Environment
28486 \begin_inset CommandInset label
28487 LatexCommand label
28488 name "subsec:The-Bibliography-Environment"
28489
28490 \end_inset
28491
28492
28493 \end_layout
28494
28495 \begin_layout Standard
28496 Within the 
28497 \family sans
28498 Bibliography
28499 \family default
28500  environment, every paragraph begins with a gray bibliography box labeled
28501  with a number.
28502  If you click on it, you will get a dialog in which you can set a 
28503 \family sans
28504 Key
28505 \family default
28506  and a 
28507 \family sans
28508 Label
28509 \family default
28510 .
28511  The key is the symbolic name by which you will refer to this bibliography
28512  entry.
28513  Each entry needs to be given a unique key, which is one word consisting
28514  of ASCII characters only.
28515 \begin_inset Foot
28516 status collapsed
28517
28518 \begin_layout Plain Layout
28519 ASCII means 
28520 \begin_inset CommandInset href
28521 LatexCommand href
28522 name "this set"
28523 target "https://en.wikipedia.org/wiki/ASCII#Character_set"
28524 literal "false"
28525
28526 \end_inset
28527
28528  of characters:
28529 \begin_inset Newline newline
28530 \end_inset
28531
28532
28533 \begin_inset Flex URL
28534 status open
28535
28536 \begin_layout Plain Layout
28537
28538 https://en.wikipedia.org/wiki/ASCII
28539 \backslash
28540 #Character_set
28541 \end_layout
28542
28543 \end_inset
28544
28545
28546 \end_layout
28547
28548 \end_inset
28549
28550  For example, our second entry in the bibliography is a book about \SpecialChar LaTeX
28551  and
28552  we used 
28553 \begin_inset Quotes eld
28554 \end_inset
28555
28556 latexcompanion
28557 \begin_inset Quotes erd
28558 \end_inset
28559
28560 , a short form of its title, as the key.
28561 \begin_inset Newline newline
28562 \end_inset
28563
28564 If you set a 
28565 \family sans
28566 Label
28567 \family default
28568  for the entry, references to it will appear with this label instead of
28569  the number of the entry.
28570  The option 
28571 \family sans
28572 Literal
28573 \family default
28574  in the bibliography items settings dialog allows to input \SpecialChar TeX
28575  code to the
28576  
28577 \family sans
28578 Label
28579 \family default
28580  field.
28581 \end_layout
28582
28583 \begin_layout Standard
28584 You can cross-reference a bibliography entry using the menu 
28585 \family sans
28586 Insert\SpecialChar menuseparator
28587 Citation
28588 \family default
28589  or the toolbar button 
28590 \begin_inset Info
28591 type  "icon"
28592 arg   "dialog-show-new-inset citation"
28593 \end_inset
28594
28595 .
28596  A citation reference box is inserted and a citation window will appear
28597  containing the available citations.
28598  Select one or more keys from the list and 
28599 \family sans
28600 Add
28601 \family default
28602  them.
28603  Then press 
28604 \family sans
28605 OK
28606 \family default
28607 .
28608  The citation reference box will be labeled with the referenced key(s).
28609  If you click on the box, the citation window will appear and you can change
28610  the reference.
28611 \end_layout
28612
28613 \begin_layout Standard
28614 Citation references appear in the output as the number or the label of the
28615  bibliography entry with surrounding brackets.
28616  Here are two examples; the first without a label, the second with the label
28617  
28618 \begin_inset Quotes eld
28619 \end_inset
28620
28621 Credits
28622 \begin_inset Quotes erd
28623 \end_inset
28624
28625 :
28626 \end_layout
28627
28628 \begin_layout Standard
28629 Have a look at the 
28630 \family sans
28631 \SpecialChar LaTeX
28632  Companion Second Edition
28633 \family default
28634
28635 \begin_inset CommandInset citation
28636 LatexCommand cite
28637 key "latexcompanion"
28638 literal "true"
28639
28640 \end_inset
28641
28642
28643 \end_layout
28644
28645 \begin_layout Standard
28646 The \SpecialChar LyX
28647 -Team members are listed in the Credits: 
28648 \begin_inset CommandInset citation
28649 LatexCommand cite
28650 key "lyxcredit"
28651 literal "true"
28652
28653 \end_inset
28654
28655
28656 \end_layout
28657
28658 \begin_layout Standard
28659 You can also produce author-year or author-number citations, using the \SpecialChar LaTeX
28660
28661  package 
28662 \series bold
28663 natbib
28664 \series default
28665
28666 \begin_inset Index idx
28667 status collapsed
28668
28669 \begin_layout Plain Layout
28670 \SpecialChar LaTeX
28671  packages ! natbib
28672 \end_layout
28673
28674 \end_inset
28675
28676 .
28677  In order to do so, the label needs to be given the form 
28678 \begin_inset Quotes eld
28679 \end_inset
28680
28681 Author(Year)
28682 \begin_inset Quotes erd
28683 \end_inset
28684
28685  or 
28686 \begin_inset Quotes eld
28687 \end_inset
28688
28689 Author A and Author B(Year)
28690 \begin_inset Quotes erd
28691 \end_inset
28692
28693  
28694 \emph on
28695 without
28696 \emph default
28697  a blank between the author(s) and the opening parenthesis that delimits
28698  the year.
28699  Then, if you select 
28700 \family sans
28701 Natbib
28702 \begin_inset space ~
28703 \end_inset
28704
28705 (BibTeX)
28706 \family default
28707  in the document settings
28708 \begin_inset Index idx
28709 status collapsed
28710
28711 \begin_layout Plain Layout
28712 Document ! Settings
28713 \end_layout
28714
28715 \end_inset
28716
28717  dialog under 
28718 \family sans
28719 Bibliography\SpecialChar menuseparator
28720 Style
28721 \begin_inset space ~
28722 \end_inset
28723
28724 format
28725 \family default
28726  (see 
28727 \begin_inset CommandInset ref
28728 LatexCommand ref
28729 reference "subsec:Citation-Format"
28730 plural "false"
28731 caps "false"
28732 noprefix "false"
28733
28734 \end_inset
28735
28736 ), you can select between different author-year or author-number styles.
28737 \end_layout
28738
28739 \begin_layout Standard
28740 To align all entries in the bibliography environment you can set a longest
28741  label via the menu 
28742 \family sans
28743 Edit\SpecialChar menuseparator
28744 Paragraph
28745 \begin_inset space ~
28746 \end_inset
28747
28748 Settings
28749 \family default
28750  (toolbar button 
28751 \begin_inset Info
28752 type  "icon"
28753 arg   "layout-paragraph"
28754 \end_inset
28755
28756 ).
28757  All entries are then indented in the output by the width of the given label.
28758 \end_layout
28759
28760 \begin_layout Subsection
28761 Bibliography databases
28762 \begin_inset Index idx
28763 status collapsed
28764
28765 \begin_layout Plain Layout
28766 Bibliography ! Databases
28767 \end_layout
28768
28769 \end_inset
28770
28771
28772 \begin_inset CommandInset label
28773 LatexCommand label
28774 name "subsec:Bibliography-databases"
28775
28776 \end_inset
28777
28778
28779 \end_layout
28780
28781 \begin_layout Standard
28782 Bibliography databases are useful if you use the same references in different
28783  documents.
28784 \begin_inset Foot
28785 status collapsed
28786
28787 \begin_layout Plain Layout
28788 They are also useful for keeping a database of articles and notes concerning
28789  them.
28790  Most of the database programs mentioned below allow you to store annotations
28791  and reviews along with bibliographical information.
28792 \end_layout
28793
28794 \end_inset
28795
28796  It also makes it very easy to have a uniform layout for all bibliography
28797  entries.
28798  You can collect the bibliography of all relevant books and articles of
28799  your working field in a database.
28800  This database can be used for different documents, and by default only
28801  the entries cited in a particular document will appear in the bibliography
28802  list for that document.
28803  This relieves you of the need to keep track of which articles and books
28804  you have cited.
28805 \end_layout
28806
28807 \begin_layout Standard
28808 The database is a text file with the file extension 
28809 \begin_inset Quotes eld
28810 \end_inset
28811
28812
28813 \family sans
28814 .bib
28815 \family default
28816
28817 \begin_inset Quotes erd
28818 \end_inset
28819
28820 , containing the bibliography in a special format.
28821  The format is explained in 
28822 \begin_inset CommandInset citation
28823 LatexCommand cite
28824 key "BibTeX-2"
28825 literal "true"
28826
28827 \end_inset
28828
28829  and in the \SpecialChar LaTeX
28830  books (
28831 \begin_inset CommandInset citation
28832 LatexCommand cite
28833 key "Mittelbach,Kopka,Lamport"
28834 literal "true"
28835
28836 \end_inset
28837
28838 ).
28839  The file can be created using any text editor, but normally one uses a
28840  special program to create and edit the entries in the database.
28841  A list of such programs is maintained on the \SpecialChar LyX
28842  Wiki at 
28843 \begin_inset Flex URL
28844 status collapsed
28845
28846 \begin_layout Plain Layout
28847
28848 https://wiki.lyx.org/BibTeX/Programs
28849 \end_layout
28850
28851 \end_inset
28852
28853 .
28854 \end_layout
28855
28856 \begin_layout Standard
28857 \SpecialChar LyX
28858  supports two different approaches to use bibliography databases in a document.
28859  Bib\SpecialChar TeX
28860  is the classic technique that has been the only way to use such databases
28861  for a long time.
28862  It is quite established and mature and there is a huge range of existing
28863  styles available.
28864  But it has its drawbacks, especially when it comes to more complex bibliographi
28865 c needs and support for specific languages and scripts.
28866  Those are addressed by 
28867 \series bold
28868 biblatex
28869 \series default
28870
28871 \begin_inset Index idx
28872 status collapsed
28873
28874 \begin_layout Plain Layout
28875 \SpecialChar LaTeX
28876  packages ! biblatex
28877 \end_layout
28878
28879 \end_inset
28880
28881 .
28882  It reads the same database format than Bib\SpecialChar TeX
28883  (although it has been significantly
28884  extended beyond Bib\SpecialChar TeX
28885 's scope)
28886 \begin_inset Foot
28887 status collapsed
28888
28889 \begin_layout Plain Layout
28890 Meaning: While 
28891 \noun on
28892 Biblatex
28893 \noun default
28894  can handle any classic Bib\SpecialChar TeX
28895  database, Bib\SpecialChar TeX
28896  might conversely fail to correctly
28897  handle databases that use specific 
28898 \noun on
28899 Biblatex
28900 \noun default
28901  features.
28902 \end_layout
28903
28904 \end_inset
28905
28906 , but it uses a different framework to generate citations and references
28907  from it.
28908 \end_layout
28909
28910 \begin_layout Standard
28911 To select if Bib\SpecialChar TeX
28912  or 
28913 \series bold
28914 biblatex
28915 \series default
28916  should be used, set in the document settings (menu 
28917 \family sans
28918 Document\SpecialChar menuseparator
28919 Settings
28920 \family default
28921 )
28922 \begin_inset Index idx
28923 status collapsed
28924
28925 \begin_layout Plain Layout
28926 Document ! Settings
28927 \end_layout
28928
28929 \end_inset
28930
28931  under 
28932 \family sans
28933 Bibliography
28934 \family default
28935  the 
28936 \family sans
28937 Style
28938 \begin_inset space ~
28939 \end_inset
28940
28941 format
28942 \family default
28943  to a Bib\SpecialChar TeX
28944  or a 
28945 \family sans
28946 Biblatex
28947 \family default
28948  format.
28949 \end_layout
28950
28951 \begin_layout Subsubsection
28952 Bib\SpecialChar TeX
28953
28954 \begin_inset Index idx
28955 status collapsed
28956
28957 \begin_layout Plain Layout
28958 Bibliography ! Bib\SpecialChar TeX
28959
28960 \end_layout
28961
28962 \end_inset
28963
28964
28965 \end_layout
28966
28967 \begin_layout Standard
28968 To access a database via Bib\SpecialChar TeX
28969 , use the menu 
28970 \family sans
28971 Insert\SpecialChar menuseparator
28972 List
28973 \family default
28974 /
28975 \family sans
28976 TOC\SpecialChar menuseparator
28977 Bib(la)TeX
28978 \begin_inset space ~
28979 \end_inset
28980
28981 Bibliography
28982 \family default
28983 .
28984  A window will appear in which you can add one or more databases and select
28985  a Bib\SpecialChar TeX
28986
28987 \family sans
28988  style
28989 \family default
28990  file.
28991  The option 
28992 \family sans
28993 Add bibliography to TOC
28994 \family default
28995  adds a table of contents entry for the bibliography.
28996  In the 
28997 \family sans
28998 Content
28999 \family default
29000  drop box you can select whether to include all the entries in the database
29001  in the document or just the cited references.
29002 \end_layout
29003
29004 \begin_layout Standard
29005 The Bib\SpecialChar TeX
29006  style file is a text file with the file extension 
29007 \begin_inset Quotes eld
29008 \end_inset
29009
29010
29011 \family sans
29012 .bst
29013 \family default
29014
29015 \begin_inset Quotes erd
29016 \end_inset
29017
29018  that controls how the bibliography entries will appear.
29019  Your \SpecialChar LaTeX
29020  distribution should provide several of these, and many publishers
29021  provide their own style files, so that you don't have to take care of the
29022  layout.
29023  It is of course possible to write your own style file, but this is something
29024  for experts.
29025 \begin_inset Foot
29026 status collapsed
29027
29028 \begin_layout Plain Layout
29029 For information on how this is done, have a look at
29030 \begin_inset Newline newline
29031 \end_inset
29032
29033
29034 \begin_inset CommandInset href
29035 LatexCommand href
29036 target "https://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/btxhak.pdf"
29037 literal "false"
29038
29039 \end_inset
29040
29041 .
29042 \end_layout
29043
29044 \end_inset
29045
29046  In this document we used the Bib\SpecialChar TeX
29047  style 
29048 \family sans
29049 alphadin.bst
29050 \family default
29051 , which provides an alpha-numeric style in accordance with the German Standards
29052  Institute (DIN).
29053 \end_layout
29054
29055 \begin_layout Standard
29056 Inserting a citation reference works as described in the previous section.
29057 \end_layout
29058
29059 \begin_layout Subsubsection
29060 Biblatex
29061 \begin_inset Index idx
29062 status collapsed
29063
29064 \begin_layout Plain Layout
29065 Bibliography ! Biblatex
29066 \end_layout
29067
29068 \end_inset
29069
29070
29071 \begin_inset Index idx
29072 status collapsed
29073
29074 \begin_layout Plain Layout
29075 \SpecialChar LaTeX
29076  packages ! biblatex
29077 \end_layout
29078
29079 \end_inset
29080
29081
29082 \end_layout
29083
29084 \begin_layout Standard
29085 Accessing a database via 
29086 \series bold
29087 biblatex
29088 \series default
29089  is almost identical to Bib\SpecialChar TeX
29090 : Use the menu 
29091 \family sans
29092 Insert\SpecialChar menuseparator
29093 List
29094 \family default
29095 /
29096 \family sans
29097 TOC\SpecialChar menuseparator
29098 Bib(la)TeX
29099 \begin_inset space ~
29100 \end_inset
29101
29102 Bibliography
29103 \family default
29104 .
29105  In contrary to Bib\SpecialChar TeX
29106  you cannot select a 
29107 \family sans
29108 style
29109 \family default
29110  file.
29111  The other dialog options are the same as with Bib\SpecialChar TeX
29112 .
29113 \end_layout
29114
29115 \begin_layout Standard
29116
29117 \series bold
29118 biblatex
29119 \series default
29120  has two different style files: a bibliography style file (text file with
29121  the file extension 
29122 \begin_inset Quotes eld
29123 \end_inset
29124
29125
29126 \family sans
29127 .bbx
29128 \family default
29129
29130 \begin_inset Quotes erd
29131 \end_inset
29132
29133 ) controls how the bibliography entries will look like and a citation style
29134  file (text file with the file extension 
29135 \begin_inset Quotes eld
29136 \end_inset
29137
29138
29139 \family sans
29140 .cbx
29141 \family default
29142
29143 \begin_inset Quotes erd
29144 \end_inset
29145
29146 ) controls the look of the citation references in the text.
29147  Usually such style files come in pairs and it makes sense to use matching
29148  styles.
29149  It is nevertheless possible to mix any citation style with any bibliography
29150  style.
29151 \end_layout
29152
29153 \begin_layout Standard
29154
29155 \series bold
29156 biblatex
29157 \series default
29158  styles are not set in the 
29159 \family sans
29160 Bib(la)TeX
29161 \begin_inset space ~
29162 \end_inset
29163
29164 Bibliography
29165 \family default
29166  dialog, but in the document settings.
29167 \begin_inset Index idx
29168 status collapsed
29169
29170 \begin_layout Plain Layout
29171 Document ! Settings
29172 \end_layout
29173
29174 \end_inset
29175
29176  However, in the dialog in the 
29177 \family sans
29178 Options
29179 \family default
29180  field, which is only visible if you use 
29181 \series bold
29182 biblatex
29183 \series default
29184 , you can enter options that determine how the bibliography is printed (for
29185  example how its heading will appear).
29186  These options are deescribed in detail in the 
29187 \series bold
29188 biblatex
29189 \series default
29190  manual, 
29191 \begin_inset CommandInset citation
29192 LatexCommand cite
29193 key "Biblatex"
29194 literal "true"
29195
29196 \end_inset
29197
29198 .
29199 \end_layout
29200
29201 \begin_layout Standard
29202 Inserting a citation reference works as described in section
29203 \begin_inset space ~
29204 \end_inset
29205
29206
29207 \begin_inset CommandInset ref
29208 LatexCommand ref
29209 reference "subsec:The-Bibliography-Environment"
29210 plural "false"
29211 caps "false"
29212 noprefix "false"
29213
29214 \end_inset
29215
29216 .
29217 \end_layout
29218
29219 \begin_layout Subsubsection
29220 Bibliography Processors
29221 \end_layout
29222
29223 \begin_layout Standard
29224 To generate the bibliography from a database, \SpecialChar LyX
29225  uses a bibliography processor,
29226  that is an external program that reads the database, sorts the citations
29227  and processes the data in a way it can be included in the document.
29228  The classic program is called Bib\SpecialChar TeX
29229 .
29230  It has the advantage that it is very mature and widespread, but the disadvantag
29231 e that it has severe limitations, due to its age.
29232 \end_layout
29233
29234 \begin_layout Standard
29235 Meanwhile, some alternatives have been developed that address some of these
29236  limitations.
29237  LyX natively supports some of them and lets you select a custom processor.
29238  You can do this on a general level in 
29239 \family sans
29240 Tools\SpecialChar menuseparator
29241 Preferences\SpecialChar menuseparator
29242 Output\SpecialChar menuseparator
29243 LaTeX
29244 \family default
29245  or for individual documents in 
29246 \family sans
29247 Document\SpecialChar menuseparator
29248 Settings\SpecialChar menuseparator
29249 Bibliography
29250 \family default
29251 .
29252  The following variants are available by default:
29253 \end_layout
29254
29255 \begin_layout Description
29256 biber a specific, modern processor
29257 \begin_inset Index idx
29258 status collapsed
29259
29260 \begin_layout Plain Layout
29261 \SpecialChar LaTeX
29262  packages ! biber
29263 \end_layout
29264
29265 \end_inset
29266
29267  developed exclusively for 
29268 \series bold
29269 biblatex
29270 \series default
29271  (it does not work with Bib\SpecialChar TeX
29272 !).
29273  
29274 \series bold
29275 biber
29276 \series default
29277  provides full Unicode support, unlimited memory and many specific features
29278  
29279 \series bold
29280 biblatex
29281 \series default
29282  makes use of; if you use the 
29283 \series bold
29284 biblatex
29285 \series default
29286  approach, it is strongly recommended to use 
29287 \series bold
29288 biber
29289 \series default
29290 .
29291 \end_layout
29292
29293 \begin_layout Description
29294 bibtex the standard; does not allow special characters in bibliography entries
29295  that are not possible to encode in a 7-bit encoding, limited memory, works
29296  with all bibliography packages, although it will probably fail with 
29297 \series bold
29298 biblatex
29299 \series default
29300  bibliographies due to the limited memory.
29301 \end_layout
29302
29303 \begin_layout Description
29304 bibtex8 allows all characters that are possible to encode in an 8-bit encoding
29305  (but no Unicode support), larger memory than 
29306 \family sans
29307 bibtex
29308 \family default
29309 , works with all bibliography packages, although more complex 
29310 \series bold
29311 biblatex
29312 \series default
29313  bibliographies will exceed its limits, and not all 
29314 \series bold
29315 biblatex
29316 \series default
29317  features are supported.
29318 \end_layout
29319
29320 \begin_layout Standard
29321 By default (with the 
29322 \family sans
29323 Processor
29324 \family default
29325  set in 
29326 \family sans
29327 Document\SpecialChar menuseparator
29328 Settings\SpecialChar menuseparator
29329 Bibliography
29330 \family default
29331  and with 
29332 \family sans
29333 Automatic
29334 \family default
29335  as setting for the 
29336 \family sans
29337 Processor
29338 \family default
29339  in 
29340 \family sans
29341 Tools\SpecialChar menuseparator
29342 Preferences\SpecialChar menuseparator
29343 Output\SpecialChar menuseparator
29344 LaTeX
29345 \family default
29346 ), \SpecialChar LyX
29347  selects an appropriate (available) processor for the current bibliography
29348  approach (
29349 \series bold
29350 biber
29351 \series default
29352  for 
29353 \series bold
29354 biblatex
29355 \series default
29356
29357 \family sans
29358 bibtex
29359 \family default
29360  for Bib\SpecialChar TeX
29361 -based bibliography styles).
29362  This should suit most needs.
29363 \end_layout
29364
29365 \begin_layout Standard
29366 In Japanese documents, a specific processor is used.
29367  By default this is pBib\SpecialChar TeX
29368  (in \SpecialChar LyX
29369  
29370 \family sans
29371 pbibtex
29372 \family default
29373 ), a Bib\SpecialChar TeX
29374  variant specifically aimed at Japanese.
29375  You can adjust it in 
29376 \family sans
29377 Tools\SpecialChar menuseparator
29378 Preferences\SpecialChar menuseparator
29379 Output\SpecialChar menuseparator
29380 LaTeX
29381 \family default
29382 .
29383 \end_layout
29384
29385 \begin_layout Standard
29386 Selected bibliography processors can be controlled with options that you
29387  can add below the selection.
29388  Before adding options, it is strongly recommended that you read the manual
29389  of Bib\SpecialChar TeX
29390  or 
29391 \series bold
29392 biber
29393 \series default
29394
29395 \begin_inset CommandInset citation
29396 LatexCommand cite
29397 key "BibTeX,biber"
29398 literal "true"
29399
29400 \end_inset
29401
29402 .
29403 \end_layout
29404
29405 \begin_layout Subsubsection
29406 Customizing
29407 \end_layout
29408
29409 \begin_layout Standard
29410 \SpecialChar LyX
29411  supports some specific tasks such as sectioned bibliographies and multiple
29412  bibliographies.
29413  These are explained in detail in section 
29414 \emph on
29415 Customizing Bibliographies
29416 \emph default
29417  
29418 \emph on
29419 with Bib\SpecialChar TeX
29420  or Biblatex
29421 \emph default
29422  of the 
29423 \emph on
29424 Additional Features
29425 \emph default
29426  manual.
29427 \end_layout
29428
29429 \begin_layout Subsection
29430 Citation Format
29431 \begin_inset Index idx
29432 status collapsed
29433
29434 \begin_layout Plain Layout
29435 Bibliography ! Citation format
29436 \end_layout
29437
29438 \end_inset
29439
29440
29441 \begin_inset CommandInset label
29442 LatexCommand label
29443 name "subsec:Citation-Format"
29444
29445 \end_inset
29446
29447
29448 \end_layout
29449
29450 \begin_layout Standard
29451 Many different citation formats are common, e.
29452 \begin_inset space \thinspace{}
29453 \end_inset
29454
29455 g.
29456 \begin_inset space \space{}
29457 \end_inset
29458
29459 numerical citation (as 
29460 \begin_inset Quotes eld
29461 \end_inset
29462
29463 1
29464 \begin_inset Quotes erd
29465 \end_inset
29466
29467  like in this document), alpha-numerical citations (as 
29468 \begin_inset Quotes eld
29469 \end_inset
29470
29471 Mil08
29472 \begin_inset Quotes erd
29473 \end_inset
29474
29475 ) or author-year citations (as 
29476 \begin_inset Quotes eld
29477 \end_inset
29478
29479 Miller (2008a)
29480 \begin_inset Quotes erd
29481 \end_inset
29482
29483 ).
29484  \SpecialChar LyX
29485  supports these formats via specific citation packages and their style
29486  files.
29487 \end_layout
29488
29489 \begin_layout Standard
29490 By default a simple numeric citation style is used.
29491  In 
29492 \family sans
29493 Document\SpecialChar menuseparator
29494 Settings\SpecialChar menuseparator
29495 Bibliography
29496 \family default
29497
29498 \begin_inset Index idx
29499 status collapsed
29500
29501 \begin_layout Plain Layout
29502 Document ! Settings
29503 \end_layout
29504
29505 \end_inset
29506
29507  you have a range of other options, depending on your preferred bibliography
29508  approach.
29509  With the 
29510 \family sans
29511 Bibliography
29512 \family default
29513  environment your only choice besides manual formatting of the bibliography
29514  labels, is there to use 
29515 \family sans
29516 Natbib
29517 \begin_inset space ~
29518 \end_inset
29519
29520 (BibTeX)
29521 \family default
29522 \series bold
29523  
29524 \series default
29525 as 
29526 \family sans
29527 Style
29528 \begin_inset space ~
29529 \end_inset
29530
29531 format
29532 \family default
29533  which gives you author-year and author-numerical citations (see above 
29534 \begin_inset CommandInset ref
29535 LatexCommand ref
29536 reference "subsec:The-Bibliography-Environment"
29537
29538 \end_inset
29539
29540  for details).
29541 \end_layout
29542
29543 \begin_layout Standard
29544 With a bibliography database (see 
29545 \begin_inset CommandInset ref
29546 LatexCommand ref
29547 reference "subsec:Bibliography-databases"
29548 plural "false"
29549 caps "false"
29550 noprefix "false"
29551
29552 \end_inset
29553
29554 ) one has in contrary to the 
29555 \family sans
29556 Bibliography
29557 \family default
29558  environment full access to the formatting styles.
29559  These style formats are available:
29560 \end_layout
29561
29562 \begin_layout Description
29563 Basic
29564 \begin_inset space ~
29565 \end_inset
29566
29567 (BibTeX) the default Bib\SpecialChar TeX
29568 -based approached without any additional packages
29569  (simple numeric citations).
29570 \end_layout
29571
29572 \begin_layout Description
29573 Biblatex loads the package 
29574 \series bold
29575 biblatex
29576 \series default
29577
29578 \begin_inset Index idx
29579 status collapsed
29580
29581 \begin_layout Plain Layout
29582 \SpecialChar LaTeX
29583  packages ! biblatex
29584 \end_layout
29585
29586 \end_inset
29587
29588  and lets you select a style in the dropdown boxes 
29589 \family sans
29590 Biblatex citation style
29591 \family default
29592  and 
29593 \family sans
29594 Biblatex bibliography style
29595 \family default
29596  below.
29597  Options to the package 
29598 \series bold
29599 biblatex
29600 \series default
29601  can be entered in the 
29602 \family sans
29603 Options
29604 \family default
29605  field.
29606 \end_layout
29607
29608 \begin_layout Description
29609 Biblatex
29610 \begin_inset space ~
29611 \end_inset
29612
29613 (natbib
29614 \begin_inset space ~
29615 \end_inset
29616
29617 mode) loads the package 
29618 \series bold
29619 biblatex
29620 \series default
29621  with the natbib compatibility mode.
29622  This is a specific variant for users who switch an existing document that
29623  uses 
29624 \series bold
29625 natbib
29626 \series default
29627  or want to emulate 
29628 \family sans
29629 the 
29630 \family default
29631 \series bold
29632 natbib
29633 \series default
29634  behavior very closely.
29635  Compared to normal 
29636 \family sans
29637 Biblatex
29638 \family default
29639  this option has some additional styles.
29640  All 
29641 \series bold
29642 biblatex
29643 \series default
29644  styles are also supported by this variant.
29645 \end_layout
29646
29647 \begin_layout Description
29648 Jurabib
29649 \begin_inset space ~
29650 \end_inset
29651
29652 (BibTeX) loads the package 
29653 \series bold
29654 jurabib
29655 \series default
29656
29657 \begin_inset Index idx
29658 status collapsed
29659
29660 \begin_layout Plain Layout
29661 \SpecialChar LaTeX
29662  packages ! jurabib
29663 \end_layout
29664
29665 \end_inset
29666
29667  which provides author-year styles particularly suited for law studies.
29668 \end_layout
29669
29670 \begin_layout Description
29671 Natbib
29672 \begin_inset space ~
29673 \end_inset
29674
29675 (BibTeX) loads the package 
29676 \series bold
29677 natbib
29678 \series default
29679
29680 \begin_inset Index idx
29681 status collapsed
29682
29683 \begin_layout Plain Layout
29684 \SpecialChar LaTeX
29685  packages ! natbib
29686 \end_layout
29687
29688 \end_inset
29689
29690  which provides citation styles particularly suited for the humanities.
29691 \end_layout
29692
29693 \begin_layout Standard
29694 The 
29695 \family sans
29696 Biblatex
29697 \family default
29698  and 
29699 \family sans
29700 Natbib
29701 \family default
29702  style formats provide the choice between author-year and author-numerical
29703  citation styles.
29704  You have to select one style in the dropdown box 
29705 \family sans
29706 Variant
29707 \family default
29708 .
29709  Note that for the 
29710 \family sans
29711 Biblatex
29712 \family default
29713  formats, this only affects the appearance in the \SpecialChar LyX
29714  workarea.
29715  Whether the output uses numerical, author-year or another format such as
29716  alpha-numerical depends only on the selected 
29717 \family sans
29718 Biblatex citation style
29719 \family default
29720 .
29721  However, when switching between Author-year and Author-number, a suitable
29722  style is proposed.
29723  With 
29724 \family sans
29725 Natbib
29726 \family default
29727 , on the other hand, the dialog selection will ultimately determine the
29728  style.
29729 \end_layout
29730
29731 \begin_layout Standard
29732 For any author-year and author-numerical selection, multiple style variants
29733  are available in the 
29734 \family sans
29735 Citation
29736 \family default
29737  dialog.
29738  Some selections also provide further options like the option to uppercase
29739  a name prefix such as 
29740 \begin_inset Quotes eld
29741 \end_inset
29742
29743 van Beethoven
29744 \begin_inset Quotes erd
29745 \end_inset
29746
29747  (to 
29748 \begin_inset Quotes eld
29749 \end_inset
29750
29751 Van Beethoven
29752 \begin_inset Quotes erd
29753 \end_inset
29754
29755 ) or to expand or reduce the number of displayed others (i.
29756 \begin_inset space \thinspace{}
29757 \end_inset
29758
29759 e.
29760 \begin_inset space \space{}
29761 \end_inset
29762
29763 use or don't use 
29764 \begin_inset Quotes eld
29765 \end_inset
29766
29767 et al.
29768 \begin_inset Quotes erd
29769 \end_inset
29770
29771 ).
29772  
29773 \end_layout
29774
29775 \begin_layout Standard
29776 In the citation dialog you can also set text to appear after a citation
29777  reference, e.
29778 \begin_inset space \thinspace{}
29779 \end_inset
29780
29781 g.
29782 \begin_inset space \space{}
29783 \end_inset
29784
29785 page numbers, which will then be formatted according to the style's needs
29786  (e.
29787 \begin_inset space \thinspace{}
29788 \end_inset
29789
29790 g.
29791 \begin_inset space \space{}
29792 \end_inset
29793
29794 with or without 
29795 \begin_inset Quotes eld
29796 \end_inset
29797
29798 pp.
29799 \begin_inset Quotes erd
29800 \end_inset
29801
29802 ).
29803  The option 
29804 \family sans
29805 Literal
29806 \family default
29807  in the citation dialog allows to input \SpecialChar TeX
29808  code to the fields 
29809 \family sans
29810 Text
29811 \begin_inset space ~
29812 \end_inset
29813
29814 before
29815 \family default
29816  and 
29817 \family sans
29818 Text
29819 \begin_inset space ~
29820 \end_inset
29821
29822 after
29823 \family default
29824 .
29825  Here is a simple example where the text 
29826 \begin_inset Quotes eld
29827 \end_inset
29828
29829 Chapter
29830 \begin_inset space ~
29831 \end_inset
29832
29833 3
29834 \begin_inset Quotes erd
29835 \end_inset
29836
29837  appears after the reference:
29838 \end_layout
29839
29840 \begin_layout Quote
29841 Have a look at 
29842 \begin_inset CommandInset citation
29843 LatexCommand cite
29844 after "Chapter 3"
29845 key "latexcompanion"
29846 literal "false"
29847
29848 \end_inset
29849
29850 .
29851 \end_layout
29852
29853 \begin_layout Standard
29854 All styles except for 
29855 \family sans
29856 Basic (BibTeX)
29857 \family default
29858  also provide the feature to add text that precedes the reference (such
29859  as 
29860 \begin_inset Quotes eld
29861 \end_inset
29862
29863 cf.
29864 \begin_inset Quotes erd
29865 \end_inset
29866
29867 ).
29868  This text is then also included in the parentheses, if the style requires
29869  this.
29870 \end_layout
29871
29872 \begin_layout Standard
29873 Note that these pre- and postnotes apply to the whole citation.
29874  So if you refer to multiple references at once, the prenote will precede
29875  the first citation in the list, the postnote will follow the last.
29876  Some 
29877 \family sans
29878 Biblatex
29879 \family default
29880  styles allow to add pre- and postnotes to any individual reference in a
29881  multi-citation (so-called 
29882 \begin_inset Quotes eld
29883 \end_inset
29884
29885 qualified citation lists
29886 \begin_inset Quotes erd
29887 \end_inset
29888
29889 ).
29890  \SpecialChar LyX
29891  supports this.
29892  If you use such a style and if the current reference includes multiple
29893  items the 
29894 \family sans
29895 Citation
29896 \family default
29897  dialog will display three columns in the field 
29898 \family sans
29899 Selected Citations
29900 \family default
29901
29902 \family sans
29903 Text
29904 \begin_inset space ~
29905 \end_inset
29906
29907 before
29908 \family default
29909
29910 \family sans
29911 Cite
29912 \begin_inset space ~
29913 \end_inset
29914
29915 key
29916 \family default
29917  and 
29918 \family sans
29919 Text
29920 \begin_inset space ~
29921 \end_inset
29922
29923 after
29924 \family default
29925 .
29926  If you double-click on an item's 
29927 \family sans
29928 Text
29929 \begin_inset space ~
29930 \end_inset
29931
29932 before
29933 \family default
29934  or 
29935 \family sans
29936 Text
29937 \begin_inset space ~
29938 \end_inset
29939
29940 after
29941 \family default
29942  field, you can add such individual pre- and postnotes.
29943  In the 
29944 \family sans
29945 General text before
29946 \family default
29947  and 
29948 \family sans
29949 General text after
29950 \family default
29951  fields you can add pre- and postnotes that apply to the whole list.
29952 \end_layout
29953
29954 \begin_layout Section
29955 Index
29956 \begin_inset Index idx
29957 status collapsed
29958
29959 \begin_layout Plain Layout
29960 Index generation
29961 \end_layout
29962
29963 \end_inset
29964
29965
29966 \begin_inset CommandInset label
29967 LatexCommand label
29968 name "sec:Index"
29969
29970 \end_inset
29971
29972
29973 \end_layout
29974
29975 \begin_layout Standard
29976 An index entry is created if you use the menu 
29977 \family sans
29978 Insert\SpecialChar menuseparator
29979 Index
29980 \begin_inset space ~
29981 \end_inset
29982
29983 Entry
29984 \family default
29985  or the toolbar button 
29986 \begin_inset Info
29987 type  "icon"
29988 arg   "index-insert"
29989 \end_inset
29990
29991 .
29992  A box is inserted containing the text that appears in the index.
29993  The word where the cursor is in or the currently highlighted text is proposed
29994  by \SpecialChar LyX
29995  as the index entry.
29996 \end_layout
29997
29998 \begin_layout Standard
29999 The index list is inserted in the document with the menu 
30000 \family sans
30001 Insert\SpecialChar menuseparator
30002 List/TOC\SpecialChar menuseparator
30003 Index
30004 \begin_inset space ~
30005 \end_inset
30006
30007 List
30008 \family default
30009 .
30010  A light blue box labeled 
30011 \begin_inset Quotes eld
30012 \end_inset
30013
30014
30015 \family sans
30016 Index
30017 \family default
30018
30019 \begin_inset Quotes erd
30020 \end_inset
30021
30022  will show the place where the index is printed in the output.
30023  The index list box is not clickable like other \SpecialChar LyX
30024 -boxes.
30025 \end_layout
30026
30027 \begin_layout Standard
30028 We give a short overview of the index commands in the next subsections.
30029  For a detailed description of \SpecialChar LaTeX
30030 's index mechanism, have a look at one of
30031  the \SpecialChar LaTeX
30032  books 
30033 \begin_inset CommandInset citation
30034 LatexCommand cite
30035 key "latexcompanion,latexguide,latexbook"
30036 literal "true"
30037
30038 \end_inset
30039
30040 .
30041 \end_layout
30042
30043 \begin_layout Subsection
30044 Grouping Index Entries
30045 \begin_inset Index idx
30046 status collapsed
30047
30048 \begin_layout Plain Layout
30049 Index ! Grouping
30050 \end_layout
30051
30052 \end_inset
30053
30054
30055 \end_layout
30056
30057 \begin_layout Standard
30058 Index entries are often grouped to offer the reader a fast search in the
30059  index.
30060  We want to group for example the index entries for itemized and enumerated
30061  lists under the entry 
30062 \begin_inset Quotes eld
30063 \end_inset
30064
30065 Lists
30066 \begin_inset Quotes erd
30067 \end_inset
30068
30069 .
30070  First we create the entry 
30071 \begin_inset Quotes eld
30072 \end_inset
30073
30074 Lists
30075 \begin_inset Quotes erd
30076 \end_inset
30077
30078  in section
30079 \begin_inset space ~
30080 \end_inset
30081
30082
30083 \begin_inset CommandInset ref
30084 LatexCommand ref
30085 reference "subsec:Lists"
30086
30087 \end_inset
30088
30089 .
30090  In the text field for the itemized list index entry in section
30091 \begin_inset space ~
30092 \end_inset
30093
30094
30095 \begin_inset CommandInset ref
30096 LatexCommand ref
30097 reference "sec:Itemize"
30098
30099 \end_inset
30100
30101 , we insert the command
30102 \end_layout
30103
30104 \begin_layout Standard
30105
30106 \series bold
30107 Lists ! Itemize
30108 \end_layout
30109
30110 \begin_layout Standard
30111 and the command
30112 \end_layout
30113
30114 \begin_layout Standard
30115
30116 \series bold
30117 Lists ! Enumerate
30118 \end_layout
30119
30120 \begin_layout Standard
30121 for the enumerated list in section
30122 \begin_inset space ~
30123 \end_inset
30124
30125
30126 \begin_inset CommandInset ref
30127 LatexCommand ref
30128 reference "sec:Enumerate"
30129
30130 \end_inset
30131
30132 .
30133 \end_layout
30134
30135 \begin_layout Standard
30136 The exclamation mark 
30137 \begin_inset Quotes eld
30138 \end_inset
30139
30140 !
30141 \begin_inset Quotes erd
30142 \end_inset
30143
30144  marks the grouping levels.
30145  You can have three levels; every index level is indented a bit more.
30146  An index entry for the higher levels is not required.
30147  If we don't have an index entry for 
30148 \begin_inset Quotes eld
30149 \end_inset
30150
30151 Lists
30152 \begin_inset Quotes erd
30153 \end_inset
30154
30155 , it will be printed anyway, but without a page number.
30156 \end_layout
30157
30158 \begin_layout Subsection
30159 Page Ranges
30160 \begin_inset Index idx
30161 status collapsed
30162
30163 \begin_layout Plain Layout
30164 Index ! Page ranges
30165 \end_layout
30166
30167 \end_inset
30168
30169
30170 \end_layout
30171
30172 \begin_layout Standard
30173 Normally an index entry will appear with the page number of the indexed
30174  section.
30175  But sometimes you want to index more pages under the same entry.
30176  For example, if we want to index the paragraph environments, we create
30177  an index entry in section
30178 \begin_inset space ~
30179 \end_inset
30180
30181
30182 \begin_inset CommandInset ref
30183 LatexCommand ref
30184 reference "sec:Paragraph-Environments"
30185
30186 \end_inset
30187
30188  with the command
30189 \end_layout
30190
30191 \begin_layout Standard
30192
30193 \series bold
30194 Paragraph environments|(
30195 \end_layout
30196
30197 \begin_layout Standard
30198 and another entry at the end of section
30199 \begin_inset space ~
30200 \end_inset
30201
30202
30203 \begin_inset CommandInset ref
30204 LatexCommand ref
30205 reference "subsec:LyX-Code"
30206
30207 \end_inset
30208
30209  with the command
30210 \end_layout
30211
30212 \begin_layout Standard
30213
30214 \series bold
30215 Paragraph environments|)
30216 \end_layout
30217
30218 \begin_layout Standard
30219 The commands 
30220 \begin_inset Quotes eld
30221 \end_inset
30222
30223
30224 \series bold
30225 |(
30226 \series default
30227
30228 \begin_inset Quotes erd
30229 \end_inset
30230
30231  and 
30232 \begin_inset Quotes eld
30233 \end_inset
30234
30235
30236 \series bold
30237 |)
30238 \series default
30239
30240 \begin_inset Quotes erd
30241 \end_inset
30242
30243  respectively start and end the index range.
30244  You can also add the same index entry at different places in the document.
30245  They appear in the output under one entry with a comma separated list of
30246  the pages of the indexed document parts.
30247  An example is the index entry 
30248 \begin_inset Quotes eld
30249 \end_inset
30250
30251 Document ! Settings
30252 \begin_inset Quotes erd
30253 \end_inset
30254
30255 .
30256 \end_layout
30257
30258 \begin_layout Subsection
30259 Cross referencing
30260 \begin_inset Index idx
30261 status collapsed
30262
30263 \begin_layout Plain Layout
30264 Index ! Cross referencing
30265 \end_layout
30266
30267 \end_inset
30268
30269
30270 \end_layout
30271
30272 \begin_layout Standard
30273 It is also possible to refer to another index entry.
30274  We referred for example in the index entry 
30275 \begin_inset Quotes eld
30276 \end_inset
30277
30278 GIF
30279 \begin_inset Quotes erd
30280 \end_inset
30281
30282  (in section
30283 \begin_inset space ~
30284 \end_inset
30285
30286
30287 \begin_inset CommandInset ref
30288 LatexCommand ref
30289 reference "subsec:Image-Formats"
30290
30291 \end_inset
30292
30293 ) to the index entry 
30294 \begin_inset Quotes eld
30295 \end_inset
30296
30297 Image formats
30298 \begin_inset Quotes erd
30299 \end_inset
30300
30301  in the same section using the entry
30302 \end_layout
30303
30304 \begin_layout Standard
30305
30306 \series bold
30307 GIF|see{Image formats}
30308 \end_layout
30309
30310 \begin_layout Standard
30311 where the braces have to be inserted as \SpecialChar TeX
30312  Code.
30313  The text within the braces is the referenced entry.
30314  The reference will appear in the output without a page number.
30315 \end_layout
30316
30317 \begin_layout Subsection
30318 Index Entry Order
30319 \begin_inset Index idx
30320 status collapsed
30321
30322 \begin_layout Plain Layout
30323 Index ! Entry order
30324 \end_layout
30325
30326 \end_inset
30327
30328
30329 \end_layout
30330
30331 \begin_layout Standard
30332 If you use accented characters in the index entry the entries might not
30333  follow the rules for the index order.
30334  The index entries are sorted alphabetically but \SpecialChar LaTeX
30335
30336 \begin_inset Foot
30337 status collapsed
30338
30339 \begin_layout Plain Layout
30340 The index generating is done in the background by an extra program, see
30341  section
30342 \begin_inset space ~
30343 \end_inset
30344
30345
30346 \begin_inset CommandInset ref
30347 LatexCommand ref
30348 reference "subsec:Index-Program"
30349
30350 \end_inset
30351
30352 .
30353 \end_layout
30354
30355 \end_inset
30356
30357  does not know how to sort accents in different languages.
30358  We have created as an example the three dummy index entries 
30359 \begin_inset Quotes eld
30360 \end_inset
30361
30362 maison
30363 \begin_inset Quotes erd
30364 \end_inset
30365
30366
30367 \begin_inset Quotes eld
30368 \end_inset
30369
30370 maïs
30371 \begin_inset Quotes erd
30372 \end_inset
30373
30374 , and 
30375 \begin_inset Quotes eld
30376 \end_inset
30377
30378 maître
30379 \begin_inset Quotes erd
30380 \end_inset
30381
30382 .
30383 \begin_inset Index idx
30384 status collapsed
30385
30386 \begin_layout Plain Layout
30387 Dummy entries ! maïs
30388 \end_layout
30389
30390 \end_inset
30391
30392
30393 \begin_inset Index idx
30394 status collapsed
30395
30396 \begin_layout Plain Layout
30397 Dummy entries ! maître
30398 \end_layout
30399
30400 \end_inset
30401
30402
30403 \begin_inset Index idx
30404 status collapsed
30405
30406 \begin_layout Plain Layout
30407 Dummy entries ! maïs@maison
30408 \end_layout
30409
30410 \end_inset
30411
30412  They will be sorted in the order maïs, maître, maison but we want the order
30413  maïs, maison, maître.
30414  To achieve this, we use the command
30415 \end_layout
30416
30417 \begin_layout Standard
30418
30419 \series bold
30420 previous entry@current entry
30421 \end_layout
30422
30423 \begin_layout Standard
30424 In our case we want to have 
30425 \begin_inset Quotes eld
30426 \end_inset
30427
30428 maison
30429 \begin_inset Quotes erd
30430 \end_inset
30431
30432  after 
30433 \begin_inset Quotes eld
30434 \end_inset
30435
30436 maïs
30437 \begin_inset Quotes erd
30438 \end_inset
30439
30440  and write therefore for the index entry of maison:
30441 \end_layout
30442
30443 \begin_layout Standard
30444
30445 \series bold
30446 maïs@maison
30447 \end_layout
30448
30449 \begin_layout Standard
30450 The previous entry need not be a real existing entry.
30451  You can also use another word to tell \SpecialChar LaTeX
30452  the entry order.
30453  See the next subsection for an example.
30454 \end_layout
30455
30456 \begin_layout Subsection
30457 Index Entry Layout
30458 \begin_inset Index idx
30459 status collapsed
30460
30461 \begin_layout Plain Layout
30462 Index ! Entry layout
30463 \end_layout
30464
30465 \end_inset
30466
30467
30468 \end_layout
30469
30470 \begin_layout Standard
30471 You can change the appearance of index entries via the text style dialog.
30472 \begin_inset Index idx
30473 status open
30474
30475 \begin_layout Plain Layout
30476 Dummy entries ! 
30477 \shape italic
30478 This is an italic dummy entry
30479 \end_layout
30480
30481 \end_inset
30482
30483  You can also format the page number using the character 
30484 \begin_inset Quotes eld
30485 \end_inset
30486
30487 |
30488 \begin_inset Quotes erd
30489 \end_inset
30490
30491  followed by a \SpecialChar LaTeX
30492 -command without a backslash.
30493  We can write for example
30494 \end_layout
30495
30496 \begin_layout Standard
30497
30498 \series bold
30499 italic page number:|textit
30500 \end_layout
30501
30502 \begin_layout Standard
30503 to get the page number in italic.
30504 \begin_inset Index idx
30505 status open
30506
30507 \begin_layout Plain Layout
30508 Dummy entries ! italic page number:|textit
30509 \end_layout
30510
30511 \end_inset
30512
30513  Normally all \SpecialChar LaTeX
30514 -commands begin with a backslash, but in this special case
30515  
30516 \begin_inset Quotes eld
30517 \end_inset
30518
30519
30520 \series bold
30521 |command
30522 \series default
30523
30524 \begin_inset Quotes erd
30525 \end_inset
30526
30527  means 
30528 \series bold
30529
30530 \backslash
30531 command{page
30532 \begin_inset space ~
30533 \end_inset
30534
30535 number}
30536 \series default
30537 .
30538  Have a look at section
30539 \begin_inset space ~
30540 \end_inset
30541
30542
30543 \begin_inset CommandInset ref
30544 LatexCommand ref
30545 reference "subsec:LaTeX-Syntax"
30546
30547 \end_inset
30548
30549  to learn more about the \SpecialChar LaTeX
30550 -syntax.
30551 \end_layout
30552
30553 \begin_layout Standard
30554 \begin_inset Note Greyedout
30555 status open
30556
30557 \begin_layout Plain Layout
30558
30559 \series bold
30560 Note:
30561 \series default
30562  Formatting single index entries only works when you use the program 
30563 \family sans
30564 makeindex 
30565 \family default
30566 to generate the index, see section
30567 \begin_inset space ~
30568 \end_inset
30569
30570
30571 \begin_inset CommandInset ref
30572 LatexCommand ref
30573 reference "subsec:Index-Program"
30574
30575 \end_inset
30576
30577 .
30578  If you use 
30579 \family sans
30580 xindy
30581 \family default
30582 , this will not work for anything other than bold or italic text.
30583  This is because 
30584 \family sans
30585 xindy
30586 \family default
30587  requires you to define semantic elements before they can be used, see 
30588 \begin_inset CommandInset citation
30589 LatexCommand cite
30590 after "p. 678 ff."
30591 key "latexcompanion"
30592 literal "true"
30593
30594 \end_inset
30595
30596  for details.
30597 \end_layout
30598
30599 \end_inset
30600
30601
30602 \end_layout
30603
30604 \begin_layout Standard
30605 In general, we encourage you to not format page numbers directly as shown
30606  above.
30607  Instead, you should define a macro in the preamble and use that.
30608  Maybe you want all page references italic that refer to a definition of
30609  the indexed term, so that users can easily find definitions.
30610  If so, put the following in the preamble
30611 \end_layout
30612
30613 \begin_layout Standard
30614
30615 \series bold
30616
30617 \backslash
30618 newcommand{
30619 \backslash
30620 IndexDef}[1]{
30621 \backslash
30622 textit{#1}}
30623 \end_layout
30624
30625 \begin_layout Standard
30626 and write
30627 \end_layout
30628
30629 \begin_layout Standard
30630
30631 \series bold
30632 my entry|IndexDef
30633 \end_layout
30634
30635 \begin_layout Standard
30636 in the index entry.
30637 \begin_inset Index idx
30638 status open
30639
30640 \begin_layout Plain Layout
30641 Dummy entries ! my entry|IndexDef
30642 \end_layout
30643
30644 \end_inset
30645
30646  The advantage is that, if you change your mind later or if your publisher
30647  insists that definitions must not be italic but bold, you just need to
30648  change the macro in the preamble, not every single index entry.
30649 \end_layout
30650
30651 \begin_layout Standard
30652 You can also change the layout for the whole index.
30653  For example, we marked the index list box of this document as bold to get
30654  a bold font for all index entries.
30655  For more advanced tasks you have to set up a so-called 
30656 \emph on
30657 Index Style File
30658 \emph default
30659 , see the 
30660 \family sans
30661 makeindex
30662 \family default
30663  or 
30664 \family sans
30665 xindy
30666 \family default
30667  documentation for details, 
30668 \begin_inset CommandInset citation
30669 LatexCommand cite
30670 key "makeindex,xindy"
30671 literal "true"
30672
30673 \end_inset
30674
30675 .
30676 \end_layout
30677
30678 \begin_layout Subsection
30679 Index Program
30680 \begin_inset Index idx
30681 status collapsed
30682
30683 \begin_layout Plain Layout
30684 Index ! Program
30685 \end_layout
30686
30687 \end_inset
30688
30689
30690 \begin_inset CommandInset label
30691 LatexCommand label
30692 name "subsec:Index-Program"
30693
30694 \end_inset
30695
30696
30697 \end_layout
30698
30699 \begin_layout Standard
30700 If the index generation program 
30701 \family sans
30702 xindy
30703 \family default
30704  is installed, \SpecialChar LyX
30705  uses it for index generation; otherwise the program 
30706 \family sans
30707 makeindex
30708 \family default
30709 , the program that is part of every \SpecialChar LaTeX
30710  distribution, is used.
30711 \begin_inset Foot
30712 status collapsed
30713
30714 \begin_layout Plain Layout
30715
30716 \family sans
30717 Makeindex
30718 \family default
30719  is very old, no longer under development and has many pitfalls, notably
30720  that it was developed with only the English language in mind.
30721  So it fails to sort anything other than a monolingual English text correctly.
30722  We have shown above how to fix this sorting.
30723  However, if you are writing in another than the English language, consider
30724  to use 
30725 \family sans
30726 xindy
30727 \family default
30728 .
30729 \end_layout
30730
30731 \end_inset
30732
30733  Both programs can be controlled by options that can be set in \SpecialChar LyX
30734 's preferences
30735  dialog, see section
30736 \begin_inset space ~
30737 \end_inset
30738
30739
30740 \begin_inset CommandInset ref
30741 LatexCommand ref
30742 reference "subsec:LaTeX-settings"
30743
30744 \end_inset
30745
30746 .
30747  The available options are listed and explained in 
30748 \begin_inset CommandInset citation
30749 LatexCommand cite
30750 key "makeindex-man,xindy"
30751 literal "true"
30752
30753 \end_inset
30754
30755 .
30756  In this dialog, you can also specify an alternative program to generate
30757  the index.
30758 \end_layout
30759
30760 \begin_layout Standard
30761 If you need specific options or an alternative index program only for a
30762  given document, you can define the program and\SpecialChar breakableslash
30763 or the options in 
30764 \family sans
30765 Document\SpecialChar menuseparator
30766 Settings\SpecialChar menuseparator
30767 Indexes
30768 \family default
30769 .
30770  This is especially useful if you need to pass language-specific options
30771  to the index program or if you need a specific layout style.
30772 \end_layout
30773
30774 \begin_layout Subsection
30775 Multiple Indexes
30776 \end_layout
30777
30778 \begin_layout Standard
30779 In many fields it is common to have more than one index.
30780  For instance, you might need to set up a separate 
30781 \begin_inset Quotes eld
30782 \end_inset
30783
30784 Index of Names
30785 \begin_inset Quotes erd
30786 \end_inset
30787
30788  next to the standard index.
30789  \SpecialChar LaTeX
30790  does not provide this possibility out of the box, but there are packages
30791  that add this feature.
30792  \SpecialChar LyX
30793  uses the 
30794 \series bold
30795 splitidx
30796 \series default
30797
30798 \begin_inset Index idx
30799 status collapsed
30800
30801 \begin_layout Plain Layout
30802 \SpecialChar LaTeX
30803  packages ! splitidx
30804 \end_layout
30805
30806 \end_inset
30807
30808  package to generate multiple indexes.
30809  The package is included in all recent \SpecialChar LaTeX
30810  distributions.
30811 \begin_inset Foot
30812 status collapsed
30813
30814 \begin_layout Plain Layout
30815 If yours does not ship it, consult the \SpecialChar TeX
30816  catalogue, 
30817 \begin_inset CommandInset citation
30818 LatexCommand cite
30819 key "TeXCatalogue"
30820 literal "true"
30821
30822 \end_inset
30823
30824 .
30825  Note that the package does not only consist of a \SpecialChar LaTeX
30826  style, but it also includes
30827  specific preprocessor programs that need to be installed as well.
30828  Please consult the package's manual for details.
30829 \end_layout
30830
30831 \end_inset
30832
30833
30834 \end_layout
30835
30836 \begin_layout Standard
30837 To set up \SpecialChar LyX
30838  for the use of multiple indexes, go to 
30839 \family sans
30840 Document\SpecialChar menuseparator
30841 Settings\SpecialChar menuseparator
30842 Indexes
30843 \family default
30844  and select the option 
30845 \family sans
30846 Use multiple Indexes
30847 \family default
30848 .
30849  Note that the list 
30850 \family sans
30851 Available Indexes
30852 \family default
30853  already contains the standard index 
30854 \begin_inset Quotes eld
30855 \end_inset
30856
30857 Index
30858 \begin_inset Quotes erd
30859 \end_inset
30860
30861 .
30862  To add further indexes, add the name of the index (in the form that should
30863  also appear as a heading) to the 
30864 \family sans
30865 New
30866 \family default
30867  input field and press the 
30868 \family sans
30869 Add
30870 \family default
30871  button.
30872  The new index now also appears in the list.
30873  If you like, you can attribute an alternative \SpecialChar LyX
30874  label color to the new index.
30875 \end_layout
30876
30877 \begin_layout Standard
30878 Once the document changes have been applied, you can find the new index
30879  list in 
30880 \family sans
30881 Insert\SpecialChar menuseparator
30882 List/TOC
30883 \family default
30884  and the 
30885 \family sans
30886 Insert
30887 \family default
30888  menu has a separate entry for each of the defined indexes.
30889  The workflow is basically the same as for the default index, but there
30890  are additional features:
30891 \end_layout
30892
30893 \begin_layout Itemize
30894 If you want to change the attribution of a specific index entry, right-clicking
30895  on the entry's label will open a dialog where you can do that.
30896 \end_layout
30897
30898 \begin_layout Itemize
30899 By right-clicking on an index, you can change its type.
30900  Furthermore, you can specify an index to be a 
30901 \family sans
30902 Subindex
30903 \family default
30904 .
30905  If you do that, the heading of that list will be decreased by one level.
30906  For example, if you use a book class, where the standard index heading
30907  is defined as a chapter, subindexes will be defined as sections and can
30908  thus be nested to the non-subindexes.
30909 \end_layout
30910
30911 \begin_layout Itemize
30912 The option 
30913 \family sans
30914 Literal
30915 \family default
30916  allows to use \SpecialChar TeX
30917  code in the name of the index.
30918 \end_layout
30919
30920 \begin_layout Section
30921 Nomenclature/Glossary 
30922 \begin_inset Index idx
30923 status collapsed
30924
30925 \begin_layout Plain Layout
30926 Nomenclature
30927 \end_layout
30928
30929 \end_inset
30930
30931
30932 \begin_inset Index idx
30933 status collapsed
30934
30935 \begin_layout Plain Layout
30936 Glossary|see
30937 \begin_inset ERT
30938 status collapsed
30939
30940 \begin_layout Plain Layout
30941
30942 {
30943 \end_layout
30944
30945 \end_inset
30946
30947 Nomenclature
30948 \begin_inset ERT
30949 status collapsed
30950
30951 \begin_layout Plain Layout
30952
30953 }
30954 \end_layout
30955
30956 \end_inset
30957
30958
30959 \end_layout
30960
30961 \end_inset
30962
30963
30964 \begin_inset CommandInset label
30965 LatexCommand label
30966 name "sec:Nomenclature"
30967
30968 \end_inset
30969
30970
30971 \end_layout
30972
30973 \begin_layout Standard
30974 Sometimes you need to provide a list of technical terms or symbols that
30975  are mentioned in your document with a brief explanation of them – a so
30976  called nomenclature or glossary.
30977 \end_layout
30978
30979 \begin_layout Standard
30980 To be able to create nomenclatures or glossaries, you need the \SpecialChar LaTeX
30981  package
30982  
30983 \series bold
30984 nomencl
30985 \series default
30986
30987 \begin_inset Index idx
30988 status collapsed
30989
30990 \begin_layout Plain Layout
30991 \SpecialChar LaTeX
30992  packages ! nomencl
30993 \end_layout
30994
30995 \end_inset
30996
30997  installed.
30998  You find it in the \SpecialChar TeX
30999  catalogue, 
31000 \begin_inset CommandInset citation
31001 LatexCommand cite
31002 key "TeXCatalogue"
31003 literal "true"
31004
31005 \end_inset
31006
31007  or in the package manager of your \SpecialChar LaTeX
31008 -system.
31009 \end_layout
31010
31011 \begin_layout Standard
31012 A nomenclature entry is created if you place the cursor after a symbol entry
31013  and then use the menu 
31014 \family sans
31015 Insert\SpecialChar menuseparator
31016
31017 \family default
31018 N
31019 \family sans
31020 omenclature
31021 \begin_inset space ~
31022 \end_inset
31023
31024 Entry
31025 \family default
31026  or the toolbar button 
31027 \begin_inset Info
31028 type  "icon"
31029 arg   "nomencl-insert"
31030 \end_inset
31031
31032 .
31033  A gray box labeled 
31034 \begin_inset Quotes eld
31035 \end_inset
31036
31037
31038 \family sans
31039 Nom
31040 \family default
31041
31042 \begin_inset Quotes erd
31043 \end_inset
31044
31045  is inserted and a window pops up asking for the nomenclature entry.
31046 \end_layout
31047
31048 \begin_layout Standard
31049 A nomenclature entry consists of two main entries.
31050  The first is the term or 
31051 \family sans
31052 Symbol
31053 \family default
31054  that you wish to define.
31055  The second is the 
31056 \family sans
31057 Description
31058 \family default
31059  of the term or symbol.
31060 \end_layout
31061
31062 \begin_layout Standard
31063 \begin_inset Note Greyedout
31064 status open
31065
31066 \begin_layout Plain Layout
31067
31068 \series bold
31069 Note:
31070 \series default
31071  To use \SpecialChar TeX
31072  code for nomenclature entries the option 
31073 \family sans
31074 Literal
31075 \family default
31076  in the nomenclature dialog has to be used.
31077 \end_layout
31078
31079 \end_inset
31080
31081
31082 \end_layout
31083
31084 \begin_layout Subsection
31085 Nomenclature Definition and Layout
31086 \begin_inset Index idx
31087 status collapsed
31088
31089 \begin_layout Plain Layout
31090 Nomenclature ! Layout
31091 \end_layout
31092
31093 \end_inset
31094
31095
31096 \end_layout
31097
31098 \begin_layout Standard
31099 If you have symbols in formulas, you have to define them in the 
31100 \family sans
31101 Symbol
31102 \family default
31103  field as \SpecialChar LaTeX
31104  formulas.
31105  For example to get 
31106 \begin_inset Quotes eld
31107 \end_inset
31108
31109
31110 \begin_inset Formula $\sigma$
31111 \end_inset
31112
31113
31114 \begin_inset Quotes erd
31115 \end_inset
31116
31117 , insert this:
31118 \begin_inset Newline newline
31119 \end_inset
31120
31121
31122 \series bold
31123 $
31124 \backslash
31125 sigma$
31126 \begin_inset Newline newline
31127 \end_inset
31128
31129
31130 \series default
31131 The 
31132 \begin_inset Quotes eld
31133 \end_inset
31134
31135 $
31136 \begin_inset Quotes erd
31137 \end_inset
31138
31139  character starts/ends the formula.
31140  The \SpecialChar LaTeX
31141 -command for the Greek letter is the name of the letter beginning with
31142  a backslash 
31143 \begin_inset Quotes eld
31144 \end_inset
31145
31146
31147 \backslash
31148
31149 \begin_inset Quotes erd
31150 \end_inset
31151
31152 .
31153  For capital Greek letters, start the command also with a capital letter,
31154  like 
31155 \series bold
31156
31157 \backslash
31158 Sigma
31159 \series default
31160 .
31161 \end_layout
31162
31163 \begin_layout Standard
31164 (A short introduction to the \SpecialChar LaTeX
31165  syntax is given in section
31166 \begin_inset space ~
31167 \end_inset
31168
31169
31170 \begin_inset CommandInset ref
31171 LatexCommand ref
31172 reference "subsec:LaTeX-Syntax"
31173
31174 \end_inset
31175
31176 .)
31177 \end_layout
31178
31179 \begin_layout Standard
31180 You cannot use the 
31181 \family sans
31182 Text
31183 \begin_inset space ~
31184 \end_inset
31185
31186 Style
31187 \family default
31188  dialog to format the description text; you have to use \SpecialChar LaTeX
31189 -commands.
31190  For example the description of the nomenclature entry for the 
31191 \begin_inset Quotes eld
31192 \end_inset
31193
31194
31195 \begin_inset Formula $\sigma$
31196 \end_inset
31197
31198
31199 \begin_inset Quotes erd
31200 \end_inset
31201
31202  in this document is:
31203 \begin_inset Newline newline
31204 \end_inset
31205
31206
31207 \series bold
31208 dummy entry for the character 
31209 \backslash
31210 textsf{sigma}
31211 \series default
31212
31213 \begin_inset Newline newline
31214 \end_inset
31215
31216 The command 
31217 \series bold
31218
31219 \backslash
31220 textsf
31221 \series default
31222  sets the fonts to 
31223 \family sans
31224 sans
31225 \begin_inset space ~
31226 \end_inset
31227
31228 serif
31229 \family default
31230 .
31231  To get 
31232 \series bold
31233 bold
31234 \series default
31235  font use the command 
31236 \series bold
31237
31238 \backslash
31239 textbf
31240 \series default
31241 , for 
31242 \family typewriter
31243 typewriter
31244 \family default
31245  use 
31246 \series bold
31247
31248 \backslash
31249 texttt
31250 \series default
31251 , for 
31252 \emph on
31253 emphasized
31254 \emph default
31255  use 
31256 \series bold
31257
31258 \backslash
31259 emph
31260 \series default
31261 .
31262 \end_layout
31263
31264 \begin_layout Standard
31265 To customize the appearance of all symbols add e.
31266 \begin_inset space \thinspace{}
31267 \end_inset
31268
31269 g.
31270 \begin_inset space \space{}
31271 \end_inset
31272
31273 the command
31274 \begin_inset Newline newline
31275 \end_inset
31276
31277
31278 \series bold
31279
31280 \backslash
31281 renewcommand{
31282 \backslash
31283 nomlabel}[1]{
31284 \backslash
31285 textsf{
31286 \backslash
31287 textbf{#1}}}
31288 \series default
31289
31290 \begin_inset Newline newline
31291 \end_inset
31292
31293 to the LaTeX preamble in the document settings.
31294  This command will make the font of all symbols 
31295 \series bold
31296 bold
31297 \series default
31298  and 
31299 \family sans
31300 sans
31301 \begin_inset space ~
31302 \end_inset
31303
31304 serif
31305 \family default
31306 .
31307 \end_layout
31308
31309 \begin_layout Standard
31310 If the characters |
31311 \begin_inset space \space{}
31312 \end_inset
31313
31314 ,
31315 \begin_inset space \space{}
31316 \end_inset
31317
31318 !
31319 \begin_inset space \space{}
31320 \end_inset
31321
31322 , @ and
31323 \begin_inset space \space{}
31324 \end_inset
31325
31326 "
31327 \begin_inset space \space{}
31328 \end_inset
31329
31330 should appear in nomenclature entries containing \SpecialChar TeX
31331  code they need to be escaped
31332  by adding a quote character in front of them.
31333 \begin_inset CommandInset nomenclature
31334 LatexCommand nomenclature
31335 symbol "\"@, \"|, \"!, \"\""
31336 description "The quote sign in TeX code is output by writing ' \"\" '."
31337 literal "true"
31338
31339 \end_inset
31340
31341
31342 \end_layout
31343
31344 \begin_layout Subsection
31345 Sort Order of Nomenclature Entries
31346 \begin_inset Index idx
31347 status collapsed
31348
31349 \begin_layout Plain Layout
31350 Nomenclature ! Sort order
31351 \end_layout
31352
31353 \end_inset
31354
31355
31356 \end_layout
31357
31358 \begin_layout Standard
31359 The nomenclature entries are sorted alphabetically by the \SpecialChar LaTeX
31360 -code of the symbol
31361  definition.
31362  This leads to undesired results when you, for example, have symbols in
31363  formulas.
31364  Suppose you have nomenclature entries for the symbols 
31365 \emph on
31366 a
31367 \begin_inset CommandInset nomenclature
31368 LatexCommand nomenclature
31369 symbol "a"
31370 description "dummy entry for the character \"a\""
31371 literal "false"
31372
31373 \end_inset
31374
31375
31376 \emph default
31377  and 
31378 \begin_inset Formula $\sigma$
31379 \end_inset
31380
31381
31382 \begin_inset CommandInset nomenclature
31383 LatexCommand nomenclature
31384 prefix "sigma"
31385 symbol "$\\sigma$"
31386 description "dummy entry for the character \\textsf{sigma}"
31387 literal "true"
31388
31389 \end_inset
31390
31391 .
31392  They will be sorted by 
31393 \begin_inset Quotes eld
31394 \end_inset
31395
31396
31397 \family sans
31398 a
31399 \family default
31400
31401 \begin_inset Quotes erd
31402 \end_inset
31403
31404  and 
31405 \begin_inset Quotes eld
31406 \end_inset
31407
31408
31409 \family typewriter
31410 $
31411 \backslash
31412 sigma$
31413 \family default
31414
31415 \begin_inset Quotes erd
31416 \end_inset
31417
31418  – the 
31419 \begin_inset Formula $\sigma$
31420 \end_inset
31421
31422  will be sorted before the 
31423 \emph on
31424 a
31425 \emph default
31426  since the character 
31427 \begin_inset Quotes eld
31428 \end_inset
31429
31430 $
31431 \begin_inset Quotes erd
31432 \end_inset
31433
31434  is considered in sorting.
31435 \end_layout
31436
31437 \begin_layout Standard
31438 To control the sort order, you can edit the 
31439 \family sans
31440 Sort
31441 \begin_inset space ~
31442 \end_inset
31443
31444 as
31445 \family default
31446  field of the nomenclature dialog.
31447  Then the nomenclature entry will be sorted by this entry and not the symbol
31448  definition.
31449  For the example given, you can insert 
31450 \family typewriter
31451 sigma
31452 \family default
31453  in this field for the 
31454 \begin_inset Formula $\sigma$
31455 \end_inset
31456
31457 , then 
31458 \emph on
31459 a
31460 \emph default
31461  will be located before 
31462 \begin_inset Formula $\sigma$
31463 \end_inset
31464
31465 .
31466 \end_layout
31467
31468 \begin_layout Standard
31469 For subgrouping and tips for using sort entries see the 
31470 \series bold
31471 nomencl
31472 \series default
31473  documentation, 
31474 \begin_inset CommandInset citation
31475 LatexCommand cite
31476 key "nomencl"
31477 literal "true"
31478
31479 \end_inset
31480
31481 .
31482 \end_layout
31483
31484 \begin_layout Subsection
31485 Nomenclature Options
31486 \begin_inset Index idx
31487 status collapsed
31488
31489 \begin_layout Plain Layout
31490 Nomenclature ! Options
31491 \end_layout
31492
31493 \end_inset
31494
31495
31496 \begin_inset CommandInset label
31497 LatexCommand label
31498 name "subsec:Nomenclature-Options"
31499
31500 \end_inset
31501
31502
31503 \end_layout
31504
31505 \begin_layout Standard
31506 The 
31507 \series bold
31508 nomencl
31509 \series default
31510  package offers some options to adjust the appearance of the nomenclature.
31511  Here are some of its options; for more have a look at its documentation:
31512 \end_layout
31513
31514 \begin_layout Description
31515 refeq Appends the phrase 
31516 \begin_inset Quotes eld
31517 \end_inset
31518
31519
31520 \family sans
31521 , see equation (
31522 \emph on
31523 eq
31524 \emph default
31525 )
31526 \family default
31527
31528 \begin_inset Quotes erd
31529 \end_inset
31530
31531  to every nomenclature entry, where 
31532 \family sans
31533 \emph on
31534 eq
31535 \family default
31536 \emph default
31537  is the number of the last equation in front of the nomenclature entry
31538 \end_layout
31539
31540 \begin_layout Description
31541 refpage Appends the phrase 
31542 \begin_inset Quotes eld
31543 \end_inset
31544
31545
31546 \family sans
31547 , page (
31548 \emph on
31549 page
31550 \emph default
31551 )
31552 \family default
31553
31554 \begin_inset Quotes erd
31555 \end_inset
31556
31557  to every nomenclature entry, where 
31558 \family sans
31559 \emph on
31560 page
31561 \family default
31562 \emph default
31563  is the number of the page on which the nomenclature entry appeared
31564 \end_layout
31565
31566 \begin_layout Description
31567 intoc Inserts the nomenclature in the Table of Contents
31568 \end_layout
31569
31570 \begin_layout Standard
31571 To use one or more of the options, add them to the comma-separated document
31572  class options list in the 
31573 \family sans
31574 Document\SpecialChar menuseparator
31575 Settings
31576 \family default
31577  dialog.
31578  In this document the options 
31579 \series bold
31580 refpage, intoc
31581 \series default
31582  are used.
31583 \end_layout
31584
31585 \begin_layout Standard
31586 \begin_inset VSpace bigskip
31587 \end_inset
31588
31589
31590 \end_layout
31591
31592 \begin_layout Standard
31593 You can also use the first two options above only for certain nomenclature
31594  entries when you add one of the following commands as last entry to the
31595  
31596 \family sans
31597 Description
31598 \family default
31599  field in the nomenclature dialog:
31600 \end_layout
31601
31602 \begin_layout Description
31603
31604 \backslash
31605 nomrefeq Like the 
31606 \series bold
31607 refeq
31608 \series default
31609  option
31610 \end_layout
31611
31612 \begin_layout Description
31613
31614 \backslash
31615 nomrefpage Like the 
31616 \series bold
31617 refpage
31618 \series default
31619  option
31620 \end_layout
31621
31622 \begin_layout Description
31623
31624 \backslash
31625 nomrefeqpage Short notation of 
31626 \series bold
31627
31628 \backslash
31629 nomrefeq
31630 \backslash
31631 nomrefpage
31632 \end_layout
31633
31634 \begin_layout Description
31635
31636 \backslash
31637 nomnorefeq,
31638 \begin_inset space ~
31639 \end_inset
31640
31641
31642 \backslash
31643 nomnorefpage,
31644 \begin_inset space ~
31645 \end_inset
31646
31647
31648 \backslash
31649 nomnorefeqpage Turns off the corresponding options
31650 \end_layout
31651
31652 \begin_layout Standard
31653 Words like 
31654 \begin_inset Quotes eld
31655 \end_inset
31656
31657 page
31658 \begin_inset Quotes erd
31659 \end_inset
31660
31661  are automatically translated for most document languages.
31662  If not, add these lines in front of the nomenclature list as \SpecialChar TeX
31663  code:
31664 \end_layout
31665
31666 \begin_layout Standard
31667 \noindent
31668
31669 \series bold
31670
31671 \backslash
31672 renewcommand*{
31673 \backslash
31674 eqdeclaration}[1]{
31675 \begin_inset Newline newline
31676 \end_inset
31677
31678
31679 \size small
31680
31681 \begin_inset Phantom HPhantom
31682 status open
31683
31684 \begin_layout Plain Layout
31685 \begin_inset space ~
31686 \end_inset
31687
31688
31689 \end_layout
31690
31691 \end_inset
31692
31693
31694 \size default
31695
31696 \backslash
31697 unskip, see equation
31698 \backslash
31699 nobreakspace(#1)}
31700 \begin_inset Newline newline
31701 \end_inset
31702
31703
31704 \backslash
31705 renewcommand*{
31706 \backslash
31707 pagedeclaration}[1]{
31708 \begin_inset Newline newline
31709 \end_inset
31710
31711
31712 \size small
31713
31714 \begin_inset Phantom HPhantom
31715 status open
31716
31717 \begin_layout Plain Layout
31718 \begin_inset space ~
31719 \end_inset
31720
31721
31722 \end_layout
31723
31724 \end_inset
31725
31726
31727 \size default
31728
31729 \backslash
31730 unskip, page
31731 \backslash
31732 nobreakspace{}#1}
31733 \end_layout
31734
31735 \begin_layout Standard
31736 If the numbers should be hyperlinks, assure that you use 
31737 \family sans
31738 Hyperref
31739 \begin_inset space ~
31740 \end_inset
31741
31742 Support
31743 \family default
31744  in the document settings under 
31745 \family sans
31746 PDF
31747 \begin_inset space ~
31748 \end_inset
31749
31750 Properties
31751 \family default
31752  and use instead:
31753 \end_layout
31754
31755 \begin_layout Standard
31756
31757 \series bold
31758
31759 \backslash
31760 renewcommand*{
31761 \backslash
31762 eqdeclaration}[1]{
31763 \begin_inset Newline newline
31764 \end_inset
31765
31766
31767 \begin_inset Phantom HPhantom
31768 status open
31769
31770 \begin_layout Plain Layout
31771 \begin_inset space ~
31772 \end_inset
31773
31774
31775 \end_layout
31776
31777 \end_inset
31778
31779
31780 \backslash
31781 unskip, see 
31782 \backslash
31783 hyperlink{equation.#1}{equation
31784 \backslash
31785 nobreakspace{}(#1)}}
31786 \begin_inset Newline newline
31787 \end_inset
31788
31789
31790 \backslash
31791 renewcommand*{
31792 \backslash
31793 pagedeclaration}[1]{
31794 \begin_inset Newline newline
31795 \end_inset
31796
31797
31798 \begin_inset Phantom HPhantom
31799 status open
31800
31801 \begin_layout Plain Layout
31802 \begin_inset space ~
31803 \end_inset
31804
31805
31806 \end_layout
31807
31808 \end_inset
31809
31810
31811 \backslash
31812 unskip, 
31813 \backslash
31814 hyperlink{page.#1}{page
31815 \backslash
31816 nobreakspace{}#1}}
31817 \end_layout
31818
31819 \begin_layout Subsection
31820 Printing the Nomenclature
31821 \begin_inset Index idx
31822 status collapsed
31823
31824 \begin_layout Plain Layout
31825 Nomenclature ! Printing
31826 \end_layout
31827
31828 \end_inset
31829
31830
31831 \end_layout
31832
31833 \begin_layout Standard
31834 To print the nomenclature, use the menu 
31835 \family sans
31836 Insert\SpecialChar menuseparator
31837 Lists/TOC\SpecialChar menuseparator
31838 Nomenclature
31839 \family default
31840 .
31841  A box labeled 
31842 \begin_inset Quotes eld
31843 \end_inset
31844
31845
31846 \family sans
31847 Nomenclature
31848 \family default
31849
31850 \begin_inset Quotes erd
31851 \end_inset
31852
31853  will show the place where the nomenclature is printed in the output.
31854  By right-clicking on it, the amount of space for symbols can be altered.
31855  You can choose between these settings:
31856 \end_layout
31857
31858 \begin_layout Description
31859 Default a space of 1
31860 \begin_inset space \thinspace{}
31861 \end_inset
31862
31863 cm is used
31864 \end_layout
31865
31866 \begin_layout Description
31867 Longest
31868 \begin_inset space ~
31869 \end_inset
31870
31871 label
31872 \begin_inset space ~
31873 \end_inset
31874
31875 width the width of the widest symbol of all nomenclature entries is used
31876 \end_layout
31877
31878 \begin_layout Description
31879 Custom custom space
31880 \end_layout
31881
31882 \begin_layout Standard
31883 In the printed output the title of the nomenclature appears as 
31884 \begin_inset Quotes eld
31885 \end_inset
31886
31887 Nomenclature
31888 \begin_inset Quotes erd
31889 \end_inset
31890
31891 .
31892  If you are not happy with the name, you can change it by redefining the
31893  command 
31894 \series bold
31895
31896 \backslash
31897 nomname
31898 \series default
31899  in the preamble.
31900  For example, in order to change the name to 
31901 \emph on
31902 List of Symbols
31903 \emph default
31904 , add the following line to the preamble:
31905 \end_layout
31906
31907 \begin_layout Standard
31908
31909 \series bold
31910
31911 \backslash
31912 AtBeginDocument{
31913 \backslash
31914 addto
31915 \backslash
31916 captionsenglish{
31917 \backslash
31918 def
31919 \backslash
31920 nomname{List of Symbols}}}
31921 \end_layout
31922
31923 \begin_layout Standard
31924 When you are using another document language than English, replace
31925 \begin_inset Newline newline
31926 \end_inset
31927
31928
31929 \series bold
31930
31931 \backslash
31932 captionsenglish
31933 \series default
31934  by 
31935 \series bold
31936
31937 \backslash
31938 extras***
31939 \series default
31940 , where *** is the name of the language used.
31941 \end_layout
31942
31943 \begin_layout Subsection
31944 Nomenclature Program
31945 \begin_inset Index idx
31946 status collapsed
31947
31948 \begin_layout Plain Layout
31949 Nomenclature ! Program
31950 \end_layout
31951
31952 \end_inset
31953
31954
31955 \begin_inset CommandInset label
31956 LatexCommand label
31957 name "subsec:Nomenclature-Program"
31958
31959 \end_inset
31960
31961
31962 \end_layout
31963
31964 \begin_layout Standard
31965 \SpecialChar LyX
31966  uses the program 
31967 \family sans
31968 makeindex
31969 \family default
31970 , that is part of every \SpecialChar LaTeX
31971  distribution, to generate the nomenclature.
31972  \SpecialChar LyX
31973 's preferences dialog allows you to specify another program or to control
31974  
31975 \family sans
31976 makeindex
31977 \family default
31978  by adding options, see section
31979 \begin_inset space ~
31980 \end_inset
31981
31982
31983 \begin_inset CommandInset ref
31984 LatexCommand ref
31985 reference "subsec:LaTeX-settings"
31986
31987 \end_inset
31988
31989 .
31990  The available options are listed and explained in 
31991 \begin_inset CommandInset citation
31992 LatexCommand cite
31993 key "nomencl,makeindex"
31994 literal "true"
31995
31996 \end_inset
31997
31998 .
31999 \end_layout
32000
32001 \begin_layout Section
32002 Branches
32003 \begin_inset Index idx
32004 status collapsed
32005
32006 \begin_layout Plain Layout
32007 Branches
32008 \end_layout
32009
32010 \end_inset
32011
32012
32013 \begin_inset Index idx
32014 status collapsed
32015
32016 \begin_layout Plain Layout
32017 Document ! Branches
32018 \end_layout
32019
32020 \end_inset
32021
32022
32023 \begin_inset CommandInset label
32024 LatexCommand label
32025 name "sec:Branches"
32026
32027 \end_inset
32028
32029
32030 \end_layout
32031
32032 \begin_layout Standard
32033 Sometimes it is useful to hide some document parts in the output.
32034  For example a teacher who is setting an exam obviously doesn't want the
32035  pupils to see the answers, but having questions and answers in the same
32036  document will make the life of the markers of that exam much easier.
32037 \end_layout
32038
32039 \begin_layout Standard
32040 For these cases \SpecialChar LyX
32041  allows you to put text into branches.
32042  The text will then only appear in the output when its branch is activated.
32043  To create a branch, either select the menu 
32044 \family sans
32045 Insert\SpecialChar menuseparator
32046 Branch\SpecialChar menuseparator
32047 Insert New Branch
32048 \family default
32049  (if you just want to specify a new branch) or go in the 
32050 \family sans
32051 Document\SpecialChar menuseparator
32052 Settings
32053 \family default
32054  dialog to 
32055 \family sans
32056 Branches
32057 \family default
32058 , where you can specify and change the name of the branch, its activation
32059  state (whether the content of the branch is shown in the output or not),
32060  its background color inside \SpecialChar LyX
32061  and whether the name of the branch should
32062  be appended to the document file name on export if the branch is active
32063  (see below for an example).
32064  Furthermore, the dialog lets you merge two branches (just rename one branch
32065  to the name of the other) and to add 
32066 \begin_inset Quotes eld
32067 \end_inset
32068
32069 unknown branches
32070 \begin_inset Quotes erd
32071 \end_inset
32072
32073  (i.
32074 \begin_inset space \thinspace{}
32075 \end_inset
32076
32077 e.
32078 \begin_inset space ~
32079 \end_inset
32080
32081 branches that were added to the document via copy and paste from other documents
32082 , without having been defined) to the document's branch list.
32083 \end_layout
32084
32085 \begin_layout Standard
32086 Text that should be in a branch is set into branch inset boxes.
32087  These boxes are inserted via the menu 
32088 \family sans
32089 Insert\SpecialChar menuseparator
32090 Branch
32091 \family default
32092  where you can choose a branch.
32093  You can later change the activation state of the branch by right-clicking
32094  on them.
32095 \end_layout
32096
32097 \begin_layout Standard
32098 Here is an example, where only the question text appears, the answer branch
32099  is deactivated and therefore does not appear in the output:
32100 \end_layout
32101
32102 \begin_layout Standard
32103 \begin_inset Branch Question
32104 inverted 0
32105 status open
32106
32107 \begin_layout Standard
32108
32109 \series bold
32110 Question:
32111 \series default
32112  Who was the first physics Nobel prize winner?
32113 \end_layout
32114
32115 \end_inset
32116
32117
32118 \end_layout
32119
32120 \begin_layout Standard
32121 \begin_inset Branch Answer
32122 inverted 0
32123 status collapsed
32124
32125 \begin_layout Standard
32126
32127 \series bold
32128 Answer:
32129 \series default
32130  Wilhelm Conrad Röntgen
32131 \end_layout
32132
32133 \end_inset
32134
32135
32136 \end_layout
32137
32138 \begin_layout Standard
32139 If you activate 
32140 \family sans
32141 Filename Suffix
32142 \family default
32143  in 
32144 \family sans
32145 Document\SpecialChar menuseparator
32146 Settings\SpecialChar menuseparator
32147 Branches
32148 \family default
32149 , the name of the active branches will be appended to the file name at export.
32150  Consider for example a file 
32151 \begin_inset Quotes eld
32152 \end_inset
32153
32154 Exam.lyx
32155 \begin_inset Quotes erd
32156 \end_inset
32157
32158  which has the above branches.
32159  If 
32160 \begin_inset Quotes eld
32161 \end_inset
32162
32163 Filename Suffix
32164 \begin_inset Quotes erd
32165 \end_inset
32166
32167  is active, the PDF export file would be called 
32168 \begin_inset Quotes eld
32169 \end_inset
32170
32171 Exam.pdf
32172 \begin_inset Quotes erd
32173 \end_inset
32174
32175  if both the 
32176 \begin_inset Quotes eld
32177 \end_inset
32178
32179 Question
32180 \begin_inset Quotes erd
32181 \end_inset
32182
32183  and 
32184 \begin_inset Quotes eld
32185 \end_inset
32186
32187 Answer
32188 \begin_inset Quotes erd
32189 \end_inset
32190
32191  branch were inactive, 
32192 \begin_inset Quotes eld
32193 \end_inset
32194
32195 Exam-Question.pdf
32196 \begin_inset Quotes erd
32197 \end_inset
32198
32199  if only the 
32200 \begin_inset Quotes eld
32201 \end_inset
32202
32203 Question
32204 \begin_inset Quotes erd
32205 \end_inset
32206
32207  branch was active, likewise 
32208 \begin_inset Quotes eld
32209 \end_inset
32210
32211 Exam-Answer.pdf
32212 \begin_inset Quotes erd
32213 \end_inset
32214
32215  if only the 
32216 \begin_inset Quotes eld
32217 \end_inset
32218
32219 Answer
32220 \begin_inset Quotes erd
32221 \end_inset
32222
32223  branch was active, and 
32224 \begin_inset Quotes eld
32225 \end_inset
32226
32227 Exam-Question-Answer.pdf
32228 \begin_inset Quotes erd
32229 \end_inset
32230
32231  if both branches were active.
32232  This helps you to export different versions of your document easily.
32233 \begin_inset VSpace bigskip
32234 \end_inset
32235
32236
32237 \end_layout
32238
32239 \begin_layout Standard
32240 There are also inverted branch insets, whose content is output just in case
32241  the branch is 
32242 \emph on
32243 not
32244 \emph default
32245  activated.
32246  This make it easy to add alternative text for different versions of a document.
32247  To control whether a particular inset is inverted, right-click on the inset
32248  button and choose 
32249 \family sans
32250 Invert
32251 \begin_inset space ~
32252 \end_inset
32253
32254 Inset
32255 \family default
32256 .
32257 \end_layout
32258
32259 \begin_layout Standard
32260 \begin_inset Branch Answer
32261 inverted 1
32262 status open
32263
32264 \begin_layout Standard
32265
32266 \series bold
32267 No answer:
32268 \series default
32269  Because the 
32270 \begin_inset Quotes eld
32271 \end_inset
32272
32273 Answer
32274 \begin_inset Quotes erd
32275 \end_inset
32276
32277  branch is deactivated.
32278 \end_layout
32279
32280 \end_inset
32281
32282
32283 \begin_inset VSpace bigskip
32284 \end_inset
32285
32286
32287 \end_layout
32288
32289 \begin_layout Standard
32290 To use conditional output inside places where you cannot insert branch insets,
32291  like inside equations, you can code special \SpecialChar LaTeX
32292  definitions for each branch.
32293  For example you can define for the question branch
32294 \begin_inset Foot
32295 status collapsed
32296
32297 \begin_layout Plain Layout
32298 For an introduction to the \SpecialChar LaTeX
32299 -syntax, see section
32300 \begin_inset space ~
32301 \end_inset
32302
32303
32304 \begin_inset CommandInset ref
32305 LatexCommand ref
32306 reference "subsec:LaTeX-Syntax"
32307
32308 \end_inset
32309
32310 .
32311 \end_layout
32312
32313 \end_inset
32314
32315
32316 \end_layout
32317
32318 \begin_layout Standard
32319
32320 \series bold
32321
32322 \backslash
32323 newcommand{
32324 \backslash
32325 question}[1]{#1}
32326 \end_layout
32327
32328 \begin_layout Standard
32329
32330 \series bold
32331
32332 \backslash
32333 newcommand{
32334 \backslash
32335 answer}[1]{}
32336 \end_layout
32337
32338 \begin_layout Standard
32339 and for the answer branch
32340 \end_layout
32341
32342 \begin_layout Standard
32343
32344 \series bold
32345
32346 \backslash
32347 newcommand{
32348 \backslash
32349 question}[1]{}
32350 \end_layout
32351
32352 \begin_layout Standard
32353
32354 \series bold
32355
32356 \backslash
32357 newcommand{
32358 \backslash
32359 answer}[1]{#1}
32360 \end_layout
32361
32362 \begin_layout Standard
32363 \begin_inset Branch Question
32364 inverted 0
32365 status open
32366
32367 \begin_layout Standard
32368 \begin_inset ERT
32369 status open
32370
32371 \begin_layout Plain Layout
32372
32373
32374 \backslash
32375 newcommand{
32376 \backslash
32377 question}[1]{#1}
32378 \end_layout
32379
32380 \begin_layout Plain Layout
32381
32382
32383 \backslash
32384 newcommand{
32385 \backslash
32386 answer}[1]{}
32387 \end_layout
32388
32389 \end_inset
32390
32391
32392 \end_layout
32393
32394 \end_inset
32395
32396
32397 \end_layout
32398
32399 \begin_layout Standard
32400 \begin_inset Branch Answer
32401 inverted 0
32402 status collapsed
32403
32404 \begin_layout Standard
32405 \begin_inset ERT
32406 status open
32407
32408 \begin_layout Plain Layout
32409
32410
32411 \backslash
32412 newcommand{
32413 \backslash
32414 question}[1]{}
32415 \end_layout
32416
32417 \begin_layout Plain Layout
32418
32419
32420 \backslash
32421 newcommand{
32422 \backslash
32423 answer}[1]{#1}
32424 \end_layout
32425
32426 \end_inset
32427
32428
32429 \end_layout
32430
32431 \end_inset
32432
32433
32434 \end_layout
32435
32436 \begin_layout Standard
32437 Now it is possible to use the 
32438 \series bold
32439
32440 \backslash
32441 question{\SpecialChar ldots
32442 }
32443 \series default
32444  and 
32445 \series bold
32446
32447 \backslash
32448 answer{\SpecialChar ldots
32449 }
32450 \series default
32451  commands to obtain conditional output.
32452  Here is an example formula where only the 
32453 \series bold
32454
32455 \backslash
32456 question
32457 \series default
32458  part appears:
32459 \begin_inset Formula 
32460 \[
32461 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
32462 \]
32463
32464 \end_inset
32465
32466
32467 \end_layout
32468
32469 \begin_layout Standard
32470 Inside math, the same effect can be achieved using math macros, see the
32471  
32472 \emph on
32473 Math
32474 \emph default
32475  manual.
32476 \end_layout
32477
32478 \begin_layout Standard
32479 Each type of branch is allowed to have its specific style defined in layout
32480  files (e.
32481 \begin_inset space \thinspace{}
32482 \end_inset
32483
32484 g.
32485 \begin_inset space \space{}
32486 \end_inset
32487
32488 any branch inset can be automatically wrapped by your own \SpecialChar LaTeX
32489  commands.).
32490  For this advanced usage, see the 
32491 \emph on
32492 Customization
32493 \emph default
32494  manual, section 
32495 \emph on
32496 Flex insets and InsetLayout
32497 \emph default
32498 ).
32499 \end_layout
32500
32501 \begin_layout Section
32502 PDF Properties
32503 \begin_inset CommandInset label
32504 LatexCommand label
32505 name "sec:PDF-Properties"
32506
32507 \end_inset
32508
32509
32510 \begin_inset Index idx
32511 status collapsed
32512
32513 \begin_layout Plain Layout
32514 PDF properties
32515 \end_layout
32516
32517 \end_inset
32518
32519
32520 \end_layout
32521
32522 \begin_layout Standard
32523 The 
32524 \family sans
32525 Document\SpecialChar menuseparator
32526 Settings\SpecialChar menuseparator
32527 PDF Properties
32528 \family default
32529  dialog allows you to set up special options for the PDF output of your
32530  document.
32531  All these options are provided by the \SpecialChar LaTeX
32532 -package 
32533 \series bold
32534 hyperref
32535 \series default
32536
32537 \begin_inset Index idx
32538 status collapsed
32539
32540 \begin_layout Plain Layout
32541 \SpecialChar LaTeX
32542  packages ! hyperref
32543 \end_layout
32544
32545 \end_inset
32546
32547  which will link all cross-references in the DVI- and PDF-output.
32548  This means that the reader of your document will be able to click on a
32549  table of contents entry or on a reference to move to the cross-referenced
32550  part of the document.
32551  
32552 \end_layout
32553
32554 \begin_layout Standard
32555 The header information in the dialog tab 
32556 \family sans
32557 General
32558 \family default
32559  is saved together with the PDF as file properties.
32560  Many programs are able to extract this information, for example, automatically
32561  to recognize who the author is and what the PDF is about.
32562  This is very useful to sort, classify or use PDFs for bibliography issues.
32563  When the option 
32564 \family sans
32565 Automatically
32566 \begin_inset space ~
32567 \end_inset
32568
32569 fill
32570 \begin_inset space ~
32571 \end_inset
32572
32573 header
32574 \family default
32575  is set, \SpecialChar LyX
32576  tries to extract the header information from your document title
32577  and author entries.
32578  The option 
32579 \family sans
32580 Load
32581 \begin_inset space ~
32582 \end_inset
32583
32584 in
32585 \begin_inset space ~
32586 \end_inset
32587
32588 fullscreen
32589 \begin_inset space ~
32590 \end_inset
32591
32592 mode
32593 \family default
32594  will open the PDF in fullscreen mode, which is useful for presentations.
32595 \end_layout
32596
32597 \begin_layout Standard
32598 You can specify in the dialog tab 
32599 \family sans
32600 Hyperlinks
32601 \family default
32602  how the links will look and if links for bibliographical backreferences
32603  are created.
32604  The 
32605 \family sans
32606 Break
32607 \begin_inset space ~
32608 \end_inset
32609
32610 links
32611 \begin_inset space ~
32612 \end_inset
32613
32614 over
32615 \begin_inset space ~
32616 \end_inset
32617
32618 lines
32619 \family default
32620  option allows long links to be split; 
32621 \family sans
32622 No
32623 \begin_inset space ~
32624 \end_inset
32625
32626 frames
32627 \begin_inset space ~
32628 \end_inset
32629
32630 around
32631 \begin_inset space ~
32632 \end_inset
32633
32634 links
32635 \family default
32636  and 
32637 \family sans
32638 Color
32639 \begin_inset space ~
32640 \end_inset
32641
32642 links
32643 \family default
32644  both turn off the default behavior of enclosing all links in frames; 
32645 \family sans
32646 Color
32647 \begin_inset space ~
32648 \end_inset
32649
32650 links
32651 \family default
32652  colors the different links.
32653  The default colors are:
32654 \end_layout
32655
32656 \begin_layout Labeling
32657 \labelwidthstring 00.00.0000
32658
32659 \color magenta
32660 magenta
32661 \color inherit
32662  for hyperlinks and URLs
32663 \end_layout
32664
32665 \begin_layout Labeling
32666 \labelwidthstring 00.00.0000
32667
32668 \color red
32669 red
32670 \color inherit
32671  for links
32672 \end_layout
32673
32674 \begin_layout Labeling
32675 \labelwidthstring 00.00.0000
32676
32677 \color green
32678 green
32679 \color inherit
32680  for citations
32681 \end_layout
32682
32683 \begin_layout Standard
32684 but you can change these in the field 
32685 \family sans
32686 Additional options
32687 \family default
32688 .
32689  For example, in this document they were changed with the additional options:
32690 \end_layout
32691
32692 \begin_layout Standard
32693
32694 \series bold
32695 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
32696 \end_layout
32697
32698 \begin_layout Standard
32699 If the option 
32700 \family sans
32701 Backreferences
32702 \family default
32703  is set, the hyperlinks will appear in the bibliography after the different
32704  entries, showing, depending on the option selected, the number of the section,
32705  slide or page where the entry is referenced.
32706 \end_layout
32707
32708 \begin_layout Standard
32709 In the dialog tab 
32710 \family sans
32711 Bookmarks
32712 \family default
32713  you can specify if PDF-bookmarks should be created for every section of
32714  your document to make it easier for readers to navigate through the document.
32715  You can decide if the bookmarks should be numbered like your document sections
32716  or not.
32717  With the 
32718 \family sans
32719 Open bookmarks
32720 \family default
32721  
32722 \family sans
32723 Level
32724 \family default
32725  you can specify what sectioning level should be displayed in the bookmarks
32726  when opening the PDF.
32727  For example level
32728 \begin_inset space ~
32729 \end_inset
32730
32731 2 will display all sections and subsections, while level
32732 \begin_inset space ~
32733 \end_inset
32734
32735 1 will only display the sections.
32736 \end_layout
32737
32738 \begin_layout Standard
32739 PDF properties are also used in this document.
32740  When you look in its document settings, you can see that some additional
32741  
32742 \series bold
32743 hyperref
32744 \series default
32745  options are used.
32746  For an explanation of all them we refer you to the hyperref manual 
32747 \begin_inset CommandInset citation
32748 LatexCommand cite
32749 key "hyperref"
32750 literal "true"
32751
32752 \end_inset
32753
32754 .
32755 \end_layout
32756
32757 \begin_layout Section
32758 \SpecialChar TeX
32759  Code and the \SpecialChar LaTeX
32760  Syntax
32761 \begin_inset CommandInset label
32762 LatexCommand label
32763 name "sec:TeX-Code"
32764
32765 \end_inset
32766
32767
32768 \end_layout
32769
32770 \begin_layout Subsection
32771 \SpecialChar TeX
32772  Code Boxes
32773 \begin_inset Index idx
32774 status collapsed
32775
32776 \begin_layout Plain Layout
32777 \SpecialChar TeX
32778  Code
32779 \end_layout
32780
32781 \end_inset
32782
32783
32784 \begin_inset CommandInset label
32785 LatexCommand label
32786 name "subsec:TeX-Code-Boxes"
32787
32788 \end_inset
32789
32790
32791 \end_layout
32792
32793 \begin_layout Standard
32794 As \SpecialChar LyX
32795  uses \SpecialChar LaTeX
32796  in the background, it supports many \SpecialChar LaTeX
32797  commands and constructs,
32798  but not all.
32799  \SpecialChar LaTeX
32800  contains hundreds of packages that provide different commands.
32801  All the time packages are being updated and new ones added.
32802  This has the advantage that you can typeset nearly everything as there
32803  is a \SpecialChar LaTeX
32804 -package for every problem, though \SpecialChar LyX
32805  cannot support all packages and
32806  their commands.
32807 \end_layout
32808
32809 \begin_layout Standard
32810 But don't worry, you can use any \SpecialChar LaTeX
32811 -command directly in \SpecialChar LyX
32812  inside the \SpecialChar TeX
32813  Code
32814  box.
32815  A \SpecialChar TeX
32816  Code box is created by the menu 
32817 \family sans
32818 Insert\SpecialChar menuseparator
32819 TeX
32820 \begin_inset space ~
32821 \end_inset
32822
32823 Code
32824 \family default
32825  or by the toolbar button 
32826 \begin_inset Info
32827 type  "icon"
32828 arg   "ert-insert"
32829 \end_inset
32830
32831  (shortcut 
32832 \begin_inset Info
32833 type  "shortcut"
32834 arg   "ert-insert"
32835 \end_inset
32836
32837 ).
32838  The box can be opened by left-clicking and closed by right-clicking on
32839  it and selecting 
32840 \family sans
32841 Close Inset
32842 \family default
32843 .
32844 \end_layout
32845
32846 \begin_layout Standard
32847 You can insert complete or incomplete commands as \SpecialChar TeX
32848  Code.
32849  Incomplete means that the command argument can be Standard \SpecialChar LyX
32850  text.
32851  For example, if you want to draw a frame around a word
32852 \begin_inset Foot
32853 status collapsed
32854
32855 \begin_layout Plain Layout
32856 The LyX way would be to use a framed box.
32857 \end_layout
32858
32859 \end_inset
32860
32861  and are therefore using the \SpecialChar LaTeX
32862 -command 
32863 \series bold
32864
32865 \backslash
32866 fbox
32867 \series default
32868 , you can write the command part 
32869 \series bold
32870
32871 \backslash
32872 fbox{
32873 \series default
32874  in a \SpecialChar TeX
32875  Code box before the word and the closing brace 
32876 \series bold
32877 }
32878 \series default
32879  in a second \SpecialChar TeX
32880  Code box behind the word.
32881  The word between the two \SpecialChar TeX
32882  Code boxes is then the argument as it is in the
32883  following example:
32884 \end_layout
32885
32886 \begin_layout Standard
32887 \begin_inset Graphics
32888         filename clipart/ERT.png
32889         scale 95
32890
32891 \end_inset
32892
32893
32894 \end_layout
32895
32896 \begin_layout Standard
32897 gives
32898 \end_layout
32899
32900 \begin_layout Standard
32901 This is a line with a 
32902 \begin_inset ERT
32903 status collapsed
32904
32905 \begin_layout Plain Layout
32906
32907
32908 \backslash
32909 fbox{
32910 \end_layout
32911
32912 \end_inset
32913
32914 framed
32915 \begin_inset ERT
32916 status collapsed
32917
32918 \begin_layout Plain Layout
32919
32920 }
32921 \end_layout
32922
32923 \end_inset
32924
32925  word.
32926 \end_layout
32927
32928 \begin_layout Standard
32929 \begin_inset Note Greyedout
32930 status open
32931
32932 \begin_layout Plain Layout
32933
32934 \series bold
32935 Note:
32936 \series default
32937  At the end of \SpecialChar LaTeX
32938 -commands without parameters, you have to insert a space
32939  to let \SpecialChar LaTeX
32940  know that the command is finished.
32941 \end_layout
32942
32943 \end_inset
32944
32945
32946 \end_layout
32947
32948 \begin_layout Subsection
32949 A Short Introduction to the \SpecialChar LaTeX
32950  Syntax
32951 \begin_inset Argument 1
32952 status collapsed
32953
32954 \begin_layout Plain Layout
32955 The \SpecialChar LaTeX
32956  Syntax
32957 \end_layout
32958
32959 \end_inset
32960
32961
32962 \begin_inset Index idx
32963 status collapsed
32964
32965 \begin_layout Plain Layout
32966 \SpecialChar LaTeX
32967  Syntax
32968 \end_layout
32969
32970 \end_inset
32971
32972
32973 \begin_inset CommandInset label
32974 LatexCommand label
32975 name "subsec:LaTeX-Syntax"
32976
32977 \end_inset
32978
32979
32980 \end_layout
32981
32982 \begin_layout Standard
32983 When you write larger documents or books, you will need to know something
32984  about the \SpecialChar LaTeX
32985 -commands that \SpecialChar LyX
32986  uses in the background.
32987  Because \SpecialChar LaTeX
32988  is based on commands, you can 
32989 \begin_inset Quotes eld
32990 \end_inset
32991
32992 program
32993 \begin_inset Quotes erd
32994 \end_inset
32995
32996  your text.
32997  This has the advantage that the layout of the document can be changed at
32998  any time if you know the right commands.
32999  For example, imagine you have to write a manual for a product and the deadline
33000  is the end of the day.
33001  Your boss has just complimented you for your good work but wants to have
33002  all caption labels bold.
33003  But you have over a hundred figure and table captions with non-bold labels
33004  in your manual.
33005  Of course it is impossible to change all caption labels manually in one
33006  day.
33007 \end_layout
33008
33009 \begin_layout Standard
33010 Now \SpecialChar LaTeX
33011  comes into play.
33012  As mentioned above, for every problem there exists a \SpecialChar LaTeX
33013 -package.
33014  First you have to find out which and therefore look in the \SpecialChar LaTeX
33015  package database,
33016  
33017 \begin_inset CommandInset citation
33018 LatexCommand cite
33019 key "Catalogue"
33020 literal "true"
33021
33022 \end_inset
33023
33024 .
33025 \end_layout
33026
33027 \begin_layout Standard
33028 As result you find that the package 
33029 \series bold
33030 caption
33031 \series default
33032
33033 \begin_inset Index idx
33034 status collapsed
33035
33036 \begin_layout Plain Layout
33037 \SpecialChar LaTeX
33038  packages ! caption
33039 \end_layout
33040
33041 \end_inset
33042
33043  is what you need.
33044  To use a package, you have to load it in the document preamble (menu 
33045 \family sans
33046 Document\SpecialChar menuseparator
33047 Settings
33048 \family default
33049 \SpecialChar menuseparator
33050
33051 \family sans
33052 LaTeX
33053 \begin_inset space ~
33054 \end_inset
33055
33056 Preamble
33057 \family default
33058 ) with the command
33059 \end_layout
33060
33061 \begin_layout Standard
33062
33063 \series bold
33064
33065 \backslash
33066 usepackage[options]{package name}
33067 \end_layout
33068
33069 \begin_layout Standard
33070 All \SpecialChar LaTeX
33071  commands begin with a backslash, the command argument is set within
33072  two braces and the options are set within two brackets.
33073  Note that not all commands have an argument and options.
33074 \end_layout
33075
33076 \begin_layout Standard
33077 In your case the package name is 
33078 \series bold
33079 caption
33080 \series default
33081 .
33082  After a look in the documentation of the package, you know that the option
33083  
33084 \series bold
33085 labelfont=bf
33086 \series default
33087  will change the font of all caption labels to bold.
33088  So you add the command
33089 \end_layout
33090
33091 \begin_layout Standard
33092
33093 \series bold
33094
33095 \backslash
33096 usepackage[labelfont=bf]{caption}
33097 \end_layout
33098
33099 \begin_layout Standard
33100 to the preamble and the problem is solved.
33101 \begin_inset Foot
33102 status collapsed
33103
33104 \begin_layout Plain Layout
33105 For more commands provided by the 
33106 \series bold
33107 caption
33108 \series default
33109  package, have a look at its documentation, 
33110 \begin_inset CommandInset citation
33111 LatexCommand cite
33112 key "caption"
33113 literal "true"
33114
33115 \end_inset
33116
33117 .
33118 \end_layout
33119
33120 \end_inset
33121
33122
33123 \end_layout
33124
33125 \begin_layout Standard
33126 Note that some document classes have built-in solutions for well-known problems
33127  like your case.
33128  For example if you use a 
33129 \family sans
33130 KOMA-Script
33131 \family default
33132  class, you don't need the package 
33133 \series bold
33134 caption
33135 \series default
33136 , you can instead write
33137 \end_layout
33138
33139 \begin_layout Standard
33140
33141 \series bold
33142
33143 \backslash
33144 setkomafont{captionlabel}{
33145 \backslash
33146 bfseries}
33147 \end_layout
33148
33149 \begin_layout Standard
33150 in the preamble and the problem is solved.
33151  So if you plan to write a large document, you should have a look at the
33152  documentation of the document class you want to use.
33153  (
33154 \series bold
33155
33156 \backslash
33157 setkomafont
33158 \series default
33159  is an example of a command with more than one argument.)
33160 \end_layout
33161
33162 \begin_layout Standard
33163 Commands in the preamble affect the whole document, while commands in the
33164  text affect only the text after the command or only the text used as command
33165  argument.
33166  To insert a \SpecialChar LaTeX
33167 -command in text, use the \SpecialChar TeX
33168  Code box as described in the previous
33169  section.
33170 \end_layout
33171
33172 \begin_layout Standard
33173 If you want to learn more about \SpecialChar LaTeX
33174  and its syntax, have a look at the \SpecialChar LaTeX
33175 -books
33176  
33177 \begin_inset CommandInset citation
33178 LatexCommand cite
33179 key "latexcompanion,latexguide"
33180 literal "true"
33181
33182 \end_inset
33183
33184 .
33185 \end_layout
33186
33187 \begin_layout Standard
33188 \begin_inset Newpage clearpage
33189 \end_inset
33190
33191
33192 \end_layout
33193
33194 \begin_layout Standard
33195 \begin_inset ERT
33196 status collapsed
33197
33198 \begin_layout Plain Layout
33199
33200
33201 \backslash
33202 pagestyle{fancy}
33203 \end_layout
33204
33205 \end_inset
33206
33207
33208 \begin_inset Note Note
33209 status collapsed
33210
33211 \begin_layout Plain Layout
33212 switches temporarily to a page style with custom header and footer line
33213 \end_layout
33214
33215 \end_inset
33216
33217
33218 \end_layout
33219
33220 \begin_layout Left Header
33221 \begin_inset Argument 1
33222 status collapsed
33223
33224 \begin_layout Plain Layout
33225
33226 \end_layout
33227
33228 \end_inset
33229
33230
33231 \begin_inset ERT
33232 status collapsed
33233
33234 \begin_layout Plain Layout
33235
33236
33237 \backslash
33238 rightmark
33239 \end_layout
33240
33241 \end_inset
33242
33243
33244 \begin_inset Note Note
33245 status collapsed
33246
33247 \begin_layout Plain Layout
33248 defines the header line as described below
33249 \end_layout
33250
33251 \end_inset
33252
33253
33254 \end_layout
33255
33256 \begin_layout Center Header
33257 \begin_inset Argument 1
33258 status collapsed
33259
33260 \begin_layout Plain Layout
33261
33262 \end_layout
33263
33264 \end_inset
33265
33266
33267 \end_layout
33268
33269 \begin_layout Right Header
33270 \begin_inset Argument 1
33271 status collapsed
33272
33273 \begin_layout Plain Layout
33274 \begin_inset ERT
33275 status collapsed
33276
33277 \begin_layout Plain Layout
33278
33279
33280 \backslash
33281 leftmark
33282 \end_layout
33283
33284 \end_inset
33285
33286
33287 \end_layout
33288
33289 \end_inset
33290
33291
33292 \end_layout
33293
33294 \begin_layout Left Footer
33295 \begin_inset Argument 1
33296 status collapsed
33297
33298 \begin_layout Plain Layout
33299 \begin_inset ERT
33300 status collapsed
33301
33302 \begin_layout Plain Layout
33303
33304
33305 \backslash
33306 thepage
33307 \end_layout
33308
33309 \end_inset
33310
33311
33312 \end_layout
33313
33314 \end_inset
33315
33316
33317 \end_layout
33318
33319 \begin_layout Center Footer
33320 \begin_inset Argument 1
33321 status collapsed
33322
33323 \begin_layout Plain Layout
33324
33325 \family sans
33326 \series bold
33327 \color red
33328 \SpecialChar LyX
33329 's user guide
33330 \end_layout
33331
33332 \end_inset
33333
33334 Magic code:
33335 \begin_inset Newline newline
33336 \end_inset
33337
33338
33339 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
33340 \end_inset
33341
33342
33343 \end_layout
33344
33345 \begin_layout Right Footer
33346 \begin_inset Argument 1
33347 status collapsed
33348
33349 \begin_layout Plain Layout
33350
33351 \end_layout
33352
33353 \end_inset
33354
33355
33356 \begin_inset ERT
33357 status collapsed
33358
33359 \begin_layout Plain Layout
33360
33361
33362 \backslash
33363 Roman{page}
33364 \end_layout
33365
33366 \end_inset
33367
33368
33369 \end_layout
33370
33371 \begin_layout Section
33372 Customized Page Headers and Footers
33373 \begin_inset CommandInset label
33374 LatexCommand label
33375 name "sec:Customized-Page-Headers"
33376
33377 \end_inset
33378
33379
33380 \begin_inset Index idx
33381 status collapsed
33382
33383 \begin_layout Plain Layout
33384 Document ! Header/Footer line
33385 \end_layout
33386
33387 \end_inset
33388
33389
33390 \begin_inset Index idx
33391 status collapsed
33392
33393 \begin_layout Plain Layout
33394 Header/Footer line
33395 \end_layout
33396
33397 \end_inset
33398
33399
33400 \end_layout
33401
33402 \begin_layout Standard
33403 To define a custom page header and footer line for your document, you need
33404  to set the 
33405 \family sans
33406 Page
33407 \begin_inset space ~
33408 \end_inset
33409
33410 style
33411 \family default
33412  to 
33413 \family sans
33414 Fancy
33415 \family default
33416  in the 
33417 \family sans
33418 Document\SpecialChar menuseparator
33419 Settings
33420 \family default
33421  dialog under 
33422 \family sans
33423 Page
33424 \begin_inset space ~
33425 \end_inset
33426
33427 Layout
33428 \family default
33429 .
33430  As a second step add in the menu 
33431 \family sans
33432 Document\SpecialChar menuseparator
33433 Settings\SpecialChar menuseparator
33434 Modules
33435 \family default
33436  the module 
33437 \begin_inset Quotes eld
33438 \end_inset
33439
33440
33441 \emph on
33442 Custom Header/Footerlines
33443 \emph default
33444
33445 \begin_inset Quotes erd
33446 \end_inset
33447
33448 .
33449  This module offers the following 6
33450 \begin_inset space ~
33451 \end_inset
33452
33453 environments:
33454 \end_layout
33455
33456 \begin_layout Description
33457 Left
33458 \begin_inset space ~
33459 \end_inset
33460
33461 Header,
33462 \begin_inset space ~
33463 \end_inset
33464
33465 Center
33466 \begin_inset space ~
33467 \end_inset
33468
33469 Header,
33470 \begin_inset space ~
33471 \end_inset
33472
33473 Right
33474 \begin_inset space ~
33475 \end_inset
33476
33477 Header
33478 \end_layout
33479
33480 \begin_layout Description
33481 Left
33482 \begin_inset space ~
33483 \end_inset
33484
33485 Footer,
33486 \begin_inset space ~
33487 \end_inset
33488
33489 Center
33490 \begin_inset space ~
33491 \end_inset
33492
33493 Footer,
33494 \begin_inset space ~
33495 \end_inset
33496
33497 Right
33498 \begin_inset space ~
33499 \end_inset
33500
33501 Footer
33502 \end_layout
33503
33504 \begin_layout Standard
33505 for the different positions in the header/footer.
33506  These environments can be selected in the environment pull-down box.
33507 \end_layout
33508
33509 \begin_layout Standard
33510 Normally, headers and footers are set up at the beginning of the document.
33511  But you can change them anywhere you want to.
33512  Figure
33513 \begin_inset space ~
33514 \end_inset
33515
33516
33517 \begin_inset CommandInset ref
33518 LatexCommand ref
33519 reference "fig:Page-layout"
33520
33521 \end_inset
33522
33523  shows the page layout and where the header/footer styles will appear.
33524 \end_layout
33525
33526 \begin_layout Standard
33527 \begin_inset Float figure
33528 placement h
33529 wide false
33530 sideways false
33531 status open
33532
33533 \begin_layout Plain Layout
33534 \noindent
33535 \align center
33536 \begin_inset Tabular
33537 <lyxtabular version="3" rows="5" columns="3">
33538 <features tabularvalignment="middle">
33539 <column alignment="left" valignment="top" width="30line%">
33540 <column alignment="center" valignment="top" width="30line%">
33541 <column alignment="right" valignment="top" width="30line%">
33542 <row>
33543 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
33544 \begin_inset Text
33545
33546 \begin_layout Plain Layout
33547 Left Header
33548 \end_layout
33549
33550 \end_inset
33551 </cell>
33552 <cell alignment="center" valignment="top" topline="true" usebox="none">
33553 \begin_inset Text
33554
33555 \begin_layout Plain Layout
33556 Center Header
33557 \end_layout
33558
33559 \end_inset
33560 </cell>
33561 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
33562 \begin_inset Text
33563
33564 \begin_layout Plain Layout
33565 Right Header
33566 \end_layout
33567
33568 \end_inset
33569 </cell>
33570 </row>
33571 <row>
33572 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33573 \begin_inset Text
33574
33575 \begin_layout Plain Layout
33576
33577 \end_layout
33578
33579 \end_inset
33580 </cell>
33581 <cell alignment="center" valignment="top" usebox="none">
33582 \begin_inset Text
33583
33584 \begin_layout Plain Layout
33585
33586 \end_layout
33587
33588 \end_inset
33589 </cell>
33590 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33591 \begin_inset Text
33592
33593 \begin_layout Plain Layout
33594
33595 \end_layout
33596
33597 \end_inset
33598 </cell>
33599 </row>
33600 <row>
33601 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
33602 \begin_inset Text
33603
33604 \begin_layout Plain Layout
33605 The normal text on the page goes here.
33606  The running header is above the text, and the footer is below (including
33607  footnotes).
33608  Headers/footers typically contain things like the page number, title of
33609  the chapter, company logo but you can use almost anything, except of floats.
33610 \end_layout
33611
33612 \end_inset
33613 </cell>
33614 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
33615 \begin_inset Text
33616
33617 \begin_layout Plain Layout
33618
33619 \end_layout
33620
33621 \end_inset
33622 </cell>
33623 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
33624 \begin_inset Text
33625
33626 \begin_layout Plain Layout
33627
33628 \end_layout
33629
33630 \end_inset
33631 </cell>
33632 </row>
33633 <row>
33634 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33635 \begin_inset Text
33636
33637 \begin_layout Plain Layout
33638
33639 \end_layout
33640
33641 \end_inset
33642 </cell>
33643 <cell alignment="center" valignment="top" usebox="none">
33644 \begin_inset Text
33645
33646 \begin_layout Plain Layout
33647
33648 \end_layout
33649
33650 \end_inset
33651 </cell>
33652 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33653 \begin_inset Text
33654
33655 \begin_layout Plain Layout
33656
33657 \end_layout
33658
33659 \end_inset
33660 </cell>
33661 </row>
33662 <row>
33663 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
33664 \begin_inset Text
33665
33666 \begin_layout Plain Layout
33667 Left Footer
33668 \end_layout
33669
33670 \end_inset
33671 </cell>
33672 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
33673 \begin_inset Text
33674
33675 \begin_layout Plain Layout
33676 Center Footer
33677 \end_layout
33678
33679 \end_inset
33680 </cell>
33681 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
33682 \begin_inset Text
33683
33684 \begin_layout Plain Layout
33685 Right Footer
33686 \end_layout
33687
33688 \end_inset
33689 </cell>
33690 </row>
33691 </lyxtabular>
33692
33693 \end_inset
33694
33695
33696 \end_layout
33697
33698 \begin_layout Plain Layout
33699 \begin_inset Caption Standard
33700
33701 \begin_layout Plain Layout
33702 \begin_inset CommandInset label
33703 LatexCommand label
33704 name "fig:Page-layout"
33705
33706 \end_inset
33707
33708 Page layout with custom header and footer line.
33709 \end_layout
33710
33711 \end_inset
33712
33713
33714 \end_layout
33715
33716 \end_inset
33717
33718
33719 \end_layout
33720
33721 \begin_layout Standard
33722 \begin_inset Note Greyedout
33723 status open
33724
33725 \begin_layout Plain Layout
33726
33727 \series bold
33728 Note
33729 \series default
33730 : some document classes implement their own customized page headers and
33731  footers if 
33732 \family sans
33733 Page
33734 \begin_inset space ~
33735 \end_inset
33736
33737 style
33738 \family default
33739  is set to “Default”.
33740  Check what these are before you specify your own customized page headers
33741  and footers.
33742 \end_layout
33743
33744 \end_inset
33745
33746
33747 \end_layout
33748
33749 \begin_layout Subsection
33750 Definition
33751 \end_layout
33752
33753 \begin_layout Standard
33754 To define your header line, add all three header environments.
33755  The things you add to each environment appear on odd numbered pages, the
33756  things in the optional arguments on even numbered pages.
33757  For single-sided documents, the optional arguments will not be used and
33758  can be omitted.
33759  If you leave a header environment or its argument empty, nothing appears
33760  in the output.
33761  Defining the footer line works similarly.
33762 \end_layout
33763
33764 \begin_layout Standard
33765 For the definition, you will need some \SpecialChar LaTeX
33766 -commands that are inserted as \SpecialChar TeX
33767  code
33768  (menu 
33769 \family sans
33770 Insert\SpecialChar menuseparator
33771 TeX
33772 \begin_inset space ~
33773 \end_inset
33774
33775 Code
33776 \family default
33777 ):
33778 \end_layout
33779
33780 \begin_layout Description
33781
33782 \backslash
33783 thepage prints the current page number
33784 \end_layout
33785
33786 \begin_layout Description
33787
33788 \backslash
33789 Roman{page} prints the current page number with capital roman numerals
33790 \end_layout
33791
33792 \begin_layout Description
33793
33794 \backslash
33795 roman{page} prints the current page number with small roman numerals
33796 \end_layout
33797
33798 \begin_layout Description
33799
33800 \backslash
33801 leftmark prints the current section number and title.
33802  If the document has chapters, it prints the current chapter number and
33803  title instead.
33804  It is called 
33805 \begin_inset Quotes eld
33806 \end_inset
33807
33808 leftmark
33809 \begin_inset Quotes prd
33810 \end_inset
33811
33812  because it usually goes in a left header.
33813 \end_layout
33814
33815 \begin_layout Description
33816
33817 \backslash
33818 rightmark prints the current subsection number and title.
33819  If the document has chapters, it prints the current section number and
33820  title instead.
33821  It is normally used in the right header.
33822 \end_layout
33823
33824 \begin_layout Subsection
33825 Default header/footer
33826 \end_layout
33827
33828 \begin_layout Standard
33829 The custom header/footer is not empty by default.
33830  The default header contains the chapter and section title and the center
33831  footer has the page number.
33832  In order to remove unwanted entries from the header/footer, include the
33833  relevant header/footer style in your document, but leave it blank.
33834  So, if you do not want a page number in the footer, include a blank 
33835 \family sans
33836 Center
33837 \begin_inset space ~
33838 \end_inset
33839
33840 Footer
33841 \family default
33842  style.
33843 \end_layout
33844
33845 \begin_layout Subsection
33846 Appearance
33847 \end_layout
33848
33849 \begin_layout Standard
33850 The header and footer will appear on normal pages.
33851  Some pages are different.
33852  The title page has a header/footer environment of its own, and so does
33853  any page that starts a new part or chapter in your book.
33854  Such pages will not have the custom headers/footers, but that is normal.
33855  There is for example no need to print a header with the chapter name on
33856  the chapter page where the chapter heading is in big bold letters anyway.
33857 \end_layout
33858
33859 \begin_layout Subsubsection
33860 Header and footer decoration line
33861 \end_layout
33862
33863 \begin_layout Standard
33864 By default, you get a 0.4
33865 \begin_inset space \thinspace{}
33866 \end_inset
33867
33868 pt thick line below the header and no footer line.
33869  This can be changed in the document preamble with the commands 
33870 \series bold
33871
33872 \backslash
33873 headrulewidth
33874 \series default
33875  and 
33876 \series bold
33877
33878 \backslash
33879 footrulewidth
33880 \series default
33881  in the following way:
33882 \end_layout
33883
33884 \begin_layout Standard
33885
33886 \series bold
33887
33888 \backslash
33889 renewcommand{
33890 \backslash
33891 headrulewidth}{thickness}
33892 \end_layout
33893
33894 \begin_layout Standard
33895 where thickness is a size in standard units like 
33896 \family sans
33897 \emph on
33898 pt
33899 \family default
33900 \emph default
33901  or 
33902 \family sans
33903 \emph on
33904 mm
33905 \family default
33906 \emph default
33907 .
33908  If you don't want a line, set the thickness to 0
33909 \begin_inset space \thinspace{}
33910 \end_inset
33911
33912 pt.
33913 \end_layout
33914
33915 \begin_layout Standard
33916 The lines can also be colored, but this requires more knowledge of \SpecialChar LaTeX
33917 .
33918  If you really need this, have a look at the Internet or in section
33919 \begin_inset space ~
33920 \end_inset
33921
33922 4.4 of the book 
33923 \begin_inset CommandInset citation
33924 LatexCommand cite
33925 key "Mittelbach"
33926 literal "true"
33927
33928 \end_inset
33929
33930 .
33931 \end_layout
33932
33933 \begin_layout Subsubsection
33934 Several header/footer lines
33935 \end_layout
33936
33937 \begin_layout Standard
33938 In case you need more than one text line as a header/footer, you can do
33939  this by adding a ragged line break in the style definition.
33940  However, the default height of the header/footer is only the height of
33941  one text line.
33942  To expand the height, redefine the \SpecialChar LaTeX
33943  length 
33944 \series bold
33945
33946 \backslash
33947 headheight
33948 \series default
33949  or 
33950 \series bold
33951
33952 \backslash
33953 footheight
33954 \series default
33955  with this entry in 
33956 \family sans
33957 Document\SpecialChar menuseparator
33958 Settings\SpecialChar menuseparator
33959 LaTeX
33960 \begin_inset space ~
33961 \end_inset
33962
33963 Preamble
33964 \family default
33965 :
33966 \end_layout
33967
33968 \begin_layout Standard
33969
33970 \series bold
33971
33972 \backslash
33973 setlength{
33974 \backslash
33975 headheight}{height}
33976 \end_layout
33977
33978 \begin_layout Standard
33979 where 
33980 \series bold
33981 height
33982 \series default
33983  is a size in standard units (e.
33984 \begin_inset space \thinspace{}
33985 \end_inset
33986
33987 g.
33988 \begin_inset space \space{}
33989 \end_inset
33990
33991
33992 \series bold
33993 1cm
33994 \series default
33995 ).
33996  If you don't know how much space is needed for the height, define your
33997  header/footer and preview your document as a PDF.
33998  Then open the \SpecialChar LaTeX
33999  logfile with the menu 
34000 \family sans
34001 Document\SpecialChar menuseparator
34002 LaTeX
34003 \begin_inset space ~
34004 \end_inset
34005
34006 Log
34007 \family default
34008  and use the button 
34009 \family sans
34010 Next
34011 \begin_inset space ~
34012 \end_inset
34013
34014 Warning
34015 \family default
34016  to see if you can find a warning about the package 
34017 \series bold
34018 fancyhdr
34019 \series default
34020
34021 \begin_inset Index idx
34022 status collapsed
34023
34024 \begin_layout Plain Layout
34025 \SpecialChar LaTeX
34026  packages ! fancyhdr
34027 \end_layout
34028
34029 \end_inset
34030
34031 .
34032  If there is such a warning, it contains the space that you need at least
34033  for your header/footer.
34034 \end_layout
34035
34036 \begin_layout Subsection
34037 This example
34038 \end_layout
34039
34040 \begin_layout Standard
34041 This example demonstrates what can be done with custom header/footers.
34042  Don't use it for your document as it is just an example.
34043  This example consists of the following definition:
34044 \end_layout
34045
34046 \begin_layout Description
34047 Left
34048 \begin_inset space ~
34049 \end_inset
34050
34051 Header 
34052 \series bold
34053
34054 \backslash
34055 rightmark
34056 \series default
34057 , empty optional argument
34058 \end_layout
34059
34060 \begin_layout Description
34061 Center
34062 \begin_inset space ~
34063 \end_inset
34064
34065 Header empty, empty optional argument
34066 \end_layout
34067
34068 \begin_layout Description
34069 Right
34070 \begin_inset space ~
34071 \end_inset
34072
34073 Header empty, 
34074 \series bold
34075
34076 \backslash
34077 leftmark
34078 \series default
34079  in the optional argument
34080 \end_layout
34081
34082 \begin_layout Description
34083 Left
34084 \begin_inset space ~
34085 \end_inset
34086
34087 Footer empty, 
34088 \series bold
34089
34090 \backslash
34091 thepage
34092 \series default
34093  in the optional argument
34094 \end_layout
34095
34096 \begin_layout Description
34097 Center
34098 \begin_inset space ~
34099 \end_inset
34100
34101 Footer 
34102 \family sans
34103 \series bold
34104 \color red
34105 \SpecialChar LyX
34106 's user guide
34107 \family default
34108 \series default
34109 \color inherit
34110
34111 \begin_inset Quotes eld
34112 \end_inset
34113
34114 Magic code:
34115 \begin_inset Newline newline
34116 \end_inset
34117
34118
34119 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
34120 \end_inset
34121
34122
34123 \begin_inset Quotes erd
34124 \end_inset
34125
34126  in the optional argument
34127 \end_layout
34128
34129 \begin_layout Description
34130 Right
34131 \begin_inset space ~
34132 \end_inset
34133
34134 Footer 
34135 \series bold
34136
34137 \backslash
34138 Roman{page}
34139 \series default
34140 , empty optional argument
34141 \end_layout
34142
34143 \begin_layout Description
34144
34145 \backslash
34146 headrulewidth set to 2
34147 \begin_inset space \thinspace{}
34148 \end_inset
34149
34150 pt
34151 \end_layout
34152
34153 \begin_layout Standard
34154 In principle you can use almost everything in headers/footers, except floats.
34155  For more specialized features, for example, thumb-indexes, see the manual
34156  of the 
34157 \series bold
34158 fancyhdr
34159 \series default
34160  package, 
34161 \begin_inset CommandInset citation
34162 LatexCommand cite
34163 key "fancyhdr"
34164 literal "true"
34165
34166 \end_inset
34167
34168 .
34169 \end_layout
34170
34171 \begin_layout Standard
34172 \begin_inset Newpage clearpage
34173 \end_inset
34174
34175
34176 \end_layout
34177
34178 \begin_layout Standard
34179 \begin_inset ERT
34180 status open
34181
34182 \begin_layout Plain Layout
34183
34184
34185 \backslash
34186 pagestyle{headings}
34187 \end_layout
34188
34189 \end_inset
34190
34191
34192 \begin_inset Note Note
34193 status collapsed
34194
34195 \begin_layout Plain Layout
34196 switches back to page style with the default headings
34197 \end_layout
34198
34199 \end_inset
34200
34201
34202 \end_layout
34203
34204 \begin_layout Section
34205 Previewing Snippets of your Document
34206 \begin_inset CommandInset label
34207 LatexCommand label
34208 name "sec:Previewing-snippets-of"
34209
34210 \end_inset
34211
34212
34213 \begin_inset Index idx
34214 status collapsed
34215
34216 \begin_layout Plain Layout
34217 Instant preview
34218 \end_layout
34219
34220 \end_inset
34221
34222
34223 \begin_inset Index idx
34224 status collapsed
34225
34226 \begin_layout Plain Layout
34227 Document ! Preview
34228 \end_layout
34229
34230 \end_inset
34231
34232
34233 \end_layout
34234
34235 \begin_layout Standard
34236 \SpecialChar LyX
34237  allows you to generate previews of sections of your document on the fly
34238  so you can see how they will look in the final document without having
34239  to break your train of thought with viewing the output.
34240 \end_layout
34241
34242 \begin_layout Subsection
34243 Prerequisites
34244 \end_layout
34245
34246 \begin_layout Standard
34247 To get previews working, you need the \SpecialChar LaTeX
34248  package 
34249 \series bold
34250 preview-latex
34251 \series default
34252
34253 \begin_inset Index idx
34254 status collapsed
34255
34256 \begin_layout Plain Layout
34257 \SpecialChar LaTeX
34258  packages ! preview-latex
34259 \end_layout
34260
34261 \end_inset
34262
34263  (on some systems named simply 
34264 \series bold
34265 preview
34266 \series default
34267 ) installed.
34268  If it is not already installed, you will find it in the \SpecialChar TeX
34269 -catalogue, 
34270 \begin_inset CommandInset citation
34271 LatexCommand cite
34272 key "TeXCatalogue"
34273 literal "true"
34274
34275 \end_inset
34276
34277  or in the package manager of your \SpecialChar LaTeX
34278 -system.
34279  You obtain prettier results if you install the program 
34280 \family typewriter
34281 pnmcrop
34282 \family default
34283  from the 
34284 \family typewriter
34285 netpbm
34286 \family default
34287  package; for \SpecialChar LyX
34288  on Windows this program and also the \SpecialChar LaTeX
34289 -package are automatically
34290  installed together with \SpecialChar LyX
34291 .
34292 \end_layout
34293
34294 \begin_layout Subsection
34295 Enabling previews
34296 \end_layout
34297
34298 \begin_layout Standard
34299 If you would for example like to see in \SpecialChar LyX
34300  your math formulas typeset by \SpecialChar LaTeX
34301 ,
34302  activate the option 
34303 \family sans
34304 Display
34305 \begin_inset space ~
34306 \end_inset
34307
34308 Graphics
34309 \family default
34310  in the 
34311 \family sans
34312 Tools\SpecialChar menuseparator
34313 Preferences 
34314 \family default
34315 dialog under 
34316 \family sans
34317 Look
34318 \begin_inset space ~
34319 \end_inset
34320
34321 and
34322 \begin_inset space ~
34323 \end_inset
34324
34325 feel\SpecialChar menuseparator
34326 Display
34327 \family default
34328 .
34329  Then set 
34330 \family sans
34331 Instant
34332 \begin_inset space ~
34333 \end_inset
34334
34335 Preview
34336 \family default
34337  to 
34338 \family sans
34339 On
34340 \family default
34341 .
34342  The 
34343 \family sans
34344 Preview
34345 \begin_inset space ~
34346 \end_inset
34347
34348 Size
34349 \family default
34350  is the multiplication factor for the size.
34351 \end_layout
34352
34353 \begin_layout Standard
34354 If you would like to see everything but your math formulas typeset by \SpecialChar LaTeX
34355 ,
34356  set 
34357 \family sans
34358 Instant
34359 \begin_inset space ~
34360 \end_inset
34361
34362 Preview
34363 \family default
34364  to 
34365 \family sans
34366 No
34367 \begin_inset space ~
34368 \end_inset
34369
34370 math
34371 \family default
34372 .
34373 \end_layout
34374
34375 \begin_layout Standard
34376 Previews are generated when you load a document into \SpecialChar LyX
34377  and when you finish
34378  editing an inset.
34379 \end_layout
34380
34381 \begin_layout Standard
34382 \begin_inset Note Greyedout
34383 status open
34384
34385 \begin_layout Plain Layout
34386
34387 \series bold
34388 Note:
34389 \series default
34390  Previews of an already loaded document are not in every case immediately
34391  generated by activating the option 
34392 \family sans
34393 Display
34394 \begin_inset space ~
34395 \end_inset
34396
34397 Graphics
34398 \family default
34399 .
34400  Reopening the document will fix such problems.
34401 \end_layout
34402
34403 \end_inset
34404
34405
34406 \end_layout
34407
34408 \begin_layout Subsection
34409 Selected document parts
34410 \end_layout
34411
34412 \begin_layout Standard
34413 Besides math there are other cases where you might like to see a preview,
34414  for example things that \SpecialChar LyX
34415  cannot render like rotated parts or things that
34416  are not yet supported by \SpecialChar LyX
34417 .
34418  To do this, insert a preview inset via the menu 
34419 \family sans
34420 Insert\SpecialChar menuseparator
34421 Preview
34422 \family default
34423 .
34424  Insert or paste the stuff that you want to preview into this inset.
34425  The preview will be generated when the cursor is outside the preview inset.
34426  If you click on the preview, you can edit the previewed stuff.
34427 \end_layout
34428
34429 \begin_layout Standard
34430 An example: To create rotated boxes, you use the \SpecialChar LaTeX
34431  command 
34432 \series bold
34433
34434 \backslash
34435 rotatebox
34436 \series default
34437  which is not yet supported by \SpecialChar LyX
34438 .
34439 \begin_inset Foot
34440 status collapsed
34441
34442 \begin_layout Plain Layout
34443
34444 \series bold
34445
34446 \backslash
34447 rotatebox
34448 \series default
34449  is explained in section 
34450 \emph on
34451 Rotated and Scaled Boxes
34452 \emph default
34453  of the 
34454 \emph on
34455 Embedded
34456 \begin_inset space ~
34457 \end_inset
34458
34459 Objects
34460 \emph default
34461  manual.
34462 \end_layout
34463
34464 \end_inset
34465
34466  Instead of the \SpecialChar TeX
34467  Code boxes you want to see in \SpecialChar LyX
34468  the final rotated boxes,
34469  for example to adjust the rotation angle to fit with the surrounding text.
34470  Therefore you create a preview inset and copy the text with the rotated
34471  boxes into it.
34472  Here is the result:
34473 \end_layout
34474
34475 \begin_layout Standard
34476 \begin_inset Preview
34477
34478 \begin_layout Standard
34479 This is a line
34480 \begin_inset ERT
34481 status collapsed
34482
34483 \begin_layout Plain Layout
34484
34485
34486 \backslash
34487 rotatebox[origin=r]{-60}{
34488 \end_layout
34489
34490 \end_inset
34491
34492
34493 \begin_inset Box Doublebox
34494 position "c"
34495 hor_pos "c"
34496 has_inner_box 0
34497 inner_pos "c"
34498 use_parbox 0
34499 use_makebox 0
34500 width "1in"
34501 special "width"
34502 height "1in"
34503 height_special "totalheight"
34504 thickness "0.4pt"
34505 separation "3pt"
34506 shadowsize "4pt"
34507 framecolor "black"
34508 backgroundcolor "none"
34509 status collapsed
34510
34511 \begin_layout Plain Layout
34512 with rotated
34513 \end_layout
34514
34515 \end_inset
34516
34517
34518 \begin_inset ERT
34519 status collapsed
34520
34521 \begin_layout Plain Layout
34522
34523 }
34524 \end_layout
34525
34526 \end_inset
34527
34528  framed text 
34529 \begin_inset ERT
34530 status collapsed
34531
34532 \begin_layout Plain Layout
34533
34534
34535 \backslash
34536 rotatebox[origin=lb]{60}{
34537 \end_layout
34538
34539 \end_inset
34540
34541
34542 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34543 \end_inset
34544
34545
34546 \begin_inset ERT
34547 status collapsed
34548
34549 \begin_layout Plain Layout
34550
34551 }
34552 \end_layout
34553
34554 \end_inset
34555
34556  and a formula.
34557 \end_layout
34558
34559 \end_inset
34560
34561
34562 \end_layout
34563
34564 \begin_layout Standard
34565 Previewing works also for colors.
34566  In this example a special framed, colored box was created using the \SpecialChar LaTeX
34567  command
34568  
34569 \series bold
34570
34571 \backslash
34572 fcolorbox
34573 \series default
34574 :
34575 \begin_inset Foot
34576 status collapsed
34577
34578 \begin_layout Plain Layout
34579
34580 \series bold
34581
34582 \backslash
34583 fcolorbox
34584 \series default
34585  is explained in section 
34586 \emph on
34587 Colored Boxes
34588 \emph default
34589  of the 
34590 \emph on
34591 Embedded
34592 \begin_inset space ~
34593 \end_inset
34594
34595 Objects
34596 \emph default
34597  manual.
34598 \end_layout
34599
34600 \end_inset
34601
34602
34603 \end_layout
34604
34605 \begin_layout Standard
34606 \begin_inset Preview
34607
34608 \begin_layout Standard
34609 \begin_inset ERT
34610 status collapsed
34611
34612 \begin_layout Plain Layout
34613
34614
34615 \backslash
34616 fboxrule 1mm 
34617 \backslash
34618 fboxsep 1mm
34619 \end_layout
34620
34621 \end_inset
34622
34623
34624 \begin_inset ERT
34625 status collapsed
34626
34627 \begin_layout Plain Layout
34628
34629
34630 \backslash
34631 fcolorbox{cyan}{magenta}{
34632 \end_layout
34633
34634 \end_inset
34635
34636 This is text within a colored, framed box.
34637 \begin_inset ERT
34638 status collapsed
34639
34640 \begin_layout Plain Layout
34641
34642 }
34643 \end_layout
34644
34645 \end_inset
34646
34647
34648 \end_layout
34649
34650 \end_inset
34651
34652
34653 \end_layout
34654
34655 \begin_layout Standard
34656 \begin_inset VSpace medskip
34657 \end_inset
34658
34659
34660 \end_layout
34661
34662 \begin_layout Standard
34663 If \SpecialChar LyX
34664  does not show a preview, make sure that you enabled previews as described
34665  above and also make sure that \SpecialChar TeX
34666  Code in the preview inset is valid and that
34667  you loaded the \SpecialChar LaTeX
34668  packages in your document preamble that are required by
34669  the \SpecialChar TeX
34670  Code.
34671  If \SpecialChar LyX
34672  cannot create a preview, you will in most cases also not be able to
34673  view your document due to \SpecialChar LaTeX
34674  errors.
34675  So if you have to use some \SpecialChar TeX
34676  Code and don't know if it is correct, the preview
34677  inset is a nice method to check it without the need to view the whole document.
34678 \end_layout
34679
34680 \begin_layout Subsection
34681 \SpecialChar LaTeX
34682  source code
34683 \end_layout
34684
34685 \begin_layout Standard
34686 You can preview the \SpecialChar LaTeX
34687  source of the whole document or parts of it.
34688  Use the menu 
34689 \family sans
34690 View\SpecialChar menuseparator
34691 Source
34692 \begin_inset space ~
34693 \end_inset
34694
34695 Pane
34696 \family default
34697  and a window will be shown where you can see the \SpecialChar LaTeX
34698 -source code.
34699  The window shows the source of the whole paragraph in which the cursor
34700  currently sits.
34701  You can also select document parts in \SpecialChar LyX
34702 's main window, then only this selection
34703  (when it is more than one paragraph) is shown as source code.
34704  To view the whole document as source, enable the corresponding option in
34705  the source view window.
34706  If you check 
34707 \family sans
34708 Automatic update
34709 \family default
34710 , you can see the changes as you make them in \SpecialChar LyX
34711 ; but note that if you have
34712  several documents open, this will slow things down as \SpecialChar LyX
34713  updates them all,
34714  not just the one which is open at the time.
34715 \end_layout
34716
34717 \begin_layout Section
34718 Advanced Find and Replace
34719 \begin_inset CommandInset label
34720 LatexCommand label
34721 name "sec:Advanced-Find-and"
34722
34723 \end_inset
34724
34725
34726 \begin_inset Index idx
34727 status collapsed
34728
34729 \begin_layout Plain Layout
34730 Replace
34731 \end_layout
34732
34733 \end_inset
34734
34735
34736 \begin_inset Index idx
34737 status collapsed
34738
34739 \begin_layout Plain Layout
34740 Find
34741 \end_layout
34742
34743 \end_inset
34744
34745
34746 \end_layout
34747
34748 \begin_layout Subsection
34749 Introduction
34750 \end_layout
34751
34752 \begin_layout Standard
34753 The advanced find and replace feature of \SpecialChar LyX
34754  allows for searching of complex,
34755  format-sensitive text segments and mathematics contents within \SpecialChar LyX
34756  documents.
34757  It is an enhancement of the standard (quick) find and replace feature.
34758  The key-features are:
34759 \end_layout
34760
34761 \begin_layout Itemize
34762 Both searching of text and of mathematical formulas is allowed, where the
34763  latter is done by entering mathematics in the usual way; not only entire
34764  mathematical formulas are found, but also parts occurring within more complex
34765  formulas
34766 \end_layout
34767
34768 \begin_layout Itemize
34769 Search may be format-insensitive, so that the searched text is found in
34770  any context/style (standard text, section headings, notes, and even mathematics
34771 ), or it may be format-sensitive, so that, for example, a word entered with
34772  a section heading will only be found within section headings
34773 \end_layout
34774
34775 \begin_layout Itemize
34776 Search may be restricted to mathematics environments only; this is useful
34777  for remangling math notation where one does not want to match any text
34778  outside of mathematics environments
34779 \end_layout
34780
34781 \begin_layout Itemize
34782 Search may be widened to a specific 
34783 \emph on
34784 scope
34785 \emph default
34786 , i.
34787 \begin_inset space \thinspace{}
34788 \end_inset
34789
34790 e.
34791 \begin_inset space ~
34792 \end_inset
34793
34794 a set of files which may be all the children of the document being edited,
34795  all the open files, or all the manuals available from the 
34796 \family sans
34797 Help
34798 \family default
34799  menu
34800 \end_layout
34801
34802 \begin_layout Itemize
34803 Replace may optionally preserve capitalization, so that the replaced text
34804  capitalization is adapted to the matching text (i.
34805 \begin_inset space \thinspace{}
34806 \end_inset
34807
34808 e.
34809 \begin_inset space ~
34810 \end_inset
34811
34812 all lowercase, all uppercase, first letter uppercase followed by lowercase)
34813 \end_layout
34814
34815 \begin_layout Subsection
34816 Basic usage
34817 \end_layout
34818
34819 \begin_layout Standard
34820 The advanced find and replace feature is activated through the menu 
34821 \family sans
34822 Edit\SpecialChar menuseparator
34823 Find & Replace
34824 \noun on
34825  (
34826 \noun default
34827 Advanced
34828 \noun on
34829 )
34830 \family default
34831 \noun default
34832  (shortcut 
34833 \begin_inset Info
34834 type  "shortcut"
34835 arg   "dialog-show findreplaceadv"
34836 \end_inset
34837
34838 ) or the toolbar button 
34839 \begin_inset Info
34840 type  "icon"
34841 arg   "dialog-toggle findreplaceadv"
34842 \end_inset
34843
34844 .
34845  This opens the 
34846 \family sans
34847 Advanced Find and Replace
34848 \family default
34849  dialog.
34850 \end_layout
34851
34852 \begin_layout Subsubsection
34853 Searching for text
34854 \end_layout
34855
34856 \begin_layout Standard
34857 Enter into the 
34858 \family sans
34859 Find
34860 \family default
34861  \SpecialChar LyX
34862  mini-editor a simple word, and search for occurrences of it by clicking
34863  on the 
34864 \family sans
34865 Find
34866 \begin_inset space ~
34867 \end_inset
34868
34869 Next
34870 \family default
34871  button at the bottom of the dialog (or just press the 
34872 \begin_inset Info
34873 type  "shortcut"
34874 arg   "paragraph-break"
34875 \end_inset
34876
34877  key).
34878  The entered word is found both in text mode and in math mode, and in emphasized
34879 , bold or normal face, and in both in section titles and in standard text.
34880  Pressing 
34881 \begin_inset Info
34882 type  "shortcut"
34883 arg   "paragraph-break"
34884 \end_inset
34885
34886  repeatedly keeps searching forward while pressing 
34887 \family sans
34888 Shift+Return
34889 \family default
34890  searches backwards.
34891 \end_layout
34892
34893 \begin_layout Standard
34894 The 
34895 \family sans
34896 Case
34897 \begin_inset space ~
34898 \end_inset
34899
34900 sensitive
34901 \family default
34902  option allows matches to occur only with the same case as entered in the
34903  
34904 \family sans
34905 Find
34906 \family default
34907  editor.
34908  The 
34909 \family sans
34910 Whole
34911 \begin_inset space ~
34912 \end_inset
34913
34914 words
34915 \family default
34916  option allows matches to occur only at word boundaries.
34917 \end_layout
34918
34919 \begin_layout Subsubsection
34920 Searching for mathematics
34921 \end_layout
34922
34923 \begin_layout Standard
34924 Mathematical formulas, such as 
34925 \begin_inset Formula $x^{2}$
34926 \end_inset
34927
34928  or something more complex like 
34929 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
34930 \end_inset
34931
34932 , may be searched for by typing them in the 
34933 \family sans
34934 Find
34935 \family default
34936  editor.
34937  When searching for a formula, it is found both when it is alone and when
34938  it occurs in sub-formulas and nested parts of sub-formulas.
34939  For example the mentioned segments would be found in something like 
34940 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
34941 \end_inset
34942
34943 .
34944 \end_layout
34945
34946 \begin_layout Subsubsection
34947 Style-aware search
34948 \end_layout
34949
34950 \begin_layout Standard
34951 It is also possible to search for text with specific styles.
34952  This is done by switching to the 
34953 \family sans
34954 Settings
34955 \family default
34956  tab of the dialog and unchecking the 
34957 \family sans
34958 Ignore format
34959 \family default
34960  option.
34961  This way, entering in the 
34962 \family sans
34963 Find
34964 \family default
34965  editor
34966 \end_layout
34967
34968 \begin_layout Itemize
34969 a normal word and searching for it would not find instances of the word
34970  occurring in emphasized or boldface.
34971 \end_layout
34972
34973 \begin_layout Itemize
34974 an emphasized or boldface word and searching for it would find the respective
34975  instances with the same face only, and within the same text style only.
34976 \end_layout
34977
34978 \begin_layout Itemize
34979 a normal word in a section heading, and searching for it, would find occurrences
34980  of it only within section headings.
34981  Also, if the text to search is given an emphasized or bold face, in addition
34982  to a section style, then it is found only when occurring with the same
34983  style.
34984 \end_layout
34985
34986 \begin_layout Itemize
34987 a displayed formula will only find instances of this formula that are also
34988  displayed formulas (and not inline formulas).
34989 \end_layout
34990
34991 \begin_layout Subsubsection
34992 Replace
34993 \end_layout
34994
34995 \begin_layout Standard
34996 The entries made in the 
34997 \family sans
34998 Find
34999 \family default
35000  editor can be replaced with entries made in the 
35001 \family sans
35002 Replace
35003 \begin_inset space ~
35004 \end_inset
35005
35006 with
35007 \family default
35008  editor.
35009  In order to find the next occurrence and replace it, click on the 
35010 \family sans
35011 Replace
35012 \family default
35013  button or alternatively press 
35014 \begin_inset Info
35015 type  "shortcut"
35016 arg   "paragraph-break"
35017 \end_inset
35018
35019  or 
35020 \family sans
35021 Shift+Return
35022 \family default
35023  while the cursor is in the 
35024 \family sans
35025 Replace
35026 \begin_inset space ~
35027 \end_inset
35028
35029 with
35030 \family default
35031  editor.
35032 \end_layout
35033
35034 \begin_layout Standard
35035 You can replace with fully-featured formatted \SpecialChar LyX
35036  entries.
35037  Typical scenarios in which to use this capability might be (just to mention
35038  two):
35039 \end_layout
35040
35041 \begin_layout Itemize
35042 replacing occurrences of a word with a customized formatted version of the
35043  same word, for example replacing occurrences of a name like 
35044 \begin_inset Quotes eld
35045 \end_inset
35046
35047 func()
35048 \begin_inset Quotes erd
35049 \end_inset
35050
35051  with its typewriter version 
35052 \begin_inset Quotes eld
35053 \end_inset
35054
35055
35056 \family typewriter
35057 func()
35058 \family default
35059
35060 \begin_inset Quotes erd
35061 \end_inset
35062
35063
35064 \end_layout
35065
35066 \begin_layout Itemize
35067 performing a notation rework of mathematical symbols, for example replacing
35068  occurrences of 
35069 \begin_inset Quotes eld
35070 \end_inset
35071
35072
35073 \begin_inset Formula $R$
35074 \end_inset
35075
35076
35077 \begin_inset Quotes erd
35078 \end_inset
35079
35080  with 
35081 \begin_inset Quotes eld
35082 \end_inset
35083
35084
35085 \begin_inset Formula $\mathbb{R}$
35086 \end_inset
35087
35088
35089 \begin_inset Quotes erd
35090 \end_inset
35091
35092  (you may want to enable the 
35093 \family sans
35094 Whole
35095 \begin_inset space ~
35096 \end_inset
35097
35098 words
35099 \family default
35100  and 
35101 \family sans
35102 Case
35103 \begin_inset space ~
35104 \end_inset
35105
35106 sensitive
35107 \family default
35108  options and disable the 
35109 \family sans
35110 Ignore format
35111 \family default
35112  option in the 
35113 \family sans
35114 Settings
35115 \family default
35116  tab, in order to avoid replacing all 
35117 \begin_inset Quotes eld
35118 \end_inset
35119
35120 R
35121 \begin_inset Quotes erd
35122 \end_inset
35123
35124  letters occurring in normal text), or occurrences of 
35125 \begin_inset Formula $x_{j}^{i}$
35126 \end_inset
35127
35128  with 
35129 \begin_inset Formula $x_{i,\,j}$
35130 \end_inset
35131
35132 , or occurrences of 
35133 \begin_inset Formula $x[k]$
35134 \end_inset
35135
35136  with 
35137 \begin_inset Formula $x_{k}$
35138 \end_inset
35139
35140 .
35141 \end_layout
35142
35143 \begin_layout Subsection
35144 Advanced usage
35145 \end_layout
35146
35147 \begin_layout Standard
35148 There is a regular expression (regexp) based searching facility.
35149 \begin_inset Foot
35150 status collapsed
35151
35152 \begin_layout Plain Layout
35153 A good explanation of regular expressions is given in this Wikipedia entry:
35154  
35155 \begin_inset CommandInset href
35156 LatexCommand href
35157 target "https://en.wikipedia.org/wiki/Regular_expression"
35158 literal "false"
35159
35160 \end_inset
35161
35162 .
35163 \end_layout
35164
35165 \end_inset
35166
35167  You can search for a regular expression by inserting a regexp inset into
35168  the 
35169 \family sans
35170 Find
35171 \family default
35172  editor.
35173  This is done with the context menu 
35174 \family sans
35175 Insert\SpecialChar menuseparator
35176 Insert Regular Expression
35177 \family default
35178  while the cursor is in the 
35179 \family sans
35180 Find
35181 \family default
35182  editor.
35183  Characters entered within regexp insets are matched according to the regular
35184  expression matching rules
35185 \begin_inset Foot
35186 status collapsed
35187
35188 \begin_layout Plain Layout
35189 Under the constraint that any (sub)expression must match a well-formed \SpecialChar LyX
35190
35191  segment, i.
35192 \begin_inset space \thinspace{}
35193 \end_inset
35194
35195 e.
35196 \begin_inset space ~
35197 \end_inset
35198
35199 when matching \SpecialChar LaTeX
35200  code, no segments with unbalanced {} braces are allowed to
35201  match expressions.
35202 \end_layout
35203
35204 \end_inset
35205
35206 , while text entered outside regexp insets is matched exactly against the
35207  same text in the document.
35208  You can cut and paste regexp-mode insets.
35209  Examples of using such a feature may be:
35210 \end_layout
35211
35212 \begin_layout Enumerate
35213 Searching for all fractions with a given denominator: for example, entering
35214  in the 
35215 \family sans
35216 Find
35217 \family default
35218  editor the fraction 
35219 \begin_inset Formula $\frac{.*}{1+x^{2}}$
35220 \end_inset
35221
35222  (where the 
35223 \begin_inset Formula $.*$
35224 \end_inset
35225
35226  on the numerator is the match-everything regular expression) finds all
35227  fractions with the given denominator.
35228 \end_layout
35229
35230 \begin_layout Enumerate
35231 Searching for all text with a given style: for example, after unchecking
35232  the 
35233 \family sans
35234 Ignore format
35235 \family default
35236  option from the 
35237 \family sans
35238 Settings
35239 \family default
35240  tab, entering a 
35241 \series bold
35242
35243 \begin_inset Formula $.*$
35244 \end_inset
35245
35246
35247 \series default
35248  regular expression and giving it an emphasized or bold face, finds all
35249  emphasized or bold face text respectively.
35250  Also, by inserting a 
35251 \begin_inset Formula $.*$
35252 \end_inset
35253
35254  regular expression in a bullet or enumerated list or a section heading,
35255  you can find all bullet or enumerated lists or section headings.
35256 \end_layout
35257
35258 \begin_layout Standard
35259 Finally, references to (sub)expressions in regexp may be used as usual:
35260  Enclosing parts of the expression within round braces 
35261 \begin_inset Formula $()$
35262 \end_inset
35263
35264 , and referring back to them through 
35265 \begin_inset Formula $\backslash1$
35266 \end_inset
35267
35268
35269 \begin_inset Formula $\backslash2$
35270 \end_inset
35271
35272 , etc..
35273  For example, try searching with the regexp
35274 \begin_inset Newline newline
35275 \end_inset
35276
35277 [[:space:]]([[:alpha:]]+)[[:space:]]
35278 \backslash
35279 1[[:space:]]
35280 \begin_inset Newline newline
35281 \end_inset
35282
35283 in order to find word repetitions, if there are any.
35284 \end_layout
35285
35286 \begin_layout Standard
35287 The usage of back references in the replaced text is not (yet) implemented.
35288 \end_layout
35289
35290 \begin_layout Standard
35291 \begin_inset Note Greyedout
35292 status open
35293
35294 \begin_layout Plain Layout
35295
35296 \series bold
35297 Note:
35298 \series default
35299  Back references work both when occurring within the same regexp, and when
35300  occurring in multiple different regexps, where the numbering of back-referenced
35301  sub-expressions is absolute.
35302  That is,
35303 \begin_inset space ~
35304 \end_inset
35305
35306
35307 \begin_inset Formula $\backslash1$
35308 \end_inset
35309
35310  always refers to the first occurrence of 
35311 \begin_inset Formula $()$
35312 \end_inset
35313
35314  in all entered regexps.
35315 \end_layout
35316
35317 \end_inset
35318
35319
35320 \end_layout
35321
35322 \begin_layout Section
35323 Spell Checking
35324 \begin_inset CommandInset label
35325 LatexCommand label
35326 name "sec:Spellchecking"
35327
35328 \end_inset
35329
35330
35331 \begin_inset Index idx
35332 status collapsed
35333
35334 \begin_layout Plain Layout
35335 Spell checking
35336 \end_layout
35337
35338 \end_inset
35339
35340
35341 \end_layout
35342
35343 \begin_layout Standard
35344 \SpecialChar LyX
35345  has a built-in spell checker.
35346  The menu
35347 \family sans
35348  Tools\SpecialChar menuseparator
35349 Spellchecker
35350 \family default
35351 , the 
35352 \family sans
35353 F7
35354 \family default
35355  key or the toolbar button 
35356 \begin_inset Info
35357 type  "icon"
35358 arg   "dialog-show spellchecker"
35359 \end_inset
35360
35361  start the spell checking from either the current cursor position or the
35362  beginning of the currently selected text.
35363  A sidebar will appear showing any incorrect (or unknown) word found, allowing
35364  you to edit and replace it in a second line.
35365  Whenever an unknown word is found, the word is highlighted and the text
35366  scrolled so that it is visible.
35367  In the spellchecker sidebar, there is a box showing suggestions for a correctio
35368 n, if any could be found.
35369  Clicking on one of the corrections will copy it to the 
35370 \family sans
35371 Replacement
35372 \family default
35373  field, double-clicking directly invokes the replacement.
35374  Unknown but correctly typed words can be added to the personal dictionary.
35375 \end_layout
35376
35377 \begin_layout Standard
35378 By default, the dictionary file used is determined by the document language
35379  that is set in the 
35380 \family sans
35381 Document\SpecialChar menuseparator
35382 Settings
35383 \family default
35384  dialog.
35385  You can specify the language of a word in the spellchecker dialog by choosing
35386  a different one at the top of the dialog.
35387  \SpecialChar LyX
35388  can correctly spell check documents containing multiple languages.
35389  This works if you have set the language of the text parts using the 
35390 \family sans
35391 Text
35392 \begin_inset space ~
35393 \end_inset
35394
35395 Style
35396 \family default
35397  dialog (
35398 \begin_inset Info
35399 type  "icon"
35400 arg   "dialog-show character"
35401 \end_inset
35402
35403 ) and have the spell checker dictionaries installed.
35404  \SpecialChar LyX
35405  automatically switches to the appropriate dictionary file.
35406 \end_layout
35407
35408 \begin_layout Standard
35409 All spell-checker dictionaries supported by \SpecialChar LyX
35410  can be downloaded from here:
35411 \begin_inset Newline newline
35412 \end_inset
35413
35414
35415 \begin_inset Flex URL
35416 status collapsed
35417
35418 \begin_layout Plain Layout
35419
35420 https://sourceforge.net/projects/lyxwininstaller/files/hunspell/
35421 \end_layout
35422
35423 \end_inset
35424
35425
35426 \begin_inset Newline newline
35427 \end_inset
35428
35429 There are 2
35430 \begin_inset space ~
35431 \end_inset
35432
35433 files for each language.
35434  To install a dictionary on Windows, copy the 2
35435 \begin_inset space ~
35436 \end_inset
35437
35438 files into \SpecialChar LyX
35439 's installation subfolder 
35440 \family sans
35441 ~
35442 \backslash
35443 Resources
35444 \backslash
35445 dicts
35446 \family default
35447  and restart \SpecialChar LyX
35448 .
35449 \begin_inset Newline newline
35450 \end_inset
35451
35452 With Linux one needs to install the packages for the desired language.
35453  The number of these packages vary depending on the Linux distribution,
35454  but in most cases these are 
35455 \family typewriter
35456 aspell-xx
35457 \family default
35458
35459 \family typewriter
35460 hunspell-xx
35461 \family default
35462 ,
35463 \family typewriter
35464  myspell-xx
35465 \family default
35466 , etc., where 
35467 \family sans
35468 xx
35469 \family default
35470  is the language code.
35471 \end_layout
35472
35473 \begin_layout Subsection
35474 Further Settings
35475 \end_layout
35476
35477 \begin_layout Standard
35478 In the menu 
35479 \family sans
35480 Tools\SpecialChar menuseparator
35481 Preferences\SpecialChar menuseparator
35482 Language
35483 \begin_inset space ~
35484 \end_inset
35485
35486 Settings\SpecialChar menuseparator
35487 Spellchecker
35488 \family default
35489  you can set the following things:
35490 \end_layout
35491
35492 \begin_layout Description
35493 Spellchecker
35494 \begin_inset space ~
35495 \end_inset
35496
35497 engine Select the library \SpecialChar LyX
35498  should use for spell checking.
35499  Depending on your platform, 
35500 \family typewriter
35501 hunspell
35502 \family default
35503  or 
35504 \family typewriter
35505 enchant
35506 \begin_inset Foot
35507 status collapsed
35508
35509 \begin_layout Plain Layout
35510 Enchant itself is a wrapper library having different configurable back-ends.
35511  Please consult the documentation or man-page of it to learn more.
35512 \end_layout
35513
35514 \end_inset
35515
35516
35517 \family default
35518  are available.
35519  On Windows only 
35520 \family typewriter
35521 hunspell
35522 \family default
35523  is available.
35524  \SpecialChar LyX
35525  on Mac
35526 \begin_inset space ~
35527 \end_inset
35528
35529 OS can also use Mac's own spellchecker and will use it by default.
35530 \end_layout
35531
35532 \begin_layout Description
35533 Alternative
35534 \begin_inset space ~
35535 \end_inset
35536
35537 language If this field is not empty, \SpecialChar LyX
35538  will always use the given language
35539  for the spell checking, no matter what the document language is.
35540 \end_layout
35541
35542 \begin_layout Description
35543 Escape
35544 \begin_inset space ~
35545 \end_inset
35546
35547 characters Allows you to add non-standard characters that the spell checker
35548  should escape, e.
35549 \begin_inset space \thinspace{}
35550 \end_inset
35551
35552 g.
35553 \begin_inset space \space{}
35554 \end_inset
35555
35556 German umlauts.
35557  This should normally not be needed.
35558 \end_layout
35559
35560 \begin_layout Description
35561 Accept
35562 \begin_inset space ~
35563 \end_inset
35564
35565 compound
35566 \begin_inset space ~
35567 \end_inset
35568
35569 words Prevents the spell checker from complaining about compounded words
35570  like 
35571 \begin_inset Quotes eld
35572 \end_inset
35573
35574 passthrough
35575 \begin_inset Quotes erd
35576 \end_inset
35577
35578 .
35579 \end_layout
35580
35581 \begin_layout Description
35582 Spellcheck
35583 \begin_inset space ~
35584 \end_inset
35585
35586 continuously Checks the spelling of your document as you type it.
35587  Misspelled words get underlined with a dotted red line.
35588  By right-clicking on an underlined word, suggestions from the spellchecker
35589  appear in a context menu.
35590  Choosing one of them will replace the misspelled word with the suggested
35591  word.
35592 \end_layout
35593
35594 \begin_layout Description
35595 Spellcheck
35596 \begin_inset space ~
35597 \end_inset
35598
35599 notes
35600 \begin_inset space ~
35601 \end_inset
35602
35603 and
35604 \begin_inset space ~
35605 \end_inset
35606
35607 comments If enabled, the spelling of non-printed document content is checked
35608  as well.
35609 \end_layout
35610
35611 \begin_layout Section
35612 Thesaurus
35613 \begin_inset Index idx
35614 status collapsed
35615
35616 \begin_layout Plain Layout
35617 Thesaurus
35618 \end_layout
35619
35620 \end_inset
35621
35622
35623 \begin_inset CommandInset label
35624 LatexCommand label
35625 name "sec:Thesaurus"
35626
35627 \end_inset
35628
35629
35630 \end_layout
35631
35632 \begin_layout Standard
35633 \SpecialChar LyX
35634  provides a multilingual thesaurus.
35635  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
35636  (namely the 
35637 \family sans
35638 MyThes
35639 \family default
35640
35641 \begin_inset Foot
35642 status collapsed
35643
35644 \begin_layout Plain Layout
35645 \begin_inset CommandInset href
35646 LatexCommand href
35647 target "https://lingucomponent.openoffice.org/thesaurus.html"
35648 literal "false"
35649
35650 \end_inset
35651
35652
35653 \end_layout
35654
35655 \end_inset
35656
35657  thesaurus library, which is included in \SpecialChar LyX
35658 ).
35659  Therefore, \SpecialChar LyX
35660  is able to directly access OpenOffice thesaurus dictionaries,
35661  which are available for many languages.
35662 \end_layout
35663
35664 \begin_layout Standard
35665 This section describes how new dictionaries are installed and set up for
35666  the use with \SpecialChar LyX
35667 .
35668 \end_layout
35669
35670 \begin_layout Subsection
35671 Setting up the thesaurus
35672 \end_layout
35673
35674 \begin_layout Standard
35675 The 
35676 \family sans
35677 MyThes
35678 \emph on
35679 /
35680 \emph default
35681 OpenOffice
35682 \family default
35683  thesauri consist of two files per language: A file with the suffix 
35684 \emph on
35685 *.dat
35686 \emph default
35687  containing the data and an index file with the suffix 
35688 \emph on
35689 *.idx
35690 \emph default
35691 .
35692  The standardized file names include the language code for the given language
35693  (e.
35694 \begin_inset space \thinspace{}
35695 \end_inset
35696
35697 g.
35698 \begin_inset space ~
35699 \end_inset
35700
35701
35702 \family sans
35703 en_US
35704 \family default
35705  for US English).
35706  For instance, the US English files are named:
35707 \end_layout
35708
35709 \begin_layout Itemize
35710 th_en_EN_v2.idx
35711 \end_layout
35712
35713 \begin_layout Itemize
35714 th_en_EN_v2.dat
35715 \end_layout
35716
35717 \begin_layout Standard
35718 If you have 
35719 \family sans
35720 LibreOffice
35721 \family default
35722  or 
35723 \family sans
35724 OpenOffice
35725 \family default
35726  and its thesaurus installed, these files should be already on your system
35727  and you just need to point \SpecialChar LyX
35728  (in 
35729 \family sans
35730 Tools\SpecialChar menuseparator
35731 Preferences\SpecialChar menuseparator
35732 Paths\SpecialChar menuseparator
35733 Thesaurus
35734 \begin_inset space ~
35735 \end_inset
35736
35737 dictionaries
35738 \family default
35739 ) to the path where they are installed.
35740 \begin_inset Foot
35741 status collapsed
35742
35743 \begin_layout Plain Layout
35744 On Linux, depending on your distribution and the way you installed the dictionar
35745 ies, typical locations are 
35746 \family typewriter
35747 /usr/share/mythes/
35748 \family default
35749
35750 \family typewriter
35751 /usr/share/myspell/dicts/
35752 \family default
35753
35754 \family typewriter
35755 /usr/share/ooo/thesaurus/
35756 \family default
35757 ,
35758 \family typewriter
35759  ~/.config/libreoffice/<version>/user/
35760 \family default
35761  or alike.
35762  On Windows, dictionaries are to be found at 
35763 \family typewriter
35764 ~
35765 \backslash
35766 Program Files
35767 \backslash
35768 LibreOffice-<Version>
35769 \backslash
35770 share
35771 \backslash
35772 extensions 
35773 \family default
35774 or similar.
35775  On the Mac, the default location is 
35776 \family typewriter
35777 /Users\SpecialChar breakableslash
35778 <user name>\SpecialChar breakableslash
35779 Library\SpecialChar breakableslash
35780 Application Support\SpecialChar breakableslash
35781 libreoffice\SpecialChar breakableslash
35782 <version>\SpecialChar breakableslash
35783 user
35784 \family default
35785 /.
35786 \end_layout
35787
35788 \end_inset
35789
35790  On Windows, you can alternatively also select dictionaries for installation
35791  during the \SpecialChar LyX
35792  installation process, which will then be installed in the correct
35793  place right away.
35794 \end_layout
35795
35796 \begin_layout Standard
35797 If you want to install new\SpecialChar breakableslash
35798 further thesaurus dictionaries, you can downloaded
35799  them from here:
35800 \begin_inset Newline newline
35801 \end_inset
35802
35803
35804 \begin_inset Flex URL
35805 status collapsed
35806
35807 \begin_layout Plain Layout
35808
35809 https://sourceforge.net/projects/lyxwininstaller/files/thesaurus/
35810 \end_layout
35811
35812 \end_inset
35813
35814
35815 \end_layout
35816
35817 \begin_layout Standard
35818 To install a new dictionary, download the two files for this dictionary
35819  into the thesaurus path (which is set in 
35820 \family sans
35821 Tools\SpecialChar menuseparator
35822 Preferences\SpecialChar menuseparator
35823 Paths\SpecialChar menuseparator
35824 Thesaurus
35825 \begin_inset space ~
35826 \end_inset
35827
35828 dictionaries
35829 \family default
35830 ) and restart \SpecialChar LyX
35831 .
35832  If this path is not defined yet, you can use a dictionary of your choice
35833  and point \SpecialChar LyX
35834  there.
35835 \end_layout
35836
35837 \begin_layout Standard
35838 Alternatively, you can also install new dictionaries via 
35839 \family sans
35840 LibreOffice\SpecialChar breakableslash
35841 OpenOffice
35842 \family default
35843  or, on Linux, via your package manager (look for 
35844 \emph on
35845 mythes-*
35846 \emph default
35847  or 
35848 \emph on
35849 libreoffice-thesaurus-*
35850 \emph default
35851  packages).
35852  If you do this, make sure that \SpecialChar LyX
35853  is able to find the installed dictionaries,
35854  i.
35855 \begin_inset space \thinspace{}
35856 \end_inset
35857
35858 e.
35859  that 
35860 \family sans
35861 Tools\SpecialChar menuseparator
35862 Preferences\SpecialChar menuseparator
35863 Paths\SpecialChar menuseparator
35864 Thesaurus
35865 \begin_inset space ~
35866 \end_inset
35867
35868 dictionaries
35869 \family default
35870  points to the path where you installed these dictionaries.
35871 \end_layout
35872
35873 \begin_layout Subsection
35874 Using the thesaurus
35875 \end_layout
35876
35877 \begin_layout Standard
35878 To start the thesaurus, use the menu 
35879 \family sans
35880 Tools\SpecialChar menuseparator
35881 Thesaurus
35882 \family default
35883  or the toolbar button 
35884 \begin_inset Info
35885 type  "icon"
35886 arg   "thesaurus-entry"
35887 \end_inset
35888
35889  while the cursor is at the word you want to look up or while a word is
35890  selected.
35891  A dialog pops up showing you probably related words that you can use as
35892  a replacement.
35893  The suggestions are grouped into categories.
35894  Note that, for some languages (such as English), the thesaurus does not
35895  only show equivalent words (synonyms), but also generic terms (such as
35896  
35897 \emph on
35898 organism
35899 \emph default
35900  for 
35901 \emph on
35902 plant
35903 \emph default
35904 ), related terms (such as 
35905 \emph on
35906 political
35907 \begin_inset space ~
35908 \end_inset
35909
35910 theory
35911 \emph default
35912  for 
35913 \emph on
35914 anarchistic
35915 \emph default
35916 ), compounds (such as 
35917 \emph on
35918 tree
35919 \begin_inset space ~
35920 \end_inset
35921
35922 diagram
35923 \emph default
35924 , if you look for 
35925 \emph on
35926 tree
35927 \emph default
35928 ) and opposites (antonyms) (such as 
35929 \emph on
35930 girl
35931 \emph default
35932  for 
35933 \emph on
35934 boy
35935 \emph default
35936 ).
35937  Generic terms, related terms and antonyms are marked as such.
35938 \end_layout
35939
35940 \begin_layout Standard
35941 The language is automatically chosen from the language at the cursor, but
35942  you can also switch it in the dialog, as you can enter new words to look
35943  up directly there.
35944 \end_layout
35945
35946 \begin_layout Standard
35947 Note that the thesaurus cannot handle phrases (only compounds that are in
35948  the dictionary, such as the above 
35949 \emph on
35950 tree diagram
35951 \emph default
35952 ), and you have to use the so called lemma form, i.
35953 \begin_inset space \thinspace{}
35954 \end_inset
35955
35956 e.
35957 \begin_inset space \space{}
35958 \end_inset
35959
35960 the form that is used in the dictionaries (for many languages: first person
35961  singular indicative active for nouns, infinitive for verbs).
35962  For example, looking up the word form 
35963 \emph on
35964 reporting
35965 \emph default
35966  yields no results, while results are shown for the word form 
35967 \emph on
35968 report
35969 \emph default
35970 .
35971  Your best bet is to highlight only the relevant part of such a word (e.
35972 \begin_inset space \thinspace{}
35973 \end_inset
35974
35975 g.
35976 \begin_inset space \space{}
35977 \end_inset
35978
35979
35980 \emph on
35981 report
35982 \emph default
35983  in 
35984 \emph on
35985 report
35986 \emph default
35987 s); then you will get suggestions without needing to adjust the query in
35988  the dialog, and also the replacement will probably be correct (as only
35989  the highlighted part will be replaced; thus the ending remains).
35990 \end_layout
35991
35992 \begin_layout Section
35993 Change Tracking
35994 \begin_inset Index idx
35995 status collapsed
35996
35997 \begin_layout Plain Layout
35998 Change Tracking
35999 \end_layout
36000
36001 \end_inset
36002
36003
36004 \begin_inset Index idx
36005 status collapsed
36006
36007 \begin_layout Plain Layout
36008 Document ! Change Tracking
36009 \end_layout
36010
36011 \end_inset
36012
36013
36014 \begin_inset CommandInset label
36015 LatexCommand label
36016 name "sec:Change-Tracking"
36017
36018 \end_inset
36019
36020
36021 \end_layout
36022
36023 \begin_layout Standard
36024 When you work on a document collaboratively it is extremely useful to be
36025  able to see changes that others have made highlighted in the document.
36026  You can then decide if you want to accept a change or not.
36027  This can be achieved by turning on change tracking in the menu 
36028 \family sans
36029 Document\SpecialChar menuseparator
36030 Change
36031 \begin_inset space ~
36032 \end_inset
36033
36034 Tracking\SpecialChar menuseparator
36035 Track
36036 \begin_inset space ~
36037 \end_inset
36038
36039 Changes
36040 \family default
36041 .
36042 \end_layout
36043
36044 \begin_layout Standard
36045 Changes made in the document will then be highlighted by strokes and colors:
36046  
36047 \bar under
36048 \color blue
36049 underlined text
36050 \bar default
36051 \color inherit
36052  is an addition, 
36053 \strikeout on
36054 \color blue
36055 canceled text
36056 \strikeout default
36057 \color inherit
36058  is a deletion.
36059  The color depends on the author that made the change.
36060  You can change the color in 
36061 \family sans
36062 Tools\SpecialChar menuseparator
36063 Preferences\SpecialChar menuseparator
36064 Look
36065 \begin_inset space ~
36066 \end_inset
36067
36068 &
36069 \begin_inset space ~
36070 \end_inset
36071
36072 feel
36073 \family default
36074 \SpecialChar menuseparator
36075
36076 \family sans
36077 Colors
36078 \family default
36079 .
36080 \begin_inset Index idx
36081 status collapsed
36082
36083 \begin_layout Plain Layout
36084 Color ! Change tracking
36085 \end_layout
36086
36087 \end_inset
36088
36089  The author and the date of the change are shown in \SpecialChar LyX
36090 's status bar when the
36091  cursor is in changed text.
36092  The same information is shown when you use the toolbar button 
36093 \begin_inset Info
36094 type  "icon"
36095 arg   "changes-merge"
36096 \end_inset
36097
36098 .
36099 \end_layout
36100
36101 \begin_layout Standard
36102 When change tracking is activated, you will see the review toolbar in \SpecialChar LyX
36103 :
36104 \begin_inset Index idx
36105 status collapsed
36106
36107 \begin_layout Plain Layout
36108 Toolbar ! Review
36109 \end_layout
36110
36111 \end_inset
36112
36113
36114 \end_layout
36115
36116 \begin_layout Standard
36117 \begin_inset VSpace defskip
36118 \end_inset
36119
36120
36121 \end_layout
36122
36123 \begin_layout Standard
36124 \begin_inset Graphics
36125         filename clipart/ChangesToolbar.png
36126         scale 90
36127
36128 \end_inset
36129
36130
36131 \end_layout
36132
36133 \begin_layout Standard
36134 \begin_inset VSpace defskip
36135 \end_inset
36136
36137
36138 \end_layout
36139
36140 \begin_layout Standard
36141 The review toolbar as shown above contains the following buttons:
36142 \end_layout
36143
36144 \begin_layout Standard
36145 \begin_inset VSpace defskip
36146 \end_inset
36147
36148
36149 \end_layout
36150
36151 \begin_layout Standard
36152 \begin_inset Tabular
36153 <lyxtabular version="3" rows="10" columns="2">
36154 <features islongtable="true" longtabularalignment="center">
36155 <column alignment="left" valignment="top">
36156 <column alignment="left" valignment="top">
36157 <row interlinespace="2.5mm">
36158 <cell alignment="center" valignment="top" usebox="none">
36159 \begin_inset Text
36160
36161 \begin_layout Plain Layout
36162
36163 \family sans
36164 \begin_inset Info
36165 type  "icon"
36166 arg   "changes-track"
36167 \end_inset
36168
36169
36170 \end_layout
36171
36172 \end_inset
36173 </cell>
36174 <cell alignment="center" valignment="top" usebox="none">
36175 \begin_inset Text
36176
36177 \begin_layout Plain Layout
36178
36179 \family sans
36180 Document\SpecialChar menuseparator
36181 Change
36182 \begin_inset space ~
36183 \end_inset
36184
36185 Tracking\SpecialChar menuseparator
36186 Track
36187 \begin_inset space ~
36188 \end_inset
36189
36190 Changes
36191 \end_layout
36192
36193 \end_inset
36194 </cell>
36195 </row>
36196 <row interlinespace="2.5mm">
36197 <cell alignment="center" valignment="top" usebox="none">
36198 \begin_inset Text
36199
36200 \begin_layout Plain Layout
36201
36202 \family sans
36203 \begin_inset Info
36204 type  "icon"
36205 arg   "changes-output"
36206 \end_inset
36207
36208
36209 \end_layout
36210
36211 \end_inset
36212 </cell>
36213 <cell alignment="center" valignment="top" usebox="none">
36214 \begin_inset Text
36215
36216 \begin_layout Plain Layout
36217
36218 \family sans
36219 Document\SpecialChar menuseparator
36220 Change
36221 \begin_inset space ~
36222 \end_inset
36223
36224 Tracking\SpecialChar menuseparator
36225 Show
36226 \begin_inset space ~
36227 \end_inset
36228
36229 Changes
36230 \begin_inset space ~
36231 \end_inset
36232
36233 in
36234 \begin_inset space ~
36235 \end_inset
36236
36237 Output
36238 \end_layout
36239
36240 \end_inset
36241 </cell>
36242 </row>
36243 <row interlinespace="2.5mm">
36244 <cell alignment="center" valignment="top" usebox="none">
36245 \begin_inset Text
36246
36247 \begin_layout Plain Layout
36248
36249 \family sans
36250 \begin_inset Info
36251 type  "icon"
36252 arg   "change-next"
36253 \end_inset
36254
36255
36256 \end_layout
36257
36258 \end_inset
36259 </cell>
36260 <cell alignment="center" valignment="top" usebox="none">
36261 \begin_inset Text
36262
36263 \begin_layout Plain Layout
36264 Jumps to the next change
36265 \end_layout
36266
36267 \end_inset
36268 </cell>
36269 </row>
36270 <row interlinespace="2.5mm">
36271 <cell alignment="center" valignment="top" usebox="none">
36272 \begin_inset Text
36273
36274 \begin_layout Plain Layout
36275
36276 \family sans
36277 \begin_inset Info
36278 type  "icon"
36279 arg   "change-accept"
36280 \end_inset
36281
36282
36283 \end_layout
36284
36285 \end_inset
36286 </cell>
36287 <cell alignment="center" valignment="top" usebox="none">
36288 \begin_inset Text
36289
36290 \begin_layout Plain Layout
36291
36292 \family sans
36293 Document\SpecialChar menuseparator
36294 Change
36295 \begin_inset space ~
36296 \end_inset
36297
36298 Tracking\SpecialChar menuseparator
36299 Accept
36300 \begin_inset space ~
36301 \end_inset
36302
36303 Change
36304 \end_layout
36305
36306 \end_inset
36307 </cell>
36308 </row>
36309 <row interlinespace="2.5mm">
36310 <cell alignment="center" valignment="top" usebox="none">
36311 \begin_inset Text
36312
36313 \begin_layout Plain Layout
36314
36315 \family sans
36316 \begin_inset Info
36317 type  "icon"
36318 arg   "change-reject"
36319 \end_inset
36320
36321
36322 \end_layout
36323
36324 \end_inset
36325 </cell>
36326 <cell alignment="center" valignment="top" usebox="none">
36327 \begin_inset Text
36328
36329 \begin_layout Plain Layout
36330
36331 \family sans
36332 Document\SpecialChar menuseparator
36333 Change
36334 \begin_inset space ~
36335 \end_inset
36336
36337 Tracking\SpecialChar menuseparator
36338 Reject
36339 \begin_inset space ~
36340 \end_inset
36341
36342 Change
36343 \end_layout
36344
36345 \end_inset
36346 </cell>
36347 </row>
36348 <row interlinespace="2.5mm">
36349 <cell alignment="center" valignment="top" usebox="none">
36350 \begin_inset Text
36351
36352 \begin_layout Plain Layout
36353
36354 \family sans
36355 \begin_inset Info
36356 type  "icon"
36357 arg   "changes-merge"
36358 \end_inset
36359
36360
36361 \end_layout
36362
36363 \end_inset
36364 </cell>
36365 <cell alignment="center" valignment="top" usebox="none">
36366 \begin_inset Text
36367
36368 \begin_layout Plain Layout
36369
36370 \family sans
36371 Document\SpecialChar menuseparator
36372 Change
36373 \begin_inset space ~
36374 \end_inset
36375
36376 Tracking\SpecialChar menuseparator
36377 Merge
36378 \begin_inset space ~
36379 \end_inset
36380
36381 Changes
36382 \end_layout
36383
36384 \end_inset
36385 </cell>
36386 </row>
36387 <row interlinespace="2.5mm">
36388 <cell alignment="center" valignment="top" usebox="none">
36389 \begin_inset Text
36390
36391 \begin_layout Plain Layout
36392
36393 \family sans
36394 \begin_inset Info
36395 type  "icon"
36396 arg   "all-changes-accept"
36397 \end_inset
36398
36399
36400 \end_layout
36401
36402 \end_inset
36403 </cell>
36404 <cell alignment="center" valignment="top" usebox="none">
36405 \begin_inset Text
36406
36407 \begin_layout Plain Layout
36408
36409 \family sans
36410 Document\SpecialChar menuseparator
36411 Change
36412 \begin_inset space ~
36413 \end_inset
36414
36415 Tracking\SpecialChar menuseparator
36416 Accept
36417 \begin_inset space ~
36418 \end_inset
36419
36420 All
36421 \begin_inset space ~
36422 \end_inset
36423
36424 Changes
36425 \end_layout
36426
36427 \end_inset
36428 </cell>
36429 </row>
36430 <row interlinespace="2.5mm">
36431 <cell alignment="center" valignment="top" usebox="none">
36432 \begin_inset Text
36433
36434 \begin_layout Plain Layout
36435
36436 \family sans
36437 \begin_inset Info
36438 type  "icon"
36439 arg   "all-changes-reject"
36440 \end_inset
36441
36442
36443 \end_layout
36444
36445 \end_inset
36446 </cell>
36447 <cell alignment="center" valignment="top" usebox="none">
36448 \begin_inset Text
36449
36450 \begin_layout Plain Layout
36451
36452 \family sans
36453 Document\SpecialChar menuseparator
36454 Change
36455 \begin_inset space ~
36456 \end_inset
36457
36458 Tracking\SpecialChar menuseparator
36459 Reject
36460 \begin_inset space ~
36461 \end_inset
36462
36463 All
36464 \begin_inset space ~
36465 \end_inset
36466
36467 Changes
36468 \end_layout
36469
36470 \end_inset
36471 </cell>
36472 </row>
36473 <row interlinespace="2.5mm">
36474 <cell alignment="center" valignment="top" usebox="none">
36475 \begin_inset Text
36476
36477 \begin_layout Plain Layout
36478
36479 \family sans
36480 \begin_inset Info
36481 type  "icon"
36482 arg   "note-insert"
36483 \end_inset
36484
36485
36486 \end_layout
36487
36488 \end_inset
36489 </cell>
36490 <cell alignment="center" valignment="top" usebox="none">
36491 \begin_inset Text
36492
36493 \begin_layout Plain Layout
36494
36495 \family sans
36496 Insert\SpecialChar menuseparator
36497 Note\SpecialChar menuseparator
36498 LyX
36499 \begin_inset space ~
36500 \end_inset
36501
36502 Note
36503 \end_layout
36504
36505 \end_inset
36506 </cell>
36507 </row>
36508 <row interlinespace="2.5mm">
36509 <cell alignment="center" valignment="top" usebox="none">
36510 \begin_inset Text
36511
36512 \begin_layout Plain Layout
36513
36514 \family sans
36515 \begin_inset Info
36516 type  "icon"
36517 arg   "note-next"
36518 \end_inset
36519
36520
36521 \end_layout
36522
36523 \end_inset
36524 </cell>
36525 <cell alignment="center" valignment="top" usebox="none">
36526 \begin_inset Text
36527
36528 \begin_layout Plain Layout
36529
36530 \family sans
36531 Navigate\SpecialChar menuseparator
36532 Next
36533 \begin_inset space ~
36534 \end_inset
36535
36536 Note
36537 \end_layout
36538
36539 \end_inset
36540 </cell>
36541 </row>
36542 </lyxtabular>
36543
36544 \end_inset
36545
36546
36547 \end_layout
36548
36549 \begin_layout Standard
36550 \begin_inset VSpace defskip
36551 \end_inset
36552
36553
36554 \end_layout
36555
36556 \begin_layout Standard
36557 Not all changes are (yet) visualized, especially no format changes like
36558  from 
36559 \emph on
36560 normal
36561 \emph default
36562  to 
36563 \emph on
36564 bold
36565 \emph default
36566  font or 
36567 \emph on
36568 Standard
36569 \emph default
36570  to 
36571 \emph on
36572 Description
36573 \emph default
36574  paragraph.
36575 \end_layout
36576
36577 \begin_layout Standard
36578 The review toolbar helps you to accept, reject, or merge changes – highlight
36579  the change and press one of the desired toolbar buttons.
36580  When you merge changes, a window pops up showing you information about
36581  the next change after the current cursor position.
36582  So you don't need to highlight a certain change.
36583  Within the merge window you can decide to accept or reject changes and
36584  step to the next change.
36585  This way you can jump through all the changes in the document.
36586 \end_layout
36587
36588 \begin_layout Standard
36589 The toolbar has two buttons to handle notes because notes are often important
36590  to describe a change.
36591 \end_layout
36592
36593 \begin_layout Standard
36594 To show the changes made in the output you need the \SpecialChar LaTeX
36595  package 
36596 \series bold
36597 dvipost
36598 \series default
36599
36600 \begin_inset Index idx
36601 status collapsed
36602
36603 \begin_layout Plain Layout
36604 \SpecialChar LaTeX
36605  packages ! dvipost
36606 \end_layout
36607
36608 \end_inset
36609
36610  installed.
36611  You will find it in the \SpecialChar TeX
36612  Catalogue, 
36613 \begin_inset CommandInset citation
36614 LatexCommand cite
36615 key "TeXCatalogue"
36616 literal "true"
36617
36618 \end_inset
36619
36620  or in the package manager of your \SpecialChar LaTeX
36621 -system.
36622 \end_layout
36623
36624 \begin_layout Section
36625 Comparison of Documents
36626 \begin_inset CommandInset label
36627 LatexCommand label
36628 name "sec:Comparison-of-Documents"
36629
36630 \end_inset
36631
36632
36633 \begin_inset Index idx
36634 status collapsed
36635
36636 \begin_layout Plain Layout
36637 Comparison of documents
36638 \end_layout
36639
36640 \end_inset
36641
36642
36643 \end_layout
36644
36645 \begin_layout Standard
36646 You can compare two different \SpecialChar LyX
36647  files via the menu 
36648 \family sans
36649 Tools\SpecialChar menuseparator
36650 Compare
36651 \family default
36652 .
36653  The comparison result is a \SpecialChar LyX
36654  file with change tracking enabled showing the
36655  differences.
36656  In the comparison dialog you can select from which document \SpecialChar LyX
36657  should take
36658  the document settings for the resulting difference file with the option
36659  
36660 \family sans
36661 Copy
36662 \begin_inset space ~
36663 \end_inset
36664
36665 Document
36666 \begin_inset space ~
36667 \end_inset
36668
36669 Settings
36670 \begin_inset space ~
36671 \end_inset
36672
36673 from
36674 \family default
36675 .
36676  The option 
36677 \family sans
36678 Enable
36679 \begin_inset space ~
36680 \end_inset
36681
36682 change
36683 \begin_inset space ~
36684 \end_inset
36685
36686 tracking
36687 \begin_inset space ~
36688 \end_inset
36689
36690 features
36691 \begin_inset space ~
36692 \end_inset
36693
36694 in
36695 \begin_inset space ~
36696 \end_inset
36697
36698 the
36699 \begin_inset space ~
36700 \end_inset
36701
36702 output
36703 \family default
36704  enables the change tracking option 
36705 \family sans
36706 Show
36707 \begin_inset space ~
36708 \end_inset
36709
36710 Changes
36711 \begin_inset space ~
36712 \end_inset
36713
36714 in
36715 \begin_inset space ~
36716 \end_inset
36717
36718 Output
36719 \family default
36720  to visualize the differences also in the PDF output of the difference file.
36721 \end_layout
36722
36723 \begin_layout Section
36724 International Support
36725 \begin_inset Index idx
36726 status collapsed
36727
36728 \begin_layout Plain Layout
36729 International support
36730 \end_layout
36731
36732 \end_inset
36733
36734
36735 \end_layout
36736
36737 \begin_layout Standard
36738 This section describes how to use \SpecialChar LyX
36739  with any language you want.
36740  For some languages there are special Wiki-pages that explain how to set
36741  up \SpecialChar LyX
36742  to use them: 
36743 \begin_inset CommandInset citation
36744 LatexCommand cite
36745 key "Arabic,Armenian,Cyrillic,Farsi,Hebrew,Japanese"
36746 literal "true"
36747
36748 \end_inset
36749
36750
36751 \end_layout
36752
36753 \begin_layout Standard
36754 Besides languages, \SpecialChar LyX
36755  also supports phonetic symbols, see section
36756 \begin_inset space ~
36757 \end_inset
36758
36759
36760 \begin_inset CommandInset ref
36761 LatexCommand ref
36762 reference "subsec:Special-Character"
36763
36764 \end_inset
36765
36766 .
36767 \end_layout
36768
36769 \begin_layout Subsection
36770 Language Options
36771 \begin_inset Index idx
36772 status collapsed
36773
36774 \begin_layout Plain Layout
36775 Language ! Options
36776 \end_layout
36777
36778 \end_inset
36779
36780
36781 \begin_inset Index idx
36782 status collapsed
36783
36784 \begin_layout Plain Layout
36785 Document ! Settings
36786 \end_layout
36787
36788 \end_inset
36789
36790
36791 \begin_inset Index idx
36792 status collapsed
36793
36794 \begin_layout Plain Layout
36795 Document ! Language
36796 \end_layout
36797
36798 \end_inset
36799
36800
36801 \end_layout
36802
36803 \begin_layout Standard
36804 The 
36805 \family sans
36806 Document\SpecialChar menuseparator
36807 Settings\SpecialChar menuseparator
36808 Language
36809 \family default
36810  dialog lets you set 
36811 \family roman
36812 the language, the quote style and character encoding
36813 \family default
36814 .
36815 \end_layout
36816
36817 \begin_layout Standard
36818 Under 
36819 \family sans
36820 Encoding
36821 \family default
36822  you can choose the character encoding map you want to use for \SpecialChar LaTeX
36823  export.
36824  The option 
36825 \family sans
36826 Language
36827 \begin_inset space ~
36828 \end_inset
36829
36830 Default
36831 \family default
36832  is the preferred choice and works well in most cases.
36833  For details about the different encoding options see section
36834 \begin_inset space ~
36835 \end_inset
36836
36837
36838 \begin_inset CommandInset ref
36839 LatexCommand ref
36840 reference "sec:Language-encodings"
36841
36842 \end_inset
36843
36844 .
36845 \end_layout
36846
36847 \begin_layout Subsection
36848 Keyboard mapping configuration
36849 \begin_inset CommandInset label
36850 LatexCommand label
36851 name "subsec:Keyboard-mapping"
36852
36853 \end_inset
36854
36855
36856 \end_layout
36857
36858 \begin_layout Standard
36859 If you have for example a U.
36860 \begin_inset space \thinspace{}
36861 \end_inset
36862
36863 S.-style keyboard and want to write in a language other than English, you
36864  can use an alternate keymap.
36865  For example, if you want to write in Italian, you can configure \SpecialChar LyX
36866  to use
36867  an Italian keymap.
36868  The 
36869 \family sans
36870 Tools\SpecialChar menuseparator
36871 Preferences\SpecialChar menuseparator
36872 Editing\SpecialChar menuseparator
36873 Keyboard/Mouse
36874 \family default
36875  dialog allows you to choose up to two keyboard mappings, see section
36876 \begin_inset space ~
36877 \end_inset
36878
36879
36880 \begin_inset CommandInset ref
36881 LatexCommand ref
36882 reference "subsec:Keyboard-Map"
36883
36884 \end_inset
36885
36886 .
36887  You can choose primary and secondary keyboard languages and then select
36888  which one you want to use.
36889 \end_layout
36890
36891 \begin_layout Standard
36892 Finally, you may just want to change a few key mappings or create an entirely
36893  different keymap (for Vulcan, for instance).
36894  You may, for example, normally write in Italian on a U.
36895 \begin_inset space \thinspace{}
36896 \end_inset
36897
36898 S.-style keyboard but want to include an occasional quotation in German.
36899  In such a case, you can write your own keyboard mapping or modify an existing
36900  one to support the characters you want.
36901  This and many other customizations are explained in the 
36902 \emph on
36903 Customization
36904 \emph default
36905  manual.
36906 \end_layout
36907
36908 \begin_layout Chapter
36909 \start_of_appendix
36910 The User Interface
36911 \begin_inset CommandInset label
36912 LatexCommand label
36913 name "chap:The-User-Interface"
36914
36915 \end_inset
36916
36917
36918 \end_layout
36919
36920 \begin_layout Standard
36921 This appendix lists all the available menus and describes their functionality.
36922  It is designed as a quick reference if you are searching for a special
36923  topic inside the user's guide.
36924 \end_layout
36925
36926 \begin_layout Section
36927 The File Menu
36928 \begin_inset Index idx
36929 status collapsed
36930
36931 \begin_layout Plain Layout
36932 Menu ! File
36933 \end_layout
36934
36935 \end_inset
36936
36937
36938 \end_layout
36939
36940 \begin_layout Standard
36941 Under the 
36942 \family sans
36943 File
36944 \family default
36945  menu are the basic operations in addition to some more advanced operations.
36946 \end_layout
36947
36948 \begin_layout Subsection
36949 New
36950 \end_layout
36951
36952 \begin_layout Standard
36953 Creates a new document.
36954 \end_layout
36955
36956 \begin_layout Subsection
36957 New from Template
36958 \end_layout
36959
36960 \begin_layout Standard
36961 This menu entry prompts you for a template to use.
36962  Selecting a template will automatically set certain layout features for
36963  the document, features you would otherwise need to change manually.
36964 \end_layout
36965
36966 \begin_layout Subsection
36967 Open
36968 \end_layout
36969
36970 \begin_layout Standard
36971 Opens a document.
36972 \end_layout
36973
36974 \begin_layout Subsection
36975 Open Recent
36976 \end_layout
36977
36978 \begin_layout Standard
36979 The submenu shows a list of the recently opened files.
36980  Click there on a file to open it.
36981 \end_layout
36982
36983 \begin_layout Subsection
36984 Close
36985 \end_layout
36986
36987 \begin_layout Standard
36988 Closes the current document.
36989 \end_layout
36990
36991 \begin_layout Subsection
36992 Close All
36993 \end_layout
36994
36995 \begin_layout Standard
36996 Closes all opened documents.
36997 \end_layout
36998
36999 \begin_layout Subsection
37000 Save
37001 \end_layout
37002
37003 \begin_layout Standard
37004 Saves the actual document.
37005 \end_layout
37006
37007 \begin_layout Subsection
37008 Save As
37009 \end_layout
37010
37011 \begin_layout Standard
37012 Saves the actual document under a new name to create a copy.
37013 \end_layout
37014
37015 \begin_layout Subsection
37016 Save All
37017 \end_layout
37018
37019 \begin_layout Standard
37020 Saves all opened documents.
37021 \end_layout
37022
37023 \begin_layout Subsection
37024 Revert to saved
37025 \end_layout
37026
37027 \begin_layout Standard
37028 Reloads the actual document from disk.
37029 \end_layout
37030
37031 \begin_layout Subsection
37032 Version Control
37033 \end_layout
37034
37035 \begin_layout Standard
37036 This is used when multiple people are working on the same document or when
37037  one person wants to keep a careful archive of changes.
37038  It is described in the section 
37039 \emph on
37040 Version Control in \SpecialChar LyX
37041
37042 \emph default
37043  of the 
37044 \emph on
37045 Additional Features
37046 \emph default
37047  manual.
37048 \end_layout
37049
37050 \begin_layout Subsection
37051 Import
37052 \end_layout
37053
37054 \begin_layout Standard
37055 Here you can import files from older \SpecialChar LyX
37056  versions, HTML files, \SpecialChar LaTeX
37057  files, NoWeb
37058  files, plain text files and comma separated, table-like text files (CSV).
37059  The files will be imported as a new \SpecialChar LyX
37060  document.
37061 \end_layout
37062
37063 \begin_layout Standard
37064 When using the menu entry 
37065 \family sans
37066 Plain
37067 \begin_inset space ~
37068 \end_inset
37069
37070 text
37071 \family default
37072 , line breaks in the text will start a new paragraph; when using the menu
37073  entry 
37074 \family sans
37075 Plain
37076 \begin_inset space ~
37077 \end_inset
37078
37079 Text,
37080 \begin_inset space ~
37081 \end_inset
37082
37083 Join
37084 \begin_inset space ~
37085 \end_inset
37086
37087 Lines
37088 \family default
37089 , consecutive lines of text will be imported to one big paragraph.
37090  A new paragraph will begin when there is a blank line in the file.
37091 \end_layout
37092
37093 \begin_layout Subsection
37094 Export
37095 \begin_inset CommandInset label
37096 LatexCommand label
37097 name "subsec:Export"
37098
37099 \end_inset
37100
37101
37102 \end_layout
37103
37104 \begin_layout Standard
37105 You can export your document to various file formats.
37106  The resulting files are placed in the directory of your \SpecialChar LyX
37107  file.
37108  The menu entries are not the same on all installations.
37109  They depend on the programs found by \SpecialChar LyX
37110  during its configuration.
37111 \end_layout
37112
37113 \begin_layout Standard
37114 Here is a list of all available entries; some of them are explained in detail
37115  in section
37116 \begin_inset space ~
37117 \end_inset
37118
37119
37120 \begin_inset CommandInset ref
37121 LatexCommand ref
37122 reference "subsec:Output-file-formats"
37123
37124 \end_inset
37125
37126 :
37127 \end_layout
37128
37129 \begin_layout Description
37130
37131 \family sans
37132 CJK
37133 \family default
37134
37135 \begin_inset space ~
37136 \end_inset
37137
37138 LyX format of the special \SpecialChar LyX
37139
37140 \begin_inset space ~
37141 \end_inset
37142
37143 1.4.x versions for Chinese, Japanese and Korean (CJK)
37144 \begin_inset Newline newline
37145 \end_inset
37146
37147  Since \SpecialChar LyX
37148  1.5.0 CJK support has been fully integrated into \SpecialChar LyX
37149 .
37150 \end_layout
37151
37152 \begin_layout Description
37153 DocBook text file with code in the language SGML that is used for the markup
37154  language 
37155 \family typewriter
37156 DocBook
37157 \end_layout
37158
37159 \begin_layout Description
37160 DocBook
37161 \begin_inset space ~
37162 \end_inset
37163
37164 (XML) text file with code in the language XML that is used for the markup
37165  language 
37166 \family typewriter
37167 DocBook
37168 \end_layout
37169
37170 \begin_layout Description
37171 DraftDVI \SpecialChar LaTeX
37172 's native DVI-format.
37173  This format is not suitable if you have special characters or spaces in
37174  files paths or file names in your document.
37175  \SpecialChar LyX
37176  use this format internally as a pre-stage to export to 
37177 \family sans
37178 DVI
37179 \family default
37180 .
37181 \end_layout
37182
37183 \begin_layout Description
37184 DVI DVI-format that also allows the useage of special characters or spaces
37185  in files paths or file names
37186 \end_layout
37187
37188 \begin_layout Description
37189 DVI
37190 \begin_inset space ~
37191 \end_inset
37192
37193 (Lua
37194 \family sans
37195 TeX
37196 \family default
37197 ) DVI-format using the program 
37198 \family typewriter
37199 Lua\SpecialChar TeX
37200
37201 \family default
37202 ; supports Unicode and the usage of non-\SpecialChar TeX
37203  fonts; 
37204 \series bold
37205
37206 \begin_inset Note Greyedout
37207 status open
37208
37209 \begin_layout Plain Layout
37210
37211 \series bold
37212 Note:
37213 \series default
37214  not all DVI-viewers are currently able to display this output format properly.
37215 \end_layout
37216
37217 \end_inset
37218
37219
37220 \end_layout
37221
37222 \begin_layout Description
37223 EPS
37224 \begin_inset space ~
37225 \end_inset
37226
37227 (cropped) the same as 
37228 \family sans
37229 PostScript
37230 \family default
37231  but with cropped page margins.
37232 \end_layout
37233
37234 \begin_layout Description
37235 Graphviz
37236 \begin_inset space ~
37237 \end_inset
37238
37239 Dot text file with code in the programming language 
37240 \family typewriter
37241 Dot
37242 \family default
37243  which is used to draw visualizations of graphs via the program 
37244 \family typewriter
37245 Graphviz
37246 \end_layout
37247
37248 \begin_layout Description
37249 HTML HTML-format; 
37250 \series bold
37251
37252 \begin_inset Note Greyedout
37253 status open
37254
37255 \begin_layout Plain Layout
37256
37257 \series bold
37258 Note:
37259 \series default
37260  the exported file will be stored in a subdirectory.
37261 \end_layout
37262
37263 \end_inset
37264
37265
37266 \end_layout
37267
37268 \begin_layout Description
37269 HTML
37270 \begin_inset space ~
37271 \end_inset
37272
37273 (MS
37274 \begin_inset space ~
37275 \end_inset
37276
37277 Word) HTML-format specialized so that the result can be imported to 
37278 \family sans
37279 MS Word
37280 \family default
37281 ; as a consequence of this formulas will be embedded as bitmap fonts and
37282  not in the format 
37283 \family sans
37284 MathML
37285 \family default
37286 .
37287 \end_layout
37288
37289 \begin_layout Description
37290
37291 \family sans
37292 LaTeX
37293 \begin_inset space ~
37294 \end_inset
37295
37296 (
37297 \family default
37298 Lua
37299 \family sans
37300 TeX) 
37301 \family default
37302 text file with the \SpecialChar LaTeX
37303  source that is compilable with the program 
37304 \family typewriter
37305 Lua\SpecialChar TeX
37306
37307 \end_layout
37308
37309 \begin_layout Description
37310
37311 \family sans
37312 LaTeX
37313 \begin_inset space ~
37314 \end_inset
37315
37316 (pdflatex)
37317 \family default
37318  text file with the \SpecialChar LaTeX
37319  source, additionally all images used in the document
37320  will be converted to a format that is readable by the 
37321 \family typewriter
37322 pdflatex
37323 \family default
37324  program (GIF, JPG, PDF, PNG)
37325 \end_layout
37326
37327 \begin_layout Description
37328
37329 \family sans
37330 LaTeX
37331 \begin_inset space ~
37332 \end_inset
37333
37334 (plain)
37335 \family default
37336  text file with the \SpecialChar LaTeX
37337  source code, additionally all images used in the document
37338  will be converted to the EPS-format, only this format is readable by the
37339  
37340 \family typewriter
37341 latex
37342 \family default
37343  program
37344 \end_layout
37345
37346 \begin_layout Description
37347
37348 \family sans
37349 LaTeX
37350 \begin_inset space ~
37351 \end_inset
37352
37353 (
37354 \family default
37355 Xe
37356 \family sans
37357 TeX) 
37358 \family default
37359 text file with the \SpecialChar LaTeX
37360  source that is compilable with the program 
37361 \family typewriter
37362 Xe\SpecialChar TeX
37363
37364 \end_layout
37365
37366 \begin_layout Description
37367 LilyPond
37368 \begin_inset space ~
37369 \end_inset
37370
37371 book
37372 \begin_inset space ~
37373 \end_inset
37374
37375 (La
37376 \family sans
37377 TeX
37378 \family default
37379 ) text file with the \SpecialChar LaTeX
37380  source and also code in the syntax of the music notation
37381  software 
37382 \family typewriter
37383 LilyPond
37384 \end_layout
37385
37386 \begin_layout Description
37387 LyX
37388 \begin_inset space ~
37389 \end_inset
37390
37391 z.y.x \SpecialChar LyX
37392 -Document in a format readable by the \SpecialChar LyX
37393  versions z.y.x (e.
37394 \begin_inset space \thinspace{}
37395 \end_inset
37396
37397 g.
37398 \begin_inset space \space{}
37399 \end_inset
37400
37401 "\SpecialChar LyX
37402
37403 \begin_inset space ~
37404 \end_inset
37405
37406 2.1.x"; 
37407 \begin_inset Quotes eld
37408 \end_inset
37409
37410 z
37411 \begin_inset Quotes erd
37412 \end_inset
37413
37414  and 
37415 \begin_inset Quotes eld
37416 \end_inset
37417
37418 y
37419 \begin_inset Quotes erd
37420 \end_inset
37421
37422  represent the version number)
37423 \end_layout
37424
37425 \begin_layout Description
37426 LyX
37427 \begin_inset space ~
37428 \end_inset
37429
37430 Archive
37431 \begin_inset space ~
37432 \end_inset
37433
37434 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
37435  your system) that contains your document and all files that are necessary
37436  to compile it (images, child documents, Bib\SpecialChar TeX
37437  files, etc.)
37438 \end_layout
37439
37440 \begin_layout Description
37441 LyXHTML HTML-format using \SpecialChar LyX
37442 's internal XHTML engine
37443 \end_layout
37444
37445 \begin_layout Description
37446 MS
37447 \begin_inset space ~
37448 \end_inset
37449
37450 Word
37451 \begin_inset space ~
37452 \end_inset
37453
37454 Office
37455 \begin_inset space ~
37456 \end_inset
37457
37458 Open
37459 \begin_inset space ~
37460 \end_inset
37461
37462 XML Office Open XML file, to be opened with 
37463 \family sans
37464 Microsoft Word
37465 \family default
37466 .
37467  For the conversion the program 
37468 \family typewriter
37469 Pandoc
37470 \family default
37471  is used.
37472  
37473 \family typewriter
37474 Pandoc
37475 \family default
37476  is a third-party product and may not work in all cases.
37477 \end_layout
37478
37479 \begin_layout Description
37480 NoWeb text file with code in the format of the literate programming language
37481 \family typewriter
37482  NoWeb
37483 \end_layout
37484
37485 \begin_layout Description
37486 OpenDocument
37487 \begin_inset space ~
37488 \end_inset
37489
37490 (Pandoc) OpenDocument file, to be opened with 
37491 \family sans
37492 LibreOffice, OpenOffice, KOffice, Abiword
37493 \family default
37494 , etc..
37495  For the conversion the program 
37496 \family typewriter
37497 Pandoc
37498 \family default
37499  is used.
37500  
37501 \family typewriter
37502 Pandoc
37503 \family default
37504  is a third-party product and may not work in all cases.
37505 \end_layout
37506
37507 \begin_layout Description
37508 OpenDocument
37509 \begin_inset space ~
37510 \end_inset
37511
37512 (tex4ht) OpenDocument file.
37513  For the conversion the program 
37514 \family typewriter
37515 tex4ht
37516 \family default
37517  is used.
37518  
37519 \family typewriter
37520 tex4ht
37521 \family default
37522  is a third-party product and may not work in all cases.
37523 \end_layout
37524
37525 \begin_layout Description
37526 PDF
37527 \begin_inset space ~
37528 \end_inset
37529
37530 (cropped) the same as 
37531 \family sans
37532 PDF
37533 \begin_inset space ~
37534 \end_inset
37535
37536 (pdflatex)
37537 \family default
37538  but with cropped page margins
37539 \end_layout
37540
37541 \begin_layout Description
37542
37543 \family sans
37544 PDF
37545 \begin_inset space ~
37546 \end_inset
37547
37548 (dvipdfm)
37549 \family default
37550  PDF-format using the program 
37551 \family typewriter
37552 dvipdfm
37553 \family default
37554 , produces internally a DVI-file which is then converted to a PDF-file
37555 \end_layout
37556
37557 \begin_layout Description
37558
37559 \family sans
37560 PDF
37561 \begin_inset space ~
37562 \end_inset
37563
37564 (lower
37565 \begin_inset space ~
37566 \end_inset
37567
37568 resolution)
37569 \family default
37570  the same as 
37571 \family sans
37572 PDF
37573 \begin_inset space ~
37574 \end_inset
37575
37576 (pdflatex)
37577 \family default
37578  but with a reduced pixel resolution of 150
37579 \begin_inset space \thinspace{}
37580 \end_inset
37581
37582 dpi (e.g.
37583 \begin_inset space \space{}
37584 \end_inset
37585
37586 useful for e-books to be read on tablet PCs or for large documents as intermedia
37587 te preview)
37588 \end_layout
37589
37590 \begin_layout Description
37591
37592 \family sans
37593 PDF
37594 \begin_inset space ~
37595 \end_inset
37596
37597 (LuaTeX)
37598 \family default
37599  PDF-format using the program 
37600 \family typewriter
37601 Lua\SpecialChar TeX
37602
37603 \family default
37604 , produces PDF-files directly
37605 \end_layout
37606
37607 \begin_layout Description
37608
37609 \family sans
37610 PDF
37611 \begin_inset space ~
37612 \end_inset
37613
37614 (pdflatex)
37615 \family default
37616  PDF-format using the program 
37617 \family typewriter
37618 pdflatex
37619 \family default
37620 , produces PDF-files directly
37621 \end_layout
37622
37623 \begin_layout Description
37624
37625 \family sans
37626 PDF
37627 \begin_inset space ~
37628 \end_inset
37629
37630 (ps2pdf)
37631 \family default
37632  PDF-format using the program 
37633 \family typewriter
37634 ps2pdf
37635 \family default
37636 , produces internally a PostScript-file which is then converted to a PDF-file
37637 \end_layout
37638
37639 \begin_layout Description
37640
37641 \family sans
37642 PDF
37643 \begin_inset space ~
37644 \end_inset
37645
37646 (XeTeX)
37647 \family default
37648  PDF-format using the program 
37649 \family typewriter
37650 Xe\SpecialChar TeX
37651
37652 \family default
37653 , produces PDF-files directly
37654 \end_layout
37655
37656 \begin_layout Description
37657
37658 \family sans
37659 Plain
37660 \begin_inset space ~
37661 \end_inset
37662
37663 text
37664 \family default
37665  text format
37666 \end_layout
37667
37668 \begin_layout Description
37669
37670 \family sans
37671 Plain
37672 \begin_inset space ~
37673 \end_inset
37674
37675 text
37676 \begin_inset space ~
37677 \end_inset
37678
37679 (ps2ascii)
37680 \family default
37681  text format, the document will first be converted to Postscript format
37682  and then exported as text using the program 
37683 \family sans
37684 ps2ascii
37685 \end_layout
37686
37687 \begin_layout Description
37688
37689 \family sans
37690 Postscript
37691 \family default
37692  PostScript format using the program 
37693 \family typewriter
37694 dvips
37695 \family default
37696 ; for possible 
37697 \family typewriter
37698 dvips
37699 \family default
37700  options see section
37701 \begin_inset space ~
37702 \end_inset
37703
37704
37705 \begin_inset CommandInset ref
37706 LatexCommand ref
37707 reference "subsec:General-output"
37708
37709 \end_inset
37710
37711
37712 \end_layout
37713
37714 \begin_layout Description
37715 Sweave text file with the \SpecialChar LaTeX
37716  source and also code in the statistical programming
37717  language 
37718 \family typewriter
37719 R
37720 \family default
37721 .
37722  Using the 
37723 \family typewriter
37724 R
37725 \family default
37726 -function 
37727 \family typewriter
37728 Sweave
37729 \family default
37730  it is possible to use 
37731 \family typewriter
37732 R
37733 \family default
37734 -commands in \SpecialChar LaTeX
37735
37736 \end_layout
37737
37738 \begin_layout Standard
37739 If one of the menu entries 
37740 \family sans
37741 DVI
37742 \family default
37743
37744 \family sans
37745 PDF
37746 \begin_inset space ~
37747 \end_inset
37748
37749 (pdflatex)
37750 \family default
37751  or 
37752 \family sans
37753 Postscript
37754 \family default
37755  is missing, you need to update your \SpecialChar LaTeX
37756  installation.
37757  After updating you have to reconfigure \SpecialChar LyX
37758 , see section
37759 \begin_inset space ~
37760 \end_inset
37761
37762
37763 \begin_inset CommandInset ref
37764 LatexCommand ref
37765 reference "sec:Basic-LyX-Setup"
37766
37767 \end_inset
37768
37769 .
37770 \begin_inset Index idx
37771 status collapsed
37772
37773 \begin_layout Plain Layout
37774 Reconfiguration of \SpecialChar LyX
37775
37776 \end_layout
37777
37778 \end_inset
37779
37780
37781 \end_layout
37782
37783 \begin_layout Subsection
37784 Fax
37785 \end_layout
37786
37787 \begin_layout Standard
37788 This menu entry will only appear if you have a fax program installed (on
37789  Windows you additionally need to register its program path to \SpecialChar LyX
37790 's PATH prefix,
37791  see section
37792 \begin_inset space ~
37793 \end_inset
37794
37795
37796 \begin_inset CommandInset ref
37797 LatexCommand ref
37798 reference "sec:Paths"
37799
37800 \end_inset
37801
37802 ).
37803  With this menu entry you can send your document to a fax program like 
37804 \family typewriter
37805 hylapex
37806 \family default
37807  or 
37808 \family typewriter
37809 kdeprintfax
37810 \family default
37811 .
37812  The default format of the sent file is PostScript.
37813  The format can be changed in \SpecialChar LyX
37814 's preferences as described in section
37815 \begin_inset space ~
37816 \end_inset
37817
37818
37819 \begin_inset CommandInset ref
37820 LatexCommand ref
37821 reference "subsec:Converters"
37822
37823 \end_inset
37824
37825 .
37826 \end_layout
37827
37828 \begin_layout Subsection
37829 New and Close Window
37830 \end_layout
37831
37832 \begin_layout Standard
37833 Opens or closes a new instance of \SpecialChar LyX
37834 .
37835 \end_layout
37836
37837 \begin_layout Subsection
37838 Exit
37839 \end_layout
37840
37841 \begin_layout Standard
37842 Prompts you to save all unsaved documents and then exits.
37843 \end_layout
37844
37845 \begin_layout Section
37846 The Edit Menu
37847 \begin_inset Index idx
37848 status collapsed
37849
37850 \begin_layout Plain Layout
37851 Menu ! Edit
37852 \end_layout
37853
37854 \end_inset
37855
37856
37857 \end_layout
37858
37859 \begin_layout Subsection
37860 Undo and Redo
37861 \end_layout
37862
37863 \begin_layout Standard
37864 Described in section
37865 \begin_inset space ~
37866 \end_inset
37867
37868
37869 \begin_inset CommandInset ref
37870 LatexCommand ref
37871 reference "sec:Undo-and-Redo"
37872
37873 \end_inset
37874
37875 .
37876 \end_layout
37877
37878 \begin_layout Subsection
37879 Cut, Copy, Paste, Paste Recent, Paste Special
37880 \end_layout
37881
37882 \begin_layout Standard
37883 Described in section
37884 \begin_inset space ~
37885 \end_inset
37886
37887
37888 \begin_inset CommandInset ref
37889 LatexCommand ref
37890 reference "sec:Basic-Editing-Features"
37891
37892 \end_inset
37893
37894 .
37895 \end_layout
37896
37897 \begin_layout Subsection
37898 Select Whole Inset
37899 \end_layout
37900
37901 \begin_layout Standard
37902 Selects the content of the inset in which the cursor currently is.
37903  If the cursor is outside an inset, the whole document will be selected.
37904 \end_layout
37905
37906 \begin_layout Subsection
37907 Select All
37908 \end_layout
37909
37910 \begin_layout Standard
37911 Selects the whole document.
37912 \end_layout
37913
37914 \begin_layout Subsection
37915 Find & Replace (Quick)
37916 \end_layout
37917
37918 \begin_layout Standard
37919 Described in section
37920 \begin_inset space ~
37921 \end_inset
37922
37923
37924 \begin_inset CommandInset ref
37925 LatexCommand ref
37926 reference "sec:Basic-Editing-Features"
37927
37928 \end_inset
37929
37930 .
37931 \end_layout
37932
37933 \begin_layout Subsection
37934 Find & Replace (Advanced)
37935 \end_layout
37936
37937 \begin_layout Standard
37938 Described in section
37939 \begin_inset space ~
37940 \end_inset
37941
37942
37943 \begin_inset CommandInset ref
37944 LatexCommand ref
37945 reference "sec:Advanced-Find-and"
37946
37947 \end_inset
37948
37949 .
37950 \end_layout
37951
37952 \begin_layout Subsection
37953 Move Paragraph Up/Down
37954 \end_layout
37955
37956 \begin_layout Standard
37957 This shifts the paragraph in which the cursor currently is one paragraph
37958  up or down.
37959 \end_layout
37960
37961 \begin_layout Subsection
37962 Text Style
37963 \end_layout
37964
37965 \begin_layout Standard
37966 Described in section
37967 \begin_inset space ~
37968 \end_inset
37969
37970
37971 \begin_inset CommandInset ref
37972 LatexCommand ref
37973 reference "subsec:Fine-Tuning-with-the"
37974
37975 \end_inset
37976
37977 .
37978 \end_layout
37979
37980 \begin_layout Subsection
37981 Paragraph Settings
37982 \begin_inset Index idx
37983 status collapsed
37984
37985 \begin_layout Plain Layout
37986 Paragraph ! Settings
37987 \end_layout
37988
37989 \end_inset
37990
37991
37992 \end_layout
37993
37994 \begin_layout Standard
37995 Enables you to set the paragraph alignment, line spacing and label width.
37996  These settings only affect the paragraph in which the cursor is currently
37997  in.
37998 \end_layout
37999
38000 \begin_layout Standard
38001 You can also prevent the first line of the paragraph being indented if you
38002  have chosen to separate paragraphs with 
38003 \family sans
38004 Indentation
38005 \family default
38006  in the 
38007 \family sans
38008 Document\SpecialChar menuseparator
38009 Settings\SpecialChar menuseparator
38010 Text
38011 \begin_inset space ~
38012 \end_inset
38013
38014 Layout
38015 \family default
38016  dialog.
38017 \end_layout
38018
38019 \begin_layout Subsection
38020 Table and Rows & Columns
38021 \end_layout
38022
38023 \begin_layout Standard
38024 These menus only appear if the cursor is inside a table.
38025  It allows you to create multicolumn and multirow cells, add or remove borders
38026  of a cell and to set the alignment of the cell.
38027 \end_layout
38028
38029 \begin_layout Subsection
38030 Dissolve Inset
38031 \end_layout
38032
38033 \begin_layout Standard
38034 This menu only appears if the cursor is inside an inset.
38035  It will dissolve this inset.
38036  This means that the inset is deleted and its content is left as normal
38037  text.
38038 \end_layout
38039
38040 \begin_layout Subsection
38041 Settings or Math
38042 \end_layout
38043
38044 \begin_layout Standard
38045 This menu is only active if the cursor is inside an inset or a formula.
38046  Here you can change the properties of the inset or the formula.
38047 \end_layout
38048
38049 \begin_layout Subsection
38050 Increase/Decrease List Depth
38051 \end_layout
38052
38053 \begin_layout Standard
38054 These menus are only active if the cursor is in an environment that can
38055  be nested.
38056  They increase/decrease the environment nesting level as explained in section
38057 \begin_inset space ~
38058 \end_inset
38059
38060
38061 \begin_inset CommandInset ref
38062 LatexCommand ref
38063 reference "sec:Nesting"
38064
38065 \end_inset
38066
38067  and 
38068 \begin_inset CommandInset ref
38069 LatexCommand ref
38070 reference "subsec:Numbering-depth"
38071
38072 \end_inset
38073
38074 .
38075 \end_layout
38076
38077 \begin_layout Section
38078 The View Menu
38079 \begin_inset Index idx
38080 status collapsed
38081
38082 \begin_layout Plain Layout
38083 Menu ! View
38084 \end_layout
38085
38086 \end_inset
38087
38088
38089 \end_layout
38090
38091 \begin_layout Standard
38092 At the bottom of the 
38093 \family sans
38094 View
38095 \family default
38096  menu the opened documents are listed.
38097 \end_layout
38098
38099 \begin_layout Subsection
38100 Open/Close all Insets
38101 \end_layout
38102
38103 \begin_layout Standard
38104 Opens/closes all insets in your document.
38105 \end_layout
38106
38107 \begin_layout Subsection
38108 Unfold/Fold Math Macros
38109 \end_layout
38110
38111 \begin_layout Standard
38112 Unfolds/folds the current math macro.
38113 \end_layout
38114
38115 \begin_layout Standard
38116 Math macros are described in the 
38117 \emph on
38118 Math
38119 \emph default
38120  manual.
38121 \end_layout
38122
38123 \begin_layout Subsection
38124 Outline Pane
38125 \end_layout
38126
38127 \begin_layout Standard
38128 Shows the outline window as described in sections
38129 \begin_inset space ~
38130 \end_inset
38131
38132
38133 \begin_inset CommandInset ref
38134 LatexCommand ref
38135 reference "sec:Navigating"
38136
38137 \end_inset
38138
38139  and 
38140 \begin_inset CommandInset ref
38141 LatexCommand ref
38142 reference "subsec:Table-of-Contents"
38143
38144 \end_inset
38145
38146 .
38147 \end_layout
38148
38149 \begin_layout Subsection
38150 Source Pane
38151 \end_layout
38152
38153 \begin_layout Standard
38154 Opens a window showing the source code of the actual document, as described
38155  in section
38156 \begin_inset space ~
38157 \end_inset
38158
38159
38160 \begin_inset CommandInset ref
38161 LatexCommand ref
38162 reference "sec:Previewing-snippets-of"
38163
38164 \end_inset
38165
38166 .
38167 \end_layout
38168
38169 \begin_layout Subsection
38170 Messages Pane
38171 \end_layout
38172
38173 \begin_layout Standard
38174 Opens a window showing console messages.
38175  This is useful for debugging \SpecialChar LyX
38176  (i.
38177 \begin_inset space \thinspace{}
38178 \end_inset
38179
38180 e., hunt for errors in the program) or to see what is going on in the background
38181  while \SpecialChar LaTeX
38182  is processing the document.
38183 \end_layout
38184
38185 \begin_layout Subsection
38186 Toolbars
38187 \begin_inset CommandInset label
38188 LatexCommand label
38189 name "subsec:Toolbars"
38190
38191 \end_inset
38192
38193
38194 \begin_inset Index idx
38195 status collapsed
38196
38197 \begin_layout Plain Layout
38198 Toolbar
38199 \end_layout
38200
38201 \end_inset
38202
38203
38204 \end_layout
38205
38206 \begin_layout Standard
38207 In this menu entry you can set the icon size and the appearance of the different
38208  toolbars.
38209  All toolbars and the 
38210 \family sans
38211 Command
38212 \begin_inset space ~
38213 \end_inset
38214
38215 Buffer
38216 \family default
38217  can be turned on and off.
38218  The 
38219 \emph on
38220 on
38221 \emph default
38222  state is denoted in the menu with a checkmark.
38223  The 
38224 \family sans
38225 Table
38226 \family default
38227
38228 \family sans
38229 Math,
38230 \family default
38231  
38232 \family sans
38233 Math
38234 \begin_inset space ~
38235 \end_inset
38236
38237 Macros,
38238 \family default
38239  
38240 \family sans
38241 Review
38242 \family default
38243  and 
38244 \family sans
38245 Math
38246 \begin_inset space ~
38247 \end_inset
38248
38249 Panels
38250 \family default
38251  toolbars can additionally be set to the state 
38252 \emph on
38253 automatic
38254 \emph default
38255 , denoted in the menu with the suffix 
38256 \family sans
38257 (auto)
38258 \family default
38259 .
38260 \end_layout
38261
38262 \begin_layout Standard
38263 In the 
38264 \emph on
38265 on
38266 \emph default
38267  state the toolbar is permanently shown; in the 
38268 \emph on
38269 automatic
38270 \emph default
38271  state the toolbar is only shown when the cursor is in a certain environment
38272  or when a certain feature is enabled.
38273  That means that the review toolbar will only be shown if change tracking
38274  is activated, the math and table toolbars are only shown if the cursor
38275  is inside a formula or table respectively.
38276 \end_layout
38277
38278 \begin_layout Standard
38279 \SpecialChar LyX
38280 's toolbars and their buttons are explained in section
38281 \begin_inset space ~
38282 \end_inset
38283
38284
38285 \begin_inset CommandInset ref
38286 LatexCommand ref
38287 reference "sec:Toolbars"
38288
38289 \end_inset
38290
38291 .
38292 \end_layout
38293
38294 \begin_layout Subsection
38295 Split View
38296 \end_layout
38297
38298 \begin_layout Standard
38299
38300 \family sans
38301 Split
38302 \begin_inset space ~
38303 \end_inset
38304
38305 View
38306 \begin_inset space ~
38307 \end_inset
38308
38309 into
38310 \begin_inset space ~
38311 \end_inset
38312
38313 Left
38314 \begin_inset space ~
38315 \end_inset
38316
38317 and
38318 \begin_inset space ~
38319 \end_inset
38320
38321 Right
38322 \begin_inset space ~
38323 \end_inset
38324
38325 Half
38326 \family default
38327  will split \SpecialChar LyX
38328 's main window vertically while 
38329 \family sans
38330 Split
38331 \begin_inset space ~
38332 \end_inset
38333
38334 View
38335 \begin_inset space ~
38336 \end_inset
38337
38338 into
38339 \begin_inset space ~
38340 \end_inset
38341
38342 Upper
38343 \begin_inset space ~
38344 \end_inset
38345
38346 and
38347 \begin_inset space ~
38348 \end_inset
38349
38350 Lower
38351 \begin_inset space ~
38352 \end_inset
38353
38354 Half
38355 \family default
38356  will split it horizontally.
38357  This allows you to view documents at the same time to compare them, or
38358  to view the same document, but at different positions.
38359  You can even split the main window several times to view, for example,
38360  three or more documents at the same time.
38361  To close a split view, use the menu 
38362 \family sans
38363 Close
38364 \begin_inset space ~
38365 \end_inset
38366
38367 Current
38368 \begin_inset space ~
38369 \end_inset
38370
38371 View
38372 \family default
38373 .
38374 \end_layout
38375
38376 \begin_layout Subsection
38377 Close Current View
38378 \end_layout
38379
38380 \begin_layout Standard
38381 Closes a split view.
38382 \end_layout
38383
38384 \begin_layout Subsection
38385 Fullscreen
38386 \end_layout
38387
38388 \begin_layout Standard
38389 Using this menu entry or pressing F11 removes the menu bar and all toolbars
38390  so that you will see nothing but your text.
38391  It furthermore displays \SpecialChar LyX
38392 's main window fullscreen.
38393  To return from fullscreen to the normal view, press F11, or right-click
38394  and turn off the fullscreen mode in the context menu.
38395 \end_layout
38396
38397 \begin_layout Section
38398 The Insert Menu
38399 \begin_inset Index idx
38400 status collapsed
38401
38402 \begin_layout Plain Layout
38403 Menu ! Insert
38404 \end_layout
38405
38406 \end_inset
38407
38408
38409 \end_layout
38410
38411 \begin_layout Subsection
38412 Math
38413 \end_layout
38414
38415 \begin_layout Standard
38416 Inserts math constructs that are explained in chapter
38417 \begin_inset space ~
38418 \end_inset
38419
38420
38421 \begin_inset CommandInset ref
38422 LatexCommand ref
38423 reference "chap:Mathematical-Formulas"
38424
38425 \end_inset
38426
38427  and the 
38428 \emph on
38429 Math
38430 \emph default
38431  manual.
38432 \end_layout
38433
38434 \begin_layout Subsection
38435 Special Character
38436 \begin_inset CommandInset label
38437 LatexCommand label
38438 name "subsec:Special-Character"
38439
38440 \end_inset
38441
38442
38443 \end_layout
38444
38445 \begin_layout Standard
38446 Here you can insert the following characters:
38447 \end_layout
38448
38449 \begin_layout Description
38450 Symbols Opens the 
38451 \family sans
38452 Symbols
38453 \family default
38454  dialog which allows you to insert any character that can be output by your
38455  \SpecialChar LaTeX
38456  system.
38457  By default groups of characters are displayed in character categories;
38458  the available characters depend on the \SpecialChar LaTeX
38459 -packages you have installed.
38460  You can get a complete display by checking 
38461 \family sans
38462 Display
38463 \begin_inset space ~
38464 \end_inset
38465
38466 all
38467 \family default
38468 .
38469 \begin_inset Newline newline
38470 \end_inset
38471
38472  
38473 \begin_inset Note Greyedout
38474 status open
38475
38476 \begin_layout Plain Layout
38477
38478 \series bold
38479 Note:
38480 \series default
38481  Not all characters will be visible in the 
38482 \family sans
38483 Symbols
38484 \family default
38485  dialog because none of the screen fonts that you can set in the preferences
38486  dialog (see section
38487 \begin_inset space ~
38488 \end_inset
38489
38490
38491 \begin_inset CommandInset ref
38492 LatexCommand ref
38493 reference "subsec:Screen-Fonts"
38494
38495 \end_inset
38496
38497 ) can display every character.
38498 \end_layout
38499
38500 \end_inset
38501
38502
38503 \end_layout
38504
38505 \begin_layout Description
38506 Ellipsis Inserts an ellipsis: \SpecialChar ldots
38507
38508 \end_layout
38509
38510 \begin_layout Description
38511 End
38512 \begin_inset space ~
38513 \end_inset
38514
38515 of
38516 \begin_inset space ~
38517 \end_inset
38518
38519 Sentence Inserts an end of sentence period as described in section
38520 \begin_inset space ~
38521 \end_inset
38522
38523
38524 \begin_inset CommandInset ref
38525 LatexCommand ref
38526 reference "subsec:Abbreviations"
38527
38528 \end_inset
38529
38530 .
38531 \end_layout
38532
38533 \begin_layout Description
38534 Ordinary
38535 \begin_inset space ~
38536 \end_inset
38537
38538 Quote Inserts this quote: ", no matter what quote style you selected in
38539  the 
38540 \family sans
38541 Document\SpecialChar menuseparator
38542 Settings\SpecialChar menuseparator
38543 Language
38544 \family default
38545  dialog.
38546 \end_layout
38547
38548 \begin_layout Description
38549 Single
38550 \begin_inset space ~
38551 \end_inset
38552
38553 Quote Inserts a single quote in the quotation marks style selected in the
38554  
38555 \family sans
38556 Document\SpecialChar menuseparator
38557 Settings\SpecialChar menuseparator
38558 Language
38559 \family default
38560  dialog.
38561 \end_layout
38562
38563 \begin_layout Description
38564 Protected
38565 \begin_inset space ~
38566 \end_inset
38567
38568 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar nobreakdash
38569
38570 \end_layout
38571
38572 \begin_layout Description
38573 Breakable
38574 \begin_inset space ~
38575 \end_inset
38576
38577 Slash Inserts a slash where a line break can also occur: \SpecialChar breakableslash
38578
38579 \end_layout
38580
38581 \begin_layout Description
38582 Visible
38583 \begin_inset space ~
38584 \end_inset
38585
38586 Space Inserts a character representing a single space (the one you get when
38587  pressing the 
38588 \family sans
38589 Space
38590 \family default
38591  key): 
38592 \begin_inset space \textvisiblespace{}
38593 \end_inset
38594
38595
38596 \end_layout
38597
38598 \begin_layout Description
38599 Menu
38600 \begin_inset space ~
38601 \end_inset
38602
38603 Separator Inserts the menu separator sign: \SpecialChar menuseparator
38604
38605 \end_layout
38606
38607 \begin_layout Description
38608 Phonetic
38609 \begin_inset space ~
38610 \end_inset
38611
38612 Symbols 
38613 \begin_inset Index idx
38614 status collapsed
38615
38616 \begin_layout Plain Layout
38617 Phonetic symbols
38618 \end_layout
38619
38620 \end_inset
38621
38622
38623 \begin_inset Index idx
38624 status collapsed
38625
38626 \begin_layout Plain Layout
38627 Language ! Phonetic symbols
38628 \end_layout
38629
38630 \end_inset
38631
38632 Inserts a box where you can insert symbols from the International Phonetic
38633  Alphabet (IPA) and opens a toolbar which provides a large set of these
38634  symbols.
38635  To use this feature you must have the \SpecialChar LaTeX
38636 -package 
38637 \series bold
38638 tipa
38639 \series default
38640
38641 \begin_inset Index idx
38642 status collapsed
38643
38644 \begin_layout Plain Layout
38645 \SpecialChar LaTeX
38646  packages ! tipa
38647 \end_layout
38648
38649 \end_inset
38650
38651  installed.
38652 \begin_inset Newline newline
38653 \end_inset
38654
38655 More information about this feature can be found in the 
38656 \emph on
38657 Linguistics
38658 \emph default
38659  manual (
38660 \family sans
38661 Help\SpecialChar menuseparator
38662 Specific Manuals
38663 \family default
38664 ).
38665 \end_layout
38666
38667 \begin_layout Description
38668 Logos Inserts the logos of the programs \SpecialChar LyX
38669 , \SpecialChar TeX
38670 , \SpecialChar LaTeX
38671  and \SpecialChar LaTeX2e
38672 .
38673 \end_layout
38674
38675 \begin_layout Subsection
38676 Formatting
38677 \end_layout
38678
38679 \begin_layout Standard
38680 Opens a submenu with the following options:
38681 \end_layout
38682
38683 \begin_layout Description
38684 Superscript Inserts a superscript: test
38685 \begin_inset script superscript
38686
38687 \begin_layout Plain Layout
38688 a, b
38689 \end_layout
38690
38691 \end_inset
38692
38693
38694 \end_layout
38695
38696 \begin_layout Description
38697 Subscript Inserts a subscript: test
38698 \begin_inset script subscript
38699
38700 \begin_layout Plain Layout
38701 3x
38702 \end_layout
38703
38704 \end_inset
38705
38706
38707 \end_layout
38708
38709 \begin_layout Description
38710 Protected
38711 \begin_inset space ~
38712 \end_inset
38713
38714 Space Inserts a protected space as described in section
38715 \begin_inset space ~
38716 \end_inset
38717
38718
38719 \begin_inset CommandInset ref
38720 LatexCommand ref
38721 reference "subsec:Protected-Space"
38722
38723 \end_inset
38724
38725 .
38726 \end_layout
38727
38728 \begin_layout Description
38729 Interword
38730 \begin_inset space ~
38731 \end_inset
38732
38733 Space Inserts an inter-word space as described in section
38734 \begin_inset space ~
38735 \end_inset
38736
38737
38738 \begin_inset CommandInset ref
38739 LatexCommand ref
38740 reference "subsec:Inter-word-Space"
38741
38742 \end_inset
38743
38744 .
38745 \end_layout
38746
38747 \begin_layout Description
38748 Thin
38749 \begin_inset space ~
38750 \end_inset
38751
38752 Space Inserts a thin space as described in section
38753 \begin_inset space ~
38754 \end_inset
38755
38756
38757 \begin_inset CommandInset ref
38758 LatexCommand ref
38759 reference "subsec:Thin-Space"
38760
38761 \end_inset
38762
38763 .
38764 \end_layout
38765
38766 \begin_layout Description
38767 Visible
38768 \begin_inset space ~
38769 \end_inset
38770
38771 Space Inserts a character to visualize that there is or should be a space.
38772  This is e.
38773 \begin_inset space \thinspace{}
38774 \end_inset
38775
38776 g.
38777 \begin_inset space \space{}
38778 \end_inset
38779
38780 useful if you need to indicate a space in a command sequence.
38781  An example from the \SpecialChar LyX
38782  
38783 \emph on
38784 Math
38785 \emph default
38786  manual: 
38787 \begin_inset Quotes eld
38788 \end_inset
38789
38790 To insert a fraction use the command 
38791 \series bold
38792
38793 \backslash
38794 frac
38795 \begin_inset space \textvisiblespace{}
38796 \end_inset
38797
38798 A
38799 \begin_inset Formula $\downarrow$
38800 \end_inset
38801
38802 B.
38803 \series default
38804
38805 \begin_inset Quotes erd
38806 \end_inset
38807
38808  The visible space is hereby the character before the 
38809 \series bold
38810 A
38811 \series default
38812 .
38813 \end_layout
38814
38815 \begin_layout Description
38816 Horizontal
38817 \begin_inset space ~
38818 \end_inset
38819
38820 Space Inserts horizontal space as described in section
38821 \begin_inset space ~
38822 \end_inset
38823
38824
38825 \begin_inset CommandInset ref
38826 LatexCommand ref
38827 reference "subsec:Horizontal-Space"
38828
38829 \end_inset
38830
38831 .
38832 \end_layout
38833
38834 \begin_layout Description
38835 Horizontal
38836 \begin_inset space ~
38837 \end_inset
38838
38839 Line Inserts a horizontal line as described in section
38840 \begin_inset space ~
38841 \end_inset
38842
38843
38844 \begin_inset CommandInset ref
38845 LatexCommand ref
38846 reference "subsec:Horizontal-Lines"
38847
38848 \end_inset
38849
38850 .
38851 \end_layout
38852
38853 \begin_layout Description
38854 Vertical
38855 \begin_inset space ~
38856 \end_inset
38857
38858 Space Inserts vertical space as described in section
38859 \begin_inset space ~
38860 \end_inset
38861
38862
38863 \begin_inset CommandInset ref
38864 LatexCommand ref
38865 reference "subsec:Vertical-Space"
38866
38867 \end_inset
38868
38869 .
38870 \end_layout
38871
38872 \begin_layout Description
38873 Phantom Inserts a Phantom space as described in section
38874 \begin_inset space ~
38875 \end_inset
38876
38877
38878 \begin_inset CommandInset ref
38879 LatexCommand ref
38880 reference "subsec:Phantom-Space"
38881
38882 \end_inset
38883
38884 .
38885 \end_layout
38886
38887 \begin_layout Description
38888 Hyphenation
38889 \begin_inset space ~
38890 \end_inset
38891
38892 Point Inserts a hyphenation point as described in section
38893 \begin_inset space ~
38894 \end_inset
38895
38896
38897 \begin_inset CommandInset ref
38898 LatexCommand ref
38899 reference "subsec:Hyphenation"
38900
38901 \end_inset
38902
38903 .
38904 \end_layout
38905
38906 \begin_layout Description
38907 Ligature
38908 \begin_inset space ~
38909 \end_inset
38910
38911 Break Inserts a ligature break as described in section
38912 \begin_inset space ~
38913 \end_inset
38914
38915
38916 \begin_inset CommandInset ref
38917 LatexCommand ref
38918 reference "subsec:Ligatures"
38919
38920 \end_inset
38921
38922 .
38923 \end_layout
38924
38925 \begin_layout Description
38926 Optional
38927 \begin_inset space ~
38928 \end_inset
38929
38930 Line
38931 \begin_inset space ~
38932 \end_inset
38933
38934 Break Inserts a line break point (zero-width space character) that is invisible
38935  in the output.
38936  See section
38937 \begin_inset space ~
38938 \end_inset
38939
38940
38941 \begin_inset CommandInset ref
38942 LatexCommand ref
38943 reference "subsec:Dashes-and-line-breaks"
38944 plural "false"
38945 caps "false"
38946 noprefix "false"
38947
38948 \end_inset
38949
38950  for a usage example.
38951 \end_layout
38952
38953 \begin_layout Description
38954 Ragged
38955 \begin_inset space ~
38956 \end_inset
38957
38958 Line
38959 \begin_inset space ~
38960 \end_inset
38961
38962 Break Inserts a forced line break as described in section
38963 \begin_inset space ~
38964 \end_inset
38965
38966
38967 \begin_inset CommandInset ref
38968 LatexCommand ref
38969 reference "subsec:Forced-Line-Breaks"
38970
38971 \end_inset
38972
38973 .
38974 \end_layout
38975
38976 \begin_layout Description
38977 Justified
38978 \begin_inset space ~
38979 \end_inset
38980
38981 Break Inserts a forced line break that right justifies the remaining text
38982  as described in section
38983 \begin_inset space ~
38984 \end_inset
38985
38986
38987 \begin_inset CommandInset ref
38988 LatexCommand ref
38989 reference "subsec:Forced-Line-Breaks"
38990
38991 \end_inset
38992
38993 .
38994 \end_layout
38995
38996 \begin_layout Description
38997 New
38998 \begin_inset space ~
38999 \end_inset
39000
39001 Page Inserts a forced page break as described in section
39002 \begin_inset space ~
39003 \end_inset
39004
39005
39006 \begin_inset CommandInset ref
39007 LatexCommand ref
39008 reference "subsec:Forced-Page-Breaks"
39009
39010 \end_inset
39011
39012 .
39013 \end_layout
39014
39015 \begin_layout Description
39016 Page
39017 \begin_inset space ~
39018 \end_inset
39019
39020 Break Inserts a forced page break that shares the extra space among paragraph
39021  breaks instead of leaving it at the bottom of the page, as described in
39022  section
39023 \begin_inset space ~
39024 \end_inset
39025
39026
39027 \begin_inset CommandInset ref
39028 LatexCommand ref
39029 reference "subsec:Forced-Page-Breaks"
39030
39031 \end_inset
39032
39033 .
39034 \end_layout
39035
39036 \begin_layout Description
39037 Clear
39038 \begin_inset space ~
39039 \end_inset
39040
39041 Page Inserts a clear page break as described in section
39042 \begin_inset space ~
39043 \end_inset
39044
39045
39046 \begin_inset CommandInset ref
39047 LatexCommand ref
39048 reference "subsec:Clear-Page-Breaks"
39049
39050 \end_inset
39051
39052 .
39053 \end_layout
39054
39055 \begin_layout Description
39056 Clear
39057 \begin_inset space ~
39058 \end_inset
39059
39060 Double
39061 \begin_inset space ~
39062 \end_inset
39063
39064 Page Inserts a clear doublepage break as described in section
39065 \begin_inset space ~
39066 \end_inset
39067
39068
39069 \begin_inset CommandInset ref
39070 LatexCommand ref
39071 reference "subsec:Clear-Page-Breaks"
39072
39073 \end_inset
39074
39075 .
39076 \end_layout
39077
39078 \begin_layout Subsection
39079 List/TOC
39080 \end_layout
39081
39082 \begin_layout Standard
39083 Various lists can be inserted with this menu entry.
39084  The 
39085 \family sans
39086 Table
39087 \begin_inset space ~
39088 \end_inset
39089
39090 of Contents
39091 \family default
39092 , the 
39093 \family sans
39094 List of Algorithms
39095 \family default
39096
39097 \family sans
39098 List of Figures,
39099 \family default
39100  
39101 \family sans
39102 List of Tables
39103 \family default
39104  and 
39105 \family sans
39106 List of Listings
39107 \family default
39108  are described in section
39109 \begin_inset space ~
39110 \end_inset
39111
39112
39113 \begin_inset CommandInset ref
39114 LatexCommand ref
39115 reference "sec:toc"
39116
39117 \end_inset
39118
39119 .
39120  The 
39121 \family sans
39122 Index List
39123 \family default
39124  is described in section
39125 \begin_inset space ~
39126 \end_inset
39127
39128
39129 \begin_inset CommandInset ref
39130 LatexCommand ref
39131 reference "sec:Index"
39132
39133 \end_inset
39134
39135 , the 
39136 \family sans
39137 Nomenclature
39138 \family default
39139  is described in section
39140 \begin_inset space ~
39141 \end_inset
39142
39143
39144 \begin_inset CommandInset ref
39145 LatexCommand ref
39146 reference "sec:Nomenclature"
39147
39148 \end_inset
39149
39150  and the 
39151 \family sans
39152 Bib\SpecialChar TeX
39153  Bibliography
39154 \family default
39155  is described in section
39156 \begin_inset space ~
39157 \end_inset
39158
39159
39160 \begin_inset CommandInset ref
39161 LatexCommand ref
39162 reference "subsec:Bibliography-databases"
39163
39164 \end_inset
39165
39166 .
39167 \end_layout
39168
39169 \begin_layout Subsection
39170 Float
39171 \end_layout
39172
39173 \begin_layout Standard
39174 To insert floats, as described in section
39175 \begin_inset space ~
39176 \end_inset
39177
39178
39179 \begin_inset CommandInset ref
39180 LatexCommand ref
39181 reference "sec:Floats"
39182
39183 \end_inset
39184
39185  and in detail the chapter 
39186 \emph on
39187 Floats
39188 \emph default
39189  of the 
39190 \emph on
39191 Embedded
39192 \begin_inset space ~
39193 \end_inset
39194
39195 Objects
39196 \emph default
39197  manual.
39198 \end_layout
39199
39200 \begin_layout Subsection
39201 Note
39202 \end_layout
39203
39204 \begin_layout Standard
39205 To insert notes, described in section
39206 \begin_inset space ~
39207 \end_inset
39208
39209
39210 \begin_inset CommandInset ref
39211 LatexCommand ref
39212 reference "sec:Notes"
39213
39214 \end_inset
39215
39216 .
39217 \end_layout
39218
39219 \begin_layout Subsection
39220 Branch
39221 \end_layout
39222
39223 \begin_layout Standard
39224 Inserts a branch inset, if any, and allowing you to create and insert a
39225  new branch.
39226  Branches are described in section
39227 \begin_inset space ~
39228 \end_inset
39229
39230
39231 \begin_inset CommandInset ref
39232 LatexCommand ref
39233 reference "sec:Branches"
39234
39235 \end_inset
39236
39237 .
39238 \end_layout
39239
39240 \begin_layout Subsection
39241 Custom Insets
39242 \end_layout
39243
39244 \begin_layout Standard
39245 Inserts document class-specific insets.
39246  Such insets only exist if they are defined in the layout file for a certain
39247  document class.
39248  An example is the document class 
39249 \begin_inset Quotes eld
39250 \end_inset
39251
39252 article (Elsevier)
39253 \begin_inset Quotes erd
39254 \end_inset
39255
39256  with three custom insets.
39257  The section 
39258 \emph on
39259 Flex insets and InsetLayout
39260 \emph default
39261  in 
39262 \emph on
39263 Installing New Document Classes, The Layout file format 
39264 \emph default
39265 of the 
39266 \emph on
39267 Customization
39268 \emph default
39269  manual explains how custom insets are defined.
39270 \end_layout
39271
39272 \begin_layout Subsection
39273 File
39274 \begin_inset Index idx
39275 status collapsed
39276
39277 \begin_layout Plain Layout
39278 External Material
39279 \end_layout
39280
39281 \end_inset
39282
39283
39284 \end_layout
39285
39286 \begin_layout Standard
39287 This menu entry allows you to insert or include the contents of other files
39288  in your document.
39289  For more information see chapter 
39290 \emph on
39291 External Document Parts
39292 \emph default
39293  of the Embedded
39294 \begin_inset space ~
39295 \end_inset
39296
39297 Objects manual.
39298 \end_layout
39299
39300 \begin_layout Subsection
39301 Box
39302 \begin_inset Index idx
39303 status collapsed
39304
39305 \begin_layout Plain Layout
39306 Boxes
39307 \end_layout
39308
39309 \end_inset
39310
39311
39312 \end_layout
39313
39314 \begin_layout Standard
39315 Inserts a box in a certain style.
39316  Boxes are described in detail in the chapter 
39317 \emph on
39318 Boxes
39319 \emph default
39320  of the 
39321 \emph on
39322 Embedded
39323 \begin_inset space ~
39324 \end_inset
39325
39326 Objects
39327 \emph default
39328  manual.
39329 \end_layout
39330
39331 \begin_layout Subsection
39332 Citation
39333 \end_layout
39334
39335 \begin_layout Standard
39336 Opens the 
39337 \family sans
39338 Citation
39339 \family default
39340  dialog as described in section
39341 \begin_inset space ~
39342 \end_inset
39343
39344
39345 \begin_inset CommandInset ref
39346 LatexCommand ref
39347 reference "sec:Bibliography"
39348
39349 \end_inset
39350
39351 .
39352 \end_layout
39353
39354 \begin_layout Subsection
39355 Cross-Reference
39356 \end_layout
39357
39358 \begin_layout Standard
39359 Inserts a 
39360 \family sans
39361 cross-reference
39362 \family default
39363  as described in section
39364 \begin_inset space ~
39365 \end_inset
39366
39367
39368 \begin_inset CommandInset ref
39369 LatexCommand ref
39370 reference "sec:Cross-References"
39371
39372 \end_inset
39373
39374 .
39375 \end_layout
39376
39377 \begin_layout Subsection
39378 Label
39379 \end_layout
39380
39381 \begin_layout Standard
39382 Inserts a 
39383 \family sans
39384 label
39385 \family default
39386  as described in section
39387 \begin_inset space ~
39388 \end_inset
39389
39390
39391 \begin_inset CommandInset ref
39392 LatexCommand ref
39393 reference "sec:Cross-References"
39394
39395 \end_inset
39396
39397 .
39398 \end_layout
39399
39400 \begin_layout Subsection
39401 Caption
39402 \begin_inset Index idx
39403 status collapsed
39404
39405 \begin_layout Plain Layout
39406 Captions
39407 \end_layout
39408
39409 \end_inset
39410
39411
39412 \begin_inset Index idx
39413 status collapsed
39414
39415 \begin_layout Plain Layout
39416 Tables ! Multi-page ! Caption
39417 \end_layout
39418
39419 \end_inset
39420
39421
39422 \end_layout
39423
39424 \begin_layout Standard
39425 Inserts a caption in a float or multi-page table.
39426  Floats are described in section
39427 \begin_inset space ~
39428 \end_inset
39429
39430
39431 \begin_inset CommandInset ref
39432 LatexCommand ref
39433 reference "sec:Floats"
39434
39435 \end_inset
39436
39437 ; captions in multi-page tables are described in the section 
39438 \emph on
39439 Multi-page Captions
39440 \emph default
39441  of the 
39442 \emph on
39443 Embedded
39444 \begin_inset space ~
39445 \end_inset
39446
39447 Objects
39448 \emph default
39449  manual.
39450 \end_layout
39451
39452 \begin_layout Subsection
39453 Index Entry
39454 \end_layout
39455
39456 \begin_layout Standard
39457 Inserts an index entry as described in section
39458 \begin_inset space ~
39459 \end_inset
39460
39461
39462 \begin_inset CommandInset ref
39463 LatexCommand ref
39464 reference "sec:Index"
39465
39466 \end_inset
39467
39468 .
39469 \end_layout
39470
39471 \begin_layout Subsection
39472 Nomenclature Entry
39473 \end_layout
39474
39475 \begin_layout Standard
39476 Inserts a nomenclature entry as described in section
39477 \begin_inset space ~
39478 \end_inset
39479
39480
39481 \begin_inset CommandInset ref
39482 LatexCommand ref
39483 reference "sec:Nomenclature"
39484
39485 \end_inset
39486
39487 .
39488 \end_layout
39489
39490 \begin_layout Subsection
39491 Table
39492 \end_layout
39493
39494 \begin_layout Standard
39495 Opens a dialog allowing you to specify the rows and columns of the table.
39496  Tables are described in section
39497 \begin_inset space ~
39498 \end_inset
39499
39500
39501 \begin_inset CommandInset ref
39502 LatexCommand ref
39503 reference "sec:Tables"
39504
39505 \end_inset
39506
39507  and in detail in the chapter 
39508 \emph on
39509 Tables
39510 \emph default
39511  of the 
39512 \emph on
39513 Embedded
39514 \begin_inset space ~
39515 \end_inset
39516
39517 Objects
39518 \emph default
39519  manual.
39520 \end_layout
39521
39522 \begin_layout Subsection
39523 Graphics
39524 \end_layout
39525
39526 \begin_layout Standard
39527 Opens the 
39528 \family sans
39529 Graphics
39530 \family default
39531  dialog.
39532  Graphics are described in section
39533 \begin_inset space ~
39534 \end_inset
39535
39536
39537 \begin_inset CommandInset ref
39538 LatexCommand ref
39539 reference "sec:Graphics"
39540
39541 \end_inset
39542
39543 .
39544 \end_layout
39545
39546 \begin_layout Subsection
39547 URL
39548 \end_layout
39549
39550 \begin_layout Standard
39551 Inserts a URL as described in section
39552 \begin_inset space ~
39553 \end_inset
39554
39555
39556 \begin_inset CommandInset ref
39557 LatexCommand ref
39558 reference "subsec:URLs"
39559
39560 \end_inset
39561
39562 .
39563 \end_layout
39564
39565 \begin_layout Subsection
39566 Hyperlink
39567 \end_layout
39568
39569 \begin_layout Standard
39570 Inserts a hyperlink as described in section
39571 \begin_inset space ~
39572 \end_inset
39573
39574
39575 \begin_inset CommandInset ref
39576 LatexCommand ref
39577 reference "subsec:Hyperlinks"
39578
39579 \end_inset
39580
39581 .
39582 \end_layout
39583
39584 \begin_layout Subsection
39585 Footnote
39586 \end_layout
39587
39588 \begin_layout Standard
39589 Inserts a footnote as described in section
39590 \begin_inset space ~
39591 \end_inset
39592
39593
39594 \begin_inset CommandInset ref
39595 LatexCommand ref
39596 reference "sec:Footnotes"
39597
39598 \end_inset
39599
39600 .
39601 \end_layout
39602
39603 \begin_layout Subsection
39604 Marginal Note
39605 \end_layout
39606
39607 \begin_layout Standard
39608 Inserts a marginal note as described in section
39609 \begin_inset space ~
39610 \end_inset
39611
39612
39613 \begin_inset CommandInset ref
39614 LatexCommand ref
39615 reference "sec:Marginal-Notes"
39616
39617 \end_inset
39618
39619 .
39620 \end_layout
39621
39622 \begin_layout Subsection
39623
39624 \family sans
39625 Separate <Name> (Above/Below)
39626 \end_layout
39627
39628 \begin_layout Standard
39629 These menu items are only visible if it is possible to have two consecutive
39630  environments of the same type.
39631  See section
39632 \begin_inset space ~
39633 \end_inset
39634
39635
39636 \begin_inset CommandInset ref
39637 LatexCommand ref
39638 reference "subsec:Separate-Nestings"
39639
39640 \end_inset
39641
39642  for an explanation.
39643 \end_layout
39644
39645 \begin_layout Subsection
39646 Short Title
39647 \end_layout
39648
39649 \begin_layout Standard
39650 Is only visible if the cursor is in front, in or behind a section heading,
39651  title or caption of a float.
39652  Inserts a short title as described in section
39653 \begin_inset space ~
39654 \end_inset
39655
39656
39657 \begin_inset CommandInset ref
39658 LatexCommand ref
39659 reference "sec:Short-Titles"
39660
39661 \end_inset
39662
39663 .
39664 \end_layout
39665
39666 \begin_layout Subsection
39667 \SpecialChar TeX
39668  Code
39669 \end_layout
39670
39671 \begin_layout Standard
39672 Inserts a \SpecialChar TeX
39673  Code box as described in section
39674 \begin_inset space ~
39675 \end_inset
39676
39677
39678 \begin_inset CommandInset ref
39679 LatexCommand ref
39680 reference "subsec:TeX-Code-Boxes"
39681
39682 \end_inset
39683
39684 .
39685 \end_layout
39686
39687 \begin_layout Subsection
39688 Program Listing
39689 \begin_inset Index idx
39690 status collapsed
39691
39692 \begin_layout Plain Layout
39693 Program listings
39694 \end_layout
39695
39696 \end_inset
39697
39698
39699 \end_layout
39700
39701 \begin_layout Standard
39702 Inserts a program listings box.
39703  Program listings are explained in the chapter 
39704 \emph on
39705 Program Code Listings
39706 \emph default
39707  of the 
39708 \emph on
39709 Embedded
39710 \begin_inset space ~
39711 \end_inset
39712
39713 Objects
39714 \emph default
39715  manual.
39716 \end_layout
39717
39718 \begin_layout Subsection
39719 Date
39720 \end_layout
39721
39722 \begin_layout Standard
39723 Inserts the actual date.
39724  The format depends on the date format of the language that is used for
39725  \SpecialChar LyX
39726 's menus.
39727 \end_layout
39728
39729 \begin_layout Subsection
39730 Preview
39731 \end_layout
39732
39733 \begin_layout Standard
39734 Inserts a preview inset as described in section
39735 \begin_inset space ~
39736 \end_inset
39737
39738
39739 \begin_inset CommandInset ref
39740 LatexCommand ref
39741 reference "sec:Previewing-snippets-of"
39742
39743 \end_inset
39744
39745 .
39746 \end_layout
39747
39748 \begin_layout Section
39749 The Navigate Menu
39750 \begin_inset Index idx
39751 status collapsed
39752
39753 \begin_layout Plain Layout
39754 Menu ! Navigate
39755 \end_layout
39756
39757 \end_inset
39758
39759
39760 \end_layout
39761
39762 \begin_layout Standard
39763 This menu lists the existing chapters, sections, figures, tables, etc.
39764 \begin_inset space ~
39765 \end_inset
39766
39767 of the current document.
39768  This allows you to navigate easily through your document.
39769 \end_layout
39770
39771 \begin_layout Subsection
39772 Bookmarks
39773 \end_layout
39774
39775 \begin_layout Standard
39776 With this menu entry you are able to define your own bookmarks.
39777  This is useful when you are working on a large document and often have
39778  to jump, for example, between section
39779 \begin_inset space ~
39780 \end_inset
39781
39782 2.5 and 6.3.
39783  To create bookmarks for this example, go to section
39784 \begin_inset space ~
39785 \end_inset
39786
39787 2.5 and use the submenu 
39788 \family sans
39789 Save
39790 \begin_inset space ~
39791 \end_inset
39792
39793 Bookmark
39794 \begin_inset space ~
39795 \end_inset
39796
39797 1
39798 \family default
39799 .
39800  Then go to section
39801 \begin_inset space ~
39802 \end_inset
39803
39804 6.3 and use 
39805 \family sans
39806 Save
39807 \begin_inset space ~
39808 \end_inset
39809
39810 Bookmark
39811 \begin_inset space ~
39812 \end_inset
39813
39814
39815 \family default
39816 2.
39817  Now you can jump easily between these sections by using the menu or by
39818  the key bindings 
39819 \begin_inset Info
39820 type  "shortcut"
39821 arg   "bookmark-goto 1"
39822 \end_inset
39823
39824  and 
39825 \begin_inset Info
39826 type  "shortcut"
39827 arg   "bookmark-goto 2"
39828 \end_inset
39829
39830 .You can also use bookmarks to jump between several opened documents.
39831 \end_layout
39832
39833 \begin_layout Standard
39834 The saved bookmarks are valid till the document is closed.
39835  The submenu 
39836 \family sans
39837 Clear
39838 \begin_inset space ~
39839 \end_inset
39840
39841 Bookmarks
39842 \family default
39843  allows you to clear bookmarks while the submenu 
39844 \family sans
39845 Navigate
39846 \begin_inset space ~
39847 \end_inset
39848
39849 Back
39850 \family default
39851  jumps to the position in the document where you recently changed something.
39852 \end_layout
39853
39854 \begin_layout Subsection
39855 Next Note, Change, Cross-reference
39856 \end_layout
39857
39858 \begin_layout Standard
39859 Jump to the next note, change, or cross-reference after the current cursor
39860  position.
39861 \end_layout
39862
39863 \begin_layout Subsection
39864 Go to Label
39865 \end_layout
39866
39867 \begin_layout Standard
39868 Only active if the cursor is in front of a cross-reference.
39869  Sets the cursor before the referenced label.
39870  (It is the same as if you right-click on a cross-reference box and use
39871  
39872 \family sans
39873 Go
39874 \begin_inset space ~
39875 \end_inset
39876
39877 to
39878 \begin_inset space ~
39879 \end_inset
39880
39881 Label)
39882 \family default
39883 .
39884 \end_layout
39885
39886 \begin_layout Subsection
39887 Forward Search
39888 \end_layout
39889
39890 \begin_layout Standard
39891 Allows you to jump directly to the corresponding text part in the output,
39892  see section 
39893 \emph on
39894 The \SpecialChar LyX
39895  Server\SpecialChar menuseparator
39896 Forward
39897 \begin_inset space ~
39898 \end_inset
39899
39900 search
39901 \emph default
39902  in the 
39903 \emph on
39904 Additional
39905 \begin_inset space ~
39906 \end_inset
39907
39908 Features
39909 \emph default
39910  manual for a detailed description.
39911 \end_layout
39912
39913 \begin_layout Section
39914 The Document Menu
39915 \begin_inset Index idx
39916 status collapsed
39917
39918 \begin_layout Plain Layout
39919 Menu ! Document
39920 \end_layout
39921
39922 \end_inset
39923
39924
39925 \end_layout
39926
39927 \begin_layout Subsection
39928 Change Tracking
39929 \end_layout
39930
39931 \begin_layout Standard
39932 Change Tracking is described in section
39933 \begin_inset space ~
39934 \end_inset
39935
39936
39937 \begin_inset CommandInset ref
39938 LatexCommand ref
39939 reference "sec:Change-Tracking"
39940
39941 \end_inset
39942
39943 .
39944 \end_layout
39945
39946 \begin_layout Subsection
39947 La
39948 \family sans
39949 TeX
39950 \family default
39951  Log
39952 \end_layout
39953
39954 \begin_layout Standard
39955 After running \SpecialChar LaTeX
39956  by viewing or exporting a document, this menu will be enabled.
39957  It shows the logfile of the \SpecialChar LaTeX
39958 -program used.
39959  You can go to the next error or the next warning, search, copy something
39960  to the clipboard or update the view.
39961 \begin_inset Newline newline
39962 \end_inset
39963
39964 With the help of the logfile, experts can find reasons for \SpecialChar LaTeX
39965 -errors.
39966 \end_layout
39967
39968 \begin_layout Standard
39969 With the button 
39970 \family sans
39971 Open Containing Directory
39972 \family default
39973  one can open \SpecialChar LyX
39974 's temporary folder for the document.
39975  This folder contains all converted and created files to generate the output.
39976  Some of these files might be of interest for experts to solve problems
39977  or for writers who need to supply intermediate files.
39978  For example some journals require to send the 
39979 \family sans
39980 *.bbl
39981 \family default
39982  file (a text file with the used Bib\SpecialChar TeX
39983  references).
39984 \end_layout
39985
39986 \begin_layout Subsection
39987 Start Appendix Here
39988 \end_layout
39989
39990 \begin_layout Standard
39991 Sets the start of the appendices of the document at the current cursor position
39992  as described in section
39993 \begin_inset space ~
39994 \end_inset
39995
39996
39997 \begin_inset CommandInset ref
39998 LatexCommand ref
39999 reference "sec:Appendices"
40000
40001 \end_inset
40002
40003 .
40004 \end_layout
40005
40006 \begin_layout Subsection
40007 View
40008 \begin_inset space ~
40009 \end_inset
40010
40011 [<output format>]
40012 \end_layout
40013
40014 \begin_layout Standard
40015 This menu entry generates the output in the format you have specified as
40016  default output format for the document (menu 
40017 \family sans
40018 Document\SpecialChar menuseparator
40019 Settings\SpecialChar menuseparator
40020 Output\SpecialChar menuseparator
40021 Default
40022 \begin_inset space ~
40023 \end_inset
40024
40025 Output
40026 \begin_inset space ~
40027 \end_inset
40028
40029 Format
40030 \family default
40031 ; see section
40032 \begin_inset space ~
40033 \end_inset
40034
40035
40036 \begin_inset CommandInset ref
40037 LatexCommand ref
40038 reference "sec:Doc-Formats"
40039
40040 \end_inset
40041
40042 ) or in the \SpecialChar LyX
40043  preferences (menu 
40044 \family sans
40045 Tools\SpecialChar menuseparator
40046 Preferences\SpecialChar menuseparator
40047 File
40048 \begin_inset space ~
40049 \end_inset
40050
40051 Handling\SpecialChar menuseparator
40052 File
40053 \begin_inset space ~
40054 \end_inset
40055
40056 Formats\SpecialChar menuseparator
40057 Default
40058 \begin_inset space ~
40059 \end_inset
40060
40061 Output
40062 \begin_inset space ~
40063 \end_inset
40064
40065 Format
40066 \family default
40067 ; see section
40068 \begin_inset space ~
40069 \end_inset
40070
40071
40072 \begin_inset CommandInset ref
40073 LatexCommand ref
40074 reference "sec:File-Formats"
40075
40076 \end_inset
40077
40078 ) and opens it in an appropriate viewer.
40079  The viewer can be set or changed in the preferences (menu 
40080 \family sans
40081 Tools\SpecialChar menuseparator
40082 Preferences\SpecialChar menuseparator
40083 File
40084 \begin_inset space ~
40085 \end_inset
40086
40087 Handling\SpecialChar menuseparator
40088 File
40089 \begin_inset space ~
40090 \end_inset
40091
40092 Formats\SpecialChar menuseparator
40093 Viewer
40094 \family default
40095 ; see section
40096 \begin_inset space ~
40097 \end_inset
40098
40099
40100 \begin_inset CommandInset ref
40101 LatexCommand ref
40102 reference "sec:File-Formats"
40103
40104 \end_inset
40105
40106 ).
40107  The default viewers are set by \SpecialChar LyX
40108  when it is first configured.
40109  The default output format is 
40110 \family sans
40111 PDF
40112 \begin_inset space ~
40113 \end_inset
40114
40115 (pdflatex)
40116 \family default
40117 .
40118 \end_layout
40119
40120 \begin_layout Subsection
40121 View (Other Formats)
40122 \end_layout
40123
40124 \begin_layout Standard
40125 With this menu you can view your document in alternative output formats.
40126  The menu contains a list of available formats in which you can view the
40127  actual document with an external program.
40128  The menu entries are not the same on all installations — it depends on
40129  the \SpecialChar LaTeX
40130  programs that are found when \SpecialChar LyX
40131  was configured.
40132  All possible formats are listed in section
40133 \begin_inset space ~
40134 \end_inset
40135
40136
40137 \begin_inset CommandInset ref
40138 LatexCommand ref
40139 reference "subsec:Export"
40140
40141 \end_inset
40142
40143 .
40144  You should at least see the menu entry 
40145 \family sans
40146 DVI
40147 \family default
40148 .
40149  If it is missing, you need to update or repair your \SpecialChar LaTeX
40150  installation.
40151  After updating you have to reconfigure \SpecialChar LyX
40152  (see section
40153 \begin_inset space ~
40154 \end_inset
40155
40156
40157 \begin_inset CommandInset ref
40158 LatexCommand ref
40159 reference "sec:Basic-LyX-Setup"
40160
40161 \end_inset
40162
40163 .
40164 \begin_inset Index idx
40165 status collapsed
40166
40167 \begin_layout Plain Layout
40168 Reconfiguration of \SpecialChar LyX
40169
40170 \end_layout
40171
40172 \end_inset
40173
40174 )
40175 \end_layout
40176
40177 \begin_layout Standard
40178 Invoking a view menu will start a viewer program.
40179  The viewer can be set or changed in the preferences (menu 
40180 \family sans
40181 Tools\SpecialChar menuseparator
40182 Preferences\SpecialChar menuseparator
40183 File
40184 \begin_inset space ~
40185 \end_inset
40186
40187 Handling\SpecialChar menuseparator
40188 File
40189 \begin_inset space ~
40190 \end_inset
40191
40192 Formats\SpecialChar menuseparator
40193 Viewer
40194 \family default
40195 ; see section
40196 \begin_inset space ~
40197 \end_inset
40198
40199
40200 \begin_inset CommandInset ref
40201 LatexCommand ref
40202 reference "sec:File-Formats"
40203
40204 \end_inset
40205
40206 ).
40207  The default viewers are set by \SpecialChar LyX
40208  when it is first configured.
40209 \end_layout
40210
40211 \begin_layout Subsection
40212 Update
40213 \begin_inset space ~
40214 \end_inset
40215
40216 [<output format>]
40217 \end_layout
40218
40219 \begin_layout Standard
40220 This menu entry allows you to update the view with your latest changes (in
40221  the default output format) without opening a new viewer window.
40222 \end_layout
40223
40224 \begin_layout Subsection
40225 Update (Other Formats)
40226 \end_layout
40227
40228 \begin_layout Standard
40229 With this menu you can update the view of alternative output formats of
40230  your document without opening a new viewer window.
40231 \end_layout
40232
40233 \begin_layout Subsection
40234 View Master Document
40235 \end_layout
40236
40237 \begin_layout Standard
40238 This menu item is only visible if your document is included to another document,
40239  which is then its 
40240 \begin_inset Quotes eld
40241 \end_inset
40242
40243 master
40244 \begin_inset Quotes erd
40245 \end_inset
40246
40247  (see section 
40248 \emph on
40249 Child Documents
40250 \emph default
40251  in the 
40252 \emph on
40253 Embedded
40254 \begin_inset space ~
40255 \end_inset
40256
40257 Objects
40258 \emph default
40259  manual for more information on this topic).
40260  This item allows you to view the master document from within its child.
40261  That is, if you are working on a child document which is a chapter of a
40262  book, 
40263 \family sans
40264 View
40265 \begin_inset space ~
40266 \end_inset
40267
40268 Master
40269 \begin_inset space ~
40270 \end_inset
40271
40272 Document
40273 \family default
40274  generates the output of the whole book, while 
40275 \family sans
40276 View
40277 \family default
40278  will just output the chapter alone.
40279 \end_layout
40280
40281 \begin_layout Standard
40282 The format used by this function is the default output format as specified
40283  in the document settings (menu 
40284 \family sans
40285 Document\SpecialChar menuseparator
40286 Settings\SpecialChar menuseparator
40287 Output\SpecialChar menuseparator
40288 Default
40289 \begin_inset space ~
40290 \end_inset
40291
40292 Output
40293 \begin_inset space ~
40294 \end_inset
40295
40296 Format
40297 \family default
40298 ; see section
40299 \begin_inset space ~
40300 \end_inset
40301
40302
40303 \begin_inset CommandInset ref
40304 LatexCommand ref
40305 reference "sec:Doc-Formats"
40306
40307 \end_inset
40308
40309 ) or in the preferences (menu 
40310 \family sans
40311 Tools\SpecialChar menuseparator
40312 Preferences\SpecialChar menuseparator
40313 File
40314 \begin_inset space ~
40315 \end_inset
40316
40317 Handling\SpecialChar menuseparator
40318 File
40319 \begin_inset space ~
40320 \end_inset
40321
40322 Formats\SpecialChar menuseparator
40323 Default
40324 \begin_inset space ~
40325 \end_inset
40326
40327 Output
40328 \begin_inset space ~
40329 \end_inset
40330
40331 Format
40332 \family default
40333 ; see section
40334 \begin_inset space ~
40335 \end_inset
40336
40337
40338 \begin_inset CommandInset ref
40339 LatexCommand ref
40340 reference "sec:File-Formats"
40341
40342 \end_inset
40343
40344 ).
40345 \end_layout
40346
40347 \begin_layout Subsection
40348 Update Master Document
40349 \end_layout
40350
40351 \begin_layout Standard
40352 This menu item is only visible if your document is included to another document,
40353  which is then its 
40354 \begin_inset Quotes eld
40355 \end_inset
40356
40357 master
40358 \begin_inset Quotes erd
40359 \end_inset
40360
40361  (see section 
40362 \emph on
40363 Child Documents
40364 \emph default
40365  in the 
40366 \emph on
40367 Embedded
40368 \begin_inset space ~
40369 \end_inset
40370
40371 Objects
40372 \emph default
40373  manual for more information on this topic).
40374  This item allows you to update the view of a master document from within
40375  its child without the need to switch to the master document itself.
40376 \end_layout
40377
40378 \begin_layout Standard
40379 The format used by this function is the default output format as specified
40380  in the document settings (menu 
40381 \family sans
40382 Document\SpecialChar menuseparator
40383 Settings\SpecialChar menuseparator
40384 Output\SpecialChar menuseparator
40385 Default
40386 \begin_inset space ~
40387 \end_inset
40388
40389 Output
40390 \begin_inset space ~
40391 \end_inset
40392
40393 Format
40394 \family default
40395 ; see section
40396 \begin_inset space ~
40397 \end_inset
40398
40399
40400 \begin_inset CommandInset ref
40401 LatexCommand ref
40402 reference "sec:Doc-Formats"
40403
40404 \end_inset
40405
40406 ) or in the preferences (menu 
40407 \family sans
40408 Tools\SpecialChar menuseparator
40409 Preferences\SpecialChar menuseparator
40410 File
40411 \begin_inset space ~
40412 \end_inset
40413
40414 Handling\SpecialChar menuseparator
40415 File
40416 \begin_inset space ~
40417 \end_inset
40418
40419 Formats\SpecialChar menuseparator
40420 Default
40421 \begin_inset space ~
40422 \end_inset
40423
40424 Output
40425 \begin_inset space ~
40426 \end_inset
40427
40428 Format
40429 \family default
40430 ; see section
40431 \begin_inset space ~
40432 \end_inset
40433
40434
40435 \begin_inset CommandInset ref
40436 LatexCommand ref
40437 reference "sec:File-Formats"
40438
40439 \end_inset
40440
40441 ).
40442 \end_layout
40443
40444 \begin_layout Subsection
40445 Compressed
40446 \begin_inset CommandInset label
40447 LatexCommand label
40448 name "subsec:Compressed"
40449
40450 \end_inset
40451
40452
40453 \end_layout
40454
40455 \begin_layout Standard
40456 Un/compresses the current document.
40457  For documents under version control it is strongly recommended to disable
40458  compression (see the 
40459 \emph on
40460 Additional Features
40461 \emph default
40462  manual for details).
40463 \end_layout
40464
40465 \begin_layout Subsection
40466 Disable Editing
40467 \end_layout
40468
40469 \begin_layout Standard
40470 Toggles the read-only state for the document.
40471 \end_layout
40472
40473 \begin_layout Subsection
40474 Settings
40475 \end_layout
40476
40477 \begin_layout Standard
40478 The document settings are described in appendix
40479 \begin_inset space ~
40480 \end_inset
40481
40482
40483 \begin_inset CommandInset ref
40484 LatexCommand ref
40485 reference "chap:The-Document-Settings"
40486
40487 \end_inset
40488
40489 .
40490 \end_layout
40491
40492 \begin_layout Section
40493 The Tools Menu
40494 \begin_inset Index idx
40495 status collapsed
40496
40497 \begin_layout Plain Layout
40498 Menu ! Tools
40499 \end_layout
40500
40501 \end_inset
40502
40503
40504 \end_layout
40505
40506 \begin_layout Subsection
40507 Spellchecker
40508 \end_layout
40509
40510 \begin_layout Standard
40511 Spell checking is explained in section
40512 \begin_inset space ~
40513 \end_inset
40514
40515
40516 \begin_inset CommandInset ref
40517 LatexCommand ref
40518 reference "sec:Spellchecking"
40519
40520 \end_inset
40521
40522 .
40523 \end_layout
40524
40525 \begin_layout Subsection
40526 Thesaurus
40527 \end_layout
40528
40529 \begin_layout Standard
40530 The thesaurus is described in section
40531 \begin_inset space ~
40532 \end_inset
40533
40534
40535 \begin_inset CommandInset ref
40536 LatexCommand ref
40537 reference "sec:Thesaurus"
40538
40539 \end_inset
40540
40541 .
40542 \end_layout
40543
40544 \begin_layout Subsection
40545 Statistics
40546 \begin_inset Index idx
40547 status collapsed
40548
40549 \begin_layout Plain Layout
40550 Word count
40551 \end_layout
40552
40553 \end_inset
40554
40555
40556 \begin_inset Index idx
40557 status collapsed
40558
40559 \begin_layout Plain Layout
40560 Character count
40561 \end_layout
40562
40563 \end_inset
40564
40565
40566 \end_layout
40567
40568 \begin_layout Standard
40569 Returns the number of the words and characters in the actual document or
40570  the highlighted document part.
40571 \end_layout
40572
40573 \begin_layout Subsection
40574 Check 
40575 \family sans
40576 TeX
40577 \family default
40578
40579 \begin_inset Index idx
40580 status collapsed
40581
40582 \begin_layout Plain Layout
40583 Chk\SpecialChar TeX
40584
40585 \end_layout
40586
40587 \end_inset
40588
40589
40590 \end_layout
40591
40592 \begin_layout Standard
40593 Generates with the help of the program 
40594 \family typewriter
40595 Chk\SpecialChar TeX
40596
40597 \family default
40598  a log of possible \SpecialChar LaTeX
40599 -errors and displays it in a dialog.
40600  This feature is not available on Windows.
40601 \end_layout
40602
40603 \begin_layout Subsection
40604
40605 \family sans
40606 TeX
40607 \family default
40608  Information
40609 \begin_inset Index idx
40610 status collapsed
40611
40612 \begin_layout Plain Layout
40613 \SpecialChar TeX
40614  Information
40615 \end_layout
40616
40617 \end_inset
40618
40619
40620 \end_layout
40621
40622 \begin_layout Standard
40623 Shows you a list of the document classes and styles installed in your \SpecialChar LaTeX
40624 -system.
40625  Use the option 
40626 \family sans
40627 Show
40628 \begin_inset space ~
40629 \end_inset
40630
40631 path
40632 \family default
40633  to see the full filename paths.
40634 \end_layout
40635
40636 \begin_layout Subsection
40637 Compare
40638 \begin_inset Index idx
40639 status collapsed
40640
40641 \begin_layout Plain Layout
40642 Compare
40643 \end_layout
40644
40645 \end_inset
40646
40647
40648 \end_layout
40649
40650 \begin_layout Standard
40651 Opens a dialog to compare \SpecialChar LyX
40652  files as described in section
40653 \begin_inset space ~
40654 \end_inset
40655
40656
40657 \begin_inset CommandInset ref
40658 LatexCommand ref
40659 reference "sec:Comparison-of-Documents"
40660
40661 \end_inset
40662
40663 .
40664 \end_layout
40665
40666 \begin_layout Subsection
40667 Reconfigure
40668 \begin_inset Index idx
40669 status collapsed
40670
40671 \begin_layout Plain Layout
40672 \SpecialChar LyX
40673  ! Reconfigure|see
40674 \begin_inset ERT
40675 status collapsed
40676
40677 \begin_layout Plain Layout
40678
40679 {
40680 \end_layout
40681
40682 \end_inset
40683
40684 Reconfiguration of \SpecialChar LyX
40685
40686 \begin_inset ERT
40687 status collapsed
40688
40689 \begin_layout Plain Layout
40690
40691 }
40692 \end_layout
40693
40694 \end_inset
40695
40696
40697 \end_layout
40698
40699 \end_inset
40700
40701
40702 \begin_inset Index idx
40703 status collapsed
40704
40705 \begin_layout Plain Layout
40706 Reconfiguration of \SpecialChar LyX
40707
40708 \end_layout
40709
40710 \end_inset
40711
40712
40713 \end_layout
40714
40715 \begin_layout Standard
40716 Reconfigures \SpecialChar LyX
40717 ; that is, \SpecialChar LyX
40718  looks for \SpecialChar LaTeX
40719 -packages and programs it needs; see
40720  also section
40721 \begin_inset space ~
40722 \end_inset
40723
40724
40725 \begin_inset CommandInset ref
40726 LatexCommand ref
40727 reference "sec:Basic-LyX-Setup"
40728
40729 \end_inset
40730
40731 .
40732 \end_layout
40733
40734 \begin_layout Subsection
40735 Preferences
40736 \end_layout
40737
40738 \begin_layout Standard
40739 Opens the 
40740 \family sans
40741 Preferences
40742 \family default
40743  dialog as described in detail in appendix
40744 \begin_inset space ~
40745 \end_inset
40746
40747
40748 \begin_inset CommandInset ref
40749 LatexCommand ref
40750 reference "chap:The-Preferences-dialog"
40751
40752 \end_inset
40753
40754 .
40755 \end_layout
40756
40757 \begin_layout Section
40758 The Help Menu
40759 \begin_inset Index idx
40760 status collapsed
40761
40762 \begin_layout Plain Layout
40763 Menu ! Help
40764 \end_layout
40765
40766 \end_inset
40767
40768
40769 \end_layout
40770
40771 \begin_layout Standard
40772 This menu lists the documentation files of \SpecialChar LyX
40773  in the language of \SpecialChar LyX
40774 's menus.
40775  If a file is not available in this language, the English version will be
40776  listed.
40777 \end_layout
40778
40779 \begin_layout Standard
40780 The menu 
40781 \family sans
40782 LaTeX
40783 \begin_inset space ~
40784 \end_inset
40785
40786 Configuration
40787 \family default
40788  shows a \SpecialChar LyX
40789  document with information about the \SpecialChar LaTeX
40790  packages and classes found
40791  by \SpecialChar LyX
40792  (see also section
40793 \begin_inset space ~
40794 \end_inset
40795
40796
40797 \begin_inset CommandInset ref
40798 LatexCommand ref
40799 reference "sec:LaTeX-Setup"
40800
40801 \end_inset
40802
40803 ).
40804 \end_layout
40805
40806 \begin_layout Standard
40807 The menu 
40808 \family sans
40809 About
40810 \begin_inset space ~
40811 \end_inset
40812
40813 LyX
40814 \family default
40815  gives information about the copyright, the credits and the \SpecialChar LyX
40816  version you
40817  are using.
40818 \end_layout
40819
40820 \begin_layout Section
40821 Toolbars
40822 \begin_inset CommandInset label
40823 LatexCommand label
40824 name "sec:Toolbars"
40825
40826 \end_inset
40827
40828
40829 \end_layout
40830
40831 \begin_layout Standard
40832 How to show or hide toolbars is explained in section
40833 \begin_inset space ~
40834 \end_inset
40835
40836
40837 \begin_inset CommandInset ref
40838 LatexCommand ref
40839 reference "subsec:Toolbars"
40840
40841 \end_inset
40842
40843 .
40844 \end_layout
40845
40846 \begin_layout Standard
40847 It is also possible to define custom toolbars.
40848  This is described in the 
40849 \emph on
40850 Additional Features
40851 \emph default
40852  manual.
40853 \end_layout
40854
40855 \begin_layout Subsection
40856 Standard Toolbar
40857 \begin_inset Index idx
40858 status collapsed
40859
40860 \begin_layout Plain Layout
40861 Toolbar ! Standard
40862 \end_layout
40863
40864 \end_inset
40865
40866
40867 \end_layout
40868
40869 \begin_layout Standard
40870 \begin_inset Graphics
40871         filename clipart/StandardToolbar.png
40872         width 100col%
40873
40874 \end_inset
40875
40876
40877 \end_layout
40878
40879 \begin_layout Standard
40880 \begin_inset VSpace defskip
40881 \end_inset
40882
40883
40884 \end_layout
40885
40886 \begin_layout Standard
40887 The standard toolbar as shown above contains from left to right the following
40888  buttons:
40889 \begin_inset ERT
40890 status collapsed
40891
40892 \begin_layout Plain Layout
40893
40894
40895 \backslash
40896 setlength{
40897 \backslash
40898 LTleft}{0pt}
40899 \end_layout
40900
40901 \end_inset
40902
40903
40904 \begin_inset Note Note
40905 status collapsed
40906
40907 \begin_layout Plain Layout
40908 This is necessary to left align the following longtables.
40909  See the 
40910 \emph on
40911 Embedded Objects
40912 \emph default
40913  manual for more information.
40914 \end_layout
40915
40916 \end_inset
40917
40918
40919 \end_layout
40920
40921 \begin_layout Standard
40922 \begin_inset VSpace defskip
40923 \end_inset
40924
40925
40926 \end_layout
40927
40928 \begin_layout Standard
40929 \begin_inset Tabular
40930 <lyxtabular version="3" rows="1" columns="2">
40931 <features islongtable="true" longtabularalignment="center">
40932 <column alignment="center" valignment="top">
40933 <column alignment="center" valignment="top">
40934 <row>
40935 <cell alignment="center" valignment="top" usebox="none">
40936 \begin_inset Text
40937
40938 \begin_layout Plain Layout
40939 \begin_inset Graphics
40940         filename clipart/ToolbarEnvBox.png
40941         clip
40942
40943 \end_inset
40944
40945
40946 \end_layout
40947
40948 \end_inset
40949 </cell>
40950 <cell alignment="center" valignment="top" usebox="none">
40951 \begin_inset Text
40952
40953 \begin_layout Plain Layout
40954 pull-down box for the environments
40955 \end_layout
40956
40957 \end_inset
40958 </cell>
40959 </row>
40960 </lyxtabular>
40961
40962 \end_inset
40963
40964
40965 \end_layout
40966
40967 \begin_layout Standard
40968 \begin_inset VSpace -10mm
40969 \end_inset
40970
40971
40972 \end_layout
40973
40974 \begin_layout Standard
40975 \align left
40976 \begin_inset Tabular
40977 <lyxtabular version="3" rows="22" columns="2">
40978 <features islongtable="true" longtabularalignment="center">
40979 <column alignment="left" valignment="top">
40980 <column alignment="left" valignment="top">
40981 <row interlinespace="2.5mm">
40982 <cell alignment="center" valignment="top" usebox="none">
40983 \begin_inset Text
40984
40985 \begin_layout Plain Layout
40986
40987 \family sans
40988 \begin_inset Info
40989 type  "icon"
40990 arg   "buffer-new"
40991 \end_inset
40992
40993
40994 \end_layout
40995
40996 \end_inset
40997 </cell>
40998 <cell alignment="center" valignment="top" usebox="none">
40999 \begin_inset Text
41000
41001 \begin_layout Plain Layout
41002
41003 \family sans
41004 File\SpecialChar menuseparator
41005 New
41006 \end_layout
41007
41008 \end_inset
41009 </cell>
41010 </row>
41011 <row interlinespace="2.5mm">
41012 <cell alignment="center" valignment="top" usebox="none">
41013 \begin_inset Text
41014
41015 \begin_layout Plain Layout
41016
41017 \family sans
41018 \begin_inset Info
41019 type  "icon"
41020 arg   "file-open"
41021 \end_inset
41022
41023
41024 \end_layout
41025
41026 \end_inset
41027 </cell>
41028 <cell alignment="center" valignment="top" usebox="none">
41029 \begin_inset Text
41030
41031 \begin_layout Plain Layout
41032
41033 \family sans
41034 File\SpecialChar menuseparator
41035 Open
41036 \end_layout
41037
41038 \end_inset
41039 </cell>
41040 </row>
41041 <row interlinespace="2.5mm">
41042 <cell alignment="center" valignment="top" usebox="none">
41043 \begin_inset Text
41044
41045 \begin_layout Plain Layout
41046
41047 \family sans
41048 \begin_inset Info
41049 type  "icon"
41050 arg   "buffer-write"
41051 \end_inset
41052
41053
41054 \end_layout
41055
41056 \end_inset
41057 </cell>
41058 <cell alignment="center" valignment="top" usebox="none">
41059 \begin_inset Text
41060
41061 \begin_layout Plain Layout
41062
41063 \family sans
41064 File\SpecialChar menuseparator
41065 Save
41066 \end_layout
41067
41068 \end_inset
41069 </cell>
41070 </row>
41071 <row interlinespace="2.5mm">
41072 <cell alignment="center" valignment="top" usebox="none">
41073 \begin_inset Text
41074
41075 \begin_layout Plain Layout
41076
41077 \family sans
41078 \begin_inset Info
41079 type  "icon"
41080 arg   "dialog-show spellchecker"
41081 \end_inset
41082
41083
41084 \end_layout
41085
41086 \end_inset
41087 </cell>
41088 <cell alignment="center" valignment="top" usebox="none">
41089 \begin_inset Text
41090
41091 \begin_layout Plain Layout
41092
41093 \family sans
41094 Tools\SpecialChar menuseparator
41095 Spellchecker
41096 \end_layout
41097
41098 \end_inset
41099 </cell>
41100 </row>
41101 <row interlinespace="2.5mm">
41102 <cell alignment="center" valignment="top" usebox="none">
41103 \begin_inset Text
41104
41105 \begin_layout Plain Layout
41106
41107 \family sans
41108 \begin_inset Info
41109 type  "icon"
41110 arg   "spelling-continuously"
41111 \end_inset
41112
41113
41114 \end_layout
41115
41116 \end_inset
41117 </cell>
41118 <cell alignment="center" valignment="top" usebox="none">
41119 \begin_inset Text
41120
41121 \begin_layout Plain Layout
41122 Spellcheck continuously
41123 \end_layout
41124
41125 \end_inset
41126 </cell>
41127 </row>
41128 <row interlinespace="2.5mm">
41129 <cell alignment="center" valignment="top" usebox="none">
41130 \begin_inset Text
41131
41132 \begin_layout Plain Layout
41133
41134 \family sans
41135 \begin_inset Info
41136 type  "icon"
41137 arg   "undo"
41138 \end_inset
41139
41140
41141 \end_layout
41142
41143 \end_inset
41144 </cell>
41145 <cell alignment="center" valignment="top" usebox="none">
41146 \begin_inset Text
41147
41148 \begin_layout Plain Layout
41149
41150 \family sans
41151 Edit\SpecialChar menuseparator
41152 Undo
41153 \end_layout
41154
41155 \end_inset
41156 </cell>
41157 </row>
41158 <row interlinespace="2.5mm">
41159 <cell alignment="center" valignment="top" usebox="none">
41160 \begin_inset Text
41161
41162 \begin_layout Plain Layout
41163
41164 \family sans
41165 \begin_inset Info
41166 type  "icon"
41167 arg   "redo"
41168 \end_inset
41169
41170
41171 \end_layout
41172
41173 \end_inset
41174 </cell>
41175 <cell alignment="center" valignment="top" usebox="none">
41176 \begin_inset Text
41177
41178 \begin_layout Plain Layout
41179
41180 \family sans
41181 Edit\SpecialChar menuseparator
41182 Redo
41183 \end_layout
41184
41185 \end_inset
41186 </cell>
41187 </row>
41188 <row interlinespace="2.5mm">
41189 <cell alignment="center" valignment="top" usebox="none">
41190 \begin_inset Text
41191
41192 \begin_layout Plain Layout
41193
41194 \family sans
41195 \begin_inset Info
41196 type  "icon"
41197 arg   "cut"
41198 \end_inset
41199
41200
41201 \end_layout
41202
41203 \end_inset
41204 </cell>
41205 <cell alignment="center" valignment="top" usebox="none">
41206 \begin_inset Text
41207
41208 \begin_layout Plain Layout
41209
41210 \family sans
41211 Edit\SpecialChar menuseparator
41212 Cut
41213 \end_layout
41214
41215 \end_inset
41216 </cell>
41217 </row>
41218 <row interlinespace="2.5mm">
41219 <cell alignment="center" valignment="top" usebox="none">
41220 \begin_inset Text
41221
41222 \begin_layout Plain Layout
41223
41224 \family sans
41225 \begin_inset Info
41226 type  "icon"
41227 arg   "copy"
41228 \end_inset
41229
41230
41231 \end_layout
41232
41233 \end_inset
41234 </cell>
41235 <cell alignment="center" valignment="top" usebox="none">
41236 \begin_inset Text
41237
41238 \begin_layout Plain Layout
41239
41240 \family sans
41241 Edit\SpecialChar menuseparator
41242 Copy
41243 \end_layout
41244
41245 \end_inset
41246 </cell>
41247 </row>
41248 <row interlinespace="2.5mm">
41249 <cell alignment="center" valignment="top" usebox="none">
41250 \begin_inset Text
41251
41252 \begin_layout Plain Layout
41253
41254 \family sans
41255 \begin_inset Info
41256 type  "icon"
41257 arg   "paste"
41258 \end_inset
41259
41260
41261 \end_layout
41262
41263 \end_inset
41264 </cell>
41265 <cell alignment="center" valignment="top" usebox="none">
41266 \begin_inset Text
41267
41268 \begin_layout Plain Layout
41269
41270 \family sans
41271 Edit\SpecialChar menuseparator
41272 Paste
41273 \end_layout
41274
41275 \end_inset
41276 </cell>
41277 </row>
41278 <row interlinespace="2.5mm">
41279 <cell alignment="center" valignment="top" usebox="none">
41280 \begin_inset Text
41281
41282 \begin_layout Plain Layout
41283
41284 \family sans
41285 \begin_inset Info
41286 type  "icon"
41287 arg   "dialog-show findreplace"
41288 \end_inset
41289
41290
41291 \end_layout
41292
41293 \end_inset
41294 </cell>
41295 <cell alignment="center" valignment="top" usebox="none">
41296 \begin_inset Text
41297
41298 \begin_layout Plain Layout
41299
41300 \family sans
41301 Edit\SpecialChar menuseparator
41302 Find
41303 \begin_inset space \thinspace{}
41304 \end_inset
41305
41306 &
41307 \begin_inset space \thinspace{}
41308 \end_inset
41309
41310 Replace
41311 \begin_inset space \thinspace{}
41312 \end_inset
41313
41314 (Quick)
41315 \end_layout
41316
41317 \end_inset
41318 </cell>
41319 </row>
41320 <row interlinespace="2.5mm">
41321 <cell alignment="center" valignment="top" usebox="none">
41322 \begin_inset Text
41323
41324 \begin_layout Plain Layout
41325 \begin_inset Info
41326 type  "icon"
41327 arg   "dialog-toggle findreplaceadv"
41328 \end_inset
41329
41330
41331 \end_layout
41332
41333 \end_inset
41334 </cell>
41335 <cell alignment="center" valignment="top" usebox="none">
41336 \begin_inset Text
41337
41338 \begin_layout Plain Layout
41339
41340 \family sans
41341 Edit\SpecialChar menuseparator
41342 Find
41343 \begin_inset space \thinspace{}
41344 \end_inset
41345
41346 &
41347 \begin_inset space \thinspace{}
41348 \end_inset
41349
41350 Replace
41351 \begin_inset space \thinspace{}
41352 \end_inset
41353
41354 (Advanced)
41355 \end_layout
41356
41357 \end_inset
41358 </cell>
41359 </row>
41360 <row interlinespace="2.5mm">
41361 <cell alignment="center" valignment="top" usebox="none">
41362 \begin_inset Text
41363
41364 \begin_layout Plain Layout
41365
41366 \family sans
41367 \begin_inset Info
41368 type  "icon"
41369 arg   "bookmark-goto 0"
41370 \end_inset
41371
41372
41373 \end_layout
41374
41375 \end_inset
41376 </cell>
41377 <cell alignment="center" valignment="top" usebox="none">
41378 \begin_inset Text
41379
41380 \begin_layout Plain Layout
41381
41382 \family sans
41383 Navigate\SpecialChar menuseparator
41384 Bookmarks\SpecialChar menuseparator
41385 Navigate Back
41386 \end_layout
41387
41388 \end_inset
41389 </cell>
41390 </row>
41391 <row interlinespace="2.5mm">
41392 <cell alignment="center" valignment="top" usebox="none">
41393 \begin_inset Text
41394
41395 \begin_layout Plain Layout
41396
41397 \family sans
41398 \begin_inset Info
41399 type  "icon"
41400 arg   "font-emph"
41401 \end_inset
41402
41403
41404 \end_layout
41405
41406 \end_inset
41407 </cell>
41408 <cell alignment="center" valignment="top" usebox="none">
41409 \begin_inset Text
41410
41411 \begin_layout Plain Layout
41412 Emphasize text, function of the 
41413 \family sans
41414 Edit\SpecialChar menuseparator
41415 Text
41416 \begin_inset space ~
41417 \end_inset
41418
41419 Style\SpecialChar menuseparator
41420 Customized
41421 \family default
41422  dialog
41423 \end_layout
41424
41425 \end_inset
41426 </cell>
41427 </row>
41428 <row interlinespace="2.5mm">
41429 <cell alignment="center" valignment="top" usebox="none">
41430 \begin_inset Text
41431
41432 \begin_layout Plain Layout
41433
41434 \family sans
41435 \begin_inset Info
41436 type  "icon"
41437 arg   "font-noun"
41438 \end_inset
41439
41440
41441 \end_layout
41442
41443 \end_inset
41444 </cell>
41445 <cell alignment="center" valignment="top" usebox="none">
41446 \begin_inset Text
41447
41448 \begin_layout Plain Layout
41449 Set text to noun style, function of the 
41450 \family sans
41451 Edit\SpecialChar menuseparator
41452 Text
41453 \begin_inset space ~
41454 \end_inset
41455
41456 Style\SpecialChar menuseparator
41457 Customized
41458 \family default
41459  dialog
41460 \end_layout
41461
41462 \end_inset
41463 </cell>
41464 </row>
41465 <row interlinespace="2.5mm">
41466 <cell alignment="center" valignment="top" usebox="none">
41467 \begin_inset Text
41468
41469 \begin_layout Plain Layout
41470
41471 \family sans
41472 \begin_inset Info
41473 type  "icon"
41474 arg   "textstyle-apply"
41475 \end_inset
41476
41477
41478 \end_layout
41479
41480 \end_inset
41481 </cell>
41482 <cell alignment="center" valignment="top" usebox="none">
41483 \begin_inset Text
41484
41485 \begin_layout Plain Layout
41486 Format text using the current settings in the 
41487 \family sans
41488 Edit\SpecialChar menuseparator
41489 Text
41490 \begin_inset space ~
41491 \end_inset
41492
41493 Style\SpecialChar menuseparator
41494 Customized
41495 \family default
41496  dialog
41497 \end_layout
41498
41499 \end_inset
41500 </cell>
41501 </row>
41502 <row interlinespace="2.5mm">
41503 <cell alignment="center" valignment="top" usebox="none">
41504 \begin_inset Text
41505
41506 \begin_layout Plain Layout
41507
41508 \family sans
41509 \begin_inset Info
41510 type  "icon"
41511 arg   "math-mode"
41512 \end_inset
41513
41514
41515 \end_layout
41516
41517 \end_inset
41518 </cell>
41519 <cell alignment="center" valignment="top" usebox="none">
41520 \begin_inset Text
41521
41522 \begin_layout Plain Layout
41523
41524 \family sans
41525 Insert\SpecialChar menuseparator
41526 Math\SpecialChar menuseparator
41527 Inline
41528 \begin_inset space ~
41529 \end_inset
41530
41531 Formula
41532 \end_layout
41533
41534 \end_inset
41535 </cell>
41536 </row>
41537 <row interlinespace="2.5mm">
41538 <cell alignment="center" valignment="top" usebox="none">
41539 \begin_inset Text
41540
41541 \begin_layout Plain Layout
41542
41543 \family sans
41544 \begin_inset Info
41545 type  "icon"
41546 arg   "dialog-show-new-inset graphics"
41547 \end_inset
41548
41549
41550 \end_layout
41551
41552 \end_inset
41553 </cell>
41554 <cell alignment="center" valignment="top" usebox="none">
41555 \begin_inset Text
41556
41557 \begin_layout Plain Layout
41558
41559 \family sans
41560 Insert\SpecialChar menuseparator
41561 Graphics
41562 \end_layout
41563
41564 \end_inset
41565 </cell>
41566 </row>
41567 <row interlinespace="2.5mm">
41568 <cell alignment="center" valignment="top" usebox="none">
41569 \begin_inset Text
41570
41571 \begin_layout Plain Layout
41572 \begin_inset Info
41573 type  "icon"
41574 arg   "tabular-insert"
41575 \end_inset
41576
41577
41578 \end_layout
41579
41580 \end_inset
41581 </cell>
41582 <cell alignment="center" valignment="top" usebox="none">
41583 \begin_inset Text
41584
41585 \begin_layout Plain Layout
41586
41587 \family sans
41588 Insert\SpecialChar menuseparator
41589 Table
41590 \end_layout
41591
41592 \end_inset
41593 </cell>
41594 </row>
41595 <row interlinespace="2.5mm">
41596 <cell alignment="center" valignment="top" usebox="none">
41597 \begin_inset Text
41598
41599 \begin_layout Plain Layout
41600
41601 \family sans
41602 \begin_inset Info
41603 type  "icon"
41604 arg   "dialog-toggle toc"
41605 \end_inset
41606
41607
41608 \end_layout
41609
41610 \end_inset
41611 </cell>
41612 <cell alignment="center" valignment="top" usebox="none">
41613 \begin_inset Text
41614
41615 \begin_layout Plain Layout
41616 Toggle outline window on/off, 
41617 \family sans
41618 View\SpecialChar menuseparator
41619 Outline
41620 \end_layout
41621
41622 \end_inset
41623 </cell>
41624 </row>
41625 <row interlinespace="2.5mm">
41626 <cell alignment="center" valignment="top" usebox="none">
41627 \begin_inset Text
41628
41629 \begin_layout Plain Layout
41630
41631 \family sans
41632 \begin_inset Info
41633 type  "icon"
41634 arg   "toolbar-toggle math"
41635 \end_inset
41636
41637
41638 \end_layout
41639
41640 \end_inset
41641 </cell>
41642 <cell alignment="center" valignment="top" usebox="none">
41643 \begin_inset Text
41644
41645 \begin_layout Plain Layout
41646 Toggle math toolbar on/off
41647 \end_layout
41648
41649 \end_inset
41650 </cell>
41651 </row>
41652 <row interlinespace="2.5mm">
41653 <cell alignment="center" valignment="top" usebox="none">
41654 \begin_inset Text
41655
41656 \begin_layout Plain Layout
41657
41658 \family sans
41659 \begin_inset Info
41660 type  "icon"
41661 arg   "toolbar-toggle table"
41662 \end_inset
41663
41664
41665 \end_layout
41666
41667 \end_inset
41668 </cell>
41669 <cell alignment="center" valignment="top" usebox="none">
41670 \begin_inset Text
41671
41672 \begin_layout Plain Layout
41673 Toggle table toolbar on/off
41674 \end_layout
41675
41676 \end_inset
41677 </cell>
41678 </row>
41679 </lyxtabular>
41680
41681 \end_inset
41682
41683
41684 \end_layout
41685
41686 \begin_layout Subsection
41687 Extra Toolbar
41688 \begin_inset Index idx
41689 status collapsed
41690
41691 \begin_layout Plain Layout
41692 Toolbar ! Extra
41693 \end_layout
41694
41695 \end_inset
41696
41697
41698 \end_layout
41699
41700 \begin_layout Standard
41701 \begin_inset Graphics
41702         filename clipart/ExtraToolbar.png
41703         width 100col%
41704
41705 \end_inset
41706
41707
41708 \end_layout
41709
41710 \begin_layout Standard
41711 \begin_inset VSpace defskip
41712 \end_inset
41713
41714
41715 \end_layout
41716
41717 \begin_layout Standard
41718 The extra toolbar as shown above contains from left to right the following
41719  buttons:
41720 \end_layout
41721
41722 \begin_layout Standard
41723 \begin_inset VSpace defskip
41724 \end_inset
41725
41726
41727 \end_layout
41728
41729 \begin_layout Standard
41730 \begin_inset Tabular
41731 <lyxtabular version="3" rows="25" columns="2">
41732 <features islongtable="true" longtabularalignment="center">
41733 <column alignment="left" valignment="top">
41734 <column alignment="left" valignment="top">
41735 <row interlinespace="2.5mm">
41736 <cell alignment="center" valignment="top" usebox="none">
41737 \begin_inset Text
41738
41739 \begin_layout Plain Layout
41740
41741 \family sans
41742 \begin_inset Info
41743 type  "icon"
41744 arg   "layout"
41745 \end_inset
41746
41747
41748 \end_layout
41749
41750 \end_inset
41751 </cell>
41752 <cell alignment="center" valignment="top" usebox="none">
41753 \begin_inset Text
41754
41755 \begin_layout Plain Layout
41756 Default
41757 \end_layout
41758
41759 \end_inset
41760 </cell>
41761 </row>
41762 <row interlinespace="2.5mm">
41763 <cell alignment="center" valignment="top" usebox="none">
41764 \begin_inset Text
41765
41766 \begin_layout Plain Layout
41767
41768 \family sans
41769 \begin_inset Info
41770 type  "icon"
41771 arg   "layout Enumerate"
41772 \end_inset
41773
41774
41775 \end_layout
41776
41777 \end_inset
41778 </cell>
41779 <cell alignment="center" valignment="top" usebox="none">
41780 \begin_inset Text
41781
41782 \begin_layout Plain Layout
41783 Numbered list
41784 \end_layout
41785
41786 \end_inset
41787 </cell>
41788 </row>
41789 <row interlinespace="2.5mm">
41790 <cell alignment="center" valignment="top" usebox="none">
41791 \begin_inset Text
41792
41793 \begin_layout Plain Layout
41794
41795 \family sans
41796 \begin_inset Info
41797 type  "icon"
41798 arg   "layout Itemize"
41799 \end_inset
41800
41801
41802 \end_layout
41803
41804 \end_inset
41805 </cell>
41806 <cell alignment="center" valignment="top" usebox="none">
41807 \begin_inset Text
41808
41809 \begin_layout Plain Layout
41810 Itemized list
41811 \end_layout
41812
41813 \end_inset
41814 </cell>
41815 </row>
41816 <row interlinespace="2.5mm">
41817 <cell alignment="center" valignment="top" usebox="none">
41818 \begin_inset Text
41819
41820 \begin_layout Plain Layout
41821
41822 \family sans
41823 \begin_inset Info
41824 type  "icon"
41825 arg   "layout List"
41826 \end_inset
41827
41828
41829 \end_layout
41830
41831 \end_inset
41832 </cell>
41833 <cell alignment="center" valignment="top" usebox="none">
41834 \begin_inset Text
41835
41836 \begin_layout Plain Layout
41837 List
41838 \end_layout
41839
41840 \end_inset
41841 </cell>
41842 </row>
41843 <row interlinespace="2.5mm">
41844 <cell alignment="center" valignment="top" usebox="none">
41845 \begin_inset Text
41846
41847 \begin_layout Plain Layout
41848
41849 \family sans
41850 \begin_inset Info
41851 type  "icon"
41852 arg   "layout Description"
41853 \end_inset
41854
41855
41856 \end_layout
41857
41858 \end_inset
41859 </cell>
41860 <cell alignment="center" valignment="top" usebox="none">
41861 \begin_inset Text
41862
41863 \begin_layout Plain Layout
41864 Description list
41865 \end_layout
41866
41867 \end_inset
41868 </cell>
41869 </row>
41870 <row interlinespace="2.5mm">
41871 <cell alignment="center" valignment="top" usebox="none">
41872 \begin_inset Text
41873
41874 \begin_layout Plain Layout
41875
41876 \family sans
41877 \begin_inset Info
41878 type  "icon"
41879 arg   "depth-increment"
41880 \end_inset
41881
41882
41883 \end_layout
41884
41885 \end_inset
41886 </cell>
41887 <cell alignment="center" valignment="top" usebox="none">
41888 \begin_inset Text
41889
41890 \begin_layout Plain Layout
41891
41892 \family sans
41893 Edit\SpecialChar menuseparator
41894 Increase
41895 \begin_inset space ~
41896 \end_inset
41897
41898 List
41899 \begin_inset space ~
41900 \end_inset
41901
41902 Depth
41903 \end_layout
41904
41905 \end_inset
41906 </cell>
41907 </row>
41908 <row interlinespace="2.5mm">
41909 <cell alignment="center" valignment="top" usebox="none">
41910 \begin_inset Text
41911
41912 \begin_layout Plain Layout
41913
41914 \family sans
41915 \begin_inset Info
41916 type  "icon"
41917 arg   "depth-decrement"
41918 \end_inset
41919
41920
41921 \end_layout
41922
41923 \end_inset
41924 </cell>
41925 <cell alignment="center" valignment="top" usebox="none">
41926 \begin_inset Text
41927
41928 \begin_layout Plain Layout
41929
41930 \family sans
41931 Edit\SpecialChar menuseparator
41932 Decrease
41933 \begin_inset space ~
41934 \end_inset
41935
41936 List
41937 \begin_inset space ~
41938 \end_inset
41939
41940 Depth
41941 \end_layout
41942
41943 \end_inset
41944 </cell>
41945 </row>
41946 <row interlinespace="2.5mm">
41947 <cell alignment="center" valignment="top" usebox="none">
41948 \begin_inset Text
41949
41950 \begin_layout Plain Layout
41951
41952 \family sans
41953 \begin_inset Info
41954 type  "icon"
41955 arg   "float-insert figure"
41956 \end_inset
41957
41958
41959 \end_layout
41960
41961 \end_inset
41962 </cell>
41963 <cell alignment="center" valignment="top" usebox="none">
41964 \begin_inset Text
41965
41966 \begin_layout Plain Layout
41967
41968 \family sans
41969 Insert\SpecialChar menuseparator
41970 Float\SpecialChar menuseparator
41971 Figure
41972 \end_layout
41973
41974 \end_inset
41975 </cell>
41976 </row>
41977 <row interlinespace="2.5mm">
41978 <cell alignment="center" valignment="top" usebox="none">
41979 \begin_inset Text
41980
41981 \begin_layout Plain Layout
41982
41983 \family sans
41984 \begin_inset Info
41985 type  "icon"
41986 arg   "float-insert table"
41987 \end_inset
41988
41989
41990 \end_layout
41991
41992 \end_inset
41993 </cell>
41994 <cell alignment="center" valignment="top" usebox="none">
41995 \begin_inset Text
41996
41997 \begin_layout Plain Layout
41998
41999 \family sans
42000 Insert\SpecialChar menuseparator
42001 Float\SpecialChar menuseparator
42002 Table
42003 \end_layout
42004
42005 \end_inset
42006 </cell>
42007 </row>
42008 <row interlinespace="2.5mm">
42009 <cell alignment="center" valignment="top" usebox="none">
42010 \begin_inset Text
42011
42012 \begin_layout Plain Layout
42013
42014 \family sans
42015 \begin_inset Info
42016 type  "icon"
42017 arg   "label-insert"
42018 \end_inset
42019
42020
42021 \end_layout
42022
42023 \end_inset
42024 </cell>
42025 <cell alignment="center" valignment="top" usebox="none">
42026 \begin_inset Text
42027
42028 \begin_layout Plain Layout
42029
42030 \family sans
42031 Insert\SpecialChar menuseparator
42032 Label
42033 \end_layout
42034
42035 \end_inset
42036 </cell>
42037 </row>
42038 <row interlinespace="2.5mm">
42039 <cell alignment="center" valignment="top" usebox="none">
42040 \begin_inset Text
42041
42042 \begin_layout Plain Layout
42043
42044 \family sans
42045 \begin_inset Info
42046 type  "icon"
42047 arg   "dialog-show-new-inset ref"
42048 \end_inset
42049
42050
42051 \end_layout
42052
42053 \end_inset
42054 </cell>
42055 <cell alignment="center" valignment="top" usebox="none">
42056 \begin_inset Text
42057
42058 \begin_layout Plain Layout
42059
42060 \family sans
42061 Insert\SpecialChar menuseparator
42062 Cross-Reference
42063 \end_layout
42064
42065 \end_inset
42066 </cell>
42067 </row>
42068 <row interlinespace="2.5mm">
42069 <cell alignment="center" valignment="top" usebox="none">
42070 \begin_inset Text
42071
42072 \begin_layout Plain Layout
42073
42074 \family sans
42075 \begin_inset Info
42076 type  "icon"
42077 arg   "dialog-show-new-inset citation"
42078 \end_inset
42079
42080
42081 \end_layout
42082
42083 \end_inset
42084 </cell>
42085 <cell alignment="center" valignment="top" usebox="none">
42086 \begin_inset Text
42087
42088 \begin_layout Plain Layout
42089
42090 \family sans
42091 Insert\SpecialChar menuseparator
42092 Citation
42093 \end_layout
42094
42095 \end_inset
42096 </cell>
42097 </row>
42098 <row interlinespace="2.5mm">
42099 <cell alignment="center" valignment="top" usebox="none">
42100 \begin_inset Text
42101
42102 \begin_layout Plain Layout
42103
42104 \family sans
42105 \begin_inset Info
42106 type  "icon"
42107 arg   "index-insert"
42108 \end_inset
42109
42110
42111 \end_layout
42112
42113 \end_inset
42114 </cell>
42115 <cell alignment="center" valignment="top" usebox="none">
42116 \begin_inset Text
42117
42118 \begin_layout Plain Layout
42119
42120 \family sans
42121 Insert\SpecialChar menuseparator
42122 Index
42123 \begin_inset space ~
42124 \end_inset
42125
42126 Entry
42127 \end_layout
42128
42129 \end_inset
42130 </cell>
42131 </row>
42132 <row interlinespace="2.5mm">
42133 <cell alignment="center" valignment="top" usebox="none">
42134 \begin_inset Text
42135
42136 \begin_layout Plain Layout
42137
42138 \family sans
42139 \begin_inset Info
42140 type  "icon"
42141 arg   "nomencl-insert"
42142 \end_inset
42143
42144
42145 \end_layout
42146
42147 \end_inset
42148 </cell>
42149 <cell alignment="center" valignment="top" usebox="none">
42150 \begin_inset Text
42151
42152 \begin_layout Plain Layout
42153
42154 \family sans
42155 Insert\SpecialChar menuseparator
42156 Nomenclature
42157 \begin_inset space ~
42158 \end_inset
42159
42160 Entry
42161 \end_layout
42162
42163 \end_inset
42164 </cell>
42165 </row>
42166 <row interlinespace="2.5mm">
42167 <cell alignment="center" valignment="top" usebox="none">
42168 \begin_inset Text
42169
42170 \begin_layout Plain Layout
42171
42172 \family sans
42173 \begin_inset Info
42174 type  "icon"
42175 arg   "footnote-insert"
42176 \end_inset
42177
42178
42179 \end_layout
42180
42181 \end_inset
42182 </cell>
42183 <cell alignment="center" valignment="top" usebox="none">
42184 \begin_inset Text
42185
42186 \begin_layout Plain Layout
42187
42188 \family sans
42189 Insert\SpecialChar menuseparator
42190 Footnote
42191 \end_layout
42192
42193 \end_inset
42194 </cell>
42195 </row>
42196 <row interlinespace="2.5mm">
42197 <cell alignment="center" valignment="top" usebox="none">
42198 \begin_inset Text
42199
42200 \begin_layout Plain Layout
42201
42202 \family sans
42203 \begin_inset Info
42204 type  "icon"
42205 arg   "marginalnote-insert"
42206 \end_inset
42207
42208
42209 \end_layout
42210
42211 \end_inset
42212 </cell>
42213 <cell alignment="center" valignment="top" usebox="none">
42214 \begin_inset Text
42215
42216 \begin_layout Plain Layout
42217
42218 \family sans
42219 Insert\SpecialChar menuseparator
42220 Marginal
42221 \begin_inset space ~
42222 \end_inset
42223
42224 Note
42225 \end_layout
42226
42227 \end_inset
42228 </cell>
42229 </row>
42230 <row interlinespace="2.5mm">
42231 <cell alignment="center" valignment="top" usebox="none">
42232 \begin_inset Text
42233
42234 \begin_layout Plain Layout
42235
42236 \family sans
42237 \begin_inset Info
42238 type  "icon"
42239 arg   "note-insert"
42240 \end_inset
42241
42242
42243 \end_layout
42244
42245 \end_inset
42246 </cell>
42247 <cell alignment="center" valignment="top" usebox="none">
42248 \begin_inset Text
42249
42250 \begin_layout Plain Layout
42251
42252 \family sans
42253 Insert\SpecialChar menuseparator
42254 Note\SpecialChar menuseparator
42255 LyX
42256 \begin_inset space ~
42257 \end_inset
42258
42259 Note
42260 \end_layout
42261
42262 \end_inset
42263 </cell>
42264 </row>
42265 <row interlinespace="2.5mm">
42266 <cell alignment="center" valignment="top" usebox="none">
42267 \begin_inset Text
42268
42269 \begin_layout Plain Layout
42270
42271 \family sans
42272 \begin_inset Info
42273 type  "icon"
42274 arg   "box-insert Frameless"
42275 \end_inset
42276
42277
42278 \end_layout
42279
42280 \end_inset
42281 </cell>
42282 <cell alignment="center" valignment="top" usebox="none">
42283 \begin_inset Text
42284
42285 \begin_layout Plain Layout
42286
42287 \family sans
42288 Insert\SpecialChar menuseparator
42289 Box
42290 \end_layout
42291
42292 \end_inset
42293 </cell>
42294 </row>
42295 <row interlinespace="2.5mm">
42296 <cell alignment="center" valignment="top" usebox="none">
42297 \begin_inset Text
42298
42299 \begin_layout Plain Layout
42300
42301 \family sans
42302 \begin_inset Info
42303 type  "icon"
42304 arg   "href-insert"
42305 \end_inset
42306
42307
42308 \end_layout
42309
42310 \end_inset
42311 </cell>
42312 <cell alignment="center" valignment="top" usebox="none">
42313 \begin_inset Text
42314
42315 \begin_layout Plain Layout
42316
42317 \family sans
42318 Insert\SpecialChar menuseparator
42319 Hyperlink
42320 \end_layout
42321
42322 \end_inset
42323 </cell>
42324 </row>
42325 <row interlinespace="2.5mm">
42326 <cell alignment="center" valignment="top" usebox="none">
42327 \begin_inset Text
42328
42329 \begin_layout Plain Layout
42330
42331 \family sans
42332 \begin_inset Info
42333 type  "icon"
42334 arg   "ert-insert"
42335 \end_inset
42336
42337
42338 \end_layout
42339
42340 \end_inset
42341 </cell>
42342 <cell alignment="center" valignment="top" usebox="none">
42343 \begin_inset Text
42344
42345 \begin_layout Plain Layout
42346
42347 \family sans
42348 Insert\SpecialChar menuseparator
42349 TeX
42350 \begin_inset space ~
42351 \end_inset
42352
42353 Code
42354 \end_layout
42355
42356 \end_inset
42357 </cell>
42358 </row>
42359 <row interlinespace="2.5mm">
42360 <cell alignment="center" valignment="top" usebox="none">
42361 \begin_inset Text
42362
42363 \begin_layout Plain Layout
42364
42365 \family sans
42366 \begin_inset Info
42367 type  "icon"
42368 arg   "math-macro newmacroname newcommand"
42369 \end_inset
42370
42371
42372 \end_layout
42373
42374 \end_inset
42375 </cell>
42376 <cell alignment="center" valignment="top" usebox="none">
42377 \begin_inset Text
42378
42379 \begin_layout Plain Layout
42380
42381 \family sans
42382 Insert\SpecialChar menuseparator
42383 Math\SpecialChar menuseparator
42384 Macro
42385 \end_layout
42386
42387 \end_inset
42388 </cell>
42389 </row>
42390 <row interlinespace="2.5mm">
42391 <cell alignment="center" valignment="top" usebox="none">
42392 \begin_inset Text
42393
42394 \begin_layout Plain Layout
42395
42396 \family sans
42397 \begin_inset Info
42398 type  "icon"
42399 arg   "dialog-show-new-inset include"
42400 \end_inset
42401
42402
42403 \end_layout
42404
42405 \end_inset
42406 </cell>
42407 <cell alignment="center" valignment="top" usebox="none">
42408 \begin_inset Text
42409
42410 \begin_layout Plain Layout
42411
42412 \family sans
42413 Insert\SpecialChar menuseparator
42414 File\SpecialChar menuseparator
42415 Child
42416 \begin_inset space ~
42417 \end_inset
42418
42419 Document
42420 \end_layout
42421
42422 \end_inset
42423 </cell>
42424 </row>
42425 <row interlinespace="2.5mm">
42426 <cell alignment="center" valignment="top" usebox="none">
42427 \begin_inset Text
42428
42429 \begin_layout Plain Layout
42430
42431 \family sans
42432 \begin_inset Info
42433 type  "icon"
42434 arg   "dialog-show character"
42435 \end_inset
42436
42437
42438 \end_layout
42439
42440 \end_inset
42441 </cell>
42442 <cell alignment="center" valignment="top" usebox="none">
42443 \begin_inset Text
42444
42445 \begin_layout Plain Layout
42446
42447 \family sans
42448 Edit\SpecialChar menuseparator
42449 Text
42450 \begin_inset space ~
42451 \end_inset
42452
42453 Style\SpecialChar menuseparator
42454 Customized
42455 \end_layout
42456
42457 \end_inset
42458 </cell>
42459 </row>
42460 <row interlinespace="2.5mm">
42461 <cell alignment="center" valignment="top" usebox="none">
42462 \begin_inset Text
42463
42464 \begin_layout Plain Layout
42465
42466 \family sans
42467 \begin_inset Info
42468 type  "icon"
42469 arg   "layout-paragraph"
42470 \end_inset
42471
42472
42473 \end_layout
42474
42475 \end_inset
42476 </cell>
42477 <cell alignment="center" valignment="top" usebox="none">
42478 \begin_inset Text
42479
42480 \begin_layout Plain Layout
42481
42482 \family sans
42483 Edit\SpecialChar menuseparator
42484 Paragraph
42485 \begin_inset space ~
42486 \end_inset
42487
42488 Settings
42489 \end_layout
42490
42491 \end_inset
42492 </cell>
42493 </row>
42494 <row interlinespace="2.5mm">
42495 <cell alignment="center" valignment="top" usebox="none">
42496 \begin_inset Text
42497
42498 \begin_layout Plain Layout
42499
42500 \family sans
42501 \begin_inset Info
42502 type  "icon"
42503 arg   "thesaurus-entry"
42504 \end_inset
42505
42506
42507 \end_layout
42508
42509 \end_inset
42510 </cell>
42511 <cell alignment="center" valignment="top" usebox="none">
42512 \begin_inset Text
42513
42514 \begin_layout Plain Layout
42515
42516 \family sans
42517 Tools\SpecialChar menuseparator
42518 Thesaurus
42519 \end_layout
42520
42521 \end_inset
42522 </cell>
42523 </row>
42524 </lyxtabular>
42525
42526 \end_inset
42527
42528
42529 \end_layout
42530
42531 \begin_layout Subsection
42532 View/Update Toolbar
42533 \begin_inset Index idx
42534 status collapsed
42535
42536 \begin_layout Plain Layout
42537 Toolbar ! View / Update
42538 \end_layout
42539
42540 \end_inset
42541
42542
42543 \end_layout
42544
42545 \begin_layout Standard
42546 \begin_inset Graphics
42547         filename clipart/ViewToolbar.png
42548
42549 \end_inset
42550
42551
42552 \end_layout
42553
42554 \begin_layout Standard
42555 \begin_inset VSpace defskip
42556 \end_inset
42557
42558
42559 \end_layout
42560
42561 \begin_layout Standard
42562 The view/update toolbar as shown above contains from left to right the following
42563  buttons:
42564 \end_layout
42565
42566 \begin_layout Standard
42567 \begin_inset VSpace defskip
42568 \end_inset
42569
42570
42571 \end_layout
42572
42573 \begin_layout Standard
42574 \begin_inset Tabular
42575 <lyxtabular version="3" rows="7" columns="2">
42576 <features islongtable="true" longtabularalignment="center">
42577 <column alignment="left" valignment="top">
42578 <column alignment="left" valignment="top">
42579 <row interlinespace="2.5mm">
42580 <cell alignment="center" valignment="top" usebox="none">
42581 \begin_inset Text
42582
42583 \begin_layout Plain Layout
42584
42585 \family sans
42586 \begin_inset Info
42587 type  "icon"
42588 arg   "buffer-view"
42589 \end_inset
42590
42591
42592 \end_layout
42593
42594 \end_inset
42595 </cell>
42596 <cell alignment="center" valignment="top" usebox="none">
42597 \begin_inset Text
42598
42599 \begin_layout Plain Layout
42600
42601 \family sans
42602 Document\SpecialChar menuseparator
42603 View
42604 \end_layout
42605
42606 \end_inset
42607 </cell>
42608 </row>
42609 <row interlinespace="2.5mm">
42610 <cell alignment="center" valignment="top" usebox="none">
42611 \begin_inset Text
42612
42613 \begin_layout Plain Layout
42614
42615 \family sans
42616 \begin_inset Info
42617 type  "icon"
42618 arg   "buffer-update"
42619 \end_inset
42620
42621
42622 \end_layout
42623
42624 \end_inset
42625 </cell>
42626 <cell alignment="center" valignment="top" usebox="none">
42627 \begin_inset Text
42628
42629 \begin_layout Plain Layout
42630
42631 \family sans
42632 Document\SpecialChar menuseparator
42633 Update
42634 \end_layout
42635
42636 \end_inset
42637 </cell>
42638 </row>
42639 <row interlinespace="2.5mm">
42640 <cell alignment="center" valignment="top" usebox="none">
42641 \begin_inset Text
42642
42643 \begin_layout Plain Layout
42644
42645 \family sans
42646 \begin_inset Info
42647 type  "icon"
42648 arg   "master-buffer-view"
42649 \end_inset
42650
42651
42652 \end_layout
42653
42654 \end_inset
42655 </cell>
42656 <cell alignment="center" valignment="top" usebox="none">
42657 \begin_inset Text
42658
42659 \begin_layout Plain Layout
42660
42661 \family sans
42662 Document\SpecialChar menuseparator
42663 Master
42664 \begin_inset space ~
42665 \end_inset
42666
42667 Document
42668 \end_layout
42669
42670 \end_inset
42671 </cell>
42672 </row>
42673 <row interlinespace="2.5mm">
42674 <cell alignment="center" valignment="top" usebox="none">
42675 \begin_inset Text
42676
42677 \begin_layout Plain Layout
42678
42679 \family sans
42680 \begin_inset Info
42681 type  "icon"
42682 arg   "master-buffer-update"
42683 \end_inset
42684
42685
42686 \end_layout
42687
42688 \end_inset
42689 </cell>
42690 <cell alignment="center" valignment="top" usebox="none">
42691 \begin_inset Text
42692
42693 \begin_layout Plain Layout
42694
42695 \family sans
42696 Document\SpecialChar menuseparator
42697 Update
42698 \begin_inset space ~
42699 \end_inset
42700
42701 Master
42702 \begin_inset space ~
42703 \end_inset
42704
42705 Document
42706 \end_layout
42707
42708 \end_inset
42709 </cell>
42710 </row>
42711 <row interlinespace="2.5mm">
42712 <cell alignment="center" valignment="top" usebox="none">
42713 \begin_inset Text
42714
42715 \begin_layout Plain Layout
42716
42717 \family sans
42718 \begin_inset Info
42719 type  "icon"
42720 arg   "buffer-toggle-output-sync"
42721 \end_inset
42722
42723
42724 \end_layout
42725
42726 \end_inset
42727 </cell>
42728 <cell alignment="center" valignment="top" usebox="none">
42729 \begin_inset Text
42730
42731 \begin_layout Plain Layout
42732
42733 \family sans
42734 Document\SpecialChar menuseparator
42735 Settings\SpecialChar menuseparator
42736 Output\SpecialChar menuseparator
42737 Synchronize with Output
42738 \end_layout
42739
42740 \end_inset
42741 </cell>
42742 </row>
42743 <row interlinespace="2.5mm">
42744 <cell alignment="center" valignment="top" usebox="none">
42745 \begin_inset Text
42746
42747 \begin_layout Plain Layout
42748 \begin_inset Info
42749 type  "icon"
42750 arg   "view-others"
42751 \end_inset
42752
42753
42754 \family sans
42755 *
42756 \end_layout
42757
42758 \end_inset
42759 </cell>
42760 <cell alignment="center" valignment="top" usebox="none">
42761 \begin_inset Text
42762
42763 \begin_layout Plain Layout
42764
42765 \family sans
42766 Document\SpecialChar menuseparator
42767 View (Other Formats)
42768 \end_layout
42769
42770 \end_inset
42771 </cell>
42772 </row>
42773 <row interlinespace="2.5mm">
42774 <cell alignment="center" valignment="top" usebox="none">
42775 \begin_inset Text
42776
42777 \begin_layout Plain Layout
42778 \begin_inset Info
42779 type  "icon"
42780 arg   "update-others"
42781 \end_inset
42782
42783 *
42784 \end_layout
42785
42786 \end_inset
42787 </cell>
42788 <cell alignment="center" valignment="top" usebox="none">
42789 \begin_inset Text
42790
42791 \begin_layout Plain Layout
42792
42793 \family sans
42794 Document\SpecialChar menuseparator
42795 Update (Other Formats)
42796 \end_layout
42797
42798 \end_inset
42799 </cell>
42800 </row>
42801 </lyxtabular>
42802
42803 \end_inset
42804
42805
42806 \end_layout
42807
42808 \begin_layout Standard
42809 * These icons might look different for you if you do not use the default
42810  icon set.
42811 \end_layout
42812
42813 \begin_layout Subsection
42814 Other Toolbars
42815 \end_layout
42816
42817 \begin_layout Standard
42818 The change tracking toolbar is explained in section
42819 \begin_inset space ~
42820 \end_inset
42821
42822
42823 \begin_inset CommandInset ref
42824 LatexCommand ref
42825 reference "sec:Change-Tracking"
42826
42827 \end_inset
42828
42829 , the table toolbar
42830 \begin_inset Index idx
42831 status collapsed
42832
42833 \begin_layout Plain Layout
42834 Toolbar ! Table
42835 \end_layout
42836
42837 \end_inset
42838
42839  in the 
42840 \emph on
42841 Embedded
42842 \begin_inset space ~
42843 \end_inset
42844
42845 Objects
42846 \emph default
42847  manual and the math macro toolbar
42848 \begin_inset Index idx
42849 status collapsed
42850
42851 \begin_layout Plain Layout
42852 Toolbar ! Macro
42853 \end_layout
42854
42855 \end_inset
42856
42857  in the 
42858 \emph on
42859 Math
42860 \emph default
42861  manual.
42862 \end_layout
42863
42864 \begin_layout Chapter
42865 The Document Settings
42866 \begin_inset CommandInset label
42867 LatexCommand label
42868 name "chap:The-Document-Settings"
42869
42870 \end_inset
42871
42872
42873 \begin_inset Index idx
42874 status collapsed
42875
42876 \begin_layout Plain Layout
42877 Document ! Settings
42878 \end_layout
42879
42880 \end_inset
42881
42882
42883 \end_layout
42884
42885 \begin_layout Standard
42886 The 
42887 \family sans
42888 Document
42889 \begin_inset space ~
42890 \end_inset
42891
42892 Setting
42893 \family default
42894 s dialog contains submenus to set properties for the whole document and
42895  is called with the menu
42896 \family sans
42897  Document\SpecialChar menuseparator
42898 Settings
42899 \family default
42900 .
42901  You can save your document settings as default with the
42902 \family sans
42903  Save as Document Defaults
42904 \family default
42905  button in any dialog.
42906  This will create a template named 
42907 \family typewriter
42908 defaults.lyx
42909 \family default
42910  which is automatically loaded by \SpecialChar LyX
42911  when you create a new document without
42912  using a template.
42913 \end_layout
42914
42915 \begin_layout Standard
42916 The button 
42917 \family sans
42918 Use Class Defaults
42919 \family default
42920  resets the document settings to the default of the document class.
42921  This affects mostly class options, the page layout and Numbering & TOC.
42922 \end_layout
42923
42924 \begin_layout Standard
42925 The different submenus of the dialog are explained in the following sections.
42926  There are so many document settings available that it might take a while
42927  to find the one you are looking for.
42928  To find a setting quicker, you can use the search field which is above
42929  the submenus of the dialog.
42930  If you search e.
42931 \begin_inset space \thinspace{}
42932 \end_inset
42933
42934 g.
42935 \begin_inset space \space{}
42936 \end_inset
42937
42938 for 
42939 \begin_inset Quotes eld
42940 \end_inset
42941
42942 page
42943 \begin_inset Quotes erd
42944 \end_inset
42945
42946 , you will see that some submenus will be grayed-out and disabled.
42947  Only the submenus with page settings stay enabled.
42948  The found page settings are labeled red in these submenus.
42949 \end_layout
42950
42951 \begin_layout Section
42952 Document Class
42953 \end_layout
42954
42955 \begin_layout Standard
42956 Here you set the document class, class options, a graphics driver, and a
42957  master document.
42958  Document classes are described in section
42959 \begin_inset space ~
42960 \end_inset
42961
42962
42963 \begin_inset CommandInset ref
42964 LatexCommand ref
42965 reference "sec:Document-Classes"
42966
42967 \end_inset
42968
42969 .
42970  
42971 \end_layout
42972
42973 \begin_layout Standard
42974 With the button 
42975 \family sans
42976 Local
42977 \begin_inset space ~
42978 \end_inset
42979
42980 Layout
42981 \family default
42982  you can load you own layout-file, that is not in \SpecialChar LyX
42983 's 
42984 \emph on
42985 layouts
42986 \emph default
42987  folder and thus not recognized by \SpecialChar LyX
42988  as a layout for a document class.
42989  For more about layout-files, see the chapter 
42990 \emph on
42991 Installing New Document Classes, Types of Layout Files
42992 \emph default
42993  of the 
42994 \emph on
42995 Customization
42996 \emph default
42997  Handbook.
42998 \end_layout
42999
43000 \begin_layout Standard
43001 Some classes use special class options by default.
43002  If this is the case, they are listed in the field 
43003 \family sans
43004 Predefined
43005 \family default
43006  and you can decide to use them or not.
43007  If you do not know exactly what the default class options are for, it is
43008  recommended you leave them untouched.
43009  The 
43010 \family sans
43011 Graphics driver
43012 \family default
43013  is used for \SpecialChar LaTeX
43014 's graphics, color and page layout packages.
43015  If using 
43016 \family sans
43017 Default
43018 \family default
43019 , the default driver for the \SpecialChar LaTeX
43020 -packages is used.
43021  It is recommended that you use the default unless you know what you are
43022  doing.
43023 \begin_inset Foot
43024 status collapsed
43025
43026 \begin_layout Plain Layout
43027 When you want to use one of the following drivers
43028 \begin_inset Newline newline
43029 \end_inset
43030
43031
43032 \family sans
43033 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
43034 \family default
43035
43036 \begin_inset Newline newline
43037 \end_inset
43038
43039 you first have to activate them in your \SpecialChar LaTeX
43040  distribution, see section 
43041 \emph on
43042 Driver support
43043 \emph default
43044  in 
43045 \begin_inset CommandInset href
43046 LatexCommand href
43047 target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
43048 literal "false"
43049
43050 \end_inset
43051
43052 .
43053 \end_layout
43054
43055 \end_inset
43056
43057
43058 \end_layout
43059
43060 \begin_layout Standard
43061 Specifying a 
43062 \family sans
43063 Master
43064 \family default
43065  document is necessary if the current document is a child or subdocument.
43066  The master document will be used by \SpecialChar LyX
43067  in the background if the child document
43068  is opened without its master.
43069  This way child documents are always compilable.
43070  More about master and child documents is explained in the section 
43071 \emph on
43072 Child Documents
43073 \emph default
43074  of the 
43075 \emph on
43076 Embedded
43077 \begin_inset space ~
43078 \end_inset
43079
43080 Objects
43081 \emph default
43082  manual.
43083 \end_layout
43084
43085 \begin_layout Standard
43086 There is also an option to suppress the date and one to use the \SpecialChar LaTeX
43087 -package
43088  
43089 \series bold
43090 refstyle
43091 \series default
43092  instead of 
43093 \series bold
43094 prettyref
43095 \series default
43096
43097 \begin_inset Index idx
43098 status collapsed
43099
43100 \begin_layout Plain Layout
43101 \SpecialChar LaTeX
43102  packages ! prettyref
43103 \end_layout
43104
43105 \end_inset
43106
43107
43108 \begin_inset Index idx
43109 status collapsed
43110
43111 \begin_layout Plain Layout
43112 \SpecialChar LaTeX
43113  packages ! refstyle
43114 \end_layout
43115
43116 \end_inset
43117
43118  for cross-references, see section
43119 \begin_inset space ~
43120 \end_inset
43121
43122
43123 \begin_inset CommandInset ref
43124 LatexCommand ref
43125 reference "sec:Cross-References"
43126
43127 \end_inset
43128
43129 .
43130 \end_layout
43131
43132 \begin_layout Section
43133 Child Documents
43134 \end_layout
43135
43136 \begin_layout Standard
43137 This submenu is only visible when your document includes child documents.
43138  Please refer to the section 
43139 \emph on
43140 Child
43141 \begin_inset space ~
43142 \end_inset
43143
43144 Documents
43145 \emph default
43146  of the 
43147 \emph on
43148 Embedded
43149 \begin_inset space ~
43150 \end_inset
43151
43152 Objects
43153 \emph default
43154  manual for details.
43155 \end_layout
43156
43157 \begin_layout Section
43158 Modules
43159 \end_layout
43160
43161 \begin_layout Standard
43162 Modules are explained in section
43163 \begin_inset space ~
43164 \end_inset
43165
43166
43167 \begin_inset CommandInset ref
43168 LatexCommand ref
43169 reference "subsec:Modules"
43170
43171 \end_inset
43172
43173 .
43174 \end_layout
43175
43176 \begin_layout Section
43177 Local Layout
43178 \end_layout
43179
43180 \begin_layout Standard
43181 See section
43182 \begin_inset space ~
43183 \end_inset
43184
43185
43186 \begin_inset CommandInset ref
43187 LatexCommand ref
43188 reference "subsec:Local-Layout"
43189
43190 \end_inset
43191
43192  for a description.
43193 \end_layout
43194
43195 \begin_layout Section
43196 Fonts
43197 \end_layout
43198
43199 \begin_layout Standard
43200 The document font settings are described in section
43201 \begin_inset space ~
43202 \end_inset
43203
43204
43205 \begin_inset CommandInset ref
43206 LatexCommand ref
43207 reference "sec:Fonts-and-Text"
43208
43209 \end_inset
43210
43211 .
43212 \end_layout
43213
43214 \begin_layout Section
43215 Text Layout
43216 \end_layout
43217
43218 \begin_layout Standard
43219 You can specify if paragraphs should be separated by 
43220 \family sans
43221 Indentation
43222 \family default
43223  or by 
43224 \family sans
43225 Vertical space
43226 \family default
43227 .
43228  The 
43229 \family sans
43230 Line
43231 \begin_inset space ~
43232 \end_inset
43233
43234 spacing
43235 \family default
43236  and whether it should be a 
43237 \family sans
43238 Two-column
43239 \begin_inset space ~
43240 \end_inset
43241
43242 document
43243 \family default
43244  can also be specified here.
43245 \end_layout
43246
43247 \begin_layout Standard
43248 Note that \SpecialChar LyX
43249  will not show two columns or the specified line spacing on screen.
43250  That would be impractical, often unreadable, and is not part of the WYSIWYM
43251  concept.
43252  However, it will be as you specified in the output.
43253 \end_layout
43254
43255 \begin_layout Standard
43256 With the option 
43257 \family sans
43258 Use justification in \SpecialChar LyX
43259  work area
43260 \family default
43261  you can decide if \SpecialChar LyX
43262  justifies the text on screen.
43263  This only affects the text inside \SpecialChar LyX
43264  not in the output.
43265 \end_layout
43266
43267 \begin_layout Section
43268 Page Layout
43269 \end_layout
43270
43271 \begin_layout Standard
43272 This dialog is described in sections
43273 \begin_inset space ~
43274 \end_inset
43275
43276
43277 \begin_inset CommandInset ref
43278 LatexCommand ref
43279 reference "subsec:Paper-Size,-Orientation"
43280
43281 \end_inset
43282
43283  and 
43284 \begin_inset CommandInset ref
43285 LatexCommand ref
43286 reference "subsec:Document-Layout"
43287
43288 \end_inset
43289
43290 .
43291 \end_layout
43292
43293 \begin_layout Section
43294 Page Margins
43295 \end_layout
43296
43297 \begin_layout Standard
43298 Here you can adjust the page margins as described in section
43299 \begin_inset space ~
43300 \end_inset
43301
43302
43303 \begin_inset CommandInset ref
43304 LatexCommand ref
43305 reference "subsec:Margins"
43306
43307 \end_inset
43308
43309 .
43310 \end_layout
43311
43312 \begin_layout Section
43313 Language
43314 \begin_inset CommandInset label
43315 LatexCommand label
43316 name "sec:Language-encodings"
43317
43318 \end_inset
43319
43320
43321 \begin_inset Index idx
43322 status collapsed
43323
43324 \begin_layout Plain Layout
43325 Language ! Encoding
43326 \end_layout
43327
43328 \end_inset
43329
43330
43331 \end_layout
43332
43333 \begin_layout Standard
43334 The document language and quote styles are set here.
43335  The encoding specifies how the document content is exported to \SpecialChar LaTeX
43336  (the \SpecialChar LyX
43337  file
43338  is always encoded in utf8).
43339  All characters that cannot be encoded using the specified encoding will
43340  be exported as \SpecialChar LaTeX
43341 -commands (this can fail if a \SpecialChar LaTeX
43342 -command is not known for
43343  a particular character).
43344 \end_layout
43345
43346 \begin_layout Standard
43347 If you use the option 
43348 \family sans
43349 Language Default
43350 \family default
43351 , \SpecialChar LyX
43352  determines the encoding of a text part from the language of this text.
43353  If the document contains text in more than one language you may get more
43354  than one encoding in the \SpecialChar LaTeX
43355  file.
43356  If you do not use this option then the complete document will always use
43357  exactly one encoding.
43358  Checking this option is the preferred setting.
43359 \end_layout
43360
43361 \begin_layout Standard
43362 \SpecialChar LyX
43363  also supports Unicode output, which is particularly useful if you need
43364  lots of special symbols or non-alphabetic scripts, respectively.
43365  If you want to use this (and your \SpecialChar LaTeX
43366  installation supports Unicode), choose
43367  one of the four utf8 variants from the list below.
43368  Unfortunately the Unicode support of standard \SpecialChar LaTeX
43369  is quite incomplete, so
43370  it is not uncommon that a file with lots of Unicode symbols works fine
43371  with 
43372 \family sans
43373 Language Default
43374 \family default
43375  (when \SpecialChar LyX
43376  uses its list of known \SpecialChar LaTeX
43377 -commands), but does not work with a fixed
43378  utf8 encoding (when the list of known \SpecialChar LaTeX
43379 -commands is not used, because all
43380  Unicode symbols can be encoded in utf8).
43381  The situation is much better with Xe\SpecialChar TeX
43382  and Lua\SpecialChar TeX
43383 , two new alternative engines
43384  to standard \SpecialChar LaTeX
43385 .
43386  Both engines support Unicode natively.
43387  \SpecialChar LyX
43388  now also supports these two engines (via the output formats 
43389 \family sans
43390 PDF
43391 \begin_inset space ~
43392 \end_inset
43393
43394 (XeTeX)
43395 \family default
43396
43397 \family sans
43398 PDF
43399 \begin_inset space ~
43400 \end_inset
43401
43402 (LuaTeX)
43403 \family default
43404  and 
43405 \family sans
43406 DVI
43407 \begin_inset space ~
43408 \end_inset
43409
43410 (LuaTeX)
43411 \family default
43412 , see section
43413 \begin_inset space ~
43414 \end_inset
43415
43416
43417 \begin_inset CommandInset ref
43418 LatexCommand ref
43419 reference "subsec:Output-file-formats"
43420
43421 \end_inset
43422
43423 ).
43424  So if you are using many special or accented characters and 
43425 \family sans
43426 Language Default
43427 \family default
43428  fails, you might try out one of these new engines.
43429 \end_layout
43430
43431 \begin_layout Standard
43432 The 
43433 \family sans
43434 Language
43435 \begin_inset space ~
43436 \end_inset
43437
43438 package
43439 \family default
43440  determines the \SpecialChar LaTeX
43441 -package that is used for hyphenation and the translation
43442  of strings like 
43443 \begin_inset Quotes eld
43444 \end_inset
43445
43446 Part
43447 \begin_inset Quotes erd
43448 \end_inset
43449
43450 .
43451  The possible settings are:
43452 \end_layout
43453
43454 \begin_layout Description
43455 Default uses the language package that is selected in
43456 \family sans
43457  Tools\SpecialChar menuseparator
43458 Preferences\SpecialChar menuseparator
43459 Language Settings
43460 \family default
43461  (see section
43462 \begin_inset space ~
43463 \end_inset
43464
43465
43466 \begin_inset CommandInset ref
43467 LatexCommand ref
43468 reference "subsec:Prefs-Language"
43469
43470 \end_inset
43471
43472 ).
43473 \end_layout
43474
43475 \begin_layout Description
43476 Automatic selects the most suitable language package for the view/export
43477  format you will use.
43478  In many cases this will be 
43479 \series bold
43480 babel
43481 \series default
43482
43483 \begin_inset Index idx
43484 status collapsed
43485
43486 \begin_layout Plain Layout
43487 \SpecialChar LaTeX
43488  packages ! babel
43489 \end_layout
43490
43491 \end_inset
43492
43493 .
43494  If the newer package 
43495 \series bold
43496 polyglossia
43497 \series default
43498
43499 \begin_inset Index idx
43500 status collapsed
43501
43502 \begin_layout Plain Layout
43503 \SpecialChar LaTeX
43504  packages ! polyglossia
43505 \end_layout
43506
43507 \end_inset
43508
43509  is more appropriate (is the case when using Xe\SpecialChar TeX
43510  or Lua\SpecialChar TeX
43511  and non-\SpecialChar TeX
43512  fonts),
43513  this package will be used instead of 
43514 \series bold
43515 babel
43516 \series default
43517 .
43518 \end_layout
43519
43520 \begin_layout Description
43521 Always
43522 \begin_inset space ~
43523 \end_inset
43524
43525 Babel uses 
43526 \series bold
43527 babel
43528 \series default
43529  even if 
43530 \series bold
43531 polyglossia
43532 \series default
43533  would be more appropriate.
43534 \end_layout
43535
43536 \begin_layout Description
43537 Custom allows you to specify a language package command of your choice.
43538  For example if you want to use a language-specific package like 
43539 \series bold
43540 ngerman
43541 \series default
43542  (for German texts), type in
43543 \series bold
43544
43545 \begin_inset Newline newline
43546 \end_inset
43547
43548
43549 \backslash
43550 usepackage{ngerman}
43551 \end_layout
43552
43553 \begin_layout Description
43554 None will not use a language package.
43555  This is necessary for some document classes for scientific articles.
43556 \end_layout
43557
43558 \begin_layout Standard
43559 Here is a list with the important encodings:
43560 \end_layout
43561
43562 \begin_layout Description
43563 Language
43564 \begin_inset space ~
43565 \end_inset
43566
43567 Default
43568 \begin_inset space ~
43569 \end_inset
43570
43571 (no
43572 \begin_inset space ~
43573 \end_inset
43574
43575 inputenc) Same as 
43576 \family sans
43577 Language Default
43578 \family default
43579 , but the \SpecialChar LaTeX
43580 -package 
43581 \series bold
43582 inputenc
43583 \series default
43584
43585 \begin_inset Index idx
43586 status collapsed
43587
43588 \begin_layout Plain Layout
43589 \SpecialChar LaTeX
43590  packages ! inputenc
43591 \end_layout
43592
43593 \end_inset
43594
43595  is not used.
43596  When using this, you probably need to load some additional packages manually
43597  in the preamble and specify the used encoding for text parts in foreign
43598  languages in \SpecialChar TeX
43599  code.
43600 \end_layout
43601
43602 \begin_layout Description
43603 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
43604  \SpecialChar LyX
43605  converts all other characters into \SpecialChar LaTeX
43606  commands, which may result in a big
43607  file when lots of \SpecialChar LaTeX
43608 -commands are needed.
43609 \end_layout
43610
43611 \begin_layout Description
43612 Arabic
43613 \begin_inset space ~
43614 \end_inset
43615
43616 (CP
43617 \begin_inset space ~
43618 \end_inset
43619
43620 1256) MS Windows code page for Arabic and Farsi
43621 \end_layout
43622
43623 \begin_layout Description
43624 Arabic
43625 \begin_inset space ~
43626 \end_inset
43627
43628 (ISO
43629 \begin_inset space ~
43630 \end_inset
43631
43632 8859-6) for Arabic and Farsi
43633 \end_layout
43634
43635 \begin_layout Description
43636 Armenian
43637 \begin_inset space ~
43638 \end_inset
43639
43640 (ArmSCII8) for Armenian
43641 \end_layout
43642
43643 \begin_layout Description
43644 Baltic
43645 \begin_inset space ~
43646 \end_inset
43647
43648 (CP
43649 \begin_inset space ~
43650 \end_inset
43651
43652 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
43653  as the ISO-8859-13 encoding
43654 \end_layout
43655
43656 \begin_layout Description
43657 Baltic
43658 \begin_inset space ~
43659 \end_inset
43660
43661 (ISO
43662 \begin_inset space ~
43663 \end_inset
43664
43665 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
43666  encoding
43667 \end_layout
43668
43669 \begin_layout Description
43670 Baltic
43671 \begin_inset space ~
43672 \end_inset
43673
43674 (ISO
43675 \begin_inset space ~
43676 \end_inset
43677
43678 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
43679  ISO-8859-13 encoding
43680 \end_layout
43681
43682 \begin_layout Description
43683 Central
43684 \begin_inset space ~
43685 \end_inset
43686
43687 European
43688 \begin_inset space ~
43689 \end_inset
43690
43691 (CP
43692 \begin_inset space ~
43693 \end_inset
43694
43695 1250) MS Windows code page for ISO
43696 \begin_inset space ~
43697 \end_inset
43698
43699 8859-2 (latin2)
43700 \end_layout
43701
43702 \begin_layout Description
43703 Central
43704 \begin_inset space ~
43705 \end_inset
43706
43707 European
43708 \begin_inset space ~
43709 \end_inset
43710
43711 (ISO
43712 \begin_inset space ~
43713 \end_inset
43714
43715 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
43716  Romanian, Slovak and Slovenian
43717 \end_layout
43718
43719 \begin_layout Description
43720 Chinese
43721 \begin_inset space ~
43722 \end_inset
43723
43724 (simplified)
43725 \begin_inset space ~
43726 \end_inset
43727
43728 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
43729  this encoding is officially replaced by the encoding GB18030, as GB18030
43730  is not available for \SpecialChar LaTeX
43731  you should try to use the encoding Unicode
43732 \begin_inset space ~
43733 \end_inset
43734
43735 (CJK)
43736 \begin_inset space ~
43737 \end_inset
43738
43739 (utf8)
43740 \end_layout
43741
43742 \begin_layout Description
43743 Chinese
43744 \begin_inset space ~
43745 \end_inset
43746
43747 (simplified)
43748 \begin_inset space ~
43749 \end_inset
43750
43751 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
43752  except for the Euro currency sign, since 2001 this encoding is officially
43753  replaced by the encoding GB18030, as GB18030 is not available for \SpecialChar LaTeX
43754  you
43755  should try to use the encoding Unicode
43756 \begin_inset space ~
43757 \end_inset
43758
43759 (CJK)
43760 \begin_inset space ~
43761 \end_inset
43762
43763 (utf8)
43764 \end_layout
43765
43766 \begin_layout Description
43767 Chinese
43768 \begin_inset space ~
43769 \end_inset
43770
43771 (traditional)
43772 \begin_inset space ~
43773 \end_inset
43774
43775 (EUC-TW) for traditional Chinese
43776 \end_layout
43777
43778 \begin_layout Description
43779 Cyrillic
43780 \begin_inset space ~
43781 \end_inset
43782
43783 (CP
43784 \begin_inset space ~
43785 \end_inset
43786
43787 1251) MS Windows code page for Cyrillic
43788 \end_layout
43789
43790 \begin_layout Description
43791 Cyrillic
43792 \begin_inset space ~
43793 \end_inset
43794
43795 (ISO
43796 \begin_inset space ~
43797 \end_inset
43798
43799 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
43800 \end_layout
43801
43802 \begin_layout Description
43803 Cyrillic
43804 \begin_inset space ~
43805 \end_inset
43806
43807 (KOI8-R) standard Cyrillic especially for Russian
43808 \end_layout
43809
43810 \begin_layout Description
43811 Cyrillic
43812 \begin_inset space ~
43813 \end_inset
43814
43815 (KOI8-U) Cyrillic for Ukrainian
43816 \end_layout
43817
43818 \begin_layout Description
43819 Cyrillic
43820 \begin_inset space ~
43821 \end_inset
43822
43823 (pt
43824 \begin_inset space ~
43825 \end_inset
43826
43827 154) Cyrillic for Kazakh
43828 \end_layout
43829
43830 \begin_layout Description
43831 Greek
43832 \begin_inset space ~
43833 \end_inset
43834
43835 (ISO
43836 \begin_inset space ~
43837 \end_inset
43838
43839 8859-7) for Greek
43840 \end_layout
43841
43842 \begin_layout Description
43843 Hebrew
43844 \begin_inset space ~
43845 \end_inset
43846
43847 (CP
43848 \begin_inset space ~
43849 \end_inset
43850
43851 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
43852 \end_layout
43853
43854 \begin_layout Description
43855 Hebrew
43856 \begin_inset space ~
43857 \end_inset
43858
43859 (ISO
43860 \begin_inset space ~
43861 \end_inset
43862
43863 8859-8) for Hebrew
43864 \end_layout
43865
43866 \begin_layout Description
43867 Japanese
43868 \begin_inset space ~
43869 \end_inset
43870
43871 (CJK)
43872 \begin_inset space ~
43873 \end_inset
43874
43875 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43876 -package 
43877 \series bold
43878 CJK
43879 \series default
43880
43881 \begin_inset Index idx
43882 status collapsed
43883
43884 \begin_layout Plain Layout
43885 \SpecialChar LaTeX
43886  packages ! CJK
43887 \end_layout
43888
43889 \end_inset
43890
43891 , when using this, set the document language to 
43892 \family sans
43893 Japanese (CJK)
43894 \end_layout
43895
43896 \begin_layout Description
43897 Japanese
43898 \begin_inset space ~
43899 \end_inset
43900
43901 (CJK)
43902 \begin_inset space ~
43903 \end_inset
43904
43905 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43906 -package 
43907 \series bold
43908 CJK
43909 \series default
43910 , when using this, set the document language to 
43911 \family sans
43912 Japanese
43913 \begin_inset space ~
43914 \end_inset
43915
43916 (CJK)
43917 \end_layout
43918
43919 \begin_layout Description
43920 Japanese
43921 \begin_inset space ~
43922 \end_inset
43923
43924 (non-CJK)
43925 \begin_inset space ~
43926 \end_inset
43927
43928 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43929 -package 
43930 \series bold
43931 japanese
43932 \series default
43933
43934 \begin_inset Index idx
43935 status collapsed
43936
43937 \begin_layout Plain Layout
43938 \SpecialChar LaTeX
43939  packages ! japanese
43940 \end_layout
43941
43942 \end_inset
43943
43944 , when using this, set the document language to 
43945 \family sans
43946 Japanese
43947 \end_layout
43948
43949 \begin_layout Description
43950 Japanese
43951 \begin_inset space ~
43952 \end_inset
43953
43954 (non-CJK)
43955 \begin_inset space ~
43956 \end_inset
43957
43958 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43959 -package 
43960 \series bold
43961 japanese
43962 \series default
43963 , when using this, set the document language to 
43964 \family sans
43965 Japanese
43966 \end_layout
43967
43968 \begin_layout Description
43969 Japanese
43970 \begin_inset space ~
43971 \end_inset
43972
43973 (non-CJK)
43974 \begin_inset space ~
43975 \end_inset
43976
43977 (SJIS) SJIS encoding for Japanese, uses the \SpecialChar LaTeX
43978 -package 
43979 \series bold
43980 japanese
43981 \series default
43982 , when using this, set the document language to 
43983 \family sans
43984 Japanese
43985 \end_layout
43986
43987 \begin_layout Description
43988 Korean
43989 \begin_inset space ~
43990 \end_inset
43991
43992 (EUC-KR) for Korean
43993 \end_layout
43994
43995 \begin_layout Description
43996 Southern
43997 \begin_inset space ~
43998 \end_inset
43999
44000 European
44001 \begin_inset space ~
44002 \end_inset
44003
44004 (ISO
44005 \begin_inset space ~
44006 \end_inset
44007
44008 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
44009 \end_layout
44010
44011 \begin_layout Description
44012 South-Eastern
44013 \begin_inset space ~
44014 \end_inset
44015
44016 European
44017 \begin_inset space ~
44018 \end_inset
44019
44020 (ISO
44021 \begin_inset space ~
44022 \end_inset
44023
44024 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
44025  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
44026  to cover many languages and characters with diacritics
44027 \end_layout
44028
44029 \begin_layout Description
44030 Thai
44031 \begin_inset space ~
44032 \end_inset
44033
44034 (TIS
44035 \begin_inset space ~
44036 \end_inset
44037
44038 620-0) for Thai
44039 \end_layout
44040
44041 \begin_layout Description
44042 Turkish
44043 \begin_inset space ~
44044 \end_inset
44045
44046 (ISO
44047 \begin_inset space ~
44048 \end_inset
44049
44050 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
44051  Icelandic letters are replaced by Turkish ones
44052 \end_layout
44053
44054 \begin_layout Description
44055 Unicode
44056 \begin_inset space ~
44057 \end_inset
44058
44059 (CJK)
44060 \begin_inset space ~
44061 \end_inset
44062
44063 (utf8) Unicode utf8 with the \SpecialChar LaTeX
44064 -package 
44065 \series bold
44066 CJK
44067 \series default
44068
44069 \begin_inset Index idx
44070 status collapsed
44071
44072 \begin_layout Plain Layout
44073 \SpecialChar LaTeX
44074  packages ! CJK
44075 \end_layout
44076
44077 \end_inset
44078
44079  (for the languages Chinese, Japanese and Korean)
44080 \end_layout
44081
44082 \begin_layout Description
44083 Unicode
44084 \begin_inset space ~
44085 \end_inset
44086
44087 (Xe
44088 \family sans
44089 TeX
44090 \family default
44091 )
44092 \begin_inset space ~
44093 \end_inset
44094
44095 (utf8) Unicode utf8 to be used with 
44096 \family sans
44097 Xe\SpecialChar TeX
44098
44099 \family default
44100  and 
44101 \family sans
44102 Lua\SpecialChar TeX
44103
44104 \family default
44105 , which use Unicode directly, without the help of the \SpecialChar LaTeX
44106 -package 
44107 \series bold
44108 inputenc
44109 \series default
44110 .
44111  \SpecialChar LyX
44112  automatically selects this encoding if you export or preview Xe\SpecialChar TeX
44113  or Lua\SpecialChar TeX
44114 .
44115  Normally you do not need to set this encoding manually.
44116 \end_layout
44117
44118 \begin_layout Description
44119 Unicode
44120 \begin_inset space ~
44121 \end_inset
44122
44123 (ucs-extended)
44124 \begin_inset space ~
44125 \end_inset
44126
44127 (utf8x) Unicode utf8 based on the \SpecialChar LaTeX
44128 -package 
44129 \series bold
44130 ucs
44131 \series default
44132
44133 \begin_inset Index idx
44134 status collapsed
44135
44136 \begin_layout Plain Layout
44137 \SpecialChar LaTeX
44138  packages ! ucs
44139 \end_layout
44140
44141 \end_inset
44142
44143  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
44144 \end_layout
44145
44146 \begin_layout Description
44147 Unicode
44148 \begin_inset space ~
44149 \end_inset
44150
44151 (utf8) Unicode utf8 based on the \SpecialChar LaTeX
44152 -package 
44153 \series bold
44154 inputenc
44155 \series default
44156
44157 \begin_inset Index idx
44158 status collapsed
44159
44160 \begin_layout Plain Layout
44161 \SpecialChar LaTeX
44162  packages ! inputenc
44163 \end_layout
44164
44165 \end_inset
44166
44167 .
44168  Currently only a limited range of characters (mainly for Latin scripts)
44169  is supported.
44170 \end_layout
44171
44172 \begin_layout Description
44173 Western
44174 \begin_inset space ~
44175 \end_inset
44176
44177 European
44178 \begin_inset space ~
44179 \end_inset
44180
44181 (CP
44182 \begin_inset space ~
44183 \end_inset
44184
44185 1252) MS Windows code page for ISO
44186 \begin_inset space ~
44187 \end_inset
44188
44189 8859-1 (latin1)
44190 \end_layout
44191
44192 \begin_layout Description
44193 Western
44194 \begin_inset space ~
44195 \end_inset
44196
44197 European
44198 \begin_inset space ~
44199 \end_inset
44200
44201 (ISO
44202 \begin_inset space ~
44203 \end_inset
44204
44205 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
44206  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
44207  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
44208  encoding instead
44209 \end_layout
44210
44211 \begin_layout Description
44212 Western
44213 \begin_inset space ~
44214 \end_inset
44215
44216 European
44217 \begin_inset space ~
44218 \end_inset
44219
44220 (ISO
44221 \begin_inset space ~
44222 \end_inset
44223
44224 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
44225  sign, the œ-ligature and some characters used for French and Finnish
44226 \end_layout
44227
44228 \begin_layout Section
44229 Colors
44230 \begin_inset Index idx
44231 status collapsed
44232
44233 \begin_layout Plain Layout
44234 Color ! main text
44235 \end_layout
44236
44237 \end_inset
44238
44239
44240 \begin_inset Index idx
44241 status collapsed
44242
44243 \begin_layout Plain Layout
44244 Color ! background
44245 \end_layout
44246
44247 \end_inset
44248
44249
44250 \begin_inset Index idx
44251 status collapsed
44252
44253 \begin_layout Plain Layout
44254 Color ! Shaded boxes
44255 \end_layout
44256
44257 \end_inset
44258
44259
44260 \begin_inset Index idx
44261 status collapsed
44262
44263 \begin_layout Plain Layout
44264 Color ! Greyed-out notes
44265 \end_layout
44266
44267 \end_inset
44268
44269
44270 \end_layout
44271
44272 \begin_layout Standard
44273 Here you can alter the font color for the 
44274 \family sans
44275 Main text
44276 \family default
44277  (default: black), for 
44278 \family sans
44279 Greyed
44280 \begin_inset space ~
44281 \end_inset
44282
44283 out notes
44284 \family default
44285  (default: light grey)for the background color for the 
44286 \family sans
44287 Page
44288 \family default
44289  (default: white) and for 
44290 \family sans
44291 Shaded
44292 \begin_inset space ~
44293 \end_inset
44294
44295 boxes
44296 \family default
44297  (default: red).
44298  The button 
44299 \family sans
44300 Reset
44301 \family default
44302  sets the color back to the default.
44303 \end_layout
44304
44305 \begin_layout Standard
44306 Clicking any button showing 
44307 \family sans
44308 Default
44309 \family default
44310  or 
44311 \family sans
44312 Change
44313 \family default
44314  opens a dialog enabling you to choose from a selection of colors or from
44315  a color-picker or to specify a color using HSL or RGB values.
44316  In the dialog you can add any color to the custom colors to select them
44317  later more quickly.
44318 \end_layout
44319
44320 \begin_layout Standard
44321 Note, if you change the 
44322 \family sans
44323 Main
44324 \begin_inset space ~
44325 \end_inset
44326
44327 text
44328 \family default
44329  font color and use the option 
44330 \family sans
44331 Color
44332 \begin_inset space ~
44333 \end_inset
44334
44335 links
44336 \family default
44337  in the document settings under 
44338 \family sans
44339 PDF
44340 \begin_inset space ~
44341 \end_inset
44342
44343 properties
44344 \family default
44345 , you probably also need to change the link font color as described in section
44346 \begin_inset space ~
44347 \end_inset
44348
44349
44350 \begin_inset CommandInset ref
44351 LatexCommand ref
44352 reference "sec:PDF-Properties"
44353
44354 \end_inset
44355
44356 .
44357 \end_layout
44358
44359 \begin_layout Standard
44360 \begin_inset VSpace bigskip
44361 \end_inset
44362
44363
44364 \end_layout
44365
44366 \begin_layout Standard
44367 You can adapt the 
44368 \family sans
44369 Main
44370 \begin_inset space ~
44371 \end_inset
44372
44373 text
44374 \family default
44375  font color and the 
44376 \family sans
44377 Page
44378 \family default
44379  background for every page in your document if you use these commands as
44380  \SpecialChar TeX
44381
44382 \begin_inset space ~
44383 \end_inset
44384
44385 Code after a forced page break:
44386 \end_layout
44387
44388 \begin_layout Itemize
44389 For the page color:
44390 \begin_inset Newline newline
44391 \end_inset
44392
44393
44394 \series bold
44395
44396 \backslash
44397 pagecolor{color name}
44398 \end_layout
44399
44400 \begin_layout Itemize
44401 For the text color:
44402 \begin_inset Newline newline
44403 \end_inset
44404
44405
44406 \series bold
44407
44408 \backslash
44409 color{color name}
44410 \end_layout
44411
44412 \begin_layout Standard
44413 You are restricted to one of 
44414 \series bold
44415 black
44416 \series default
44417
44418 \series bold
44419 blue
44420 \series default
44421
44422 \series bold
44423 cyan
44424 \series default
44425
44426 \series bold
44427 green
44428 \series default
44429
44430 \series bold
44431 magenta
44432 \series default
44433
44434 \series bold
44435 red
44436 \series default
44437
44438 \series bold
44439 white
44440 \series default
44441  or 
44442 \series bold
44443 yellow
44444 \series default
44445  for the 
44446 \series bold
44447 color name
44448 \series default
44449  unless you have defined your own color (see the section 
44450 \emph on
44451 Colored Tables
44452 \emph default
44453  of the 
44454 \emph on
44455 Embedded
44456 \begin_inset space ~
44457 \end_inset
44458
44459 Objects
44460 \emph default
44461  Manual).
44462 \begin_inset Newline newline
44463 \end_inset
44464
44465 If you have changed a text or background color, you can use the following
44466  names to refer to them:
44467 \end_layout
44468
44469 \begin_layout Itemize
44470 For the 
44471 \family sans
44472 Page
44473 \family default
44474  background color:
44475 \begin_inset Newline newline
44476 \end_inset
44477
44478
44479 \series bold
44480 page_backgroundcolor
44481 \end_layout
44482
44483 \begin_layout Itemize
44484 For the 
44485 \family sans
44486 Main
44487 \begin_inset space ~
44488 \end_inset
44489
44490 text
44491 \family default
44492  color:
44493 \begin_inset Newline newline
44494 \end_inset
44495
44496
44497 \series bold
44498 document_fontcolor
44499 \end_layout
44500
44501 \begin_layout Itemize
44502 For the 
44503 \family sans
44504 Shaded
44505 \begin_inset space ~
44506 \end_inset
44507
44508 boxes
44509 \family default
44510  background color:
44511 \begin_inset Newline newline
44512 \end_inset
44513
44514
44515 \series bold
44516 shadecolor
44517 \end_layout
44518
44519 \begin_layout Itemize
44520 For the 
44521 \family sans
44522 Greyed
44523 \begin_inset space ~
44524 \end_inset
44525
44526 out notes
44527 \family default
44528  text color:
44529 \begin_inset Newline newline
44530 \end_inset
44531
44532
44533 \series bold
44534 note_fontcolor
44535 \end_layout
44536
44537 \begin_layout Standard
44538 To see how to define and use custom colors, see section 
44539 \emph on
44540 Colored
44541 \begin_inset space ~
44542 \end_inset
44543
44544 Cells
44545 \emph default
44546  of the 
44547 \emph on
44548 Embedded
44549 \begin_inset space ~
44550 \end_inset
44551
44552 Objects
44553 \emph default
44554  manual.
44555 \end_layout
44556
44557 \begin_layout Section
44558 Numbering & TOC
44559 \end_layout
44560
44561 \begin_layout Standard
44562 Here you can adjust the 
44563 \family sans
44564 Numbering
44565 \family default
44566  depth of section headings and the section depth in the 
44567 \family sans
44568 Table of Contents
44569 \family default
44570  as described in section
44571 \begin_inset space ~
44572 \end_inset
44573
44574
44575 \begin_inset CommandInset ref
44576 LatexCommand ref
44577 reference "subsec:Numbering-depth"
44578
44579 \end_inset
44580
44581 .
44582 \end_layout
44583
44584 \begin_layout Section
44585 Bibliography
44586 \end_layout
44587
44588 \begin_layout Standard
44589 Here you can specify if a specific citation style using the \SpecialChar LaTeX
44590  packages 
44591 \series bold
44592 biblatex
44593 \series default
44594
44595 \begin_inset Index idx
44596 status collapsed
44597
44598 \begin_layout Plain Layout
44599 \SpecialChar LaTeX
44600  packages ! biblatex
44601 \end_layout
44602
44603 \end_inset
44604
44605
44606 \series bold
44607 natbib
44608 \series default
44609
44610 \begin_inset Index idx
44611 status collapsed
44612
44613 \begin_layout Plain Layout
44614 \SpecialChar LaTeX
44615  packages ! natbib
44616 \end_layout
44617
44618 \end_inset
44619
44620  or 
44621 \series bold
44622 jurabib
44623 \series default
44624
44625 \begin_inset Index idx
44626 status collapsed
44627
44628 \begin_layout Plain Layout
44629 \SpecialChar LaTeX
44630  packages ! jurabib
44631 \end_layout
44632
44633 \end_inset
44634
44635  should be used.
44636  If you use Bib\SpecialChar TeX
44637 , you can enable a 
44638 \family sans
44639 Sectioned bibliography
44640 \family default
44641  using the \SpecialChar LaTeX
44642  package 
44643 \series bold
44644 bibtopic
44645 \series default
44646
44647 \begin_inset Index idx
44648 status collapsed
44649
44650 \begin_layout Plain Layout
44651 \SpecialChar LaTeX
44652  packages ! bibtopic
44653 \end_layout
44654
44655 \end_inset
44656
44657 .
44658  If you use 
44659 \noun on
44660 Biblatex
44661 \noun default
44662 , you can select the style files and specify further options.
44663  Finally, you can select a document-specific 
44664 \family sans
44665 Processor
44666 \family default
44667  for the generation of the bibliography.
44668  For a further description of these possibilities see section
44669 \begin_inset space ~
44670 \end_inset
44671
44672
44673 \begin_inset CommandInset ref
44674 LatexCommand ref
44675 reference "sec:Bibliography"
44676
44677 \end_inset
44678
44679 .
44680 \end_layout
44681
44682 \begin_layout Section
44683 Indexes
44684 \end_layout
44685
44686 \begin_layout Standard
44687 Here you can define the 
44688 \family sans
44689 Processor
44690 \family default
44691  that will generate your index and you can define additional indexes (see
44692  section
44693 \begin_inset space ~
44694 \end_inset
44695
44696
44697 \begin_inset CommandInset ref
44698 LatexCommand ref
44699 reference "sec:Index"
44700
44701 \end_inset
44702
44703  for details).
44704 \end_layout
44705
44706 \begin_layout Section
44707 PDF Properties
44708 \end_layout
44709
44710 \begin_layout Standard
44711 The PDF properties are explained in section
44712 \begin_inset space ~
44713 \end_inset
44714
44715
44716 \begin_inset CommandInset ref
44717 LatexCommand ref
44718 reference "sec:PDF-Properties"
44719
44720 \end_inset
44721
44722 .
44723 \end_layout
44724
44725 \begin_layout Section
44726 Math Options
44727 \end_layout
44728
44729 \begin_layout Standard
44730 These options will force \SpecialChar LyX
44731  to use the \SpecialChar LaTeX
44732  packages 
44733 \series bold
44734 amsmath
44735 \series default
44736
44737 \begin_inset Index idx
44738 status collapsed
44739
44740 \begin_layout Plain Layout
44741 \SpecialChar LaTeX
44742  packages ! amsmath
44743 \end_layout
44744
44745 \end_inset
44746
44747
44748 \series bold
44749 amssymb
44750 \series default
44751
44752 \begin_inset Index idx
44753 status collapsed
44754
44755 \begin_layout Plain Layout
44756 \SpecialChar LaTeX
44757  packages ! amssymb
44758 \end_layout
44759
44760 \end_inset
44761
44762 ,
44763 \series bold
44764  cancel
44765 \series default
44766
44767 \begin_inset Index idx
44768 status collapsed
44769
44770 \begin_layout Plain Layout
44771 \SpecialChar LaTeX
44772  packages ! cancel
44773 \end_layout
44774
44775 \end_inset
44776
44777 ,
44778 \series bold
44779  esint
44780 \series default
44781
44782 \begin_inset Index idx
44783 status collapsed
44784
44785 \begin_layout Plain Layout
44786 \SpecialChar LaTeX
44787  packages ! esint
44788 \end_layout
44789
44790 \end_inset
44791
44792
44793 \series bold
44794 mathdots
44795 \series default
44796
44797 \begin_inset Index idx
44798 status collapsed
44799
44800 \begin_layout Plain Layout
44801 \SpecialChar LaTeX
44802  packages ! mathdots
44803 \end_layout
44804
44805 \end_inset
44806
44807
44808 \series bold
44809 mathtools
44810 \series default
44811
44812 \begin_inset Index idx
44813 status collapsed
44814
44815 \begin_layout Plain Layout
44816 \SpecialChar LaTeX
44817  packages ! mathtools
44818 \end_layout
44819
44820 \end_inset
44821
44822
44823 \series bold
44824 mhchem
44825 \series default
44826
44827 \begin_inset Index idx
44828 status collapsed
44829
44830 \begin_layout Plain Layout
44831 \SpecialChar LaTeX
44832  packages ! mhchem
44833 \end_layout
44834
44835 \end_inset
44836
44837
44838 \series bold
44839 stackrel
44840 \series default
44841
44842 \begin_inset Index idx
44843 status collapsed
44844
44845 \begin_layout Plain Layout
44846 \SpecialChar LaTeX
44847  packages ! stackrel
44848 \end_layout
44849
44850 \end_inset
44851
44852
44853 \series bold
44854 stmaryrd
44855 \series default
44856
44857 \begin_inset Index idx
44858 status collapsed
44859
44860 \begin_layout Plain Layout
44861 \SpecialChar LaTeX
44862  packages ! stmaryrd
44863 \end_layout
44864
44865 \end_inset
44866
44867  and 
44868 \series bold
44869 undertilde
44870 \series default
44871
44872 \begin_inset Index idx
44873 status collapsed
44874
44875 \begin_layout Plain Layout
44876 \SpecialChar LaTeX
44877  packages ! undertilde
44878 \end_layout
44879
44880 \end_inset
44881
44882 , or to use them automatically when they are needed.
44883 \end_layout
44884
44885 \begin_layout Description
44886 amsmath is needed for many constructs, so when you get \SpecialChar LaTeX
44887 -errors in formulas,
44888  ensure that you have this enabled.
44889 \end_layout
44890
44891 \begin_layout Description
44892 amssymb is needed for some special math symbols like bold or upright Greek
44893  letters, so when you get \SpecialChar LaTeX
44894 -errors in formulas, ensure that you have this
44895  enabled.
44896 \end_layout
44897
44898 \begin_layout Description
44899 cancel is used for canceled formulas, see section 
44900 \emph on
44901 Canceled
44902 \begin_inset space ~
44903 \end_inset
44904
44905 Formulas
44906 \emph default
44907  of the 
44908 \emph on
44909 Math
44910 \emph default
44911  manual.
44912 \end_layout
44913
44914 \begin_layout Description
44915 esint is used for special integral characters, see section 
44916 \emph on
44917 Big
44918 \begin_inset space ~
44919 \end_inset
44920
44921 Operators
44922 \emph default
44923  of the 
44924 \emph on
44925 Math
44926 \emph default
44927  manual.
44928 \end_layout
44929
44930 \begin_layout Description
44931 mathdots is used for special ellipses, see section 
44932 \emph on
44933 Ellipses
44934 \emph default
44935  of the 
44936 \emph on
44937 Math
44938 \emph default
44939  manual.
44940 \end_layout
44941
44942 \begin_layout Description
44943 mathtools is used for the math commands 
44944 \series bold
44945
44946 \backslash
44947 overbracket
44948 \series default
44949
44950 \series bold
44951
44952 \backslash
44953 underbracket
44954 \series default
44955
44956 \series bold
44957
44958 \backslash
44959 smashoperator
44960 \series default
44961
44962 \series bold
44963
44964 \backslash
44965 adjustlimits
44966 \series default
44967
44968 \series bold
44969
44970 \backslash
44971 splitfrac
44972 \series default
44973
44974 \series bold
44975
44976 \backslash
44977 shortintertext
44978 \series default
44979  and labeled arrows, see the corresponding sections in the 
44980 \emph on
44981 Math
44982 \emph default
44983  manual.
44984 \end_layout
44985
44986 \begin_layout Description
44987 mhchem is used for chemical equations, see section 
44988 \emph on
44989 Chemical Symbols and Equations
44990 \emph default
44991  of the 
44992 \emph on
44993 Math
44994 \emph default
44995  manual.
44996 \end_layout
44997
44998 \begin_layout Description
44999 stackrel is used for the math command 
45000 \series bold
45001
45002 \backslash
45003 stackrel
45004 \series default
45005 , see section 
45006 \emph on
45007 Relations 
45008 \emph default
45009 of the 
45010 \emph on
45011 Math
45012 \emph default
45013  manual.
45014 \end_layout
45015
45016 \begin_layout Description
45017 stmaryrd is used for a few special math symbols.
45018 \end_layout
45019
45020 \begin_layout Description
45021 undertilde is used for the math command 
45022 \series bold
45023
45024 \backslash
45025 utilde
45026 \series default
45027 , see section 
45028 \emph on
45029 Accents for one Character 
45030 \emph default
45031 of the 
45032 \emph on
45033 Math
45034 \emph default
45035  manual.
45036 \end_layout
45037
45038 \begin_layout Section
45039 Float Placement
45040 \end_layout
45041
45042 \begin_layout Standard
45043 The float placement options are described in the section 
45044 \emph on
45045 Float
45046 \begin_inset space ~
45047 \end_inset
45048
45049 Placement
45050 \emph default
45051  of the 
45052 \emph on
45053 Embedded
45054 \begin_inset space ~
45055 \end_inset
45056
45057 Objects
45058 \emph default
45059  manual.
45060 \end_layout
45061
45062 \begin_layout Section
45063 Listings
45064 \end_layout
45065
45066 \begin_layout Standard
45067 The listings settings are explained in the chapter 
45068 \emph on
45069 Program Code Listings
45070 \emph default
45071  of the 
45072 \emph on
45073 Embedded
45074 \begin_inset space ~
45075 \end_inset
45076
45077 Objects
45078 \emph default
45079  manual.
45080 \end_layout
45081
45082 \begin_layout Section
45083 Bullets
45084 \end_layout
45085
45086 \begin_layout Standard
45087 Here you can adjust the characters used for the itemize 
45088 \family sans
45089 Level
45090 \family default
45091 s, specify the 
45092 \family sans
45093 Font
45094 \family default
45095  set to be used and set the 
45096 \family sans
45097 Size
45098 \family default
45099  of the bullets.
45100  The itemize environment is described in section
45101 \begin_inset space ~
45102 \end_inset
45103
45104
45105 \begin_inset CommandInset ref
45106 LatexCommand ref
45107 reference "sec:Itemize"
45108
45109 \end_inset
45110
45111 .
45112 \end_layout
45113
45114 \begin_layout Standard
45115 You can furthermore specify a 
45116 \family sans
45117 Custom
45118 \begin_inset space ~
45119 \end_inset
45120
45121 Bullet
45122 \family default
45123  by inserting in this field the \SpecialChar LaTeX
45124  command of the desired character.
45125  For example to use the € sign, you have to insert the command 
45126 \series bold
45127
45128 \backslash
45129 texteuro
45130 \series default
45131 .
45132  For math symbols you additionally need to enclose the command with $ signs.
45133  To use e.
45134 \begin_inset space \thinspace{}
45135 \end_inset
45136
45137 g.
45138 \begin_inset space \space{}
45139 \end_inset
45140
45141 the symbol 
45142 \begin_inset Formula $\circlearrowright$
45143 \end_inset
45144
45145  you need to enter 
45146 \series bold
45147 $
45148 \backslash
45149 circlearrowright$
45150 \series default
45151 .
45152  To find the command for a math symbol, create a formula and hover the mouse
45153  over the desired symbol in the math toolbar.
45154 \end_layout
45155
45156 \begin_layout Standard
45157 \begin_inset Note Greyedout
45158 status open
45159
45160 \begin_layout Plain Layout
45161
45162 \series bold
45163 Note:
45164 \series default
45165  Some characters require to load special \SpecialChar LaTeX
45166 -packages in the preamble (menu
45167  
45168 \family sans
45169 Document\SpecialChar menuseparator
45170 Settings\SpecialChar menuseparator
45171 \SpecialChar LaTeX
45172
45173 \begin_inset space ~
45174 \end_inset
45175
45176 Preamble
45177 \family default
45178 ).
45179  For example for the € sign one needs to add the line 
45180 \series bold
45181
45182 \backslash
45183 usepackage{textcomp}
45184 \series default
45185  to the preamble.
45186  For most math symbols it is sufficient to add the line 
45187 \series bold
45188
45189 \backslash
45190 usepackage{amssymb}
45191 \series default
45192 .
45193 \end_layout
45194
45195 \end_inset
45196
45197
45198 \end_layout
45199
45200 \begin_layout Section
45201 Branches
45202 \end_layout
45203
45204 \begin_layout Standard
45205 Branches are described in section
45206 \begin_inset space ~
45207 \end_inset
45208
45209
45210 \begin_inset CommandInset ref
45211 LatexCommand ref
45212 reference "sec:Branches"
45213
45214 \end_inset
45215
45216 .
45217 \end_layout
45218
45219 \begin_layout Section
45220 Formats
45221 \begin_inset CommandInset label
45222 LatexCommand label
45223 name "sec:Doc-Formats"
45224
45225 \end_inset
45226
45227
45228 \end_layout
45229
45230 \begin_layout Standard
45231 Here you can define some output specifics for the current document:
45232 \end_layout
45233
45234 \begin_layout Description
45235 Default
45236 \begin_inset space ~
45237 \end_inset
45238
45239 Output
45240 \begin_inset space ~
45241 \end_inset
45242
45243 Format: The format that is used when you enter 
45244 \begin_inset Quotes eld
45245 \end_inset
45246
45247 View
45248 \begin_inset Quotes erd
45249 \end_inset
45250
45251
45252 \begin_inset Quotes eld
45253 \end_inset
45254
45255 Update
45256 \begin_inset Quotes erd
45257 \end_inset
45258
45259
45260 \begin_inset Quotes eld
45261 \end_inset
45262
45263 View Master Document
45264 \begin_inset Quotes erd
45265 \end_inset
45266
45267  and 
45268 \begin_inset Quotes eld
45269 \end_inset
45270
45271 Update Master Document
45272 \begin_inset Quotes erd
45273 \end_inset
45274
45275  in the 
45276 \family sans
45277 Document
45278 \family default
45279  menu or the toolbar.
45280  The default is set in 
45281 \family sans
45282 Tools\SpecialChar menuseparator
45283 Preferences\SpecialChar menuseparator
45284 File
45285 \begin_inset space ~
45286 \end_inset
45287
45288 Handling\SpecialChar menuseparator
45289 File Formats
45290 \family default
45291 , see section
45292 \begin_inset space ~
45293 \end_inset
45294
45295
45296 \begin_inset CommandInset ref
45297 LatexCommand ref
45298 reference "sec:File-Formats"
45299
45300 \end_inset
45301
45302 .
45303 \end_layout
45304
45305 \begin_layout Description
45306 Synchronize
45307 \begin_inset space ~
45308 \end_inset
45309
45310 with
45311 \begin_inset space ~
45312 \end_inset
45313
45314 Output settings for the menu 
45315 \family sans
45316 Navigate\SpecialChar menuseparator
45317 Forward
45318 \begin_inset space ~
45319 \end_inset
45320
45321 search
45322 \family default
45323 .
45324  For a detailed description see section 
45325 \emph on
45326 Reverse DVI/PDF search
45327 \emph default
45328  of the 
45329 \emph on
45330 Additional
45331 \begin_inset space ~
45332 \end_inset
45333
45334 Features
45335 \emph default
45336  manual.
45337 \end_layout
45338
45339 \begin_layout Description
45340 XHTML
45341 \begin_inset space ~
45342 \end_inset
45343
45344 Output
45345 \begin_inset space ~
45346 \end_inset
45347
45348 Options offers settings for the export format 
45349 \family sans
45350 LyXHTML
45351 \family default
45352 .
45353  
45354 \family sans
45355 Strict XHTML
45356 \begin_inset space ~
45357 \end_inset
45358
45359 1.1
45360 \family default
45361  will assure that the output follows exactly version
45362 \begin_inset space ~
45363 \end_inset
45364
45365 1.1 of the XHTML standard.
45366  The different 
45367 \family sans
45368 Math
45369 \begin_inset space ~
45370 \end_inset
45371
45372 output
45373 \family default
45374  settings are described in detail in section 
45375 \emph on
45376 Math Output in XHTML
45377 \emph default
45378  of the 
45379 \emph on
45380 Additional
45381 \begin_inset space ~
45382 \end_inset
45383
45384 Features
45385 \emph default
45386  manual.
45387  
45388 \family sans
45389 Math
45390 \begin_inset space ~
45391 \end_inset
45392
45393 image
45394 \begin_inset space ~
45395 \end_inset
45396
45397 scaling
45398 \family default
45399  is used for the size of equations in the output.
45400 \end_layout
45401
45402 \begin_layout Description
45403 LyX
45404 \begin_inset space ~
45405 \end_inset
45406
45407 Format The option 
45408 \family sans
45409 Save transient properties
45410 \family default
45411  controls whether document settings that are frequently switched or that
45412  are specific to the user are saved with the document.
45413  The properties that are affected by option are currently:
45414 \end_layout
45415
45416 \begin_deeper
45417 \begin_layout Itemize
45418 the activation of change tracking
45419 \end_layout
45420
45421 \begin_layout Itemize
45422 the output of tracked changes
45423 \end_layout
45424
45425 \begin_layout Itemize
45426 the recording of the document directory path.
45427 \end_layout
45428
45429 \begin_layout Standard
45430 Disabling the option can prevent issues in collaborative work and/or when
45431  using a version control system (for instance unnecessary merge conflicts).
45432 \end_layout
45433
45434 \end_deeper
45435 \begin_layout Section
45436 La
45437 \family sans
45438 TeX
45439 \family default
45440  Preamble
45441 \end_layout
45442
45443 \begin_layout Standard
45444 In this text field you can enter commands to load special \SpecialChar LaTeX
45445 -packages or to
45446  define \SpecialChar LaTeX
45447 -commands.
45448  The preamble is a thing for \SpecialChar LaTeX
45449 -experts.
45450  You should not enter commands here until you know exactly what you are
45451  doing.
45452 \end_layout
45453
45454 \begin_layout Standard
45455 An introduction to the \SpecialChar LaTeX
45456 -syntax is given in section
45457 \begin_inset space ~
45458 \end_inset
45459
45460
45461 \begin_inset CommandInset ref
45462 LatexCommand ref
45463 reference "subsec:LaTeX-Syntax"
45464
45465 \end_inset
45466
45467 .
45468 \end_layout
45469
45470 \begin_layout Chapter
45471 The 
45472 \family sans
45473 Preferences
45474 \family default
45475  Dialog
45476 \begin_inset CommandInset label
45477 LatexCommand label
45478 name "chap:The-Preferences-dialog"
45479
45480 \end_inset
45481
45482
45483 \begin_inset Index idx
45484 status collapsed
45485
45486 \begin_layout Plain Layout
45487 Preferences
45488 \end_layout
45489
45490 \end_inset
45491
45492
45493 \end_layout
45494
45495 \begin_layout Standard
45496 The preferences dialog is called with the menu 
45497 \family sans
45498 Tools\SpecialChar menuseparator
45499 Preferences
45500 \family default
45501 .
45502  It has the following submenus.
45503 \end_layout
45504
45505 \begin_layout Section
45506 Look and Feel
45507 \end_layout
45508
45509 \begin_layout Subsection
45510 User Interface
45511 \end_layout
45512
45513 \begin_layout Subsubsection
45514 User Interface File
45515 \begin_inset Index idx
45516 status collapsed
45517
45518 \begin_layout Plain Layout
45519 Customization ! of toolbars
45520 \end_layout
45521
45522 \end_inset
45523
45524
45525 \begin_inset Index idx
45526 status collapsed
45527
45528 \begin_layout Plain Layout
45529 Customization ! of menus
45530 \end_layout
45531
45532 \end_inset
45533
45534
45535 \end_layout
45536
45537 \begin_layout Standard
45538 The appearance of the menus and toolbars can be changed by choosing a user
45539  interface (ui) file.
45540  A ui-file is a text file where the toolbars and menus are listed.
45541  The file 
45542 \emph on
45543 default.ui
45544 \emph default
45545  loads three files:
45546 \end_layout
45547
45548 \begin_layout Description
45549 stdmenus.inc
45550 \shape italic
45551  
45552 \emph on
45553 specifies the menu entries for the standard menus
45554 \end_layout
45555
45556 \begin_layout Description
45557 stdcontext.inc 
45558 \shape italic
45559 \emph on
45560 specifies
45561 \shape default
45562 \emph default
45563  the menu entries in popup context menus
45564 \end_layout
45565
45566 \begin_layout Description
45567 stdtoolbars.inc
45568 \shape italic
45569  
45570 \emph on
45571 specifies the toolbar buttons
45572 \end_layout
45573
45574 \begin_layout Standard
45575 To create your own menu and toolbar layout, start with a copy of these files
45576  and edit the entries.
45577 \end_layout
45578
45579 \begin_layout Standard
45580 The syntax of the .inc-files is straightforward: the 
45581 \family sans
45582 Menubar
45583 \family default
45584
45585 \family sans
45586 Menu
45587 \family default
45588  and 
45589 \family sans
45590 Toolbar
45591 \family default
45592  entries must be finished with an explicit 
45593 \family sans
45594 End
45595 \family default
45596 .
45597  They may contain 
45598 \family sans
45599 Submenu
45600 \family default
45601
45602 \family sans
45603 Item
45604 \family default
45605
45606 \family sans
45607 OptItem
45608 \family default
45609
45610 \family sans
45611 Separator
45612 \family default
45613
45614 \family sans
45615 Icon,
45616 \family default
45617  and in the case of the 
45618 \begin_inset Quotes eld
45619 \end_inset
45620
45621 file_lastfiles
45622 \begin_inset Quotes erd
45623 \end_inset
45624
45625  menu a 
45626 \family sans
45627 Lastfiles
45628 \family default
45629  entry.
45630  The syntax for the entries is:
45631 \end_layout
45632
45633 \begin_layout Standard
45634 \begin_inset VSpace smallskip*
45635 \end_inset
45636
45637
45638 \series bold
45639 Item 
45640 \begin_inset Quotes eld
45641 \end_inset
45642
45643 menu 
45644 \series default
45645 or
45646 \series bold
45647  button name
45648 \begin_inset Quotes erd
45649 \end_inset
45650
45651  
45652 \begin_inset Quotes eld
45653 \end_inset
45654
45655 \SpecialChar LyX
45656  function
45657 \begin_inset Quotes erd
45658 \end_inset
45659
45660
45661 \end_layout
45662
45663 \begin_layout Standard
45664 \noindent
45665 \begin_inset VSpace smallskip*
45666 \end_inset
45667
45668 All the \SpecialChar LyX
45669 -functions are listed in the menu 
45670 \family sans
45671 Help\SpecialChar menuseparator
45672 LyX
45673 \begin_inset space ~
45674 \end_inset
45675
45676 Functions
45677 \family default
45678 .
45679 \end_layout
45680
45681 \begin_layout Standard
45682 \begin_inset VSpace medskip
45683 \end_inset
45684
45685
45686 \end_layout
45687
45688 \begin_layout Standard
45689 For example, assuming you use the menu 
45690 \family sans
45691 Navigate\SpecialChar menuseparator
45692 Bookmarks
45693 \family default
45694  quite often and therefore want six available bookmarks, you can add the
45695  line
45696 \end_layout
45697
45698 \begin_layout Standard
45699 \begin_inset VSpace smallskip*
45700 \end_inset
45701
45702
45703 \series bold
45704 Item 
45705 \begin_inset Quotes eld
45706 \end_inset
45707
45708 Save Bookmark 6
45709 \begin_inset Quotes erd
45710 \end_inset
45711
45712  
45713 \begin_inset Quotes eld
45714 \end_inset
45715
45716 bookmark-save 6
45717 \begin_inset Quotes erd
45718 \end_inset
45719
45720
45721 \end_layout
45722
45723 \begin_layout Standard
45724 \noindent
45725 \begin_inset VSpace smallskip*
45726 \end_inset
45727
45728 to the 
45729 \begin_inset Quotes eld
45730 \end_inset
45731
45732 navigate_bookmarks
45733 \begin_inset Quotes erd
45734 \end_inset
45735
45736  menu in 
45737 \emph on
45738 stdmenus.inc
45739 \emph default
45740  to have the sixth bookmark.
45741 \end_layout
45742
45743 \begin_layout Standard
45744
45745 \family sans
45746 Icon
45747 \begin_inset space ~
45748 \end_inset
45749
45750 Set
45751 \family default
45752  allows you to change the appearance of \SpecialChar LyX
45753 's toolbar buttons.
45754  The currently available icon sets are compared in 
45755 \begin_inset CommandInset href
45756 LatexCommand href
45757 name "this image"
45758 target "https://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
45759 literal "false"
45760
45761 \end_inset
45762
45763 .
45764 \end_layout
45765
45766 \begin_layout Subsubsection
45767 Context help
45768 \end_layout
45769
45770 \begin_layout Standard
45771 The option 
45772 \family sans
45773 Enable tool tips in main work area
45774 \family default
45775  enables tool tips showing the content of closed insets like index entries
45776  or footnotes.
45777 \end_layout
45778
45779 \begin_layout Subsubsection
45780 Menus
45781 \end_layout
45782
45783 \begin_layout Standard
45784
45785 \family sans
45786 Maximum last files
45787 \family default
45788  is the number of last opened files that \SpecialChar LyX
45789  should display in the menu 
45790 \family sans
45791 File\SpecialChar menuseparator
45792 Open
45793 \begin_inset space ~
45794 \end_inset
45795
45796 Recent
45797 \family default
45798 .
45799 \end_layout
45800
45801 \begin_layout Subsection
45802 Document Handling
45803 \end_layout
45804
45805 \begin_layout Subsubsection
45806 Session handling
45807 \end_layout
45808
45809 \begin_layout Standard
45810 With the option 
45811 \family sans
45812 Restore window layouts and geometries
45813 \family default
45814  \SpecialChar LyX
45815 's main window will be opened with the size and layout that was used in
45816  the last \SpecialChar LyX
45817  session.
45818 \end_layout
45819
45820 \begin_layout Standard
45821 The option 
45822 \family sans
45823 Restore cursor positions
45824 \family default
45825  sets the cursor to the position in the file where it was at the end of
45826  the last session.
45827 \end_layout
45828
45829 \begin_layout Standard
45830 The option 
45831 \family sans
45832 Load opened files from last session
45833 \family default
45834  opens all files that were opened in the last \SpecialChar LyX
45835  session.
45836 \end_layout
45837
45838 \begin_layout Standard
45839 The button 
45840 \family sans
45841 Clear all session information
45842 \family default
45843  deletes all information from previous \SpecialChar LyX
45844  sessions (cursor positions, names
45845  of last opened documents, etc.).
45846 \end_layout
45847
45848 \begin_layout Subsubsection
45849 Backup & saving
45850 \begin_inset CommandInset label
45851 LatexCommand label
45852 name "subsec:Backup documents"
45853
45854 \end_inset
45855
45856
45857 \begin_inset Index idx
45858 status collapsed
45859
45860 \begin_layout Plain Layout
45861 Backup ! Documents
45862 \end_layout
45863
45864 \end_inset
45865
45866
45867 \end_layout
45868
45869 \begin_layout Standard
45870
45871 \family sans
45872 Backup original documents when saving
45873 \family default
45874  creates a backup copy of the file in the state when it was opened or when
45875  it was saved the last time.
45876  It is stored in the 
45877 \family sans
45878 Backup
45879 \begin_inset space ~
45880 \end_inset
45881
45882 directory
45883 \family default
45884  (see section
45885 \begin_inset space ~
45886 \end_inset
45887
45888
45889 \begin_inset CommandInset ref
45890 LatexCommand ref
45891 reference "sec:Paths"
45892
45893 \end_inset
45894
45895 ) or in the same folder as your document if no 
45896 \family sans
45897 Backup
45898 \begin_inset space ~
45899 \end_inset
45900
45901 directory
45902 \family default
45903  is specified.
45904  The backup file has the file extension 
45905 \begin_inset Quotes eld
45906 \end_inset
45907
45908
45909 \family sans
45910 .lyx~
45911 \family default
45912
45913 \begin_inset Quotes erd
45914 \end_inset
45915
45916 .
45917 \end_layout
45918
45919 \begin_layout Standard
45920 With the option 
45921 \family sans
45922 Backup documents, every
45923 \family default
45924 , you can specify the time between backup saves.
45925 \end_layout
45926
45927 \begin_layout Standard
45928
45929 \family sans
45930 Save documents compressed by default
45931 \family default
45932  always saves files in a compressed format (see also section
45933 \begin_inset space ~
45934 \end_inset
45935
45936
45937 \begin_inset CommandInset ref
45938 LatexCommand ref
45939 reference "subsec:Compressed"
45940
45941 \end_inset
45942
45943 ).
45944  This applies to newly created documents only.
45945  The compression status of existing documents is not changed when saving.
45946 \end_layout
45947
45948 \begin_layout Subsubsection
45949 Windows & work area
45950 \end_layout
45951
45952 \begin_layout Standard
45953 If the option 
45954 \family sans
45955 Open documents in tabs
45956 \family default
45957  is not checked, every file will be opened in its own new instance of \SpecialChar LyX
45958 .
45959 \end_layout
45960
45961 \begin_layout Standard
45962 The option 
45963 \family sans
45964 Single instance
45965 \family default
45966  is only active if a \SpecialChar LyX
45967 Server pipe
45968 \begin_inset Foot
45969 status collapsed
45970
45971 \begin_layout Plain Layout
45972 See section
45973 \begin_inset space ~
45974 \end_inset
45975
45976
45977 \begin_inset CommandInset ref
45978 LatexCommand ref
45979 reference "sec:Paths"
45980
45981 \end_inset
45982
45983  for information about \SpecialChar LyX
45984 Server pipes.
45985 \end_layout
45986
45987 \end_inset
45988
45989  is specified.
45990  If it is checked, \SpecialChar LyX
45991  documents will be opened in the same running instance
45992  of \SpecialChar LyX
45993 .
45994  Otherwise a new \SpecialChar LyX
45995  instance is created for each file.
45996 \end_layout
45997
45998 \begin_layout Standard
45999 If the option 
46000 \family sans
46001 Single close-tab button
46002 \family default
46003  is checked, there will only be one close button (
46004 \family sans
46005
46006 \begin_inset Info
46007 type  "icon"
46008 arg   "closetab"
46009 \end_inset
46010
46011
46012 \family default
46013 ) at the right side of the tab bar to close tabs.
46014  Otherwise every document tab has its own close button.
46015  Regardless of this option, one can always close a tab by middle-clicking
46016  it in the tab bar.
46017 \end_layout
46018
46019 \begin_layout Standard
46020 \begin_inset Note Greyedout
46021 status open
46022
46023 \begin_layout Plain Layout
46024
46025 \series bold
46026 Note:
46027 \series default
46028  For this option you have to restart \SpecialChar LyX
46029  before the change takes effect.
46030 \end_layout
46031
46032 \end_inset
46033
46034
46035 \end_layout
46036
46037 \begin_layout Standard
46038 With the setting 
46039 \family sans
46040 Closing last view
46041 \family default
46042  you one can decide if a document is closed or hidden when its tab or view
46043  is closed.
46044  Hidden documents are accessible via the menu 
46045 \family sans
46046 View\SpecialChar menuseparator
46047 Hidden
46048 \family default
46049 .
46050  Not to close documents can be useful if you open files parallel in several
46051  instances of \SpecialChar LyX
46052  and only want to close the view in once instance.
46053 \end_layout
46054
46055 \begin_layout Subsection
46056 Screen Fonts
46057 \begin_inset Index idx
46058 status collapsed
46059
46060 \begin_layout Plain Layout
46061 Font ! Screen
46062 \end_layout
46063
46064 \end_inset
46065
46066
46067 \begin_inset CommandInset label
46068 LatexCommand label
46069 name "subsec:Screen-Fonts"
46070
46071 \end_inset
46072
46073
46074 \end_layout
46075
46076 \begin_layout Standard
46077 These fonts are used to display your documents within \SpecialChar LyX
46078 .
46079 \end_layout
46080
46081 \begin_layout Standard
46082 \begin_inset Note Greyedout
46083 status open
46084
46085 \begin_layout Plain Layout
46086
46087 \series bold
46088 Note:
46089 \series default
46090  This section only deals with the fonts 
46091 \emph on
46092 inside
46093 \emph default
46094  the \SpecialChar LyX
46095  window.
46096  The fonts that appear in the output are independent of these fonts, and
46097  set in the menu 
46098 \family sans
46099 Document\SpecialChar menuseparator
46100 Settings\SpecialChar menuseparator
46101 Fonts
46102 \family default
46103 .
46104 \end_layout
46105
46106 \end_inset
46107
46108
46109 \end_layout
46110
46111 \begin_layout Standard
46112 By default, \SpecialChar LyX
46113  uses 
46114 \family typewriter
46115 Times
46116 \family default
46117  as its 
46118 \family sans
46119 Roman
46120 \family default
46121  (serif) font, 
46122 \family typewriter
46123 Arial
46124 \family default
46125  or 
46126 \family typewriter
46127 Helvetica
46128 \family default
46129  (depends on the system) as its 
46130 \family sans
46131 Sans
46132 \begin_inset space ~
46133 \end_inset
46134
46135 Serif
46136 \family default
46137  font and 
46138 \family typewriter
46139 Courier
46140 \family default
46141  as its 
46142 \family typewriter
46143 Typewriter
46144 \family default
46145  font.
46146 \end_layout
46147
46148 \begin_layout Standard
46149 You can change the font size with the 
46150 \family sans
46151 Zoom
46152 \family default
46153  setting.
46154 \end_layout
46155
46156 \begin_layout Standard
46157 The 
46158 \family sans
46159 Font Sizes
46160 \family default
46161  are calculated as letter height in units of points.
46162  72.27
46163 \begin_inset space \thinspace{}
46164 \end_inset
46165
46166 points have the size of 1
46167 \begin_inset space \thinspace{}
46168 \end_inset
46169
46170 inch, see Appendix
46171 \begin_inset space ~
46172 \end_inset
46173
46174
46175 \begin_inset CommandInset ref
46176 LatexCommand ref
46177 reference "chap:Units-available-in"
46178
46179 \end_inset
46180
46181 .
46182  The default font sizes are the same as if a document font size of 10
46183 \begin_inset space \thinspace{}
46184 \end_inset
46185
46186 pt were used.
46187  The sizes are explained in detail in section
46188 \begin_inset space ~
46189 \end_inset
46190
46191
46192 \begin_inset CommandInset ref
46193 LatexCommand ref
46194 reference "subsec:Document-Font"
46195
46196 \end_inset
46197
46198 .
46199 \end_layout
46200
46201 \begin_layout Standard
46202 With the option 
46203 \family sans
46204 Use pixmap cache to speed up font rendering
46205 \family default
46206  enabled, \SpecialChar LyX
46207  needs to redraw the screen less often.
46208  This results in better performance, especially on slow systems.
46209  On the other hand, the characters might look more fuzzy on screen.
46210  So whether you enable this or not depends on whether you prefer speed over
46211  aesthetics.
46212  Note that the Pixmap Cache is only available and useful under Mac
46213 \begin_inset space ~
46214 \end_inset
46215
46216 OS and Windows.
46217 \end_layout
46218
46219 \begin_layout Subsection
46220 Colors
46221 \begin_inset Index idx
46222 status collapsed
46223
46224 \begin_layout Plain Layout
46225 Color ! \SpecialChar LyX
46226  screen
46227 \end_layout
46228
46229 \end_inset
46230
46231
46232 \begin_inset Index idx
46233 status collapsed
46234
46235 \begin_layout Plain Layout
46236 Settings ! Color
46237 \end_layout
46238
46239 \end_inset
46240
46241
46242 \end_layout
46243
46244 \begin_layout Standard
46245 Here you can change the screen colors used by \SpecialChar LyX
46246  by choosing an item in the
46247  list and selecting the 
46248 \family sans
46249 Alter
46250 \family default
46251  button.
46252 \end_layout
46253
46254 \begin_layout Standard
46255 By checking the option 
46256 \family sans
46257 Use system colors
46258 \family default
46259  the color scheme of your OS or window manager is used.
46260  The colors 
46261 \family sans
46262 cursor, selection, table line, text, URL
46263 \begin_inset space ~
46264 \end_inset
46265
46266 label and URL
46267 \begin_inset space ~
46268 \end_inset
46269
46270 text
46271 \family default
46272  are then not customizable and thus not listed.
46273 \end_layout
46274
46275 \begin_layout Subsection
46276 Display
46277 \begin_inset Index idx
46278 status collapsed
46279
46280 \begin_layout Plain Layout
46281 Settings ! Display
46282 \end_layout
46283
46284 \end_inset
46285
46286
46287 \end_layout
46288
46289 \begin_layout Standard
46290 Here you can specify if graphics are displayed inside \SpecialChar LyX
46291 .
46292 \end_layout
46293
46294 \begin_layout Standard
46295
46296 \family sans
46297 Instant Preview
46298 \family default
46299  enables previewing snippets of your document.
46300  This feature is described in section
46301 \begin_inset space ~
46302 \end_inset
46303
46304
46305 \begin_inset CommandInset ref
46306 LatexCommand ref
46307 reference "sec:Previewing-snippets-of"
46308
46309 \end_inset
46310
46311 .
46312 \end_layout
46313
46314 \begin_layout Standard
46315 Checking the option 
46316 \family sans
46317 Mark
46318 \begin_inset space ~
46319 \end_inset
46320
46321 end
46322 \begin_inset space ~
46323 \end_inset
46324
46325 of
46326 \begin_inset space ~
46327 \end_inset
46328
46329 paragraphs
46330 \family default
46331  displays a pilcrow (¶) at the end of every paragraph.
46332 \end_layout
46333
46334 \begin_layout Section
46335 Editing
46336 \begin_inset Index idx
46337 status collapsed
46338
46339 \begin_layout Plain Layout
46340 Settings ! Editing
46341 \end_layout
46342
46343 \end_inset
46344
46345
46346 \end_layout
46347
46348 \begin_layout Subsection
46349 Control
46350 \end_layout
46351
46352 \begin_layout Subsubsection
46353 Editing
46354 \end_layout
46355
46356 \begin_layout Standard
46357 The option 
46358 \family sans
46359 Cursor follows scrollbar
46360 \family default
46361  sets the cursor to the top of the currently displayed document part when
46362  scrolling.
46363 \end_layout
46364
46365 \begin_layout Standard
46366 You can adjust the width of the cursor.
46367  If you set the value to zero, the thickness of the cursor scales relative
46368  to the zoom value you choose for the screen fonts.
46369 \end_layout
46370
46371 \begin_layout Standard
46372
46373 \family sans
46374 Scroll below end of document
46375 \family default
46376  is self-explanatory.
46377 \end_layout
46378
46379 \begin_layout Standard
46380 In \SpecialChar LyX
46381  one can jump from word to word by pressing 
46382 \family sans
46383 Ctrl+arrow key
46384 \family default
46385 .
46386  With the option
46387 \family sans
46388  Use Mac-style for cursor moving between words
46389 \family default
46390  the cursor jumps from the end of a word to the end of the next word.
46391  Normally it jumps from the beginning to the beginning.
46392 \end_layout
46393
46394 \begin_layout Standard
46395 The option 
46396 \family sans
46397 Sort environments alphabetically
46398 \family default
46399  sorts the entries in the pull-down box for the paragraph environments.
46400 \end_layout
46401
46402 \begin_layout Standard
46403 The option 
46404 \family sans
46405 Group environments by their category
46406 \family default
46407  groups the entries in the pull-down box for the paragraph environments.
46408 \end_layout
46409
46410 \begin_layout Standard
46411 The 
46412 \family sans
46413 Edit math macros
46414 \family default
46415  options determine the editing style for math macros, see the section 
46416 \emph on
46417 Math Macros
46418 \emph default
46419  of the 
46420 \emph on
46421 Math
46422 \emph default
46423  manual.
46424 \end_layout
46425
46426 \begin_layout Subsubsection
46427 Fullscreen
46428 \end_layout
46429
46430 \begin_layout Standard
46431 Here you can specify what is hidden in the fullscreen mode.
46432  With the option 
46433 \family sans
46434 Limit text width
46435 \family default
46436  you can specify the width of the text in fullscreen mode.
46437  This way you can display the text smaller than the screen; the text then
46438  appears centered.
46439 \end_layout
46440
46441 \begin_layout Subsection
46442 Shortcuts
46443 \begin_inset Index idx
46444 status collapsed
46445
46446 \begin_layout Plain Layout
46447 Key Bindings
46448 \end_layout
46449
46450 \end_inset
46451
46452
46453 \begin_inset Index idx
46454 status collapsed
46455
46456 \begin_layout Plain Layout
46457 Settings ! Shortcuts
46458 \end_layout
46459
46460 \end_inset
46461
46462
46463 \end_layout
46464
46465 \begin_layout Standard
46466
46467 \family sans
46468 Bind File
46469 \family default
46470  specifies the file to be used to bind a \SpecialChar LyX
46471  function to a key.
46472  Several binding files are available, among them:
46473 \end_layout
46474
46475 \begin_layout Description
46476 cua.bind a typical set of PC keyboard shortcuts
46477 \end_layout
46478
46479 \begin_layout Description
46480 (x)emacs.bind a set of bindings similar to those used in the editor programs
46481  
46482 \family sans
46483 Emacs
46484 \family default
46485  (
46486 \family sans
46487 XEmacs
46488 \family default
46489 )
46490 \end_layout
46491
46492 \begin_layout Description
46493 mac.bind a set of bindings for 
46494 \family sans
46495 Mac
46496 \begin_inset space \thinspace{}
46497 \end_inset
46498
46499 OS
46500 \family default
46501  systems.
46502 \end_layout
46503
46504 \begin_layout Standard
46505 There are also binding files designed for special document classes, like
46506  
46507 \shape italic
46508 broadway.bind
46509 \shape default
46510 , and binding files for special languages.
46511  The names of language binding files begin with a language code, e.
46512 \begin_inset space \thinspace{}
46513 \end_inset
46514
46515 g.
46516 \begin_inset space \space{}
46517 \end_inset
46518
46519
46520 \begin_inset Quotes eld
46521 \end_inset
46522
46523 pt
46524 \begin_inset Quotes erd
46525 \end_inset
46526
46527  for Portuguese.
46528  If you use \SpecialChar LyX
46529  in a certain language, \SpecialChar LyX
46530  will try to use the appropriate binding
46531  file.
46532 \end_layout
46533
46534 \begin_layout Standard
46535 Some binding files, like 
46536 \shape italic
46537 math.bind
46538 \shape default
46539 , only have a limited scope.
46540  When looking at the end of the file 
46541 \shape italic
46542 cua.bind
46543 \shape default
46544 , you can see that they are included to keep the overview in the bind-file.
46545 \end_layout
46546
46547 \begin_layout Standard
46548 The field 
46549 \family sans
46550 Show
46551 \begin_inset space ~
46552 \end_inset
46553
46554 key-bindings
46555 \begin_inset space ~
46556 \end_inset
46557
46558 containing
46559 \family default
46560  allows you to search for the shortcut provided for a particular function
46561  in the selected key binding file.
46562 \end_layout
46563
46564 \begin_layout Subsubsection
46565 Editing Shortcuts
46566 \begin_inset CommandInset label
46567 LatexCommand label
46568 name "subsec:Editing-Shortcuts"
46569
46570 \end_inset
46571
46572
46573 \begin_inset Index idx
46574 status collapsed
46575
46576 \begin_layout Plain Layout
46577 Key Bindings ! Editing
46578 \end_layout
46579
46580 \end_inset
46581
46582
46583 \end_layout
46584
46585 \begin_layout Standard
46586 To add new or modify existing key bindings to your own taste you can use
46587  the table in the dialog that lists all \SpecialChar LyX
46588  functions and the bound shortcuts.
46589  To find functions easily, they are grouped by categories and the dialog
46590  provides the field 
46591 \family sans
46592 Show key-bindings containing
46593 \family default
46594 .
46595  In this field you can insert a keyword for a function you want to edit.
46596  Insert there for example as keyword 
46597 \begin_inset Quotes eld
46598 \end_inset
46599
46600 paste
46601 \begin_inset Quotes erd
46602 \end_inset
46603
46604  and you get the four different existing shortcuts for the three different
46605  functions that contain 
46606 \begin_inset Quotes eld
46607 \end_inset
46608
46609 paste
46610 \begin_inset Quotes erd
46611 \end_inset
46612
46613  in their name.
46614  As you can see, one function can have more than one shortcut.
46615  All \SpecialChar LyX
46616  functions are also listed in the file 
46617 \family sans
46618 \SpecialChar LyX
46619  Functions
46620 \family default
46621  that you will find in the 
46622 \family sans
46623 Help
46624 \family default
46625  menu.
46626 \end_layout
46627
46628 \begin_layout Standard
46629 For example, to add the shortcut 
46630 \family sans
46631 Alt+Q
46632 \family default
46633  for the function 
46634 \family sans
46635 textstyle-apply
46636 \family default
46637 , select the function and press the 
46638 \family sans
46639 Modify
46640 \family default
46641  button.
46642  A dialog pops up where you can add the shortcut by using it.
46643  So press Alt+Q to define the shortcut.
46644 \end_layout
46645
46646 \begin_layout Standard
46647 Modifying an existing shortcut is done the same way.
46648  You can also bind multiple functions to one shortcut by starting the \SpecialChar LyX
46649  Function
46650  definition with “command alternatives” and following it with the different
46651  function names as a semicolon separated list.
46652  \SpecialChar LyX
46653  will then use the first function that is enabled in the current document
46654  part.
46655  
46656 \end_layout
46657
46658 \begin_layout Standard
46659 If you don't like a particular shortcut, you can remove it.
46660 \end_layout
46661
46662 \begin_layout Standard
46663 Alternatively you can also edit shortcuts by modifying binding files with
46664  a text editor.
46665  The syntax of the entries is:
46666 \end_layout
46667
46668 \begin_layout Standard
46669
46670 \series bold
46671
46672 \backslash
46673 bind 
46674 \begin_inset Quotes eld
46675 \end_inset
46676
46677 key combination
46678 \begin_inset Quotes erd
46679 \end_inset
46680
46681  
46682 \begin_inset Quotes eld
46683 \end_inset
46684
46685 \SpecialChar LyX
46686  function
46687 \begin_inset Quotes erd
46688 \end_inset
46689
46690
46691 \end_layout
46692
46693 \begin_layout Standard
46694 Note, though, that the key combination definition uses a specific syntax.
46695  This applies to the designators of specific modifier keys (e.
46696 \begin_inset space \thinspace{}
46697 \end_inset
46698
46699 g., 
46700 \family typewriter
46701 M
46702 \family default
46703
46704 \family typewriter
46705 S
46706 \family default
46707
46708 \family typewriter
46709 C
46710 \family default
46711  for 
46712 \family sans
46713 Meta/Alt
46714 \family default
46715
46716 \family sans
46717 Shift
46718 \family default
46719
46720 \family sans
46721 Ctrl
46722 \family default
46723 , respectively) as well as to the other keys.
46724  Note particularly that you cannot use non-alphanumeric characters directly
46725  in the definition of the key combination, but must use commands following
46726  the Xlib standard instead (please refer to the existing bind files for
46727  a model).
46728  So if you wanted to bind a command to the key combination 
46729 \family sans
46730 Alt+Shift+:
46731 \family default
46732 , you needed to specify it as 
46733 \family typewriter
46734 M-S-colon
46735 \family default
46736 .
46737  If you use the dialog to edit key bindings, you don't have to care for
46738  these specifics.
46739  \SpecialChar LyX
46740  transforms your input to the correct syntax.
46741 \end_layout
46742
46743 \begin_layout Subsection
46744 Keyboard/Mouse
46745 \begin_inset CommandInset label
46746 LatexCommand label
46747 name "subsec:Keyboard-Map"
46748
46749 \end_inset
46750
46751
46752 \begin_inset Index idx
46753 status collapsed
46754
46755 \begin_layout Plain Layout
46756 Keyboard Map
46757 \end_layout
46758
46759 \end_inset
46760
46761
46762 \begin_inset Index idx
46763 status collapsed
46764
46765 \begin_layout Plain Layout
46766 Settings ! Keyboard Map
46767 \end_layout
46768
46769 \end_inset
46770
46771
46772 \end_layout
46773
46774 \begin_layout Standard
46775 Normally keyboard settings are made in a menu of your operating system.
46776  For the case thatWhere this is not possible, \SpecialChar LyX
46777  provides keyboard maps.
46778  If, for example, you have a Czech keyboard but want to use it as if it
46779  is a Romanian one, you can enable 
46780 \family sans
46781 Use
46782 \begin_inset space ~
46783 \end_inset
46784
46785 keyboard
46786 \begin_inset space ~
46787 \end_inset
46788
46789 map
46790 \family default
46791  and select the keyboard map file named 
46792 \shape italic
46793 romanian.kmap
46794 \shape default
46795 .
46796 \end_layout
46797
46798 \begin_layout Standard
46799 You can specify a 
46800 \family sans
46801 First
46802 \family default
46803  and a 
46804 \family sans
46805 Second
46806 \family default
46807  keyboard map and, if you use the 
46808 \emph on
46809 cua
46810 \emph default
46811  bindings, you can select the first and second with 
46812 \begin_inset Info
46813 type  "shortcut"
46814 arg   "keymap-primary"
46815 \end_inset
46816
46817  and 
46818 \begin_inset Info
46819 type  "shortcut"
46820 arg   "keymap-secondary"
46821 \end_inset
46822
46823  respectively or toggle between them with 
46824 \begin_inset Info
46825 type  "shortcut"
46826 arg   "keymap-toggle"
46827 \end_inset
46828
46829 .
46830 \end_layout
46831
46832 \begin_layout Standard
46833 \begin_inset Note Greyedout
46834 status open
46835
46836 \begin_layout Plain Layout
46837
46838 \series bold
46839 Note:
46840 \series default
46841  Keyboard maps can only provide a makeshift solution and don't work on all
46842  systems.
46843 \end_layout
46844
46845 \end_inset
46846
46847
46848 \end_layout
46849
46850 \begin_layout Standard
46851 You can also specify the mouse 
46852 \family sans
46853 Wheel scrolling speed
46854 \family default
46855 .
46856  The standard value is 1.0; higher values speed up the scrolling, lower ones
46857  slow it down.
46858  With the option 
46859 \family sans
46860 Middle mouse button pasting
46861 \family default
46862  you can determine if pressing the middle mouse button (or the mouse wheel)
46863  inserts the content of the clipboard.
46864 \end_layout
46865
46866 \begin_layout Standard
46867 If you 
46868 \family sans
46869 Enable
46870 \family default
46871  
46872 \family sans
46873 Scroll
46874 \begin_inset space ~
46875 \end_inset
46876
46877 wheel
46878 \begin_inset space ~
46879 \end_inset
46880
46881 zoom,
46882 \family default
46883  you can select a key for zooming.
46884  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
46885 \end_layout
46886
46887 \begin_layout Subsection
46888 Input Completion
46889 \end_layout
46890
46891 \begin_layout Standard
46892 Input completion is described in section
46893 \begin_inset space ~
46894 \end_inset
46895
46896
46897 \begin_inset CommandInset ref
46898 LatexCommand ref
46899 reference "sec:Input-Completion"
46900
46901 \end_inset
46902
46903 .
46904 \end_layout
46905
46906 \begin_layout Section
46907 Paths
46908 \begin_inset CommandInset label
46909 LatexCommand label
46910 name "sec:Paths"
46911
46912 \end_inset
46913
46914
46915 \begin_inset Index idx
46916 status collapsed
46917
46918 \begin_layout Plain Layout
46919 Paths
46920 \end_layout
46921
46922 \end_inset
46923
46924
46925 \begin_inset Index idx
46926 status collapsed
46927
46928 \begin_layout Plain Layout
46929 Settings ! Paths
46930 \end_layout
46931
46932 \end_inset
46933
46934
46935 \end_layout
46936
46937 \begin_layout Standard
46938 The paths to the various resources used by \SpecialChar LyX
46939  are normally determined during
46940  the installation.
46941  But there may be reasons why you might want to modify them.
46942 \end_layout
46943
46944 \begin_layout Description
46945 Working
46946 \begin_inset space ~
46947 \end_inset
46948
46949 directory This is \SpecialChar LyX
46950 's working directory.
46951  It is the default when you 
46952 \family sans
46953 Open
46954 \family default
46955
46956 \family sans
46957 Save
46958 \family default
46959  or 
46960 \family sans
46961 Save
46962 \begin_inset space ~
46963 \end_inset
46964
46965 As
46966 \family default
46967  files.
46968 \end_layout
46969
46970 \begin_layout Description
46971 Document
46972 \begin_inset space ~
46973 \end_inset
46974
46975 templates This directory will be opened when you use the menu 
46976 \family sans
46977 File\SpecialChar menuseparator
46978 New
46979 \begin_inset space ~
46980 \end_inset
46981
46982 from
46983 \begin_inset space ~
46984 \end_inset
46985
46986 Template
46987 \family default
46988 .
46989 \end_layout
46990
46991 \begin_layout Description
46992 Example
46993 \begin_inset space ~
46994 \end_inset
46995
46996 files This directory will be opened when you use the button 
46997 \family sans
46998 Examples
46999 \family default
47000  in the 
47001 \family sans
47002 File\SpecialChar menuseparator
47003 Open
47004 \family default
47005  dialog.
47006 \begin_inset Newline newline
47007 \end_inset
47008
47009
47010 \begin_inset Note Greyedout
47011 status open
47012
47013 \begin_layout Plain Layout
47014
47015 \series bold
47016 Note:
47017 \series default
47018  The 
47019 \family sans
47020 Examples
47021 \family default
47022  button does not exist when using \SpecialChar LyX
47023  on Mac OS and Windows systems.
47024 \end_layout
47025
47026 \end_inset
47027
47028
47029 \end_layout
47030
47031 \begin_layout Description
47032 Backup
47033 \begin_inset space ~
47034 \end_inset
47035
47036 directory
47037 \begin_inset Index idx
47038 status collapsed
47039
47040 \begin_layout Plain Layout
47041 Backup ! Directory
47042 \end_layout
47043
47044 \end_inset
47045
47046  Backup copies will be saved to this directory.
47047  If no directory is given but backups are enabled as described in section
47048 \begin_inset space ~
47049 \end_inset
47050
47051
47052 \begin_inset CommandInset ref
47053 LatexCommand ref
47054 reference "subsec:Backup documents"
47055
47056 \end_inset
47057
47058 , the 
47059 \family sans
47060 Working directory
47061 \family default
47062  will be used to save the backups.
47063 \begin_inset Newline newline
47064 \end_inset
47065
47066 Backup files have the ending 
47067 \begin_inset Quotes eld
47068 \end_inset
47069
47070 .lyx~
47071 \begin_inset Quotes erd
47072 \end_inset
47073
47074 .
47075 \end_layout
47076
47077 \begin_layout Description
47078 LyXServer
47079 \begin_inset space ~
47080 \end_inset
47081
47082 pipe Here you can enter the name of a so-called UNIX-pipe.
47083  This pipe is used to send data from external programs to \SpecialChar LyX
47084 .
47085 \begin_inset Newline newline
47086 \end_inset
47087
47088
47089 \series bold
47090 Example:
47091 \series default
47092  You add a Bib\SpecialChar TeX
47093  database 
47094 \emph on
47095 test.bib
47096 \emph default
47097  to your document.
47098  You can edit this file with the program 
47099 \family typewriter
47100 JabRef
47101 \family default
47102 .
47103  In 
47104 \family typewriter
47105 JabRef
47106 \family default
47107  you have to use the same Unix-Pipe for \SpecialChar LyX
47108  in its preferences under 
47109 \family sans
47110 External
47111 \begin_inset space ~
47112 \end_inset
47113
47114 programs
47115 \family default
47116 .
47117  If you want to get one entry of the database as citation, select it in
47118  
47119 \family typewriter
47120 JabRef
47121 \family default
47122  and click on the \SpecialChar LyX
47123  symbol.
47124  The entry will now be inserted as a citation at the current cursor position
47125  in your \SpecialChar LyX
47126  file.
47127  Of course, 
47128 \family typewriter
47129 JabRef
47130 \family default
47131  and \SpecialChar LyX
47132  need to be running the same time.
47133 \begin_inset Newline newline
47134 \end_inset
47135
47136 The pipe is also used for the 
47137 \family sans
47138 Single instance
47139 \family default
47140  feature, see section
47141 \begin_inset space ~
47142 \end_inset
47143
47144
47145 \begin_inset CommandInset ref
47146 LatexCommand ref
47147 reference "subsec:Backup documents"
47148
47149 \end_inset
47150
47151 .
47152 \begin_inset Newline newline
47153 \end_inset
47154
47155 To use the \SpecialChar LyX
47156 Server-Pipe on Windows, you must use this pipe name:
47157 \begin_inset Newline newline
47158 \end_inset
47159
47160
47161 \series bold
47162
47163 \backslash
47164
47165 \backslash
47166 .
47167 \backslash
47168 pipe
47169 \backslash
47170 lyxpipe
47171 \end_layout
47172
47173 \begin_layout Description
47174 Temporary
47175 \begin_inset space ~
47176 \end_inset
47177
47178 directory Temporary files will be saved in this directory.
47179 \end_layout
47180
47181 \begin_layout Description
47182 Thesaurus
47183 \begin_inset space ~
47184 \end_inset
47185
47186 dictionary Directory where the thesaurus dictionaries are located.
47187  You only need to specify it if the thesaurus does not work or if you want
47188  to use custom/alternative dictionaries.
47189 \end_layout
47190
47191 \begin_layout Description
47192 Hunspell
47193 \begin_inset space ~
47194 \end_inset
47195
47196 dictionary Directory where the dictionaries of the spell checker program
47197  
47198 \family typewriter
47199 Hunspell
47200 \family default
47201  are located.
47202  You only need to specify it if you are using 
47203 \family typewriter
47204 Hunspell
47205 \family default
47206  and spell checking does not work or if you want to use custom/alternative
47207  dictionaries.
47208  For \SpecialChar LyX
47209  on Windows 
47210 \family typewriter
47211 Hunspell
47212 \family default
47213  is the only available spell checker and should work without specifying
47214  a directory.
47215 \end_layout
47216
47217 \begin_layout Description
47218 PATH
47219 \begin_inset space ~
47220 \end_inset
47221
47222 prefix This field contains a list of paths to external programs.
47223  When \SpecialChar LyX
47224  needs to use an external program, it looks in this list to see where
47225  to find it on the system.
47226  The path list is automatically set up on Windows and Mac systems when \SpecialChar LyX
47227
47228  is configured; so you normally don't have to modify it.
47229  On Unix
47230 \begin_inset space \thinspace{}
47231 \end_inset
47232
47233 /
47234 \begin_inset space \thinspace{}
47235 \end_inset
47236
47237 Linux systems, the path list will need to be set only if there are external
47238  programs you wish to use that are not in your normal system path ($PATH).
47239 \end_layout
47240
47241 \begin_layout Description
47242 TEXINPUTS
47243 \begin_inset space ~
47244 \end_inset
47245
47246 prefix The TEXINPUTS environment variable allows you to use external files
47247  which are included in a \SpecialChar LyX
47248  document via commands in \SpecialChar TeX
47249  code or in the document
47250  preamble.
47251  This prefix includes by default the document directory (represented by
47252  a single dot '.').
47253  The prefix can contain any list of paths separated by the default separator
47254  of the OS (':' on UNIX like systems and ';' on Windows).
47255  If files are included, the paths listed in the TEXINPUTS prefix will be
47256  scanned for the input files.
47257  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
47258  to be relative to the directory of your \SpecialChar LyX
47259  file.
47260  It is recommended that you always include '.' as one of the paths; otherwise
47261  compilation may fail for some documents.
47262 \end_layout
47263
47264 \begin_layout Section
47265 Identity
47266 \end_layout
47267
47268 \begin_layout Standard
47269 Here you can insert your 
47270 \family sans
47271 Name
47272 \family default
47273  and 
47274 \family sans
47275 E-mail
47276 \family default
47277  address.
47278  These will be used when you have enabled change tracking, as described
47279  in section
47280 \begin_inset space ~
47281 \end_inset
47282
47283
47284 \begin_inset CommandInset ref
47285 LatexCommand ref
47286 reference "sec:Change-Tracking"
47287
47288 \end_inset
47289
47290 , to mark changes you make as yours.
47291 \end_layout
47292
47293 \begin_layout Section
47294 Language Settings
47295 \begin_inset Index idx
47296 status collapsed
47297
47298 \begin_layout Plain Layout
47299 Language ! Settings
47300 \end_layout
47301
47302 \end_inset
47303
47304
47305 \begin_inset Index idx
47306 status collapsed
47307
47308 \begin_layout Plain Layout
47309 Settings ! Language
47310 \end_layout
47311
47312 \end_inset
47313
47314
47315 \end_layout
47316
47317 \begin_layout Subsection
47318 Language
47319 \begin_inset CommandInset label
47320 LatexCommand label
47321 name "subsec:Prefs-Language"
47322
47323 \end_inset
47324
47325
47326 \end_layout
47327
47328 \begin_layout Description
47329 User
47330 \begin_inset space ~
47331 \end_inset
47332
47333 interface
47334 \begin_inset space ~
47335 \end_inset
47336
47337 language Here you can select the language for \SpecialChar LyX
47338 's menus.
47339  You can find its actual translation status here: 
47340 \begin_inset CommandInset href
47341 LatexCommand href
47342 target "https://www.lyx.org/I18n"
47343 literal "false"
47344
47345 \end_inset
47346
47347
47348 \end_layout
47349
47350 \begin_layout Description
47351 Language
47352 \begin_inset space ~
47353 \end_inset
47354
47355 package determines which \SpecialChar LaTeX
47356  package should be loaded to handle language issues.
47357  Language issues that are handled by this package include proper hyphenation
47358  as well as localization of dates and text strings such as 
47359 \begin_inset Quotes eld
47360 \end_inset
47361
47362 Chapter
47363 \begin_inset Quotes erd
47364 \end_inset
47365
47366  and 
47367 \begin_inset Quotes eld
47368 \end_inset
47369
47370 Table
47371 \begin_inset Quotes erd
47372 \end_inset
47373
47374 .
47375  The most widespread language package is 
47376 \series bold
47377 babel
47378 \series default
47379
47380 \begin_inset Index idx
47381 status collapsed
47382
47383 \begin_layout Plain Layout
47384 \SpecialChar LaTeX
47385  packages ! babel
47386 \end_layout
47387
47388 \end_inset
47389
47390 ; it is the default language package in classic \SpecialChar LaTeX
47391 .
47392  More recent typesetting engines such as Xe\SpecialChar TeX
47393  and Lua\SpecialChar TeX
47394  come with the alternative
47395  language package 
47396 \series bold
47397 polyglossia
47398 \series default
47399
47400 \begin_inset Index idx
47401 status collapsed
47402
47403 \begin_layout Plain Layout
47404 \SpecialChar LaTeX
47405  packages ! polyglossia
47406 \end_layout
47407
47408 \end_inset
47409
47410  that is more suited to the multi-script support of these engines.
47411  Furthermore, there are also specific language packages for languages not
47412  covered by 
47413 \series bold
47414 babel
47415 \series default
47416 .
47417  The available selections are described in section
47418 \begin_inset space ~
47419 \end_inset
47420
47421
47422 \begin_inset CommandInset ref
47423 LatexCommand ref
47424 reference "sec:Language-encodings"
47425
47426 \end_inset
47427
47428 .
47429 \end_layout
47430
47431 \begin_layout Description
47432 Command
47433 \begin_inset space ~
47434 \end_inset
47435
47436 start If a special \SpecialChar LaTeX
47437 -package is needed to write in a certain document language,
47438  you can here specify the command to start the package.
47439  An example is the start command 
47440 \family sans
47441
47442 \backslash
47443 begin{arabtext}
47444 \family default
47445  that is needed to write Arabic using the package 
47446 \series bold
47447 Arab\SpecialChar TeX
47448
47449 \series default
47450 , see 
47451 \begin_inset CommandInset citation
47452 LatexCommand cite
47453 key "Arabic"
47454 literal "true"
47455
47456 \end_inset
47457
47458 .
47459  The default is the 
47460 \series bold
47461 babel
47462 \series default
47463  command 
47464 \family sans
47465
47466 \backslash
47467 selectlanguage{$$lang}
47468 \family default
47469 .
47470 \end_layout
47471
47472 \begin_layout Description
47473 Command
47474 \begin_inset space ~
47475 \end_inset
47476
47477 end Counterpart to 
47478 \family sans
47479 Command start
47480 \family default
47481 .
47482  Some packages, like the default, don't have an end command since the start
47483  command toggles the package on and off.
47484 \end_layout
47485
47486 \begin_layout Description
47487 Default
47488 \begin_inset space ~
47489 \end_inset
47490
47491 decimal
47492 \begin_inset space ~
47493 \end_inset
47494
47495 separator Defines the default decimal point for use in tables (decimal point
47496  alignment).
47497 \end_layout
47498
47499 \begin_layout Description
47500 Default
47501 \begin_inset space ~
47502 \end_inset
47503
47504 length
47505 \begin_inset space ~
47506 \end_inset
47507
47508 unit Defines the unit that is used as default for lengths in \SpecialChar LyX
47509 's dialogs.
47510 \end_layout
47511
47512 \begin_layout Description
47513 Set
47514 \begin_inset space ~
47515 \end_inset
47516
47517 languages
47518 \begin_inset space ~
47519 \end_inset
47520
47521 globally When this option is set, the languages used in the document will
47522  be added as options to the document class options, so that they can be
47523  used by all \SpecialChar LaTeX
47524 -packages.
47525  Otherwise they will only be used as options for the 
47526 \series bold
47527 babel
47528 \series default
47529  package.
47530 \end_layout
47531
47532 \begin_layout Description
47533 Auto
47534 \begin_inset space ~
47535 \end_inset
47536
47537 begin When this option is set, documents start with the chosen document
47538  language.
47539  When this option is not set, the 
47540 \family sans
47541 Command
47542 \begin_inset space ~
47543 \end_inset
47544
47545 start
47546 \family default
47547  is explicitly set to the beginning of the document in the \SpecialChar LaTeX
47548 -output.
47549  This assures that the correct language is used when you use another 
47550 \family sans
47551 Command
47552 \begin_inset space ~
47553 \end_inset
47554
47555 start
47556 \family default
47557  than the default.
47558 \end_layout
47559
47560 \begin_layout Description
47561 Auto
47562 \begin_inset space ~
47563 \end_inset
47564
47565 end Counterpart to 
47566 \family sans
47567 Auto
47568 \begin_inset space ~
47569 \end_inset
47570
47571 begin
47572 \family default
47573 .
47574  When it is not set, the 
47575 \family sans
47576 Command
47577 \begin_inset space ~
47578 \end_inset
47579
47580 end
47581 \family default
47582  is set to the end of the document.
47583 \end_layout
47584
47585 \begin_layout Description
47586 Mark
47587 \begin_inset space ~
47588 \end_inset
47589
47590 foreign
47591 \begin_inset space ~
47592 \end_inset
47593
47594 languages Text marked formatted in a language different from the document
47595  language will be underlined in blue.
47596 \end_layout
47597
47598 \begin_layout Description
47599 Enable
47600 \begin_inset space ~
47601 \end_inset
47602
47603 RTL
47604 \begin_inset space ~
47605 \end_inset
47606
47607 support Enables the use of languages, written from right to left (RTL),
47608  like Arabic, Hebrew or Farsi.
47609 \end_layout
47610
47611 \begin_layout Description
47612 Cursor
47613 \begin_inset space ~
47614 \end_inset
47615
47616 movement When writing RTL, you can define if the left and right arrow keys
47617  move the cursor visually to the left or right, respectively, or logically.
47618  Logical means that the cursor is moved to the left when pressing the right
47619  arrow key and the cursor is inside text in an RTL language.
47620 \end_layout
47621
47622 \begin_layout Subsection
47623 Spellchecker
47624 \end_layout
47625
47626 \begin_layout Standard
47627 The spellchecker settings are explained in section
47628 \begin_inset space ~
47629 \end_inset
47630
47631
47632 \begin_inset CommandInset ref
47633 LatexCommand ref
47634 reference "sec:Spellchecking"
47635
47636 \end_inset
47637
47638 .
47639 \end_layout
47640
47641 \begin_layout Section
47642 Outputs
47643 \end_layout
47644
47645 \begin_layout Subsection
47646 General
47647 \begin_inset CommandInset label
47648 LatexCommand label
47649 name "subsec:General-output"
47650
47651 \end_inset
47652
47653
47654 \end_layout
47655
47656 \begin_layout Description
47657 Forward
47658 \begin_inset space ~
47659 \end_inset
47660
47661 search Commands that will be used for the menu 
47662 \family sans
47663 Navigate\SpecialChar menuseparator
47664 Forward
47665 \begin_inset space ~
47666 \end_inset
47667
47668 search
47669 \family default
47670 .
47671  For a detailed description see section 
47672 \emph on
47673 Reverse DVI/PDF search
47674 \emph default
47675  of the 
47676 \emph on
47677 Additional
47678 \begin_inset space ~
47679 \end_inset
47680
47681 Features
47682 \emph default
47683  manual.
47684 \end_layout
47685
47686 \begin_layout Description
47687 Dvips
47688 \begin_inset space ~
47689 \end_inset
47690
47691 Options Options for the program 
47692 \family typewriter
47693 dvips
47694 \family default
47695  that is used for the export format 
47696 \family sans
47697 Postscript
47698 \family default
47699 , see section
47700 \begin_inset space ~
47701 \end_inset
47702
47703
47704 \begin_inset CommandInset ref
47705 LatexCommand ref
47706 reference "subsec:Export"
47707
47708 \end_inset
47709
47710 .
47711  Possible options are listed in the 
47712 \family typewriter
47713 dvips
47714 \family default
47715  manual:
47716 \begin_inset Newline newline
47717 \end_inset
47718
47719
47720 \begin_inset Flex URL
47721 status collapsed
47722
47723 \begin_layout Plain Layout
47724
47725 https://www.tug.org/texinfohtml/dvips.html
47726 \backslash
47727 #Option-details
47728 \end_layout
47729
47730 \end_inset
47731
47732
47733 \end_layout
47734
47735 \begin_layout Description
47736 Output
47737 \begin_inset space ~
47738 \end_inset
47739
47740 line
47741 \begin_inset space ~
47742 \end_inset
47743
47744 length sets the maximum number of characters printed in one line when using
47745  the menu 
47746 \family sans
47747 File\SpecialChar menuseparator
47748 Export\SpecialChar menuseparator
47749 Plain
47750 \begin_inset space ~
47751 \end_inset
47752
47753 text
47754 \family default
47755 .
47756  Setting the line length to 0 means all text is printed in one endless line.
47757 \end_layout
47758
47759 \begin_layout Description
47760 Date
47761 \begin_inset space ~
47762 \end_inset
47763
47764 format
47765 \begin_inset Index idx
47766 status collapsed
47767
47768 \begin_layout Plain Layout
47769 Date Format
47770 \end_layout
47771
47772 \end_inset
47773
47774
47775 \begin_inset Index idx
47776 status collapsed
47777
47778 \begin_layout Plain Layout
47779 Settings ! Date format
47780 \end_layout
47781
47782 \end_inset
47783
47784  The date format can be one or a mixture of the formats listed here:
47785 \begin_inset Newline newline
47786 \end_inset
47787
47788
47789 \begin_inset Flex URL
47790 status collapsed
47791
47792 \begin_layout Plain Layout
47793
47794 http://man7.org/linux/man-pages/man1/date.1.html
47795 \end_layout
47796
47797 \end_inset
47798
47799
47800 \begin_inset Newline newline
47801 \end_inset
47802
47803 For example the format
47804 \begin_inset Newline newline
47805 \end_inset
47806
47807 %d/%m/%y
47808 \begin_inset Newline newline
47809 \end_inset
47810
47811 prints the date as day/month/year.
47812 \end_layout
47813
47814 \begin_layout Description
47815 Overwrite
47816 \begin_inset space ~
47817 \end_inset
47818
47819 on
47820 \begin_inset space ~
47821 \end_inset
47822
47823 export Setting what \SpecialChar LyX
47824  is allowed to overwrite on export.
47825 \end_layout
47826
47827 \begin_layout Subsection
47828 La
47829 \family sans
47830 TeX
47831 \family default
47832
47833 \begin_inset CommandInset label
47834 LatexCommand label
47835 name "subsec:LaTeX-settings"
47836
47837 \end_inset
47838
47839
47840 \begin_inset Index idx
47841 status collapsed
47842
47843 \begin_layout Plain Layout
47844 Settings ! \SpecialChar LaTeX
47845
47846 \end_layout
47847
47848 \end_inset
47849
47850
47851 \end_layout
47852
47853 \begin_layout Description
47854 Use
47855 \begin_inset space ~
47856 \end_inset
47857
47858 La
47859 \family sans
47860 TeX
47861 \family default
47862
47863 \begin_inset space ~
47864 \end_inset
47865
47866 font
47867 \begin_inset space ~
47868 \end_inset
47869
47870 encoding This is the default encoding of the document font.
47871  
47872 \family sans
47873 T1
47874 \family default
47875  is the default and covers western languages and symbols.
47876  
47877 \family sans
47878 T2A
47879 \family default
47880
47881 \family sans
47882 T2B
47883 \family default
47884
47885 \family sans
47886 T2C
47887 \family default
47888
47889 \family sans
47890 LCY
47891 \family default
47892  and 
47893 \family sans
47894 X2
47895 \family default
47896  are used for Cyrillic.
47897  Combinations of the encodings are possible, like 
47898 \begin_inset Quotes eld
47899 \end_inset
47900
47901
47902 \family sans
47903 T1, T2B
47904 \family default
47905
47906 \begin_inset Quotes erd
47907 \end_inset
47908
47909 .
47910  The font encoding is normally automatically loaded by the language packages
47911  \SpecialChar LyX
47912  sets up in the background.
47913  So there is no need to change the default encoding.
47914 \end_layout
47915
47916 \begin_layout Description
47917 DVI
47918 \begin_inset space ~
47919 \end_inset
47920
47921 viewer
47922 \begin_inset space ~
47923 \end_inset
47924
47925 paper
47926 \begin_inset space ~
47927 \end_inset
47928
47929 size
47930 \begin_inset space ~
47931 \end_inset
47932
47933 options They only have an effect when the program 
47934 \family sans
47935 xdvi
47936 \family default
47937  is used as DVI-viewer, read its manual to find out more.
47938 \end_layout
47939
47940 \begin_layout Standard
47941 Here you can also specify options and commands with parameters for processors.
47942  But before you change something, it is strongly recommended to read the
47943  manuals of the applications.
47944 \end_layout
47945
47946 \begin_layout Description
47947 Bibliography
47948 \begin_inset space ~
47949 \end_inset
47950
47951 generation Settings for the generation of the bibliography, see section
47952 \begin_inset space ~
47953 \end_inset
47954
47955
47956 \begin_inset CommandInset ref
47957 LatexCommand ref
47958 reference "subsec:Bibliography-databases"
47959
47960 \end_inset
47961
47962 .
47963 \end_layout
47964
47965 \begin_layout Description
47966 Index
47967 \begin_inset space ~
47968 \end_inset
47969
47970 generation Settings for the generation of the index, see section
47971 \begin_inset space ~
47972 \end_inset
47973
47974
47975 \begin_inset CommandInset ref
47976 LatexCommand ref
47977 reference "subsec:Index-Program"
47978
47979 \end_inset
47980
47981 .
47982 \end_layout
47983
47984 \begin_layout Description
47985 Nomenclature
47986 \begin_inset space ~
47987 \end_inset
47988
47989 command Command for the program that generates the nomenclature, see section
47990 \begin_inset space ~
47991 \end_inset
47992
47993
47994 \begin_inset CommandInset ref
47995 LatexCommand ref
47996 reference "subsec:Nomenclature-Program"
47997
47998 \end_inset
47999
48000 .
48001 \end_layout
48002
48003 \begin_layout Description
48004 Check
48005 \family sans
48006 TeX
48007 \family default
48008
48009 \begin_inset space ~
48010 \end_inset
48011
48012 command Command for the program 
48013 \family sans
48014 Check\SpecialChar TeX
48015
48016 \family default
48017  that is described in the section 
48018 \emph on
48019 Checking \SpecialChar TeX
48020
48021 \emph default
48022  of the 
48023 \emph on
48024 Additional Features
48025 \emph default
48026  manual.
48027 \end_layout
48028
48029 \begin_layout Standard
48030 There are additionally the following options:
48031 \end_layout
48032
48033 \begin_layout Description
48034 Use
48035 \begin_inset space ~
48036 \end_inset
48037
48038 Windows-style
48039 \begin_inset space ~
48040 \end_inset
48041
48042 paths
48043 \begin_inset space ~
48044 \end_inset
48045
48046 in
48047 \begin_inset space ~
48048 \end_inset
48049
48050 \SpecialChar LaTeX
48051
48052 \begin_inset space ~
48053 \end_inset
48054
48055 files Uses paths in the notation of Windows, that means that 
48056 \begin_inset Quotes eld
48057 \end_inset
48058
48059
48060 \backslash
48061
48062 \begin_inset Quotes erd
48063 \end_inset
48064
48065  is used instead of 
48066 \begin_inset Quotes eld
48067 \end_inset
48068
48069 /
48070 \begin_inset Quotes erd
48071 \end_inset
48072
48073  to separate folders.
48074  This option is enabled by default when you use \SpecialChar LyX
48075  on Windows.
48076 \begin_inset Index idx
48077 status collapsed
48078
48079 \begin_layout Plain Layout
48080 Paths
48081 \end_layout
48082
48083 \end_inset
48084
48085
48086 \begin_inset Index idx
48087 status collapsed
48088
48089 \begin_layout Plain Layout
48090 Settings ! Paths
48091 \end_layout
48092
48093 \end_inset
48094
48095
48096 \end_layout
48097
48098 \begin_layout Description
48099 Reset
48100 \begin_inset space ~
48101 \end_inset
48102
48103 class
48104 \begin_inset space ~
48105 \end_inset
48106
48107 options
48108 \begin_inset space ~
48109 \end_inset
48110
48111 when
48112 \begin_inset space ~
48113 \end_inset
48114
48115 document
48116 \begin_inset space ~
48117 \end_inset
48118
48119 class
48120 \begin_inset space ~
48121 \end_inset
48122
48123 changes Removes all manually set 
48124 \family sans
48125 Class options
48126 \family default
48127  in the 
48128 \family sans
48129 Document\SpecialChar menuseparator
48130 Settings\SpecialChar menuseparator
48131 Document
48132 \begin_inset space ~
48133 \end_inset
48134
48135 Class
48136 \family default
48137  dialog when changing the document class.
48138 \end_layout
48139
48140 \begin_layout Section
48141 File
48142 \begin_inset space ~
48143 \end_inset
48144
48145 Handling
48146 \begin_inset Index idx
48147 status collapsed
48148
48149 \begin_layout Plain Layout
48150 File handling
48151 \end_layout
48152
48153 \end_inset
48154
48155
48156 \end_layout
48157
48158 \begin_layout Subsection
48159 Converters
48160 \begin_inset CommandInset label
48161 LatexCommand label
48162 name "subsec:Converters"
48163
48164 \end_inset
48165
48166
48167 \begin_inset Index idx
48168 status collapsed
48169
48170 \begin_layout Plain Layout
48171 Converters
48172 \end_layout
48173
48174 \end_inset
48175
48176
48177 \end_layout
48178
48179 \begin_layout Standard
48180 Here you find the list of defined converter commands to convert material
48181  from one format to another.
48182  You can modify converters or create new ones.
48183  To modify a converter, select it, change the entry of the 
48184 \family sans
48185 Converter
48186 \family default
48187  and/or 
48188 \family sans
48189 Extra
48190 \begin_inset space ~
48191 \end_inset
48192
48193 flag
48194 \family default
48195  field and press the 
48196 \family sans
48197 Modify
48198 \family default
48199  button.
48200  To create a new converter, select an existing one, select a different format
48201  in the 
48202 \family sans
48203 To
48204 \begin_inset space ~
48205 \end_inset
48206
48207 format
48208 \family default
48209  drop-down list, modify the 
48210 \family sans
48211 Converter
48212 \family default
48213  field and press the 
48214 \family sans
48215 Add
48216 \family default
48217  button.
48218 \end_layout
48219
48220 \begin_layout Standard
48221 If the 
48222 \family sans
48223 Converter File Cache
48224 \family default
48225  is 
48226 \family sans
48227 Enabled
48228 \family default
48229 , conversions will be cached as long as specified in the field 
48230 \family sans
48231 Maximum Age (in days
48232 \family default
48233 ).
48234  This means that images don't need to be converted again when you reopen
48235  a document; the converted images from the cache will be used instead.
48236 \end_layout
48237
48238 \begin_layout Standard
48239 More about converters, like the flags that can be used in the converter
48240  definition, is described in the section 
48241 \emph on
48242 Converters
48243 \emph default
48244  of the 
48245 \emph on
48246 Customization
48247 \emph default
48248  manual.
48249 \end_layout
48250
48251 \begin_layout Subsection
48252 File Formats
48253 \begin_inset CommandInset label
48254 LatexCommand label
48255 name "sec:File-Formats"
48256
48257 \end_inset
48258
48259
48260 \begin_inset Index idx
48261 status collapsed
48262
48263 \begin_layout Plain Layout
48264 File formats
48265 \end_layout
48266
48267 \end_inset
48268
48269
48270 \begin_inset Index idx
48271 status collapsed
48272
48273 \begin_layout Plain Layout
48274 Copiers
48275 \end_layout
48276
48277 \end_inset
48278
48279
48280 \end_layout
48281
48282 \begin_layout Standard
48283 Here you find the list of defined file formats that \SpecialChar LyX
48284  can handle.
48285  You can modify the 
48286 \family sans
48287 Editor
48288 \family default
48289  and 
48290 \family sans
48291 Viewer
48292 \family default
48293  programs that should be used for certain formats.
48294 \end_layout
48295
48296 \begin_layout Standard
48297 You can also define the 
48298 \family sans
48299 Default output format
48300 \family default
48301  that is used when you use 
48302 \family sans
48303 View, Update, View Master Document
48304 \family default
48305  or 
48306 \family sans
48307 Update Master Document
48308 \family default
48309  in the 
48310 \family sans
48311 Document
48312 \family default
48313  menu or the toolbar.
48314 \end_layout
48315
48316 \begin_layout Standard
48317 More about formats and their options is described in the section 
48318 \emph on
48319 Formats
48320 \emph default
48321  of the 
48322 \emph on
48323 Customization
48324 \emph default
48325  manual.
48326 \end_layout
48327
48328 \begin_layout Standard
48329 Since all conversions from one format to another take place in \SpecialChar LyX
48330 's temporary
48331  directory, it is sometimes necessary to modify a file before copying it
48332  to the temporary directory so that the conversion may be performed.
48333  This is done by specifying a 
48334 \family sans
48335 Copier
48336 \family default
48337 .
48338  More about this is described in the section 
48339 \emph on
48340 Copiers
48341 \emph default
48342  of the 
48343 \emph on
48344 Customization
48345 \emph default
48346  manual.
48347 \end_layout
48348
48349 \begin_layout Chapter
48350 Units available in \SpecialChar LyX
48351
48352 \begin_inset Index idx
48353 status collapsed
48354
48355 \begin_layout Plain Layout
48356 Units
48357 \end_layout
48358
48359 \end_inset
48360
48361
48362 \begin_inset CommandInset label
48363 LatexCommand label
48364 name "chap:Units-available-in"
48365
48366 \end_inset
48367
48368
48369 \end_layout
48370
48371 \begin_layout Standard
48372 Table
48373 \begin_inset space ~
48374 \end_inset
48375
48376
48377 \begin_inset CommandInset ref
48378 LatexCommand ref
48379 reference "tab:Units"
48380
48381 \end_inset
48382
48383  explains all the units available in \SpecialChar LyX
48384  and used in this documentation.
48385 \end_layout
48386
48387 \begin_layout Standard
48388 \begin_inset Float table
48389 placement h
48390 wide false
48391 sideways false
48392 status open
48393
48394 \begin_layout Plain Layout
48395 \begin_inset Caption Standard
48396
48397 \begin_layout Plain Layout
48398 \begin_inset CommandInset label
48399 LatexCommand label
48400 name "tab:Units"
48401
48402 \end_inset
48403
48404 Units
48405 \end_layout
48406
48407 \end_inset
48408
48409
48410 \end_layout
48411
48412 \begin_layout Plain Layout
48413 \begin_inset VSpace medskip
48414 \end_inset
48415
48416
48417 \end_layout
48418
48419 \begin_layout Plain Layout
48420 \align center
48421 \begin_inset Tabular
48422 <lyxtabular version="3" rows="21" columns="3">
48423 <features tabularvalignment="middle">
48424 <column alignment="center" valignment="top">
48425 <column alignment="center" valignment="middle" width="50col%">
48426 <column alignment="center" valignment="top">
48427 <row>
48428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48429 \begin_inset Text
48430
48431 \begin_layout Plain Layout
48432 unit
48433 \end_layout
48434
48435 \end_inset
48436 </cell>
48437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48438 \begin_inset Text
48439
48440 \begin_layout Plain Layout
48441 name/description
48442 \end_layout
48443
48444 \end_inset
48445 </cell>
48446 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
48447 \begin_inset Text
48448
48449 \begin_layout Plain Layout
48450 \SpecialChar LaTeX
48451  command
48452 \end_layout
48453
48454 \end_inset
48455 </cell>
48456 </row>
48457 <row>
48458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48459 \begin_inset Text
48460
48461 \begin_layout Plain Layout
48462 bp
48463 \end_layout
48464
48465 \end_inset
48466 </cell>
48467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48468 \begin_inset Text
48469
48470 \begin_layout Plain Layout
48471 big point (72
48472 \begin_inset space \thinspace{}
48473 \end_inset
48474
48475 bp = 1
48476 \begin_inset space \thinspace{}
48477 \end_inset
48478
48479 in)
48480 \end_layout
48481
48482 \end_inset
48483 </cell>
48484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48485 \begin_inset Text
48486
48487 \begin_layout Plain Layout
48488 -
48489 \end_layout
48490
48491 \end_inset
48492 </cell>
48493 </row>
48494 <row>
48495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48496 \begin_inset Text
48497
48498 \begin_layout Plain Layout
48499 cc
48500 \end_layout
48501
48502 \end_inset
48503 </cell>
48504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48505 \begin_inset Text
48506
48507 \begin_layout Plain Layout
48508 cicero (1
48509 \begin_inset space \thinspace{}
48510 \end_inset
48511
48512 cc = 12
48513 \begin_inset space \thinspace{}
48514 \end_inset
48515
48516 dd)
48517 \end_layout
48518
48519 \end_inset
48520 </cell>
48521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48522 \begin_inset Text
48523
48524 \begin_layout Plain Layout
48525 -
48526 \end_layout
48527
48528 \end_inset
48529 </cell>
48530 </row>
48531 <row>
48532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48533 \begin_inset Text
48534
48535 \begin_layout Plain Layout
48536 cm
48537 \end_layout
48538
48539 \end_inset
48540 </cell>
48541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48542 \begin_inset Text
48543
48544 \begin_layout Plain Layout
48545 centimeter
48546 \end_layout
48547
48548 \end_inset
48549 </cell>
48550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48551 \begin_inset Text
48552
48553 \begin_layout Plain Layout
48554 -
48555 \end_layout
48556
48557 \end_inset
48558 </cell>
48559 </row>
48560 <row>
48561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48562 \begin_inset Text
48563
48564 \begin_layout Plain Layout
48565 dd
48566 \end_layout
48567
48568 \end_inset
48569 </cell>
48570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48571 \begin_inset Text
48572
48573 \begin_layout Plain Layout
48574 didot (1
48575 \begin_inset space \thinspace{}
48576 \end_inset
48577
48578 dd 
48579 \begin_inset Formula $\approx$
48580 \end_inset
48581
48582  0.376
48583 \begin_inset space \thinspace{}
48584 \end_inset
48585
48586 mm)
48587 \end_layout
48588
48589 \end_inset
48590 </cell>
48591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48592 \begin_inset Text
48593
48594 \begin_layout Plain Layout
48595 -
48596 \end_layout
48597
48598 \end_inset
48599 </cell>
48600 </row>
48601 <row>
48602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48603 \begin_inset Text
48604
48605 \begin_layout Plain Layout
48606 em
48607 \end_layout
48608
48609 \end_inset
48610 </cell>
48611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48612 \begin_inset Text
48613
48614 \begin_layout Plain Layout
48615 width of letter 
48616 \emph on
48617 M
48618 \emph default
48619  in current font
48620 \end_layout
48621
48622 \end_inset
48623 </cell>
48624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48625 \begin_inset Text
48626
48627 \begin_layout Plain Layout
48628 -
48629 \end_layout
48630
48631 \end_inset
48632 </cell>
48633 </row>
48634 <row>
48635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48636 \begin_inset Text
48637
48638 \begin_layout Plain Layout
48639 ex
48640 \end_layout
48641
48642 \end_inset
48643 </cell>
48644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48645 \begin_inset Text
48646
48647 \begin_layout Plain Layout
48648 height of letter 
48649 \emph on
48650 x
48651 \emph default
48652  in current font
48653 \end_layout
48654
48655 \end_inset
48656 </cell>
48657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48658 \begin_inset Text
48659
48660 \begin_layout Plain Layout
48661 -
48662 \end_layout
48663
48664 \end_inset
48665 </cell>
48666 </row>
48667 <row>
48668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48669 \begin_inset Text
48670
48671 \begin_layout Plain Layout
48672 in
48673 \end_layout
48674
48675 \end_inset
48676 </cell>
48677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48678 \begin_inset Text
48679
48680 \begin_layout Plain Layout
48681 inch
48682 \end_layout
48683
48684 \end_inset
48685 </cell>
48686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48687 \begin_inset Text
48688
48689 \begin_layout Plain Layout
48690 -
48691 \end_layout
48692
48693 \end_inset
48694 </cell>
48695 </row>
48696 <row>
48697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48698 \begin_inset Text
48699
48700 \begin_layout Plain Layout
48701 mm
48702 \end_layout
48703
48704 \end_inset
48705 </cell>
48706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48707 \begin_inset Text
48708
48709 \begin_layout Plain Layout
48710 millimeter
48711 \end_layout
48712
48713 \end_inset
48714 </cell>
48715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48716 \begin_inset Text
48717
48718 \begin_layout Plain Layout
48719 -
48720 \end_layout
48721
48722 \end_inset
48723 </cell>
48724 </row>
48725 <row>
48726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48727 \begin_inset Text
48728
48729 \begin_layout Plain Layout
48730 mu
48731 \end_layout
48732
48733 \end_inset
48734 </cell>
48735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48736 \begin_inset Text
48737
48738 \begin_layout Plain Layout
48739 math unit (1
48740 \begin_inset space \thinspace{}
48741 \end_inset
48742
48743 mu = 1/18
48744 \begin_inset space \thinspace{}
48745 \end_inset
48746
48747 em)
48748 \end_layout
48749
48750 \end_inset
48751 </cell>
48752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48753 \begin_inset Text
48754
48755 \begin_layout Plain Layout
48756 -
48757 \end_layout
48758
48759 \end_inset
48760 </cell>
48761 </row>
48762 <row>
48763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48764 \begin_inset Text
48765
48766 \begin_layout Plain Layout
48767 pt
48768 \end_layout
48769
48770 \end_inset
48771 </cell>
48772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48773 \begin_inset Text
48774
48775 \begin_layout Plain Layout
48776 point (72.27
48777 \begin_inset space \thinspace{}
48778 \end_inset
48779
48780 pt = 1
48781 \begin_inset space \thinspace{}
48782 \end_inset
48783
48784 in)
48785 \end_layout
48786
48787 \end_inset
48788 </cell>
48789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48790 \begin_inset Text
48791
48792 \begin_layout Plain Layout
48793 -
48794 \end_layout
48795
48796 \end_inset
48797 </cell>
48798 </row>
48799 <row>
48800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48801 \begin_inset Text
48802
48803 \begin_layout Plain Layout
48804 pc
48805 \end_layout
48806
48807 \end_inset
48808 </cell>
48809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48810 \begin_inset Text
48811
48812 \begin_layout Plain Layout
48813 pica (1
48814 \begin_inset space \thinspace{}
48815 \end_inset
48816
48817 pc = 12
48818 \begin_inset space \thinspace{}
48819 \end_inset
48820
48821 pt)
48822 \end_layout
48823
48824 \end_inset
48825 </cell>
48826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48827 \begin_inset Text
48828
48829 \begin_layout Plain Layout
48830 -
48831 \end_layout
48832
48833 \end_inset
48834 </cell>
48835 </row>
48836 <row>
48837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48838 \begin_inset Text
48839
48840 \begin_layout Plain Layout
48841 sp
48842 \end_layout
48843
48844 \end_inset
48845 </cell>
48846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48847 \begin_inset Text
48848
48849 \begin_layout Plain Layout
48850 scaled point (65536
48851 \begin_inset space \thinspace{}
48852 \end_inset
48853
48854 sp = 1
48855 \begin_inset space \thinspace{}
48856 \end_inset
48857
48858 pt)
48859 \end_layout
48860
48861 \end_inset
48862 </cell>
48863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48864 \begin_inset Text
48865
48866 \begin_layout Plain Layout
48867 -
48868 \end_layout
48869
48870 \end_inset
48871 </cell>
48872 </row>
48873 <row>
48874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48875 \begin_inset Text
48876
48877 \begin_layout Plain Layout
48878 Column Width %
48879 \end_layout
48880
48881 \end_inset
48882 </cell>
48883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48884 \begin_inset Text
48885
48886 \begin_layout Plain Layout
48887 % of column width
48888 \end_layout
48889
48890 \end_inset
48891 </cell>
48892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48893 \begin_inset Text
48894
48895 \begin_layout Plain Layout
48896
48897 \backslash
48898 columnwidth
48899 \end_layout
48900
48901 \end_inset
48902 </cell>
48903 </row>
48904 <row>
48905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48906 \begin_inset Text
48907
48908 \begin_layout Plain Layout
48909 Line Distance %
48910 \end_layout
48911
48912 \end_inset
48913 </cell>
48914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48915 \begin_inset Text
48916
48917 \begin_layout Plain Layout
48918 % of height between baselines of two subsequent text lines
48919 \end_layout
48920
48921 \end_inset
48922 </cell>
48923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48924 \begin_inset Text
48925
48926 \begin_layout Plain Layout
48927
48928 \backslash
48929 baselineskip
48930 \end_layout
48931
48932 \end_inset
48933 </cell>
48934 </row>
48935 <row>
48936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48937 \begin_inset Text
48938
48939 \begin_layout Plain Layout
48940 Line Width %
48941 \end_layout
48942
48943 \end_inset
48944 </cell>
48945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48946 \begin_inset Text
48947
48948 \begin_layout Plain Layout
48949 % of line width
48950 \end_layout
48951
48952 \end_inset
48953 </cell>
48954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48955 \begin_inset Text
48956
48957 \begin_layout Plain Layout
48958
48959 \backslash
48960 linewidth
48961 \end_layout
48962
48963 \end_inset
48964 </cell>
48965 </row>
48966 <row>
48967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48968 \begin_inset Text
48969
48970 \begin_layout Plain Layout
48971 Page Height %
48972 \end_layout
48973
48974 \end_inset
48975 </cell>
48976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48977 \begin_inset Text
48978
48979 \begin_layout Plain Layout
48980 % of paper height
48981 \end_layout
48982
48983 \end_inset
48984 </cell>
48985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48986 \begin_inset Text
48987
48988 \begin_layout Plain Layout
48989
48990 \backslash
48991 paperheight
48992 \end_layout
48993
48994 \end_inset
48995 </cell>
48996 </row>
48997 <row>
48998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48999 \begin_inset Text
49000
49001 \begin_layout Plain Layout
49002 Page Width %
49003 \end_layout
49004
49005 \end_inset
49006 </cell>
49007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49008 \begin_inset Text
49009
49010 \begin_layout Plain Layout
49011 % of paper width
49012 \end_layout
49013
49014 \end_inset
49015 </cell>
49016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49017 \begin_inset Text
49018
49019 \begin_layout Plain Layout
49020
49021 \backslash
49022 paperwidth
49023 \end_layout
49024
49025 \end_inset
49026 </cell>
49027 </row>
49028 <row>
49029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49030 \begin_inset Text
49031
49032 \begin_layout Plain Layout
49033 Scale Graphics %
49034 \end_layout
49035
49036 \end_inset
49037 </cell>
49038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49039 \begin_inset Text
49040
49041 \begin_layout Plain Layout
49042 % of original image width
49043 \end_layout
49044
49045 \end_inset
49046 </cell>
49047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49048 \begin_inset Text
49049
49050 \begin_layout Plain Layout
49051
49052 \end_layout
49053
49054 \end_inset
49055 </cell>
49056 </row>
49057 <row>
49058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49059 \begin_inset Text
49060
49061 \begin_layout Plain Layout
49062 Text Height %
49063 \end_layout
49064
49065 \end_inset
49066 </cell>
49067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
49068 \begin_inset Text
49069
49070 \begin_layout Plain Layout
49071 % of text height
49072 \end_layout
49073
49074 \end_inset
49075 </cell>
49076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49077 \begin_inset Text
49078
49079 \begin_layout Plain Layout
49080
49081 \backslash
49082 textheight
49083 \end_layout
49084
49085 \end_inset
49086 </cell>
49087 </row>
49088 <row>
49089 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
49090 \begin_inset Text
49091
49092 \begin_layout Plain Layout
49093 Text Width %
49094 \end_layout
49095
49096 \end_inset
49097 </cell>
49098 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
49099 \begin_inset Text
49100
49101 \begin_layout Plain Layout
49102 % of text width
49103 \end_layout
49104
49105 \end_inset
49106 </cell>
49107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
49108 \begin_inset Text
49109
49110 \begin_layout Plain Layout
49111
49112 \backslash
49113 textwidth
49114 \end_layout
49115
49116 \end_inset
49117 </cell>
49118 </row>
49119 </lyxtabular>
49120
49121 \end_inset
49122
49123
49124 \end_layout
49125
49126 \end_inset
49127
49128
49129 \end_layout
49130
49131 \begin_layout Standard
49132 \begin_inset Newpage newpage
49133 \end_inset
49134
49135 The bibliography on the following page was created with the 
49136 \family sans
49137 Bibliography
49138 \family default
49139  environment.
49140 \end_layout
49141
49142 \begin_layout Bibliography
49143 \begin_inset CommandInset bibitem
49144 LatexCommand bibitem
49145 label "Credits"
49146 key "lyxcredit"
49147 literal "true"
49148
49149 \end_inset
49150
49151 The \SpecialChar LyX
49152  Team: 
49153 \begin_inset CommandInset href
49154 LatexCommand href
49155 name "Credits"
49156 target "https://www.lyx.org/Credits"
49157 literal "false"
49158
49159 \end_inset
49160
49161 :
49162 \begin_inset Newline newline
49163 \end_inset
49164
49165
49166 \begin_inset Flex URL
49167 status collapsed
49168
49169 \begin_layout Plain Layout
49170
49171 https://www.lyx.org/Credits
49172 \end_layout
49173
49174 \end_inset
49175
49176
49177 \end_layout
49178
49179 \begin_layout Bibliography
49180 \begin_inset CommandInset bibitem
49181 LatexCommand bibitem
49182 key "latexcompanion"
49183 literal "true"
49184
49185 \end_inset
49186
49187 Frank Mittelbach and Michel Goossens: 
49188 \emph on
49189 The \SpecialChar LaTeX
49190  Companion Second Edition.
49191
49192 \emph default
49193  Addison-Wesley, 2004
49194 \end_layout
49195
49196 \begin_layout Bibliography
49197 \begin_inset CommandInset bibitem
49198 LatexCommand bibitem
49199 key "latexguide"
49200 literal "true"
49201
49202 \end_inset
49203
49204 Helmut Kopka and Patrick W.
49205  Daly: 
49206 \emph on
49207 A Guide to \SpecialChar LaTeX
49208  Fourth Edition.
49209
49210 \emph default
49211  Addison-Wesley, 2003
49212 \end_layout
49213
49214 \begin_layout Bibliography
49215 \begin_inset CommandInset bibitem
49216 LatexCommand bibitem
49217 key "latexbook"
49218 literal "true"
49219
49220 \end_inset
49221
49222 Leslie Lamport: 
49223 \emph on
49224 \SpecialChar LaTeX
49225 : A Document Preparation System.
49226
49227 \emph default
49228  Addison-Wesley, second edition, 1994
49229 \end_layout
49230
49231 \begin_layout Bibliography
49232 \begin_inset CommandInset bibitem
49233 LatexCommand bibitem
49234 key "texbook"
49235 literal "true"
49236
49237 \end_inset
49238
49239 Donald E.
49240  Knuth.
49241  
49242 \emph on
49243 The \SpecialChar TeX
49244 book.
49245
49246 \emph default
49247  Addison-Wesley, 1984
49248 \end_layout
49249
49250 \begin_layout Bibliography
49251 \begin_inset CommandInset bibitem
49252 LatexCommand bibitem
49253 key "TeXCatalogue"
49254 literal "true"
49255
49256 \end_inset
49257
49258 The \SpecialChar TeX
49259  Catalogue:
49260 \begin_inset Newline newline
49261 \end_inset
49262
49263
49264 \begin_inset Flex URL
49265 status collapsed
49266
49267 \begin_layout Plain Layout
49268
49269 http://texcatalogue.ctan.org/bytopic.html
49270 \end_layout
49271
49272 \end_inset
49273
49274
49275 \end_layout
49276
49277 \begin_layout Bibliography
49278 \begin_inset CommandInset bibitem
49279 LatexCommand bibitem
49280 key "LaTeXFAQ"
49281 literal "true"
49282
49283 \end_inset
49284
49285 The \SpecialChar LaTeX
49286  FAQ:
49287 \begin_inset Newline newline
49288 \end_inset
49289
49290
49291 \begin_inset Flex URL
49292 status collapsed
49293
49294 \begin_layout Plain Layout
49295
49296 http://www.tex.ac.uk/faq/
49297 \end_layout
49298
49299 \end_inset
49300
49301
49302 \end_layout
49303
49304 \begin_layout Bibliography
49305 \begin_inset CommandInset bibitem
49306 LatexCommand bibitem
49307 key "BibTeX"
49308 literal "true"
49309
49310 \end_inset
49311
49312
49313 \begin_inset CommandInset href
49314 LatexCommand href
49315 name "Documentation"
49316 target "https://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/btxdoc.pdf"
49317 literal "false"
49318
49319 \end_inset
49320
49321  of the program 
49322 \family sans
49323 Bib\SpecialChar TeX
49324
49325 \family default
49326 :
49327 \begin_inset Newline newline
49328 \end_inset
49329
49330
49331 \begin_inset Flex URL
49332 status collapsed
49333
49334 \begin_layout Plain Layout
49335
49336 https://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/btxdoc.pdf
49337 \end_layout
49338
49339 \end_inset
49340
49341
49342 \end_layout
49343
49344 \begin_layout Bibliography
49345 \begin_inset CommandInset bibitem
49346 LatexCommand bibitem
49347 key "BibTeX-2"
49348 literal "true"
49349
49350 \end_inset
49351
49352
49353 \begin_inset CommandInset href
49354 LatexCommand href
49355 name "Documentation"
49356 target "https://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
49357 literal "false"
49358
49359 \end_inset
49360
49361  how to use the program 
49362 \family sans
49363 Bib\SpecialChar TeX
49364
49365 \family default
49366 :
49367 \begin_inset Newline newline
49368 \end_inset
49369
49370
49371 \begin_inset Flex URL
49372 status collapsed
49373
49374 \begin_layout Plain Layout
49375
49376 https://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
49377 \end_layout
49378
49379 \end_inset
49380
49381
49382 \end_layout
49383
49384 \begin_layout Bibliography
49385 \begin_inset CommandInset bibitem
49386 LatexCommand bibitem
49387 key "Biblatex"
49388 literal "true"
49389
49390 \end_inset
49391
49392
49393 \begin_inset CommandInset href
49394 LatexCommand href
49395 name "Documentation"
49396 target "https://www.ctan.org/tex-archive/macros/latex/contrib/biblatex/doc/biblatex.pdf"
49397 literal "false"
49398
49399 \end_inset
49400
49401  of the \SpecialChar LaTeX
49402  package 
49403 \series bold
49404 biblatex
49405 \series default
49406
49407 \begin_inset Index idx
49408 status collapsed
49409
49410 \begin_layout Plain Layout
49411 \SpecialChar LaTeX
49412  packages ! biblatex
49413 \end_layout
49414
49415 \end_inset
49416
49417 :
49418 \begin_inset Newline newline
49419 \end_inset
49420
49421
49422 \begin_inset Flex URL
49423 status collapsed
49424
49425 \begin_layout Plain Layout
49426
49427 https://www.ctan.org/tex-archive/macros/latex/contrib/biblatex/doc/biblatex.pdf
49428 \end_layout
49429
49430 \end_inset
49431
49432
49433 \end_layout
49434
49435 \begin_layout Bibliography
49436 \begin_inset CommandInset bibitem
49437 LatexCommand bibitem
49438 key "biber"
49439 literal "true"
49440
49441 \end_inset
49442
49443
49444 \begin_inset CommandInset href
49445 LatexCommand href
49446 name "Documentation"
49447 target "https://www.ctan.org/tex-archive/biblio/biber/documentation/biber.pdf"
49448 literal "false"
49449
49450 \end_inset
49451
49452  of the \SpecialChar LaTeX
49453  package 
49454 \series bold
49455 biber
49456 \series default
49457
49458 \begin_inset Index idx
49459 status collapsed
49460
49461 \begin_layout Plain Layout
49462 \SpecialChar LaTeX
49463  packages ! biber
49464 \end_layout
49465
49466 \end_inset
49467
49468 :
49469 \begin_inset Newline newline
49470 \end_inset
49471
49472
49473 \begin_inset Flex URL
49474 status collapsed
49475
49476 \begin_layout Plain Layout
49477
49478 https://www.ctan.org/tex-archive/biblio/biber/documentation/biber.pdf
49479 \end_layout
49480
49481 \end_inset
49482
49483
49484 \end_layout
49485
49486 \begin_layout Bibliography
49487 \begin_inset CommandInset bibitem
49488 LatexCommand bibitem
49489 key "makeindex"
49490 literal "true"
49491
49492 \end_inset
49493
49494
49495 \begin_inset CommandInset href
49496 LatexCommand href
49497 name "Documentation"
49498 target "https://www.ctan.org/tex-archive/indexing/makeindex/doc/makeindex.pdf"
49499 literal "false"
49500
49501 \end_inset
49502
49503  of the program 
49504 \family sans
49505 makeindex
49506 \family default
49507 :
49508 \begin_inset Newline newline
49509 \end_inset
49510
49511
49512 \begin_inset Flex URL
49513 status collapsed
49514
49515 \begin_layout Plain Layout
49516
49517 https://www.ctan.org/tex-archive/indexing/makeindex/doc/makeindex.pdf
49518 \end_layout
49519
49520 \end_inset
49521
49522
49523 \end_layout
49524
49525 \begin_layout Bibliography
49526 \begin_inset CommandInset bibitem
49527 LatexCommand bibitem
49528 key "makeindex-man"
49529 literal "true"
49530
49531 \end_inset
49532
49533
49534 \begin_inset CommandInset href
49535 LatexCommand href
49536 name "Options"
49537 target "https://www.ctan.org/tex-archive/indexing/makeindex/doc/manpages.dvi"
49538 literal "false"
49539
49540 \end_inset
49541
49542  for the program 
49543 \family sans
49544 makeindex
49545 \family default
49546 :
49547 \begin_inset Newline newline
49548 \end_inset
49549
49550
49551 \begin_inset Flex URL
49552 status collapsed
49553
49554 \begin_layout Plain Layout
49555
49556 https://www.ctan.org/tex-archive/indexing/makeindex/doc/manpages.dvi
49557 \end_layout
49558
49559 \end_inset
49560
49561
49562 \end_layout
49563
49564 \begin_layout Bibliography
49565 \begin_inset CommandInset bibitem
49566 LatexCommand bibitem
49567 key "xindy"
49568 literal "true"
49569
49570 \end_inset
49571
49572
49573 \begin_inset CommandInset href
49574 LatexCommand href
49575 name "Documentation"
49576 target "http://www.xindy.org/documentation.html"
49577 literal "false"
49578
49579 \end_inset
49580
49581  of the program 
49582 \family sans
49583 xindy
49584 \family default
49585 :
49586 \begin_inset Newline newline
49587 \end_inset
49588
49589
49590 \begin_inset Flex URL
49591 status collapsed
49592
49593 \begin_layout Plain Layout
49594
49595 http://www.xindy.org/documentation.html
49596 \end_layout
49597
49598 \end_inset
49599
49600
49601 \end_layout
49602
49603 \begin_layout Bibliography
49604 \begin_inset CommandInset bibitem
49605 LatexCommand bibitem
49606 key "AMS"
49607 literal "true"
49608
49609 \end_inset
49610
49611
49612 \begin_inset CommandInset href
49613 LatexCommand href
49614 name "Documentation"
49615 target "https://www.ams.org/publications/authors/tex/amslatex"
49616 literal "false"
49617
49618 \end_inset
49619
49620  of the AMS \SpecialChar LaTeX
49621 -packages:
49622 \begin_inset Newline newline
49623 \end_inset
49624
49625
49626 \begin_inset Flex URL
49627 status collapsed
49628
49629 \begin_layout Plain Layout
49630
49631 https://www.ams.org/publications/authors/tex/amslatex
49632 \end_layout
49633
49634 \end_inset
49635
49636
49637 \end_layout
49638
49639 \begin_layout Bibliography
49640 \begin_inset CommandInset bibitem
49641 LatexCommand bibitem
49642 key "caption"
49643 literal "true"
49644
49645 \end_inset
49646
49647
49648 \begin_inset CommandInset href
49649 LatexCommand href
49650 name "Documentation"
49651 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
49652 literal "false"
49653
49654 \end_inset
49655
49656  of the \SpecialChar LaTeX
49657  package 
49658 \series bold
49659 caption
49660 \series default
49661
49662 \begin_inset Index idx
49663 status collapsed
49664
49665 \begin_layout Plain Layout
49666 \SpecialChar LaTeX
49667  packages ! caption
49668 \end_layout
49669
49670 \end_inset
49671
49672 :
49673 \begin_inset Newline newline
49674 \end_inset
49675
49676
49677 \begin_inset Flex URL
49678 status collapsed
49679
49680 \begin_layout Plain Layout
49681
49682 https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf
49683 \end_layout
49684
49685 \end_inset
49686
49687
49688 \end_layout
49689
49690 \begin_layout Bibliography
49691 \begin_inset CommandInset bibitem
49692 LatexCommand bibitem
49693 key "enumitem"
49694 literal "true"
49695
49696 \end_inset
49697
49698
49699 \begin_inset CommandInset href
49700 LatexCommand href
49701 name "Documentation"
49702 target "https://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/enumitem.pdf"
49703 literal "false"
49704
49705 \end_inset
49706
49707  of the \SpecialChar LaTeX
49708  package 
49709 \series bold
49710 enumitem
49711 \series default
49712
49713 \begin_inset Index idx
49714 status collapsed
49715
49716 \begin_layout Plain Layout
49717 \SpecialChar LaTeX
49718  packages ! enumitem
49719 \end_layout
49720
49721 \end_inset
49722
49723 :
49724 \begin_inset Newline newline
49725 \end_inset
49726
49727
49728 \begin_inset Flex URL
49729 status collapsed
49730
49731 \begin_layout Plain Layout
49732
49733 https://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/enumitem.pdf
49734 \end_layout
49735
49736 \end_inset
49737
49738
49739 \end_layout
49740
49741 \begin_layout Bibliography
49742 \begin_inset CommandInset bibitem
49743 LatexCommand bibitem
49744 key "fancyhdr"
49745 literal "true"
49746
49747 \end_inset
49748
49749
49750 \begin_inset CommandInset href
49751 LatexCommand href
49752 name "Documentation"
49753 target "https://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
49754 literal "false"
49755
49756 \end_inset
49757
49758  of the \SpecialChar LaTeX
49759  package 
49760 \series bold
49761 fancyhdr
49762 \series default
49763
49764 \begin_inset Index idx
49765 status collapsed
49766
49767 \begin_layout Plain Layout
49768 \SpecialChar LaTeX
49769  packages ! fancyhdr
49770 \end_layout
49771
49772 \end_inset
49773
49774 :
49775 \begin_inset Newline newline
49776 \end_inset
49777
49778
49779 \begin_inset Flex URL
49780 status collapsed
49781
49782 \begin_layout Plain Layout
49783
49784 https://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
49785 \end_layout
49786
49787 \end_inset
49788
49789
49790 \end_layout
49791
49792 \begin_layout Bibliography
49793 \begin_inset CommandInset bibitem
49794 LatexCommand bibitem
49795 key "hyperref"
49796 literal "true"
49797
49798 \end_inset
49799
49800
49801 \begin_inset CommandInset href
49802 LatexCommand href
49803 name "Documentation"
49804 target "https://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf"
49805 literal "false"
49806
49807 \end_inset
49808
49809  of the \SpecialChar LaTeX
49810  package 
49811 \series bold
49812 hyperref
49813 \series default
49814
49815 \begin_inset Index idx
49816 status collapsed
49817
49818 \begin_layout Plain Layout
49819 \SpecialChar LaTeX
49820  packages ! hyperref
49821 \end_layout
49822
49823 \end_inset
49824
49825 :
49826 \begin_inset Newline newline
49827 \end_inset
49828
49829
49830 \begin_inset Flex URL
49831 status collapsed
49832
49833 \begin_layout Plain Layout
49834
49835 https://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf
49836 \end_layout
49837
49838 \end_inset
49839
49840
49841 \end_layout
49842
49843 \begin_layout Bibliography
49844 \begin_inset CommandInset bibitem
49845 LatexCommand bibitem
49846 key "microtype"
49847 literal "true"
49848
49849 \end_inset
49850
49851
49852 \begin_inset CommandInset href
49853 LatexCommand href
49854 name "Documentation"
49855 target "https://www.ctan.org/tex-archive/macros/latex/contrib/microtype/microtype.pdf"
49856 literal "false"
49857
49858 \end_inset
49859
49860  of the \SpecialChar LaTeX
49861  package 
49862 \series bold
49863 microtpye
49864 \series default
49865
49866 \begin_inset Index idx
49867 status collapsed
49868
49869 \begin_layout Plain Layout
49870 \SpecialChar LaTeX
49871  packages ! microtpye
49872 \end_layout
49873
49874 \end_inset
49875
49876 :
49877 \begin_inset Newline newline
49878 \end_inset
49879
49880
49881 \begin_inset Flex URL
49882 status collapsed
49883
49884 \begin_layout Plain Layout
49885
49886 https://www.ctan.org/tex-archive/macros/latex/contrib/microtype/microtype.pdf
49887 \end_layout
49888
49889 \end_inset
49890
49891
49892 \end_layout
49893
49894 \begin_layout Bibliography
49895 \begin_inset CommandInset bibitem
49896 LatexCommand bibitem
49897 key "nomencl"
49898 literal "true"
49899
49900 \end_inset
49901
49902
49903 \begin_inset CommandInset href
49904 LatexCommand href
49905 name "Documentation"
49906 target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
49907 literal "false"
49908
49909 \end_inset
49910
49911  of the \SpecialChar LaTeX
49912  package 
49913 \series bold
49914 nomencl
49915 \series default
49916
49917 \begin_inset Index idx
49918 status collapsed
49919
49920 \begin_layout Plain Layout
49921 \SpecialChar LaTeX
49922  packages ! nomencl
49923 \end_layout
49924
49925 \end_inset
49926
49927 :
49928 \begin_inset Newline newline
49929 \end_inset
49930
49931
49932 \begin_inset Flex URL
49933 status collapsed
49934
49935 \begin_layout Plain Layout
49936
49937 https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
49938 \end_layout
49939
49940 \end_inset
49941
49942
49943 \end_layout
49944
49945 \begin_layout Bibliography
49946 \begin_inset CommandInset bibitem
49947 LatexCommand bibitem
49948 key "prettyref"
49949 literal "true"
49950
49951 \end_inset
49952
49953
49954 \begin_inset CommandInset href
49955 LatexCommand href
49956 name "Documentation"
49957 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
49958 literal "false"
49959
49960 \end_inset
49961
49962  of the \SpecialChar LaTeX
49963  package 
49964 \series bold
49965 prettyref
49966 \series default
49967
49968 \begin_inset Index idx
49969 status collapsed
49970
49971 \begin_layout Plain Layout
49972 \SpecialChar LaTeX
49973  packages ! prettyref
49974 \end_layout
49975
49976 \end_inset
49977
49978 :
49979 \begin_inset Newline newline
49980 \end_inset
49981
49982
49983 \begin_inset Flex URL
49984 status collapsed
49985
49986 \begin_layout Plain Layout
49987
49988 https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
49989 \end_layout
49990
49991 \end_inset
49992
49993
49994 \end_layout
49995
49996 \begin_layout Bibliography
49997 \begin_inset CommandInset bibitem
49998 LatexCommand bibitem
49999 key "refstyle"
50000 literal "true"
50001
50002 \end_inset
50003
50004
50005 \begin_inset CommandInset href
50006 LatexCommand href
50007 name "Documentation"
50008 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50009 literal "false"
50010
50011 \end_inset
50012
50013  of the \SpecialChar LaTeX
50014  package 
50015 \series bold
50016 refstyle
50017 \series default
50018
50019 \begin_inset Index idx
50020 status collapsed
50021
50022 \begin_layout Plain Layout
50023 \SpecialChar LaTeX
50024  packages ! refstyle
50025 \end_layout
50026
50027 \end_inset
50028
50029 :
50030 \begin_inset Newline newline
50031 \end_inset
50032
50033
50034 \begin_inset Flex URL
50035 status collapsed
50036
50037 \begin_layout Plain Layout
50038
50039 https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf
50040 \end_layout
50041
50042 \end_inset
50043
50044
50045 \end_layout
50046
50047 \begin_layout Bibliography
50048 \begin_inset CommandInset bibitem
50049 LatexCommand bibitem
50050 key "Arabic"
50051 literal "true"
50052
50053 \end_inset
50054
50055
50056 \begin_inset CommandInset href
50057 LatexCommand href
50058 name "Wiki-page"
50059 target "https://wiki.lyx.org/Windows/Arabic"
50060 literal "false"
50061
50062 \end_inset
50063
50064  how to set up \SpecialChar LyX
50065  for Arabic:
50066 \begin_inset Newline newline
50067 \end_inset
50068
50069
50070 \begin_inset Flex URL
50071 status collapsed
50072
50073 \begin_layout Plain Layout
50074
50075 https://wiki.lyx.org/Windows/Arabic
50076 \end_layout
50077
50078 \end_inset
50079
50080
50081 \end_layout
50082
50083 \begin_layout Bibliography
50084 \begin_inset CommandInset bibitem
50085 LatexCommand bibitem
50086 key "Armenian"
50087 literal "true"
50088
50089 \end_inset
50090
50091
50092 \begin_inset CommandInset href
50093 LatexCommand href
50094 name "Wiki-page"
50095 target "https://wiki.lyx.org/Windows/Armenian"
50096 literal "false"
50097
50098 \end_inset
50099
50100  how to set up \SpecialChar LyX
50101  for Armenian:
50102 \begin_inset Newline newline
50103 \end_inset
50104
50105
50106 \begin_inset Flex URL
50107 status collapsed
50108
50109 \begin_layout Plain Layout
50110
50111 https://wiki.lyx.org/Windows/Armenian
50112 \end_layout
50113
50114 \end_inset
50115
50116
50117 \end_layout
50118
50119 \begin_layout Bibliography
50120 \begin_inset CommandInset bibitem
50121 LatexCommand bibitem
50122 key "Cyrillic"
50123 literal "true"
50124
50125 \end_inset
50126
50127
50128 \begin_inset CommandInset href
50129 LatexCommand href
50130 name "Wiki-page"
50131 target "https://wiki.lyx.org/Windows/Cyrillic"
50132 literal "false"
50133
50134 \end_inset
50135
50136  how to set up \SpecialChar LyX
50137  for Cyrillic languages:
50138 \begin_inset Newline newline
50139 \end_inset
50140
50141
50142 \begin_inset Flex URL
50143 status collapsed
50144
50145 \begin_layout Plain Layout
50146
50147 https://wiki.lyx.org/Windows/Cyrillic
50148 \end_layout
50149
50150 \end_inset
50151
50152
50153 \end_layout
50154
50155 \begin_layout Bibliography
50156 \begin_inset CommandInset bibitem
50157 LatexCommand bibitem
50158 key "Farsi"
50159 literal "true"
50160
50161 \end_inset
50162
50163
50164 \begin_inset CommandInset href
50165 LatexCommand href
50166 name "Wiki-page"
50167 target "https://wiki.lyx.org/Windows/Farsi"
50168 literal "false"
50169
50170 \end_inset
50171
50172  how to set up \SpecialChar LyX
50173  for Farsi:
50174 \begin_inset Newline newline
50175 \end_inset
50176
50177
50178 \begin_inset Flex URL
50179 status collapsed
50180
50181 \begin_layout Plain Layout
50182
50183 https://wiki.lyx.org/Windows/Farsi
50184 \end_layout
50185
50186 \end_inset
50187
50188
50189 \end_layout
50190
50191 \begin_layout Bibliography
50192 \begin_inset CommandInset bibitem
50193 LatexCommand bibitem
50194 key "Hebrew"
50195 literal "true"
50196
50197 \end_inset
50198
50199
50200 \begin_inset CommandInset href
50201 LatexCommand href
50202 name "Wiki-page"
50203 target "https://wiki.lyx.org/Windows/Hebrew"
50204 literal "false"
50205
50206 \end_inset
50207
50208  how to set up \SpecialChar LyX
50209  for Hebrew:
50210 \begin_inset Newline newline
50211 \end_inset
50212
50213
50214 \begin_inset Flex URL
50215 status collapsed
50216
50217 \begin_layout Plain Layout
50218
50219 https://wiki.lyx.org/Windows/Hebrew
50220 \end_layout
50221
50222 \end_inset
50223
50224
50225 \end_layout
50226
50227 \begin_layout Bibliography
50228 \begin_inset CommandInset bibitem
50229 LatexCommand bibitem
50230 key "Japanese"
50231 literal "true"
50232
50233 \end_inset
50234
50235
50236 \begin_inset CommandInset href
50237 LatexCommand href
50238 name "Wiki-page"
50239 target "https://wiki.lyx.org/Windows/Japanese"
50240 literal "false"
50241
50242 \end_inset
50243
50244  how to set up \SpecialChar LyX
50245  for Japanese:
50246 \begin_inset Newline newline
50247 \end_inset
50248
50249
50250 \begin_inset Flex URL
50251 status collapsed
50252
50253 \begin_layout Plain Layout
50254
50255 https://wiki.lyx.org/Windows/Japanese
50256 \end_layout
50257
50258 \end_inset
50259
50260
50261 \end_layout
50262
50263 \begin_layout Standard
50264 \begin_inset Newpage newpage
50265 \end_inset
50266
50267
50268 \begin_inset ERT
50269 status collapsed
50270
50271 \begin_layout Plain Layout
50272
50273
50274 \backslash
50275 let
50276 \backslash
50277 mybibname
50278 \backslash
50279 bibname
50280 \end_layout
50281
50282 \begin_layout Plain Layout
50283
50284
50285 \backslash
50286 renewcommand{
50287 \backslash
50288 bibname}{
50289 \backslash
50290 mybibname
50291 \backslash
50292 ; 2}
50293 \end_layout
50294
50295 \end_inset
50296
50297
50298 \begin_inset Note Note
50299 status collapsed
50300
50301 \begin_layout Plain Layout
50302 The command 
50303 \series bold
50304
50305 \backslash
50306 bibname
50307 \series default
50308  is the name of the bibliography in the current document language.
50309  It is redefined here with the number 2 at the end to state that the following
50310  bibliography is the second one:
50311 \end_layout
50312
50313 \end_inset
50314
50315
50316 \end_layout
50317
50318 \begin_layout Standard
50319 \begin_inset CommandInset bibtex
50320 LatexCommand bibtex
50321 bibfiles "biblio/LyXDocs"
50322 options "biblio/alphadin"
50323
50324 \end_inset
50325
50326
50327 \end_layout
50328
50329 \begin_layout Standard
50330 The above bibliography is created from a Bib\SpecialChar TeX
50331  database.
50332 \end_layout
50333
50334 \begin_layout Standard
50335 \begin_inset ERT
50336 status collapsed
50337
50338 \begin_layout Plain Layout
50339
50340
50341 \backslash
50342 renewcommand*{
50343 \backslash
50344 pagedeclaration}[1]{
50345 \end_layout
50346
50347 \begin_layout Plain Layout
50348
50349  
50350 \backslash
50351 unskip, 
50352 \backslash
50353 hyperlink{page.#1}{page
50354 \backslash
50355 nobreakspace{}#1}}
50356 \end_layout
50357
50358 \end_inset
50359
50360
50361 \begin_inset Note Note
50362 status collapsed
50363
50364 \begin_layout Plain Layout
50365 This command makes the page number a clickable hyperlink, see sec.
50366 \begin_inset space ~
50367 \end_inset
50368
50369
50370 \begin_inset CommandInset ref
50371 LatexCommand ref
50372 reference "subsec:Nomenclature-Options"
50373
50374 \end_inset
50375
50376  for more info.
50377 \end_layout
50378
50379 \end_inset
50380
50381
50382 \end_layout
50383
50384 \begin_layout Standard
50385 \begin_inset CommandInset nomencl_print
50386 LatexCommand printnomenclature
50387 set_width "auto"
50388
50389 \end_inset
50390
50391
50392 \begin_inset CommandInset index_print
50393 LatexCommand printindex
50394 type "idx"
50395 name "Index"
50396 literal "false"
50397
50398 \end_inset
50399
50400
50401 \end_layout
50402
50403 \end_body
50404 \end_document