]> git.lyx.org Git - features.git/blob - lib/doc/UserGuide.lyx
UserGuide.lyx: describe how to use hyperlinks for nomenclature
[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 http://wiki.lyx.org/\SpecialChar LyX
201 /DocumentationDevelopment#UserGuide
202 \end_layout
203
204 \end_inset
205
206
207 \end_layout
208
209 \begin_layout Standard
210 \begin_inset CommandInset toc
211 LatexCommand tableofcontents
212
213 \end_inset
214
215
216 \end_layout
217
218 \begin_layout Chapter
219 Getting Started
220 \end_layout
221
222 \begin_layout Section
223 What is \SpecialChar LyX
224 ?
225 \end_layout
226
227 \begin_layout Standard
228 \SpecialChar LyX
229  is a document preparation system.
230  It is a tool for producing beautiful manu\SpecialChar softhyphen
231 scripts, publishable books, business
232  letters and proposals, and even poetry.
233  It is unlike most other 
234 \begin_inset Quotes eld
235 \end_inset
236
237 word processors
238 \begin_inset Quotes erd
239 \end_inset
240
241  in the sense that it uses the paradigm of a markup language as its core
242  editing style.
243  That means that when you type a section header, you mark it as a 
244 \begin_inset Quotes eld
245 \end_inset
246
247 Section
248 \begin_inset Quotes erd
249 \end_inset
250
251 , not as 
252 \begin_inset Quotes eld
253 \end_inset
254
255 Bold, 17
256 \begin_inset space \thinspace{}
257 \end_inset
258
259 pt type, left justified, 5
260 \begin_inset space \thinspace{}
261 \end_inset
262
263 mm space below
264 \begin_inset Quotes erd
265 \end_inset
266
267 .
268  \SpecialChar LyX
269  takes care of the typesetting for you; so you deal only with concepts,
270  not with mechanics.
271 \end_layout
272
273 \begin_layout Standard
274 This philosophy is explained in greater detail in the 
275 \emph on
276 Introduction
277 \emph default
278  manual.
279  If you haven't read it yet, you need to.
280  Yes, we mean now.
281 \end_layout
282
283 \begin_layout Standard
284 The 
285 \emph on
286 Introduction
287 \emph default
288  manual describes several things in addition to \SpecialChar LyX
289 's philosophy: most importantly,
290  the format of all of the manuals.
291  If you don't read it, you will have a bear of a time navigating this manual.
292  You might also be better served looking in one of the other manuals instead
293  of this one.
294  The 
295 \emph on
296 Introduction
297 \emph default
298  manual describes that, too.
299 \end_layout
300
301 \begin_layout Section
302 How \SpecialChar LyX
303  Looks
304 \end_layout
305
306 \begin_layout Standard
307 Like most applications, \SpecialChar LyX
308  has the familiar menu bar across the top of its
309  window.
310  Below it is a toolbar with a pulldown box and various buttons.
311  There is, of course, a vertical scrollbar and a main work area for editing
312  documents.
313 \end_layout
314
315 \begin_layout Standard
316 Note that there is no horizontal scrollbar.
317  This is not a bug or an oversight, but intentional.
318  When you read a book, you expect the end of a line to wrap around to the
319  next line.
320  Text overflows onto new pages in a vertical fashion, hence the need for
321  only a vertical scrollbar.
322  There are three cases where you might want a horizontal scrollbar.
323  The first case is large images.
324  To avoid them being displayed larger than your screen, left click on the
325  image and use the option 
326 \family sans
327 Scale on Screen
328 \family default
329  in the tab 
330 \family sans
331 \SpecialChar LaTeX
332  and \SpecialChar LyX
333  options
334 \family default
335 .
336  The second and third cases are tables and equations which are wider than
337  the \SpecialChar LyX
338  window.
339  You can use the arrow keys to scroll horizontally through the table, but
340  this doesn't work for equations yet.
341 \end_layout
342
343 \begin_layout Standard
344 For a brief description of all \SpecialChar LyX
345  menus and toolbar buttons, have a look at
346  Appendix
347 \begin_inset space ~
348 \end_inset
349
350
351 \begin_inset CommandInset ref
352 LatexCommand ref
353 reference "chap:The-User-Interface"
354
355 \end_inset
356
357 .
358 \end_layout
359
360 \begin_layout Section
361 HELP
362 \end_layout
363
364 \begin_layout Standard
365 The help system consists of the \SpecialChar LyX
366  manuals.
367  You can read all of the manuals from inside \SpecialChar LyX
368 .
369  Just select the manual you want to read from the 
370 \family sans
371 Help
372 \family default
373  menu.
374 \end_layout
375
376 \begin_layout Section
377 Basic \SpecialChar LyX
378  Setup
379 \begin_inset CommandInset label
380 LatexCommand label
381 name "sec:Basic-LyX-Setup"
382
383 \end_inset
384
385
386 \end_layout
387
388 \begin_layout Standard
389 Almost all features of \SpecialChar LyX
390  can be configured via the menu 
391 \family sans
392 Tools\SpecialChar menuseparator
393 Preferences
394 \family default
395 .
396 \begin_inset Index idx
397 status collapsed
398
399 \begin_layout Plain Layout
400 Preferences
401 \end_layout
402
403 \end_inset
404
405  \SpecialChar LyX
406  is able to inspect your system to see what programs, \SpecialChar LaTeX
407  document classes
408  and \SpecialChar LaTeX
409  packages are available.
410  It uses this knowledge to give reasonable defaults for the preferences
411  settings.
412  Although this configuration has already been done when \SpecialChar LyX
413  was installed on
414  your system, you might have some items that you installed locally, e.
415 \begin_inset space \thinspace{}
416 \end_inset
417
418 g.
419 \begin_inset space \space{}
420 \end_inset
421
422 new \SpecialChar LaTeX
423  classes, and which are not seen by \SpecialChar LyX
424 .
425  To force \SpecialChar LyX
426  to re-inspect your system, you should use 
427 \family sans
428 Tools\SpecialChar menuseparator
429 Reconfigure
430 \family default
431 .
432 \begin_inset Index idx
433 status collapsed
434
435 \begin_layout Plain Layout
436 Reconfiguration of \SpecialChar LyX
437
438 \end_layout
439
440 \end_inset
441
442  You should then restart \SpecialChar LyX
443  to ensure that the changes are taken into account.
444 \end_layout
445
446 \begin_layout Section
447 \SpecialChar LaTeX
448  Setup
449 \begin_inset CommandInset label
450 LatexCommand label
451 name "sec:LaTeX-Setup"
452
453 \end_inset
454
455
456 \end_layout
457
458 \begin_layout Standard
459 You can edit documents in \SpecialChar LyX
460  without having \SpecialChar LaTeX
461  installed, but you will not be
462  able to create PDFs or print your documents unless you do have it installed.
463  However, some \SpecialChar LyX
464  documents use DocBook as the “backend” that can produce
465  PDFs and the like, and every \SpecialChar LyX
466  document can always be output as plain text
467  or as XHTML.
468 \end_layout
469
470 \begin_layout Standard
471 Some document classes may depend upon specific \SpecialChar LaTeX
472  or DocBook classes or packages.
473  Such document classes can be used even if you do not have the required
474  files installed, but you will not be able to produce certain kinds of output.
475 \end_layout
476
477 \begin_layout Standard
478 The \SpecialChar LaTeX
479  packages that \SpecialChar LyX
480  has found on your system are listed in a file you can
481  view from the menu 
482 \family sans
483 Help\SpecialChar menuseparator
484 LaTeX
485 \begin_inset space ~
486 \end_inset
487
488 Configuration
489 \family default
490 .
491  If you are missing packages you need, then you must install them and then
492  reconfigure \SpecialChar LyX
493  (menu 
494 \family sans
495 Tools\SpecialChar menuseparator
496 Reconfigure
497 \family default
498 ).
499 \begin_inset Index idx
500 status collapsed
501
502 \begin_layout Plain Layout
503 Reconfiguration of \SpecialChar LyX
504
505 \end_layout
506
507 \end_inset
508
509  See section 
510 \emph on
511 Installing new \SpecialChar LaTeX
512  files
513 \emph default
514  of the 
515 \emph on
516 Customization
517 \emph default
518  manual for more information on installing additional \SpecialChar LaTeX
519  packages.
520 \end_layout
521
522 \begin_layout Chapter
523 How to work with \SpecialChar LyX
524
525 \end_layout
526
527 \begin_layout Section
528 Basic File Operations
529 \begin_inset Index idx
530 status collapsed
531
532 \begin_layout Plain Layout
533 File Operations
534 \end_layout
535
536 \end_inset
537
538
539 \end_layout
540
541 \begin_layout Standard
542 Under the 
543 \family sans
544 File
545 \family default
546  menu and in the standard toolbar are basic operations for any word processor
547  in addition to some more advanced operations:
548 \end_layout
549
550 \begin_layout Itemize
551
552 \family sans
553 New, 
554 \family default
555
556 \begin_inset Info
557 type  "shortcut"
558 arg   "buffer-new"
559 \end_inset
560
561  or
562 \family sans
563  
564 \begin_inset Info
565 type  "icon"
566 arg   "buffer-new"
567 \end_inset
568
569
570 \end_layout
571
572 \begin_layout Itemize
573
574 \family sans
575 New
576 \begin_inset space ~
577 \end_inset
578
579 from
580 \begin_inset space ~
581 \end_inset
582
583 Template, 
584 \family default
585
586 \begin_inset Info
587 type  "shortcut"
588 arg   "buffer-new-template"
589 \end_inset
590
591
592 \end_layout
593
594 \begin_layout Itemize
595
596 \family sans
597 Open, 
598 \family default
599
600 \begin_inset Info
601 type  "shortcut"
602 arg   "file-open"
603 \end_inset
604
605  or
606 \family sans
607  
608 \begin_inset Info
609 type  "icon"
610 arg   "file-open"
611 \end_inset
612
613
614 \end_layout
615
616 \begin_layout Itemize
617
618 \family sans
619 Open
620 \begin_inset space ~
621 \end_inset
622
623 Recent
624 \end_layout
625
626 \begin_layout Itemize
627
628 \family sans
629 Close, 
630 \family default
631
632 \begin_inset Info
633 type  "shortcut"
634 arg   "view-close"
635 \end_inset
636
637
638 \end_layout
639
640 \begin_layout Itemize
641
642 \family sans
643 Save, 
644 \family default
645
646 \begin_inset Info
647 type  "shortcut"
648 arg   "buffer-write"
649 \end_inset
650
651  or
652 \family sans
653  
654 \begin_inset Info
655 type  "icon"
656 arg   "buffer-write"
657 \end_inset
658
659
660 \end_layout
661
662 \begin_layout Itemize
663
664 \family sans
665 Save
666 \begin_inset space ~
667 \end_inset
668
669 As, 
670 \family default
671
672 \begin_inset Info
673 type  "shortcut"
674 arg   "buffer-write-as"
675 \end_inset
676
677
678 \end_layout
679
680 \begin_layout Itemize
681
682 \family sans
683 Revert
684 \begin_inset space ~
685 \end_inset
686
687 to
688 \begin_inset space ~
689 \end_inset
690
691 saved
692 \end_layout
693
694 \begin_layout Itemize
695
696 \family sans
697 Exit, 
698 \family default
699
700 \begin_inset Info
701 type  "shortcut"
702 arg   "lyx-quit"
703 \end_inset
704
705
706 \end_layout
707
708 \begin_layout Standard
709 They all do pretty much the same thing as in other word processors, with
710  a few minor differences.
711  The 
712 \family sans
713 File\SpecialChar menuseparator
714 New
715 \begin_inset space ~
716 \end_inset
717
718 from
719 \begin_inset space ~
720 \end_inset
721
722 Template
723 \family default
724  command lists the available templates.
725  Selecting a template will automatically set certain layout features for
726  the document, features you would otherwise need to change manually.
727  They can be of use for certain classes, especially those for writing letters
728  (see section
729 \begin_inset space ~
730 \end_inset
731
732
733 \begin_inset CommandInset ref
734 LatexCommand ref
735 reference "sec:Document-Classes"
736
737 \end_inset
738
739 ).
740 \end_layout
741
742 \begin_layout Standard
743 \begin_inset Note Greyedout
744 status open
745
746 \begin_layout Plain Layout
747
748 \series bold
749 Note:
750 \series default
751  There is no 
752 \begin_inset Quotes eld
753 \end_inset
754
755 default file
756 \begin_inset Quotes erd
757 \end_inset
758
759  or document named 
760 \begin_inset Quotes eld
761 \end_inset
762
763 Untitled
764 \begin_inset Quotes erd
765 \end_inset
766
767  or 
768 \begin_inset Quotes eld
769 \end_inset
770
771 scratch.
772 \begin_inset Quotes erd
773 \end_inset
774
775  Unless you tell \SpecialChar LyX
776  to open a file or create a new one, that big, blank space
777  is just that — a big, blank space.
778 \end_layout
779
780 \end_inset
781
782
783 \end_layout
784
785 \begin_layout Standard
786
787 \family sans
788 Revert
789 \begin_inset space ~
790 \end_inset
791
792 to
793 \begin_inset space ~
794 \end_inset
795
796 saved
797 \family default
798  and 
799 \family sans
800 Version
801 \begin_inset space ~
802 \end_inset
803
804 Control
805 \family default
806  are useful if more people work on the same document at the same time.
807 \begin_inset Foot
808 status collapsed
809
810 \begin_layout Plain Layout
811 If you plan to do this, you should check out the Version Control feature
812  in \SpecialChar LyX
813  also.
814  Read Additional Features\SpecialChar endofsentence
815
816 \end_layout
817
818 \end_inset
819
820  
821 \family sans
822 Revert
823 \begin_inset space ~
824 \end_inset
825
826 to
827 \begin_inset space ~
828 \end_inset
829
830 saved
831 \family default
832  will reload the document from disk.
833  You can of course also use it if you regret that you changed a document
834  and want to restore it to the last save.
835  With
836 \family sans
837  Version
838 \begin_inset space ~
839 \end_inset
840
841 Control 
842 \family default
843 you can register the changes you made to a document so that others can identify
844  them as your changes.
845 \end_layout
846
847 \begin_layout Section
848 Basic Editing Features
849 \begin_inset Index idx
850 status collapsed
851
852 \begin_layout Plain Layout
853 Editing
854 \end_layout
855
856 \end_inset
857
858
859 \begin_inset CommandInset label
860 LatexCommand label
861 name "sec:Basic-Editing-Features"
862
863 \end_inset
864
865
866 \end_layout
867
868 \begin_layout Standard
869 Like most modern word processors, \SpecialChar LyX
870  can perform cut and paste operations
871  on blocks of text, can move by character, word, or page of text, and can
872  delete whole words as well as individual characters.
873  The next four sections cover the basic \SpecialChar LyX
874  editing features and how to access
875  them.
876  We will start with cut and paste.
877 \end_layout
878
879 \begin_layout Standard
880 As you might expect, the 
881 \family sans
882 Edit
883 \family default
884  menu and the standard toolbar has the cut and paste commands, along with
885  various other editing features.
886  Some of these are special and covered in later sections.
887  The basic ones are:
888 \end_layout
889
890 \begin_layout Itemize
891
892 \family sans
893 Cut
894 \family default
895
896 \begin_inset Index idx
897 status collapsed
898
899 \begin_layout Plain Layout
900 Cut
901 \end_layout
902
903 \end_inset
904
905
906 \family sans
907
908 \family default
909
910 \begin_inset Info
911 type  "shortcut"
912 arg   "cut"
913 \end_inset
914
915  or
916 \family sans
917  
918 \family default
919
920 \begin_inset Info
921 type  "icon"
922 arg   "cut"
923 \end_inset
924
925
926 \end_layout
927
928 \begin_layout Itemize
929
930 \family sans
931 Copy
932 \family default
933
934 \begin_inset Index idx
935 status collapsed
936
937 \begin_layout Plain Layout
938 Copy
939 \end_layout
940
941 \end_inset
942
943
944 \family sans
945
946 \family default
947
948 \begin_inset Info
949 type  "shortcut"
950 arg   "copy"
951 \end_inset
952
953  or
954 \family sans
955  
956 \family default
957
958 \begin_inset Info
959 type  "icon"
960 arg   "copy"
961 \end_inset
962
963
964 \end_layout
965
966 \begin_layout Itemize
967
968 \family sans
969 Paste
970 \family default
971
972 \begin_inset Index idx
973 status collapsed
974
975 \begin_layout Plain Layout
976 Paste
977 \end_layout
978
979 \end_inset
980
981
982 \begin_inset Info
983 type  "shortcut"
984 arg   "paste"
985 \end_inset
986
987  or
988 \family sans
989  
990 \family default
991
992 \begin_inset Info
993 type  "icon"
994 arg   "paste"
995 \end_inset
996
997
998 \end_layout
999
1000 \begin_layout Itemize
1001
1002 \family sans
1003 Paste
1004 \begin_inset space ~
1005 \end_inset
1006
1007 Recent
1008 \end_layout
1009
1010 \begin_layout Itemize
1011
1012 \family sans
1013 Paste
1014 \begin_inset space ~
1015 \end_inset
1016
1017 Special
1018 \end_layout
1019
1020 \begin_layout Itemize
1021
1022 \family sans
1023 Find
1024 \begin_inset space ~
1025 \end_inset
1026
1027 &
1028 \begin_inset space ~
1029 \end_inset
1030
1031 Replace
1032 \family default
1033
1034 \begin_inset Index idx
1035 status collapsed
1036
1037 \begin_layout Plain Layout
1038
1039 \family sans
1040 Find
1041 \end_layout
1042
1043 \end_inset
1044
1045
1046 \begin_inset Index idx
1047 status collapsed
1048
1049 \begin_layout Plain Layout
1050
1051 \family sans
1052 Replace
1053 \end_layout
1054
1055 \end_inset
1056
1057
1058 \family sans
1059
1060 \family default
1061
1062 \begin_inset Info
1063 type  "shortcut"
1064 arg   "dialog-show findreplaceadv"
1065 \end_inset
1066
1067  or
1068 \family sans
1069  
1070 \family default
1071
1072 \begin_inset Info
1073 type  "icon"
1074 arg   "dialog-show findreplace"
1075 \end_inset
1076
1077
1078 \end_layout
1079
1080 \begin_layout Standard
1081 The first three are self-explanatory.
1082  You can also copy text between \SpecialChar LyX
1083  and other programs by 
1084 \family sans
1085 Cut
1086 \family default
1087
1088 \family sans
1089 Copy
1090 \family default
1091  and 
1092 \family sans
1093 Paste
1094 \family default
1095 .
1096  
1097 \family sans
1098 Cut
1099 \family default
1100  and 
1101 \family sans
1102 Copy
1103 \family default
1104  put text in two versions into the clipboard (formatted and unformatted),
1105  so that other programs can choose the most suitable form.
1106  
1107 \family sans
1108 Paste
1109 \family default
1110  supports formatted and unformatted text as well, and additionally graphics.
1111  It tries to interpret the clipboard contents in an intelligent way.
1112  For example if the clipboard contains text in the format of comma separated
1113  values (CSV) and the cursor is inside a table, the text will be pasted
1114  into individual cells.
1115  The submenu of 
1116 \family sans
1117 Paste
1118 \begin_inset space ~
1119 \end_inset
1120
1121 Recent
1122 \family default
1123  shows you a list with the last strings you have pasted.
1124  You can insert one at the current cursor position by clicking on a list
1125  entry.
1126 \end_layout
1127
1128 \begin_layout Standard
1129 The submenu 
1130 \family sans
1131 Paste
1132 \begin_inset space ~
1133 \end_inset
1134
1135 Special
1136 \family default
1137  contains optional items for specific formats, depending on the clipboard
1138  contents.
1139  These include HTML, \SpecialChar LaTeX
1140 , Linkback
1141 \begin_inset space ~
1142 \end_inset
1143
1144 PDF
1145 \begin_inset Foot
1146 status collapsed
1147
1148 \begin_layout Plain Layout
1149 OS X only
1150 \end_layout
1151
1152 \end_inset
1153
1154 , PDF, PNG, JPEG and EMF.
1155  These menu items are useful if the clipboard contains the same contents
1156  in different formats, and you want to select one format explicitly.
1157  (E.
1158 \begin_inset space \thinspace{}
1159 \end_inset
1160
1161 g.
1162 \begin_inset space \space{}
1163 \end_inset
1164
1165 some programs put an image into the clipboard as graphics and as a short
1166  text which is often meaningless.) The menu item 
1167 \family sans
1168 Paste
1169 \begin_inset space ~
1170 \end_inset
1171
1172 Special\SpecialChar menuseparator
1173 Plain
1174 \begin_inset space ~
1175 \end_inset
1176
1177 Text,
1178 \begin_inset space \thinspace{}
1179 \end_inset
1180
1181 Join
1182 \begin_inset space ~
1183 \end_inset
1184
1185 Lines
1186 \family default
1187  is equivalent to 
1188 \family sans
1189 Paste
1190 \family default
1191 , with the only difference that it acts on text only.
1192  It will insert the text in the clipboard so that the whole text is inserted
1193  as one paragraph.
1194  A new paragraph is only started when there is a blank line in the text.
1195  Without 
1196 \family sans
1197 Join
1198 \begin_inset space ~
1199 \end_inset
1200
1201 Lines
1202 \family default
1203  the text is inserted as paragraphs where the line breaks of the text will
1204  start a new paragraph.
1205  This is for example useful to copy contents of tables from webpages to
1206  a table in \SpecialChar LyX
1207 .
1208  The items 
1209 \family sans
1210 Paste
1211 \begin_inset space ~
1212 \end_inset
1213
1214 Special\SpecialChar menuseparator
1215 Selection,
1216 \begin_inset space \thinspace{}
1217 \end_inset
1218
1219 Join
1220 \begin_inset space ~
1221 \end_inset
1222
1223 Lines
1224 \family default
1225  and 
1226 \family sans
1227 Paste
1228 \begin_inset space ~
1229 \end_inset
1230
1231 Special\SpecialChar menuseparator
1232 Selection
1233 \family default
1234  paste from the primary selection.
1235  This is normally the currently selected text.
1236 \end_layout
1237
1238 \begin_layout Standard
1239 The 
1240 \family sans
1241 Edit\SpecialChar menuseparator
1242 Find
1243 \begin_inset space ~
1244 \end_inset
1245
1246 &
1247 \begin_inset space ~
1248 \end_inset
1249
1250 Replace
1251 \family default
1252  item opens the 
1253 \family sans
1254 Find
1255 \begin_inset space ~
1256 \end_inset
1257
1258 and
1259 \begin_inset space ~
1260 \end_inset
1261
1262 Replace
1263 \family default
1264  dialog.
1265  Once you have found a word or expression, \SpecialChar LyX
1266  selects it.
1267  Hitting the 
1268 \family sans
1269 Replace
1270 \family default
1271  button replaces the selected text with the contents of the 
1272 \family sans
1273 Replace
1274 \begin_inset space ~
1275 \end_inset
1276
1277 with
1278 \family default
1279  field.
1280  You can click the 
1281 \family sans
1282 Find
1283 \begin_inset space ~
1284 \end_inset
1285
1286 Next
1287 \family default
1288  button to skip the current word.
1289  Hit 
1290 \family sans
1291 Replace
1292 \begin_inset space ~
1293 \end_inset
1294
1295 All
1296 \family default
1297  to replace all occurrences of the text in the document automatically.
1298  The 
1299 \family sans
1300 Case
1301 \begin_inset space ~
1302 \end_inset
1303
1304 sensitive
1305 \family default
1306  option can be used if you want the search to consider the case of the search
1307  word.
1308  If the toggle is set, searching for 
1309 \begin_inset Quotes eld
1310 \end_inset
1311
1312
1313 \family typewriter
1314 Test
1315 \family default
1316
1317 \begin_inset Quotes erd
1318 \end_inset
1319
1320  will not match the word 
1321 \begin_inset Quotes eld
1322 \end_inset
1323
1324
1325 \family typewriter
1326 test
1327 \family default
1328
1329 \begin_inset Quotes erd
1330 \end_inset
1331
1332 .
1333  The 
1334 \family sans
1335 Match whole words only
1336 \family default
1337  option can be used to force \SpecialChar LyX
1338  to only find complete words, e.
1339 \begin_inset space \thinspace{}
1340 \end_inset
1341
1342 g., searching for 
1343 \begin_inset Quotes eld
1344 \end_inset
1345
1346
1347 \family typewriter
1348 star
1349 \family default
1350
1351 \begin_inset Quotes erd
1352 \end_inset
1353
1354  will not match 
1355 \begin_inset Quotes eld
1356 \end_inset
1357
1358
1359 \family typewriter
1360 starlet
1361 \family default
1362
1363 \begin_inset Quotes erd
1364 \end_inset
1365
1366 .
1367  \SpecialChar LyX
1368  offers also an advanced 
1369 \family sans
1370 Find
1371 \begin_inset space ~
1372 \end_inset
1373
1374 &
1375 \begin_inset space ~
1376 \end_inset
1377
1378 Replace
1379 \family default
1380  feature that is described in section
1381 \begin_inset space ~
1382 \end_inset
1383
1384
1385 \begin_inset CommandInset ref
1386 LatexCommand ref
1387 reference "sec:Advanced-Find-and"
1388
1389 \end_inset
1390
1391 .
1392 \end_layout
1393
1394 \begin_layout Standard
1395 Things like notes, floats, etc.
1396 \begin_inset space \space{}
1397 \end_inset
1398
1399 (the so called 
1400 \begin_inset Quotes eld
1401 \end_inset
1402
1403 insets
1404 \begin_inset Quotes erd
1405 \end_inset
1406
1407 ) can be dissolved.
1408  This means that the inset is deleted and its content is left as normal
1409  text.
1410  Dissolving an inset is done by setting the cursor to the beginning of an
1411  inset and pressing 
1412 \family sans
1413 Backspace
1414 \family default
1415  or by setting the cursor to the end and pressing 
1416 \family sans
1417 Delete
1418 \family default
1419 .
1420 \end_layout
1421
1422 \begin_layout Standard
1423 Using the shortcut 
1424 \begin_inset Info
1425 type  "shortcuts"
1426 arg   "inset-select-all"
1427 \end_inset
1428
1429  while the cursor is in normal text selects the whole document.
1430  When the cursor is inside an inset 
1431 \begin_inset Info
1432 type  "shortcuts"
1433 arg   "inset-select-all"
1434 \end_inset
1435
1436  selects the content of the inset.
1437  Using 
1438 \begin_inset Info
1439 type  "shortcuts"
1440 arg   "inset-select-all"
1441 \end_inset
1442
1443  consecutively will increase the selection to the whole inset and then to
1444  the whole document.
1445  The shortcut 
1446 \begin_inset Info
1447 type  "shortcuts"
1448 arg   "command-sequence buffer-begin ; buffer-end-select"
1449 \end_inset
1450
1451  selects the whole document in every case and puts the cursor to the end
1452  of the document.
1453 \end_layout
1454
1455 \begin_layout Section
1456 Undo and Redo
1457 \begin_inset Index idx
1458 status collapsed
1459
1460 \begin_layout Plain Layout
1461 Redo
1462 \end_layout
1463
1464 \end_inset
1465
1466
1467 \begin_inset Index idx
1468 status collapsed
1469
1470 \begin_layout Plain Layout
1471 Undo
1472 \end_layout
1473
1474 \end_inset
1475
1476
1477 \begin_inset CommandInset label
1478 LatexCommand label
1479 name "sec:Undo-and-Redo"
1480
1481 \end_inset
1482
1483
1484 \end_layout
1485
1486 \begin_layout Standard
1487 If you make a mistake, you can easily recover from it.
1488  \SpecialChar LyX
1489  has a large-capacity undo/redo buffer.
1490  Select 
1491 \family sans
1492 Edit\SpecialChar menuseparator
1493 Undo
1494 \family default
1495  or the toolbar button 
1496 \begin_inset Info
1497 type  "icon"
1498 arg   "undo"
1499 \end_inset
1500
1501  to undo some mistake.
1502  If you accidentally undo too much, use 
1503 \family sans
1504 Edit\SpecialChar menuseparator
1505 Redo
1506 \family default
1507  or the toolbar button 
1508 \begin_inset Info
1509 type  "icon"
1510 arg   "redo"
1511 \end_inset
1512
1513  to 
1514 \begin_inset Quotes eld
1515 \end_inset
1516
1517 undo the undo.
1518 \begin_inset Quotes erd
1519 \end_inset
1520
1521  The undo mechanism is currently limited to 100
1522 \begin_inset space \thinspace{}
1523 \end_inset
1524
1525 steps to minimize memory overhead.
1526 \end_layout
1527
1528 \begin_layout Standard
1529 Note that if you revert back all changes to arrive at the document as it
1530  was last saved, the 
1531 \begin_inset Quotes eld
1532 \end_inset
1533
1534 changed
1535 \begin_inset Quotes erd
1536 \end_inset
1537
1538  status of the document is unfortunately not reset.
1539  This is a consequence of the 100
1540 \begin_inset space \thinspace{}
1541 \end_inset
1542
1543 step undo limit mentioned above.
1544 \end_layout
1545
1546 \begin_layout Standard
1547
1548 \family sans
1549 Undo
1550 \family default
1551  and 
1552 \family sans
1553 Redo
1554 \family default
1555  work on almost everything in \SpecialChar LyX
1556 .
1557  But they will not undo or redo text character by character, but by blocks
1558  of text.
1559 \end_layout
1560
1561 \begin_layout Section
1562 Mouse Operations
1563 \begin_inset Index idx
1564 status collapsed
1565
1566 \begin_layout Plain Layout
1567 Mouse Operations
1568 \end_layout
1569
1570 \end_inset
1571
1572
1573 \end_layout
1574
1575 \begin_layout Standard
1576 These are the most basic mouse operations.
1577 \end_layout
1578
1579 \begin_layout Enumerate
1580 Motion
1581 \end_layout
1582
1583 \begin_deeper
1584 \begin_layout Itemize
1585 Click the 
1586 \emph on
1587 left mouse button
1588 \emph default
1589  once anywhere in the edit window.
1590  The cursor moves to the text under the mouse.
1591 \end_layout
1592
1593 \end_deeper
1594 \begin_layout Enumerate
1595 Selecting Text
1596 \end_layout
1597
1598 \begin_deeper
1599 \begin_layout Itemize
1600 Hold down the 
1601 \emph on
1602 left mouse button
1603 \emph default
1604  and drag the mouse.
1605  \SpecialChar LyX
1606  marks the text between the old and new mouse positions.
1607  Use 
1608 \family sans
1609 Edit\SpecialChar menuseparator
1610 Copy
1611 \family default
1612  to create a copy of the text in \SpecialChar LyX
1613 's buffer (and the clipboard).
1614 \end_layout
1615
1616 \begin_layout Itemize
1617 Re-position the cursor and then paste the text back into \SpecialChar LyX
1618  using 
1619 \family sans
1620 Edit\SpecialChar menuseparator
1621 Paste
1622 \family default
1623 .
1624 \end_layout
1625
1626 \end_deeper
1627 \begin_layout Enumerate
1628 Insets (Footnotes, Notes, Floats, etc.)
1629 \end_layout
1630
1631 \begin_deeper
1632 \begin_layout Standard
1633 Right-click on them to set their properties.
1634  Also check the appropriate section of this manual for more details.
1635 \end_layout
1636
1637 \end_deeper
1638 \begin_layout Section
1639 Navigating
1640 \begin_inset CommandInset label
1641 LatexCommand label
1642 name "sec:Navigating"
1643
1644 \end_inset
1645
1646
1647 \begin_inset Index idx
1648 status collapsed
1649
1650 \begin_layout Plain Layout
1651 Navigating
1652 \end_layout
1653
1654 \end_inset
1655
1656
1657 \end_layout
1658
1659 \begin_layout Standard
1660 \SpecialChar LyX
1661  offers you several ways to navigate in documents:
1662 \end_layout
1663
1664 \begin_layout Itemize
1665 The 
1666 \family sans
1667 Navigate
1668 \family default
1669  menu lists all sections of the document as submenu entries that you can
1670  click to jump to the corresponding document part.
1671 \end_layout
1672
1673 \begin_layout Itemize
1674 The “Outline”, which is accessed either by the menu 
1675 \family sans
1676 View\SpecialChar menuseparator
1677 Outline
1678 \begin_inset space ~
1679 \end_inset
1680
1681 Pane
1682 \family default
1683  or by the toolbar button 
1684 \begin_inset Info
1685 type  "icon"
1686 arg   "dialog-toggle toc"
1687 \end_inset
1688
1689 .
1690 \end_layout
1691
1692 \begin_layout Itemize
1693 You can set bookmarks in your document under 
1694 \family sans
1695 Navigate\SpecialChar menuseparator
1696 Bookmarks
1697 \family default
1698  and use the same menu to return to them.
1699  Note that bookmarks are saved between sessions.
1700 \end_layout
1701
1702 \begin_layout Standard
1703 The toolbar button 
1704 \begin_inset Info
1705 type  "icon"
1706 arg   "bookmark-goto 0"
1707 \end_inset
1708
1709  (also 
1710 \family sans
1711 Navigate\SpecialChar menuseparator
1712 Bookmarks\SpecialChar menuseparator
1713 Navigate
1714 \begin_inset space ~
1715 \end_inset
1716
1717 Back
1718 \family default
1719 ) jumps to the position in the document where you recently changed something.
1720  This is useful when you have a large document and have navigated or scrolled
1721  to another document part to look for something, and want to go back to
1722  your last editing position.
1723 \end_layout
1724
1725 \begin_layout Standard
1726 By pressing the 
1727 \family sans
1728 F5
1729 \family default
1730  key the cursor will be vertically centered in \SpecialChar LyX
1731 's main window.
1732 \end_layout
1733
1734 \begin_layout Subsection
1735 The Outliner
1736 \begin_inset CommandInset label
1737 LatexCommand label
1738 name "subsec:The-Outliner"
1739
1740 \end_inset
1741
1742
1743 \begin_inset Index idx
1744 status collapsed
1745
1746 \begin_layout Plain Layout
1747 Navigating ! Outline
1748 \end_layout
1749
1750 \end_inset
1751
1752
1753 \begin_inset Index idx
1754 status collapsed
1755
1756 \begin_layout Plain Layout
1757 Outline
1758 \end_layout
1759
1760 \end_inset
1761
1762
1763 \end_layout
1764
1765 \begin_layout Standard
1766 In the pull-down box at the top of the outline window, you can choose between
1767  several different lists, including other TOC-like objects, such as lists
1768  of tables and figures, but also lists of footnotes, or labels and cross-referen
1769 ces (see section
1770 \begin_inset space ~
1771 \end_inset
1772
1773
1774 \begin_inset CommandInset ref
1775 LatexCommand ref
1776 reference "sec:Cross-References"
1777
1778 \end_inset
1779
1780 ), or notes, or citations (see section
1781 \begin_inset space ~
1782 \end_inset
1783
1784
1785 \begin_inset CommandInset ref
1786 LatexCommand ref
1787 reference "sec:Bibliography"
1788
1789 \end_inset
1790
1791 ).
1792  Clicking on any of these will take you to the corresponding object in your
1793  document.
1794 \end_layout
1795
1796 \begin_layout Standard
1797 Right-clicking on elements in the Outline opens in many cases a context
1798  menu that will allow for direct modification of those elements.
1799  For example, with citations, the context menu allows you to open the citation
1800  dialog and to modify the citation.
1801 \end_layout
1802
1803 \begin_layout Standard
1804 The 
1805 \family sans
1806 Filter
1807 \family default
1808  field at the top allows you to restrict which entries appear in the outline.
1809  For example, if you are displaying the list of 
1810 \emph on
1811 Labels and References
1812 \emph default
1813  and wish to see only references to subsections, you can enter the text
1814  
1815 \begin_inset Quotes eld
1816 \end_inset
1817
1818 sub
1819 \begin_inset Quotes erd
1820 \end_inset
1821
1822  in the filter, and only entries containing that text will be displayed.
1823 \end_layout
1824
1825 \begin_layout Standard
1826 At the bottom of the outline are several buttons and the like that allow
1827  you further to control the display.
1828  The 
1829 \family sans
1830 Sort
1831 \family default
1832  option sorts the current list alphabetically.
1833  Otherwise, the elements appear in the order in which they occur in the
1834  document.
1835  The 
1836 \family sans
1837 Keep
1838 \family default
1839  option keeps it in the current view state.
1840  Keeping means that when you have, for example, the subsections of sections
1841 \begin_inset space ~
1842 \end_inset
1843
1844 2 and 4 displayed and click on section
1845 \begin_inset space ~
1846 \end_inset
1847
1848 3, the subsections of sections
1849 \begin_inset space ~
1850 \end_inset
1851
1852 2 and 4 will still be displayed.
1853  Without the 
1854 \family sans
1855 Keep
1856 \family default
1857  option they will be hidden to highlight the clicked section
1858 \begin_inset space ~
1859 \end_inset
1860
1861 3.
1862  Finally, the slider at the left can be used to open the Outline to a given
1863  
1864 \begin_inset Quotes eld
1865 \end_inset
1866
1867 depth
1868 \begin_inset Quotes erd
1869 \end_inset
1870
1871 .
1872  It is best just to experiment with it to see how it works.
1873 \end_layout
1874
1875 \begin_layout Standard
1876 The 
1877 \begin_inset Info
1878 type  "icon"
1879 arg   "reload"
1880 \end_inset
1881
1882  button refreshes the TOC (though this should not usually be necessary).
1883  Next to it are buttons that allow you to change the position of sections
1884  in your document.
1885  The 
1886 \begin_inset Info
1887 type  "icon"
1888 arg   "outline-down"
1889 \end_inset
1890
1891  and 
1892 \begin_inset Info
1893 type  "icon"
1894 arg   "outline-up"
1895 \end_inset
1896
1897  buttons move sections up and down in the document.
1898  So, for example, you can move section
1899 \begin_inset space ~
1900 \end_inset
1901
1902 2.5 before section
1903 \begin_inset space ~
1904 \end_inset
1905
1906 2.4 or after section
1907 \begin_inset space ~
1908 \end_inset
1909
1910 2.6.
1911  \SpecialChar LyX
1912  will then automatically renumber the sections to the new order.
1913  With the buttons 
1914 \begin_inset Info
1915 type  "icon"
1916 arg   "outline-out"
1917 \end_inset
1918
1919  and 
1920 \begin_inset Info
1921 type  "icon"
1922 arg   "outline-in"
1923 \end_inset
1924
1925  (or the corresponding key bindings 
1926 \family sans
1927 Tab
1928 \family default
1929  and 
1930 \family sans
1931 Shift-Tab
1932 \family default
1933 ) you can change the level of sections.
1934  So you can for example make section
1935 \begin_inset space ~
1936 \end_inset
1937
1938 2.5 chapter
1939 \begin_inset space ~
1940 \end_inset
1941
1942 3 or subsection
1943 \begin_inset space ~
1944 \end_inset
1945
1946 2.4.1.
1947 \end_layout
1948
1949 \begin_layout Standard
1950 By right-clicking on a section in the outliner you can select the whole
1951  section to copy, cut or delete it.
1952 \end_layout
1953
1954 \begin_layout Subsection
1955 Horizontal Scrolling
1956 \begin_inset Index idx
1957 status collapsed
1958
1959 \begin_layout Plain Layout
1960 Navigating ! Horizontal Scrolling
1961 \end_layout
1962
1963 \end_inset
1964
1965
1966 \end_layout
1967
1968 \begin_layout Standard
1969 \SpecialChar LyX
1970  does not have a horizontal scrollbar because the standard output page formats
1971  like e.
1972 \begin_inset space \thinspace{}
1973 \end_inset
1974
1975 g.
1976 \begin_inset space \space{}
1977 \end_inset
1978
1979 ISO
1980 \begin_inset space ~
1981 \end_inset
1982
1983 A4 are less wide than PC or laptop screens.
1984  Therefore you will get troubles in the output of your document if document
1985  parts exceed the width of the \SpecialChar LyX
1986  main screen.
1987 \end_layout
1988
1989 \begin_layout Standard
1990 There are of course exceptions where horizontal scrolling is necessary.
1991  For example
1992 \end_layout
1993
1994 \begin_layout Itemize
1995 \SpecialChar LyX
1996  is used on a small tablet computer
1997 \end_layout
1998
1999 \begin_layout Itemize
2000 Wide tables that are rotated 90° to fit a whole page
2001 \begin_inset Foot
2002 status collapsed
2003
2004 \begin_layout Plain Layout
2005 See section 
2006 \emph on
2007 Rotated Floats
2008 \emph default
2009  of the 
2010 \emph on
2011 Embedded
2012 \begin_inset space ~
2013 \end_inset
2014
2015 Objects
2016 \emph default
2017  manual.
2018 \end_layout
2019
2020 \end_inset
2021
2022
2023 \end_layout
2024
2025 \begin_layout Itemize
2026 Math constructs with long command names
2027 \end_layout
2028
2029 \begin_layout Standard
2030 For these cases \SpecialChar LyX
2031  has an mechanism that scrolls automatically when the cursor
2032  is moved.
2033  As example shrink the \SpecialChar LyX
2034  windows so that table
2035 \begin_inset space ~
2036 \end_inset
2037
2038
2039 \begin_inset CommandInset ref
2040 LatexCommand ref
2041 reference "tab:Horizontal-scrollong-test"
2042
2043 \end_inset
2044
2045  is wider.
2046  You will now see a dotted red line at the right or the left side of the
2047  table.
2048  Put the cursor into the table and move it with the Tab or the arrow keys
2049  to see the horizontal scrolling of the table.
2050 \end_layout
2051
2052 \begin_layout Standard
2053 \begin_inset Float table
2054 placement h
2055 wide false
2056 sideways false
2057 status open
2058
2059 \begin_layout Plain Layout
2060 \begin_inset Caption Standard
2061
2062 \begin_layout Plain Layout
2063 \begin_inset CommandInset label
2064 LatexCommand label
2065 name "tab:Horizontal-scrollong-test"
2066
2067 \end_inset
2068
2069 Horizontal scrolling test.
2070 \end_layout
2071
2072 \end_inset
2073
2074
2075 \end_layout
2076
2077 \begin_layout Plain Layout
2078 \align center
2079 \begin_inset Tabular
2080 <lyxtabular version="3" rows="1" columns="3">
2081 <features tabularvalignment="middle">
2082 <column alignment="center" valignment="top" width="4.7cm">
2083 <column alignment="center" valignment="top" width="4.7cm">
2084 <column alignment="center" valignment="top" width="4.7cm">
2085 <row>
2086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2087 \begin_inset Text
2088
2089 \begin_layout Plain Layout
2090 a
2091 \end_layout
2092
2093 \end_inset
2094 </cell>
2095 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2096 \begin_inset Text
2097
2098 \begin_layout Plain Layout
2099 b
2100 \end_layout
2101
2102 \end_inset
2103 </cell>
2104 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2105 \begin_inset Text
2106
2107 \begin_layout Plain Layout
2108 c
2109 \end_layout
2110
2111 \end_inset
2112 </cell>
2113 </row>
2114 </lyxtabular>
2115
2116 \end_inset
2117
2118
2119 \end_layout
2120
2121 \end_inset
2122
2123
2124 \end_layout
2125
2126 \begin_layout Section
2127 Input/Word Completion
2128 \begin_inset CommandInset label
2129 LatexCommand label
2130 name "sec:Input-Completion"
2131
2132 \end_inset
2133
2134
2135 \begin_inset Index idx
2136 status collapsed
2137
2138 \begin_layout Plain Layout
2139 Input completion
2140 \end_layout
2141
2142 \end_inset
2143
2144
2145 \begin_inset Index idx
2146 status collapsed
2147
2148 \begin_layout Plain Layout
2149 Word completion|see
2150 \begin_inset ERT
2151 status collapsed
2152
2153 \begin_layout Plain Layout
2154
2155 {
2156 \end_layout
2157
2158 \end_inset
2159
2160 Input completion
2161 \begin_inset ERT
2162 status collapsed
2163
2164 \begin_layout Plain Layout
2165
2166 }
2167 \end_layout
2168
2169 \end_inset
2170
2171
2172 \end_layout
2173
2174 \end_inset
2175
2176
2177 \end_layout
2178
2179 \begin_layout Standard
2180 \SpecialChar LyX
2181  provides completion of words by scanning all documents that are currently
2182  opened.
2183  Every word that appears in these documents is added to a database that
2184  is used to propose completions.
2185 \end_layout
2186
2187 \begin_layout Standard
2188 Input completion can be activated in the \SpecialChar LyX
2189  preferences (menu 
2190 \family sans
2191 Tools\SpecialChar menuseparator
2192 Preferences
2193 \family default
2194 ) in the section 
2195 \family sans
2196 Editing\SpecialChar menuseparator
2197 Input Completion
2198 \family default
2199 .
2200  With the option 
2201 \family sans
2202 Automatic
2203 \begin_inset space ~
2204 \end_inset
2205
2206 inline
2207 \begin_inset space ~
2208 \end_inset
2209
2210 completion
2211 \family default
2212  the proposed completion is shown directly after the cursor.
2213  With the option 
2214 \family sans
2215 Automatic
2216 \begin_inset space ~
2217 \end_inset
2218
2219 popup
2220 \family default
2221  the completions are always shown in a popup.
2222  The cursor completion indicator can be turned off by deselecting the option
2223  
2224 \family sans
2225 Cursor
2226 \begin_inset space ~
2227 \end_inset
2228
2229 indicator
2230 \family default
2231 .
2232  With the general options you can define the delay time for the inline and
2233  popup completion, you can set the minimal number of characters a word must
2234  have that it will be taken into account for a completion and you can choose
2235  if long completions should be abbreviated.
2236 \end_layout
2237
2238 \begin_layout Standard
2239 \SpecialChar LyX
2240  displays a small triangle after the cursor as an indicator that there are
2241  completions available.
2242  Press the 
2243 \family sans
2244 Tab
2245 \family default
2246  key to accept a proposed completion.
2247  If several completions are possible, a popup is opened showing them.
2248  You can select a completion in the popup using the mouse or the arrow keys,
2249  and accept the chosen completion by pressing 
2250 \family sans
2251 Return
2252 \family default
2253 .
2254 \end_layout
2255
2256 \begin_layout Standard
2257 The completion options for math in the preferences do the same as the correspond
2258 ing options for text.
2259  The special math option 
2260 \family sans
2261 Autocorrection
2262 \family default
2263  enables characters to be composed.
2264  If, for example, you want to insert the character 
2265 \begin_inset Formula $\Rightarrow$
2266 \end_inset
2267
2268 , you can then input the characters 
2269 \begin_inset Quotes eld
2270 \end_inset
2271
2272
2273 \series bold
2274 =>
2275 \series default
2276
2277 \begin_inset Quotes erd
2278 \end_inset
2279
2280  to a formula to get it.
2281  So this is a quick alternative to the insertion of commands or the use
2282  of the math toolbar.
2283  A list with supported character combinations can be found in the file 
2284 \family typewriter
2285 autocorrect
2286 \family default
2287  that is in \SpecialChar LyX
2288 's installation folder.
2289  Math autocorrection can at any time be turned on by pressing the exclamation
2290  mark key “!”.
2291  Pressing 
2292 \family sans
2293 Space
2294 \family default
2295  turns it off.
2296 \end_layout
2297
2298 \begin_layout Section
2299 Basic Key Bindings
2300 \begin_inset Index idx
2301 status collapsed
2302
2303 \begin_layout Plain Layout
2304 Key Bindings
2305 \end_layout
2306
2307 \end_inset
2308
2309
2310 \begin_inset Index idx
2311 status collapsed
2312
2313 \begin_layout Plain Layout
2314 Bindings|see
2315 \begin_inset ERT
2316 status collapsed
2317
2318 \begin_layout Plain Layout
2319
2320 {
2321 \end_layout
2322
2323 \end_inset
2324
2325 Key Bindings
2326 \begin_inset ERT
2327 status collapsed
2328
2329 \begin_layout Plain Layout
2330
2331 }
2332 \end_layout
2333
2334 \end_inset
2335
2336
2337 \end_layout
2338
2339 \end_inset
2340
2341
2342 \begin_inset Index idx
2343 status collapsed
2344
2345 \begin_layout Plain Layout
2346 Shortcuts|see
2347 \begin_inset ERT
2348 status collapsed
2349
2350 \begin_layout Plain Layout
2351
2352 {
2353 \end_layout
2354
2355 \end_inset
2356
2357 Key Bindings
2358 \begin_inset ERT
2359 status collapsed
2360
2361 \begin_layout Plain Layout
2362
2363 }
2364 \end_layout
2365
2366 \end_inset
2367
2368
2369 \end_layout
2370
2371 \end_inset
2372
2373
2374 \end_layout
2375
2376 \begin_layout Standard
2377 There are at least two different primary binding maps: 
2378 \family typewriter
2379 cua
2380 \family default
2381  and 
2382 \family typewriter
2383 emacs
2384 \family default
2385 .
2386  \SpecialChar LyX
2387 's default is 
2388 \family typewriter
2389 cua
2390 \family default
2391 , which can be changed in the \SpecialChar LyX
2392  preferences under 
2393 \family sans
2394 Editing\SpecialChar menuseparator
2395 Shortcuts
2396 \family default
2397 .
2398  (You can list or change any key bindings as explained in section
2399 \begin_inset space ~
2400 \end_inset
2401
2402
2403 \begin_inset CommandInset ref
2404 LatexCommand ref
2405 reference "subsec:Editing-Shortcuts"
2406
2407 \end_inset
2408
2409 .)
2410 \end_layout
2411
2412 \begin_layout Standard
2413 Some keys, like 
2414 \family sans
2415 Page
2416 \begin_inset space ~
2417 \end_inset
2418
2419 Up
2420 \family default
2421
2422 \family sans
2423 Page
2424 \begin_inset space ~
2425 \end_inset
2426
2427 Down
2428 \family default
2429
2430 \family sans
2431 Left
2432 \family default
2433
2434 \family sans
2435 Right
2436 \family default
2437
2438 \family sans
2439 Up
2440 \family default
2441  and 
2442 \family sans
2443 Down
2444 \family default
2445 , do exactly what you expect them to do.
2446  Other keys don't:
2447 \end_layout
2448
2449 \begin_layout Labeling
2450 \labelwidthstring 00.00.0000
2451
2452 \family sans
2453 Tab
2454 \begin_inset CommandInset nomenclature
2455 LatexCommand nomenclature
2456 symbol "Tab"
2457 description "Tabulator key"
2458 literal "false"
2459
2460 \end_inset
2461
2462
2463 \family default
2464  There is no such thing as a tab stop in \SpecialChar LyX
2465 .
2466  If you do not understand this, go read sections
2467 \begin_inset space ~
2468 \end_inset
2469
2470
2471 \begin_inset CommandInset ref
2472 LatexCommand ref
2473 reference "sec:Par-indent-intro"
2474
2475 \end_inset
2476
2477  and 
2478 \begin_inset CommandInset ref
2479 LatexCommand ref
2480 reference "sec:Paragraph-Environments"
2481
2482 \end_inset
2483
2484 , especially section
2485 \begin_inset space ~
2486 \end_inset
2487
2488
2489 \begin_inset CommandInset ref
2490 LatexCommand ref
2491 reference "subsec:Lists"
2492
2493 \end_inset
2494
2495 , right now.
2496  Yes, right now.
2497  If you are still confused, look in the 
2498 \emph on
2499 Tutorial
2500 \emph default
2501 .
2502 \begin_inset Newline newline
2503 \end_inset
2504
2505 In \SpecialChar LyX
2506  the 
2507 \family sans
2508 Tab
2509 \family default
2510  key is only used to accept proposed input completions, to move the cursor
2511  in tables or math matrices or to change the nesting level in Itemize or
2512  Enumerate.
2513 \end_layout
2514
2515 \begin_layout Labeling
2516 \labelwidthstring 00.00.0000
2517
2518 \family sans
2519 Esc
2520 \begin_inset CommandInset nomenclature
2521 LatexCommand nomenclature
2522 symbol "Esc"
2523 description "Escape key"
2524 literal "false"
2525
2526 \end_inset
2527
2528
2529 \family default
2530  This is the 
2531 \begin_inset Quotes eld
2532 \end_inset
2533
2534 cancel key.
2535 \begin_inset Quotes erd
2536 \end_inset
2537
2538  It is used, generically, to cancel operations.
2539  Other parts of the manual will go into greater detail about this.
2540 \end_layout
2541
2542 \begin_layout Labeling
2543 \labelwidthstring 00.00.0000
2544
2545 \family sans
2546 Home
2547 \family default
2548
2549 \begin_inset space ~
2550 \end_inset
2551
2552 and
2553 \begin_inset space ~
2554 \end_inset
2555
2556
2557 \family sans
2558 End
2559 \family default
2560  These move the cursor, respectively, to the beginning and end of a line,
2561  unless you are using the Emacs bindings where they jump to the beginning
2562  or end of the file.
2563 \end_layout
2564
2565 \begin_layout Standard
2566 There are three modifier keys:
2567 \end_layout
2568
2569 \begin_layout Labeling
2570 \labelwidthstring 00.00.0000
2571
2572 \family sans
2573 Control
2574 \family default
2575  (Denoted by 
2576 \begin_inset Quotes eld
2577 \end_inset
2578
2579
2580 \family sans
2581 Ctrl
2582 \family default
2583
2584 \begin_inset Quotes erd
2585 \end_inset
2586
2587
2588 \begin_inset CommandInset nomenclature
2589 LatexCommand nomenclature
2590 symbol "Ctrl"
2591 description "Control key"
2592 literal "false"
2593
2594 \end_inset
2595
2596  in the documentation files) This has a couple of different uses, depending
2597  on which keys it is used in combination with:
2598 \end_layout
2599
2600 \begin_deeper
2601 \begin_layout Itemize
2602
2603 \family sans
2604 Backspace
2605 \family default
2606  or 
2607 \family sans
2608 Delete
2609 \family default
2610 , it deletes an entire word instead of a single character.
2611 \end_layout
2612
2613 \begin_layout Itemize
2614
2615 \family sans
2616 Left
2617 \family default
2618  and 
2619 \family sans
2620 Right
2621 \family default
2622 , it moves by words instead of characters.
2623 \end_layout
2624
2625 \begin_layout Itemize
2626
2627 \family sans
2628 Home
2629 \family default
2630  and 
2631 \family sans
2632 End
2633 \family default
2634 , it moves to the beginning and the end of the document, respectively.
2635 \end_layout
2636
2637 \end_deeper
2638 \begin_layout Labeling
2639 \labelwidthstring 00.00.0000
2640
2641 \family sans
2642 Shift
2643 \family default
2644  (Denoted by 
2645 \begin_inset Quotes eld
2646 \end_inset
2647
2648
2649 \family sans
2650 Shift
2651 \family default
2652
2653 \begin_inset Quotes erd
2654 \end_inset
2655
2656
2657 \begin_inset CommandInset nomenclature
2658 LatexCommand nomenclature
2659 symbol "Shift"
2660 description "Shift key"
2661 literal "false"
2662
2663 \end_inset
2664
2665  in the documentation files) Use this with any of the arrow keys to select
2666  the text between the old and new cursor positions.
2667 \end_layout
2668
2669 \begin_layout Labeling
2670 \labelwidthstring 00.00.0000
2671
2672 \family sans
2673 Alt
2674 \family default
2675  (Denoted by 
2676 \begin_inset Quotes eld
2677 \end_inset
2678
2679
2680 \family sans
2681 Alt
2682 \family default
2683
2684 \begin_inset Quotes erd
2685 \end_inset
2686
2687
2688 \begin_inset CommandInset nomenclature
2689 LatexCommand nomenclature
2690 symbol "Alt"
2691 description "Alt or Meta key"
2692 literal "false"
2693
2694 \end_inset
2695
2696  in the documentation files) This is the Alt key on many keyboards, unless
2697  your keyboard has a distinct Meta key.
2698  If you have both keys, you will need to try out which one actually performs
2699  the 
2700 \family sans
2701 Alt+
2702 \family default
2703  function.
2704 \begin_inset Newline newline
2705 \end_inset
2706
2707 This key does many different things, but it also activates the 
2708 \emph on
2709 menu accelerator keys
2710 \emph default
2711 .
2712  If you use this in combination with any of the underlined letters in a
2713  menu or menu item, it selects that menu item.
2714 \end_layout
2715
2716 \begin_deeper
2717 \begin_layout Standard
2718 For example, the sequence 
2719 \begin_inset Quotes eld
2720 \end_inset
2721
2722
2723 \family sans
2724 Alt
2725 \begin_inset space ~
2726 \end_inset
2727
2728 e
2729 \begin_inset space ~
2730 \end_inset
2731
2732 s
2733 \family default
2734
2735 \begin_inset space ~
2736 \end_inset
2737
2738
2739 \family sans
2740 c
2741 \family default
2742
2743 \begin_inset Quotes erd
2744 \end_inset
2745
2746  brings up the 
2747 \begin_inset Quotes eld
2748 \end_inset
2749
2750 Text Style
2751 \begin_inset Quotes erd
2752 \end_inset
2753
2754  dialog.
2755  Typing 
2756 \begin_inset Quotes eld
2757 \end_inset
2758
2759
2760 \family sans
2761 Alt
2762 \begin_inset space ~
2763 \end_inset
2764
2765 f
2766 \family default
2767
2768 \begin_inset Quotes erd
2769 \end_inset
2770
2771  opens the 
2772 \family sans
2773 File
2774 \family default
2775  menu.
2776 \end_layout
2777
2778 \begin_layout Standard
2779 The 
2780 \emph on
2781 Shortcuts
2782 \emph default
2783  manual lists all other things bound to the 
2784 \family sans
2785 Alt
2786 \family default
2787  key.
2788 \end_layout
2789
2790 \end_deeper
2791 \begin_layout Standard
2792 You will learn more and more key bindings and short-cut keys as you use
2793  \SpecialChar LyX
2794 , because most actions will prompt a small message in the status bar at
2795  the bottom of \SpecialChar LyX
2796 's main window which describes the name of the action you
2797  have just triggered, and any existing key bindings for that action.
2798  The \SpecialChar LyX
2799  menus also list the defined key bindings.
2800  The notation for the key bindings is very similar to the notation used
2801  in this documentation, so you should not have any problems understanding
2802  it.
2803  However, notice that Shift-modifiers are explicitly mentioned, so 
2804 \begin_inset Quotes eld
2805 \end_inset
2806
2807
2808 \family sans
2809 Alt+P Shift+A
2810 \family default
2811
2812 \begin_inset Quotes erd
2813 \end_inset
2814
2815  means 
2816 \family sans
2817 Alt+P
2818 \family default
2819  followed by a capital 
2820 \family sans
2821 A
2822 \family default
2823 .
2824 \end_layout
2825
2826 \begin_layout Chapter
2827 \SpecialChar LyX
2828  Basics
2829 \begin_inset Index idx
2830 status collapsed
2831
2832 \begin_layout Plain Layout
2833 \SpecialChar LyX
2834  ! Basics
2835 \end_layout
2836
2837 \end_inset
2838
2839
2840 \end_layout
2841
2842 \begin_layout Section
2843 Document Types
2844 \begin_inset Index idx
2845 status collapsed
2846
2847 \begin_layout Plain Layout
2848 Document ! Types
2849 \end_layout
2850
2851 \end_inset
2852
2853
2854 \end_layout
2855
2856 \begin_layout Subsection
2857 Introduction
2858 \end_layout
2859
2860 \begin_layout Standard
2861 Before you do anything else, before you ever start writing a document, you
2862  need to decide what type of document you want to edit.
2863  Different types of documents use different types of spacing, headings,
2864  numbering schemes, and so on.
2865  Additionally, different documents use different paragraph environments,
2866  and format the title of your document differently.
2867 \end_layout
2868
2869 \begin_layout Standard
2870
2871 \emph on
2872 document class
2873 \emph default
2874  describes a group of properties common to a particular set of documents.
2875  By setting the document class, you automatically select these properties,
2876  making it easier to create the type of document you want.
2877  If you don't choose a document class, \SpecialChar LyX
2878  picks one for you by default.
2879  So it is up to you to change the class of your document.
2880 \end_layout
2881
2882 \begin_layout Subsection
2883 Document Classes
2884 \begin_inset Index idx
2885 status collapsed
2886
2887 \begin_layout Plain Layout
2888 Document ! Classes
2889 \end_layout
2890
2891 \end_inset
2892
2893
2894 \begin_inset CommandInset label
2895 LatexCommand label
2896 name "sec:Document-Classes"
2897
2898 \end_inset
2899
2900
2901 \end_layout
2902
2903 \begin_layout Standard
2904 You can select a class using the 
2905 \family sans
2906 Document\SpecialChar menuseparator
2907 Settings\SpecialChar menuseparator
2908 Document Class
2909 \family default
2910
2911 \begin_inset Index idx
2912 status collapsed
2913
2914 \begin_layout Plain Layout
2915 Document ! Settings
2916 \end_layout
2917
2918 \end_inset
2919
2920  dialog.
2921  Select the class you want to use, and make any fine tunings of the options
2922  you may need.
2923 \end_layout
2924
2925 \begin_layout Subsubsection
2926 Overview
2927 \end_layout
2928
2929 \begin_layout Standard
2930 There are four standard document classes in \SpecialChar LyX
2931 .
2932  They are:
2933 \end_layout
2934
2935 \begin_layout Description
2936 Article for basic articles
2937 \end_layout
2938
2939 \begin_layout Description
2940 Report for basic reports
2941 \end_layout
2942
2943 \begin_layout Description
2944 Book for writing a book
2945 \end_layout
2946
2947 \begin_layout Description
2948 Letter for US-style letters
2949 \end_layout
2950
2951 \begin_layout Standard
2952 There are also some non-standard classes, which \SpecialChar LyX
2953  only uses if you have installed
2954  the corresponding \SpecialChar LaTeX
2955  class files, though most \SpecialChar LaTeX
2956  distributions will include
2957  many of these.
2958  Here are some of the classes.
2959  The full list with detailed explanations can be found in chapter 
2960 \emph on
2961 Special Document Classes
2962 \emph default
2963  in the 
2964 \emph on
2965 Additional Features
2966 \emph default
2967  manual:
2968 \end_layout
2969
2970 \begin_layout Description
2971 A&A Journal articles in the style and format used in Astronomy & Astrophysics
2972 \end_layout
2973
2974 \begin_layout Description
2975 ACS For submissions to the journals published by the American Chemistry
2976  Society
2977 \end_layout
2978
2979 \begin_layout Description
2980 AGU For submissions to the journals published by the American Geophysical
2981  Union
2982 \end_layout
2983
2984 \begin_layout Description
2985 AMS Layouts for articles and books in the style and format used by the American
2986  Mathematical Society (AMS).
2987  There are three article layouts available.
2988  The standard one uses a typical numbering scheme for theorems etc., that
2989  prepends the section number to the number of the result.
2990  All result-type statements (propositions, corollaries, and so on) are sequenced
2991  together, but definitions, examples, and the like have their own sequence.
2992  The 
2993 \begin_inset Quotes eld
2994 \end_inset
2995
2996 sequential numbering
2997 \begin_inset Quotes erd
2998 \end_inset
2999
3000  scheme does not place the section number with each result, but numbers
3001  them throughout the article in a single sequence.
3002  Each type of result gets its own sequence.
3003  There is also a layout that dispenses with numbering of statements altogether.
3004 \end_layout
3005
3006 \begin_layout Description
3007 Beamer Layout for presentations
3008 \end_layout
3009
3010 \begin_layout Description
3011 Broadway Layout for writing plays.
3012  It is not an existing \SpecialChar LaTeX
3013  document class, but a new one that is distributed
3014  with \SpecialChar LyX
3015 .
3016 \end_layout
3017
3018 \begin_layout Description
3019 Chess Layout to write about chess games
3020 \end_layout
3021
3022 \begin_layout Description
3023 Curriculum
3024 \begin_inset space ~
3025 \end_inset
3026
3027 vitae classes to create curriculum vitae
3028 \end_layout
3029
3030 \begin_layout Description
3031 Elsarticle Layout for journals of the Elsevier publishing group
3032 \end_layout
3033
3034 \begin_layout Description
3035 Foils Used to make transparencies
3036 \end_layout
3037
3038 \begin_layout Description
3039 Hollywood Used to type spec scripts for the US film industry.
3040  It is not an existing \SpecialChar LaTeX
3041  document class, but a new one that is distributed
3042  with \SpecialChar LyX
3043 .
3044 \end_layout
3045
3046 \begin_layout Description
3047 IEEEtran Layout for the journals published by the Institute of Electrical
3048  and Electronics Engineers (IEEE)
3049 \end_layout
3050
3051 \begin_layout Description
3052 IOP Layout for journals of the Institute of Physics publishing group
3053 \end_layout
3054
3055 \begin_layout Description
3056 Kluwer Layout for journals of the Kluwer publishing group
3057 \end_layout
3058
3059 \begin_layout Description
3060 KOMA-Script a replacement for the standard classes, offers many useful features
3061  like caption formatting, automatic print space calculation etc.
3062  (Is used by this document.)
3063 \end_layout
3064
3065 \begin_layout Description
3066 Memoir another replacement for the standard classes
3067 \end_layout
3068
3069 \begin_layout Description
3070 Powerdot Layout for presentations
3071 \end_layout
3072
3073 \begin_layout Description
3074 REV
3075 \family sans
3076 TeX
3077 \family default
3078  is used to write articles for the publications of the American Physical
3079  Society (APS), American Institute of Physics (AIP), and Optical Society
3080  of America (OSA).
3081  This class is not completely compatible with all \SpecialChar LyX
3082  features.
3083 \end_layout
3084
3085 \begin_layout Description
3086 Slides Used to make transparencies
3087 \end_layout
3088
3089 \begin_layout Description
3090 SPIE
3091 \begin_inset space ~
3092 \end_inset
3093
3094 Proceedings Layout for the journals published by The International Society
3095  for Optical Engineering (SPIE)
3096 \end_layout
3097
3098 \begin_layout Description
3099 Springer Layouts for journals of the Springer publishing group
3100 \end_layout
3101
3102 \begin_layout Standard
3103 We will not go into detail about how to use these different document classes
3104  here.
3105  You can find details about the non-standard classes in chapter 
3106 \emph on
3107 Special Document Classes
3108 \emph default
3109  of the 
3110 \emph on
3111 Additional Features
3112 \emph default
3113  manual.
3114  Here, we will settle for a list of some of the common properties of all
3115  of the document classes.
3116 \end_layout
3117
3118 \begin_layout Subsubsection
3119 Availability
3120 \end_layout
3121
3122 \begin_layout Standard
3123 You will probably find that many of the document classes listed under 
3124 \family sans
3125 Document\SpecialChar menuseparator
3126 Settings\SpecialChar menuseparator
3127 Document Class
3128 \begin_inset Index idx
3129 status collapsed
3130
3131 \begin_layout Plain Layout
3132 Document ! Settings
3133 \end_layout
3134
3135 \end_inset
3136
3137  
3138 \family default
3139 are marked as 
3140 \begin_inset Quotes eld
3141 \end_inset
3142
3143 Unavailable
3144 \begin_inset Quotes erd
3145 \end_inset
3146
3147 .
3148  If you open a document that uses such a class, you will receive a warning
3149  saying that there are files that are required to produce output that are
3150  not installed.
3151  So it may seem that something is wrong.
3152 \end_layout
3153
3154 \begin_layout Standard
3155 Nothing is wrong.
3156  \SpecialChar LyX
3157  includes many more document classes than you will ever need to use, and
3158  some of them, like 
3159 \family sans
3160 IOP
3161 \family default
3162 , are highly specialized.
3163  \SpecialChar LyX
3164  tries to support as many different types of documents as possible, and
3165  it includes almost one hundred different layout files, with a growing number.
3166  No \SpecialChar LaTeX
3167  distribution will install by default all files that might be needed
3168  by some document class.
3169  There are just too many of them.
3170  That is why some of the document classes are unavailable.
3171 \end_layout
3172
3173 \begin_layout Standard
3174 If there is a document class you would like to use that is marked as 
3175 \begin_inset Quotes eld
3176 \end_inset
3177
3178 Unavailable
3179 \begin_inset Quotes erd
3180 \end_inset
3181
3182 , you just need to install the appropriate package files.
3183  The easiest way to find out which files you need to install is to use that
3184  document class for a new file.
3185  \SpecialChar LyX
3186  will display a dialog that will list the missing files.
3187  See section 
3188 \emph on
3189 Installing new \SpecialChar LaTeX
3190  files
3191 \emph default
3192  in of the 
3193 \emph on
3194 Customization
3195 \emph default
3196  manual for information on how to install them.
3197 \begin_inset VSpace medskip
3198 \end_inset
3199
3200
3201 \end_layout
3202
3203 \begin_layout Standard
3204 Although \SpecialChar LyX
3205  provides support for many different sorts of documents, it does
3206  not include support for every document class people might want to use.
3207  For example, many universities provide \SpecialChar LaTeX
3208  class files to be used for dissertation
3209 s submitted to those universities.
3210  The \SpecialChar LyX
3211  team cannot write layout files to support every one of these.
3212  There are too many.
3213  Fortunately, users can write their own layout files, and many users have
3214  done so.
3215  Chapter 
3216 \emph on
3217 Installing New Document Classes, Layouts, and Templates
3218 \emph default
3219  of the 
3220 \emph on
3221 Customization
3222 \emph default
3223  manual contains information on how to create layout files.
3224 \end_layout
3225
3226 \begin_layout Subsubsection
3227 Modules
3228 \begin_inset CommandInset label
3229 LatexCommand label
3230 name "subsec:Modules"
3231
3232 \end_inset
3233
3234
3235 \begin_inset Index idx
3236 status collapsed
3237
3238 \begin_layout Plain Layout
3239 Document ! Modules
3240 \end_layout
3241
3242 \end_inset
3243
3244
3245 \end_layout
3246
3247 \begin_layout Standard
3248 Modules load additional features that are not by default available in the
3249  chosen document class.
3250  For example you might want to write Braille (embossed printing) in a document.
3251  This is not available in any document class, so you have to load the correspond
3252 ing module in the 
3253 \family sans
3254 Modules
3255 \family default
3256  section of the 
3257 \family sans
3258 Document\SpecialChar menuseparator
3259 Settings
3260 \family default
3261
3262 \begin_inset Index idx
3263 status collapsed
3264
3265 \begin_layout Plain Layout
3266 Document ! Settings
3267 \end_layout
3268
3269 \end_inset
3270
3271  dialog.
3272  Highlighting a module in the dialog will bring up a description of what
3273  it does.
3274 \end_layout
3275
3276 \begin_layout Standard
3277 Some modules require \SpecialChar LaTeX
3278  packages or file format converters that are not always
3279  installed by default.
3280  \SpecialChar LyX
3281  will warn you if you do not have a required package or converter, and
3282  it will tell you what exactly you are missing.
3283  You can still use the module while editing your file, but you will not
3284  be able to export to PDF or print your document, since \SpecialChar LyX
3285  will not be able
3286  to compile the \SpecialChar LaTeX
3287  file without the missing prerequisites.
3288  If you want to be able to produce this kind of output, then you need to
3289  install the missing prerequisites and then reconfigure \SpecialChar LyX
3290  by selecting 
3291 \family sans
3292 Tools\SpecialChar menuseparator
3293 Reconfigure
3294 \family default
3295 .
3296 \begin_inset Index idx
3297 status collapsed
3298
3299 \begin_layout Plain Layout
3300 Reconfiguration of \SpecialChar LyX
3301
3302 \end_layout
3303
3304 \end_inset
3305
3306  See section Installing new \SpecialChar LaTeX
3307  files of the 
3308 \emph on
3309 Customization
3310 \emph default
3311  manual for more information on installing required packages.
3312 \end_layout
3313
3314 \begin_layout Standard
3315 \begin_inset Note Greyedout
3316 status open
3317
3318 \begin_layout Plain Layout
3319
3320 \series bold
3321 Note:
3322 \series default
3323  Some modules require other modules, and some pairs of modules are incompatible.
3324  \SpecialChar LyX
3325  will advise you about these things.
3326 \end_layout
3327
3328 \end_inset
3329
3330
3331 \end_layout
3332
3333 \begin_layout Subsubsection
3334 Local Layout
3335 \begin_inset CommandInset label
3336 LatexCommand label
3337 name "subsec:Local-Layout"
3338
3339 \end_inset
3340
3341
3342 \begin_inset Index idx
3343 status collapsed
3344
3345 \begin_layout Plain Layout
3346 Document ! Local Layout
3347 \end_layout
3348
3349 \end_inset
3350
3351
3352 \end_layout
3353
3354 \begin_layout Standard
3355 Modules are to \SpecialChar LyX
3356  much as packages are to \SpecialChar LaTeX
3357 : They are intended to be used in
3358  a variety of different documents.
3359  If you often find yourself needing the same sort of thing in different
3360  documents, you should consider writing a module for this purpose.
3361  Sometimes, however, a particular document has very special needs, but you
3362  need a specific inset or character style only that one time.
3363  You want something that is like a document's own \SpecialChar LaTeX
3364  preamble.
3365  What you want is \SpecialChar LyX
3366 's 
3367 \begin_inset Quotes eld
3368 \end_inset
3369
3370 Local Layout
3371 \begin_inset Quotes erd
3372 \end_inset
3373
3374 .
3375  See section 
3376 \emph on
3377 Local Layout
3378 \emph default
3379  of the 
3380 \emph on
3381 Customization
3382 \emph default
3383  manual for information on how to use it.
3384 \end_layout
3385
3386 \begin_layout Subsubsection
3387 Properties
3388 \end_layout
3389
3390 \begin_layout Standard
3391 Each class has a default set of options.
3392  Here's a quick table describing them:
3393 \end_layout
3394
3395 \begin_layout Standard
3396 \begin_inset VSpace 0.3cm
3397 \end_inset
3398
3399
3400 \end_layout
3401
3402 \begin_layout Standard
3403 \align center
3404 \begin_inset Tabular
3405 <lyxtabular version="3" rows="5" columns="5">
3406 <features tabularvalignment="middle">
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 <column alignment="center" valignment="top" width="0pt">
3412 <row>
3413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3414 \begin_inset Text
3415
3416 \begin_layout Plain Layout
3417
3418 \end_layout
3419
3420 \end_inset
3421 </cell>
3422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3423 \begin_inset Text
3424
3425 \begin_layout Plain Layout
3426
3427 \family sans
3428 \series medium
3429 \shape up
3430 \size normal
3431 \emph off
3432 \bar no
3433 \noun off
3434 \color none
3435 Page style
3436 \end_layout
3437
3438 \end_inset
3439 </cell>
3440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3441 \begin_inset Text
3442
3443 \begin_layout Plain Layout
3444
3445 \family sans
3446 \series medium
3447 \shape up
3448 \size normal
3449 \emph off
3450 \bar no
3451 \noun off
3452 \color none
3453 Sides
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Plain Layout
3462
3463 \family sans
3464 \series medium
3465 \shape up
3466 \size normal
3467 \emph off
3468 \bar no
3469 \noun off
3470 \color none
3471 Columns
3472 \end_layout
3473
3474 \end_inset
3475 </cell>
3476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3477 \begin_inset Text
3478
3479 \begin_layout Plain Layout
3480
3481 \series medium
3482 \shape up
3483 \size normal
3484 \emph off
3485 \bar no
3486 \noun off
3487 \color none
3488 Max.
3489  sectioning level
3490 \end_layout
3491
3492 \end_inset
3493 </cell>
3494 </row>
3495 <row>
3496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3497 \begin_inset Text
3498
3499 \begin_layout Plain Layout
3500
3501 \series medium
3502 \shape up
3503 \size normal
3504 \emph off
3505 \bar no
3506 \noun off
3507 \color none
3508 article
3509 \end_layout
3510
3511 \end_inset
3512 </cell>
3513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3514 \begin_inset Text
3515
3516 \begin_layout Plain Layout
3517
3518 \family sans
3519 \series medium
3520 \shape up
3521 \size normal
3522 \emph off
3523 \bar no
3524 \noun off
3525 \color none
3526 Plain
3527 \end_layout
3528
3529 \end_inset
3530 </cell>
3531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3532 \begin_inset Text
3533
3534 \begin_layout Plain Layout
3535
3536 \family sans
3537 \series medium
3538 \shape up
3539 \size normal
3540 \emph off
3541 \bar no
3542 \noun off
3543 \color none
3544 One
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Plain Layout
3553
3554 \family sans
3555 \series medium
3556 \shape up
3557 \size normal
3558 \emph off
3559 \bar no
3560 \noun off
3561 \color none
3562 One
3563 \end_layout
3564
3565 \end_inset
3566 </cell>
3567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3568 \begin_inset Text
3569
3570 \begin_layout Plain Layout
3571
3572 \family sans
3573 \series medium
3574 \shape up
3575 \size normal
3576 \emph off
3577 \bar no
3578 \noun off
3579 \color none
3580 Section
3581 \end_layout
3582
3583 \end_inset
3584 </cell>
3585 </row>
3586 <row>
3587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3588 \begin_inset Text
3589
3590 \begin_layout Plain Layout
3591
3592 \series medium
3593 \shape up
3594 \size normal
3595 \emph off
3596 \bar no
3597 \noun off
3598 \color none
3599 report
3600 \end_layout
3601
3602 \end_inset
3603 </cell>
3604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3605 \begin_inset Text
3606
3607 \begin_layout Plain Layout
3608
3609 \family sans
3610 \series medium
3611 \shape up
3612 \size normal
3613 \emph off
3614 \bar no
3615 \noun off
3616 \color none
3617 Plain
3618 \end_layout
3619
3620 \end_inset
3621 </cell>
3622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3623 \begin_inset Text
3624
3625 \begin_layout Plain Layout
3626
3627 \family sans
3628 \series medium
3629 \shape up
3630 \size normal
3631 \emph off
3632 \bar no
3633 \noun off
3634 \color none
3635 One
3636 \end_layout
3637
3638 \end_inset
3639 </cell>
3640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Plain Layout
3644
3645 \family sans
3646 \series medium
3647 \shape up
3648 \size normal
3649 \emph off
3650 \bar no
3651 \noun off
3652 \color none
3653 One
3654 \end_layout
3655
3656 \end_inset
3657 </cell>
3658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Plain Layout
3662
3663 \family sans
3664 \series medium
3665 \shape up
3666 \size normal
3667 \emph off
3668 \bar no
3669 \noun off
3670 \color none
3671 Chapter
3672 \end_layout
3673
3674 \end_inset
3675 </cell>
3676 </row>
3677 <row>
3678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3679 \begin_inset Text
3680
3681 \begin_layout Plain Layout
3682
3683 \series medium
3684 \shape up
3685 \size normal
3686 \emph off
3687 \bar no
3688 \noun off
3689 \color none
3690 book
3691 \end_layout
3692
3693 \end_inset
3694 </cell>
3695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Plain Layout
3699
3700 \family sans
3701 \series medium
3702 \shape up
3703 \size normal
3704 \emph off
3705 \bar no
3706 \noun off
3707 \color none
3708 Headings
3709 \end_layout
3710
3711 \end_inset
3712 </cell>
3713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Plain Layout
3717
3718 \family sans
3719 \series medium
3720 \shape up
3721 \size normal
3722 \emph off
3723 \bar no
3724 \noun off
3725 \color none
3726 Two
3727 \end_layout
3728
3729 \end_inset
3730 </cell>
3731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3732 \begin_inset Text
3733
3734 \begin_layout Plain Layout
3735
3736 \family sans
3737 \series medium
3738 \shape up
3739 \size normal
3740 \emph off
3741 \bar no
3742 \noun off
3743 \color none
3744 One
3745 \end_layout
3746
3747 \end_inset
3748 </cell>
3749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3750 \begin_inset Text
3751
3752 \begin_layout Plain Layout
3753
3754 \family sans
3755 \series medium
3756 \shape up
3757 \size normal
3758 \emph off
3759 \bar no
3760 \noun off
3761 \color none
3762 Chapter
3763 \end_layout
3764
3765 \end_inset
3766 </cell>
3767 </row>
3768 <row>
3769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3770 \begin_inset Text
3771
3772 \begin_layout Plain Layout
3773
3774 \series medium
3775 \shape up
3776 \size normal
3777 \emph off
3778 \bar no
3779 \noun off
3780 \color none
3781 letter
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Plain Layout
3790
3791 \family sans
3792 \series medium
3793 \shape up
3794 \size normal
3795 \emph off
3796 \bar no
3797 \noun off
3798 \color none
3799 Plain
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3805 \begin_inset Text
3806
3807 \begin_layout Plain Layout
3808
3809 \family sans
3810 \series medium
3811 \shape up
3812 \size normal
3813 \emph off
3814 \bar no
3815 \noun off
3816 \color none
3817 One
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3823 \begin_inset Text
3824
3825 \begin_layout Plain Layout
3826
3827 \family sans
3828 \series medium
3829 \shape up
3830 \size normal
3831 \emph off
3832 \bar no
3833 \noun off
3834 \color none
3835 One
3836 \end_layout
3837
3838 \end_inset
3839 </cell>
3840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3841 \begin_inset Text
3842
3843 \begin_layout Plain Layout
3844
3845 \series medium
3846 \shape up
3847 \size normal
3848 \emph off
3849 \bar no
3850 \noun off
3851 \color none
3852 none
3853 \end_layout
3854
3855 \end_inset
3856 </cell>
3857 </row>
3858 </lyxtabular>
3859
3860 \end_inset
3861
3862
3863 \end_layout
3864
3865 \begin_layout Standard
3866 \begin_inset VSpace 0.3cm
3867 \end_inset
3868
3869
3870 \end_layout
3871
3872 \begin_layout Standard
3873 You're probably also wondering what 
3874 \begin_inset Quotes eld
3875 \end_inset
3876
3877 Max.
3878 \begin_inset space ~
3879 \end_inset
3880
3881 sectioning level
3882 \begin_inset Quotes erd
3883 \end_inset
3884
3885  means.
3886  There are several paragraph environments used to create section headings.
3887  Different document classes allow different types of section headings.
3888  Only two use the 
3889 \family sans
3890 Chapter
3891 \family default
3892  heading; the rest do not and begin instead with the 
3893 \family sans
3894 Section
3895 \family default
3896  heading.
3897  Some document classes, such as the ones for letters, don't use any section
3898  headings.
3899  In addition to 
3900 \family sans
3901 Chapter
3902 \family default
3903  and 
3904 \family sans
3905 Section
3906 \family default
3907  headings, there are also 
3908 \family sans
3909 Subsection
3910 \family default
3911  headings, 
3912 \family sans
3913 Subsubsection
3914 \family default
3915  headings, and so on.
3916  We will describe these headings fully in section
3917 \begin_inset space ~
3918 \end_inset
3919
3920
3921 \begin_inset CommandInset ref
3922 LatexCommand ref
3923 reference "subsec:Headings"
3924
3925 \end_inset
3926
3927 .
3928 \end_layout
3929
3930 \begin_layout Subsection
3931 Document Layout
3932 \begin_inset CommandInset label
3933 LatexCommand label
3934 name "subsec:Document-Layout"
3935
3936 \end_inset
3937
3938
3939 \begin_inset Index idx
3940 status collapsed
3941
3942 \begin_layout Plain Layout
3943 Document ! Layout
3944 \end_layout
3945
3946 \end_inset
3947
3948
3949 \begin_inset Index idx
3950 status collapsed
3951
3952 \begin_layout Plain Layout
3953 Document ! Settings
3954 \end_layout
3955
3956 \end_inset
3957
3958
3959 \end_layout
3960
3961 \begin_layout Standard
3962 The most important properties of document classes are set in the menu 
3963 \family sans
3964 Document\SpecialChar menuseparator
3965 Settings
3966 \family default
3967 .
3968  There in the 
3969 \family sans
3970 Class
3971 \begin_inset space ~
3972 \end_inset
3973
3974 options
3975 \family default
3976  field under 
3977 \family sans
3978 Documents
3979 \begin_inset space ~
3980 \end_inset
3981
3982 Class
3983 \family default
3984 , you can enter special options for your document class in a comma-separated
3985  list.
3986  This is only necessary if \SpecialChar LyX
3987  doesn't support special options you want to
3988  use for your document.
3989  To learn more about your favorite \SpecialChar LaTeX
3990 -class and its options, you have to read
3991  its manual.
3992 \end_layout
3993
3994 \begin_layout Standard
3995 The drop box 
3996 \family sans
3997 Headings
3998 \begin_inset space ~
3999 \end_inset
4000
4001 style
4002 \family default
4003  in the 
4004 \family sans
4005 Document\SpecialChar menuseparator
4006 Settings
4007 \family default
4008  dialog under 
4009 \family sans
4010 Page
4011 \begin_inset space ~
4012 \end_inset
4013
4014 Layout
4015 \family default
4016  controls what sorts of headings and page numbers go on a page.
4017  You can choose between the following five options:
4018 \end_layout
4019
4020 \begin_layout Labeling
4021 \labelwidthstring 00.00.0000
4022
4023 \family sans
4024 Default
4025 \family default
4026  Use default page style of current class.
4027 \end_layout
4028
4029 \begin_layout Labeling
4030 \labelwidthstring 00.00.0000
4031
4032 \family sans
4033 empty
4034 \family default
4035  No page numbers or headings.
4036 \end_layout
4037
4038 \begin_layout Labeling
4039 \labelwidthstring 00.00.0000
4040
4041 \family sans
4042 plain
4043 \family default
4044  Page numbers only.
4045 \end_layout
4046
4047 \begin_layout Labeling
4048 \labelwidthstring 00.00.0000
4049
4050 \family sans
4051 headings
4052 \family default
4053  Page numbers and either the current chapter or section title and number.
4054  Whether \SpecialChar LyX
4055  uses the current chapter or the current section depends on the
4056  maximum sectioning level of the class.
4057 \end_layout
4058
4059 \begin_layout Labeling
4060 \labelwidthstring 00.00.0000
4061
4062 \family sans
4063 fancy
4064 \family default
4065  This allows you to define fully customizable headers and footers if you
4066  have the \SpecialChar LaTeX
4067 -package 
4068 \series bold
4069 fancyhdr
4070 \series default
4071
4072 \begin_inset Index idx
4073 status collapsed
4074
4075 \begin_layout Plain Layout
4076 \SpecialChar LaTeX
4077  packages ! fancyhdr
4078 \end_layout
4079
4080 \end_inset
4081
4082  installed.
4083  How they are defined is explained in section
4084 \begin_inset space ~
4085 \end_inset
4086
4087
4088 \begin_inset CommandInset ref
4089 LatexCommand ref
4090 reference "sec:Customized-Page-Headers"
4091
4092 \end_inset
4093
4094 .
4095 \end_layout
4096
4097 \begin_layout Standard
4098 The separation of paragraphs is described in section
4099 \begin_inset space ~
4100 \end_inset
4101
4102
4103 \begin_inset CommandInset ref
4104 LatexCommand ref
4105 reference "subsec:Paragraph-Separation"
4106
4107 \end_inset
4108
4109 .
4110 \end_layout
4111
4112 \begin_layout Subsection
4113 Paper Size and Orientation
4114 \begin_inset Index idx
4115 status collapsed
4116
4117 \begin_layout Plain Layout
4118 Document ! Paper size
4119 \end_layout
4120
4121 \end_inset
4122
4123
4124 \begin_inset CommandInset label
4125 LatexCommand label
4126 name "subsec:Paper-Size,-Orientation"
4127
4128 \end_inset
4129
4130
4131 \end_layout
4132
4133 \begin_layout Standard
4134 You can find the following options in the menu 
4135 \family sans
4136 Page
4137 \begin_inset space ~
4138 \end_inset
4139
4140 Layout
4141 \family default
4142  of the 
4143 \family sans
4144 Document\SpecialChar menuseparator
4145 Settings
4146 \family default
4147  dialog:
4148 \begin_inset Index idx
4149 status collapsed
4150
4151 \begin_layout Plain Layout
4152 Document ! Settings
4153 \end_layout
4154
4155 \end_inset
4156
4157
4158 \end_layout
4159
4160 \begin_layout Labeling
4161 \labelwidthstring 00.00.0000
4162
4163 \family sans
4164 Paper
4165 \begin_inset space ~
4166 \end_inset
4167
4168 Format
4169 \family default
4170  What size paper to print on.
4171  The choices are
4172 \end_layout
4173
4174 \begin_deeper
4175 \begin_layout Itemize
4176
4177 \family sans
4178 Default
4179 \end_layout
4180
4181 \begin_layout Itemize
4182
4183 \family sans
4184 A0 – A6
4185 \end_layout
4186
4187 \begin_layout Itemize
4188
4189 \family sans
4190 B0 – B6
4191 \end_layout
4192
4193 \begin_layout Itemize
4194
4195 \family sans
4196 C0 – C6
4197 \end_layout
4198
4199 \begin_layout Itemize
4200
4201 \family sans
4202 US letter, US legal, US executive
4203 \end_layout
4204
4205 \begin_layout Itemize
4206
4207 \family sans
4208 JIS B0 – JIS B6
4209 \end_layout
4210
4211 \begin_layout Itemize
4212
4213 \family sans
4214 Custom
4215 \end_layout
4216
4217 \end_deeper
4218 \begin_layout Labeling
4219 \labelwidthstring 00.00.0000
4220
4221 \family sans
4222 Orientation
4223 \family default
4224  To choose whether to output as 
4225 \family sans
4226 Landscape
4227 \family default
4228  or as 
4229 \family sans
4230 Portrait
4231 \family default
4232 .
4233 \end_layout
4234
4235 \begin_layout Labeling
4236 \labelwidthstring 00.00.0000
4237
4238 \family sans
4239 Two-sided
4240 \begin_inset space ~
4241 \end_inset
4242
4243 document
4244 \family default
4245  Adjusts the print space to print both sides of paper.
4246  That means that the print space for odd- and even-numbered pages is different.
4247 \end_layout
4248
4249 \begin_layout Subsection
4250 Margins
4251 \begin_inset CommandInset label
4252 LatexCommand label
4253 name "subsec:Margins"
4254
4255 \end_inset
4256
4257
4258 \begin_inset Index idx
4259 status collapsed
4260
4261 \begin_layout Plain Layout
4262 Document ! Margins
4263 \end_layout
4264
4265 \end_inset
4266
4267
4268 \begin_inset Index idx
4269 status collapsed
4270
4271 \begin_layout Plain Layout
4272 Margins
4273 \end_layout
4274
4275 \end_inset
4276
4277
4278 \end_layout
4279
4280 \begin_layout Standard
4281 Paper margins are set in the menu 
4282 \family sans
4283 Document\SpecialChar menuseparator
4284 Settings
4285 \family default
4286 .
4287 \begin_inset Index idx
4288 status collapsed
4289
4290 \begin_layout Plain Layout
4291 Document ! Settings
4292 \end_layout
4293
4294 \end_inset
4295
4296
4297 \end_layout
4298
4299 \begin_layout Standard
4300 If you use a KOMA-Script document class, you can use the default settings
4301  because KOMA-Script calculates the print space automatically by taking
4302  the paper format and the font size into account.
4303 \end_layout
4304
4305 \begin_layout Subsection
4306 Important Note
4307 \end_layout
4308
4309 \begin_layout Standard
4310 If you change a document class, \SpecialChar LyX
4311  has to convert 
4312 \emph on
4313 everything
4314 \emph default
4315  into the new class.
4316  That includes the paragraph environments.
4317  Some paragraph environments are standard, in so far as all of the document
4318  classes have them; but some classes have special paragraph environments.
4319  If this is the case, and you change the document class, \SpecialChar LyX
4320  will mark the
4321  paragraphs whose styles it no longer understands as 
4322 \begin_inset Quotes eld
4323 \end_inset
4324
4325 unknown
4326 \begin_inset Quotes erd
4327 \end_inset
4328
4329 .
4330  The name of the style is retained, in case you should want to go back to
4331  the old class.
4332  But these paragraphs will be output with no special formatting, so you
4333  will either need to create a new style yourself or else convert these paragraph
4334 s manually to a style present in your new document class.
4335 \end_layout
4336
4337 \begin_layout Section
4338 Paragraph Indentation and Separation
4339 \begin_inset Index idx
4340 status collapsed
4341
4342 \begin_layout Plain Layout
4343 Paragraph ! Indentation
4344 \end_layout
4345
4346 \end_inset
4347
4348
4349 \end_layout
4350
4351 \begin_layout Subsection
4352 Introduction
4353 \begin_inset CommandInset label
4354 LatexCommand label
4355 name "sec:Par-indent-intro"
4356
4357 \end_inset
4358
4359
4360 \end_layout
4361
4362 \begin_layout Standard
4363 Before describing all of the various paragraph environments, we'd like to
4364  say a word or two about paragraph indentation.
4365 \end_layout
4366
4367 \begin_layout Standard
4368 Everyone seems to have their own convention for separating paragraphs.
4369  Most Americans indent the first line of a paragraph.
4370  Others don't indent but put extra space between the paragraphs.
4371  If you choose indentation for paragraphs the 
4372 \emph on
4373 first
4374 \emph default
4375  paragraph of a section, or after a figure, an equation, a table, a list,
4376  etc., is 
4377 \emph on
4378 not
4379 \emph default
4380  indented.
4381  Only a paragraph following another paragraph gets indented.
4382  Note that the indentation behavior is different when you use another document
4383  language than English.
4384  \SpecialChar LaTeX
4385  takes care that the indentation follows the rules of the language used.
4386 \end_layout
4387
4388 \begin_layout Standard
4389 The space between paragraphs, like the line spacing, the space between headings
4390  and text — in fact, all the spacing for just about everything —is pre-coded
4391  into \SpecialChar LyX
4392 .
4393  As we said, you don't worry about how much space to add between what.
4394  \SpecialChar LyX
4395  takes care of that.
4396  In fact, these pre-coded vertical spacings aren't a single number but a
4397  range.
4398  That way, \SpecialChar LyX
4399  can squish or stretch the space between lines to make sure figures
4400  fit on a page with text, so that sections don't start at the bottom of
4401  a page, and so on.
4402 \begin_inset Foot
4403 status collapsed
4404
4405 \begin_layout Plain Layout
4406 \SpecialChar LaTeX
4407  does this when \SpecialChar LyX
4408  goes to produce a printable file.
4409 \end_layout
4410
4411 \end_inset
4412
4413  However, pre-coded doesn't mean you can't change them.
4414  \SpecialChar LyX
4415  gives you the ability globally to change 
4416 \emph on
4417 all
4418 \emph default
4419  these pre-coded spacings.
4420  We will explain more later.
4421 \end_layout
4422
4423 \begin_layout Subsection
4424 Paragraph Separation
4425 \begin_inset CommandInset label
4426 LatexCommand label
4427 name "subsec:Paragraph-Separation"
4428
4429 \end_inset
4430
4431
4432 \begin_inset Index idx
4433 status collapsed
4434
4435 \begin_layout Plain Layout
4436 Paragraph ! Separation
4437 \end_layout
4438
4439 \end_inset
4440
4441
4442 \end_layout
4443
4444 \begin_layout Standard
4445 Select 
4446 \family sans
4447 Indentation
4448 \family default
4449  or 
4450 \family sans
4451 Vertical
4452 \begin_inset space ~
4453 \end_inset
4454
4455 space
4456 \family default
4457  in the submenu 
4458 \family sans
4459 Text
4460 \begin_inset space ~
4461 \end_inset
4462
4463 Layout
4464 \family default
4465  of the dialog 
4466 \family sans
4467 Document\SpecialChar menuseparator
4468 Settings
4469 \family default
4470
4471 \begin_inset Index idx
4472 status collapsed
4473
4474 \begin_layout Plain Layout
4475 Document ! Settings
4476 \end_layout
4477
4478 \end_inset
4479
4480  to indent paragraphs or to add extra space between paragraphs, respectively.
4481 \end_layout
4482
4483 \begin_layout Subsection
4484 Fine-Tuning
4485 \end_layout
4486
4487 \begin_layout Standard
4488 You can also change the separation method of a single paragraph.
4489  Open the 
4490 \family sans
4491 Edit\SpecialChar menuseparator
4492 Paragraph
4493 \begin_inset space ~
4494 \end_inset
4495
4496 Settings
4497 \family default
4498  dialog and toggle the 
4499 \family sans
4500 Indent
4501 \begin_inset space ~
4502 \end_inset
4503
4504 Paragraph
4505 \family default
4506  option to change the state of the current paragraph (shortcut 
4507 \begin_inset Info
4508 type  "shortcut"
4509 arg   "paragraph-params \\indent-toggle"
4510 \end_inset
4511
4512 ).
4513  If paragraphs have no indentation but use extra space for separation, this
4514  button will be ignored (you can't indent a single paragraph by toggling
4515  this).
4516 \end_layout
4517
4518 \begin_layout Standard
4519 You should only need to change the indentation method for a single paragraph
4520  if you need to do some fine-tuning.
4521 \end_layout
4522
4523 \begin_layout Subsection
4524 Line Spacing
4525 \begin_inset Index idx
4526 status collapsed
4527
4528 \begin_layout Plain Layout
4529 Paragraph ! Line spacing
4530 \end_layout
4531
4532 \end_inset
4533
4534
4535 \end_layout
4536
4537 \begin_layout Standard
4538 In the 
4539 \family sans
4540 Document\SpecialChar menuseparator
4541 Settings
4542 \noun on
4543
4544 \begin_inset Index idx
4545 status collapsed
4546
4547 \begin_layout Plain Layout
4548 Document ! Settings
4549 \end_layout
4550
4551 \end_inset
4552
4553
4554 \family default
4555 \noun default
4556  dialog you can set the line spacing for the whole document in the submenu
4557  
4558 \family sans
4559 Text
4560 \begin_inset space ~
4561 \end_inset
4562
4563 Layout
4564 \family default
4565 .
4566 \begin_inset Foot
4567 status collapsed
4568
4569 \begin_layout Plain Layout
4570 You need to have the \SpecialChar LaTeX
4571 -package 
4572 \series bold
4573 setspace
4574 \series default
4575
4576 \begin_inset Index idx
4577 status collapsed
4578
4579 \begin_layout Plain Layout
4580 \SpecialChar LaTeX
4581  packages ! setspace
4582 \end_layout
4583
4584 \end_inset
4585
4586  installed to use this feature.
4587 \end_layout
4588
4589 \end_inset
4590
4591  You can set it for a single paragraph in the 
4592 \family sans
4593 Edit\SpecialChar menuseparator
4594 Paragraph
4595 \begin_inset space ~
4596 \end_inset
4597
4598 Settings
4599 \family default
4600  dialog but this should be used very exceptionally because vertical spacing
4601  is normally defined in the environment's style.
4602 \end_layout
4603
4604 \begin_layout Section
4605 Paragraph Environments
4606 \begin_inset CommandInset label
4607 LatexCommand label
4608 name "sec:Paragraph-Environments"
4609
4610 \end_inset
4611
4612
4613 \begin_inset Index idx
4614 status collapsed
4615
4616 \begin_layout Plain Layout
4617 Paragraph ! Environments
4618 \end_layout
4619
4620 \end_inset
4621
4622
4623 \begin_inset Index idx
4624 status collapsed
4625
4626 \begin_layout Plain Layout
4627 Paragraph environments|(
4628 \end_layout
4629
4630 \end_inset
4631
4632
4633 \end_layout
4634
4635 \begin_layout Subsection
4636 Overview
4637 \end_layout
4638
4639 \begin_layout Standard
4640 Paragraph environments correspond to the
4641 \end_layout
4642
4643 \begin_layout Standard
4644
4645 \series bold
4646
4647 \backslash
4648 begin{
4649 \emph on
4650 environment
4651 \emph default
4652 } \SpecialChar ldots
4653  
4654 \backslash
4655 end{
4656 \emph on
4657 environment
4658 \emph default
4659 }
4660 \series default
4661
4662 \begin_inset Newline newline
4663 \end_inset
4664
4665 command sequence in \SpecialChar LaTeX
4666  files.
4667  If you don't know \SpecialChar LaTeX
4668 , or the concept of a paragraph environment is totally
4669  alien to you, we urge you to read the 
4670 \emph on
4671 Tutorial
4672 \emph default
4673 .
4674  The 
4675 \emph on
4676 Tutorial
4677 \emph default
4678  also contains many more examples than this section does.
4679 \end_layout
4680
4681 \begin_layout Standard
4682 A paragraph environment is simply a 
4683 \begin_inset Quotes eld
4684 \end_inset
4685
4686 container
4687 \begin_inset Quotes erd
4688 \end_inset
4689
4690  for a paragraph which gives that paragraph certain properties.
4691  This can include a particular style of font, different margins, a numbering
4692  scheme, labels, and so on.
4693  Additionally, you can 
4694 \begin_inset Quotes eld
4695 \end_inset
4696
4697 nest
4698 \begin_inset Quotes erd
4699 \end_inset
4700
4701  the different environments inside one another, allowing one environment
4702  to inherit some of the properties of another.
4703  The different paragraph environments totally replace the need for messy
4704  tab stops, on the fly margin adjustment, and other hangovers from the days
4705  of typewriters.
4706  There are several paragraph environments that are specific to a particular
4707  document type.
4708  We will only be covering the most common ones here.
4709 \end_layout
4710
4711 \begin_layout Standard
4712 To choose a new paragraph environment, use the pull-down box 
4713 \begin_inset Graphics
4714         filename clipart/ToolbarEnvBox.png
4715         scale 70
4716         clip
4717
4718 \end_inset
4719
4720  at the left end of the toolbar.
4721  \SpecialChar LyX
4722  will change the environment of the 
4723 \emph on
4724 entire
4725 \emph default
4726  paragraph in which the cursor sits.
4727  You can also change the environment of an entire group of paragraphs if
4728  you select them before choosing the new environment.
4729  
4730 \end_layout
4731
4732 \begin_layout Standard
4733 Note that entering 
4734 \family sans
4735 Return
4736 \family default
4737  will 
4738 \emph on
4739 typically
4740 \emph default
4741  create a new paragraph using the 
4742 \family sans
4743 Standard
4744 \family default
4745  paragraph environment.
4746  We say 
4747 \begin_inset Quotes eld
4748 \end_inset
4749
4750 typically
4751 \begin_inset Quotes erd
4752 \end_inset
4753
4754  because if you are in one of these environments:
4755 \end_layout
4756
4757 \begin_layout Itemize
4758
4759 \family sans
4760 Quote
4761 \end_layout
4762
4763 \begin_layout Itemize
4764
4765 \family sans
4766 Quotation
4767 \end_layout
4768
4769 \begin_layout Itemize
4770
4771 \family sans
4772 Verse
4773 \end_layout
4774
4775 \begin_layout Itemize
4776
4777 \family sans
4778 Itemize
4779 \end_layout
4780
4781 \begin_layout Itemize
4782
4783 \family sans
4784 Enumerate
4785 \end_layout
4786
4787 \begin_layout Itemize
4788
4789 \family sans
4790 Description
4791 \end_layout
4792
4793 \begin_layout Itemize
4794
4795 \family sans
4796 List
4797 \end_layout
4798
4799 \begin_layout Standard
4800 \SpecialChar LyX
4801  keeps the old paragraph environment when you enter 
4802 \family sans
4803 Return
4804 \family default
4805 , rather than resetting it to 
4806 \family sans
4807 Standard
4808 \family default
4809 .
4810  Also the nesting depth is preserved (for more on nesting see section
4811 \begin_inset space ~
4812 \end_inset
4813
4814
4815 \begin_inset CommandInset ref
4816 LatexCommand ref
4817 reference "sec:Nesting"
4818
4819 \end_inset
4820
4821 ).
4822 \end_layout
4823
4824 \begin_layout Subsection
4825 Standard
4826 \end_layout
4827
4828 \begin_layout Standard
4829 The default paragraph environment is 
4830 \family sans
4831 Standard
4832 \family default
4833  for most classes.
4834  It creates a plain paragraph.
4835  If \SpecialChar LyX
4836  resets the paragraph environment, this is the one it chooses.
4837  In fact, the paragraph you're reading right now (and most of the ones in
4838  this manual) are in the 
4839 \family sans
4840 Standard
4841 \family default
4842  environment.
4843 \end_layout
4844
4845 \begin_layout Standard
4846 You can nest a paragraph using the 
4847 \family sans
4848 Standard
4849 \family default
4850  environment in just about anything else, but you can't really nest anything
4851  in a 
4852 \family sans
4853 Standard
4854 \family default
4855  environment.
4856 \end_layout
4857
4858 \begin_layout Subsection
4859 Document Title
4860 \begin_inset Index idx
4861 status collapsed
4862
4863 \begin_layout Plain Layout
4864 Document ! Title
4865 \end_layout
4866
4867 \end_inset
4868
4869
4870 \end_layout
4871
4872 \begin_layout Standard
4873 A \SpecialChar LaTeX
4874  title page has three parts: the title itself, the name(s) of the author(s)
4875  and a 
4876 \begin_inset Quotes eld
4877 \end_inset
4878
4879 footnote
4880 \begin_inset Quotes erd
4881 \end_inset
4882
4883  for thanks or contact information.
4884  For certain types of documents, \SpecialChar LaTeX
4885  places all of this on a separate page
4886  along with today's date.
4887  For other types of documents, the title 
4888 \begin_inset Quotes eld
4889 \end_inset
4890
4891 page
4892 \begin_inset Quotes erd
4893 \end_inset
4894
4895  goes at the top of the first page of the document.
4896  
4897 \end_layout
4898
4899 \begin_layout Standard
4900 \SpecialChar LyX
4901  provides an interface to the title page commands through the paragraph
4902  environments 
4903 \family sans
4904 Title
4905 \family default
4906
4907 \family sans
4908 Author
4909 \family default
4910 , and 
4911 \family sans
4912 Date
4913 \family default
4914 .
4915  Here's how you use them:
4916 \end_layout
4917
4918 \begin_layout Itemize
4919 Put the title of your document in the 
4920 \family sans
4921 Title
4922 \family default
4923  environment.
4924 \end_layout
4925
4926 \begin_layout Itemize
4927 Put the author name in the 
4928 \family sans
4929 Author
4930 \family default
4931  environment.
4932 \end_layout
4933
4934 \begin_layout Itemize
4935 If you want the date to have a certain appearance, want to use a fixed date,
4936  or want other text to appear in place of today's date, put that text in
4937  the 
4938 \family sans
4939 Date
4940 \family default
4941  environment.
4942  Note that using this environment is optional.
4943  If you don't provide any, \SpecialChar LaTeX
4944  will automatically insert today's date.
4945  If you don't want a date, use the option 
4946 \family sans
4947 Suppress default date on front page
4948 \family default
4949  in the menu 
4950 \family sans
4951 Document\SpecialChar menuseparator
4952 Settings\SpecialChar menuseparator
4953 Document
4954 \begin_inset space ~
4955 \end_inset
4956
4957 class
4958 \family default
4959 .
4960 \end_layout
4961
4962 \begin_layout Standard
4963 You can use footnotes to insert 
4964 \begin_inset Quotes eld
4965 \end_inset
4966
4967 thanks
4968 \begin_inset Quotes erd
4969 \end_inset
4970
4971  or contact information.
4972 \end_layout
4973
4974 \begin_layout Subsection
4975 Headings
4976 \begin_inset Index idx
4977 status collapsed
4978
4979 \begin_layout Plain Layout
4980 Section headings
4981 \end_layout
4982
4983 \end_inset
4984
4985
4986 \begin_inset CommandInset label
4987 LatexCommand label
4988 name "subsec:Headings"
4989
4990 \end_inset
4991
4992
4993 \end_layout
4994
4995 \begin_layout Standard
4996 There are several paragraph environments for producing section headings.
4997  \SpecialChar LyX
4998  takes care of the numbering for you.
4999 \end_layout
5000
5001 \begin_layout Subsubsection
5002 Numbered Headings
5003 \begin_inset Index idx
5004 status collapsed
5005
5006 \begin_layout Plain Layout
5007 Section headings ! Numbered
5008 \end_layout
5009
5010 \end_inset
5011
5012
5013 \end_layout
5014
5015 \begin_layout Standard
5016 There are 7 numbered types of section headings.
5017  They are:
5018 \end_layout
5019
5020 \begin_layout Enumerate
5021
5022 \family sans
5023 Part
5024 \end_layout
5025
5026 \begin_layout Enumerate
5027
5028 \family sans
5029 Chapter
5030 \end_layout
5031
5032 \begin_layout Enumerate
5033
5034 \family sans
5035 Section
5036 \end_layout
5037
5038 \begin_layout Enumerate
5039
5040 \family sans
5041 Subsection
5042 \end_layout
5043
5044 \begin_layout Enumerate
5045
5046 \family sans
5047 Subsubsection
5048 \end_layout
5049
5050 \begin_layout Enumerate
5051
5052 \family sans
5053 Paragraph
5054 \end_layout
5055
5056 \begin_layout Enumerate
5057
5058 \family sans
5059 Subparagraph
5060 \end_layout
5061
5062 \begin_layout Standard
5063 \SpecialChar LyX
5064  labels each heading with a series of numbers, separated by periods.
5065  The numbers describe where in the document you are.
5066  Unlike the other headings, parts are numbered with Latin letters.
5067 \end_layout
5068
5069 \begin_layout Standard
5070 Headings all subdivide your document into different pieces of text.
5071  For example, suppose you're writing a book.
5072  You group the book into chapters.
5073  \SpecialChar LyX
5074  does a similar grouping:
5075 \end_layout
5076
5077 \begin_layout Itemize
5078
5079 \family sans
5080 Part
5081 \family default
5082  is divided into either 
5083 \family sans
5084 Chapter
5085 \family default
5086 s or 
5087 \family sans
5088 Section
5089 \family default
5090 s
5091 \end_layout
5092
5093 \begin_layout Itemize
5094
5095 \family sans
5096 Chapter
5097 \family default
5098 s are divided into 
5099 \family sans
5100 Section
5101 \family default
5102 s
5103 \end_layout
5104
5105 \begin_layout Itemize
5106
5107 \family sans
5108 Section
5109 \family default
5110 s are divided into 
5111 \family sans
5112 Subsection
5113 \family default
5114 s
5115 \end_layout
5116
5117 \begin_layout Itemize
5118
5119 \family sans
5120 Subsection
5121 \family default
5122 s are divided into 
5123 \family sans
5124 Subsubsection
5125 \family default
5126 s
5127 \end_layout
5128
5129 \begin_layout Itemize
5130
5131 \family sans
5132 Subsubsection
5133 \family default
5134 s are divided into 
5135 \family sans
5136 Paragraph
5137 \family default
5138 s
5139 \end_layout
5140
5141 \begin_layout Itemize
5142
5143 \family sans
5144 Paragraph
5145 \family default
5146 s are divided into 
5147 \family sans
5148 Subparagraph
5149 \family default
5150 s
5151 \end_layout
5152
5153 \begin_layout Standard
5154 \begin_inset Note Greyedout
5155 status open
5156
5157 \begin_layout Plain Layout
5158
5159 \series bold
5160 Note:
5161 \series default
5162  Not all document types use the 
5163 \family sans
5164 Chapter
5165 \family default
5166  heading as the maximum sectioning level.
5167  In that case the 
5168 \family sans
5169 Section
5170 \family default
5171  is the top-level heading.
5172 \end_layout
5173
5174 \end_inset
5175
5176
5177 \end_layout
5178
5179 \begin_layout Standard
5180 So, if you use the 
5181 \family sans
5182 Subsubsection
5183 \family default
5184  environment to label a new sub-subsection, \SpecialChar LyX
5185  labels it with its number,
5186  along with the number of the subsection, section and, if applicable, chapter
5187  that it's in.
5188  For example: the fifth section of the second chapter of this book has the
5189  label 
5190 \begin_inset Quotes eld
5191 \end_inset
5192
5193 2.5
5194 \begin_inset Quotes erd
5195 \end_inset
5196
5197 .
5198 \end_layout
5199
5200 \begin_layout Subsubsection
5201 Unnumbered Headings
5202 \begin_inset Index idx
5203 status collapsed
5204
5205 \begin_layout Plain Layout
5206 Section headings ! Unnumbered
5207 \end_layout
5208
5209 \end_inset
5210
5211
5212 \end_layout
5213
5214 \begin_layout Standard
5215 The unnumbered section headings have a 
5216 \begin_inset Quotes eld
5217 \end_inset
5218
5219 *
5220 \begin_inset Quotes erd
5221 \end_inset
5222
5223  at the end of their name.
5224  They work the same as their numbered counterparts but will not appear in
5225  the table of contents, see section
5226 \begin_inset space ~
5227 \end_inset
5228
5229
5230 \begin_inset CommandInset ref
5231 LatexCommand ref
5232 reference "sec:toc"
5233
5234 \end_inset
5235
5236 .
5237 \end_layout
5238
5239 \begin_layout Subsubsection
5240 Changing the Numbering
5241 \begin_inset CommandInset label
5242 LatexCommand label
5243 name "subsec:Numbering-depth"
5244
5245 \end_inset
5246
5247
5248 \end_layout
5249
5250 \begin_layout Standard
5251 You can also alter which sectioning levels get numbered and which ones appear
5252  in the Table of Contents.
5253  Now, this doesn't remove any of the levels; that's preset in the document
5254  class.
5255  Just as certain classes start with 
5256 \family sans
5257 Chapter
5258 \family default
5259  and go down to the 
5260 \family sans
5261 Subparagraph
5262 \family default
5263  level.
5264  Others start at 
5265 \family sans
5266 Section
5267 \family default
5268 .
5269  Similarly, not all document classes number all sectioning levels.
5270  Most don't number 
5271 \family sans
5272 Paragraph
5273 \family default
5274  or 
5275 \family sans
5276 Subparagraph
5277 \family default
5278 .
5279  This is something you can change.
5280 \end_layout
5281
5282 \begin_layout Standard
5283 Open the 
5284 \family sans
5285 Document\SpecialChar menuseparator
5286 Settings
5287 \family default
5288  dialog.
5289 \begin_inset Index idx
5290 status collapsed
5291
5292 \begin_layout Plain Layout
5293 Document ! Settings
5294 \end_layout
5295
5296 \end_inset
5297
5298  Under 
5299 \family sans
5300 Numbering
5301 \begin_inset space ~
5302 \end_inset
5303
5304 &
5305 \begin_inset space ~
5306 \end_inset
5307
5308 TOC
5309 \family default
5310  you will see two counters.
5311  The one named 
5312 \family sans
5313 Numbering
5314 \family default
5315  controls how far down in the sectioning hierarchy \SpecialChar LyX
5316  numbers a section heading.
5317  The other one controls the appearance of the section headings in the table
5318  of contents.
5319 \end_layout
5320
5321 \begin_layout Subsubsection
5322 Short Titles of Headings
5323 \begin_inset Index idx
5324 status collapsed
5325
5326 \begin_layout Plain Layout
5327 Section headings ! Short titles
5328 \end_layout
5329
5330 \end_inset
5331
5332
5333 \begin_inset Argument 1
5334 status collapsed
5335
5336 \begin_layout Plain Layout
5337 Short Titles
5338 \end_layout
5339
5340 \end_inset
5341
5342
5343 \begin_inset CommandInset label
5344 LatexCommand label
5345 name "sec:Short-Titles"
5346
5347 \end_inset
5348
5349
5350 \end_layout
5351
5352 \begin_layout Standard
5353 Some section or chapter titles, such as this one, can get quite long.
5354  This can cause trouble when there is limited horizontal space.
5355  For example, if the header of the page is set to show the current section
5356  title, a long title will protrude over the page margins and look awful.
5357 \end_layout
5358
5359 \begin_layout Standard
5360 \SpecialChar LaTeX
5361  allows you to specify a short title for section headings.
5362  This short title is used in the header and in the actual table of contents,
5363  avoiding the problem mentioned.
5364  To specify a short title, set the cursor behind the title and use the menu
5365  
5366 \family sans
5367 Insert\SpecialChar menuseparator
5368 Short
5369 \begin_inset space ~
5370 \end_inset
5371
5372 Title
5373 \family default
5374 .
5375  This will insert a box labeled 
5376 \begin_inset Quotes eld
5377 \end_inset
5378
5379 Short
5380 \begin_inset space ~
5381 \end_inset
5382
5383 Title
5384 \begin_inset Quotes erd
5385 \end_inset
5386
5387  which you can use to enter the short title text.
5388  This also works for captions inside floats.
5389  There can only be one short title per title.
5390 \end_layout
5391
5392 \begin_layout Standard
5393 The title of this section is a good example of using this feature.
5394 \end_layout
5395
5396 \begin_layout Subsubsection
5397 Special Information
5398 \end_layout
5399
5400 \begin_layout Standard
5401 The following information applies to all section headings:
5402 \end_layout
5403
5404 \begin_layout Itemize
5405 You cannot do any nesting with these environments.
5406 \end_layout
5407
5408 \begin_layout Itemize
5409 You cannot use a margin note in any of these environments.
5410 \end_layout
5411
5412 \begin_layout Itemize
5413 You can only use inline math in these environments.
5414 \end_layout
5415
5416 \begin_layout Itemize
5417 You can use labels and cross-references to refer to their numbers.
5418 \end_layout
5419
5420 \begin_layout Subsection
5421 Quotes and Poetry
5422 \end_layout
5423
5424 \begin_layout Standard
5425 \SpecialChar LyX
5426  has three paragraph environments for writing poetry and quotations.
5427  They are 
5428 \family sans
5429 Quote
5430 \family default
5431
5432 \family sans
5433 Quotation
5434 \family default
5435 , and 
5436 \family sans
5437 Verse
5438 \family default
5439 .
5440  Forget the days of changing line spacing and twiddling with margins.
5441  These three paragraph environments already have those changes built-in.
5442  They all widen the left margin and add a bit of extra space above and below
5443  the text they contain.
5444  They also allow nesting, so you can put a 
5445 \family sans
5446 Verse
5447 \family default
5448  in a 
5449 \family sans
5450 Quotation
5451 \family default
5452 , as well as in some other paragraph environments.
5453 \end_layout
5454
5455 \begin_layout Standard
5456 There is another feature of these three paragraph environments: they do
5457  
5458 \emph on
5459 not
5460 \emph default
5461  reset to 
5462 \family sans
5463 Standard
5464 \family default
5465  when you start a new paragraph.
5466  So, you can type in that poem and merrily enter 
5467 \family sans
5468 Return
5469 \family default
5470  without worrying about the paragraph environment changing on you.
5471  Of course, that means that, once you are done typing in that poem, you
5472  have to change back to the 
5473 \family sans
5474 Standard
5475 \family default
5476  environment yourself.
5477 \end_layout
5478
5479 \begin_layout Subsubsection
5480 Quote and Quotation
5481 \begin_inset CommandInset label
5482 LatexCommand label
5483 name "sec:Quote"
5484
5485 \end_inset
5486
5487
5488 \begin_inset Index idx
5489 status collapsed
5490
5491 \begin_layout Plain Layout
5492 Quotation
5493 \end_layout
5494
5495 \end_inset
5496
5497
5498 \end_layout
5499
5500 \begin_layout Standard
5501 Now that we've described the similarities of these three environments, it's
5502  time for the differences.
5503  
5504 \family sans
5505 Quote
5506 \family default
5507  and 
5508 \family sans
5509 Quotation
5510 \family default
5511  are identical except for one difference: 
5512 \family sans
5513 Quote
5514 \family default
5515  uses extra spacing to separate paragraphs and never indents the first line.
5516  
5517 \family sans
5518 Quotation
5519 \family default
5520  
5521 \emph on
5522 always
5523 \emph default
5524  indents the first line of a paragraph and uses the same line spacing throughout.
5525 \end_layout
5526
5527 \begin_layout Standard
5528 Here's an example of the 
5529 \family sans
5530 Quote
5531 \family default
5532  environment:
5533 \end_layout
5534
5535 \begin_layout Quote
5536 This is in the 
5537 \family sans
5538 Quote
5539 \family default
5540  environment.
5541  I can keep writing, extending this line out further and further until it
5542  wraps.
5543  See – no indentation!
5544 \end_layout
5545
5546 \begin_layout Quote
5547 Here's the second paragraph of this quote.
5548  Again, there's no indentation, but there is extra space between me and
5549  the other paragraph.
5550 \end_layout
5551
5552 \begin_layout Standard
5553 Here's another example, this time in the 
5554 \family sans
5555 Quotation
5556 \family default
5557  environment:
5558 \end_layout
5559
5560 \begin_layout Quotation
5561 This is in the 
5562 \family sans
5563 Quotation
5564 \family default
5565  environment.
5566  If I keep writing, you will see the indentation.
5567  If your country uses a writing style that indicates new paragraphs by indenting
5568  the first line, then 
5569 \family sans
5570 Quotation
5571 \family default
5572  is the environment for you! Well, you'd use it 
5573 \emph on
5574 if
5575 \emph default
5576  you were quoting other text.
5577 \end_layout
5578
5579 \begin_layout Quotation
5580 Here's a new paragraph.
5581  I could ramble on and on, like a politician at election time.
5582  If I did that, though, you'd get bored.
5583 \end_layout
5584
5585 \begin_layout Standard
5586 As the examples show, 
5587 \family sans
5588 Quote
5589 \family default
5590  is for those people who use extra space to separate paragraphs.
5591  They should put quotes in the 
5592 \family sans
5593 Quote
5594 \family default
5595  environment.
5596  Those who use indentation to mark a new paragraph should use the 
5597 \family sans
5598 Quotation
5599 \family default
5600  paragraph environment for quoted text.
5601 \end_layout
5602
5603 \begin_layout Subsubsection
5604 Verse
5605 \begin_inset Index idx
5606 status collapsed
5607
5608 \begin_layout Plain Layout
5609 Paragraph ! Verse
5610 \end_layout
5611
5612 \end_inset
5613
5614
5615 \begin_inset Index idx
5616 status collapsed
5617
5618 \begin_layout Plain Layout
5619 Poetry
5620 \end_layout
5621
5622 \end_inset
5623
5624
5625 \begin_inset CommandInset label
5626 LatexCommand label
5627 name "sec:Verse"
5628
5629 \end_inset
5630
5631
5632 \end_layout
5633
5634 \begin_layout Standard
5635
5636 \family sans
5637 Verse
5638 \family default
5639  is a paragraph environment for poetry, rhymes, verses, and so on.
5640  Here's an example:
5641 \end_layout
5642
5643 \begin_layout Verse
5644 This is in Verse
5645 \begin_inset Newline newline
5646 \end_inset
5647
5648 Which I did not rehearse!
5649 \end_layout
5650
5651 \begin_layout Verse
5652 It could be much worse.
5653  This line could be long, very long, oh so long, so very long that it wraps
5654  around.
5655  It looks okay on screen, but in the printed version, the extra lines are
5656  indented a bit more than the first.
5657  Okay, so it's turned to prose and doesn't rhyme anymore.
5658  So sue me.
5659 \end_layout
5660
5661 \begin_layout Verse
5662 To break a line
5663 \begin_inset Newline newline
5664 \end_inset
5665
5666 And make things look fine
5667 \begin_inset Newline newline
5668 \end_inset
5669
5670 Use 
5671 \begin_inset Info
5672 type  "shortcut"
5673 arg   "newline-insert newline"
5674 \end_inset
5675
5676 .
5677 \end_layout
5678
5679 \begin_layout Standard
5680 As you can see, 
5681 \family sans
5682 Verse
5683 \family default
5684  does not indent both margins.
5685  Each stanza of the verse or poem is in its own paragraph.
5686  To separate the individual lines of a stanza, use the shortcut 
5687 \begin_inset Info
5688 type  "shortcut"
5689 arg   "newline-insert newline"
5690 \end_inset
5691
5692 .
5693 \end_layout
5694
5695 \begin_layout Subsection
5696 Lists
5697 \begin_inset Index idx
5698 status collapsed
5699
5700 \begin_layout Plain Layout
5701 Lists
5702 \end_layout
5703
5704 \end_inset
5705
5706
5707 \begin_inset CommandInset label
5708 LatexCommand label
5709 name "subsec:Lists"
5710
5711 \end_inset
5712
5713
5714 \end_layout
5715
5716 \begin_layout Standard
5717 \SpecialChar LyX
5718  has four different paragraph environments for creating different kinds
5719  of lists.
5720  In the 
5721 \family sans
5722 Itemize
5723 \family default
5724  and 
5725 \family sans
5726 Enumerate
5727 \family default
5728  environments, \SpecialChar LyX
5729  labels your list items with bullets or numbers, respectively.
5730  In the 
5731 \family sans
5732 Description
5733 \family default
5734  and 
5735 \family sans
5736 List
5737 \family default
5738  environments, \SpecialChar LyX
5739  lets you provide your own label.
5740  We will present the individual details of each type of list next after
5741  describing some general features of all four of them.
5742 \end_layout
5743
5744 \begin_layout Subsubsection
5745 General Features
5746 \end_layout
5747
5748 \begin_layout Standard
5749 The four paragraph environments for lists differ from the other environments
5750  in several ways.
5751  First, \SpecialChar LyX
5752  treats each paragraph as a list item.
5753  Hitting 
5754 \family sans
5755 Return
5756 \family default
5757  does 
5758 \emph on
5759 not
5760 \emph default
5761  reset the environment to 
5762 \family sans
5763 Standard
5764 \family default
5765  but keeps the current environment and creates a new list item.
5766  The nesting depth is thereby kept.
5767  If you want to keep the paragraph environment but reset the current nesting
5768  depth, you can use 
5769 \begin_inset Info
5770 type  "shortcut"
5771 arg   "paragraph-break inverse"
5772 \end_inset
5773
5774 .
5775  If you do this at the top level of a list, it returns you to the 
5776 \family sans
5777 Standard
5778 \family default
5779  environment.
5780 \end_layout
5781
5782 \begin_layout Standard
5783 You can nest lists of any type inside one another.
5784  In fact, \SpecialChar LyX
5785  changes the labels on some list items depending on how it is
5786  nested.
5787  If you intend to use any of the list paragraph environments, we suggest
5788  you read all of section
5789 \begin_inset space ~
5790 \end_inset
5791
5792
5793 \begin_inset CommandInset ref
5794 LatexCommand ref
5795 reference "sec:Nesting"
5796
5797 \end_inset
5798
5799 .
5800 \end_layout
5801
5802 \begin_layout Subsubsection
5803 Itemize
5804 \begin_inset Index idx
5805 status collapsed
5806
5807 \begin_layout Plain Layout
5808 Lists ! Itemize
5809 \end_layout
5810
5811 \end_inset
5812
5813
5814 \begin_inset CommandInset label
5815 LatexCommand label
5816 name "sec:Itemize"
5817
5818 \end_inset
5819
5820
5821 \end_layout
5822
5823 \begin_layout Standard
5824 The first type of list we will describe in detail is the 
5825 \family sans
5826 Itemize
5827 \family default
5828  paragraph environment.
5829  It has the following properties:
5830 \end_layout
5831
5832 \begin_layout Itemize
5833 Each item has a particular bullet or symbol as its label.
5834 \end_layout
5835
5836 \begin_deeper
5837 \begin_layout Itemize
5838 \SpecialChar LyX
5839  uses the same symbol for all of the items in a given nesting level.
5840 \end_layout
5841
5842 \begin_layout Itemize
5843 The symbol appears at the beginning of the first line.
5844 \end_layout
5845
5846 \end_deeper
5847 \begin_layout Itemize
5848 The items can have any length.
5849  \SpecialChar LyX
5850  automatically offsets the left margin of each item.
5851  The offset is always relative to whatever environment the 
5852 \family sans
5853 Itemize
5854 \family default
5855  list may be in.
5856 \end_layout
5857
5858 \begin_layout Itemize
5859 If you nest an 
5860 \family sans
5861 Itemize
5862 \family default
5863  environment inside another 
5864 \family sans
5865 Itemize
5866 \family default
5867  environment, the label changes to a new symbol.
5868 \end_layout
5869
5870 \begin_deeper
5871 \begin_layout Itemize
5872 There are four different symbols for up to a four-fold nesting.
5873 \end_layout
5874
5875 \begin_layout Itemize
5876 \SpecialChar LyX
5877  always shows the same symbol on screen.
5878 \end_layout
5879
5880 \begin_layout Itemize
5881 See section
5882 \begin_inset space ~
5883 \end_inset
5884
5885
5886 \begin_inset CommandInset ref
5887 LatexCommand ref
5888 reference "sec:Nesting"
5889
5890 \end_inset
5891
5892  for a full explanation of nesting.
5893 \end_layout
5894
5895 \end_deeper
5896 \begin_layout Standard
5897 Of course, that explanation was also an example of an 
5898 \family sans
5899 Itemize
5900 \family default
5901  list.
5902  The 
5903 \family sans
5904 Itemize
5905 \family default
5906  environment is best suited for lists where the order doesn't matter.
5907 \end_layout
5908
5909 \begin_layout Standard
5910 We said that different levels use different symbols as their label.
5911  Here's an example of all four possible symbols.
5912 \end_layout
5913
5914 \begin_layout Itemize
5915 The label for the first level 
5916 \family sans
5917 Itemize
5918 \family default
5919  is a large black dot, or bullet.
5920 \end_layout
5921
5922 \begin_deeper
5923 \begin_layout Itemize
5924 The label for the second level is a dash.
5925 \end_layout
5926
5927 \begin_deeper
5928 \begin_layout Itemize
5929 The label for the third is an asterisk.
5930 \end_layout
5931
5932 \begin_deeper
5933 \begin_layout Itemize
5934 The label for the fourth is a centered dot.
5935 \end_layout
5936
5937 \end_deeper
5938 \begin_layout Itemize
5939 Back out to the third level.
5940 \end_layout
5941
5942 \end_deeper
5943 \begin_layout Itemize
5944 Back to the second level.
5945 \end_layout
5946
5947 \end_deeper
5948 \begin_layout Itemize
5949 Back to the outermost level.
5950 \end_layout
5951
5952 \begin_layout Standard
5953 These are the default labels for an 
5954 \family sans
5955 Itemize
5956 \family default
5957  list.
5958  You can customize how these labels are displayed in the output in the 
5959 \family sans
5960 Document\SpecialChar menuseparator
5961 Settings
5962 \family default
5963  dialog in the submenu 
5964 \family sans
5965 Bullets
5966 \family default
5967 .
5968 \begin_inset Index idx
5969 status collapsed
5970
5971 \begin_layout Plain Layout
5972 Document ! Settings
5973 \end_layout
5974
5975 \end_inset
5976
5977  These customizations are not displayed in \SpecialChar LyX
5978 .
5979 \end_layout
5980
5981 \begin_layout Standard
5982 Notice how the space between items decreases with increasing depth.
5983  We will explain nesting and all the tricks you can do with different depths
5984  in section
5985 \begin_inset space ~
5986 \end_inset
5987
5988
5989 \begin_inset CommandInset ref
5990 LatexCommand ref
5991 reference "sec:Nesting"
5992
5993 \end_inset
5994
5995 .
5996 \end_layout
5997
5998 \begin_layout Subsubsection
5999 Enumerate
6000 \begin_inset Index idx
6001 status collapsed
6002
6003 \begin_layout Plain Layout
6004 Lists ! Enumerate
6005 \end_layout
6006
6007 \end_inset
6008
6009
6010 \begin_inset CommandInset label
6011 LatexCommand label
6012 name "sec:Enumerate"
6013
6014 \end_inset
6015
6016
6017 \end_layout
6018
6019 \begin_layout Standard
6020 The 
6021 \family sans
6022 Enumerate
6023 \family default
6024  environment is used to create numbered lists and outlines.
6025  It has these properties:
6026 \end_layout
6027
6028 \begin_layout Enumerate
6029 Each item has a numeral as its label.
6030 \end_layout
6031
6032 \begin_deeper
6033 \begin_layout Enumerate
6034 The label type depends on the nesting depth.
6035 \end_layout
6036
6037 \end_deeper
6038 \begin_layout Enumerate
6039 \SpecialChar LyX
6040  automatically counts the items for you and updates the label as appropriate.
6041 \end_layout
6042
6043 \begin_layout Enumerate
6044 Each new 
6045 \family sans
6046 Enumerate
6047 \family default
6048  environment resets the counter to one.
6049 \end_layout
6050
6051 \begin_layout Enumerate
6052 Like the 
6053 \family sans
6054 Itemize
6055 \family default
6056  environment, the 
6057 \family sans
6058 Enumerate
6059 \family default
6060  environment:
6061 \end_layout
6062
6063 \begin_deeper
6064 \begin_layout Enumerate
6065 Offsets the items relative to the left margin.
6066  Items can have any length.
6067 \end_layout
6068
6069 \begin_layout Enumerate
6070 Reduces the space between items as the nesting depth increases.
6071 \end_layout
6072
6073 \begin_layout Enumerate
6074 Uses different types of labels depending on the nesting depth.
6075 \end_layout
6076
6077 \begin_layout Enumerate
6078 Allows up to a four-fold nesting.
6079 \end_layout
6080
6081 \end_deeper
6082 \begin_layout Standard
6083 Unlike the 
6084 \family sans
6085 Itemize
6086 \family default
6087  environment, 
6088 \family sans
6089 Enumerate
6090 \family default
6091  shows the different labels for each item in \SpecialChar LyX
6092 .
6093  Here is how \SpecialChar LyX
6094  labels the four different levels in an 
6095 \family sans
6096 Enumerate
6097 \family default
6098 :
6099 \end_layout
6100
6101 \begin_layout Enumerate
6102 The first level of an 
6103 \family sans
6104 Enumerate
6105 \family default
6106  uses Arabic numerals followed by a period.
6107 \end_layout
6108
6109 \begin_deeper
6110 \begin_layout Enumerate
6111 The second level uses lower case letters surrounded by parentheses.
6112 \end_layout
6113
6114 \begin_deeper
6115 \begin_layout Enumerate
6116 The third level uses lower-case Roman numerals followed by a period.
6117 \end_layout
6118
6119 \begin_deeper
6120 \begin_layout Enumerate
6121 The fourth level uses capital letters followed by a period.
6122 \end_layout
6123
6124 \begin_layout Enumerate
6125 Again, notice the decrease in the spacing between items as the nesting depth
6126  increases.
6127 \end_layout
6128
6129 \end_deeper
6130 \begin_layout Enumerate
6131 Back to the third level
6132 \end_layout
6133
6134 \end_deeper
6135 \begin_layout Enumerate
6136 Back to the second level.
6137 \end_layout
6138
6139 \end_deeper
6140 \begin_layout Enumerate
6141 Back to the outermost level.
6142 \end_layout
6143
6144 \begin_layout Standard
6145 You can customize the type of numbering used in the 
6146 \family sans
6147 Enumerate
6148 \family default
6149  environment, see section
6150 \begin_inset space ~
6151 \end_inset
6152
6153
6154 \begin_inset CommandInset ref
6155 LatexCommand ref
6156 reference "subsec:Customized-Lists"
6157
6158 \end_inset
6159
6160 .
6161  Such customization only shows up in the printed version, not in \SpecialChar LyX
6162 .
6163 \end_layout
6164
6165 \begin_layout Standard
6166 There is more to nesting 
6167 \family sans
6168 Enumerate
6169 \family default
6170  environments than we've stated here.
6171  You should read section
6172 \begin_inset space ~
6173 \end_inset
6174
6175
6176 \begin_inset CommandInset ref
6177 LatexCommand ref
6178 reference "sec:Nesting"
6179
6180 \end_inset
6181
6182  to learn more about nesting.
6183 \end_layout
6184
6185 \begin_layout Subsubsection
6186 Description
6187 \begin_inset Index idx
6188 status collapsed
6189
6190 \begin_layout Plain Layout
6191 Lists ! Description
6192 \end_layout
6193
6194 \end_inset
6195
6196
6197 \end_layout
6198
6199 \begin_layout Standard
6200 Unlike the previous two environments, the 
6201 \family sans
6202 Description
6203 \family default
6204  list has no fixed label.
6205  Instead, \SpecialChar LyX
6206  uses the first 
6207 \begin_inset Quotes eld
6208 \end_inset
6209
6210 word
6211 \begin_inset Quotes erd
6212 \end_inset
6213
6214  of the first line as the label.
6215  Here's an example:
6216 \end_layout
6217
6218 \begin_layout Description
6219 Example: This is an example of the 
6220 \family sans
6221 Description
6222 \family default
6223  environment.
6224 \end_layout
6225
6226 \begin_layout Standard
6227 \SpecialChar LyX
6228  typesets the label in boldface and puts extra space between it and the
6229  rest of the line.
6230 \end_layout
6231
6232 \begin_layout Standard
6233 With the first 
6234 \begin_inset Quotes eld
6235 \end_inset
6236
6237 word
6238 \begin_inset Quotes erd
6239 \end_inset
6240
6241  it is meant that the first usage of the 
6242 \family sans
6243 Space
6244 \family default
6245  key ends the label if you are at the beginning of the first line of an
6246  item.
6247  If you need to use more than one word in a label use a 
6248 \family sans
6249 Protected Space
6250 \family default
6251 .
6252  (Use either 
6253 \begin_inset Info
6254 type  "shortcut"
6255 arg   "command-alternatives math-space ; space-insert protected"
6256 \end_inset
6257
6258  or the menu 
6259 \family sans
6260 Insert\SpecialChar menuseparator
6261 Formatting\SpecialChar menuseparator
6262 Protected
6263 \begin_inset space ~
6264 \end_inset
6265
6266 Space
6267 \family default
6268 ; see section
6269 \begin_inset space ~
6270 \end_inset
6271
6272
6273 \begin_inset CommandInset ref
6274 LatexCommand ref
6275 reference "subsec:Protected-Space"
6276
6277 \end_inset
6278
6279  for more information.) Here is an example:
6280 \end_layout
6281
6282 \begin_layout Description
6283 Second
6284 \begin_inset space ~
6285 \end_inset
6286
6287 Example: This one shows how to use a 
6288 \family sans
6289 Protected
6290 \begin_inset space ~
6291 \end_inset
6292
6293 Space
6294 \family default
6295  in the label of a 
6296 \family sans
6297 Description
6298 \family default
6299  list item.
6300 \end_layout
6301
6302 \begin_layout Description
6303 Usage: You should use the 
6304 \family sans
6305 Description
6306 \family default
6307  environment for things like definitions and theorems.
6308  Use it when you need to make one word in particular stand out in the text
6309  that describes it.
6310  It's not a good idea to use a 
6311 \family sans
6312 Description
6313 \family default
6314  environment when you have an entire sentence that you want to describe.
6315  You're better off using 
6316 \family sans
6317 Itemize
6318 \family default
6319  or 
6320 \family sans
6321 Enumerate
6322 \family default
6323  and nesting several 
6324 \family sans
6325 Standard
6326 \family default
6327  paragraphs into them.
6328 \end_layout
6329
6330 \begin_layout Description
6331 Nesting: You can nest 
6332 \family sans
6333 Description
6334 \family default
6335  environments inside one another, nest them in other types of lists, and
6336  so on.
6337 \end_layout
6338
6339 \begin_layout Standard
6340 Notice that after the first line, \SpecialChar LyX
6341  indents subsequent lines, offsetting
6342  them from the first line.
6343 \end_layout
6344
6345 \begin_layout Subsubsection
6346 Labeling
6347 \begin_inset Index idx
6348 status collapsed
6349
6350 \begin_layout Plain Layout
6351 Lists ! Labeling
6352 \end_layout
6353
6354 \end_inset
6355
6356
6357 \end_layout
6358
6359 \begin_layout Standard
6360 The 
6361 \family sans
6362 Labeling
6363 \family default
6364  environment is a \SpecialChar LyX
6365  extension to \SpecialChar LaTeX
6366 .
6367 \end_layout
6368
6369 \begin_layout Standard
6370 Like the 
6371 \family sans
6372 Description
6373 \family default
6374  list the 
6375 \family sans
6376 Labeling
6377 \family default
6378  list has user-defined labels for each list item but it provides some additional
6379  features.
6380  Here are its properties:
6381 \end_layout
6382
6383 \begin_layout Labeling
6384 \labelwidthstring 00.00.0000
6385 item
6386 \begin_inset space ~
6387 \end_inset
6388
6389 labels \SpecialChar LyX
6390  uses the first 
6391 \begin_inset Quotes eld
6392 \end_inset
6393
6394 word
6395 \begin_inset Quotes erd
6396 \end_inset
6397
6398  of each line as the item label.
6399  The first 
6400 \family sans
6401 Space
6402 \family default
6403  after the beginning of the first line of an item marks the end of the label.
6404  If you need to use more than one word in an item label, use a protected
6405  space as described above.
6406 \end_layout
6407
6408 \begin_layout Labeling
6409 \labelwidthstring 00.00.0000
6410 margins As you can see, \SpecialChar LyX
6411  uses different margins for the item label and the
6412  body of the item text.
6413  The body of the text has a larger left margin, which is equal to the default
6414  label width plus a little extra space.
6415  
6416 \end_layout
6417
6418 \begin_layout Labeling
6419 \labelwidthstring 00.00.0000
6420 label
6421 \begin_inset space ~
6422 \end_inset
6423
6424 width \SpecialChar LyX
6425  uses the width of the label, or the default width, whatever is larger.
6426  If the label width is larger, the label 
6427 \begin_inset Quotes eld
6428 \end_inset
6429
6430 extends
6431 \begin_inset Quotes erd
6432 \end_inset
6433
6434  into the first line.
6435  In other words, the text of the first line isn't aligned with the left
6436  margin of the rest of the item text.
6437 \end_layout
6438
6439 \begin_layout Labeling
6440 \labelwidthstring 00.00.0000
6441 default
6442 \begin_inset space ~
6443 \end_inset
6444
6445 width You can set the default label width to ensure that the text of all
6446  items in a 
6447 \family sans
6448 Labeling
6449 \family default
6450  environment has the same left margin.
6451 \begin_inset Newline newline
6452 \end_inset
6453
6454 To change the default width, select all items in the list.
6455  Now open the 
6456 \family sans
6457 Edit\SpecialChar menuseparator
6458 Paragraph
6459 \begin_inset space ~
6460 \end_inset
6461
6462 Settings
6463 \family default
6464  dialog (toolbar button 
6465 \begin_inset Info
6466 type  "icon"
6467 arg   "layout-paragraph"
6468 \end_inset
6469
6470 ).
6471  The text in the box 
6472 \family sans
6473 Longest
6474 \begin_inset space ~
6475 \end_inset
6476
6477 label
6478 \family default
6479  determines the default label width.
6480  You can use the text of your largest label here, but you can also use the
6481  letter 
6482 \begin_inset Quotes eld
6483 \end_inset
6484
6485 M
6486 \begin_inset Quotes erd
6487 \end_inset
6488
6489  multiple times instead.
6490  M is the widest character and is a standard unit of widths in \SpecialChar LaTeX
6491 .
6492  By using 
6493 \begin_inset Quotes eld
6494 \end_inset
6495
6496 M
6497 \begin_inset Quotes erd
6498 \end_inset
6499
6500  as the unit of width you don't need to keep changing the contents of 
6501 \family sans
6502 Longest
6503 \begin_inset space ~
6504 \end_inset
6505
6506 label
6507 \family default
6508  every time you alter a label in a 
6509 \family sans
6510 List
6511 \family default
6512  environment.
6513 \begin_inset Newline newline
6514 \end_inset
6515
6516 The predefined default width is the length of 
6517 \begin_inset Quotes eld
6518 \end_inset
6519
6520 00.00.0000
6521 \begin_inset Quotes erd
6522 \end_inset
6523
6524  (equal to 6
6525 \begin_inset space ~
6526 \end_inset
6527
6528 M).
6529 \end_layout
6530
6531 \begin_layout Standard
6532 You should use the 
6533 \family sans
6534 Labeling
6535 \family default
6536  list the same way as the 
6537 \family sans
6538 Description
6539 \family default
6540  list: When you need one word to stand out from the text that describes
6541  it.
6542  The 
6543 \family sans
6544 Labeling
6545 \family default
6546  environment gives you another way to do this, using a different overall
6547  layout.
6548 \end_layout
6549
6550 \begin_layout Standard
6551 You can nest 
6552 \family sans
6553 Labeling
6554 \family default
6555  lists inside one another, nest them in other types of lists, and so on.
6556  They work just like the other list paragraph environments.
6557  Read section
6558 \begin_inset space ~
6559 \end_inset
6560
6561
6562 \begin_inset CommandInset ref
6563 LatexCommand ref
6564 reference "sec:Nesting"
6565
6566 \end_inset
6567
6568  to learn about nesting.
6569 \end_layout
6570
6571 \begin_layout Standard
6572 There is yet another feature of the 
6573 \family sans
6574 Labeling
6575 \family default
6576  list: As you can see in the examples, \SpecialChar LyX
6577  left-justifies the item labels by
6578  default.
6579  You can use additional 
6580 \family sans
6581 HFills
6582 \family default
6583  to change how \SpecialChar LyX
6584  justifies the item label.
6585  
6586 \family sans
6587 Hfills
6588 \family default
6589  are documented in section
6590 \begin_inset space ~
6591 \end_inset
6592
6593
6594 \begin_inset CommandInset ref
6595 LatexCommand ref
6596 reference "subsec:Horizontal-Space"
6597
6598 \end_inset
6599
6600 .
6601  Here are some examples:
6602 \end_layout
6603
6604 \begin_layout Labeling
6605 \labelwidthstring 00.00.0000
6606 Left The default for 
6607 \family sans
6608 Labeling
6609 \family default
6610  item labels.
6611 \end_layout
6612
6613 \begin_layout Labeling
6614 \labelwidthstring 00.00.0000
6615 \begin_inset space \hfill{}
6616 \end_inset
6617
6618 Right One 
6619 \family sans
6620 HFill
6621 \family default
6622  at the beginning of the label right justifies it.
6623 \end_layout
6624
6625 \begin_layout Labeling
6626 \labelwidthstring 00.00.0000
6627 \begin_inset space \hfill{}
6628 \end_inset
6629
6630 Center
6631 \begin_inset space \hfill{}
6632 \end_inset
6633
6634  One 
6635 \family sans
6636 HFill
6637 \family default
6638  at the beginning of the label and one at the end centers it.
6639 \end_layout
6640
6641 \begin_layout Subsection
6642 Customized Lists
6643 \begin_inset CommandInset label
6644 LatexCommand label
6645 name "subsec:Customized-Lists"
6646
6647 \end_inset
6648
6649
6650 \begin_inset Index idx
6651 status collapsed
6652
6653 \begin_layout Plain Layout
6654 Lists ! Customized
6655 \end_layout
6656
6657 \end_inset
6658
6659
6660 \end_layout
6661
6662 \begin_layout Standard
6663 The features described in this section require that the module 
6664 \family sans
6665 Customisable Lists (enumitem)
6666 \family default
6667  is loaded in the document settings.
6668  The module uses the \SpecialChar LaTeX
6669 -package 
6670 \series bold
6671 enumitem
6672 \series default
6673
6674 \begin_inset Index idx
6675 status collapsed
6676
6677 \begin_layout Plain Layout
6678 \SpecialChar LaTeX
6679  packages ! enumitem
6680 \end_layout
6681
6682 \end_inset
6683
6684 .
6685 \end_layout
6686
6687 \begin_layout Subsubsection
6688 Custom Enumerate Lists
6689 \begin_inset Index idx
6690 status collapsed
6691
6692 \begin_layout Plain Layout
6693 Lists ! Enumerate ! Custom
6694 \end_layout
6695
6696 \end_inset
6697
6698
6699 \end_layout
6700
6701 \begin_layout Standard
6702 \noindent
6703 The default numbering of numbered lists can be changed by adding an optional
6704  argument (menu 
6705 \family sans
6706 Insert\SpecialChar menuseparator
6707 Enumerate Options
6708 \family default
6709 ) to the first item of each level in the list.
6710  There you add the command
6711 \end_layout
6712
6713 \begin_layout Standard
6714
6715 \series bold
6716 label=
6717 \backslash
6718 roman{enumi}
6719 \end_layout
6720
6721 \begin_layout Standard
6722 in \SpecialChar TeX
6723  Code (shortcut 
6724 \begin_inset Info
6725 type  "shortcut"
6726 arg   "ert-insert"
6727 \end_inset
6728
6729 ).
6730 \begin_inset Foot
6731 status collapsed
6732
6733 \begin_layout Plain Layout
6734 For more about \SpecialChar TeX
6735  Code, look at section
6736 \begin_inset space ~
6737 \end_inset
6738
6739
6740 \begin_inset CommandInset ref
6741 LatexCommand ref
6742 reference "sec:TeX-Code"
6743
6744 \end_inset
6745
6746 .
6747 \end_layout
6748
6749 \end_inset
6750
6751
6752 \emph on
6753  enumi
6754 \emph default
6755  is hereby the first level counter of the enumeration.
6756  The command 
6757 \series bold
6758
6759 \backslash
6760 roman
6761 \series default
6762  outputs the counter as a small Roman numeral.
6763  For capital Roman numerals replace 
6764 \series bold
6765
6766 \backslash
6767 roman
6768 \series default
6769  with 
6770 \series bold
6771
6772 \backslash
6773 Roman
6774 \series default
6775  in the command above.
6776  For Arabic numerals use 
6777 \series bold
6778
6779 \backslash
6780 arabic
6781 \series default
6782 .
6783  To 
6784 \begin_inset Quotes eld
6785 \end_inset
6786
6787 number
6788 \begin_inset Quotes erd
6789 \end_inset
6790
6791  items with capital or small Latin letters use 
6792 \series bold
6793
6794 \backslash
6795 Alph
6796 \series default
6797  or 
6798 \series bold
6799
6800 \backslash
6801 alph
6802 \series default
6803 , respectively.
6804 \end_layout
6805
6806 \begin_layout Standard
6807 \noindent
6808 \begin_inset Note Greyedout
6809 status open
6810
6811 \begin_layout Plain Layout
6812
6813 \series bold
6814 Note:
6815 \series default
6816  You can only number 26
6817 \begin_inset space ~
6818 \end_inset
6819
6820 items with Latin letters, because this numbering is limited to single letters.
6821 \end_layout
6822
6823 \end_inset
6824
6825
6826 \end_layout
6827
6828 \begin_layout Standard
6829 To change the numbering for the list sublevels, replace the 'i' in the command
6830  by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv).
6831 \end_layout
6832
6833 \begin_layout Standard
6834 Here is a list with custom numbering:
6835 \end_layout
6836
6837 \begin_layout Enumerate
6838 \begin_inset Argument 1
6839 status open
6840
6841 \begin_layout Plain Layout
6842 \begin_inset ERT
6843 status open
6844
6845 \begin_layout Plain Layout
6846
6847 label=
6848 \backslash
6849 #
6850 \backslash
6851 Alph{enumi}
6852 \backslash
6853 #
6854 \end_layout
6855
6856 \end_inset
6857
6858
6859 \end_layout
6860
6861 \end_inset
6862
6863 Level 1
6864 \end_layout
6865
6866 \begin_deeper
6867 \begin_layout Enumerate
6868 \begin_inset Argument 1
6869 status open
6870
6871 \begin_layout Plain Layout
6872 \begin_inset ERT
6873 status open
6874
6875 \begin_layout Plain Layout
6876
6877 label=
6878 \backslash
6879 Alph{enumi}.
6880 \backslash
6881 arabic{enumii}
6882 \end_layout
6883
6884 \end_inset
6885
6886
6887 \end_layout
6888
6889 \end_inset
6890
6891 Level 2
6892 \end_layout
6893
6894 \begin_layout Enumerate
6895 Level 2
6896 \end_layout
6897
6898 \begin_deeper
6899 \begin_layout Enumerate
6900 \begin_inset Argument 1
6901 status open
6902
6903 \begin_layout Plain Layout
6904 \begin_inset ERT
6905 status open
6906
6907 \begin_layout Plain Layout
6908
6909 label=
6910 \backslash
6911 bfseries{
6912 \backslash
6913 arabic{enumiii}}
6914 \end_layout
6915
6916 \end_inset
6917
6918
6919 \end_layout
6920
6921 \end_inset
6922
6923 Level 3
6924 \end_layout
6925
6926 \begin_deeper
6927 \begin_layout Enumerate
6928 \begin_inset Argument 1
6929 status open
6930
6931 \begin_layout Plain Layout
6932 \begin_inset ERT
6933 status open
6934
6935 \begin_layout Plain Layout
6936
6937 label=
6938 \backslash
6939 emph{
6940 \backslash
6941 roman{enumiv})}
6942 \end_layout
6943
6944 \end_inset
6945
6946
6947 \end_layout
6948
6949 \end_inset
6950
6951 Level 4
6952 \end_layout
6953
6954 \end_deeper
6955 \end_deeper
6956 \end_deeper
6957 \begin_layout Standard
6958 For this list these commands were used:
6959 \end_layout
6960
6961 \begin_layout Standard
6962 \noindent
6963
6964 \series bold
6965 label=
6966 \backslash
6967 #
6968 \backslash
6969 Alph{enumi}
6970 \backslash
6971 #
6972 \begin_inset Newline newline
6973 \end_inset
6974
6975 label=
6976 \backslash
6977 Alph{enumi}.
6978 \backslash
6979 arabic{enumii}
6980 \begin_inset Newline newline
6981 \end_inset
6982
6983 label=
6984 \backslash
6985 bfseries{
6986 \backslash
6987 arabic{enumiii}}
6988 \begin_inset Newline newline
6989 \end_inset
6990
6991 label=
6992 \backslash
6993 emph{
6994 \backslash
6995 roman{enumiv})}
6996 \end_layout
6997
6998 \begin_layout Standard
6999 where the command 
7000 \series bold
7001
7002 \backslash
7003 emph{}
7004 \series default
7005  makes the label emphasized and 
7006 \series bold
7007
7008 \backslash
7009 bfseries{}
7010 \series default
7011  makes it bold.
7012 \end_layout
7013
7014 \begin_layout Standard
7015 \begin_inset Note Greyedout
7016 status open
7017
7018 \begin_layout Plain Layout
7019
7020 \series bold
7021 Note:
7022 \series default
7023  When you change the label of a list level, it will be used for all following
7024  lists until you change the definition.
7025 \end_layout
7026
7027 \end_inset
7028
7029
7030 \end_layout
7031
7032 \begin_layout Subsubsection
7033 Resumed Enumeration
7034 \begin_inset Index idx
7035 status collapsed
7036
7037 \begin_layout Plain Layout
7038 Lists ! Enumerate ! Resumed
7039 \end_layout
7040
7041 \end_inset
7042
7043
7044 \end_layout
7045
7046 \begin_layout Standard
7047 Enumerations can be resumed after intermediate paragraphs:
7048 \end_layout
7049
7050 \begin_layout Enumerate
7051 \begin_inset Argument 1
7052 status open
7053
7054 \begin_layout Plain Layout
7055 \begin_inset ERT
7056 status open
7057
7058 \begin_layout Plain Layout
7059
7060 label=
7061 \backslash
7062 arabic{enumi}.
7063 \end_layout
7064
7065 \end_inset
7066
7067
7068 \end_layout
7069
7070 \end_inset
7071
7072 first
7073 \begin_inset Note Note
7074 status open
7075
7076 \begin_layout Plain Layout
7077 goes back to default numbering
7078 \end_layout
7079
7080 \end_inset
7081
7082
7083 \end_layout
7084
7085 \begin_layout Enumerate
7086 second
7087 \end_layout
7088
7089 \begin_layout Standard
7090 regular text
7091 \end_layout
7092
7093 \begin_layout Enumerate-Resume
7094 resumed
7095 \end_layout
7096
7097 \begin_layout Standard
7098 To resume an enumeration, use the style 
7099 \family sans
7100 Enumerate-Resume
7101 \family default
7102 .
7103  Its numbering appears in blue within \SpecialChar LyX
7104  to indicate that it is a resumed
7105  list and that the numbering will not be correct in \SpecialChar LyX
7106 , but in the output.
7107 \end_layout
7108
7109 \begin_layout Standard
7110 \begin_inset Note Greyedout
7111 status open
7112
7113 \begin_layout Plain Layout
7114
7115 \series bold
7116 Note:
7117 \series default
7118  If there is no previous enumeration to resume, you will get a \SpecialChar LaTeX
7119  error.
7120 \end_layout
7121
7122 \end_inset
7123
7124
7125 \end_layout
7126
7127 \begin_layout Standard
7128 Perhaps you might want to resume the list with a different number from the
7129  next one.
7130  Or you want to start a new enumeration with a defined number.
7131  This is possible by adding an optional argument to the first list item
7132  of a normal enumeration.
7133  There, insert the command
7134 \end_layout
7135
7136 \begin_layout Standard
7137
7138 \series bold
7139 start=number
7140 \end_layout
7141
7142 \begin_layout Standard
7143 where 
7144 \emph on
7145 number
7146 \emph default
7147  is the number with which you want to resume the list.
7148  An example:
7149 \end_layout
7150
7151 \begin_layout Enumerate
7152 first item
7153 \end_layout
7154
7155 \begin_layout Enumerate
7156 second item
7157 \end_layout
7158
7159 \begin_layout Standard
7160 Enumeration starting at a given value:
7161 \end_layout
7162
7163 \begin_layout Enumerate
7164 \begin_inset Argument 1
7165 status open
7166
7167 \begin_layout Plain Layout
7168 \begin_inset ERT
7169 status open
7170
7171 \begin_layout Plain Layout
7172
7173 start=4
7174 \end_layout
7175
7176 \end_inset
7177
7178
7179 \end_layout
7180
7181 \end_inset
7182
7183 This enumeration starts at 4
7184 \end_layout
7185
7186 \begin_layout Subsubsection
7187 List Spacing
7188 \begin_inset Index idx
7189 status collapsed
7190
7191 \begin_layout Plain Layout
7192 Lists ! Spacing
7193 \end_layout
7194
7195 \end_inset
7196
7197
7198 \end_layout
7199
7200 \begin_layout Standard
7201 In some cases you might want less or more vertical space between the items
7202  of a list.
7203  For example if the default space is too much in your opinion in this case:
7204 \end_layout
7205
7206 \begin_layout Itemize
7207 A bullet list
7208 \end_layout
7209
7210 \begin_layout Itemize
7211 with standard spacing 
7212 \end_layout
7213
7214 \begin_layout Standard
7215 You can decrease the space by adding an optional argument to the first item
7216  of the list.
7217  Add there the command 
7218 \series bold
7219 nolistsep
7220 \series default
7221  to get no additional list space like in this example:
7222 \end_layout
7223
7224 \begin_layout Itemize
7225 \begin_inset Argument 1
7226 status open
7227
7228 \begin_layout Plain Layout
7229 \begin_inset ERT
7230 status open
7231
7232 \begin_layout Plain Layout
7233
7234 nolistsep
7235 \end_layout
7236
7237 \end_inset
7238
7239
7240 \end_layout
7241
7242 \end_inset
7243
7244 A bullet list
7245 \end_layout
7246
7247 \begin_layout Itemize
7248 without additional
7249 \end_layout
7250
7251 \begin_layout Itemize
7252 vertical space
7253 \end_layout
7254
7255 \begin_layout Standard
7256 To add space you can use several other commands provided by the \SpecialChar LaTeX
7257 -package
7258  
7259 \series bold
7260 enumitem
7261 \series default
7262
7263 \begin_inset Index idx
7264 status collapsed
7265
7266 \begin_layout Plain Layout
7267 \SpecialChar LaTeX
7268  packages ! enumitem
7269 \end_layout
7270
7271 \end_inset
7272
7273 .
7274  For more information see its documentation, 
7275 \begin_inset CommandInset citation
7276 LatexCommand cite
7277 key "enumitem"
7278 literal "true"
7279
7280 \end_inset
7281
7282 .
7283 \end_layout
7284
7285 \begin_layout Standard
7286 There are also many commands available to change the horizontal spacing
7287  and indentation.
7288  Here is an example where the indentation was changed to that of the paragraphs
7289  in the document and the label separation was set to 2
7290 \begin_inset space \thinspace{}
7291 \end_inset
7292
7293 cm so that the number is in the page margin:
7294 \end_layout
7295
7296 \begin_layout Enumerate
7297 \begin_inset Argument 1
7298 status open
7299
7300 \begin_layout Plain Layout
7301 \begin_inset ERT
7302 status open
7303
7304 \begin_layout Plain Layout
7305
7306 labelindent=
7307 \backslash
7308 parindent, labelsep=2cm
7309 \end_layout
7310
7311 \end_inset
7312
7313
7314 \end_layout
7315
7316 \end_inset
7317
7318 An enumeration
7319 \end_layout
7320
7321 \begin_layout Enumerate
7322 with negative indentation
7323 \end_layout
7324
7325 \begin_layout Subsubsection
7326 Further Customization
7327 \begin_inset Index idx
7328 status collapsed
7329
7330 \begin_layout Plain Layout
7331 Lists ! Customization
7332 \end_layout
7333
7334 \end_inset
7335
7336
7337 \end_layout
7338
7339 \begin_layout Standard
7340 You can also change the style of description lists.
7341  The command
7342 \end_layout
7343
7344 \begin_layout Standard
7345
7346 \series bold
7347 font=definition
7348 \end_layout
7349
7350 \begin_layout Standard
7351 changes the description label font, the command
7352 \end_layout
7353
7354 \begin_layout Standard
7355
7356 \series bold
7357 style=definition
7358 \end_layout
7359
7360 \begin_layout Standard
7361 sets the list style.
7362 \end_layout
7363
7364 \begin_layout Standard
7365 An example where the command
7366 \end_layout
7367
7368 \begin_layout Standard
7369
7370 \series bold
7371 font=
7372 \backslash
7373 itshape, style=nextline
7374 \end_layout
7375
7376 \begin_layout Standard
7377 is used:
7378 \end_layout
7379
7380 \begin_layout Description
7381 Ionizing
7382 \begin_inset space ~
7383 \end_inset
7384
7385 radiation: 
7386 \begin_inset Argument 1
7387 status collapsed
7388
7389 \begin_layout Plain Layout
7390 \begin_inset ERT
7391 status open
7392
7393 \begin_layout Plain Layout
7394
7395 labelindent=0pt, labelsep=1cm, font=
7396 \backslash
7397 itshape, style=nextline
7398 \end_layout
7399
7400 \end_inset
7401
7402
7403 \end_layout
7404
7405 \end_inset
7406
7407 Ionizing radiation consists of particles or electromagnetic waves that are
7408  energetic enough to detach electrons from atoms or molecules, therefore
7409  ionizing them.
7410 \end_layout
7411
7412 \begin_layout Description
7413 Reference
7414 \begin_inset space ~
7415 \end_inset
7416
7417 counting: In computer science, reference counting is a technique of storing
7418  the number of references, pointers, or handles to a resource such as an
7419  object, block of memory, disk space or other resource.
7420 \end_layout
7421
7422 \begin_layout Standard
7423 There are many more commands and features provided by the \SpecialChar LaTeX
7424 -package 
7425 \series bold
7426 enumitem
7427 \series default
7428
7429 \begin_inset Index idx
7430 status collapsed
7431
7432 \begin_layout Plain Layout
7433 \SpecialChar LaTeX
7434  packages ! enumitem
7435 \end_layout
7436
7437 \end_inset
7438
7439 .
7440  For more information see its documentation 
7441 \begin_inset CommandInset citation
7442 LatexCommand cite
7443 key "enumitem"
7444 literal "true"
7445
7446 \end_inset
7447
7448 .
7449 \end_layout
7450
7451 \begin_layout Subsection
7452 Letters
7453 \begin_inset Index idx
7454 status collapsed
7455
7456 \begin_layout Plain Layout
7457 Letters
7458 \end_layout
7459
7460 \end_inset
7461
7462
7463 \end_layout
7464
7465 \begin_layout Subsubsection
7466 Address and Right
7467 \begin_inset space ~
7468 \end_inset
7469
7470 Address: An Overview
7471 \end_layout
7472
7473 \begin_layout Standard
7474 Although \SpecialChar LyX
7475  has document classes for letters, we've also created two paragraph
7476  environments called 
7477 \family sans
7478 Address
7479 \family default
7480  and 
7481 \family sans
7482 Right
7483 \begin_inset space ~
7484 \end_inset
7485
7486 Address
7487 \family default
7488 .
7489  To use the letter class, you need to use specific paragraph environments
7490  in a specific order, otherwise \SpecialChar LaTeX
7491  gags on the document.
7492  In contrast, you can use the 
7493 \family sans
7494 Address
7495 \family default
7496  and 
7497 \family sans
7498 Right
7499 \begin_inset space ~
7500 \end_inset
7501
7502 Address
7503 \family default
7504  paragraph environments anywhere with no problem.
7505  You can even nest them inside other environments, though you can't nest
7506  anything in them.
7507 \end_layout
7508
7509 \begin_layout Standard
7510 Of course, you're not limited to using 
7511 \family sans
7512 Address
7513 \family default
7514  and 
7515 \family sans
7516 Right
7517 \begin_inset space ~
7518 \end_inset
7519
7520 Address
7521 \family default
7522  for letters only.
7523  
7524 \family sans
7525 Right
7526 \begin_inset space ~
7527 \end_inset
7528
7529 Address
7530 \family default
7531 , in particular, is useful for creating article titles like those used in
7532  some European academic papers.
7533 \end_layout
7534
7535 \begin_layout Subsubsection
7536 Usage
7537 \begin_inset CommandInset label
7538 LatexCommand label
7539 name "sec:Address-Usage"
7540
7541 \end_inset
7542
7543
7544 \end_layout
7545
7546 \begin_layout Standard
7547 The 
7548 \family sans
7549 Address
7550 \family default
7551  environment formats text in the style of an address, which is also used
7552  for the opening and signature in some countries.
7553  Similarly, the 
7554 \family sans
7555 Right
7556 \begin_inset space ~
7557 \end_inset
7558
7559 Address
7560 \family default
7561  environment formats text in the style of a right-justified address, which
7562  is used for the sender's address and today's date in some countries.
7563  Here's an example of each:
7564 \end_layout
7565
7566 \begin_layout Right Address
7567 Right Address
7568 \begin_inset Newline newline
7569 \end_inset
7570
7571 Who I am
7572 \begin_inset Newline newline
7573 \end_inset
7574
7575 Where I am
7576 \begin_inset Newline newline
7577 \end_inset
7578
7579 When is it? What is today?
7580 \end_layout
7581
7582 \begin_layout Standard
7583 That was 
7584 \family sans
7585 Right
7586 \begin_inset space ~
7587 \end_inset
7588
7589 Address
7590 \family default
7591 .
7592  Notice that the lines all have the same left margin, which \SpecialChar LyX
7593  sets to fit
7594  the largest block of text on a single line.
7595  Here's an example of the 
7596 \family sans
7597 Address
7598 \family default
7599  environment:
7600 \end_layout
7601
7602 \begin_layout Address
7603 Who are you
7604 \begin_inset Newline newline
7605 \end_inset
7606
7607 Where do I send this
7608 \begin_inset Newline newline
7609 \end_inset
7610
7611 Your post office and country
7612 \end_layout
7613
7614 \begin_layout Standard
7615 As you can see, both 
7616 \family sans
7617 Address
7618 \family default
7619  and 
7620 \family sans
7621 Right
7622 \begin_inset space ~
7623 \end_inset
7624
7625 Address
7626 \family default
7627  add extra space between themselves and the next paragraph.
7628  If you enter 
7629 \family sans
7630 Return
7631 \family default
7632  in either of these environments, \SpecialChar LyX
7633  resets the nesting depth and sets the
7634  environment to 
7635 \family sans
7636 Standard
7637 \family default
7638 .
7639  This makes sense, since 
7640 \family sans
7641 Return
7642 \family default
7643  is the 
7644 \family typewriter
7645 paragraph-break
7646 \family default
7647  function, and the individual lines of an address are not paragraphs.
7648  Thus, you have to use 
7649 \family typewriter
7650 break-line
7651 \family default
7652  (
7653 \begin_inset Info
7654 type  "shortcut"
7655 arg   "newline-insert newline"
7656 \end_inset
7657
7658  or 
7659 \family sans
7660 Insert\SpecialChar menuseparator
7661 Formatting\SpecialChar menuseparator
7662 Ragged
7663 \begin_inset space ~
7664 \end_inset
7665
7666 Line
7667 \begin_inset space ~
7668 \end_inset
7669
7670 Break
7671 \family default
7672 ) to start a new line in an 
7673 \family sans
7674 Address
7675 \family default
7676  or 
7677 \family sans
7678 Right
7679 \begin_inset space ~
7680 \end_inset
7681
7682 Address
7683 \family default
7684  environment.
7685 \end_layout
7686
7687 \begin_layout Subsection
7688 Academic Writing
7689 \end_layout
7690
7691 \begin_layout Standard
7692 Most academic writing begins with an abstract and ends with a bibliography
7693  or list of references.
7694  \SpecialChar LyX
7695  contains paragraph environments for both of these.
7696 \end_layout
7697
7698 \begin_layout Subsubsection
7699 Abstract
7700 \begin_inset Index idx
7701 status collapsed
7702
7703 \begin_layout Plain Layout
7704 Abstracts
7705 \end_layout
7706
7707 \end_inset
7708
7709
7710 \end_layout
7711
7712 \begin_layout Standard
7713 The 
7714 \family sans
7715 Abstract
7716 \family default
7717  environment is used for the abstract of an article.
7718  Technically, you could use this environment anywhere, but you really should
7719  only use it at the beginning of the document, after the title.
7720  Also, don't bother trying to nest 
7721 \family sans
7722 Abstract
7723 \family default
7724  in anything else or 
7725 \emph on
7726 vice versa
7727 \emph default
7728 .
7729  It will not work.
7730  The 
7731 \family sans
7732 Abstract
7733 \family default
7734  environment is only useful in the article and report document classes.
7735  The book document classes ignores the 
7736 \family sans
7737 Abstract
7738 \family default
7739  completely, and it's utterly silly to use 
7740 \family sans
7741 Abstract
7742 \family default
7743  in a letter document class.
7744 \end_layout
7745
7746 \begin_layout Standard
7747 The 
7748 \family sans
7749 Abstract
7750 \family default
7751  environment does several things for you.
7752  First, it puts the centered label 
7753 \begin_inset Quotes eld
7754 \end_inset
7755
7756 Abstract
7757 \begin_inset Quotes erd
7758 \end_inset
7759
7760  above the text.
7761  The label and the text of the abstract are separated by some extra vertical
7762  space.
7763  Second, it typesets everything in a smaller font, just as you'd expect.
7764  Lastly, it adds a bit of extra vertical space between the abstract and
7765  the subsequent text.
7766  Well, that's how it will appear on the \SpecialChar LyX
7767  screen.
7768  The actual appearance in the output depends on the document class you are
7769  using.
7770 \end_layout
7771
7772 \begin_layout Standard
7773 Starting a new paragraph by entering 
7774 \family sans
7775 Return
7776 \family default
7777  does not reset the paragraph environment.
7778  The new paragraph will still be in the 
7779 \family sans
7780 Abstract
7781 \family default
7782  environment.
7783  So, you will have to change the paragraph environment yourself when you
7784  finish entering the abstract of your document.
7785 \end_layout
7786
7787 \begin_layout Standard
7788 \begin_inset Float figure
7789 wide false
7790 sideways false
7791 status open
7792
7793 \begin_layout Plain Layout
7794 \align center
7795 \begin_inset Graphics
7796         filename clipart/Abstract.pdf
7797
7798 \end_inset
7799
7800
7801 \end_layout
7802
7803 \begin_layout Plain Layout
7804 \begin_inset Caption Standard
7805
7806 \begin_layout Plain Layout
7807 \begin_inset CommandInset label
7808 LatexCommand label
7809 name "fig:Paragraph-in-the"
7810
7811 \end_inset
7812
7813 Paragraph in the 
7814 \family sans
7815 Abstract
7816 \family default
7817  environment
7818 \end_layout
7819
7820 \end_inset
7821
7822
7823 \end_layout
7824
7825 \end_inset
7826
7827
7828 \end_layout
7829
7830 \begin_layout Standard
7831 We would love to demonstrate the 
7832 \family sans
7833 Abstract
7834 \family default
7835  environment, but since this document is in the 
7836 \begin_inset Quotes eld
7837 \end_inset
7838
7839 book
7840 \begin_inset Quotes erd
7841 \end_inset
7842
7843  class, we can't do this.
7844  We inserted it therefore as figure
7845 \begin_inset space ~
7846 \end_inset
7847
7848
7849 \begin_inset CommandInset ref
7850 LatexCommand ref
7851 reference "fig:Paragraph-in-the"
7852
7853 \end_inset
7854
7855 .
7856  If you have never heard of an 
7857 \begin_inset Quotes eld
7858 \end_inset
7859
7860 abstract
7861 \begin_inset Quotes erd
7862 \end_inset
7863
7864  before, you can safely ignore this environment.
7865 \end_layout
7866
7867 \begin_layout Subsubsection
7868 Bibliography
7869 \begin_inset Index idx
7870 status collapsed
7871
7872 \begin_layout Plain Layout
7873 Bibliography
7874 \end_layout
7875
7876 \end_inset
7877
7878
7879 \begin_inset CommandInset label
7880 LatexCommand label
7881 name "subsec:Biblio_environment"
7882
7883 \end_inset
7884
7885
7886 \end_layout
7887
7888 \begin_layout Standard
7889 The 
7890 \family sans
7891 Bibliography
7892 \family default
7893  environment is used to list references.
7894  Technically, you could use this environment anywhere, but you really should
7895  only use it at the end of the document.
7896  Nesting 
7897 \family sans
7898 Bibliography
7899 \family default
7900  in anything else or 
7901 \emph on
7902 vice versa
7903 \emph default
7904  will not work.
7905 \end_layout
7906
7907 \begin_layout Standard
7908 When you first open a 
7909 \family sans
7910 Bibliography
7911 \family default
7912  environment, \SpecialChar LyX
7913  adds a large vertical space, followed by the heading 
7914 \begin_inset Quotes eld
7915 \end_inset
7916
7917 Bibliography
7918 \begin_inset Quotes erd
7919 \end_inset
7920
7921  or 
7922 \begin_inset Quotes eld
7923 \end_inset
7924
7925 References,
7926 \begin_inset Quotes erd
7927 \end_inset
7928
7929  depending on the document class.
7930  The heading is in a large boldface font.
7931  Each paragraph of the 
7932 \family sans
7933 Bibliography
7934 \family default
7935  environment is a bibliography entry.
7936  Thus, entering 
7937 \family sans
7938 Return
7939 \family default
7940  does not reset the paragraph environment.
7941  Each new paragraph is still in the 
7942 \family sans
7943 Bibliography
7944 \family default
7945  environment.
7946 \end_layout
7947
7948 \begin_layout Standard
7949 There is another, usually better way to include references in your document
7950  by using a Bib\SpecialChar TeX
7951  database.
7952  For more information on that, and for a detailed description of \SpecialChar LyX
7953 's bibliography
7954  handling, have a look at section
7955 \begin_inset space ~
7956 \end_inset
7957
7958
7959 \begin_inset CommandInset ref
7960 LatexCommand ref
7961 reference "sec:Bibliography"
7962
7963 \end_inset
7964
7965 .
7966 \end_layout
7967
7968 \begin_layout Subsection
7969 Special Environments
7970 \end_layout
7971
7972 \begin_layout Standard
7973 \SpecialChar LyX
7974  provides two environments that can be used to emulate the behavior of a
7975  computer console/terminal and a typewriter.
7976 \end_layout
7977
7978 \begin_layout Subsubsection
7979 \SpecialChar LyX
7980
7981 \family sans
7982 -Code
7983 \begin_inset Index idx
7984 status collapsed
7985
7986 \begin_layout Plain Layout
7987 \SpecialChar LyX
7988 -Code
7989 \end_layout
7990
7991 \end_inset
7992
7993
7994 \begin_inset CommandInset label
7995 LatexCommand label
7996 name "subsec:LyX-Code"
7997
7998 \end_inset
7999
8000
8001 \end_layout
8002
8003 \begin_layout Standard
8004 The 
8005 \family sans
8006 \SpecialChar LyX
8007 -Code
8008 \family default
8009  environment is a \SpecialChar LyX
8010  extension.
8011  It type-sets text in a typewriter-style font.
8012  It also treats the 
8013 \family sans
8014 Space
8015 \family default
8016  key as a fixed whitespace.
8017 \begin_inset Foot
8018 status collapsed
8019
8020 \begin_layout Plain Layout
8021 In the 
8022 \family sans
8023 \SpecialChar LyX
8024 -Code
8025 \family default
8026  environment, the 
8027 \family sans
8028 Space
8029 \family default
8030  key is treated as a 
8031 \family sans
8032 Protected
8033 \begin_inset space ~
8034 \end_inset
8035
8036 Blank
8037 \family default
8038  instead of an end-of-word marker.
8039 \end_layout
8040
8041 \end_inset
8042
8043  
8044 \family sans
8045 \SpecialChar LyX
8046 -Code
8047 \family default
8048
8049 \family sans
8050 Verbatim
8051 \family default
8052  and 
8053 \family sans
8054 Verbatim
8055 \family default
8056 * are the only environments in which you can type multiple whitespaces in
8057  \SpecialChar LyX
8058 .
8059  If you need to insert blank lines, you will still need to use 
8060 \begin_inset Info
8061 type  "shortcut"
8062 arg   "newline-insert newline"
8063 \end_inset
8064
8065  (the 
8066 \family typewriter
8067 break-line
8068 \family default
8069  function).
8070  
8071 \family sans
8072 Return
8073 \family default
8074  breaks paragraphs.
8075  Note, however, that 
8076 \family sans
8077 Return
8078 \family default
8079  does not reset the paragraph environment.
8080  So, when you finish using the 
8081 \family sans
8082 \SpecialChar LyX
8083 -Code
8084 \family default
8085  environment, you will need to change the paragraph environment yourself.
8086  Also, you can nest the 
8087 \family sans
8088 \SpecialChar LyX
8089 -Code
8090 \family default
8091  environment inside of others.
8092 \end_layout
8093
8094 \begin_layout Standard
8095 There are a few quirks with this environment:
8096 \end_layout
8097
8098 \begin_layout Itemize
8099 You cannot use 
8100 \begin_inset Info
8101 type  "shortcut"
8102 arg   "newline-insert newline"
8103 \end_inset
8104
8105  at the beginning of a new paragraph (i.
8106 \begin_inset space \thinspace{}
8107 \end_inset
8108
8109 e.
8110 \begin_inset space \space{}
8111 \end_inset
8112
8113 you can't follow 
8114 \family sans
8115 Return
8116 \family default
8117  with a 
8118 \begin_inset Info
8119 type  "shortcut"
8120 arg   "newline-insert newline"
8121 \end_inset
8122
8123 ).
8124 \end_layout
8125
8126 \begin_layout Itemize
8127 You cannot follow a 
8128 \begin_inset Info
8129 type  "shortcut"
8130 arg   "newline-insert newline"
8131 \end_inset
8132
8133  with a 
8134 \family sans
8135 Space
8136 \family default
8137  but with a 
8138 \begin_inset Info
8139 type  "shortcut"
8140 arg   "command-alternatives math-space ; space-insert protected"
8141 \end_inset
8142
8143 .
8144 \end_layout
8145
8146 \begin_layout Itemize
8147 You cannot have an empty paragraph or an empty line.
8148  You must put at least one 
8149 \family sans
8150 Space
8151 \family default
8152  in any line you want blank.
8153  Otherwise, \SpecialChar LaTeX
8154  generates errors.
8155 \end_layout
8156
8157 \begin_layout Itemize
8158 You cannot get the typewriter double quotes by typing 
8159 \family sans
8160 "
8161 \family default
8162  since that will insert 
8163 \emph on
8164 real
8165 \emph default
8166  quotes.
8167  You get the typewriter double quotes with 
8168 \begin_inset Info
8169 type  "shortcut"
8170 arg   "self-insert \""
8171 \end_inset
8172
8173 .
8174 \end_layout
8175
8176 \begin_layout Standard
8177 Here is an example:
8178 \end_layout
8179
8180 \begin_layout LyX-Code
8181 #include <stdio.h>
8182 \end_layout
8183
8184 \begin_layout LyX-Code
8185  
8186 \end_layout
8187
8188 \begin_layout LyX-Code
8189 int main(void)
8190 \end_layout
8191
8192 \begin_layout LyX-Code
8193 {
8194 \end_layout
8195
8196 \begin_layout LyX-Code
8197     printf("Hello World!
8198 \backslash
8199 n");
8200 \end_layout
8201
8202 \begin_layout LyX-Code
8203     return 0;
8204 \end_layout
8205
8206 \begin_layout LyX-Code
8207 }
8208 \end_layout
8209
8210 \begin_layout Standard
8211 This is just the standard 
8212 \begin_inset Quotes eld
8213 \end_inset
8214
8215 Hello world!
8216 \begin_inset Quotes erd
8217 \end_inset
8218
8219  program.
8220  
8221 \end_layout
8222
8223 \begin_layout Standard
8224
8225 \family sans
8226 \SpecialChar LyX
8227 -Code
8228 \family default
8229  has one purpose: to typeset code, such as program source, shell scripts
8230  and so on.
8231  Use it only in those very special cases where you need to generate text
8232  as if you used a typewriter.
8233 \begin_inset Index idx
8234 status collapsed
8235
8236 \begin_layout Plain Layout
8237 Paragraph environments|)
8238 \end_layout
8239
8240 \end_inset
8241
8242  For longer parts of programming code, use the listings inset that is described
8243  in the chapter 
8244 \emph on
8245 Program Code Listings
8246 \emph default
8247  of the 
8248 \emph on
8249 Embedded
8250 \begin_inset space ~
8251 \end_inset
8252
8253 Objects
8254 \emph default
8255  manual.
8256 \end_layout
8257
8258 \begin_layout Subsubsection
8259 Verbatim
8260 \family sans
8261
8262 \begin_inset Index idx
8263 status collapsed
8264
8265 \begin_layout Plain Layout
8266 Verbatim
8267 \end_layout
8268
8269 \end_inset
8270
8271
8272 \end_layout
8273
8274 \begin_layout Standard
8275 The 
8276 \family sans
8277 Verbatim
8278 \family default
8279  environment is similar to the 
8280 \family sans
8281 \SpecialChar LyX
8282 -Code
8283 \family default
8284  environment with the difference that its content will be treated like a
8285  computer console text.
8286  
8287 \family sans
8288 Verbatim
8289 \family default
8290  does therefore not have paragraphs so that 
8291 \family sans
8292 Return
8293 \family default
8294  breaks lines.
8295  Compared to 
8296 \family sans
8297 \SpecialChar LyX
8298 -Code
8299 \family default
8300  the 
8301 \family sans
8302 Space
8303 \family default
8304  key is treated like a normal space in text (not as a protected space) and
8305  you can have empty lines.
8306  In contrary to 
8307 \family sans
8308 \SpecialChar LyX
8309 -Code,
8310 \family default
8311  
8312 \family sans
8313 Verbatim
8314 \family default
8315  cannot
8316 \end_layout
8317
8318 \begin_layout Itemize
8319 have a certain language and a text style
8320 \end_layout
8321
8322 \begin_layout Itemize
8323 contain hyperlinks, boxes, foot- and margin notes, notes, math, citations,
8324  index- and nomenclature entries, labels, tables, graphics, listings, floats
8325  and \SpecialChar TeX
8326  Code
8327 \end_layout
8328
8329 \begin_layout Standard
8330 Because of these properties 
8331 \family sans
8332 Verbatim
8333 \family default
8334  works like a typewriter.
8335  Here is an example:
8336 \end_layout
8337
8338 \begin_layout Verbatim
8339
8340 This is Verbatim.
8341 \end_layout
8342
8343 \begin_layout Verbatim
8344 \noindent
8345 \align block
8346
8347 The following 2 lines are empty:
8348 \end_layout
8349
8350 \begin_layout Verbatim
8351
8352 \end_layout
8353
8354 \begin_layout Verbatim
8355
8356 \end_layout
8357
8358 \begin_layout Verbatim
8359
8360 Almost everything is allowed in Verbatim:"%&$§#~'`
8361 \backslash
8362 }][{|
8363 \end_layout
8364
8365 \begin_layout Standard
8366 The 
8367 \family sans
8368 Verbatim*
8369 \family default
8370  environment is identical to 
8371 \family sans
8372 Verbatim
8373 \family default
8374  with the difference that spaces appear in the output as the character '
8375 \begin_inset space \textvisiblespace{}
8376 \end_inset
8377
8378 '.
8379  An example:
8380 \end_layout
8381
8382 \begin_layout Verbatim*
8383
8384 This is Verbatim*.
8385 \end_layout
8386
8387 \begin_layout Section
8388 Nesting Environments
8389 \begin_inset Index idx
8390 status collapsed
8391
8392 \begin_layout Plain Layout
8393 Nesting ! Environments
8394 \end_layout
8395
8396 \end_inset
8397
8398
8399 \begin_inset CommandInset label
8400 LatexCommand label
8401 name "sec:Nesting"
8402
8403 \end_inset
8404
8405
8406 \end_layout
8407
8408 \begin_layout Subsection
8409 Introduction
8410 \end_layout
8411
8412 \begin_layout Standard
8413 \SpecialChar LyX
8414  treats text as a unified block with a particular context and specific propertie
8415 s.
8416  This allows you to create blocks that inherit some of the properties of
8417  another block.
8418  For example you have three main points in an outline, but point #2 also
8419  has two subpoints.
8420  In other words, you have a list inside of another list, with the inner
8421  list 
8422 \begin_inset Quotes eld
8423 \end_inset
8424
8425 attached
8426 \begin_inset Quotes erd
8427 \end_inset
8428
8429  to item #2:
8430 \end_layout
8431
8432 \begin_layout Enumerate
8433 one
8434 \end_layout
8435
8436 \begin_layout Enumerate
8437 two
8438 \end_layout
8439
8440 \begin_deeper
8441 \begin_layout Enumerate
8442 sublist – item #1
8443 \end_layout
8444
8445 \begin_layout Enumerate
8446 sublist – item #2
8447 \end_layout
8448
8449 \end_deeper
8450 \begin_layout Enumerate
8451 three
8452 \end_layout
8453
8454 \begin_layout Standard
8455 You put a list inside a list by nesting one list inside the other.
8456  Nesting an environment is quite simple: Select 
8457 \family sans
8458 Edit\SpecialChar menuseparator
8459 Increase
8460 \begin_inset space ~
8461 \end_inset
8462
8463 List
8464 \begin_inset space ~
8465 \end_inset
8466
8467 Depth
8468 \family default
8469  or 
8470 \family sans
8471 Decrease
8472 \begin_inset space ~
8473 \end_inset
8474
8475 List
8476 \begin_inset space ~
8477 \end_inset
8478
8479 Depth
8480 \family default
8481  to change the nesting depth (the status bar will tell you how far you are
8482  nested).
8483  Instead of the menu, you can also use the toolbar buttons 
8484 \begin_inset Info
8485 type  "icon"
8486 arg   "depth-increment"
8487 \end_inset
8488
8489  and 
8490 \begin_inset Info
8491 type  "icon"
8492 arg   "depth-decrement"
8493 \end_inset
8494
8495  or the key bindings 
8496 \family sans
8497 Tab
8498 \family default
8499  and 
8500 \family sans
8501 Shift+Tab
8502 \family default
8503  or 
8504 \begin_inset Info
8505 type  "shortcut"
8506 arg   "depth-increment"
8507 \end_inset
8508
8509  and 
8510 \begin_inset Info
8511 type  "shortcut"
8512 arg   "depth-decrement"
8513 \end_inset
8514
8515 .
8516  The change will work on the current selection, if you have made one (allowing
8517  you to change the nesting of several paragraphs at once), or the current
8518  paragraph.
8519 \end_layout
8520
8521 \begin_layout Standard
8522 Note that \SpecialChar LyX
8523  only changes the nesting depth if it can.
8524  If it is invalid to do so, nothing happens if you try to change the depth.
8525  Additionally, if you change the depth of one paragraph, it affects the
8526  depth of every paragraph nested inside of it.
8527 \end_layout
8528
8529 \begin_layout Standard
8530 Nesting isn't limited to lists.
8531  In \SpecialChar LyX
8532 , you can nest just about anything inside anything else, as you're about
8533  to find out.
8534  This is the real power of nesting paragraph environments.
8535 \end_layout
8536
8537 \begin_layout Subsection
8538 What You Can and Can't Nest
8539 \end_layout
8540
8541 \begin_layout Standard
8542 Before we fire a list of paragraph environments at you, we need to tell
8543  you a little bit more about how nesting works.
8544 \end_layout
8545
8546 \begin_layout Standard
8547 The question of nesting a paragraph environment is a bit more complicated
8548  than a simple yes or no.
8549  There are three types of paragraph environments:
8550 \end_layout
8551
8552 \begin_layout Itemize
8553 Completely unnestable
8554 \end_layout
8555
8556 \begin_layout Itemize
8557 Fully nestable, you can nest them inside things and you can also nest other
8558  things inside them.
8559 \end_layout
8560
8561 \begin_layout Itemize
8562 A third type, you can nest them into other environments, but you can't nest
8563  anything into them.
8564 \end_layout
8565
8566 \begin_layout Standard
8567 Here's a list of the three types of nesting behavior, and which paragraph
8568  environments have them:
8569 \end_layout
8570
8571 \begin_layout Description
8572 Unnestable Can't nest them.
8573  Can't nest into them.
8574 \end_layout
8575
8576 \begin_deeper
8577 \begin_layout Itemize
8578
8579 \family sans
8580 Bibliography
8581 \end_layout
8582
8583 \begin_layout Itemize
8584
8585 \family sans
8586 Abstract
8587 \end_layout
8588
8589 \begin_layout Itemize
8590
8591 \family sans
8592 Title
8593 \end_layout
8594
8595 \begin_layout Itemize
8596
8597 \family sans
8598 Author
8599 \end_layout
8600
8601 \begin_layout Itemize
8602
8603 \family sans
8604 Date
8605 \end_layout
8606
8607 \end_deeper
8608 \begin_layout Description
8609 Fully
8610 \begin_inset space ~
8611 \end_inset
8612
8613 Nestable You can nest them.
8614  You can nest other things into them.
8615 \end_layout
8616
8617 \begin_deeper
8618 \begin_layout Itemize
8619
8620 \family sans
8621 Verse
8622 \end_layout
8623
8624 \begin_layout Itemize
8625
8626 \family sans
8627 Quote
8628 \end_layout
8629
8630 \begin_layout Itemize
8631
8632 \family sans
8633 Quotation
8634 \end_layout
8635
8636 \begin_layout Itemize
8637
8638 \family sans
8639 Itemize
8640 \end_layout
8641
8642 \begin_layout Itemize
8643
8644 \family sans
8645 Enumerate
8646 \end_layout
8647
8648 \begin_layout Itemize
8649
8650 \family sans
8651 Description
8652 \end_layout
8653
8654 \begin_layout Itemize
8655
8656 \family sans
8657 List
8658 \end_layout
8659
8660 \begin_layout Itemize
8661
8662 \family sans
8663 \SpecialChar LyX
8664 -Code
8665 \end_layout
8666
8667 \begin_layout Itemize
8668
8669 \family sans
8670 Verbatim
8671 \end_layout
8672
8673 \begin_layout Itemize
8674
8675 \family sans
8676 Verbatim*
8677 \end_layout
8678
8679 \end_deeper
8680 \begin_layout Description
8681 Nestable-Inside You can nest them inside other things.
8682  You can't nest anything into them.
8683 \end_layout
8684
8685 \begin_deeper
8686 \begin_layout Itemize
8687
8688 \family sans
8689 Standard
8690 \end_layout
8691
8692 \begin_layout Itemize
8693
8694 \family sans
8695 Part
8696 \end_layout
8697
8698 \begin_layout Itemize
8699
8700 \family sans
8701 Chapter
8702 \end_layout
8703
8704 \begin_layout Itemize
8705
8706 \family sans
8707 Section
8708 \end_layout
8709
8710 \begin_layout Itemize
8711
8712 \family sans
8713 Subsection
8714 \end_layout
8715
8716 \begin_layout Itemize
8717
8718 \family sans
8719 Subsubsection
8720 \end_layout
8721
8722 \begin_layout Itemize
8723
8724 \family sans
8725 Paragraph
8726 \end_layout
8727
8728 \begin_layout Itemize
8729
8730 \family sans
8731 Subparagraph
8732 \end_layout
8733
8734 \begin_layout Itemize
8735
8736 \family sans
8737 Part*
8738 \end_layout
8739
8740 \begin_layout Itemize
8741
8742 \family sans
8743 Chapter*
8744 \end_layout
8745
8746 \begin_layout Itemize
8747
8748 \family sans
8749 Section*
8750 \end_layout
8751
8752 \begin_layout Itemize
8753
8754 \family sans
8755 Subsection*
8756 \end_layout
8757
8758 \begin_layout Itemize
8759
8760 \family sans
8761 Subsubsection*
8762 \end_layout
8763
8764 \begin_layout Itemize
8765
8766 \family sans
8767 Right
8768 \begin_inset space ~
8769 \end_inset
8770
8771 Address
8772 \end_layout
8773
8774 \begin_layout Itemize
8775
8776 \family sans
8777 Address
8778 \end_layout
8779
8780 \end_deeper
8781 \begin_layout Standard
8782 \begin_inset Note Greyedout
8783 status open
8784
8785 \begin_layout Plain Layout
8786
8787 \series bold
8788 Note:
8789 \series default
8790  Although it is possible, for example, to nest numbered section headings
8791  like 
8792 \family sans
8793 Chapter
8794 \family default
8795
8796 \family sans
8797 Section
8798 \family default
8799 , etc.
8800 \begin_inset space ~
8801 \end_inset
8802
8803 into lists, it is highly recommended not to do this because the aim is to
8804  create well-structured documents following typesetting guidelines whereas
8805  nested section headings violate this.
8806 \end_layout
8807
8808 \end_inset
8809
8810
8811 \end_layout
8812
8813 \begin_layout Subsection
8814 Nesting Other Things: Tables, Math, Floats, etc.
8815 \begin_inset Index idx
8816 status collapsed
8817
8818 \begin_layout Plain Layout
8819 Nesting ! Tables etc.
8820 \end_layout
8821
8822 \end_inset
8823
8824
8825 \end_layout
8826
8827 \begin_layout Standard
8828 There are several things that aren't paragraph environments, but which are
8829  affected by nesting anyhow.
8830  They are:
8831 \end_layout
8832
8833 \begin_layout Itemize
8834 equations
8835 \end_layout
8836
8837 \begin_layout Itemize
8838 tables
8839 \end_layout
8840
8841 \begin_layout Itemize
8842 figures
8843 \end_layout
8844
8845 \begin_layout Standard
8846 (
8847 \begin_inset Note Greyedout
8848 status open
8849
8850 \begin_layout Plain Layout
8851
8852 \series bold
8853 Note:
8854 \series default
8855  Figures and tables in 
8856 \family sans
8857 Floats
8858 \family default
8859  are not affected by this.
8860 \end_layout
8861
8862 \end_inset
8863
8864  Have a look at section
8865 \begin_inset space ~
8866 \end_inset
8867
8868
8869 \begin_inset CommandInset ref
8870 LatexCommand ref
8871 reference "sec:Floats"
8872
8873 \end_inset
8874
8875  for more information about 
8876 \family sans
8877 Floats
8878 \family default
8879 .)
8880 \end_layout
8881
8882 \begin_layout Standard
8883 \SpecialChar LyX
8884  can treat these three objects as either a word or as a paragraph.
8885  If a figure, table, or an equation is inline, it goes wherever the paragraph
8886  it is in goes.
8887 \end_layout
8888
8889 \begin_layout Standard
8890 On the other hand, if you have an equation, figure or table in a 
8891 \begin_inset Quotes eld
8892 \end_inset
8893
8894 paragraph
8895 \begin_inset Quotes erd
8896 \end_inset
8897
8898  of its own, it behaves just like a 
8899 \begin_inset Quotes eld
8900 \end_inset
8901
8902 nestable-inside
8903 \begin_inset Quotes erd
8904 \end_inset
8905
8906  paragraph environment.
8907  You can nest it into any environment, but you obviously can't nest anything
8908  into it.
8909 \end_layout
8910
8911 \begin_layout Standard
8912 Here's an example with a table:
8913 \end_layout
8914
8915 \begin_layout Enumerate
8916 Item One
8917 \end_layout
8918
8919 \begin_deeper
8920 \begin_layout Enumerate
8921 This is (a) and it's nested.
8922 \end_layout
8923
8924 \begin_deeper
8925 \begin_layout Standard
8926 \begin_inset VSpace 0.3cm
8927 \end_inset
8928
8929
8930 \end_layout
8931
8932 \begin_layout Standard
8933 \align center
8934 \begin_inset Tabular
8935 <lyxtabular version="3" rows="2" columns="2">
8936 <features tabularvalignment="middle">
8937 <column alignment="center" valignment="top" width="0pt">
8938 <column alignment="center" valignment="top" width="0pt">
8939 <row>
8940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8941 \begin_inset Text
8942
8943 \begin_layout Plain Layout
8944
8945 \family roman
8946 \series medium
8947 \shape up
8948 \size normal
8949 \emph off
8950 \bar no
8951 \noun off
8952 \color none
8953 a
8954 \end_layout
8955
8956 \end_inset
8957 </cell>
8958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Plain Layout
8962
8963 \family roman
8964 \series medium
8965 \shape up
8966 \size normal
8967 \emph off
8968 \bar no
8969 \noun off
8970 \color none
8971 b
8972 \end_layout
8973
8974 \end_inset
8975 </cell>
8976 </row>
8977 <row>
8978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Plain Layout
8982
8983 \family roman
8984 \series medium
8985 \shape up
8986 \size normal
8987 \emph off
8988 \bar no
8989 \noun off
8990 \color none
8991 c
8992 \end_layout
8993
8994 \end_inset
8995 </cell>
8996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8997 \begin_inset Text
8998
8999 \begin_layout Plain Layout
9000
9001 \family roman
9002 \series medium
9003 \shape up
9004 \size normal
9005 \emph off
9006 \bar no
9007 \noun off
9008 \color none
9009 d
9010 \end_layout
9011
9012 \end_inset
9013 </cell>
9014 </row>
9015 </lyxtabular>
9016
9017 \end_inset
9018
9019
9020 \end_layout
9021
9022 \begin_layout Standard
9023 \begin_inset VSpace 0.3cm
9024 \end_inset
9025
9026
9027 \end_layout
9028
9029 \end_deeper
9030 \begin_layout Enumerate
9031 This is (b).
9032  The table is actually nested inside (a).
9033 \end_layout
9034
9035 \end_deeper
9036 \begin_layout Enumerate
9037 Back out again.
9038 \end_layout
9039
9040 \begin_layout Standard
9041 If we hadn't nested the table at all, the list would look like this:
9042 \end_layout
9043
9044 \begin_layout Enumerate
9045 Item One
9046 \end_layout
9047
9048 \begin_deeper
9049 \begin_layout Enumerate
9050 This is (a) and it's nested.
9051 \end_layout
9052
9053 \end_deeper
9054 \begin_layout Standard
9055 \begin_inset VSpace 0.3cm
9056 \end_inset
9057
9058
9059 \end_layout
9060
9061 \begin_layout Standard
9062 \align center
9063 \begin_inset Tabular
9064 <lyxtabular version="3" rows="2" columns="2">
9065 <features tabularvalignment="middle">
9066 <column alignment="center" valignment="top" width="0pt">
9067 <column alignment="center" valignment="top" width="0pt">
9068 <row>
9069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9070 \begin_inset Text
9071
9072 \begin_layout Plain Layout
9073
9074 \family roman
9075 \series medium
9076 \shape up
9077 \size normal
9078 \emph off
9079 \bar no
9080 \noun off
9081 \color none
9082 a
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9088 \begin_inset Text
9089
9090 \begin_layout Plain Layout
9091
9092 \family roman
9093 \series medium
9094 \shape up
9095 \size normal
9096 \emph off
9097 \bar no
9098 \noun off
9099 \color none
9100 b
9101 \end_layout
9102
9103 \end_inset
9104 </cell>
9105 </row>
9106 <row>
9107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9108 \begin_inset Text
9109
9110 \begin_layout Plain Layout
9111
9112 \family roman
9113 \series medium
9114 \shape up
9115 \size normal
9116 \emph off
9117 \bar no
9118 \noun off
9119 \color none
9120 c
9121 \end_layout
9122
9123 \end_inset
9124 </cell>
9125 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9126 \begin_inset Text
9127
9128 \begin_layout Plain Layout
9129
9130 \family roman
9131 \series medium
9132 \shape up
9133 \size normal
9134 \emph off
9135 \bar no
9136 \noun off
9137 \color none
9138 d
9139 \end_layout
9140
9141 \end_inset
9142 </cell>
9143 </row>
9144 </lyxtabular>
9145
9146 \end_inset
9147
9148
9149 \end_layout
9150
9151 \begin_layout Standard
9152 \begin_inset VSpace 0.3cm
9153 \end_inset
9154
9155
9156 \end_layout
9157
9158 \begin_layout Enumerate
9159 This is (b).
9160  The table is 
9161 \emph on
9162 not
9163 \emph default
9164  nested inside (a).
9165  In fact, it's not nested at all.
9166 \end_layout
9167
9168 \begin_layout Enumerate
9169 Back out again.
9170 \end_layout
9171
9172 \begin_layout Standard
9173 Notice how item (b) is not only no longer nested, but is also the first
9174  item of a new list!
9175 \end_layout
9176
9177 \begin_layout Standard
9178 There's another trap you can fall into: Nesting the table, but not going
9179  deep enough.
9180  \SpecialChar LyX
9181  then turns anything after the table into a new sublist.
9182 \end_layout
9183
9184 \begin_layout Enumerate
9185 Item One
9186 \end_layout
9187
9188 \begin_deeper
9189 \begin_layout Enumerate
9190 This is (a) and it's nested.
9191 \end_layout
9192
9193 \begin_layout Standard
9194 \begin_inset VSpace 0.3cm
9195 \end_inset
9196
9197
9198 \end_layout
9199
9200 \begin_layout Standard
9201 \align center
9202 \begin_inset Tabular
9203 <lyxtabular version="3" rows="2" columns="2">
9204 <features tabularvalignment="middle">
9205 <column alignment="center" valignment="top" width="0pt">
9206 <column alignment="center" valignment="top" width="0pt">
9207 <row>
9208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9209 \begin_inset Text
9210
9211 \begin_layout Plain Layout
9212
9213 \family roman
9214 \series medium
9215 \shape up
9216 \size normal
9217 \emph off
9218 \bar no
9219 \noun off
9220 \color none
9221 a
9222 \end_layout
9223
9224 \end_inset
9225 </cell>
9226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Plain Layout
9230
9231 \family roman
9232 \series medium
9233 \shape up
9234 \size normal
9235 \emph off
9236 \bar no
9237 \noun off
9238 \color none
9239 b
9240 \end_layout
9241
9242 \end_inset
9243 </cell>
9244 </row>
9245 <row>
9246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Plain Layout
9250
9251 \family roman
9252 \series medium
9253 \shape up
9254 \size normal
9255 \emph off
9256 \bar no
9257 \noun off
9258 \color none
9259 c
9260 \end_layout
9261
9262 \end_inset
9263 </cell>
9264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9265 \begin_inset Text
9266
9267 \begin_layout Plain Layout
9268
9269 \family roman
9270 \series medium
9271 \shape up
9272 \size normal
9273 \emph off
9274 \bar no
9275 \noun off
9276 \color none
9277 d
9278 \end_layout
9279
9280 \end_inset
9281 </cell>
9282 </row>
9283 </lyxtabular>
9284
9285 \end_inset
9286
9287
9288 \end_layout
9289
9290 \end_deeper
9291 \begin_layout Standard
9292 \begin_inset VSpace 0.3cm
9293 \end_inset
9294
9295
9296 \end_layout
9297
9298 \begin_layout Enumerate
9299 This is (b).
9300  The table is actually nested inside Item One, but 
9301 \emph on
9302 not
9303 \emph default
9304  inside (a).
9305 \end_layout
9306
9307 \begin_layout Enumerate
9308 Back out again.
9309 \end_layout
9310
9311 \begin_layout Standard
9312 As you can see, item (b) turned into the first item of a new list, but a
9313  new list 
9314 \emph on
9315 inside
9316 \emph default
9317  item 1.
9318  The same thing would have happened to a figure or an equation.
9319  So, if you nest tables, figures or equations, make sure you go to the right
9320  depth!
9321 \end_layout
9322
9323 \begin_layout Subsection
9324 Usage and General Features
9325 \end_layout
9326
9327 \begin_layout Standard
9328 Speaking of levels, \SpecialChar LyX
9329  can perform up to a six-fold nesting.
9330  In other words, 
9331 \begin_inset Quotes eld
9332 \end_inset
9333
9334 level #6
9335 \begin_inset Quotes erd
9336 \end_inset
9337
9338  is the innermost possible depth.
9339  Here's an example to illustrate what we mean:
9340 \end_layout
9341
9342 \begin_layout Enumerate
9343 level #1 – outermost
9344 \end_layout
9345
9346 \begin_deeper
9347 \begin_layout Enumerate
9348 level #2
9349 \end_layout
9350
9351 \begin_deeper
9352 \begin_layout Enumerate
9353 level #3
9354 \end_layout
9355
9356 \begin_deeper
9357 \begin_layout Enumerate
9358 level #4
9359 \end_layout
9360
9361 \begin_deeper
9362 \begin_layout Itemize
9363 level #5
9364 \end_layout
9365
9366 \begin_deeper
9367 \begin_layout Itemize
9368 level #6
9369 \end_layout
9370
9371 \end_deeper
9372 \end_deeper
9373 \end_deeper
9374 \end_deeper
9375 \end_deeper
9376 \begin_layout Standard
9377 There are two exceptions to the six-fold nesting limit, and you can see
9378  both of them in the example.
9379  Unlike the other fully-nestable environments, you can only perform a four-fold
9380  nesting with the 
9381 \family sans
9382 Enumerate
9383 \family default
9384  and 
9385 \family sans
9386 Itemize
9387 \family default
9388  environments.
9389  For example, if we tried to nest another 
9390 \family sans
9391 Enumerate
9392 \family default
9393  list inside item 
9394 \begin_inset Quotes eld
9395 \end_inset
9396
9397 A.
9398 \begin_inset Quotes erd
9399 \end_inset
9400
9401 , we would get errors.
9402 \end_layout
9403
9404 \begin_layout Subsection
9405 Some Examples
9406 \begin_inset Index idx
9407 status collapsed
9408
9409 \begin_layout Plain Layout
9410 Nesting ! Examples
9411 \end_layout
9412
9413 \end_inset
9414
9415
9416 \end_layout
9417
9418 \begin_layout Standard
9419 The best way to explain just what you can do with nesting is by illustration.
9420  We have several examples of nested environments.
9421  In them, we explain how we created the example, so that you can reproduce
9422  them.
9423 \end_layout
9424
9425 \begin_layout Subsubsection
9426 Example 1: The Six-fold Way and Mixed Nesting
9427 \end_layout
9428
9429 \begin_layout Labeling
9430 \labelwidthstring MMM
9431 #1-a This is the outermost level.
9432  It's a 
9433 \family sans
9434 List
9435 \family default
9436  environment.
9437 \end_layout
9438
9439 \begin_deeper
9440 \begin_layout Labeling
9441 \labelwidthstring MMM
9442 #2-a This is level #2.
9443  We created it by using 
9444 \begin_inset Info
9445 type  "shortcut"
9446 arg   "paragraph-break inverse"
9447 \end_inset
9448
9449  followed by 
9450 \begin_inset Info
9451 type  "shortcut"
9452 arg   "depth-increment"
9453 \end_inset
9454
9455 .
9456 \end_layout
9457
9458 \begin_deeper
9459 \begin_layout Labeling
9460 \labelwidthstring MMM
9461 #3-a This is level #3.
9462  This time, we just enter 
9463 \family sans
9464 Return
9465 \family default
9466 , then used 
9467 \begin_inset Info
9468 type  "shortcut"
9469 arg   "depth-increment"
9470 \end_inset
9471
9472  twice in a row.
9473  We could have also created it the same way as we did the previous level,
9474  by entering 
9475 \begin_inset Info
9476 type  "shortcut"
9477 arg   "paragraph-break inverse"
9478 \end_inset
9479
9480  followed by 
9481 \begin_inset Info
9482 type  "shortcut"
9483 arg   "depth-increment"
9484 \end_inset
9485
9486 .
9487 \end_layout
9488
9489 \begin_deeper
9490 \begin_layout Standard
9491 This is actually a 
9492 \family sans
9493 Standard
9494 \family default
9495  environment, nested inside of 
9496 \begin_inset Quotes eld
9497 \end_inset
9498
9499 #3-a
9500 \begin_inset Quotes erd
9501 \end_inset
9502
9503 .
9504  So, it's at level #4.
9505  We did this by entering 
9506 \begin_inset Info
9507 type  "shortcut"
9508 arg   "paragraph-break inverse"
9509 \end_inset
9510
9511 , then 
9512 \begin_inset Info
9513 type  "shortcut"
9514 arg   "depth-increment"
9515 \end_inset
9516
9517 , then changing the paragraph environment to 
9518 \family sans
9519 Standard
9520 \family default
9521 .
9522  Do this to create list items with more than one paragraph — it also works
9523  for the 
9524 \family sans
9525 Description
9526 \family default
9527
9528 \family sans
9529 Enumerate
9530 \family default
9531 , and 
9532 \family sans
9533 Itemize
9534 \family default
9535  environments!
9536 \end_layout
9537
9538 \begin_layout Standard
9539 Here's another 
9540 \family sans
9541 Standard
9542 \family default
9543  paragraph, also at level #4, made with just a 
9544 \begin_inset Info
9545 type  "shortcut"
9546 arg   "paragraph-break inverse"
9547 \end_inset
9548
9549 .
9550 \end_layout
9551
9552 \begin_layout Labeling
9553 \labelwidthstring MMM
9554 #4-a This is level #4.
9555  We enter 
9556 \begin_inset Info
9557 type  "shortcut"
9558 arg   "paragraph-break inverse"
9559 \end_inset
9560
9561  and changed the paragraph environment back to 
9562 \family sans
9563 List
9564 \family default
9565 .
9566  Remember — we can't nest anything inside a 
9567 \family sans
9568 Standard
9569 \family default
9570  environment, which is why we're still at level #4.
9571  However, we 
9572 \emph on
9573 can
9574 \emph default
9575  keep nesting things inside 
9576 \begin_inset Quotes eld
9577 \end_inset
9578
9579 #3-a
9580 \begin_inset Quotes erd
9581 \end_inset
9582
9583 .
9584 \end_layout
9585
9586 \begin_deeper
9587 \begin_layout Labeling
9588 \labelwidthstring MMM
9589 #5-a This is level #5\SpecialChar ldots
9590
9591 \end_layout
9592
9593 \begin_deeper
9594 \begin_layout Labeling
9595 \labelwidthstring MMM
9596 #6-a \SpecialChar ldots
9597 and this is level #6.
9598  By now, you should know how we made these two.
9599 \end_layout
9600
9601 \end_deeper
9602 \begin_layout Labeling
9603 \labelwidthstring MMM
9604 #5-b Back to level #5.
9605  Just enter 
9606 \begin_inset Info
9607 type  "shortcut"
9608 arg   "paragraph-break inverse"
9609 \end_inset
9610
9611  followed by a 
9612 \begin_inset Info
9613 type  "shortcut"
9614 arg   "depth-decrement"
9615 \end_inset
9616
9617 .
9618 \end_layout
9619
9620 \end_deeper
9621 \begin_layout Labeling
9622 \labelwidthstring MMM
9623 #4-b After another 
9624 \begin_inset Info
9625 type  "shortcut"
9626 arg   "paragraph-break inverse"
9627 \end_inset
9628
9629  followed by a 
9630 \begin_inset Info
9631 type  "shortcut"
9632 arg   "depth-decrement"
9633 \end_inset
9634
9635 , we're back at level #4.
9636 \end_layout
9637
9638 \end_deeper
9639 \begin_layout Labeling
9640 \labelwidthstring MMM
9641 #3-b Back to level #3.
9642  By now it should be obvious how we did this.
9643 \end_layout
9644
9645 \end_deeper
9646 \begin_layout Labeling
9647 \labelwidthstring MMM
9648 #2-b Back to level #2.
9649  
9650 \end_layout
9651
9652 \end_deeper
9653 \begin_layout Labeling
9654 \labelwidthstring MMM
9655 #1-b And last, back to the outermost level, #1.
9656  After this sentence, we will enter 
9657 \family sans
9658 Return
9659 \family default
9660  and change the paragraph environment back to 
9661 \family sans
9662 Standard
9663 \family default
9664  to end the list.
9665 \end_layout
9666
9667 \begin_layout Standard
9668 We could have also used the 
9669 \family sans
9670 Description
9671 \family default
9672
9673 \family sans
9674 Quote
9675 \family default
9676
9677 \family sans
9678 Quotation
9679 \family default
9680 , or even the 
9681 \family sans
9682 Verse
9683 \family default
9684  environment in place of the 
9685 \family sans
9686 List
9687 \family default
9688  environment.
9689  The example would have worked exactly the same.
9690 \end_layout
9691
9692 \begin_layout Subsubsection
9693 Example 2: Inheritance
9694 \end_layout
9695
9696 \begin_layout LyX-Code
9697 This is the LyX-Code environment, at level #1, the outermost
9698 \end_layout
9699
9700 \begin_layout LyX-Code
9701 level.
9702   Now we will enter 
9703 \family sans
9704 Return
9705 \family default
9706 , then 
9707 \begin_inset Info
9708 type  "shortcut"
9709 arg   "depth-increment"
9710 \end_inset
9711
9712 , after
9713 \begin_inset Newline newline
9714 \end_inset
9715
9716 which, we will change to the 
9717 \family sans
9718 Enumerate
9719 \family default
9720  environment.
9721 \end_layout
9722
9723 \begin_deeper
9724 \begin_layout Enumerate
9725 This is the 
9726 \family sans
9727 Enumerate
9728 \family default
9729  environment, at level #2.
9730 \end_layout
9731
9732 \begin_layout Enumerate
9733 Notice how the nested 
9734 \family sans
9735 Enumerate
9736 \family default
9737  not only inherits its margins from its parent environment (
9738 \family sans
9739 LyX-Code
9740 \family default
9741 ), but also inherits its font and spacing!
9742 \end_layout
9743
9744 \end_deeper
9745 \begin_layout Standard
9746 We ended this example by entering 
9747 \family sans
9748 Return
9749 \family default
9750 .
9751  After that, we needed to reset the paragraph environment to 
9752 \family sans
9753 Standard
9754 \family default
9755  and reset the nesting depth by using 
9756 \begin_inset Info
9757 type  "shortcut"
9758 arg   "depth-decrement"
9759 \end_inset
9760
9761  once.
9762 \end_layout
9763
9764 \begin_layout Subsubsection
9765 Example 3: Labels, Levels, and the 
9766 \family sans
9767 Enumerate
9768 \family default
9769  and 
9770 \family sans
9771 Itemize
9772 \family default
9773  Environments
9774 \begin_inset Argument 1
9775 status collapsed
9776
9777 \begin_layout Plain Layout
9778 Example #3: Labels, Levels and other list environments
9779 \end_layout
9780
9781 \end_inset
9782
9783
9784 \end_layout
9785
9786 \begin_layout Enumerate
9787 This is level #1, in an 
9788 \family sans
9789 Enumerate
9790 \family default
9791  paragraph environment.
9792  We're actually going to nest a bunch of these.
9793 \end_layout
9794
9795 \begin_deeper
9796 \begin_layout Enumerate
9797 This is level #2.
9798  We used 
9799 \begin_inset Info
9800 type  "shortcut"
9801 arg   "paragraph-break inverse"
9802 \end_inset
9803
9804  followed by 
9805 \begin_inset Info
9806 type  "shortcut"
9807 arg   "depth-increment"
9808 \end_inset
9809
9810 .
9811  Now, what happens if we nest an 
9812 \family sans
9813 Itemize
9814 \family default
9815  environment inside of this one? It will be at level #3, but what will its
9816  label be? An asterisk?
9817 \end_layout
9818
9819 \begin_deeper
9820 \begin_layout Itemize
9821 No! It's a bullet.
9822  This is the 
9823 \emph on
9824 first
9825 \emph default
9826  
9827 \family sans
9828 Itemize
9829 \family default
9830  environment, even though it's at level #3.
9831  So, its label is a bullet.
9832  (We got here by using 
9833 \begin_inset Info
9834 type  "shortcut"
9835 arg   "paragraph-break inverse"
9836 \end_inset
9837
9838 , then 
9839 \begin_inset Info
9840 type  "shortcut"
9841 arg   "depth-increment"
9842 \end_inset
9843
9844 , then changing the environment to 
9845 \family sans
9846 Itemize
9847 \family default
9848 .)
9849 \end_layout
9850
9851 \begin_deeper
9852 \begin_layout Itemize
9853 Here's level #4, produced using 
9854 \begin_inset Info
9855 type  "shortcut"
9856 arg   "paragraph-break inverse"
9857 \end_inset
9858
9859 , then 
9860 \begin_inset Info
9861 type  "shortcut"
9862 arg   "depth-increment"
9863 \end_inset
9864
9865 .
9866  We will do that again\SpecialChar ldots
9867
9868 \end_layout
9869
9870 \begin_deeper
9871 \begin_layout Enumerate
9872 \SpecialChar ldots
9873 to get to level #5.
9874  This time, however, we also changed the paragraph environment back to 
9875 \family sans
9876 Enumerate
9877 \family default
9878 .
9879  Notice the type of numbering, it is 
9880 \emph on
9881 lowercase Roman
9882 \emph default
9883 , because we are in the 
9884 \emph on
9885 thirdfold
9886 \emph default
9887  
9888 \family sans
9889 Enumerate
9890 \family default
9891  environment (that is, it is an 
9892 \family sans
9893 Enumerate
9894 \family default
9895  inside an 
9896 \family sans
9897 Enumerate
9898 \family default
9899  inside an 
9900 \family sans
9901 Enumerate
9902 \family default
9903 ).
9904 \end_layout
9905
9906 \begin_layout Enumerate
9907 What happens if we 
9908 \emph on
9909 don't
9910 \emph default
9911  change the paragraph environment, but decrease the nesting depth? What
9912  type of numbering does \SpecialChar LyX
9913  use?
9914 \end_layout
9915
9916 \begin_layout Enumerate
9917 Oh, as if you couldn't guess by now, we're just using 
9918 \begin_inset Info
9919 type  "shortcut"
9920 arg   "paragraph-break inverse"
9921 \end_inset
9922
9923  to keep the current environment and depth but create a new item.
9924 \end_layout
9925
9926 \begin_layout Enumerate
9927 Let's use 
9928 \begin_inset Info
9929 type  "shortcut"
9930 arg   "depth-decrement"
9931 \end_inset
9932
9933  to decrease the depth after the next 
9934 \begin_inset Info
9935 type  "shortcut"
9936 arg   "paragraph-break inverse"
9937 \end_inset
9938
9939 .
9940 \end_layout
9941
9942 \end_deeper
9943 \begin_layout Enumerate
9944 This is level #4.
9945  Look what type of label \SpecialChar LyX
9946  is using!
9947 \end_layout
9948
9949 \end_deeper
9950 \begin_layout Enumerate
9951 This is level #3.
9952  Even though we've changed levels, \SpecialChar LyX
9953  is still using a lowercase Roman numeral
9954  as the label.Why?
9955 \end_layout
9956
9957 \begin_layout Enumerate
9958 Because, even though the nesting depth has changed, the paragraph is 
9959 \emph on
9960 still
9961 \emph default
9962  a thirdfold 
9963 \family sans
9964 Enumerate
9965 \family default
9966  environment.
9967  Notice, however, that \SpecialChar LyX
9968  
9969 \emph on
9970 did
9971 \emph default
9972  reset the counter for the label.
9973 \end_layout
9974
9975 \end_deeper
9976 \begin_layout Enumerate
9977 Another 
9978 \begin_inset Info
9979 type  "shortcut"
9980 arg   "paragraph-break inverse"
9981 \end_inset
9982
9983  
9984 \begin_inset Info
9985 type  "shortcut"
9986 arg   "depth-decrement"
9987 \end_inset
9988
9989  sequence, and we're back to level #2.
9990  This time, we not only changed the nesting depth, but we also moved back
9991  into the twofold-nested 
9992 \family sans
9993 Enumerate
9994 \family default
9995  environment.
9996 \end_layout
9997
9998 \end_deeper
9999 \begin_layout Enumerate
10000 The same thing happens if we do another 
10001 \begin_inset Info
10002 type  "shortcut"
10003 arg   "paragraph-break inverse"
10004 \end_inset
10005
10006  
10007 \begin_inset Info
10008 type  "shortcut"
10009 arg   "depth-decrement"
10010 \end_inset
10011
10012  sequence and return to level #1, the outermost level.
10013 \end_layout
10014
10015 \begin_layout Standard
10016 Lastly, we reset the environment to 
10017 \family sans
10018 Standard
10019 \family default
10020 .
10021  As you can see, the level number doesn't correspond to what type of labeling
10022  \SpecialChar LyX
10023  uses for the 
10024 \family sans
10025 Enumerate
10026 \family default
10027  and 
10028 \family sans
10029 Itemize
10030 \family default
10031  environments.
10032  The number of other 
10033 \family sans
10034 Enumerate
10035 \family default
10036  environments surrounding it determines what kind of label \SpecialChar LyX
10037  uses for an
10038  
10039 \family sans
10040 Enumerate
10041 \family default
10042  item.
10043  The same rule applies for the 
10044 \family sans
10045 Itemize
10046 \family default
10047  environment, as well.
10048 \end_layout
10049
10050 \begin_layout Subsubsection
10051 Example 4: Going Bonkers
10052 \end_layout
10053
10054 \begin_layout Enumerate
10055 We're going to go totally nuts now.
10056  We will not nest as deep as in the other examples, nor will we go into
10057  the same detail with how we did it.
10058  (level #1: 
10059 \family sans
10060 Enumerate
10061 \family default
10062 )
10063 \end_layout
10064
10065 \begin_deeper
10066 \begin_layout Standard
10067 (
10068 \family sans
10069 Return, 
10070 \family default
10071
10072 \begin_inset Info
10073 type  "shortcut"
10074 arg   "depth-increment"
10075 \end_inset
10076
10077
10078 \family sans
10079 , Standard
10080 \family default
10081 : level #2) We will stick an encapsulated description of how we created
10082  the example in parentheses someplace.
10083  For example, the two key bindings are how we changed the depth.
10084  The environment name is the name of the current environment.
10085  Either before or after this, we will put in the level.
10086 \end_layout
10087
10088 \end_deeper
10089 \begin_layout Enumerate
10090 (
10091 \family sans
10092 Return, Enumerate
10093 \family default
10094 : level #1) This is the next item in the list.
10095 \end_layout
10096
10097 \begin_deeper
10098 \begin_layout Verse
10099 Now we will add verse.
10100 \begin_inset Newline newline
10101 \end_inset
10102
10103 It will get much worse.
10104 \begin_inset Newline newline
10105 \end_inset
10106
10107 (
10108 \family sans
10109 Return, 
10110 \family default
10111
10112 \begin_inset Info
10113 type  "shortcut"
10114 arg   "depth-increment"
10115 \end_inset
10116
10117
10118 \family sans
10119 , Verse
10120 \family default
10121 : level #2)
10122 \end_layout
10123
10124 \begin_layout Verse
10125 Fiddle dee, Fiddle doo.
10126 \begin_inset Newline newline
10127 \end_inset
10128
10129 Bippitey boppitey boo!
10130 \begin_inset Newline newline
10131 \end_inset
10132
10133 (
10134 \begin_inset Info
10135 type  "shortcut"
10136 arg   "paragraph-break inverse"
10137 \end_inset
10138
10139
10140 \family sans
10141 )
10142 \end_layout
10143
10144 \begin_layout Verse
10145 Here comes a table:
10146 \end_layout
10147
10148 \begin_deeper
10149 \begin_layout Standard
10150 \begin_inset VSpace 0.3cm
10151 \end_inset
10152
10153
10154 \end_layout
10155
10156 \begin_layout Standard
10157 \align center
10158 \begin_inset Tabular
10159 <lyxtabular version="3" rows="2" columns="2">
10160 <features tabularvalignment="middle">
10161 <column alignment="center" valignment="top" width="0pt">
10162 <column alignment="center" valignment="top" width="0pt">
10163 <row>
10164 <cell alignment="center" valignment="top" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Plain Layout
10168
10169 \family roman
10170 \series medium
10171 \shape up
10172 \size normal
10173 \emph off
10174 \bar no
10175 \noun off
10176 \color none
10177 one-fish
10178 \end_layout
10179
10180 \end_inset
10181 </cell>
10182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10183 \begin_inset Text
10184
10185 \begin_layout Plain Layout
10186
10187 \family roman
10188 \series medium
10189 \shape up
10190 \size normal
10191 \emph off
10192 \bar no
10193 \noun off
10194 \color none
10195 two-fish
10196 \end_layout
10197
10198 \end_inset
10199 </cell>
10200 </row>
10201 <row>
10202 <cell alignment="center" valignment="top" topline="true" usebox="none">
10203 \begin_inset Text
10204
10205 \begin_layout Plain Layout
10206
10207 \family roman
10208 \series medium
10209 \shape up
10210 \size normal
10211 \emph off
10212 \bar no
10213 \noun off
10214 \color none
10215 red-fish
10216 \end_layout
10217
10218 \end_inset
10219 </cell>
10220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10221 \begin_inset Text
10222
10223 \begin_layout Plain Layout
10224
10225 \family roman
10226 \series medium
10227 \shape up
10228 \size normal
10229 \emph off
10230 \bar no
10231 \noun off
10232 \color none
10233 blue-fish
10234 \end_layout
10235
10236 \end_inset
10237 </cell>
10238 </row>
10239 </lyxtabular>
10240
10241 \end_inset
10242
10243
10244 \end_layout
10245
10246 \end_deeper
10247 \begin_layout Verse
10248 (
10249 \begin_inset Info
10250 type  "shortcut"
10251 arg   "paragraph-break inverse"
10252 \end_inset
10253
10254
10255 \family sans
10256 , Table, 
10257 \family default
10258
10259 \begin_inset Info
10260 type  "shortcut"
10261 arg   "depth-increment"
10262 \end_inset
10263
10264  3 times, 
10265 \begin_inset Info
10266 type  "shortcut"
10267 arg   "paragraph-break inverse"
10268 \end_inset
10269
10270
10271 \family sans
10272 , Verse,
10273 \begin_inset Newline newline
10274 \end_inset
10275
10276
10277 \family default
10278
10279 \begin_inset Info
10280 type  "shortcut"
10281 arg   "depth-decrement"
10282 \end_inset
10283
10284 )
10285 \end_layout
10286
10287 \end_deeper
10288 \begin_layout Enumerate
10289 (
10290 \family sans
10291 Return, Enumerate
10292 \family default
10293 : level #1) This is another item.
10294  Note that selecting a 
10295 \family sans
10296 Table
10297 \family default
10298  resets the nesting depth to level #1, so we increased the nesting depth
10299  3 times to put the table inside the 
10300 \family sans
10301 Verse
10302 \family default
10303  environment.
10304  
10305 \end_layout
10306
10307 \begin_layout Quotation
10308 We're now ending the 
10309 \family sans
10310 Enumerate
10311 \family default
10312  list and changing to 
10313 \family sans
10314 Quotation
10315 \family default
10316 .
10317  We're still at level #1.
10318  We want to show you some of the things you can do by mixing environments.
10319  The next set of paragraphs is a 
10320 \begin_inset Quotes eld
10321 \end_inset
10322
10323 quoted letter.
10324 \begin_inset Quotes erd
10325 \end_inset
10326
10327  We will nest both the 
10328 \family sans
10329 Address
10330 \family default
10331  and 
10332 \family sans
10333 Right
10334 \begin_inset space ~
10335 \end_inset
10336
10337 Address
10338 \family default
10339  environments inside of this one, then use another nested 
10340 \family sans
10341 Quotation
10342 \family default
10343  for the letter body.
10344  We will use 
10345 \begin_inset Info
10346 type  "shortcut"
10347 arg   "paragraph-break inverse"
10348 \end_inset
10349
10350  to preserve the depth.
10351  Remember that you need to use 
10352 \begin_inset Info
10353 type  "shortcut"
10354 arg   "newline-insert newline"
10355 \end_inset
10356
10357  to create multiple lines inside the 
10358 \family sans
10359 Address
10360 \family default
10361  and 
10362 \family sans
10363 Right
10364 \begin_inset space ~
10365 \end_inset
10366
10367 Address
10368 \family default
10369  environments.
10370  Here it goes:
10371 \end_layout
10372
10373 \begin_deeper
10374 \begin_layout Right Address
10375 1234 Nowhere Rd.
10376 \begin_inset Newline newline
10377 \end_inset
10378
10379 Moosegroin, MT 00100
10380 \begin_inset Newline newline
10381 \end_inset
10382
10383 9-6-96
10384 \end_layout
10385
10386 \begin_layout Address
10387 Dear Mr.
10388 \begin_inset space ~
10389 \end_inset
10390
10391 Fizlewitz:
10392 \end_layout
10393
10394 \begin_layout Quotation
10395 We regret to inform you that we cannot fill your order for 50
10396 \begin_inset space \thinspace{}
10397 \end_inset
10398
10399 L of compressed methane gas due to circumstances beyond our control.
10400  Unfortunately, several of our cows have mysteriously exploded, creating
10401  a backlog in our orders for methane.
10402  We will place your name on the waiting list and try to fill your order
10403  as soon as possible.
10404  In the meantime, we thank you for your patience.
10405 \end_layout
10406
10407 \begin_layout Quotation
10408 We do, however, now have a special on beef.
10409  If you are interested, please return the enclosed pricing and order form
10410  with your order, along with payment.
10411 \end_layout
10412
10413 \begin_layout Quotation
10414 We thank you again for your patience.
10415 \end_layout
10416
10417 \begin_layout Address
10418 Sincerely,
10419 \begin_inset Newline newline
10420 \end_inset
10421
10422 Bill Hick
10423 \end_layout
10424
10425 \end_deeper
10426 \begin_layout Quotation
10427 That ends that example!
10428 \end_layout
10429
10430 \begin_layout Standard
10431 As you can see, nesting environments in \SpecialChar LyX
10432  gives you a lot of power with just
10433  a few keystrokes.
10434  We could have easily nested an 
10435 \family sans
10436 Itemize
10437 \family default
10438  list inside of a 
10439 \family sans
10440 Quotation
10441 \family default
10442  or 
10443 \family sans
10444 Quote
10445 \family default
10446 , or put a 
10447 \family sans
10448 Quote
10449 \family default
10450  inside of an 
10451 \family sans
10452 Itemize
10453 \family default
10454  list.
10455  You have a huge variety of options at your disposal.
10456 \end_layout
10457
10458 \begin_layout Subsection
10459 Separate Nestings
10460 \begin_inset Index idx
10461 status collapsed
10462
10463 \begin_layout Plain Layout
10464 Nesting ! Separation
10465 \end_layout
10466
10467 \end_inset
10468
10469
10470 \begin_inset CommandInset label
10471 LatexCommand label
10472 name "subsec:Separate-Nestings"
10473
10474 \end_inset
10475
10476
10477 \end_layout
10478
10479 \begin_layout Standard
10480 It is sometimes necessary to have two consecutive environments of the same
10481  type.
10482  For example you need two different enumerations:
10483 \end_layout
10484
10485 \begin_layout Enumerate
10486 Hello
10487 \end_layout
10488
10489 \begin_deeper
10490 \begin_layout Enumerate
10491 this is an
10492 \end_layout
10493
10494 \begin_deeper
10495 \begin_layout Enumerate
10496 enumeration
10497 \end_layout
10498
10499 \begin_layout Standard
10500 \begin_inset Separator plain
10501 \end_inset
10502
10503
10504 \end_layout
10505
10506 \begin_layout Itemize
10507 itemize list
10508 \end_layout
10509
10510 \end_deeper
10511 \end_deeper
10512 \begin_layout Standard
10513 \begin_inset Separator parbreak
10514 \end_inset
10515
10516
10517 \end_layout
10518
10519 \begin_layout Enumerate
10520 Hi
10521 \end_layout
10522
10523 \begin_layout Enumerate
10524 this is another
10525 \end_layout
10526
10527 \begin_layout Enumerate
10528 enumeration
10529 \end_layout
10530
10531 \begin_layout Standard
10532 To split an existing list into two lists, set the cursor at the end of a
10533  list item and use the menu 
10534 \family sans
10535 Edit\SpecialChar menuseparator
10536 Start New Environment
10537 \family default
10538 .
10539  This inserts a plain separator (red line in \SpecialChar LyX
10540 ) and behind it the new list.
10541  The menu 
10542 \family sans
10543 Edit\SpecialChar menuseparator
10544 Start New Parent Environment
10545 \family default
10546  only appears if the item is nested.
10547  It does not only separate the list but also creates a new one outside the
10548  nesting.
10549 \end_layout
10550
10551 \begin_layout Standard
10552 By right-clicking on a separator one can change it into a paragraph separator
10553  (red arrow in LyX).
10554  The difference between both separator types is that the plain separator
10555  only splits the list and not the current paragraph.
10556 \end_layout
10557
10558 \begin_layout Standard
10559 In general, you get an environment separator when you press 
10560 \begin_inset Info
10561 type  "shortcut"
10562 arg   "paragraph-break"
10563 \end_inset
10564
10565  in a 
10566 \family sans
10567 Standard
10568 \family default
10569  environment immediately after a non-Standard one.
10570 \end_layout
10571
10572 \begin_layout Section
10573 Spacing, pagination and line breaks
10574 \begin_inset Index idx
10575 status collapsed
10576
10577 \begin_layout Plain Layout
10578 Spacing
10579 \end_layout
10580
10581 \end_inset
10582
10583
10584 \end_layout
10585
10586 \begin_layout Standard
10587 What is a space? While you might be used to pressing the space key anytime
10588  you want to separate two words in ordinary word processors, \SpecialChar LyX
10589  offers you
10590  more spaces: spaces of different widths and spaces which can or cannot
10591  be broken at the end of a line.
10592  The following sections will show you some examples where those spaces are
10593  useful.
10594 \end_layout
10595
10596 \begin_layout Subsection
10597 Protected Space
10598 \begin_inset CommandInset label
10599 LatexCommand label
10600 name "subsec:Protected-Space"
10601
10602 \end_inset
10603
10604
10605 \begin_inset Index idx
10606 status collapsed
10607
10608 \begin_layout Plain Layout
10609 Spaces ! Protected
10610 \end_layout
10611
10612 \end_inset
10613
10614
10615 \end_layout
10616
10617 \begin_layout Standard
10618 The protected space: It is used to tell \SpecialChar LyX
10619  (and \SpecialChar LaTeX
10620 ) not to break the line at
10621  that point.
10622  This may be necessary to avoid unlucky line breaks, like in: 
10623 \end_layout
10624
10625 \begin_layout Quote
10626 Further documentation is given in section
10627 \begin_inset Newline newline
10628 \end_inset
10629
10630
10631 \begin_inset CommandInset ref
10632 LatexCommand ref
10633 reference "sec:Bibliography"
10634
10635 \end_inset
10636
10637 .
10638  
10639 \end_layout
10640
10641 \begin_layout Standard
10642 Obviously, it would be a good thing to put a protected space between 
10643 \begin_inset Quotes eld
10644 \end_inset
10645
10646 section
10647 \begin_inset Quotes erd
10648 \end_inset
10649
10650  and 
10651 \begin_inset Quotes eld
10652 \end_inset
10653
10654
10655 \begin_inset CommandInset ref
10656 LatexCommand ref
10657 reference "sec:Bibliography"
10658
10659 \end_inset
10660
10661
10662 \begin_inset Quotes erd
10663 \end_inset
10664
10665 .
10666  A protected space is set with 
10667 \family sans
10668 Insert\SpecialChar menuseparator
10669 Formatting\SpecialChar menuseparator
10670 Protected
10671 \begin_inset space ~
10672 \end_inset
10673
10674 Space
10675 \family default
10676  (shortcut 
10677 \begin_inset Info
10678 type  "shortcut"
10679 arg   "command-alternatives math-space ; space-insert protected"
10680 \end_inset
10681
10682 ).
10683 \end_layout
10684
10685 \begin_layout Subsection
10686 Horizontal Space
10687 \begin_inset CommandInset label
10688 LatexCommand label
10689 name "subsec:Horizontal-Space"
10690
10691 \end_inset
10692
10693
10694 \begin_inset Index idx
10695 status collapsed
10696
10697 \begin_layout Plain Layout
10698 Spacing ! Horizontal
10699 \end_layout
10700
10701 \end_inset
10702
10703
10704 \end_layout
10705
10706 \begin_layout Standard
10707 All horizontal spaces can be inserted with the menu 
10708 \family sans
10709 Insert\SpecialChar menuseparator
10710 Formatting\SpecialChar menuseparator
10711 Horizontal Space
10712 \family default
10713 .
10714  The length units are listed in Appendix
10715 \begin_inset space ~
10716 \end_inset
10717
10718
10719 \begin_inset CommandInset ref
10720 LatexCommand ref
10721 reference "chap:Units-available-in"
10722
10723 \end_inset
10724
10725 .
10726 \end_layout
10727
10728 \begin_layout Subsubsection
10729 Inter-word Space
10730 \begin_inset CommandInset label
10731 LatexCommand label
10732 name "subsec:Inter-word-Space"
10733
10734 \end_inset
10735
10736
10737 \begin_inset Index idx
10738 status collapsed
10739
10740 \begin_layout Plain Layout
10741 Spaces ! Inter-word
10742 \end_layout
10743
10744 \end_inset
10745
10746
10747 \end_layout
10748
10749 \begin_layout Standard
10750 With the introduction of typewriters, it became conventional in some countries
10751  to type two spaces after a period to mimic the wider spaces used by typesetters
10752  at the ends of sentences.
10753  There is no need to do this as \SpecialChar LyX
10754  automatically takes care about this.
10755  However, you do not want an end of sentence space after an abbreviation
10756  followed by a period; see section
10757 \begin_inset space ~
10758 \end_inset
10759
10760
10761 \begin_inset CommandInset ref
10762 LatexCommand ref
10763 reference "subsec:Abbreviations"
10764
10765 \end_inset
10766
10767  for examples.
10768  To insert a normal space, select 
10769 \family sans
10770 Insert\SpecialChar menuseparator
10771 Formatting\SpecialChar menuseparator
10772 Interword
10773 \begin_inset space ~
10774 \end_inset
10775
10776 Space
10777 \family default
10778  (shortcut 
10779 \begin_inset Info
10780 type  "shortcut"
10781 arg   "space-insert normal"
10782 \end_inset
10783
10784 ).
10785 \end_layout
10786
10787 \begin_layout Subsubsection
10788 Thin Space
10789 \begin_inset CommandInset label
10790 LatexCommand label
10791 name "subsec:Thin-Space"
10792
10793 \end_inset
10794
10795
10796 \begin_inset Index idx
10797 status collapsed
10798
10799 \begin_layout Plain Layout
10800 Spaces ! Thin
10801 \end_layout
10802
10803 \end_inset
10804
10805
10806 \end_layout
10807
10808 \begin_layout Standard
10809
10810 \begin_inset Quotes eld
10811 \end_inset
10812
10813 thin space
10814 \begin_inset Quotes erd
10815 \end_inset
10816
10817  is a blank which has half the size of a normal space (and it is also 
10818 \begin_inset Quotes eld
10819 \end_inset
10820
10821 protected
10822 \begin_inset Quotes erd
10823 \end_inset
10824
10825 ).
10826  The typographical conventions in a lot of languages propose the use of
10827  thin spaces in cases where normal spaces would be too wide, for instance,
10828  inside abbreviations:
10829 \end_layout
10830
10831 \begin_layout Quote
10832 D.
10833 \begin_inset space \thinspace{}
10834 \end_inset
10835
10836 E.
10837  Knuth has developed our beloved typesetting program.
10838 \end_layout
10839
10840 \begin_layout Standard
10841 or between values and units.
10842  Compare for example this:
10843 \begin_inset Newline newline
10844 \end_inset
10845
10846 10
10847 \begin_inset space \thinspace{}
10848 \end_inset
10849
10850 kg (thin space)
10851 \begin_inset Newline newline
10852 \end_inset
10853
10854 10 kg (normal space
10855 \end_layout
10856
10857 \begin_layout Standard
10858 You can insert thin spaces with the menu 
10859 \family sans
10860 Insert\SpecialChar menuseparator
10861 Formatting\SpecialChar menuseparator
10862 Thin
10863 \begin_inset space ~
10864 \end_inset
10865
10866 Space
10867 \family default
10868  (shortcut 
10869 \begin_inset Info
10870 type  "shortcuts"
10871 arg   "space-insert thin"
10872 \end_inset
10873
10874 ).
10875 \end_layout
10876
10877 \begin_layout Subsubsection
10878 More Spaces
10879 \end_layout
10880
10881 \begin_layout Standard
10882 You can also insert the following space types:
10883 \end_layout
10884
10885 \begin_layout Description
10886 Negative
10887 \begin_inset space ~
10888 \end_inset
10889
10890 thin
10891 \begin_inset space ~
10892 \end_inset
10893
10894 space A line with a 
10895 \begin_inset Formula $\to$
10896 \end_inset
10897
10898
10899 \begin_inset space \negthinspace{}
10900 \end_inset
10901
10902
10903 \begin_inset Formula $\gets$
10904 \end_inset
10905
10906  negative thin space between the arrows.
10907 \end_layout
10908
10909 \begin_layout Description
10910 Negative
10911 \begin_inset space ~
10912 \end_inset
10913
10914 medium
10915 \begin_inset space ~
10916 \end_inset
10917
10918 space A line with a 
10919 \begin_inset Formula $\to$
10920 \end_inset
10921
10922
10923 \begin_inset space \negmedspace{}
10924 \end_inset
10925
10926
10927 \begin_inset Formula $\gets$
10928 \end_inset
10929
10930  negative medium space between the arrows.
10931 \end_layout
10932
10933 \begin_layout Description
10934 Negative
10935 \begin_inset space ~
10936 \end_inset
10937
10938 thick
10939 \begin_inset space ~
10940 \end_inset
10941
10942 space A line with a 
10943 \begin_inset Formula $\to$
10944 \end_inset
10945
10946
10947 \begin_inset space \negthickspace{}
10948 \end_inset
10949
10950
10951 \begin_inset Formula $\gets$
10952 \end_inset
10953
10954  negative thick space between the arrows.
10955 \end_layout
10956
10957 \begin_layout Description
10958 Enspace
10959 \begin_inset space ~
10960 \end_inset
10961
10962 (0.5
10963 \begin_inset space \thinspace{}
10964 \end_inset
10965
10966 em) A line with an 
10967 \begin_inset Formula $\to$
10968 \end_inset
10969
10970
10971 \begin_inset space \enskip{}
10972 \end_inset
10973
10974
10975 \begin_inset Formula $\gets$
10976 \end_inset
10977
10978  enspace
10979 \begin_inset space ~
10980 \end_inset
10981
10982 (0.5
10983 \begin_inset space \thinspace{}
10984 \end_inset
10985
10986 em) space between the arrows.
10987 \end_layout
10988
10989 \begin_layout Description
10990 Quad
10991 \begin_inset space ~
10992 \end_inset
10993
10994 (1
10995 \begin_inset space \thinspace{}
10996 \end_inset
10997
10998 em) A line with a 
10999 \begin_inset Formula $\to$
11000 \end_inset
11001
11002
11003 \begin_inset space \quad{}
11004 \end_inset
11005
11006
11007 \begin_inset Formula $\gets$
11008 \end_inset
11009
11010  Quad
11011 \begin_inset space ~
11012 \end_inset
11013
11014 (1
11015 \begin_inset space \thinspace{}
11016 \end_inset
11017
11018 em) space between the arrows.
11019 \end_layout
11020
11021 \begin_layout Description
11022 QQuad
11023 \begin_inset space ~
11024 \end_inset
11025
11026 (2
11027 \begin_inset space \thinspace{}
11028 \end_inset
11029
11030 em) A line with a 
11031 \begin_inset Formula $\to$
11032 \end_inset
11033
11034
11035 \begin_inset space \qquad{}
11036 \end_inset
11037
11038
11039 \begin_inset Formula $\gets$
11040 \end_inset
11041
11042  QQuad
11043 \begin_inset space ~
11044 \end_inset
11045
11046 (2
11047 \begin_inset space \thinspace{}
11048 \end_inset
11049
11050 em) space between the arrows.
11051 \end_layout
11052
11053 \begin_layout Description
11054 Custom
11055 \begin_inset space ~
11056 \end_inset
11057
11058 space A line with 
11059 \begin_inset Formula $\to$
11060 \end_inset
11061
11062
11063 \begin_inset space \hspace{}
11064 \length 2cm
11065 \end_inset
11066
11067
11068 \begin_inset Formula $\gets$
11069 \end_inset
11070
11071  2
11072 \begin_inset space \thinspace{}
11073 \end_inset
11074
11075 cm space between the arrows.
11076 \end_layout
11077
11078 \begin_layout Standard
11079 Table
11080 \begin_inset space ~
11081 \end_inset
11082
11083
11084 \begin_inset CommandInset ref
11085 LatexCommand ref
11086 reference "tab:Width-of-the"
11087
11088 \end_inset
11089
11090  lists the different space sizes.
11091 \end_layout
11092
11093 \begin_layout Standard
11094 \begin_inset Float table
11095 wide false
11096 sideways false
11097 status open
11098
11099 \begin_layout Plain Layout
11100 \begin_inset Caption Standard
11101
11102 \begin_layout Plain Layout
11103 \begin_inset CommandInset label
11104 LatexCommand label
11105 name "tab:Width-of-the"
11106
11107 \end_inset
11108
11109 Width of the different horizontal spaces.
11110 \end_layout
11111
11112 \end_inset
11113
11114
11115 \end_layout
11116
11117 \begin_layout Plain Layout
11118 \align center
11119 \begin_inset Tabular
11120 <lyxtabular version="3" rows="10" columns="2">
11121 <features tabularvalignment="middle">
11122 <column alignment="center" valignment="top">
11123 <column alignment="center" valignment="top">
11124 <row>
11125 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11126 \begin_inset Text
11127
11128 \begin_layout Plain Layout
11129
11130 \series bold
11131 Space
11132 \end_layout
11133
11134 \end_inset
11135 </cell>
11136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11137 \begin_inset Text
11138
11139 \begin_layout Plain Layout
11140
11141 \series bold
11142 Width
11143 \end_layout
11144
11145 \end_inset
11146 </cell>
11147 </row>
11148 <row>
11149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11150 \begin_inset Text
11151
11152 \begin_layout Plain Layout
11153 Normal
11154 \end_layout
11155
11156 \end_inset
11157 </cell>
11158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11159 \begin_inset Text
11160
11161 \begin_layout Plain Layout
11162 1/3
11163 \begin_inset space \thinspace{}
11164 \end_inset
11165
11166 em
11167 \end_layout
11168
11169 \end_inset
11170 </cell>
11171 </row>
11172 <row>
11173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11174 \begin_inset Text
11175
11176 \begin_layout Plain Layout
11177 Protected
11178 \end_layout
11179
11180 \end_inset
11181 </cell>
11182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11183 \begin_inset Text
11184
11185 \begin_layout Plain Layout
11186 1/3
11187 \begin_inset space \thinspace{}
11188 \end_inset
11189
11190 em
11191 \end_layout
11192
11193 \end_inset
11194 </cell>
11195 </row>
11196 <row>
11197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11198 \begin_inset Text
11199
11200 \begin_layout Plain Layout
11201 Thin
11202 \end_layout
11203
11204 \end_inset
11205 </cell>
11206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11207 \begin_inset Text
11208
11209 \begin_layout Plain Layout
11210 1/6
11211 \begin_inset space \thinspace{}
11212 \end_inset
11213
11214 em
11215 \end_layout
11216
11217 \end_inset
11218 </cell>
11219 </row>
11220 <row>
11221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11222 \begin_inset Text
11223
11224 \begin_layout Plain Layout
11225 Negative thin
11226 \end_layout
11227
11228 \end_inset
11229 </cell>
11230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11231 \begin_inset Text
11232
11233 \begin_layout Plain Layout
11234 -1/6
11235 \begin_inset space \thinspace{}
11236 \end_inset
11237
11238 em
11239 \begin_inset Formula $\thinspace=\thinspace$
11240 \end_inset
11241
11242 -3
11243 \begin_inset space \thinspace{}
11244 \end_inset
11245
11246 mu
11247 \end_layout
11248
11249 \end_inset
11250 </cell>
11251 </row>
11252 <row>
11253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11254 \begin_inset Text
11255
11256 \begin_layout Plain Layout
11257 Negative medium
11258 \end_layout
11259
11260 \end_inset
11261 </cell>
11262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11263 \begin_inset Text
11264
11265 \begin_layout Plain Layout
11266 -4
11267 \begin_inset space \thinspace{}
11268 \end_inset
11269
11270 mu
11271 \end_layout
11272
11273 \end_inset
11274 </cell>
11275 </row>
11276 <row>
11277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11278 \begin_inset Text
11279
11280 \begin_layout Plain Layout
11281 Negative thick
11282 \end_layout
11283
11284 \end_inset
11285 </cell>
11286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11287 \begin_inset Text
11288
11289 \begin_layout Plain Layout
11290 -5
11291 \begin_inset space \thinspace{}
11292 \end_inset
11293
11294 mu
11295 \end_layout
11296
11297 \end_inset
11298 </cell>
11299 </row>
11300 <row>
11301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11302 \begin_inset Text
11303
11304 \begin_layout Plain Layout
11305 Enspace (0.5
11306 \begin_inset space \thinspace{}
11307 \end_inset
11308
11309 em)
11310 \end_layout
11311
11312 \end_inset
11313 </cell>
11314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11315 \begin_inset Text
11316
11317 \begin_layout Plain Layout
11318 0.5
11319 \begin_inset space \thinspace{}
11320 \end_inset
11321
11322 em
11323 \end_layout
11324
11325 \end_inset
11326 </cell>
11327 </row>
11328 <row>
11329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11330 \begin_inset Text
11331
11332 \begin_layout Plain Layout
11333 Quad (1
11334 \begin_inset space \thinspace{}
11335 \end_inset
11336
11337 em)
11338 \end_layout
11339
11340 \end_inset
11341 </cell>
11342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11343 \begin_inset Text
11344
11345 \begin_layout Plain Layout
11346 1
11347 \begin_inset space \thinspace{}
11348 \end_inset
11349
11350 em
11351 \end_layout
11352
11353 \end_inset
11354 </cell>
11355 </row>
11356 <row>
11357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11358 \begin_inset Text
11359
11360 \begin_layout Plain Layout
11361 QQuad (2
11362 \begin_inset space \thinspace{}
11363 \end_inset
11364
11365 em)
11366 \end_layout
11367
11368 \end_inset
11369 </cell>
11370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11371 \begin_inset Text
11372
11373 \begin_layout Plain Layout
11374 2
11375 \begin_inset space \thinspace{}
11376 \end_inset
11377
11378 em
11379 \end_layout
11380
11381 \end_inset
11382 </cell>
11383 </row>
11384 </lyxtabular>
11385
11386 \end_inset
11387
11388
11389 \end_layout
11390
11391 \end_inset
11392
11393
11394 \end_layout
11395
11396 \begin_layout Subsubsection
11397 Horizontal Fills
11398 \begin_inset Index idx
11399 status collapsed
11400
11401 \begin_layout Plain Layout
11402 Spacing ! Fills
11403 \end_layout
11404
11405 \end_inset
11406
11407
11408 \end_layout
11409
11410 \begin_layout Standard
11411 Horizontal fills (HFills) are a special \SpecialChar LyX
11412  feature for adding extra space
11413  in a uniform fashion.
11414  An HFill is actually a variable length space, whose length always equals
11415  the remaining space between the left and right margins.
11416  If there is more than one HFill on a line, they divide the available space
11417  equally between themselves.
11418 \end_layout
11419
11420 \begin_layout Standard
11421 Here are a few examples of what you can do with them:
11422 \end_layout
11423
11424 \begin_layout Quote
11425 \noindent
11426 This is on the left side
11427 \begin_inset space \hfill{}
11428 \end_inset
11429
11430 This is on the right
11431 \end_layout
11432
11433 \begin_layout Quote
11434 \noindent
11435 Left
11436 \begin_inset space \hfill{}
11437 \end_inset
11438
11439 Middle
11440 \begin_inset space \hfill{}
11441 \end_inset
11442
11443 Right
11444 \end_layout
11445
11446 \begin_layout Quote
11447 \noindent
11448 Left
11449 \begin_inset space \hfill{}
11450 \end_inset
11451
11452 1/3 Left
11453 \begin_inset space \hfill{}
11454 \end_inset
11455
11456
11457 \begin_inset space \hfill{}
11458 \end_inset
11459
11460 Right
11461 \end_layout
11462
11463 \begin_layout Standard
11464 That was an example in the 
11465 \family sans
11466 Quote
11467 \family default
11468  environment.
11469  Here
11470 \begin_inset Formula $\to$
11471 \end_inset
11472
11473
11474 \begin_inset space \hfill{}
11475 \end_inset
11476
11477
11478 \begin_inset Formula $\gets$
11479 \end_inset
11480
11481 is one in a standard paragraph.
11482  It may or may not be apparent in the printed text, but it 
11483 \emph on
11484 is
11485 \emph default
11486  sitting in-between the two arrows.
11487 \end_layout
11488
11489 \begin_layout Standard
11490 HFills can be made visible when you choose one of the 
11491 \family sans
11492 Fill
11493 \begin_inset space ~
11494 \end_inset
11495
11496 Pattern
11497 \family default
11498 s in the space dialog: The following patterns are available:
11499 \end_layout
11500
11501 \begin_layout Standard
11502 Dots: 
11503 \begin_inset space \dotfill{}
11504 \end_inset
11505
11506
11507 \begin_inset space ~
11508 \end_inset
11509
11510
11511 \end_layout
11512
11513 \begin_layout Standard
11514 Rule: 
11515 \begin_inset space \hrulefill{}
11516 \end_inset
11517
11518
11519 \begin_inset space ~
11520 \end_inset
11521
11522
11523 \end_layout
11524
11525 \begin_layout Standard
11526 Left arrow: 
11527 \begin_inset space \leftarrowfill{}
11528 \end_inset
11529
11530
11531 \begin_inset space ~
11532 \end_inset
11533
11534
11535 \end_layout
11536
11537 \begin_layout Standard
11538 Right arrow: 
11539 \begin_inset space \rightarrowfill{}
11540 \end_inset
11541
11542
11543 \begin_inset space ~
11544 \end_inset
11545
11546
11547 \end_layout
11548
11549 \begin_layout Standard
11550 Up brace: 
11551 \begin_inset space \downbracefill{}
11552 \end_inset
11553
11554
11555 \begin_inset space ~
11556 \end_inset
11557
11558
11559 \end_layout
11560
11561 \begin_layout Standard
11562 Down brace: 
11563 \begin_inset space \upbracefill{}
11564 \end_inset
11565
11566
11567 \begin_inset space ~
11568 \end_inset
11569
11570
11571 \end_layout
11572
11573 \begin_layout Standard
11574 \begin_inset Note Greyedout
11575 status open
11576
11577 \begin_layout Plain Layout
11578
11579 \series bold
11580 Note:
11581 \series default
11582  If an HFill is at the beginning of a line, and 
11583 \emph on
11584 not
11585 \emph default
11586  in the first line in a paragraph, \SpecialChar LyX
11587  ignores it.
11588  This prevents HFills from accidentally being wrapped onto a new line.
11589  If you need space in this case anyway, set the 
11590 \family sans
11591 Protect
11592 \family default
11593  option in the space dialog.
11594 \end_layout
11595
11596 \end_inset
11597
11598
11599 \end_layout
11600
11601 \begin_layout Subsubsection
11602 Phantom Space
11603 \begin_inset CommandInset label
11604 LatexCommand label
11605 name "subsec:Phantom-Space"
11606
11607 \end_inset
11608
11609
11610 \begin_inset Index idx
11611 status collapsed
11612
11613 \begin_layout Plain Layout
11614 Spacing ! Phantom
11615 \end_layout
11616
11617 \end_inset
11618
11619
11620 \end_layout
11621
11622 \begin_layout Standard
11623 Sometimes you want to insert space with exactly the length of a phrase.
11624  For example, you want to create the following multiple choice question:
11625 \end_layout
11626
11627 \begin_layout Standard
11628 \begin_inset VSpace medskip
11629 \end_inset
11630
11631 What is correct English?:
11632 \begin_inset Newline newline
11633 \end_inset
11634
11635
11636 \begin_inset Newline newline
11637 \end_inset
11638
11639 Mr.
11640 \begin_inset space ~
11641 \end_inset
11642
11643 Edge would have been jumps the gun.
11644 \begin_inset Newline newline
11645 \end_inset
11646
11647
11648 \begin_inset Phantom HPhantom
11649 status open
11650
11651 \begin_layout Plain Layout
11652 Mr.
11653  Edge 
11654 \end_layout
11655
11656 \end_inset
11657
11658 has to be jumped
11659 \begin_inset Newline newline
11660 \end_inset
11661
11662
11663 \begin_inset Phantom HPhantom
11664 status open
11665
11666 \begin_layout Plain Layout
11667 Mr.
11668  Edge 
11669 \end_layout
11670
11671 \end_inset
11672
11673 jumps
11674 \begin_inset VSpace medskip
11675 \end_inset
11676
11677
11678 \end_layout
11679
11680 \begin_layout Standard
11681 \noindent
11682 so that the choices appear exactly after the phrase 
11683 \begin_inset Quotes eld
11684 \end_inset
11685
11686 Mr.
11687 \begin_inset space ~
11688 \end_inset
11689
11690 Edge
11691 \begin_inset space ~
11692 \end_inset
11693
11694
11695 \begin_inset Quotes erd
11696 \end_inset
11697
11698 .
11699  To get this, you can use the phantom insets available via the menu 
11700 \family sans
11701 Insert\SpecialChar menuseparator
11702 Formatting\SpecialChar menuseparator
11703 Phantom
11704 \family default
11705 .
11706  In our case insert a horizontal phantom at the beginning of the last two
11707  lines and insert 
11708 \begin_inset Quotes eld
11709 \end_inset
11710
11711 Mr.
11712 \begin_inset space ~
11713 \end_inset
11714
11715 Edge
11716 \begin_inset space ~
11717 \end_inset
11718
11719
11720 \begin_inset Quotes erd
11721 \end_inset
11722
11723  into the phantom inset (note the space after 
11724 \begin_inset Quotes eld
11725 \end_inset
11726
11727 Edge
11728 \begin_inset Quotes erd
11729 \end_inset
11730
11731 ).
11732  A phantom insets prints only the space of its content (like a placeholder).
11733  That is why it is named 
11734 \begin_inset Quotes eld
11735 \end_inset
11736
11737 phantom
11738 \begin_inset Quotes erd
11739 \end_inset
11740
11741 .
11742  The normal phantom outputs the width and height of the content as space,
11743  while the horizontal and vertical variant only outputs the corresponding
11744  dimension.
11745 \end_layout
11746
11747 \begin_layout Subsection
11748 Vertical Space
11749 \begin_inset CommandInset label
11750 LatexCommand label
11751 name "subsec:Vertical-Space"
11752
11753 \end_inset
11754
11755
11756 \begin_inset Index idx
11757 status collapsed
11758
11759 \begin_layout Plain Layout
11760 Spacing ! Vertical
11761 \end_layout
11762
11763 \end_inset
11764
11765
11766 \end_layout
11767
11768 \begin_layout Standard
11769 To add extra vertical space above or below a paragraph, use the 
11770 \family sans
11771 Insert\SpecialChar menuseparator
11772 Formatting\SpecialChar menuseparator
11773 Vertical
11774 \begin_inset space ~
11775 \end_inset
11776
11777 Space
11778 \family default
11779  dialog.
11780  There you find the following sizes:
11781 \end_layout
11782
11783 \begin_layout Standard
11784
11785 \family sans
11786 SmallSkip
11787 \family default
11788
11789 \family sans
11790 MedSkip
11791 \family default
11792  and 
11793 \family sans
11794 BigSkip
11795 \family default
11796  are \SpecialChar LaTeX
11797  sizes which depend on the font size of the document.
11798  
11799 \family sans
11800 DefSkip
11801 \family default
11802  is the skip adjusted in the dialog 
11803 \family sans
11804 Document\SpecialChar menuseparator
11805 Settings\SpecialChar menuseparator
11806 Text
11807 \begin_inset space ~
11808 \end_inset
11809
11810 Layout
11811 \family default
11812
11813 \begin_inset Index idx
11814 status collapsed
11815
11816 \begin_layout Plain Layout
11817 Document ! Settings
11818 \end_layout
11819
11820 \end_inset
11821
11822  for the paragraph separation.
11823  If you use indentation to separate paragraphs 
11824 \family sans
11825 DefSkip
11826 \family default
11827  is equal to 
11828 \family sans
11829 MedSkip
11830 \family default
11831 .
11832 \end_layout
11833
11834 \begin_layout Standard
11835
11836 \family sans
11837 VFill
11838 \family default
11839
11840 \begin_inset Index idx
11841 status collapsed
11842
11843 \begin_layout Plain Layout
11844 Spacing ! Fills
11845 \end_layout
11846
11847 \end_inset
11848
11849  is a variable space, set so that the space is maximal within one page.
11850  An example: you have only two short paragraphs on one page with a 
11851 \family sans
11852 Vfill
11853 \family default
11854  between them.
11855  Then the first paragraph is placed at the top of the page and the second
11856  one at the bottom, because the space between them is then maximal.
11857  
11858 \family sans
11859 VFill
11860 \family default
11861 s work like 
11862 \family sans
11863 HFill
11864 \family default
11865 s: they fill the remaining vertical space on a page with blank space.
11866 \begin_inset Foot
11867 status collapsed
11868
11869 \begin_layout Plain Layout
11870
11871 \family sans
11872 HFill
11873 \family default
11874 s are described in section
11875 \begin_inset space ~
11876 \end_inset
11877
11878
11879 \begin_inset CommandInset ref
11880 LatexCommand ref
11881 reference "subsec:Horizontal-Space"
11882
11883 \end_inset
11884
11885 .
11886 \end_layout
11887
11888 \end_inset
11889
11890  If there are several 
11891 \family sans
11892 VFill
11893 \family default
11894 s on a page, they divide the remaining vertical space equally between themselves.
11895  You can therefore use 
11896 \family sans
11897 VFill
11898 \family default
11899 s to center text on a page, or even place text 2/3 down a page.
11900 \end_layout
11901
11902 \begin_layout Standard
11903
11904 \family sans
11905 Custom
11906 \family default
11907  are custom spaces in units explained in Appendix
11908 \begin_inset space ~
11909 \end_inset
11910
11911
11912 \begin_inset CommandInset ref
11913 LatexCommand ref
11914 reference "chap:Units-available-in"
11915
11916 \end_inset
11917
11918 .
11919 \end_layout
11920
11921 \begin_layout Standard
11922 \begin_inset Note Greyedout
11923 status open
11924
11925 \begin_layout Plain Layout
11926
11927 \series bold
11928 Note:
11929 \series default
11930  
11931 \series medium
11932 If the extra vertical space would be in the output at the top/bottom of
11933  a page, the space is only added if you have also checked the option 
11934 \family sans
11935 Protect
11936 \family default
11937 .
11938 \end_layout
11939
11940 \end_inset
11941
11942
11943 \end_layout
11944
11945 \begin_layout Subsection
11946 Paragraph Alignment
11947 \begin_inset Index idx
11948 status collapsed
11949
11950 \begin_layout Plain Layout
11951 Paragraph ! Alignment
11952 \end_layout
11953
11954 \end_inset
11955
11956
11957 \end_layout
11958
11959 \begin_layout Standard
11960 You can change the paragraph alignment with the 
11961 \family sans
11962 Edit\SpecialChar menuseparator
11963 Paragraph Settings
11964 \family default
11965  dialog (toolbar button 
11966 \begin_inset Info
11967 type  "icon"
11968 arg   "layout-paragraph"
11969 \end_inset
11970
11971 ).
11972  There are five possibilities: 
11973 \end_layout
11974
11975 \begin_layout Itemize
11976
11977 \family sans
11978 Justified
11979 \family default
11980  (shortcut 
11981 \begin_inset Info
11982 type  "shortcut"
11983 arg   "paragraph-params \\align block"
11984 \end_inset
11985
11986 )
11987 \end_layout
11988
11989 \begin_layout Itemize
11990
11991 \family sans
11992 Left
11993 \family default
11994  (
11995 \begin_inset Info
11996 type  "shortcut"
11997 arg   "paragraph-params \\align left"
11998 \end_inset
11999
12000 )
12001 \end_layout
12002
12003 \begin_layout Itemize
12004
12005 \family sans
12006 Right
12007 \family default
12008  (
12009 \begin_inset Info
12010 type  "shortcut"
12011 arg   "paragraph-params \\align right"
12012 \end_inset
12013
12014 )
12015 \end_layout
12016
12017 \begin_layout Itemize
12018
12019 \family sans
12020 Center
12021 \family default
12022  (
12023 \begin_inset Info
12024 type  "shortcut"
12025 arg   "paragraph-params \\align center"
12026 \end_inset
12027
12028 )
12029 \end_layout
12030
12031 \begin_layout Itemize
12032
12033 \family sans
12034 Default
12035 \family default
12036  (
12037 \begin_inset Info
12038 type  "shortcut"
12039 arg   "paragraph-params \\align default"
12040 \end_inset
12041
12042 )
12043 \end_layout
12044
12045 \begin_layout Standard
12046 The default in most cases is justified alignment, in which the inter-word
12047  spacing is variable and each line of a paragraph fills the region between
12048  the left and right margins.
12049  The other three alignments should be self-explanatory, and look like this:
12050 \end_layout
12051
12052 \begin_layout Standard
12053 \align right
12054 This paragraph is right aligned,
12055 \end_layout
12056
12057 \begin_layout Standard
12058 \align center
12059 this one is centered,
12060 \end_layout
12061
12062 \begin_layout Standard
12063 \align left
12064 this one is left aligned.
12065 \end_layout
12066
12067 \begin_layout Subsection
12068 Forced Page Breaks
12069 \begin_inset Index idx
12070 status collapsed
12071
12072 \begin_layout Plain Layout
12073 Page breaks ! Forced
12074 \end_layout
12075
12076 \end_inset
12077
12078
12079 \begin_inset CommandInset label
12080 LatexCommand label
12081 name "subsec:Forced-Page-Breaks"
12082
12083 \end_inset
12084
12085
12086 \end_layout
12087
12088 \begin_layout Standard
12089 If you don't like the way \SpecialChar LaTeX
12090  does the page breaks in your document, you can
12091  force a page break where you want one.
12092  Normally this will not be necessary, because \SpecialChar LaTeX
12093  is good at page breaking.
12094  Only if you use a lot of 
12095 \family sans
12096 Floats
12097 \family default
12098 , \SpecialChar LaTeX
12099 's page breaking algorithm can fail.
12100 \end_layout
12101
12102 \begin_layout Standard
12103 We recommend you not to use forced page breaks until the text is finished
12104  and you have checked in the preview to see if you 
12105 \emph on
12106 really
12107 \emph default
12108  have to change the page breaking.
12109 \end_layout
12110
12111 \begin_layout Standard
12112 There are two types of page breaks: One that ends the page without any special
12113  action.
12114  This can be inserted above or below a paragraph via the menu 
12115 \family sans
12116 Insert\SpecialChar menuseparator
12117 Formatting\SpecialChar menuseparator
12118 New
12119 \begin_inset space ~
12120 \end_inset
12121
12122 Page
12123 \family default
12124 .
12125  The second type, that is inserted via the menu 
12126 \family sans
12127 Insert\SpecialChar menuseparator
12128 Formatting\SpecialChar menuseparator
12129 Page
12130 \begin_inset space ~
12131 \end_inset
12132
12133 Break
12134 \family default
12135 , ends a page but stretches the content of the page, so that it fills out
12136  the complete page.
12137  This type is useful to avoid whitespace when a page break produces a page
12138  on which only the last few lines are absent.
12139 \end_layout
12140
12141 \begin_layout Standard
12142 You might try to use a page break to ensure that a figure or table appears
12143  at the top of a page.
12144  This is, of course, the wrong way to do it.
12145  \SpecialChar LyX
12146  gives you a way of automatically ensuring that your figures and tables
12147  appear at the top of a page (or the bottom, or on their own page) without
12148  having to worry about what precedes or follows your figure or table.
12149  See chapter 
12150 \begin_inset CommandInset ref
12151 LatexCommand ref
12152 reference "chap:Floats-and-Notes"
12153
12154 \end_inset
12155
12156  to learn more about 
12157 \family sans
12158 Floats
12159 \family default
12160 .
12161 \end_layout
12162
12163 \begin_layout Subsubsection
12164 Clear Page Breaks
12165 \begin_inset CommandInset label
12166 LatexCommand label
12167 name "subsec:Clear-Page-Breaks"
12168
12169 \end_inset
12170
12171
12172 \begin_inset Index idx
12173 status collapsed
12174
12175 \begin_layout Plain Layout
12176 Page breaks ! Clear
12177 \end_layout
12178
12179 \end_inset
12180
12181
12182 \end_layout
12183
12184 \begin_layout Standard
12185 Rather than forced page breaks where the content behind the break is placed
12186  directly on the next page, you can also clear pages while breaking them.
12187  That means that the current paragraph is terminated and everything, including
12188  unprocessed floats, from the earlier part of the document are placed after
12189  it, if necessary by adding pages.
12190 \end_layout
12191
12192 \begin_layout Standard
12193 You can insert a clear page break with the menu 
12194 \family sans
12195 Insert\SpecialChar menuseparator
12196 Formatting\SpecialChar menuseparator
12197 Clear
12198 \begin_inset space ~
12199 \end_inset
12200
12201 Page
12202 \family default
12203 .
12204  When you have a two-sided document like a book, you can use the menu 
12205 \family sans
12206 Insert\SpecialChar menuseparator
12207 Formatting\SpecialChar menuseparator
12208 Clear
12209 \begin_inset space ~
12210 \end_inset
12211
12212 Double
12213 \begin_inset space ~
12214 \end_inset
12215
12216 Page
12217 \family default
12218  to insert a clear page break that assures that the next page is a right-hand
12219  page (odd-numbered), if necessary by adding a page.
12220 \end_layout
12221
12222 \begin_layout Subsection
12223 Forced Line Breaks
12224 \begin_inset Index idx
12225 status collapsed
12226
12227 \begin_layout Plain Layout
12228 Line breaks
12229 \end_layout
12230
12231 \end_inset
12232
12233
12234 \begin_inset CommandInset label
12235 LatexCommand label
12236 name "subsec:Forced-Line-Breaks"
12237
12238 \end_inset
12239
12240
12241 \end_layout
12242
12243 \begin_layout Standard
12244 Similar to page breaks there are two types of line breaks: one simply breaks
12245  the line.
12246  You can force this line break within a paragraph by selecting 
12247 \family sans
12248 Insert\SpecialChar menuseparator
12249 Formatting\SpecialChar menuseparator
12250 Ragged
12251 \begin_inset space ~
12252 \end_inset
12253
12254 Line
12255 \begin_inset space ~
12256 \end_inset
12257
12258 Break
12259 \family default
12260  or with 
12261 \begin_inset Info
12262 type  "shortcut"
12263 arg   "newline-insert newline"
12264 \end_inset
12265
12266 .
12267  Another type that is inserted via the menu 
12268 \family sans
12269 Insert\SpecialChar menuseparator
12270 Formatting\SpecialChar menuseparator
12271 Justified
12272 \begin_inset space ~
12273 \end_inset
12274
12275 Line
12276 \begin_inset space ~
12277 \end_inset
12278
12279 Break
12280 \family default
12281  or with 
12282 \begin_inset Info
12283 type  "shortcut"
12284 arg   "newline-insert linebreak"
12285 \end_inset
12286
12287  breaks the line and stretches it so that it fills out the whole space between
12288  the page margins.
12289  This is useful to avoid 
12290 \begin_inset Quotes eld
12291 \end_inset
12292
12293 fringes
12294 \begin_inset Quotes erd
12295 \end_inset
12296
12297  in justified paragraphs due to possible whitespace introduced by line breaks.
12298 \end_layout
12299
12300 \begin_layout Standard
12301 You shouldn't use forced line breaks to correct \SpecialChar LaTeX
12302 's line breaking, as \SpecialChar LaTeX
12303  is
12304  very good at line breaking.
12305  There are, however, a number of situations where it is necessary to set
12306  a line break actively, for example, in a poem or for an address (see sections
12307 \begin_inset space ~
12308 \end_inset
12309
12310
12311 \begin_inset CommandInset ref
12312 LatexCommand ref
12313 reference "sec:Quote"
12314
12315 \end_inset
12316
12317
12318 \begin_inset CommandInset ref
12319 LatexCommand ref
12320 reference "sec:Verse"
12321
12322 \end_inset
12323
12324  and 
12325 \begin_inset CommandInset ref
12326 LatexCommand ref
12327 reference "sec:Address-Usage"
12328
12329 \end_inset
12330
12331 ).
12332 \end_layout
12333
12334 \begin_layout Subsection
12335 Horizontal Lines
12336 \begin_inset CommandInset label
12337 LatexCommand label
12338 name "subsec:Horizontal-Lines"
12339
12340 \end_inset
12341
12342
12343 \begin_inset Index idx
12344 status collapsed
12345
12346 \begin_layout Plain Layout
12347 Horizontal lines
12348 \end_layout
12349
12350 \end_inset
12351
12352
12353 \end_layout
12354
12355 \begin_layout Standard
12356 \noindent
12357 \begin_inset CommandInset line
12358 LatexCommand rule
12359 offset "0.5ex"
12360 width "100line%"
12361 height "1pt"
12362
12363 \end_inset
12364
12365
12366 \end_layout
12367
12368 \begin_layout Standard
12369 \noindent
12370 In the dialog 
12371 \family sans
12372 Insert\SpecialChar menuseparator
12373 Formatting\SpecialChar menuseparator
12374 Horizontal
12375 \begin_inset space ~
12376 \end_inset
12377
12378 Line
12379 \family default
12380  you can insert horizontal lines.
12381  The line offset is the vertical distance between the line and the baseline
12382  of the current text line or the paragraph.
12383  The line settings can be changed by left-clicking on the line.
12384 \end_layout
12385
12386 \begin_layout Standard
12387 \noindent
12388 \begin_inset CommandInset line
12389 LatexCommand rule
12390 offset "0.5ex"
12391 width "100line%"
12392 height "1pt"
12393
12394 \end_inset
12395
12396
12397 \end_layout
12398
12399 \begin_layout Section
12400 Characters and Symbols
12401 \end_layout
12402
12403 \begin_layout Standard
12404 You can directly enter all characters that are available on your keyboard.
12405  You can also use special keyboard maps to be able to enter, for example,
12406  characters needed for French with an English keyboard.
12407  See section
12408 \begin_inset space \thinspace{}
12409 \end_inset
12410
12411
12412 \begin_inset CommandInset ref
12413 LatexCommand ref
12414 reference "subsec:Keyboard-mapping"
12415
12416 \end_inset
12417
12418  for information on how this is done.
12419 \end_layout
12420
12421 \begin_layout Standard
12422 For the case where you need a character that is not on your keyboard, you
12423  can use the 
12424 \family sans
12425 Symbols
12426 \family default
12427  dialog via the menu 
12428 \family sans
12429 Insert\SpecialChar menuseparator
12430 Special Character\SpecialChar menuseparator
12431 Symbols
12432 \family default
12433 .
12434 \end_layout
12435
12436 \begin_layout Standard
12437 \begin_inset Note Greyedout
12438 status open
12439
12440 \begin_layout Plain Layout
12441
12442 \series bold
12443 Note:
12444 \series default
12445  Maybe not all symbols inserted with the symbols dialog can be displayed
12446  when you are using a special screen font in \SpecialChar LyX
12447 's preferences.
12448  But the inserted symbols will in every case be displayed in the output.
12449 \end_layout
12450
12451 \end_inset
12452
12453
12454 \end_layout
12455
12456 \begin_layout Section
12457 Fonts and Text Styles
12458 \begin_inset CommandInset label
12459 LatexCommand label
12460 name "sec:Fonts-and-Text"
12461
12462 \end_inset
12463
12464
12465 \end_layout
12466
12467 \begin_layout Subsection
12468 Font Types
12469 \begin_inset Index idx
12470 status collapsed
12471
12472 \begin_layout Plain Layout
12473 Font ! Types
12474 \end_layout
12475
12476 \end_inset
12477
12478
12479 \end_layout
12480
12481 \begin_layout Standard
12482 There are two types of fonts:
12483 \end_layout
12484
12485 \begin_layout Description
12486 Vector
12487 \begin_inset space ~
12488 \end_inset
12489
12490 fonts
12491 \begin_inset Index idx
12492 status collapsed
12493
12494 \begin_layout Plain Layout
12495 Fonts ! Vector-
12496 \end_layout
12497
12498 \end_inset
12499
12500  are built from outlines of the single glyphs (e.
12501 \begin_inset space \thinspace{}
12502 \end_inset
12503
12504 g.
12505  characters) in the font.
12506  This means that each glyph is defined using mathematical curves that are
12507  well suited for scaling to any requested size.
12508  This mathematical definition is interpreted by the font renderer and the
12509  curve is filled out with pixels according to the size and glyph.
12510  This means that vector fonts will look pretty good in all sizes.
12511  Only at very small sizes where each pixel has to be very carefully computed
12512  to provide a good image might it be hard to provide a good rendering.
12513 \begin_inset Newline newline
12514 \end_inset
12515
12516 That could mean that one only needs to define one font size and scale them.
12517  But to achieve a better quality, many fonts define several font sizes.
12518  That improves the appearance because you need more details at large font
12519  sizes than at small ones.
12520 \begin_inset Newline newline
12521 \end_inset
12522
12523 The font types 
12524 \family typewriter
12525 TrueType
12526 \family default
12527
12528 \family typewriter
12529 OpenType
12530 \family default
12531 , and 
12532 \family typewriter
12533 Type
12534 \begin_inset space ~
12535 \end_inset
12536
12537 1
12538 \family default
12539  are vector fonts.
12540 \end_layout
12541
12542 \begin_layout Description
12543 Bitmap
12544 \begin_inset space ~
12545 \end_inset
12546
12547 fonts
12548 \begin_inset Index idx
12549 status collapsed
12550
12551 \begin_layout Plain Layout
12552 Fonts ! Bitmap-
12553 \end_layout
12554
12555 \end_inset
12556
12557  on the other hand, are defined by bitmap graphics from the start; so they
12558  will look good at all the sizes they are meant for.
12559  However, they don't scale well, because in order to scale a glyph, each
12560  pixel is enlarged into several pixels.
12561  It is the same effect that happens if you try to enlarge a picture in an
12562  image manipulation program.
12563  In order to mitigate this effect, bitmap fonts are typically provided in
12564  several fixed sizes typically from around 8
12565 \begin_inset space ~
12566 \end_inset
12567
12568 pixels high up to 34
12569 \begin_inset space ~
12570 \end_inset
12571
12572 pixels or so high in steps according to what is believed to be useful.
12573  The advantage of bitmap fonts is that no complicated computations are necessary
12574  to display each glyph; so bitmap fonts display therefore more quickly than
12575  scalable fonts.
12576  The disadvantage is that sizes that don't exist as fixed versions have
12577  to be scaled by doubling pixels, and thus look bad.
12578 \begin_inset Newline newline
12579 \end_inset
12580
12581 Bitmap fonts are named 
12582 \family typewriter
12583 Type
12584 \begin_inset space ~
12585 \end_inset
12586
12587 3
12588 \family default
12589  in PostScript- and PDF-documents.
12590 \end_layout
12591
12592 \begin_layout Standard
12593 The result of all this is that bitmap fonts are best for the size they are
12594  designed for, while scalable fonts are good for nearly all sizes.
12595  So one needs fewer font size definitions for scalable fonts.
12596  That's the reason why nearly all text rendering and typesetting programs
12597  use scalable fonts.
12598 \end_layout
12599
12600 \begin_layout Standard
12601 To see which fonts are used in a PDF-document, look at its document properties.
12602 \end_layout
12603
12604 \begin_layout Standard
12605 Many modern typesetting and markup languages have begun to move towards
12606  specifying character styles rather than specifying a particular font.
12607  For example, instead of changing to an italicized version of the current
12608  font to emphasize text, you use an 
12609 \begin_inset Quotes eld
12610 \end_inset
12611
12612 emphasized style
12613 \begin_inset Quotes erd
12614 \end_inset
12615
12616  instead.
12617  This concept fits in perfectly with \SpecialChar LyX
12618 .
12619  In \SpecialChar LyX
12620 , you do things based on contexts, rather than focusing on typesetting
12621  details.
12622 \end_layout
12623
12624 \begin_layout Subsection
12625 \SpecialChar LaTeX
12626  font support
12627 \begin_inset CommandInset label
12628 LatexCommand label
12629 name "subsec:LaTeX-font-support"
12630
12631 \end_inset
12632
12633
12634 \end_layout
12635
12636 \begin_layout Standard
12637 Traditionally, \SpecialChar LaTeX
12638  used its own fonts.
12639  That is to say, you cannot directly access the fonts installed on your
12640  operating system, but you have to use specific fonts provided by your \SpecialChar LaTeX
12641
12642  distribution.
12643  The reason is that \SpecialChar LaTeX
12644  needs some extra information about the fonts, which
12645  have to be provided by additional files and packages.
12646  The downside of this is that your font choice is somewhat limited compared
12647  to a word processor.
12648  On the other hand this comes with the advantage that the provided fonts
12649  are generally of very good quality, and that \SpecialChar LaTeX
12650  files are very portable across
12651  different machines.
12652  Also, the range of fonts supported by traditional \SpecialChar LaTeX
12653  has increased a lot
12654  in the meantime; so you can find packages for many free and commercial
12655  fonts.
12656  \SpecialChar LyX
12657  supports the fonts that are under a free license via the user interface
12658  (see section
12659 \begin_inset space ~
12660 \end_inset
12661
12662
12663 \begin_inset CommandInset ref
12664 LatexCommand ref
12665 reference "subsec:Document-Font"
12666
12667 \end_inset
12668
12669  for details).
12670  Other fonts are available if you enter the relevant \SpecialChar LaTeX
12671  code in the document
12672  preamble (please refer to the documentation of your desired font).
12673 \end_layout
12674
12675 \begin_layout Standard
12676 Recent developments brought some new \SpecialChar LaTeX
12677  engines that are also able directly
12678  to access fonts that are installed for your operating system, namely Xe\SpecialChar TeX
12679
12680  and Lua\SpecialChar TeX
12681 .
12682  Both engines are supported by \SpecialChar LyX
12683 .
12684  By using them, you can theoretically use any OpenType or TrueType font
12685  that is installed on your system.
12686  The next section describes how to use these fonts.
12687 \end_layout
12688
12689 \begin_layout Standard
12690 \begin_inset Note Greyedout
12691 status open
12692
12693 \begin_layout Plain Layout
12694
12695 \series bold
12696 Note:
12697 \series default
12698  In practice, some fonts might fail due to a legacy (non Unicode) font encoding,
12699  bad metrics, or other font deficiencies; so you might have to experiment.
12700 \end_layout
12701
12702 \end_inset
12703
12704
12705 \end_layout
12706
12707 \begin_layout Subsection
12708 Document Font and Font size
12709 \begin_inset CommandInset label
12710 LatexCommand label
12711 name "subsec:Document-Font"
12712
12713 \end_inset
12714
12715
12716 \begin_inset Index idx
12717 status collapsed
12718
12719 \begin_layout Plain Layout
12720 Font ! Size
12721 \end_layout
12722
12723 \end_inset
12724
12725
12726 \begin_inset Index idx
12727 status collapsed
12728
12729 \begin_layout Plain Layout
12730 Document ! Font
12731 \end_layout
12732
12733 \end_inset
12734
12735
12736 \end_layout
12737
12738 \begin_layout Standard
12739 You can set the document fonts in the 
12740 \family sans
12741 Document\SpecialChar menuseparator
12742 Settings
12743 \family default
12744
12745 \begin_inset Index idx
12746 status collapsed
12747
12748 \begin_layout Plain Layout
12749 Document ! Settings
12750 \end_layout
12751
12752 \end_inset
12753
12754  dialog.
12755  In the 
12756 \family sans
12757 Fonts
12758 \family default
12759  section of the dialog, you can specify which font should be used for the
12760  three different font shapes — roman (serif), 
12761 \family sans
12762 sans
12763 \begin_inset space ~
12764 \end_inset
12765
12766 serif
12767 \family default
12768  and 
12769 \family typewriter
12770 typewriter
12771 \family default
12772  (monospaced) — and you can specify the base font size and scaling factors
12773  for (some) sans
12774 \begin_inset space ~
12775 \end_inset
12776
12777 serif and typewriter fonts if this is necessary to fit with the roman font.
12778 \end_layout
12779
12780 \begin_layout Standard
12781 If you select 
12782 \family sans
12783 Use non-TeX fonts
12784 \family default
12785 , you will have access to the fonts installed on your operating system.
12786  This requires that you use 
12787 \family sans
12788 PDF (XeTeX)
12789 \family default
12790
12791 \family sans
12792 PDF (LuaTeX)
12793 \family default
12794  or 
12795 \family sans
12796 DVI (LuaTeX)
12797 \family default
12798  as the output format, i.
12799 \begin_inset space \thinspace{}
12800 \end_inset
12801
12802 e.
12803 \begin_inset space \space{}
12804 \end_inset
12805
12806 you will have to have either Xe\SpecialChar TeX
12807  or Lua\SpecialChar TeX
12808  installed (see section
12809 \begin_inset space ~
12810 \end_inset
12811
12812
12813 \begin_inset CommandInset ref
12814 LatexCommand ref
12815 reference "subsec:LaTeX-font-support"
12816
12817 \end_inset
12818
12819 ).
12820  You will then not have access to \SpecialChar TeX
12821 's own fonts.
12822  Note that \SpecialChar LyX
12823  then lists all available fonts in each of the three lists (roman,
12824  sans
12825 \begin_inset space ~
12826 \end_inset
12827
12828 serif, and typewriter), since \SpecialChar LyX
12829  cannot determine the family.
12830  Also note that the output might fail with some of the listed fonts, due
12831  to the encoding of the fonts and\SpecialChar breakableslash
12832 or font failures.
12833  \SpecialChar LyX
12834  cannot determine this in advance, so you might need to experiment.
12835 \end_layout
12836
12837 \begin_layout Standard
12838 If you use \SpecialChar TeX
12839  fonts (which is the default), the possible options for the font
12840  include 
12841 \family sans
12842 Default
12843 \family default
12844  and a list of fonts available with your \SpecialChar LaTeX
12845  distribution.
12846  If you select 
12847 \family sans
12848 Default,
12849 \family default
12850  the font that is preset by the current document class is used.
12851  With LyX's default font encoding, this is a look-alike of the standard
12852  \SpecialChar TeX
12853  font 
12854 \begin_inset Quotes eld
12855 \end_inset
12856
12857
12858 \family typewriter
12859 Computer
12860 \begin_inset space ~
12861 \end_inset
12862
12863 Modern
12864 \family default
12865
12866 \begin_inset Quotes erd
12867 \end_inset
12868
12869  (
12870 \family typewriter
12871 cm
12872 \family default
12873 ): either 
12874 \begin_inset Quotes eld
12875 \end_inset
12876
12877
12878 \family typewriter
12879 cm-super
12880 \family default
12881
12882 \begin_inset Quotes erd
12883 \end_inset
12884
12885  or the bitmap font 
12886 \begin_inset Quotes eld
12887 \end_inset
12888
12889
12890 \family typewriter
12891 European Computer Modern
12892 \family default
12893
12894 \begin_inset Quotes erd
12895 \end_inset
12896
12897  (
12898 \family typewriter
12899 ec
12900 \family default
12901 ).
12902  However, some classes set different default fonts.
12903 \end_layout
12904
12905 \begin_layout Standard
12906 As 
12907 \family typewriter
12908 ec
12909 \family default
12910  is a bitmap font, it looks pixelated in PDF output, especially when you
12911  read the PDF in a zoomed size.
12912 \begin_inset Foot
12913 status collapsed
12914
12915 \begin_layout Plain Layout
12916 This problem is less severe if you read PDFs in 
12917 \family typewriter
12918 Adobe
12919 \begin_inset space ~
12920 \end_inset
12921
12922 Reader
12923 \family default
12924  version 6 or later, because this program includes a special bitmap font
12925  renderer.
12926 \end_layout
12927
12928 \end_inset
12929
12930  To get rid of pixelated fonts, you have to use a vector font.
12931  Depending on how your document should look, you can either:
12932 \end_layout
12933
12934 \begin_layout Itemize
12935 select the 
12936 \family sans
12937 Latin
12938 \begin_inset space ~
12939 \end_inset
12940
12941 Modern
12942 \family default
12943  fonts, which is the recommended choice if you want to keep the look of
12944  
12945 \family typewriter
12946 cm
12947 \family default
12948 /
12949 \family typewriter
12950 ec
12951 \family default
12952 .
12953  
12954 \family sans
12955 Latin
12956 \begin_inset space ~
12957 \end_inset
12958
12959 Modern
12960 \family default
12961  was developed for the \SpecialChar LaTeX
12962  community in order to replace 
12963 \family typewriter
12964 cm
12965 \family default
12966  as the default font.
12967  It covers a huge range of glyphs and several font shapes.
12968  Except for some details, where the appearance was improved, 
12969 \family sans
12970 Latin
12971 \begin_inset space ~
12972 \end_inset
12973
12974 Modern
12975 \family default
12976  looks identical to 
12977 \family typewriter
12978 cm
12979 \family default
12980 .
12981 \begin_inset Foot
12982 status collapsed
12983
12984 \begin_layout Plain Layout
12985 One difference is improved kerning.
12986 \end_layout
12987
12988 \end_inset
12989
12990
12991 \end_layout
12992
12993 \begin_layout Itemize
12994 If you do not like the look of 
12995 \family typewriter
12996 cm
12997 \family default
12998 /
12999 \family typewriter
13000 ec
13001 \family default
13002 , you can of course select one of the other vector fonts provided, e.
13003 \begin_inset space \thinspace{}
13004 \end_inset
13005
13006 g.
13007 \begin_inset space ~
13008 \end_inset
13009
13010
13011 \family typewriter
13012 Times
13013 \begin_inset space ~
13014 \end_inset
13015
13016 Roman
13017 \family default
13018  or
13019 \family typewriter
13020  Palatino
13021 \family default
13022 .
13023  Most roman vector fonts will automatically select matching sans
13024 \begin_inset space ~
13025 \end_inset
13026
13027 serif and typewriter fonts,
13028 \begin_inset Foot
13029 status collapsed
13030
13031 \begin_layout Plain Layout
13032 These are sometimes just matching other fonts (e.
13033 \begin_inset space \thinspace{}
13034 \end_inset
13035
13036 g., 
13037 \family sans
13038 Times
13039 \begin_inset space ~
13040 \end_inset
13041
13042 Roman
13043 \family default
13044  selects 
13045 \family sans
13046 Helvetica
13047 \family default
13048  for sans serif text), or different shapes of the same font, i.
13049 \begin_inset space \thinspace{}
13050 \end_inset
13051
13052 e.
13053 \begin_inset space \space{}
13054 \end_inset
13055
13056 a real font 
13057 \emph on
13058 family
13059 \emph default
13060  (e.
13061 \begin_inset space \thinspace{}
13062 \end_inset
13063
13064 g.
13065 \begin_inset space \space{}
13066 \end_inset
13067
13068 in case of 
13069 \family sans
13070 Latin
13071 \begin_inset space ~
13072 \end_inset
13073
13074 Modern
13075 \family default
13076  oder 
13077 \family sans
13078 Computer
13079 \begin_inset space ~
13080 \end_inset
13081
13082 Modern
13083 \family default
13084 ).
13085 \end_layout
13086
13087 \end_inset
13088
13089  but you can also select your own.
13090 \begin_inset Newline newline
13091 \end_inset
13092
13093 The differences between roman, 
13094 \family sans
13095 sans
13096 \begin_inset space ~
13097 \end_inset
13098
13099 serif
13100 \family default
13101  and 
13102 \family typewriter
13103 typewriter
13104 \family default
13105  fonts are explained in section
13106 \begin_inset space ~
13107 \end_inset
13108
13109
13110 \begin_inset CommandInset ref
13111 LatexCommand ref
13112 reference "subsec:Fine-Tuning-with-the"
13113
13114 \end_inset
13115
13116 .
13117 \begin_inset Newline newline
13118 \end_inset
13119
13120 The font 
13121 \family sans
13122 Times
13123 \begin_inset space ~
13124 \end_inset
13125
13126 Roman
13127 \family default
13128  was originally designed for newspapers.
13129  Its glyphs are thus smaller than glyphs from other fonts in order to fit
13130  into the small newspaper columns.
13131  Therefore 
13132 \family sans
13133 Times
13134 \begin_inset space ~
13135 \end_inset
13136
13137 Roman
13138 \family default
13139  is not the optimal choice for larger documents like books.
13140 \end_layout
13141
13142 \begin_layout Standard
13143 For the font size there are generally four possible values: 
13144 \family sans
13145 Default, 10
13146 \family default
13147
13148 \family sans
13149 11
13150 \family default
13151  and 
13152 \family sans
13153 12
13154 \family default
13155 .
13156  Some classes provide additional sizes.
13157  The size of 
13158 \family sans
13159 Default
13160 \family default
13161  depends on the class you are using.
13162  In the standard classes it is equal to the font size 10.
13163 \end_layout
13164
13165 \begin_layout Standard
13166 Note that the font size is the 
13167 \emph on
13168 base size
13169 \emph default
13170 .
13171  That means that \SpecialChar LyX
13172  scales all other possible font sizes (such as those used
13173  in footnotes, super-, and subscripts) by this value.
13174  You can fine-tune the font size of text parts via the 
13175 \family sans
13176 Text
13177 \begin_inset space ~
13178 \end_inset
13179
13180 Style
13181 \family default
13182  dialog if needed.
13183  The possible font sizes for text parts are explained in section
13184 \begin_inset space ~
13185 \end_inset
13186
13187
13188 \begin_inset CommandInset ref
13189 LatexCommand ref
13190 reference "subsec:Fine-Tuning-with-the"
13191
13192 \end_inset
13193
13194 .
13195 \end_layout
13196
13197 \begin_layout Standard
13198 The 
13199 \family sans
13200 Default
13201 \begin_inset space ~
13202 \end_inset
13203
13204 Family
13205 \family default
13206  selection lets you specify whether the base font of your document should
13207  be roman, sans
13208 \begin_inset space ~
13209 \end_inset
13210
13211 serif or typewriter.
13212  The 
13213 \family sans
13214 Default
13215 \family default
13216  selection uses what is preset by the class, the other selections override
13217  this.
13218  In most cases, 
13219 \family sans
13220 Default
13221 \family default
13222  is equal to 
13223 \family sans
13224 roman
13225 \family default
13226 , but some classes (such as presentation classes) use other defaults.
13227 \end_layout
13228
13229 \begin_layout Standard
13230 The
13231 \family typewriter
13232  
13233 \family sans
13234 LaTeX font encoding
13235 \family default
13236  selection is an expert setting which lets you change the value passed to
13237  the \SpecialChar LaTeX
13238 -package 
13239 \series bold
13240 fontenc
13241 \series default
13242
13243 \begin_inset Index idx
13244 status collapsed
13245
13246 \begin_layout Plain Layout
13247 \SpecialChar LaTeX
13248  packages ! fontenc
13249 \end_layout
13250
13251 \end_inset
13252
13253  (see also section
13254 \begin_inset space ~
13255 \end_inset
13256
13257
13258 \begin_inset CommandInset ref
13259 LatexCommand ref
13260 reference "subsec:LaTeX-settings"
13261
13262 \end_inset
13263
13264 ).
13265  Normally, you do not need to change (or even understand) this.
13266  Unless you have specific reasons, use 
13267 \family sans
13268 Default
13269 \family default
13270 .
13271 \end_layout
13272
13273 \begin_layout Standard
13274 With some fonts, the checkboxes 
13275 \family sans
13276 Use Old Style Figures
13277 \family default
13278  and 
13279 \family sans
13280 Use True Small Caps
13281 \family default
13282  are available.
13283  These are extra features some fonts provide.
13284  If 
13285 \family sans
13286 Use Old Style Figures
13287 \family default
13288  is checked, old style figures (also known as medieval or text figures)
13289  are used.
13290  Old style figures are the numerals (0
13291 \begin_inset space \thinspace{}
13292 \end_inset
13293
13294
13295 \begin_inset space \thinspace{}
13296 \end_inset
13297
13298 9) with ascenders and descenders, which makes them fit nicely with lowercase
13299  letters.
13300  
13301 \family sans
13302 Use True Small Caps
13303 \family default
13304  determines that real small caps are used instead of faked small caps made
13305  of scaled capitals.
13306  Real small caps are often part of expert font sets; they generally look
13307  better than faked small caps but might have to be purchased separately.
13308 \end_layout
13309
13310 \begin_layout Standard
13311 The field 
13312 \family sans
13313 CJK
13314 \family default
13315  allows users of the languages Chinese, Japanese, Korean (CJK) to specify
13316  a font to display the script characters.
13317 \begin_inset Foot
13318 status collapsed
13319
13320 \begin_layout Plain Layout
13321 The font will be the argument for the commands of the \SpecialChar LaTeX
13322 -package 
13323 \series bold
13324 CJK
13325 \series default
13326 .
13327 \begin_inset Index idx
13328 status collapsed
13329
13330 \begin_layout Plain Layout
13331 \SpecialChar LaTeX
13332  packages ! CJK
13333 \end_layout
13334
13335 \end_inset
13336
13337  So this has no effect for the document language 
13338 \family sans
13339 Japanese
13340 \family default
13341  that does not use 
13342 \series bold
13343 CJK
13344 \series default
13345 .
13346 \end_layout
13347
13348 \end_inset
13349
13350
13351 \end_layout
13352
13353 \begin_layout Standard
13354 The option 
13355 \family sans
13356 Enable micro-typographic extensions
13357 \family default
13358  activates extensions such as character protrusion and font expansion via
13359  the \SpecialChar LaTeX
13360 -package 
13361 \series bold
13362 microtype
13363 \series default
13364
13365 \begin_inset Index idx
13366 status collapsed
13367
13368 \begin_layout Plain Layout
13369 \SpecialChar LaTeX
13370  packages ! microtype
13371 \end_layout
13372
13373 \end_inset
13374
13375 .
13376  The option 
13377 \family sans
13378 Output en- and em-dashes as ligatures
13379 \family default
13380  outputs en- and em-dashes as ligatures (--, ---) instead of a sigle character.
13381 \end_layout
13382
13383 \begin_layout Standard
13384 \begin_inset VSpace bigskip
13385 \end_inset
13386
13387
13388 \begin_inset Note Greyedout
13389 status open
13390
13391 \begin_layout Plain Layout
13392
13393 \series bold
13394 Note:
13395 \series default
13396  When you choose a new font or font size, \SpecialChar LyX
13397  does 
13398 \emph on
13399 not
13400 \emph default
13401  change the screen font! You will only see a difference in the printed output;
13402  this is part of the WYSIWYM concept.
13403  \SpecialChar LyX
13404 's screen fonts can be adjusted in the 
13405 \family sans
13406 Tools\SpecialChar menuseparator
13407 Preferences
13408 \family default
13409  dialog, see section
13410 \begin_inset space ~
13411 \end_inset
13412
13413
13414 \begin_inset CommandInset ref
13415 LatexCommand ref
13416 reference "subsec:Screen-Fonts"
13417
13418 \end_inset
13419
13420 .
13421 \end_layout
13422
13423 \end_inset
13424
13425
13426 \end_layout
13427
13428 \begin_layout Subsection
13429 Math Fonts
13430 \end_layout
13431
13432 \begin_layout Standard
13433 In \SpecialChar LaTeX
13434  the font used for characters in equations is different from the document
13435  font.
13436  For the case that you use \SpecialChar TeX
13437  fonts for your document, you can explicitly
13438  choose a math font in the dialog 
13439 \family sans
13440 Document\SpecialChar menuseparator
13441 Settings
13442 \family default
13443
13444 \begin_inset Index idx
13445 status collapsed
13446
13447 \begin_layout Plain Layout
13448 Document ! Settings
13449 \end_layout
13450
13451 \end_inset
13452
13453 .
13454  The default setting is that \SpecialChar LyX
13455  automatically selects a math font.
13456  For most cases this will be \SpecialChar LaTeX
13457 's default – the math variant of \SpecialChar LaTeX
13458 's default
13459  font family 
13460 \begin_inset Quotes eld
13461 \end_inset
13462
13463
13464 \family typewriter
13465 Computer
13466 \begin_inset space ~
13467 \end_inset
13468
13469 Modern
13470 \family default
13471
13472 \begin_inset Quotes erd
13473 \end_inset
13474
13475 .
13476  \SpecialChar LyX
13477  will automatically only load another math font if a math variant of the
13478  document font is available.
13479 \end_layout
13480
13481 \begin_layout Standard
13482 Note that the math font will not be used for 
13483 \emph on
13484 mathematical text
13485 \emph default
13486  (which is inserted with the shortcut 
13487 \begin_inset Info
13488 type  "shortcut"
13489 arg   "font-default"
13490 \end_inset
13491
13492  or by the insertion of the command 
13493 \series bold
13494
13495 \backslash
13496 text
13497 \series default
13498  into a formula).
13499  Also note that some math fonts are sans
13500 \begin_inset space ~
13501 \end_inset
13502
13503 serif.
13504  Your document might therefore look strange when the document text has serifs
13505  while the math characters do not.
13506  Sans
13507 \begin_inset space ~
13508 \end_inset
13509
13510 serif math fonts make therefore in most cases only sense if you select 
13511 \family sans
13512 Sans
13513 \begin_inset space ~
13514 \end_inset
13515
13516 Serif
13517 \family default
13518  for the 
13519 \family sans
13520 Default
13521 \begin_inset space ~
13522 \end_inset
13523
13524 family
13525 \family default
13526  in the document font settings.
13527 \end_layout
13528
13529 \begin_layout Standard
13530 If you use non-\SpecialChar TeX
13531  fonts for the document, you can only choose for math to
13532  use either the document's class default \SpecialChar TeX
13533  font (in most cases 
13534 \begin_inset Quotes eld
13535 \end_inset
13536
13537
13538 \family typewriter
13539 Computer
13540 \begin_inset space ~
13541 \end_inset
13542
13543 Modern
13544 \family default
13545
13546 \begin_inset Quotes erd
13547 \end_inset
13548
13549 ) or to use the non-\SpecialChar TeX
13550  variant of the document's class default font (in most
13551  cases 
13552 \begin_inset Quotes eld
13553 \end_inset
13554
13555
13556 \family typewriter
13557 Latin
13558 \begin_inset space ~
13559 \end_inset
13560
13561 Modern
13562 \family default
13563
13564 \begin_inset Quotes erd
13565 \end_inset
13566
13567 ).
13568 \end_layout
13569
13570 \begin_layout Subsection
13571 Using Different Character Styles
13572 \begin_inset Index idx
13573 status collapsed
13574
13575 \begin_layout Plain Layout
13576 Character Styles
13577 \end_layout
13578
13579 \end_inset
13580
13581
13582 \begin_inset Index idx
13583 status collapsed
13584
13585 \begin_layout Plain Layout
13586 Text Style
13587 \end_layout
13588
13589 \end_inset
13590
13591
13592 \end_layout
13593
13594 \begin_layout Standard
13595 As we've already seen, \SpecialChar LyX
13596  automatically changes the character style for certain
13597  paragraph environments.
13598  \SpecialChar LyX
13599  supports two character styles, 
13600 \family sans
13601 Emphasized
13602 \family default
13603  and 
13604 \family sans
13605 Noun
13606 \family default
13607 .
13608  You can activate both of these styles via key bindings, the menus, and
13609  the toolbar.
13610 \end_layout
13611
13612 \begin_layout Standard
13613 To activate the 
13614 \family sans
13615 Noun
13616 \family default
13617  style, do one of the following:
13618 \end_layout
13619
13620 \begin_layout Itemize
13621 click on the toolbar button 
13622 \begin_inset Info
13623 type  "icon"
13624 arg   "font-noun"
13625 \end_inset
13626
13627
13628 \end_layout
13629
13630 \begin_layout Itemize
13631 use the key binding 
13632 \begin_inset Info
13633 type  "shortcut"
13634 arg   "font-noun"
13635 \end_inset
13636
13637
13638 \end_layout
13639
13640 \begin_layout Standard
13641 These commands are all toggles.
13642  That is, if 
13643 \family sans
13644 Noun
13645 \family default
13646  style is already active, they deactivate it.
13647 \end_layout
13648
13649 \begin_layout Standard
13650 One typically uses the 
13651 \family sans
13652 Noun
13653 \family default
13654  style for proper names.
13655  For example: 
13656 \begin_inset Quotes eld
13657 \end_inset
13658
13659
13660 \noun on
13661 Matthias Ettrich
13662 \noun default
13663  is the original author of \SpecialChar LyX
13664 .
13665 \begin_inset Quotes erd
13666 \end_inset
13667
13668
13669 \end_layout
13670
13671 \begin_layout Standard
13672 A more widely used character style is the 
13673 \family sans
13674 Emphasized
13675 \family default
13676  style.
13677  You can activate (or deactivate — it's also a toggle) the 
13678 \family sans
13679 Emphasized
13680 \family default
13681  style by:
13682 \end_layout
13683
13684 \begin_layout Itemize
13685 clicking on the toolbar button 
13686 \begin_inset Info
13687 type  "icon"
13688 arg   "font-emph"
13689 \end_inset
13690
13691
13692 \end_layout
13693
13694 \begin_layout Itemize
13695 using the keybindings 
13696 \begin_inset Info
13697 type  "shortcut"
13698 arg   "font-emph"
13699 \end_inset
13700
13701
13702 \end_layout
13703
13704 \begin_layout Standard
13705 Normally the 
13706 \family sans
13707 Emphasized
13708 \family default
13709  style is equivalent to an italic font but some document classes or \SpecialChar LaTeX
13710 -packages
13711  use a different font.
13712 \end_layout
13713
13714 \begin_layout Standard
13715 We've been using the 
13716 \family sans
13717 Emphasized
13718 \family default
13719  style all over the place in this document.
13720  Here's one more example:
13721 \end_layout
13722
13723 \begin_layout Quotation
13724
13725 \emph on
13726 Do not overuse character styles!
13727 \end_layout
13728
13729 \begin_layout Standard
13730 It's also a warning in addition to an example.
13731  One's writing should parallel ordinary conversation.
13732  Since we don't all constantly scream at each other, we should also avoid
13733  the common tendency to overuse character styles.
13734  
13735 \end_layout
13736
13737 \begin_layout Standard
13738 You can always reset to the default font using the key binding 
13739 \begin_inset Info
13740 type  "shortcut"
13741 arg   "font-default"
13742 \end_inset
13743
13744  or the dialog 
13745 \family sans
13746 Edit\SpecialChar menuseparator
13747 Text
13748 \begin_inset space ~
13749 \end_inset
13750
13751 Style\SpecialChar menuseparator
13752 Customized
13753 \family default
13754  (
13755 \begin_inset Info
13756 type  "icon"
13757 arg   "dialog-show character"
13758 \end_inset
13759
13760 ).
13761 \end_layout
13762
13763 \begin_layout Subsection
13764 Fine-Tuning with the 
13765 \family sans
13766 Text Style
13767 \family default
13768  dialog
13769 \begin_inset CommandInset label
13770 LatexCommand label
13771 name "subsec:Fine-Tuning-with-the"
13772
13773 \end_inset
13774
13775
13776 \begin_inset Index idx
13777 status collapsed
13778
13779 \begin_layout Plain Layout
13780 Text Style
13781 \end_layout
13782
13783 \end_inset
13784
13785
13786 \end_layout
13787
13788 \begin_layout Standard
13789 There are always occasions when you will need to do some fine-tuning; so
13790  \SpecialChar LyX
13791  gives you a way to create a custom character style.
13792  For example, an academic journal or a corporation may have a style sheet
13793  requiring a sans-serif font be used in certain situations.
13794  Also, writers sometimes use a different font to offset a character's thoughts
13795  from ordinary dialog.
13796 \end_layout
13797
13798 \begin_layout Standard
13799 Before we document how to use custom character style, we want to issue a
13800  warning yet again: Don't overuse character styles! 
13801 \begin_inset Newline newline
13802 \end_inset
13803
13804 Documents that overuse different fonts and sizes are not easy to read and
13805  tend to look as if someone has knocked huge holes in them.
13806 \end_layout
13807
13808 \begin_layout Standard
13809 To use custom character styles, open the 
13810 \family sans
13811 Edit\SpecialChar menuseparator
13812 Text
13813 \begin_inset space ~
13814 \end_inset
13815
13816 Style\SpecialChar menuseparator
13817 Customized
13818 \family default
13819  dialog or press the toolbar button 
13820 \begin_inset Info
13821 type  "icon"
13822 arg   "dialog-show character"
13823 \end_inset
13824
13825 .
13826  There are several boxes in this dialog, each corresponding to a different
13827  font property that you can choose.
13828  You can choose an option for one of these properties, or select 
13829 \family sans
13830 No
13831 \begin_inset space ~
13832 \end_inset
13833
13834 change
13835 \family default
13836 , which keeps the current state of that property.
13837  The item 
13838 \family sans
13839 Reset
13840 \family default
13841  will reset the property to whatever is the default.
13842  You can use this to reset attributes across a bunch of different paragraph
13843  environments all at once.
13844 \end_layout
13845
13846 \begin_layout Standard
13847 The font properties, and their options (in addition to 
13848 \family sans
13849 No
13850 \begin_inset space ~
13851 \end_inset
13852
13853 change
13854 \family default
13855  and 
13856 \family sans
13857 Reset
13858 \family default
13859 ) are:
13860 \end_layout
13861
13862 \begin_layout Labeling
13863 \labelwidthstring 00.00.0000
13864
13865 \family sans
13866 Family
13867 \family default
13868  The 
13869 \begin_inset Quotes eld
13870 \end_inset
13871
13872 overall look
13873 \begin_inset Quotes erd
13874 \end_inset
13875
13876  of the font.
13877  The possible options are:
13878 \end_layout
13879
13880 \begin_deeper
13881 \begin_layout Labeling
13882 \labelwidthstring 00.00.0000
13883
13884 \family sans
13885 Roman
13886 \family default
13887  This is the Roman font family.
13888  Normally a serif font.
13889  It's also the default family.
13890  (key binding 
13891 \begin_inset Info
13892 type  "shortcut"
13893 arg   "font-roman"
13894 \end_inset
13895
13896 )
13897 \end_layout
13898
13899 \begin_layout Labeling
13900 \labelwidthstring 00.00.0000
13901
13902 \family sans
13903 Sans
13904 \begin_inset space ~
13905 \end_inset
13906
13907 Serif
13908 \family default
13909  
13910 \family sans
13911 This is the Sans Serif font family.
13912
13913 \family default
13914  (key binding 
13915 \begin_inset Info
13916 type  "shortcut"
13917 arg   "font-sans"
13918 \end_inset
13919
13920 )
13921 \end_layout
13922
13923 \begin_layout Labeling
13924 \labelwidthstring 00.00.0000
13925
13926 \family sans
13927 Typewriter
13928 \family default
13929  
13930 \family typewriter
13931 This is the Typewriter font family.
13932
13933 \family default
13934  (key binding 
13935 \begin_inset Info
13936 type  "shortcut"
13937 arg   "font-typewriter"
13938 \end_inset
13939
13940
13941 \family sans
13942 )
13943 \end_layout
13944
13945 \end_deeper
13946 \begin_layout Labeling
13947 \labelwidthstring 00.00.0000
13948
13949 \family sans
13950 Series
13951 \family default
13952  This corresponds to the print weight.
13953  Options are:
13954 \end_layout
13955
13956 \begin_deeper
13957 \begin_layout Labeling
13958 \labelwidthstring 00.00.0000
13959
13960 \family sans
13961 Medium
13962 \family default
13963  This is the Medium font series.
13964  It's also the default series.
13965 \end_layout
13966
13967 \begin_layout Labeling
13968 \labelwidthstring 00.00.0000
13969
13970 \family sans
13971 Bold
13972 \family default
13973  
13974 \series bold
13975 This is the Bold font series.
13976
13977 \series default
13978  (key binding 
13979 \begin_inset Info
13980 type  "shortcut"
13981 arg   "font-bold"
13982 \end_inset
13983
13984 )
13985 \end_layout
13986
13987 \end_deeper
13988 \begin_layout Labeling
13989 \labelwidthstring 00.00.0000
13990
13991 \family sans
13992 Shape
13993 \family default
13994  As the name implies.
13995  Options are:
13996 \end_layout
13997
13998 \begin_deeper
13999 \begin_layout Labeling
14000 \labelwidthstring 00.00.0000
14001
14002 \family sans
14003 Upright
14004 \family default
14005  This is the Upright font shape.
14006  It's also the default shape.
14007 \end_layout
14008
14009 \begin_layout Labeling
14010 \labelwidthstring 00.00.0000
14011
14012 \family sans
14013 Italic
14014 \family default
14015  
14016 \shape italic
14017 This
14018 \shape default
14019  
14020 \family sans
14021 \shape italic
14022 i
14023 \family default
14024 s the Italic font shape
14025 \shape default
14026 \emph on
14027 .
14028 \end_layout
14029
14030 \begin_layout Labeling
14031 \labelwidthstring 00.00.0000
14032
14033 \family sans
14034 Slanted
14035 \family default
14036  
14037 \shape slanted
14038 This is the Slanted font shape
14039 \shape default
14040  (although it might not be visible in \SpecialChar LyX
14041 , this is different from italic).
14042 \end_layout
14043
14044 \begin_layout Labeling
14045 \labelwidthstring 00.00.0000
14046
14047 \family sans
14048 Small
14049 \begin_inset space ~
14050 \end_inset
14051
14052 Caps
14053 \family default
14054  
14055 \shape smallcaps
14056 This is the Small caps font shape
14057 \shape default
14058 \noun on
14059 .
14060 \end_layout
14061
14062 \end_deeper
14063 \begin_layout Labeling
14064 \labelwidthstring 00.00.0000
14065
14066 \family sans
14067 Color
14068 \family default
14069  Alters the text color.
14070  Note that not all DVI-viewers are able to display colors.
14071  Besides 
14072 \family sans
14073 No
14074 \begin_inset space ~
14075 \end_inset
14076
14077 color
14078 \family default
14079 , which means that the document default color set in 
14080 \family sans
14081 Document\SpecialChar menuseparator
14082 Settings\SpecialChar menuseparator
14083 Color
14084 \family default
14085  for 
14086 \family sans
14087 Main
14088 \begin_inset space ~
14089 \end_inset
14090
14091 text
14092 \family default
14093  is used, you can choose between 
14094 \family sans
14095 Black
14096 \family default
14097
14098 \family sans
14099 White
14100 \family default
14101
14102 \family sans
14103 Red
14104 \family default
14105
14106 \family sans
14107 Green
14108 \family default
14109
14110 \family sans
14111 Blue
14112 \family default
14113
14114 \family sans
14115 Cyan
14116 \family default
14117
14118 \family sans
14119 Magenta
14120 \family default
14121
14122 \family sans
14123 Yellow
14124 \family default
14125
14126 \family sans
14127 Brown
14128 \family default
14129
14130 \family sans
14131 Darkgray
14132 \family default
14133
14134 \family sans
14135 Gray
14136 \family default
14137
14138 \family sans
14139 Lightgray
14140 \family default
14141
14142 \family sans
14143 Lime
14144 \family default
14145
14146 \family sans
14147 Orange
14148 \family default
14149
14150 \family sans
14151 Olive
14152 \family default
14153
14154 \family sans
14155 Pink
14156 \family default
14157
14158 \family sans
14159 Purple
14160 \family default
14161
14162 \family sans
14163 Teal
14164 \family default
14165  and 
14166 \family sans
14167 Violet
14168 \family default
14169  text.
14170 \begin_inset Index idx
14171 status collapsed
14172
14173 \begin_layout Plain Layout
14174 Color ! Text
14175 \end_layout
14176
14177 \end_inset
14178
14179  
14180 \end_layout
14181
14182 \begin_layout Labeling
14183 \labelwidthstring 00.00.0000
14184
14185 \family sans
14186 Language
14187 \family default
14188  This is used to mark regions of text as having a different language from
14189  the language of the document.
14190  Text marked in this way will be underlined in blue to indicate the change
14191  (only within \SpecialChar LyX
14192 ).
14193 \begin_inset Newline newline
14194 \end_inset
14195
14196 If you have for example, an extract of German text in a non-German document,
14197  \SpecialChar LaTeX
14198  respects the German hyphenation rules automatically.
14199  When using the spell checking (see section
14200 \begin_inset space ~
14201 \end_inset
14202
14203
14204 \begin_inset CommandInset ref
14205 LatexCommand ref
14206 reference "sec:Spellchecking"
14207
14208 \end_inset
14209
14210 ) the German-marked text will be checked according to the German dictionary.
14211 \end_layout
14212
14213 \begin_layout Labeling
14214 \labelwidthstring 00.00.0000
14215
14216 \family sans
14217 Size
14218 \family default
14219  Alters the size of the font.
14220  You will find no numerical values here; all possible sizes are actually
14221  proportional to the document font size.
14222  Once again, you don't feed \SpecialChar LyX
14223  the details, but a general description of what
14224  you want to do.
14225  The options are:
14226 \end_layout
14227
14228 \begin_deeper
14229 \begin_layout Labeling
14230 \labelwidthstring 00.00.0000
14231
14232 \family sans
14233 Tiny
14234 \family default
14235  
14236 \size tiny
14237 This is the 
14238 \begin_inset Quotes eld
14239 \end_inset
14240
14241 Tiny
14242 \begin_inset Quotes erd
14243 \end_inset
14244
14245  font size.
14246
14247 \size default
14248  (key bindings 
14249 \begin_inset Info
14250 type  "shortcuts"
14251 arg   "font-size tiny"
14252 \end_inset
14253
14254 )
14255 \end_layout
14256
14257 \begin_layout Labeling
14258 \labelwidthstring 00.00.0000
14259
14260 \family sans
14261 Smallest
14262 \family default
14263  
14264 \size scriptsize
14265 This is the 
14266 \begin_inset Quotes eld
14267 \end_inset
14268
14269 Smallest
14270 \begin_inset Quotes erd
14271 \end_inset
14272
14273  font size
14274 \size default
14275 .
14276  (key binding 
14277 \begin_inset Info
14278 type  "shortcut"
14279 arg   "font-size scriptsize"
14280 \end_inset
14281
14282 )
14283 \end_layout
14284
14285 \begin_layout Labeling
14286 \labelwidthstring 00.00.0000
14287
14288 \family sans
14289 Smaller
14290 \family default
14291  
14292 \size footnotesize
14293 This is the 
14294 \begin_inset Quotes eld
14295 \end_inset
14296
14297 Smaller
14298 \begin_inset Quotes erd
14299 \end_inset
14300
14301  font size.
14302
14303 \size default
14304  (key bindings 
14305 \begin_inset Info
14306 type  "shortcuts"
14307 arg   "font-size footnotesize"
14308 \end_inset
14309
14310 )
14311 \end_layout
14312
14313 \begin_layout Labeling
14314 \labelwidthstring 00.00.0000
14315
14316 \family sans
14317 Small
14318 \family default
14319  
14320 \size small
14321 This is the 
14322 \begin_inset Quotes eld
14323 \end_inset
14324
14325 Small
14326 \begin_inset Quotes erd
14327 \end_inset
14328
14329  font size.
14330
14331 \size default
14332  (key bindings 
14333 \begin_inset Info
14334 type  "shortcuts"
14335 arg   "font-size small"
14336 \end_inset
14337
14338 )
14339 \end_layout
14340
14341 \begin_layout Labeling
14342 \labelwidthstring 00.00.0000
14343
14344 \family sans
14345 Normal
14346 \family default
14347  This is the 
14348 \begin_inset Quotes eld
14349 \end_inset
14350
14351 Normal
14352 \begin_inset Quotes erd
14353 \end_inset
14354
14355  font size.
14356  It's also the default size.
14357  (key bindings 
14358 \begin_inset Info
14359 type  "shortcuts"
14360 arg   "font-size normal"
14361 \end_inset
14362
14363 )
14364 \end_layout
14365
14366 \begin_layout Labeling
14367 \labelwidthstring 00.00.0000
14368
14369 \family sans
14370 Large
14371 \family default
14372  
14373 \size large
14374 This is the 
14375 \begin_inset Quotes eld
14376 \end_inset
14377
14378 Large
14379 \begin_inset Quotes erd
14380 \end_inset
14381
14382  font size.
14383
14384 \size default
14385  (key bindings 
14386 \begin_inset Info
14387 type  "shortcuts"
14388 arg   "font-size large"
14389 \end_inset
14390
14391 )
14392 \end_layout
14393
14394 \begin_layout Labeling
14395 \labelwidthstring 00.00.0000
14396
14397 \family sans
14398 Larger
14399 \family default
14400  
14401 \size larger
14402 This is the 
14403 \begin_inset Quotes eld
14404 \end_inset
14405
14406 Larger
14407 \begin_inset Quotes erd
14408 \end_inset
14409
14410  font size.
14411
14412 \size default
14413  (key bindings 
14414 \begin_inset Info
14415 type  "shortcuts"
14416 arg   "font-size larger"
14417 \end_inset
14418
14419 )
14420 \end_layout
14421
14422 \begin_layout Labeling
14423 \labelwidthstring 00.00.0000
14424
14425 \family sans
14426 Largest
14427 \family default
14428  
14429 \size largest
14430 This is the 
14431 \begin_inset Quotes eld
14432 \end_inset
14433
14434 Largest
14435 \begin_inset Quotes erd
14436 \end_inset
14437
14438  font size.
14439
14440 \size default
14441  (key binding 
14442 \begin_inset Info
14443 type  "shortcut"
14444 arg   "font-size largest"
14445 \end_inset
14446
14447 )
14448 \end_layout
14449
14450 \begin_layout Labeling
14451 \labelwidthstring 00.00.0000
14452
14453 \family sans
14454 Huge
14455 \family default
14456  
14457 \size huge
14458 This is the 
14459 \begin_inset Quotes eld
14460 \end_inset
14461
14462 Huge
14463 \begin_inset Quotes erd
14464 \end_inset
14465
14466  font size.
14467
14468 \size default
14469  (key bindings 
14470 \begin_inset Info
14471 type  "shortcuts"
14472 arg   "font-size huge"
14473 \end_inset
14474
14475 )
14476 \end_layout
14477
14478 \begin_layout Labeling
14479 \labelwidthstring 00.00.0000
14480
14481 \family sans
14482 Huger
14483 \family default
14484  
14485 \size giant
14486 This is the 
14487 \begin_inset Quotes eld
14488 \end_inset
14489
14490 Huger
14491 \begin_inset Quotes erd
14492 \end_inset
14493
14494  font size.
14495
14496 \size default
14497  (key bindings 
14498 \begin_inset Info
14499 type  "shortcuts"
14500 arg   "font-size giant"
14501 \end_inset
14502
14503 )
14504 \end_layout
14505
14506 \begin_layout Labeling
14507 \labelwidthstring 00.00.0000
14508
14509 \family sans
14510 Increase
14511 \family default
14512  This increases the size by one step (for instance, from 
14513 \begin_inset Quotes eld
14514 \end_inset
14515
14516 Largest
14517 \begin_inset Quotes erd
14518 \end_inset
14519
14520  to 
14521 \begin_inset Quotes eld
14522 \end_inset
14523
14524 Huge
14525 \begin_inset Quotes erd
14526 \end_inset
14527
14528 ).
14529  (key binding 
14530 \begin_inset Info
14531 type  "shortcut"
14532 arg   "font-size increase"
14533 \end_inset
14534
14535 )
14536 \end_layout
14537
14538 \begin_layout Labeling
14539 \labelwidthstring 00.00.0000
14540
14541 \family sans
14542 Decrease
14543 \family default
14544  This decreases the size by one step (for instance, from 
14545 \begin_inset Quotes eld
14546 \end_inset
14547
14548 Normal
14549 \begin_inset Quotes erd
14550 \end_inset
14551
14552  to 
14553 \begin_inset Quotes eld
14554 \end_inset
14555
14556 Small
14557 \begin_inset Quotes erd
14558 \end_inset
14559
14560 ).
14561  (key binding 
14562 \begin_inset Info
14563 type  "shortcut"
14564 arg   "font-size decrease"
14565 \end_inset
14566
14567 )
14568 \end_layout
14569
14570 \end_deeper
14571 \begin_layout Standard
14572 We warn you 
14573 \emph on
14574 yet again
14575 \emph default
14576 : don't go crazy with this feature.
14577  You should almost never need to change the font size.
14578  \SpecialChar LyX
14579  automatically changes the font size for different paragraph environments
14580  — use those instead.
14581  This is here for fine-tuning only!
14582 \end_layout
14583
14584 \begin_layout Labeling
14585 \labelwidthstring 00.00.0000
14586
14587 \family sans
14588 Misc
14589 \family default
14590  Here you can change a few other things at the character level.
14591  Options are:
14592 \end_layout
14593
14594 \begin_deeper
14595 \begin_layout Labeling
14596 \labelwidthstring 00.00.0000
14597
14598 \family sans
14599 Emph
14600 \family default
14601  
14602 \emph on
14603 This is text with emphasize on
14604 \emph default
14605 .
14606  This might seem like the same as 
14607 \shape italic
14608 Italic
14609 \shape default
14610 , but it is actually a bit different.
14611  Emphasized is a 
14612 \emph on
14613 logical
14614 \emph default
14615  attribute.
14616  That means every document class can define its own font used for emphasized
14617  text.
14618  Normally this font is equal to italic.
14619 \end_layout
14620
14621 \begin_layout Labeling
14622 \labelwidthstring 00.00.0000
14623
14624 \family sans
14625 Underbar
14626 \family default
14627  
14628 \bar under
14629 This is text with Underbar on.
14630
14631 \bar default
14632  (key binding 
14633 \begin_inset Info
14634 type  "shortcuts"
14635 arg   "font-underline"
14636 \end_inset
14637
14638
14639 \family sans
14640 )
14641 \begin_inset Newline newline
14642 \end_inset
14643
14644
14645 \family default
14646 Avoid using underbar if you can! It is a hangover from the typewriter days,
14647  when you could not change fonts.
14648  One no longer needs to emphasize text by underscoring characters.
14649  This is only possible in \SpecialChar LyX
14650  because some people 
14651 \emph on
14652 may
14653 \emph default
14654  need it in order to follow style sheets for journal submissions.
14655 \end_layout
14656
14657 \begin_layout Labeling
14658 \labelwidthstring 00.00.0000
14659
14660 \family sans
14661 Double
14662 \begin_inset space ~
14663 \end_inset
14664
14665 underbar
14666 \family default
14667  
14668 \uuline on
14669 This is text with Double underbar on.
14670
14671 \uuline default
14672  (key binding 
14673 \begin_inset Info
14674 type  "shortcut"
14675 arg   "font-underunderline"
14676 \end_inset
14677
14678 )
14679 \begin_inset Newline newline
14680 \end_inset
14681
14682 As we just warned you against using underbar, you can imagine what we think
14683  about double underbar.
14684 \end_layout
14685
14686 \begin_layout Labeling
14687 \labelwidthstring 00.00.0000
14688
14689 \family sans
14690 Wavy
14691 \begin_inset space ~
14692 \end_inset
14693
14694 underbar
14695 \family default
14696  
14697 \uwave on
14698 This is text with Wavy underbar on.
14699
14700 \uwave default
14701  (key binding 
14702 \begin_inset Info
14703 type  "shortcut"
14704 arg   "font-underwave"
14705 \end_inset
14706
14707 )
14708 \begin_inset Newline newline
14709 \end_inset
14710
14711 Use this only if a journal absolutely insists on it.
14712  Keep antinausea pills handy.
14713 \end_layout
14714
14715 \begin_layout Labeling
14716 \labelwidthstring 00.00.0000
14717
14718 \family sans
14719 Strike
14720 \begin_inset space ~
14721 \end_inset
14722
14723 out
14724 \family default
14725  
14726 \strikeout on
14727 This is text with Strikeout on.
14728
14729 \strikeout default
14730  (key binding 
14731 \begin_inset Info
14732 type  "shortcut"
14733 arg   "font-strikeout"
14734 \end_inset
14735
14736 )
14737 \begin_inset Newline newline
14738 \end_inset
14739
14740 This is frequently used to indicate an older version of text that has been
14741  changed in the meantime.
14742 \end_layout
14743
14744 \begin_layout Labeling
14745 \labelwidthstring 00.00.0000
14746
14747 \family sans
14748 Cross
14749 \begin_inset space ~
14750 \end_inset
14751
14752 out
14753 \family default
14754  
14755 \xout on
14756 This is text with Cross out on.
14757 \xout default
14758
14759 \begin_inset Newline newline
14760 \end_inset
14761
14762 This is used to make text hardly readable.
14763 \end_layout
14764
14765 \begin_layout Labeling
14766 \labelwidthstring 00.00.0000
14767
14768 \family sans
14769 Noun
14770 \family default
14771  
14772 \noun on
14773 This is text with Noun on.
14774
14775 \noun default
14776  Like 
14777 \family sans
14778 Emph
14779 \family default
14780 , this is a logical attribute.
14781  Normally it's equivalent to 
14782 \family sans
14783 Small
14784 \begin_inset space ~
14785 \end_inset
14786
14787 Caps
14788 \family default
14789 .
14790 \end_layout
14791
14792 \end_deeper
14793 \begin_layout Standard
14794 So you have a huge number of combinations to choose from.
14795  Once you have chosen a new character style via the 
14796 \family sans
14797 Edit\SpecialChar menuseparator
14798 Text
14799 \begin_inset space ~
14800 \end_inset
14801
14802 Style\SpecialChar menuseparator
14803 Customized
14804 \family default
14805  (
14806 \begin_inset Info
14807 type  "icon"
14808 arg   "dialog-show character"
14809 \end_inset
14810
14811 ) dialog, the settings are saved.
14812  You can activate them by using the toolbar button 
14813 \begin_inset Info
14814 type  "icon"
14815 arg   "textstyle-apply"
14816 \end_inset
14817
14818 .
14819  The button lets you apply your custom character style even when the dialog
14820  isn't visible.
14821 \end_layout
14822
14823 \begin_layout Standard
14824 To completely reset the character style to the default, use 
14825 \begin_inset Info
14826 type  "shortcut"
14827 arg   "font-default"
14828 \end_inset
14829
14830 .
14831  If you want to toggle only those properties that you have just changed
14832  (suppose you just set the shape to 
14833 \begin_inset Quotes eld
14834 \end_inset
14835
14836 slanted
14837 \begin_inset Quotes erd
14838 \end_inset
14839
14840  and the series to 
14841 \begin_inset Quotes eld
14842 \end_inset
14843
14844 bold
14845 \begin_inset Quotes erd
14846 \end_inset
14847
14848 ), set the 
14849 \family sans
14850 Toggle
14851 \begin_inset space ~
14852 \end_inset
14853
14854 all
14855 \family default
14856  switch and press 
14857 \family sans
14858 Apply
14859 \family default
14860 .
14861 \end_layout
14862
14863 \begin_layout Standard
14864 You should also know something about the differences between the three main
14865  font types 
14866 \family sans
14867 serif
14868 \family default
14869
14870 \family sans
14871 sans
14872 \begin_inset space ~
14873 \end_inset
14874
14875 serif
14876 \family default
14877 , and 
14878 \family sans
14879 typewriter
14880 \family default
14881 :
14882 \end_layout
14883
14884 \begin_layout Itemize
14885
14886 \family sans
14887 Typewriter
14888 \family default
14889  is a so called 
14890 \begin_inset Quotes eld
14891 \end_inset
14892
14893 monospaced
14894 \begin_inset Quotes erd
14895 \end_inset
14896
14897  font, which means every character has the same width; the 
14898 \begin_inset Quotes eld
14899 \end_inset
14900
14901 i
14902 \begin_inset Quotes erd
14903 \end_inset
14904
14905  is as wide as the 
14906 \begin_inset Quotes eld
14907 \end_inset
14908
14909 m
14910 \begin_inset Quotes erd
14911 \end_inset
14912
14913 .
14914  Here is an example
14915 \begin_inset Newline newline
14916 \end_inset
14917
14918
14919 \begin_inset Phantom HPhantom
14920 status open
14921
14922 \begin_layout Plain Layout
14923 no 
14924 \end_layout
14925
14926 \end_inset
14927
14928
14929 \family typewriter
14930 typewriter text
14931 \family default
14932
14933 \begin_inset Note Note
14934 status collapsed
14935
14936 \begin_layout Plain Layout
14937 For more on phantoms see section
14938 \begin_inset space ~
14939 \end_inset
14940
14941
14942 \begin_inset CommandInset ref
14943 LatexCommand ref
14944 reference "subsec:Phantom-Space"
14945
14946 \end_inset
14947
14948 .
14949 \end_layout
14950
14951 \end_inset
14952
14953
14954 \begin_inset Newline newline
14955 \end_inset
14956
14957 no typewriter text
14958 \end_layout
14959
14960 \begin_layout Itemize
14961
14962 \family sans
14963 Serif
14964 \family default
14965  fonts use characters with serifs.
14966  These are the small 
14967 \begin_inset Quotes eld
14968 \end_inset
14969
14970 appendices
14971 \begin_inset Quotes erd
14972 \end_inset
14973
14974  at the ends of the strokes that form the character.
14975  The following example shows the difference:
14976 \begin_inset Newline newline
14977 \end_inset
14978
14979 text with serifs
14980 \begin_inset Newline newline
14981 \end_inset
14982
14983
14984 \family sans
14985 text without serifs
14986 \family default
14987
14988 \begin_inset Newline newline
14989 \end_inset
14990
14991 Serifs facilitate quick and easy reading.
14992  These fonts are therefore used as default (named 
14993 \family sans
14994 roman
14995 \family default
14996 ).
14997 \end_layout
14998
14999 \begin_layout Itemize
15000
15001 \family sans
15002 Sans serif
15003 \family default
15004  is not recommended for use as a base type.
15005  This font type is therefore often only used for headings and short texts.
15006  We use it in this document to highlight menu names.
15007 \end_layout
15008
15009 \begin_layout Standard
15010 \begin_inset Quotes eld
15011 \end_inset
15012
15013 Toggling
15014 \begin_inset Quotes erd
15015 \end_inset
15016
15017  refers to applying or removing font properties.
15018  When a property is marked for toggling in the 
15019 \family sans
15020 Text
15021 \begin_inset space ~
15022 \end_inset
15023
15024 Style
15025 \family default
15026  dialog, applying the style to text that already has the property will cause
15027  the property to be removed.
15028  If you, for example, apply a style with properties A, B and C to text that
15029  currently has font properties B, C, F and G, and if B is set to toggle
15030  and C is set not to toggle, the text ends up with properties A, C, F and
15031  G.
15032  
15033 \begin_inset Quotes eld
15034 \end_inset
15035
15036 Never toggled
15037 \begin_inset Quotes erd
15038 \end_inset
15039
15040  and 
15041 \begin_inset Quotes eld
15042 \end_inset
15043
15044 always toggled
15045 \begin_inset Quotes erd
15046 \end_inset
15047
15048  mean that you do not control the toggling behavior.
15049  For the properties on the left side of the dialog (
15050 \begin_inset Quotes eld
15051 \end_inset
15052
15053 Family
15054 \begin_inset Quotes erd
15055 \end_inset
15056
15057  etc.), toggling behavior is up to you.
15058  If 
15059 \family sans
15060 Toggle
15061 \begin_inset space ~
15062 \end_inset
15063
15064 all
15065 \family default
15066  is checked, all of the left side properties are toggled; by default, none
15067  of them are.
15068  Finally, 
15069 \begin_inset Quotes eld
15070 \end_inset
15071
15072 Reset
15073 \begin_inset Quotes erd
15074 \end_inset
15075
15076  is never toggled.
15077  If you, for example, set 
15078 \begin_inset Quotes eld
15079 \end_inset
15080
15081 Series
15082 \begin_inset Quotes erd
15083 \end_inset
15084
15085  to 
15086 \begin_inset Quotes eld
15087 \end_inset
15088
15089 Reset
15090 \begin_inset Quotes erd
15091 \end_inset
15092
15093  and select 
15094 \family sans
15095 Toggle
15096 \begin_inset space ~
15097 \end_inset
15098
15099 all
15100 \family default
15101 , then apply the style to bold face text, the text will revert to the default
15102  series (
15103 \begin_inset Quotes eld
15104 \end_inset
15105
15106 Medium
15107 \begin_inset Quotes erd
15108 \end_inset
15109
15110 ), no matter how many times you apply the style.
15111 \end_layout
15112
15113 \begin_layout Standard
15114 We conclude with the same warning once again: Do not overuse the fonts!
15115  They are, more often than not, a kludge and a bad substitute for good writing.
15116 \end_layout
15117
15118 \begin_layout Section
15119 Printing and Previewing
15120 \end_layout
15121
15122 \begin_layout Subsection
15123 Overview
15124 \end_layout
15125
15126 \begin_layout Standard
15127 Now that we have covered some of the basic features of document preparation
15128  using \SpecialChar LyX
15129 , you probably want to know how to print out your masterpiece.
15130  Before we tell you that, we want to give you a quick explanation of what
15131  goes on behind-the-scenes.
15132  We cover this information in much greater detail in the 
15133 \emph on
15134 Additional Features
15135 \emph default
15136  manual as well.
15137 \end_layout
15138
15139 \begin_layout Standard
15140 \SpecialChar LyX
15141  uses the program \SpecialChar LaTeX
15142  as its backend.
15143  \SpecialChar LaTeX
15144  is just a macro package for the \SpecialChar TeX
15145  typesetting system, but to prevent confusion,
15146  we will only refer to \SpecialChar LaTeX
15147 .
15148  \SpecialChar LyX
15149  is what you use to do your actual writing.
15150  Then, \SpecialChar LyX
15151  calls \SpecialChar LaTeX
15152  to turn your writing into printable output.
15153  This happens in two stages:
15154 \end_layout
15155
15156 \begin_layout Enumerate
15157 First, \SpecialChar LyX
15158  converts your document to a series of text commands for \SpecialChar LaTeX
15159 , generating
15160  a file with the extension, 
15161 \begin_inset Quotes eld
15162 \end_inset
15163
15164
15165 \family typewriter
15166 .tex
15167 \family default
15168
15169 \begin_inset Quotes erd
15170 \end_inset
15171
15172 .
15173 \end_layout
15174
15175 \begin_layout Enumerate
15176 Next, \SpecialChar LyX
15177  calls \SpecialChar LaTeX
15178  to use the commands in the 
15179 \family typewriter
15180 .tex
15181 \family default
15182  file to produce printable output.
15183 \end_layout
15184
15185 \begin_layout Subsection
15186 Output file formats
15187 \begin_inset Index idx
15188 status collapsed
15189
15190 \begin_layout Plain Layout
15191 File formats
15192 \end_layout
15193
15194 \end_inset
15195
15196
15197 \begin_inset CommandInset label
15198 LatexCommand label
15199 name "subsec:Output-file-formats"
15200
15201 \end_inset
15202
15203
15204 \end_layout
15205
15206 \begin_layout Subsubsection
15207 Simple text (ASCII)
15208 \begin_inset Index idx
15209 status collapsed
15210
15211 \begin_layout Plain Layout
15212 File formats ! ASCII
15213 \end_layout
15214
15215 \end_inset
15216
15217
15218 \end_layout
15219
15220 \begin_layout Standard
15221 This file type has the extension 
15222 \begin_inset Quotes eld
15223 \end_inset
15224
15225
15226 \family typewriter
15227 .txt
15228 \family default
15229
15230 \begin_inset Quotes erd
15231 \end_inset
15232
15233 .
15234  It contains your document as plain text following the rules of the 
15235 \begin_inset Quotes eld
15236 \end_inset
15237
15238 American Standard Code for Information Interchange
15239 \begin_inset Quotes erd
15240 \end_inset
15241
15242  (ASCII).
15243 \end_layout
15244
15245 \begin_layout Standard
15246 You can export your document to ASCII with the menu 
15247 \family sans
15248 File\SpecialChar menuseparator
15249 Export\SpecialChar menuseparator
15250 Plain
15251 \begin_inset space ~
15252 \end_inset
15253
15254 text
15255 \family default
15256 .
15257  However, this will not export any externally generated material such as
15258  a Bib\SpecialChar TeX
15259  bibliography (section
15260 \begin_inset space ~
15261 \end_inset
15262
15263
15264 \begin_inset CommandInset ref
15265 LatexCommand ref
15266 reference "subsec:Bibliography-databases"
15267
15268 \end_inset
15269
15270 ).
15271  If your document includes such material, use 
15272 \family sans
15273 File\SpecialChar menuseparator
15274 Export\SpecialChar menuseparator
15275 More
15276 \begin_inset space ~
15277 \end_inset
15278
15279 Formats
15280 \begin_inset space ~
15281 \end_inset
15282
15283 &
15284 \begin_inset space ~
15285 \end_inset
15286
15287 Options
15288 \family default
15289  and then select 
15290 \family sans
15291 Plain
15292 \begin_inset space ~
15293 \end_inset
15294
15295 text
15296 \begin_inset space ~
15297 \end_inset
15298
15299 (ps2ascii)
15300 \family default
15301 .
15302  This will first internally export your document to PostScript (generating
15303  thereby the external material) and then do the conversion to ASCII.
15304 \end_layout
15305
15306 \begin_layout Subsubsection
15307 \SpecialChar LaTeX
15308
15309 \begin_inset Index idx
15310 status collapsed
15311
15312 \begin_layout Plain Layout
15313 File formats ! \SpecialChar LaTeX
15314
15315 \end_layout
15316
15317 \end_inset
15318
15319
15320 \end_layout
15321
15322 \begin_layout Standard
15323 This file type has the extension 
15324 \begin_inset Quotes eld
15325 \end_inset
15326
15327
15328 \family typewriter
15329 .tex
15330 \family default
15331
15332 \begin_inset Quotes erd
15333 \end_inset
15334
15335  and contains all commands that are necessary for the \SpecialChar LaTeX
15336  program to process
15337  your document.
15338  If you know \SpecialChar LaTeX
15339 , you can use it to find out \SpecialChar LaTeX
15340 -Errors or to process it manually
15341  with console commands.
15342  The \SpecialChar LaTeX
15343 -file is automatically created in \SpecialChar LyX
15344 's temporary directory whenever you
15345  view or export your document.
15346 \end_layout
15347
15348 \begin_layout Standard
15349 You can export your document as a \SpecialChar LaTeX
15350 -file using the menu 
15351 \family sans
15352 File\SpecialChar menuseparator
15353 Export\SpecialChar menuseparator
15354 LaTeX
15355 \family default
15356 .
15357  The different \SpecialChar LaTeX
15358  export variants are explained in section
15359 \begin_inset space ~
15360 \end_inset
15361
15362
15363 \begin_inset CommandInset ref
15364 LatexCommand ref
15365 reference "subsec:Export"
15366
15367 \end_inset
15368
15369 .
15370 \end_layout
15371
15372 \begin_layout Subsubsection
15373 DVI
15374 \begin_inset Index idx
15375 status collapsed
15376
15377 \begin_layout Plain Layout
15378 File formats ! DVI
15379 \end_layout
15380
15381 \end_inset
15382
15383
15384 \end_layout
15385
15386 \begin_layout Standard
15387 This file type has the extension 
15388 \begin_inset Quotes eld
15389 \end_inset
15390
15391
15392 \family typewriter
15393 .dvi
15394 \family default
15395
15396 \begin_inset Quotes erd
15397 \end_inset
15398
15399 .
15400  It is called 
15401 \begin_inset Quotes eld
15402 \end_inset
15403
15404 device-independent
15405 \begin_inset Quotes erd
15406 \end_inset
15407
15408  (DVI), because it is completely portable; you can move them from one machine
15409  to another without needing to do any sort of conversion.
15410  DVIs are used for quick previews and as a pre-stage for other output formats,
15411  like PostScript.
15412 \end_layout
15413
15414 \begin_layout Standard
15415 DVI files do not contain images, they only link to them.
15416  So don't forget to deliver the images together with your DVIs.
15417  Because the DVI-viewer has to convert the images in the background to make
15418  them visible when you scroll the DVI, this can slow down your computer
15419  when you view the DVI.
15420  So we recommend using PDF for files with many images.
15421 \end_layout
15422
15423 \begin_layout Standard
15424 You can export your document to DVI by the menus 
15425 \family sans
15426 File\SpecialChar menuseparator
15427 Export\SpecialChar menuseparator
15428 DVI
15429 \family default
15430  or 
15431 \family sans
15432 File\SpecialChar menuseparator
15433 Export\SpecialChar menuseparator
15434 DVI
15435 \begin_inset space ~
15436 \end_inset
15437
15438 (LuaTeX).
15439
15440 \family default
15441  The latter option uses the program 
15442 \family typewriter
15443 Lua\SpecialChar TeX
15444
15445 \family default
15446 .
15447  
15448 \family typewriter
15449 Lua\SpecialChar TeX
15450
15451 \family default
15452  is an engine that provides direct Unicode support and support for direct
15453  font access (see section
15454 \begin_inset space ~
15455 \end_inset
15456
15457
15458 \begin_inset CommandInset ref
15459 LatexCommand ref
15460 reference "subsec:LaTeX-font-support"
15461
15462 \end_inset
15463
15464 ).
15465  Lua\SpecialChar TeX
15466  is still a work in progress, but it might develop into the next standard
15467  \SpecialChar TeX
15468  processor.
15469 \end_layout
15470
15471 \begin_layout Subsubsection
15472 PostScript
15473 \begin_inset Index idx
15474 status collapsed
15475
15476 \begin_layout Plain Layout
15477 File formats ! PostScript
15478 \end_layout
15479
15480 \end_inset
15481
15482
15483 \end_layout
15484
15485 \begin_layout Standard
15486 This file type has the extension 
15487 \begin_inset Quotes eld
15488 \end_inset
15489
15490
15491 \family typewriter
15492 .ps
15493 \family default
15494
15495 \begin_inset Quotes erd
15496 \end_inset
15497
15498 .
15499  PostScript was developed by the company 
15500 \family typewriter
15501 Adobe
15502 \family default
15503  as a printer language.
15504  The file therefore contains commands that the printer uses to print the
15505  file.
15506  PostScript can be seen as a 
15507 \begin_inset Quotes eld
15508 \end_inset
15509
15510 programming language
15511 \begin_inset Quotes erd
15512 \end_inset
15513
15514 ; you can calculate with it and draw diagrams and images.
15515 \begin_inset Foot
15516 status collapsed
15517
15518 \begin_layout Plain Layout
15519 If you are interested in learning more about this, have a look at the \SpecialChar LaTeX
15520 -package
15521  
15522 \series bold
15523 pstricks
15524 \series default
15525
15526 \begin_inset Index idx
15527 status collapsed
15528
15529 \begin_layout Plain Layout
15530 \SpecialChar LaTeX
15531  packages ! pstricks
15532 \end_layout
15533
15534 \end_inset
15535
15536 .
15537 \end_layout
15538
15539 \end_inset
15540
15541  As a result of this, the files are often bigger than PDFs.
15542 \end_layout
15543
15544 \begin_layout Standard
15545 PostScript can only contain images in the format 
15546 \begin_inset Quotes eld
15547 \end_inset
15548
15549 Encapsulated PostScript
15550 \begin_inset Quotes erd
15551 \end_inset
15552
15553  (EPS, file extension 
15554 \begin_inset Quotes eld
15555 \end_inset
15556
15557
15558 \family typewriter
15559 .eps
15560 \family default
15561
15562 \begin_inset Quotes erd
15563 \end_inset
15564
15565 ).
15566  As \SpecialChar LyX
15567  allows you to use any known image format in your document, it has to
15568  convert them in the background to EPS.
15569  If, for example, you have 50
15570 \begin_inset space ~
15571 \end_inset
15572
15573 images in your document, \SpecialChar LyX
15574  has to do 50
15575 \begin_inset space ~
15576 \end_inset
15577
15578 conversions when you view or export your document the first time.
15579  This might slow down your workflow with \SpecialChar LyX
15580 .
15581  So if you plan to use PostScript, you can insert your images directly as
15582  EPS to avoid this problem.
15583 \end_layout
15584
15585 \begin_layout Standard
15586 You can export to PostScript using the menu 
15587 \family sans
15588 File\SpecialChar menuseparator
15589 Export\SpecialChar menuseparator
15590 PostScript
15591 \family default
15592 .
15593 \end_layout
15594
15595 \begin_layout Subsubsection
15596 PDF
15597 \begin_inset Index idx
15598 status collapsed
15599
15600 \begin_layout Plain Layout
15601 File formats ! PDF
15602 \end_layout
15603
15604 \end_inset
15605
15606
15607 \begin_inset Index idx
15608 status collapsed
15609
15610 \begin_layout Plain Layout
15611 PDF
15612 \end_layout
15613
15614 \end_inset
15615
15616
15617 \end_layout
15618
15619 \begin_layout Standard
15620 This file type has the extension 
15621 \begin_inset Quotes eld
15622 \end_inset
15623
15624
15625 \family typewriter
15626 .pdf
15627 \family default
15628
15629 \begin_inset Quotes erd
15630 \end_inset
15631
15632 .
15633  The 
15634 \begin_inset Quotes eld
15635 \end_inset
15636
15637 Portable Document Format
15638 \begin_inset Quotes erd
15639 \end_inset
15640
15641  (PDF) developed by 
15642 \family typewriter
15643 Adobe
15644 \family default
15645  was derived from PostScript.
15646  It is more compressed and it uses fewer commands than PostScript.
15647  As the name 
15648 \begin_inset Quotes eld
15649 \end_inset
15650
15651 portable
15652 \begin_inset Quotes erd
15653 \end_inset
15654
15655  implies, it can be processed on any computer system and the printed output
15656  looks exactly the same.
15657 \end_layout
15658
15659 \begin_layout Standard
15660 PDF can contain images in its own PDF format and in the formats 
15661 \begin_inset Quotes eld
15662 \end_inset
15663
15664 Joint Photographic Experts Group
15665 \begin_inset Quotes erd
15666 \end_inset
15667
15668  (JPG, file extension 
15669 \begin_inset Quotes eld
15670 \end_inset
15671
15672
15673 \family typewriter
15674 .jpg
15675 \family default
15676
15677 \begin_inset Quotes erd
15678 \end_inset
15679
15680  or 
15681 \begin_inset Quotes eld
15682 \end_inset
15683
15684
15685 \family typewriter
15686 .jpeg
15687 \family default
15688
15689 \begin_inset Quotes erd
15690 \end_inset
15691
15692 ) and 
15693 \begin_inset Quotes eld
15694 \end_inset
15695
15696 Portable Network Graphics
15697 \begin_inset Quotes erd
15698 \end_inset
15699
15700  (PNG, file extension 
15701 \begin_inset Quotes eld
15702 \end_inset
15703
15704
15705 \family typewriter
15706 .png
15707 \family default
15708
15709 \begin_inset Quotes erd
15710 \end_inset
15711
15712 ).
15713  You can also use any other image format, because \SpecialChar LyX
15714  converts them in the
15715  background to one of these formats.
15716  But as described in the section about PostScript, the image conversion
15717  will slow down your workflow.
15718  So we recommend using images in one of the three formats mentioned above.
15719 \end_layout
15720
15721 \begin_layout Standard
15722 You can export your document to PDF via the menu 
15723 \family sans
15724 File\SpecialChar menuseparator
15725 Export
15726 \family default
15727  in different ways:
15728 \end_layout
15729
15730 \begin_layout Description
15731 PDF
15732 \begin_inset space ~
15733 \end_inset
15734
15735 (pdflatex) This uses the program 
15736 \family typewriter
15737 pdftex
15738 \family default
15739  which converts your file directly to PDF.
15740 \end_layout
15741
15742 \begin_layout Description
15743 PDF
15744 \begin_inset space ~
15745 \end_inset
15746
15747 (Lua
15748 \family sans
15749 TeX
15750 \family default
15751 ) This uses the program 
15752 \family typewriter
15753 Lua\SpecialChar TeX
15754
15755 \family default
15756  which converts your file directly to PDF.
15757  
15758 \family typewriter
15759 Lua\SpecialChar TeX
15760
15761 \family default
15762  is a new engine, derived from 
15763 \family typewriter
15764 pdflatex
15765 \family default
15766 , that also provides direct Unicode support and support for direct font
15767  access (see section
15768 \begin_inset space ~
15769 \end_inset
15770
15771
15772 \begin_inset CommandInset ref
15773 LatexCommand ref
15774 reference "subsec:LaTeX-font-support"
15775
15776 \end_inset
15777
15778 ).
15779  Lua\SpecialChar TeX
15780  is still a work in progress, but it might develop into the next standard
15781  \SpecialChar TeX
15782  processor.
15783 \end_layout
15784
15785 \begin_layout Description
15786 PDF
15787 \begin_inset space ~
15788 \end_inset
15789
15790 (Xe
15791 \family sans
15792 TeX
15793 \family default
15794 ) This uses the program 
15795 \family typewriter
15796 Xe\SpecialChar TeX
15797
15798 \family default
15799  that converts your file directly to PDF.
15800  
15801 \family typewriter
15802 Xe\SpecialChar TeX
15803
15804 \family default
15805  is a new engine that provides direct Unicode support and support for direct
15806  font access (see section
15807 \begin_inset space ~
15808 \end_inset
15809
15810
15811 \begin_inset CommandInset ref
15812 LatexCommand ref
15813 reference "subsec:LaTeX-font-support"
15814
15815 \end_inset
15816
15817 ).
15818  It is particularly good at typesetting different scripts, for example,
15819  vertically written Japanese.
15820 \end_layout
15821
15822 \begin_layout Description
15823 PDF
15824 \begin_inset space ~
15825 \end_inset
15826
15827 (cropped) This is the same as 
15828 \family sans
15829 PDF
15830 \begin_inset space ~
15831 \end_inset
15832
15833 (pdflatex)
15834 \family default
15835  but the result is a PDF with cropped page margins.
15836  This is for example useful if you want to use \SpecialChar LyX
15837  to generate good-looking
15838  formulas to use them in other programs like for presentations.
15839 \end_layout
15840
15841 \begin_layout Description
15842 PDF
15843 \begin_inset space ~
15844 \end_inset
15845
15846 (dvipdfm) This uses the program 
15847 \family typewriter
15848 dvipdfm
15849 \family default
15850  that converts your file in the background to DVI and in a second step to
15851  PDF.
15852 \end_layout
15853
15854 \begin_layout Description
15855 PDF
15856 \begin_inset space ~
15857 \end_inset
15858
15859 (ps2pdf) This uses the program 
15860 \family typewriter
15861 ps2pdf
15862 \family default
15863  that creates a PDF from a PostScript-version of your file.
15864  The PostScript-version is produced by the program 
15865 \family typewriter
15866 dvips
15867 \family default
15868  which uses a DVI-version as intermediate step.
15869  So this export variant consists of three conversions.
15870 \end_layout
15871
15872 \begin_layout Standard
15873 We recommend using 
15874 \family sans
15875 PDF
15876 \begin_inset space ~
15877 \end_inset
15878
15879 (pdflatex)
15880 \family default
15881  because 
15882 \family typewriter
15883 pdftex
15884 \family default
15885  supports all the features of actual PDF-versions, is quick, stable, and
15886  works without problems.
15887  If you rely on multiscript support and\SpecialChar breakableslash
15888 or specific OpenType fonts, you might
15889  want to try out 
15890 \family sans
15891 PDF
15892 \begin_inset space ~
15893 \end_inset
15894
15895 (XeTeX)
15896 \family default
15897  or 
15898 \family sans
15899 PDF
15900 \begin_inset space ~
15901 \end_inset
15902
15903 (LuaTeX)
15904 \family default
15905  instead, bearing in mind that these two programs are not yet as mature
15906  as 
15907 \family typewriter
15908 pdflatex
15909 \family default
15910 .
15911 \end_layout
15912
15913 \begin_layout Subsubsection
15914 XHTML
15915 \begin_inset Index idx
15916 status collapsed
15917
15918 \begin_layout Plain Layout
15919 FileFormats ! XHTML
15920 \end_layout
15921
15922 \end_inset
15923
15924
15925 \begin_inset Index idx
15926 status collapsed
15927
15928 \begin_layout Plain Layout
15929 HTML
15930 \end_layout
15931
15932 \end_inset
15933
15934
15935 \end_layout
15936
15937 \begin_layout Standard
15938 This file type has the extension 
15939 \begin_inset Quotes eld
15940 \end_inset
15941
15942
15943 \family typewriter
15944 .xhtml
15945 \family default
15946
15947 \begin_inset Quotes erd
15948 \end_inset
15949
15950 .
15951  It is a file suitable for viewing in web browsers.
15952  It does not itself contain images and the like but only links to them.
15953  When \SpecialChar LyX
15954  produces XHTML, it also generates corresponding images in formats
15955  suitable for the purpose.
15956  For the math output you can choose in the menu 
15957 \family sans
15958 Document\SpecialChar menuseparator
15959 Settings\SpecialChar menuseparator
15960 Output
15961 \family default
15962  between different formats, which are described in section 
15963 \emph on
15964 Math Output in XHTML
15965 \emph default
15966  of the 
15967 \emph on
15968 Additional
15969 \begin_inset space ~
15970 \end_inset
15971
15972 Features
15973 \emph default
15974  manual.
15975 \end_layout
15976
15977 \begin_layout Standard
15978 XHTML output remains 
15979 \begin_inset Quotes eld
15980 \end_inset
15981
15982 under development
15983 \begin_inset Quotes erd
15984 \end_inset
15985
15986 , and not all \SpecialChar LyX
15987  features are supported yet.
15988  See the chapter 
15989 \emph on
15990 \SpecialChar LyX
15991  and the World Wide Web
15992 \emph default
15993 , in the 
15994 \emph on
15995 Additional Features
15996 \emph default
15997  manual, for more information.
15998 \end_layout
15999
16000 \begin_layout Standard
16001 You can export your document as an XHTML file using the menu item 
16002 \family sans
16003 File\SpecialChar menuseparator
16004 Export\SpecialChar menuseparator
16005 LyXHTML
16006 \family default
16007 .
16008 \end_layout
16009
16010 \begin_layout Subsection
16011 Previewing
16012 \begin_inset Index idx
16013 status collapsed
16014
16015 \begin_layout Plain Layout
16016 Document ! Preview 
16017 \end_layout
16018
16019 \end_inset
16020
16021
16022 \end_layout
16023
16024 \begin_layout Standard
16025 To get a look at the final version of your document, with all of the page
16026  breaks in place, the footnotes correctly numbered, and so on, use the menu
16027  
16028 \family sans
16029 Document
16030 \family default
16031  and choose 
16032 \family sans
16033 View
16034 \family default
16035  or use the toolbar button 
16036 \begin_inset Info
16037 type  "icon"
16038 arg   "buffer-view"
16039 \end_inset
16040
16041 .
16042  A viewing program will pop up showing the output in the defined default
16043  output format, which is globally set in the preferences (see section
16044 \begin_inset space ~
16045 \end_inset
16046
16047
16048 \begin_inset CommandInset ref
16049 LatexCommand ref
16050 reference "sec:File-Formats"
16051
16052 \end_inset
16053
16054 ) and can also be altered for single documents in the document settings
16055  (see section
16056 \begin_inset space ~
16057 \end_inset
16058
16059
16060 \begin_inset CommandInset ref
16061 LatexCommand ref
16062 reference "sec:Doc-Formats"
16063
16064 \end_inset
16065
16066 ).
16067  Further output formats can be selected via 
16068 \family sans
16069 Document\SpecialChar menuseparator
16070 View (Other Formats)
16071 \family default
16072  or the toolbar button 
16073 \begin_inset Info
16074 type  "icon"
16075 arg   "view-others"
16076 \end_inset
16077
16078 .
16079 \end_layout
16080
16081 \begin_layout Standard
16082 If you have changed your document, you can refresh the output in the same
16083  viewer window using the menu 
16084 \family sans
16085 Document\SpecialChar menuseparator
16086 Update
16087 \family default
16088  or 
16089 \family sans
16090 Document\SpecialChar menuseparator
16091 Update (Other Formats)
16092 \family default
16093 , respectively.
16094 \end_layout
16095
16096 \begin_layout Standard
16097 When you preview a file, the output file is only generated in \SpecialChar LyX
16098 's temporary
16099  directory.
16100  To have a real output, export your document.
16101 \end_layout
16102
16103 \begin_layout Section
16104 A few Words about Typography
16105 \begin_inset Index idx
16106 status collapsed
16107
16108 \begin_layout Plain Layout
16109 Typography
16110 \end_layout
16111
16112 \end_inset
16113
16114
16115 \end_layout
16116
16117 \begin_layout Subsection
16118 Hyphens, Dashes and Minus Signs
16119 \begin_inset Index idx
16120 status collapsed
16121
16122 \begin_layout Plain Layout
16123 Hyphens
16124 \end_layout
16125
16126 \end_inset
16127
16128
16129 \begin_inset Index idx
16130 status collapsed
16131
16132 \begin_layout Plain Layout
16133 Dashes
16134 \end_layout
16135
16136 \end_inset
16137
16138
16139 \end_layout
16140
16141 \begin_layout Standard
16142 In \SpecialChar LyX
16143 , the 
16144 \begin_inset Quotes eld
16145 \end_inset
16146
16147
16148 \family typewriter
16149 -
16150 \family default
16151
16152 \begin_inset Quotes erd
16153 \end_inset
16154
16155  symbol comes in four variants: the 
16156 \emph on
16157 hyphen
16158 \emph default
16159 , the 
16160 \emph on
16161 en dash
16162 \emph default
16163 , the 
16164 \emph on
16165 em dash
16166 \emph default
16167 , and the 
16168 \emph on
16169 minus sign
16170 \emph default
16171 :
16172 \begin_inset VSpace defskip
16173 \end_inset
16174
16175
16176 \end_layout
16177
16178 \begin_layout Standard
16179 \begin_inset Box Frameless
16180 position "t"
16181 hor_pos "c"
16182 has_inner_box 1
16183 inner_pos "t"
16184 use_parbox 0
16185 use_makebox 0
16186 width "100col%"
16187 special "none"
16188 height "1in"
16189 height_special "totalheight"
16190 thickness "0.4pt"
16191 separation "3pt"
16192 shadowsize "4pt"
16193 framecolor "black"
16194 backgroundcolor "none"
16195 status open
16196
16197 \begin_layout Plain Layout
16198 \begin_inset Tabular
16199 <lyxtabular version="3" rows="5" columns="3">
16200 <features tabularvalignment="middle">
16201 <column alignment="left" valignment="top" width="0pt">
16202 <column alignment="left" valignment="top">
16203 <column alignment="left" valignment="top">
16204 <row interlinespace="3mm">
16205 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
16206 \begin_inset Text
16207
16208 \begin_layout Plain Layout
16209 name
16210 \end_layout
16211
16212 \end_inset
16213 </cell>
16214 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16215 \begin_inset Text
16216
16217 \begin_layout Plain Layout
16218 output
16219 \end_layout
16220
16221 \end_inset
16222 </cell>
16223 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16224 \begin_inset Text
16225
16226 \begin_layout Plain Layout
16227 inserted with
16228 \end_layout
16229
16230 \end_inset
16231 </cell>
16232 </row>
16233 <row interlinespace="3mm">
16234 <cell alignment="left" valignment="top" usebox="none">
16235 \begin_inset Text
16236
16237 \begin_layout Plain Layout
16238 hyphen
16239 \end_layout
16240
16241 \end_inset
16242 </cell>
16243 <cell alignment="center" valignment="top" usebox="none">
16244 \begin_inset Text
16245
16246 \begin_layout Plain Layout
16247 -
16248 \end_layout
16249
16250 \end_inset
16251 </cell>
16252 <cell alignment="center" valignment="top" usebox="none">
16253 \begin_inset Text
16254
16255 \begin_layout Plain Layout
16256 \begin_inset Quotes eld
16257 \end_inset
16258
16259
16260 \family typewriter
16261 -
16262 \family default
16263
16264 \begin_inset Quotes erd
16265 \end_inset
16266
16267  in text
16268 \end_layout
16269
16270 \end_inset
16271 </cell>
16272 </row>
16273 <row interlinespace="3mm">
16274 <cell alignment="left" valignment="top" usebox="none">
16275 \begin_inset Text
16276
16277 \begin_layout Plain Layout
16278 en dash
16279 \end_layout
16280
16281 \end_inset
16282 </cell>
16283 <cell alignment="center" valignment="top" usebox="none">
16284 \begin_inset Text
16285
16286 \begin_layout Plain Layout
16287
16288 \end_layout
16289
16290 \end_inset
16291 </cell>
16292 <cell alignment="center" valignment="top" usebox="none">
16293 \begin_inset Text
16294
16295 \begin_layout Plain Layout
16296 system key combination
16297 \begin_inset Foot
16298 status collapsed
16299
16300 \begin_layout Plain Layout
16301 On Mac and Linux, the en dash is entered with 
16302 \family sans
16303 Opt+
16304 \begin_inset Quotes eld
16305 \end_inset
16306
16307 -
16308 \begin_inset Quotes erd
16309 \end_inset
16310
16311
16312 \family default
16313  and the em dash with 
16314 \family sans
16315 Shift-Opt+
16316 \begin_inset Quotes erd
16317 \end_inset
16318
16319 -
16320 \begin_inset Quotes erd
16321 \end_inset
16322
16323
16324 \family default
16325  (
16326 \family sans
16327 Opt
16328 \family default
16329  is the Mac label for the right 
16330 \family sans
16331 Alt
16332 \family default
16333  
16334 \family sans
16335 / AltGr 
16336 \family default
16337 key).
16338  Alternatively, dashes can be inserted with 
16339 \family sans
16340 Insert\SpecialChar menuseparator
16341 Special
16342 \begin_inset space ~
16343 \end_inset
16344
16345 Character\SpecialChar menuseparator
16346 Symbols
16347 \family default
16348  or with the 
16349 \begin_inset Quotes eld
16350 \end_inset
16351
16352 unicode-insert
16353 \begin_inset Quotes erd
16354 \end_inset
16355
16356  \SpecialChar LyX
16357  function with the Unicode code point as argument (2013 for the em dash
16358  and 2014 for the en dash).
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 the 
16485 \begin_inset Quotes eld
16486 \end_inset
16487
16488 unicode-insert
16489 \begin_inset Quotes erd
16490 \end_inset
16491
16492  \SpecialChar LyX
16493  function.
16494 \end_layout
16495
16496 \begin_layout Standard
16497 Hyphen and dashes are distinct from the minus sign, which appears in math
16498  mode and has a length of its own.
16499  Here are some examples:
16500 \end_layout
16501
16502 \begin_layout Enumerate
16503 line- and page-breaks
16504 \begin_inset space \hfill{}
16505 \end_inset
16506
16507 (
16508 \emph on
16509 hyphen
16510 \emph default
16511 )
16512 \end_layout
16513
16514 \begin_layout Enumerate
16515 From A–Z; pages
16516 \begin_inset space ~
16517 \end_inset
16518
16519 369–378
16520 \begin_inset space \hfill{}
16521 \end_inset
16522
16523 (
16524 \emph on
16525 en dash
16526 \emph default
16527 )
16528 \end_layout
16529
16530 \begin_layout Enumerate
16531 The em dash is used without spaces: Oh—there's a dash.
16532 \begin_inset space \hfill{}
16533 \end_inset
16534
16535 (
16536 \emph on
16537 em dash
16538 \emph default
16539 )
16540 \end_layout
16541
16542 \begin_layout Enumerate
16543 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
16544 \end_inset
16545
16546
16547 \begin_inset space \hfill{}
16548 \end_inset
16549
16550 (
16551 \emph on
16552 minus sign
16553 \emph default
16554 )
16555 \end_layout
16556
16557 \begin_layout Standard
16558 See also the 
16559 \begin_inset CommandInset href
16560 LatexCommand href
16561 name "Wikipedia entry on dashes"
16562 target "https://en.wikipedia.org/wiki/Dash"
16563 literal "false"
16564
16565 \end_inset
16566
16567 .
16568 \end_layout
16569
16570 \begin_layout Subsection
16571 Dashes and line breaks
16572 \begin_inset CommandInset label
16573 LatexCommand label
16574 name "subsec:Dashes-and-line-breaks"
16575
16576 \end_inset
16577
16578
16579 \end_layout
16580
16581 \begin_layout Standard
16582 Whether line breaks around dashes are allowed depends on the use case and
16583  locale:
16584 \end_layout
16585
16586 \begin_layout Itemize
16587 No line breaks are allowed in ranges of values like A–Z or 1975–1982.
16588 \end_layout
16589
16590 \begin_layout Itemize
16591 In English, dashes used to set off parenthetical statements should not start
16592  a new line.
16593 \end_layout
16594
16595 \begin_layout Itemize
16596 In French and Spanish, dashes around parenthetical statements are treated
16597  similar to brackets: line breaks are not allowed on the inner side.
16598 \end_layout
16599
16600 \begin_layout Standard
16601 When using spaced en dashes
16602 \begin_inset space ~
16603 \end_inset
16604
16605 - common in British English
16606 \begin_inset space ~
16607 \end_inset
16608
16609 - line breaks before the dash can be prevented with protected spaces.
16610 \end_layout
16611
16612 \begin_layout Standard
16613 When using em dashes without spaces—\SpecialChar allowbreak
16614 common in American English—\SpecialChar allowbreak
16615 one can insert
16616  optional line breaks with the menu 
16617 \family sans
16618 Insert\SpecialChar menuseparator
16619 Formatting\SpecialChar menuseparator
16620 Optional line break
16621 \family default
16622 .
16623 \end_layout
16624
16625 \begin_layout Standard
16626 For documents containing many em dashes, you may consider to select the
16627  option 
16628 \family sans
16629 Document\SpecialChar menuseparator
16630 Settings\SpecialChar menuseparator
16631 Fonts\SpecialChar menuseparator
16632 Output en- and em-dashes as ligatures.
16633  
16634 \family default
16635 This forces the output of dashes as 
16636 \begin_inset Quotes eld
16637 \end_inset
16638
16639 --
16640 \begin_inset Quotes erd
16641 \end_inset
16642
16643  and 
16644 \begin_inset Quotes eld
16645 \end_inset
16646
16647 ---
16648 \begin_inset Quotes erd
16649 \end_inset
16650
16651  when exporting to \SpecialChar LaTeX
16652 .
16653  The \SpecialChar TeX
16654  font ligature mechanism converts them to dash characters followed
16655  by an optional line break.
16656 \end_layout
16657
16658 \begin_layout Standard
16659 Caution:
16660 \end_layout
16661
16662 \begin_layout Enumerate
16663 This results in optional line breaks after 
16664 \series bold
16665 all
16666 \series default
16667  en and em dashes.
16668  Incorrect line breaks must be prevented by wrapping in a makebox
16669 \begin_inset Foot
16670 status collapsed
16671
16672 \begin_layout Plain Layout
16673 See section 
16674 \emph on
16675 Prevent Hyphenation
16676 \emph default
16677  of the 
16678 \emph on
16679 Embedded
16680 \begin_inset space ~
16681 \end_inset
16682
16683 Objects
16684 \emph default
16685  manual.
16686 \end_layout
16687
16688 \end_inset
16689
16690  or preceding with 
16691 \series bold
16692
16693 \backslash
16694 nobreakdash
16695 \series default
16696  in \SpecialChar TeX
16697  code.
16698  Examples:
16699 \end_layout
16700
16701 \begin_deeper
16702 \begin_layout Itemize
16703 Pages
16704 \begin_inset space ~
16705 \end_inset
16706
16707
16708 \begin_inset Box Frameless
16709 position "t"
16710 hor_pos "c"
16711 has_inner_box 1
16712 inner_pos "t"
16713 use_parbox 0
16714 use_makebox 1
16715 width ""
16716 special "none"
16717 height "1in"
16718 height_special "totalheight"
16719 thickness "0.4pt"
16720 separation "3pt"
16721 shadowsize "4pt"
16722 framecolor "black"
16723 backgroundcolor "none"
16724 status open
16725
16726 \begin_layout Plain Layout
16727 369–378
16728 \end_layout
16729
16730 \end_inset
16731
16732
16733 \end_layout
16734
16735 \begin_layout Itemize
16736
16737 \lang french
16738 Les incises 
16739 \begin_inset Box Frameless
16740 position "t"
16741 hor_pos "c"
16742 has_inner_box 1
16743 inner_pos "t"
16744 use_parbox 0
16745 use_makebox 1
16746 width ""
16747 special "none"
16748 height "1in"
16749 height_special "totalheight"
16750 thickness "0.4pt"
16751 separation "3pt"
16752 shadowsize "4pt"
16753 framecolor "black"
16754 backgroundcolor "none"
16755 status open
16756
16757 \begin_layout Plain Layout
16758
16759 \lang french
16760
16761 \begin_inset space ~
16762 \end_inset
16763
16764 même
16765 \end_layout
16766
16767 \end_inset
16768
16769  si tout le monde ne les aime pas
16770 \begin_inset space ~
16771 \end_inset
16772
16773 – sont très utiles.
16774 \end_layout
16775
16776 \begin_layout Itemize
16777
16778 \lang spanish
16779 En una frase 
16780 \begin_inset ERT
16781 status collapsed
16782
16783 \begin_layout Plain Layout
16784
16785
16786 \backslash
16787 nobreakdash
16788 \end_layout
16789
16790 \end_inset
16791
16792 —un inciso con rayas— se escribe así.
16793 \end_layout
16794
16795 \begin_layout Standard
16796 An incorrect line break is easily overlooked because
16797 \begin_inset space ~
16798 \end_inset
16799
16800 – in contrast to an overfull line
16801 \begin_inset space ~
16802 \end_inset
16803
16804 – it does not trigger a warning in the \SpecialChar LaTeX
16805  log.
16806 \end_layout
16807
16808 \end_deeper
16809 \begin_layout Enumerate
16810 The setting is ignored for documents using non-\SpecialChar TeX
16811  fonts.
16812 \begin_inset Foot
16813 status collapsed
16814
16815 \begin_layout Plain Layout
16816 Xe\SpecialChar TeX
16817  provides the 
16818 \series bold
16819
16820 \backslash
16821 XeTeXdashbreakstate
16822 \series default
16823  setting.
16824  The default causes dashes to behave like ligature dashes.
16825  The usual behaviour of literal dashes can be achieved by inserting 
16826 \family typewriter
16827 \series bold
16828
16829 \backslash
16830 XeTeXdashbreakstate=0
16831 \family default
16832 \series default
16833  into the \SpecialChar LaTeX
16834  preamble.
16835 \end_layout
16836
16837 \end_inset
16838
16839
16840 \end_layout
16841
16842 \begin_layout Enumerate
16843 Em dashes in 
16844 \family typewriter
16845 typewriter
16846 \family default
16847  fonts become 
16848 \family typewriter
16849 –-
16850 \family default
16851  or 
16852 \family typewriter
16853 ---
16854 \family default
16855  in the output.
16856 \end_layout
16857
16858 \begin_layout Enumerate
16859 Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
16860 \end_layout
16861
16862 \begin_layout Standard
16863 Since \SpecialChar LyX
16864
16865 \begin_inset space ~
16866 \end_inset
16867
16868 2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
16869  to dashes.
16870 \begin_inset Foot
16871 status collapsed
16872
16873 \begin_layout Plain Layout
16874 Up to \SpecialChar LyX
16875
16876 \begin_inset space ~
16877 \end_inset
16878
16879 2.1, -- and --- was output unchanged which led to different look in \SpecialChar LyX
16880 , text
16881  export, HTML export and the PDF export.
16882 \end_layout
16883
16884 \end_inset
16885
16886  Occurrences in older documents are converted to literal Unicode dashes.
16887  This led to different line breaks in some documents.
16888  \SpecialChar LyX
16889
16890 \begin_inset space ~
16891 \end_inset
16892
16893 2.3 provides the option 
16894 \family sans
16895 Output en- and em-dashes as ligatures
16896 \family default
16897  in the menu 
16898 \family sans
16899 Document\SpecialChar menuseparator
16900 Settings\SpecialChar menuseparator
16901 Fonts.
16902
16903 \family default
16904  It is on by default but unselected when opening documents edited with \SpecialChar LyX
16905
16906 \begin_inset space ~
16907 \end_inset
16908
16909 2.2.
16910 \begin_inset Newline newline
16911 \end_inset
16912
16913 Note the following side-effects of the changes in \SpecialChar LyX
16914 's dash handling:
16915 \end_layout
16916
16917 \begin_layout Itemize
16918 If you used literal em- and en dashes in pre-\SpecialChar LyX
16919
16920 \begin_inset space ~
16921 \end_inset
16922
16923 2.2 documents, you must manually unselect 
16924 \family sans
16925 Output en- and em-dashes as ligatures
16926 \family default
16927  to ensure unchanged behavior.
16928  
16929 \end_layout
16930
16931 \begin_layout Itemize
16932 If you used both, literal and ligature dashes in pre-\SpecialChar LyX
16933
16934 \begin_inset space ~
16935 \end_inset
16936
16937 2.2 documents, you may need to enable or prevent individual line breaks as
16938  shown above to restore the correct line breaking behaviour.
16939 \end_layout
16940
16941 \begin_layout Itemize
16942 Zero-width space (ZWSP) characters in older \SpecialChar LyX
16943  documents that follow literal
16944  em- and en-dashes are removed during the conversion to the format of \SpecialChar LyX
16945
16946 \begin_inset space ~
16947 \end_inset
16948
16949 2.3.
16950  If you used them as optional line breaks after dashes, convert them to
16951  space insets before opening your document with \SpecialChar LyX
16952
16953 \begin_inset space ~
16954 \end_inset
16955
16956 2.3 or the optional line breaks will be lost.
16957 \end_layout
16958
16959 \begin_layout Subsection
16960 Hyphenation
16961 \begin_inset Index idx
16962 status collapsed
16963
16964 \begin_layout Plain Layout
16965 Hyphenation
16966 \end_layout
16967
16968 \end_inset
16969
16970
16971 \begin_inset CommandInset label
16972 LatexCommand label
16973 name "subsec:Hyphenation"
16974
16975 \end_inset
16976
16977
16978 \end_layout
16979
16980 \begin_layout Standard
16981 Words are not hyphenated within \SpecialChar LyX
16982  but automatically in the output.
16983  Hyphenation is done by the \SpecialChar LaTeX
16984 -package 
16985 \series bold
16986 babel
16987 \series default
16988
16989 \begin_inset Index idx
16990 status collapsed
16991
16992 \begin_layout Plain Layout
16993 \SpecialChar LaTeX
16994  packages ! babel
16995 \end_layout
16996
16997 \end_inset
16998
16999  following the rules of the document language.
17000 \end_layout
17001
17002 \begin_layout Standard
17003 \SpecialChar LaTeX
17004  hyphenates almost perfectly; it only has problems with text in the 
17005 \family sans
17006 typewriter
17007 \family default
17008  font and with unusual constructs, like 
17009 \begin_inset Quotes eld
17010 \end_inset
17011
17012 h3knix/m0n0wall
17013 \begin_inset Quotes erd
17014 \end_inset
17015
17016 .
17017  If \SpecialChar LaTeX
17018  cannot break a word correctly, you can set hyphenation points manually.
17019  This is done with the menu 
17020 \family sans
17021 Insert\SpecialChar menuseparator
17022 Formatting\SpecialChar menuseparator
17023 Hyphenation
17024 \begin_inset space ~
17025 \end_inset
17026
17027 Point
17028 \family default
17029 .
17030  These extra hyphenation points are only recommendations to \SpecialChar LaTeX
17031 .
17032  If no hyphenation is necessary, \SpecialChar LaTeX
17033  will ignore them.
17034 \end_layout
17035
17036 \begin_layout Standard
17037 Sometimes you want to prevent words or constructs from being hyphenated.
17038  Imagine that you are describing keybindings/shortcuts in your document
17039  in the form 
17040 \begin_inset Quotes eld
17041 \end_inset
17042
17043 A-b c
17044 \begin_inset Quotes erd
17045 \end_inset
17046
17047 .
17048  \SpecialChar LaTeX
17049  would then see the hyphen 
17050 \begin_inset Quotes eld
17051 \end_inset
17052
17053 -
17054 \begin_inset Quotes erd
17055 \end_inset
17056
17057  as a hyphenation possibility.
17058  Hyphenating at this point would look ugly.
17059  To prevent the shortcut from being hyphenated, you can use a protected
17060  hyphen (
17061 \family sans
17062 Insert\SpecialChar menuseparator
17063 Formatting\SpecialChar menuseparator
17064 Protected Hyphen
17065 \family default
17066 ) or put it into a makebox as described in section 
17067 \emph on
17068 Prevent Hyphenation
17069 \emph default
17070  of the 
17071 \emph on
17072 Embedded
17073 \begin_inset space ~
17074 \end_inset
17075
17076 Objects
17077 \emph default
17078  manual.
17079 \end_layout
17080
17081 \begin_layout Subsection
17082 Punctuation Marks
17083 \begin_inset Index idx
17084 status collapsed
17085
17086 \begin_layout Plain Layout
17087 Punctuation marks
17088 \end_layout
17089
17090 \end_inset
17091
17092
17093 \end_layout
17094
17095 \begin_layout Subsubsection
17096 Abbreviations and End of Sentence
17097 \begin_inset CommandInset label
17098 LatexCommand label
17099 name "subsec:Abbreviations"
17100
17101 \end_inset
17102
17103
17104 \end_layout
17105
17106 \begin_layout Standard
17107 When \SpecialChar LyX
17108  calls \SpecialChar LaTeX
17109  to generate the final version of your document, \SpecialChar LaTeX
17110  automatically
17111  distinguishes between words, sentences, and abbreviations.
17112  \SpecialChar LaTeX
17113  then adds the 
17114 \begin_inset Quotes eld
17115 \end_inset
17116
17117 appropriate amount of space.
17118 \begin_inset Quotes erd
17119 \end_inset
17120
17121  That means sentences get a little bit more space between the period and
17122  the next word.
17123  Abbreviations get the same amount of space after the period that a word
17124  gets after another word.
17125 \end_layout
17126
17127 \begin_layout Standard
17128 Unfortunately, the algorithm for figuring out what's an abbreviation does
17129  not work in all cases.
17130  If a 
17131 \begin_inset Quotes eld
17132 \end_inset
17133
17134
17135 \family typewriter
17136 .
17137 \family default
17138
17139 \begin_inset Quotes erd
17140 \end_inset
17141
17142  is at the end of a lowercase letter, it's the end of a sentence; if it's
17143  at the end of a capitalized letter, it's an abbreviation.
17144 \end_layout
17145
17146 \begin_layout Standard
17147 Here are some examples of 
17148 \emph on
17149 correct
17150 \emph default
17151  abbreviations and of the end of a sentence:
17152 \end_layout
17153
17154 \begin_layout Itemize
17155 M.
17156  Butterfly
17157 \end_layout
17158
17159 \begin_layout Itemize
17160 Don't worry.
17161  Be happy.
17162 \end_layout
17163
17164 \begin_layout Standard
17165 And here is an example of the algorithm going wrong:
17166 \end_layout
17167
17168 \begin_layout Itemize
17169 e.
17170 \begin_inset space \thinspace{}
17171 \end_inset
17172
17173 g.
17174  this is too much space!
17175 \end_layout
17176
17177 \begin_layout Itemize
17178 This is I.
17179  It's okay.
17180 \end_layout
17181
17182 \begin_layout Standard
17183 You will not see anything wrong until you view a final version of your document.
17184 \end_layout
17185
17186 \begin_layout Standard
17187 To fix this problem, use one of the following:
17188 \end_layout
17189
17190 \begin_layout Enumerate
17191 Use an 
17192 \family sans
17193 Inter-word
17194 \begin_inset space ~
17195 \end_inset
17196
17197 Space
17198 \family default
17199  after lowercase abbreviations (see section
17200 \begin_inset space ~
17201 \end_inset
17202
17203
17204 \begin_inset CommandInset ref
17205 LatexCommand ref
17206 reference "subsec:Inter-word-Space"
17207
17208 \end_inset
17209
17210 ).
17211 \begin_inset Index idx
17212 status collapsed
17213
17214 \begin_layout Plain Layout
17215 Spaces ! inter-word
17216 \end_layout
17217
17218 \end_inset
17219
17220
17221 \end_layout
17222
17223 \begin_layout Enumerate
17224 Use a 
17225 \family sans
17226 Thin
17227 \begin_inset space ~
17228 \end_inset
17229
17230 Space
17231 \family default
17232  between two tokens of an abbreviation (see section
17233 \begin_inset space ~
17234 \end_inset
17235
17236
17237 \begin_inset CommandInset ref
17238 LatexCommand ref
17239 reference "subsec:Thin-Space"
17240
17241 \end_inset
17242
17243 ).
17244 \begin_inset Index idx
17245 status collapsed
17246
17247 \begin_layout Plain Layout
17248 Spaces ! thin
17249 \end_layout
17250
17251 \end_inset
17252
17253
17254 \end_layout
17255
17256 \begin_layout Enumerate
17257 Use an 
17258 \family sans
17259 End
17260 \begin_inset space ~
17261 \end_inset
17262
17263 of
17264 \begin_inset space ~
17265 \end_inset
17266
17267 sentence
17268 \begin_inset space ~
17269 \end_inset
17270
17271 period
17272 \family default
17273  found under the 
17274 \family sans
17275 Insert\SpecialChar menuseparator
17276 Special
17277 \begin_inset space ~
17278 \end_inset
17279
17280 Character
17281 \family default
17282  menu to force the use of inter-sentence spacing.
17283  This function is also bound to 
17284 \begin_inset Info
17285 type  "shortcut"
17286 arg   "specialchar-insert end-of-sentence"
17287 \end_inset
17288
17289  for easy access.
17290 \end_layout
17291
17292 \begin_layout Standard
17293 With the corrections, our earlier examples look like this:
17294 \end_layout
17295
17296 \begin_layout Itemize
17297 e.
17298 \begin_inset space \thinspace{}
17299 \end_inset
17300
17301 g.
17302 \begin_inset space \space{}
17303 \end_inset
17304
17305 this is too much space!
17306 \end_layout
17307
17308 \begin_layout Itemize
17309 This is I\SpecialChar endofsentence
17310  It's okay.
17311 \end_layout
17312
17313 \begin_layout Standard
17314 Some languages don't use extra spacing between sentences.
17315  If your language is such a language, you don't need to worry, because \SpecialChar LaTeX
17316
17317  will take care of this.
17318 \end_layout
17319
17320 \begin_layout Standard
17321 For those that do need to bother, there is help to catch those sneaky errors:
17322  Check out the 
17323 \family sans
17324 Check
17325 \begin_inset space ~
17326 \end_inset
17327
17328 \SpecialChar TeX
17329
17330 \family default
17331  feature described in the section 
17332 \emph on
17333 Checking \SpecialChar TeX
17334
17335 \emph default
17336  of the 
17337 \emph on
17338 Additional Features
17339 \emph default
17340  manual.
17341 \end_layout
17342
17343 \begin_layout Subsubsection
17344 Quotation Marks
17345 \begin_inset Index idx
17346 status collapsed
17347
17348 \begin_layout Plain Layout
17349 Typography ! Quotation marks
17350 \end_layout
17351
17352 \end_inset
17353
17354
17355 \begin_inset Index idx
17356 status collapsed
17357
17358 \begin_layout Plain Layout
17359 Quotation marks | see
17360 \begin_inset ERT
17361 status collapsed
17362
17363 \begin_layout Plain Layout
17364
17365 {
17366 \end_layout
17367
17368 \end_inset
17369
17370 Typography
17371 \begin_inset ERT
17372 status collapsed
17373
17374 \begin_layout Plain Layout
17375
17376 }
17377 \end_layout
17378
17379 \end_inset
17380
17381
17382 \end_layout
17383
17384 \end_inset
17385
17386
17387 \end_layout
17388
17389 \begin_layout Standard
17390 \SpecialChar LyX
17391  usually sets quotation marks correctly.
17392  Specifically, it will insert an opening mark at the beginning of quoted
17393  text, and use a closing mark at the end.
17394  For example, 
17395 \begin_inset Quotes eld
17396 \end_inset
17397
17398 open close
17399 \begin_inset Quotes erd
17400 \end_inset
17401
17402 .
17403  The keyboard character, 
17404 \family sans
17405 "
17406 \family default
17407 , generates this automatically.
17408 \end_layout
17409
17410 \begin_layout Standard
17411 You can specify what character the 
17412 \family sans
17413 "
17414 \family default
17415  key produces by using the submenu 
17416 \family sans
17417 Language
17418 \family default
17419  of the 
17420 \family sans
17421 Document\SpecialChar menuseparator
17422 Settings
17423 \family default
17424
17425 \begin_inset Index idx
17426 status collapsed
17427
17428 \begin_layout Plain Layout
17429 Document ! Settings
17430 \end_layout
17431
17432 \end_inset
17433
17434  dialog and switching the 
17435 \family sans
17436 Quote Style
17437 \family default
17438  (note that \SpecialChar LyX
17439  makes a sensible proposal for the selected main language).
17440  There are 14
17441 \begin_inset space ~
17442 \end_inset
17443
17444 choices:
17445 \end_layout
17446
17447 \begin_layout Labeling
17448 \labelwidthstring <<Outer>> and <<inner>>:
17449 \noindent
17450
17451 \family sans
17452 \begin_inset Quotes eld
17453 \end_inset
17454
17455 Outer
17456 \begin_inset Quotes erd
17457 \end_inset
17458
17459
17460 \begin_inset space ~
17461 \end_inset
17462
17463 and
17464 \begin_inset space ~
17465 \end_inset
17466
17467
17468 \begin_inset Quotes els
17469 \end_inset
17470
17471 inner
17472 \begin_inset Quotes ers
17473 \end_inset
17474
17475
17476 \family default
17477  Produces 
17478 \begin_inset Quotes eld
17479 \end_inset
17480
17481 these outer
17482 \begin_inset Quotes erd
17483 \end_inset
17484
17485  and 
17486 \begin_inset Quotes els
17487 \end_inset
17488
17489 these inner
17490 \begin_inset Quotes ers
17491 \end_inset
17492
17493  quotation marks (as common, e.
17494 \begin_inset space \thinspace{}
17495 \end_inset
17496
17497 g., in the US)
17498 \end_layout
17499
17500 \begin_layout Labeling
17501 \labelwidthstring <<Outer>> and <<inner>>:
17502
17503 \family sans
17504 \begin_inset Quotes sld
17505 \end_inset
17506
17507 Outer
17508 \begin_inset Quotes sld
17509 \end_inset
17510
17511
17512 \begin_inset space ~
17513 \end_inset
17514
17515 and
17516 \begin_inset space ~
17517 \end_inset
17518
17519
17520 \begin_inset Quotes sls
17521 \end_inset
17522
17523 inner
17524 \begin_inset Quotes srs
17525 \end_inset
17526
17527
17528 \family default
17529  Produces 
17530 \begin_inset Quotes sld
17531 \end_inset
17532
17533 these outer
17534 \begin_inset Quotes sld
17535 \end_inset
17536
17537  and 
17538 \begin_inset Quotes sls
17539 \end_inset
17540
17541 these inner
17542 \begin_inset Quotes srs
17543 \end_inset
17544
17545  quotation marks (as common, e.
17546 \begin_inset space \thinspace{}
17547 \end_inset
17548
17549 g., in Sweden)
17550 \end_layout
17551
17552 \begin_layout Labeling
17553 \labelwidthstring <<Outer>> and <<inner>>:
17554
17555 \family sans
17556 \begin_inset Quotes gld
17557 \end_inset
17558
17559 Outer
17560 \begin_inset Quotes grd
17561 \end_inset
17562
17563
17564 \begin_inset space ~
17565 \end_inset
17566
17567 and
17568 \begin_inset space ~
17569 \end_inset
17570
17571
17572 \begin_inset Quotes gls
17573 \end_inset
17574
17575 inner
17576 \begin_inset Quotes grs
17577 \end_inset
17578
17579
17580 \family default
17581  Produces 
17582 \begin_inset Quotes gld
17583 \end_inset
17584
17585 these outer
17586 \begin_inset Quotes grd
17587 \end_inset
17588
17589  and 
17590 \begin_inset Quotes gls
17591 \end_inset
17592
17593 these inner
17594 \begin_inset Quotes grs
17595 \end_inset
17596
17597  quotation marks (as common, e.
17598 \begin_inset space \thinspace{}
17599 \end_inset
17600
17601 g., in Germany)
17602 \end_layout
17603
17604 \begin_layout Labeling
17605 \labelwidthstring <<Outer>> and <<inner>>:
17606
17607 \family sans
17608 \begin_inset Quotes pld
17609 \end_inset
17610
17611 Outer
17612 \begin_inset Quotes prd
17613 \end_inset
17614
17615
17616 \begin_inset space ~
17617 \end_inset
17618
17619 and
17620 \begin_inset space ~
17621 \end_inset
17622
17623
17624 \begin_inset Quotes pls
17625 \end_inset
17626
17627 inner
17628 \begin_inset Quotes prs
17629 \end_inset
17630
17631
17632 \family default
17633  Produces 
17634 \begin_inset Quotes pld
17635 \end_inset
17636
17637 these outer
17638 \begin_inset Quotes prd
17639 \end_inset
17640
17641  and 
17642 \begin_inset Quotes pls
17643 \end_inset
17644
17645 these inner
17646 \begin_inset Quotes prs
17647 \end_inset
17648
17649  quotation marks (as common, e.
17650 \begin_inset space \thinspace{}
17651 \end_inset
17652
17653 g., in Poland)
17654 \end_layout
17655
17656 \begin_layout Labeling
17657 \labelwidthstring <<Outer>> and <<inner>>:
17658
17659 \family sans
17660 \begin_inset Quotes cld
17661 \end_inset
17662
17663 Outer
17664 \begin_inset Quotes crd
17665 \end_inset
17666
17667
17668 \begin_inset space ~
17669 \end_inset
17670
17671 and
17672 \begin_inset space ~
17673 \end_inset
17674
17675
17676 \begin_inset Quotes cls
17677 \end_inset
17678
17679 inner
17680 \begin_inset Quotes crs
17681 \end_inset
17682
17683
17684 \family default
17685  Produces 
17686 \begin_inset Quotes cld
17687 \end_inset
17688
17689 these outer
17690 \begin_inset Quotes crd
17691 \end_inset
17692
17693  and 
17694 \begin_inset Quotes cls
17695 \end_inset
17696
17697 these inner
17698 \begin_inset Quotes crs
17699 \end_inset
17700
17701  quotation marks (as common, e.
17702 \begin_inset space \thinspace{}
17703 \end_inset
17704
17705 g., in Switzerland)
17706 \end_layout
17707
17708 \begin_layout Labeling
17709 \labelwidthstring <<Outer>> and <<inner>>:
17710
17711 \family sans
17712 \begin_inset Quotes ald
17713 \end_inset
17714
17715 Outer
17716 \begin_inset Quotes ard
17717 \end_inset
17718
17719
17720 \begin_inset space ~
17721 \end_inset
17722
17723 and
17724 \begin_inset space ~
17725 \end_inset
17726
17727
17728 \begin_inset Quotes als
17729 \end_inset
17730
17731 inner
17732 \begin_inset Quotes ars
17733 \end_inset
17734
17735
17736 \family default
17737  Produces 
17738 \begin_inset Quotes ald
17739 \end_inset
17740
17741 these outer
17742 \begin_inset Quotes ard
17743 \end_inset
17744
17745  and 
17746 \begin_inset Quotes als
17747 \end_inset
17748
17749 these inner
17750 \begin_inset Quotes ars
17751 \end_inset
17752
17753  quotation marks (as common, e.
17754 \begin_inset space \thinspace{}
17755 \end_inset
17756
17757 g., in Denmark)
17758 \end_layout
17759
17760 \begin_layout Labeling
17761 \labelwidthstring <<Outer>> and <<inner>>:
17762
17763 \family sans
17764 \begin_inset Quotes qrd
17765 \end_inset
17766
17767 Outer
17768 \begin_inset Quotes qrd
17769 \end_inset
17770
17771
17772 \begin_inset space ~
17773 \end_inset
17774
17775 and
17776 \begin_inset space ~
17777 \end_inset
17778
17779
17780 \begin_inset Quotes qls
17781 \end_inset
17782
17783 inner
17784 \begin_inset Quotes qls
17785 \end_inset
17786
17787
17788 \family default
17789  Produces 
17790 \begin_inset Quotes qrd
17791 \end_inset
17792
17793 these outer
17794 \begin_inset Quotes qrd
17795 \end_inset
17796
17797  and 
17798 \begin_inset Quotes qls
17799 \end_inset
17800
17801 these inner
17802 \begin_inset Quotes qls
17803 \end_inset
17804
17805  quotation marks (so-called plain or non-typographical quotation marks)
17806 \end_layout
17807
17808 \begin_layout Labeling
17809 \labelwidthstring <<Outer>> and <<inner>>:
17810
17811 \family sans
17812 \begin_inset Quotes bld
17813 \end_inset
17814
17815 Outer
17816 \begin_inset Quotes brd
17817 \end_inset
17818
17819
17820 \begin_inset space ~
17821 \end_inset
17822
17823 and
17824 \begin_inset space ~
17825 \end_inset
17826
17827
17828 \begin_inset Quotes bls
17829 \end_inset
17830
17831 inner
17832 \begin_inset Quotes brs
17833 \end_inset
17834
17835
17836 \family default
17837  Produces 
17838 \begin_inset Quotes bld
17839 \end_inset
17840
17841 these outer
17842 \begin_inset Quotes brd
17843 \end_inset
17844
17845  and 
17846 \begin_inset Quotes bls
17847 \end_inset
17848
17849 these inner
17850 \begin_inset Quotes brs
17851 \end_inset
17852
17853  quotation marks (as common, e.
17854 \begin_inset space \thinspace{}
17855 \end_inset
17856
17857 g., in Great Britain)
17858 \end_layout
17859
17860 \begin_layout Labeling
17861 \labelwidthstring <<Outer>> and <<inner>>:
17862
17863 \family sans
17864 \begin_inset Quotes fld
17865 \end_inset
17866
17867 Outer
17868 \begin_inset Quotes frd
17869 \end_inset
17870
17871
17872 \begin_inset space ~
17873 \end_inset
17874
17875 and
17876 \begin_inset space ~
17877 \end_inset
17878
17879
17880 \begin_inset Quotes fls
17881 \end_inset
17882
17883 inner
17884 \begin_inset Quotes frs
17885 \end_inset
17886
17887
17888 \family default
17889  Produces 
17890 \begin_inset Quotes fld
17891 \end_inset
17892
17893 these outer
17894 \begin_inset Quotes frd
17895 \end_inset
17896
17897  and 
17898 \begin_inset Quotes fls
17899 \end_inset
17900
17901 these inner
17902 \begin_inset Quotes frs
17903 \end_inset
17904
17905  quotation marks (as common, e.
17906 \begin_inset space \thinspace{}
17907 \end_inset
17908
17909 g., in France)
17910 \end_layout
17911
17912 \begin_layout Labeling
17913 \labelwidthstring <<Outer>> and <<inner>>:
17914
17915 \family sans
17916 \begin_inset Quotes ild
17917 \end_inset
17918
17919 Outer
17920 \begin_inset Quotes ird
17921 \end_inset
17922
17923
17924 \begin_inset space ~
17925 \end_inset
17926
17927 and
17928 \begin_inset space ~
17929 \end_inset
17930
17931
17932 \begin_inset Quotes ils
17933 \end_inset
17934
17935 inner
17936 \begin_inset Quotes irs
17937 \end_inset
17938
17939
17940 \family default
17941  Produces 
17942 \begin_inset Quotes ild
17943 \end_inset
17944
17945 these outer
17946 \begin_inset Quotes ird
17947 \end_inset
17948
17949  and 
17950 \begin_inset Quotes ils
17951 \end_inset
17952
17953 these inner
17954 \begin_inset Quotes irs
17955 \end_inset
17956
17957  quotation marks (another style common in France)
17958 \begin_inset Foot
17959 status collapsed
17960
17961 \begin_layout Plain Layout
17962 Maybe you wonder why one does not simply use only outer marks in this case,
17963  since these look identical to the inner marks.
17964  The answer is that you cannot easily switch to another style then (where
17965  the inner marks differ).
17966 \end_layout
17967
17968 \end_inset
17969
17970
17971 \end_layout
17972
17973 \begin_layout Labeling
17974 \labelwidthstring <<Outer>> and <<inner>>:
17975
17976 \family sans
17977 \begin_inset Quotes rld
17978 \end_inset
17979
17980 Outer
17981 \begin_inset Quotes rrd
17982 \end_inset
17983
17984
17985 \begin_inset space ~
17986 \end_inset
17987
17988 and
17989 \begin_inset space ~
17990 \end_inset
17991
17992
17993 \begin_inset Quotes rls
17994 \end_inset
17995
17996 inner
17997 \begin_inset Quotes rrs
17998 \end_inset
17999
18000
18001 \family default
18002  Produces 
18003 \begin_inset Quotes rld
18004 \end_inset
18005
18006 these outer
18007 \begin_inset Quotes rrd
18008 \end_inset
18009
18010  and 
18011 \begin_inset Quotes rls
18012 \end_inset
18013
18014 these inner
18015 \begin_inset Quotes rrs
18016 \end_inset
18017
18018  quotation marks (as common, e.
18019 \begin_inset space \thinspace{}
18020 \end_inset
18021
18022 g., in Russia)
18023 \end_layout
18024
18025 \begin_layout Labeling
18026 \labelwidthstring <<Outer>> and <<inner>>:
18027
18028 \family sans
18029 \begin_inset Quotes wld
18030 \end_inset
18031
18032 Outer
18033 \begin_inset Quotes wrd
18034 \end_inset
18035
18036
18037 \begin_inset space ~
18038 \end_inset
18039
18040 and
18041 \begin_inset space ~
18042 \end_inset
18043
18044
18045 \begin_inset Quotes wls
18046 \end_inset
18047
18048 inner
18049 \begin_inset Quotes wrs
18050 \end_inset
18051
18052
18053 \family default
18054  Produces 
18055 \begin_inset Quotes wld
18056 \end_inset
18057
18058 these outer
18059 \begin_inset Quotes wrd
18060 \end_inset
18061
18062  and 
18063 \begin_inset Quotes wls
18064 \end_inset
18065
18066 these inner
18067 \begin_inset Quotes wrs
18068 \end_inset
18069
18070  quotation marks (another style common in Sweden)
18071 \end_layout
18072
18073 \begin_layout Labeling
18074 \labelwidthstring <<Outer>> and <<inner>>:
18075 \begin_inset Quotes jld
18076 \end_inset
18077
18078
18079 \family sans
18080 Outer
18081 \family default
18082
18083 \begin_inset Quotes jrd
18084 \end_inset
18085
18086
18087 \family sans
18088
18089 \begin_inset space ~
18090 \end_inset
18091
18092 and
18093 \begin_inset space ~
18094 \end_inset
18095
18096
18097 \family default
18098
18099 \begin_inset Quotes jls
18100 \end_inset
18101
18102
18103 \family sans
18104 inner
18105 \family default
18106
18107 \begin_inset Quotes jrs
18108 \end_inset
18109
18110  Produces 
18111 \begin_inset Quotes jld
18112 \end_inset
18113
18114 these outer
18115 \begin_inset Quotes jrd
18116 \end_inset
18117
18118  and 
18119 \begin_inset Quotes jls
18120 \end_inset
18121
18122 these inner
18123 \begin_inset Quotes jrs
18124 \end_inset
18125
18126  quotation marks (as common, e.
18127 \begin_inset space \thinspace{}
18128 \end_inset
18129
18130 g., in Japan)
18131 \begin_inset Foot
18132 status collapsed
18133
18134 \begin_layout Plain Layout
18135 Note that these characters are just emulated with similar-looking math symbols
18136  in many encodings that do not cover these glyphs.
18137 \end_layout
18138
18139 \end_inset
18140
18141
18142 \end_layout
18143
18144 \begin_layout Labeling
18145 \labelwidthstring <<Outer>> and <<inner>>:
18146 \begin_inset Quotes kld
18147 \end_inset
18148
18149
18150 \family sans
18151 Outer
18152 \family default
18153
18154 \begin_inset Quotes krd
18155 \end_inset
18156
18157
18158 \family sans
18159
18160 \begin_inset space ~
18161 \end_inset
18162
18163 and
18164 \begin_inset space ~
18165 \end_inset
18166
18167
18168 \family default
18169
18170 \begin_inset Quotes kls
18171 \end_inset
18172
18173
18174 \family sans
18175 inner
18176 \family default
18177
18178 \begin_inset Quotes krs
18179 \end_inset
18180
18181  Produces 
18182 \begin_inset Quotes kld
18183 \end_inset
18184
18185 these outer
18186 \begin_inset Quotes krd
18187 \end_inset
18188
18189  and 
18190 \begin_inset Quotes kls
18191 \end_inset
18192
18193 these inner
18194 \begin_inset Quotes krs
18195 \end_inset
18196
18197  quotation marks (as common, e.
18198 \begin_inset space \thinspace{}
18199 \end_inset
18200
18201 g., in North Korea and China)
18202 \begin_inset Foot
18203 status collapsed
18204
18205 \begin_layout Plain Layout
18206 Note that these characters are just emulated with similar-looking math symbols
18207  in many encodings that do not cover these glyphs.
18208 \end_layout
18209
18210 \end_inset
18211
18212
18213 \end_layout
18214
18215 \begin_layout Standard
18216 Inner quotation marks
18217 \begin_inset Foot
18218 status collapsed
18219
18220 \begin_layout Plain Layout
18221 In many writing cultures, these are single quotation marks.
18222  But as the British and French styles show, this is not necessarily the
18223  case (and specifically the British style shows that 
18224 \begin_inset Quotes eld
18225 \end_inset
18226
18227 outer
18228 \begin_inset Quotes erd
18229 \end_inset
18230
18231  does not necessarily mean 
18232 \begin_inset Quotes eld
18233 \end_inset
18234
18235 double
18236 \begin_inset Quotes erd
18237 \end_inset
18238
18239 ).
18240  This is why we call them 
18241 \begin_inset Quotes els
18242 \end_inset
18243
18244 inner
18245 \begin_inset Quotes ers
18246 \end_inset
18247
18248  as opposed to 
18249 \begin_inset Quotes eld
18250 \end_inset
18251
18252 outer
18253 \begin_inset Quotes erd
18254 \end_inset
18255
18256  quotation marks.
18257 \end_layout
18258
18259 \end_inset
18260
18261  for quotations inside quotations (and other tasks in some languages, such
18262  as 
18263 \begin_inset Quotes els
18264 \end_inset
18265
18266 scare quotes
18267 \begin_inset Quotes ers
18268 \end_inset
18269
18270 ) can be obtained by means of the shortcut 
18271 \begin_inset Info
18272 type  "shortcut"
18273 arg   "quote-insert inner"
18274 \end_inset
18275
18276  and via the 
18277 \family sans
18278 Insert\SpecialChar menuseparator
18279 Special Characters
18280 \family default
18281  menu.
18282 \end_layout
18283
18284 \begin_layout Standard
18285 By default, the quotation mark styles are persistent.
18286  That is to say, a quotation mark maintains the style that was current when
18287  it was inserted, even if the document-wide style changes.
18288  This allows you to enter marks of different style.
18289  If you check the setting 
18290 \family sans
18291 Use dynamic quotation marks
18292 \family default
18293  in 
18294 \family sans
18295 Document\SpecialChar menuseparator
18296 Settings\SpecialChar menuseparator
18297 Language
18298 \family default
18299 , however, special quotation marks will be inserted (in the LyX window,
18300  they appear in a special color).
18301  These marks will automatically adapt to the main style (and its changes).
18302  Such quotation marks make it easy to alter the quotation mark style in
18303  one step (e.
18304 \begin_inset space \thinspace{}
18305 \end_inset
18306
18307 g., if your publisher requests a different style).
18308 \end_layout
18309
18310 \begin_layout Standard
18311 Individual quotation marks (i.
18312 \begin_inset space \thinspace{}
18313 \end_inset
18314
18315 e., their level [inner, outer], side [opening, closing], and style) can be
18316  easily switched by a context menu that pops up if you right-click on a
18317  mark.
18318 \end_layout
18319
18320 \begin_layout Subsection
18321 Ligatures
18322 \begin_inset Index idx
18323 status collapsed
18324
18325 \begin_layout Plain Layout
18326 Typography ! Ligatures
18327 \end_layout
18328
18329 \end_inset
18330
18331
18332 \begin_inset Index idx
18333 status collapsed
18334
18335 \begin_layout Plain Layout
18336 Ligatures | see
18337 \begin_inset ERT
18338 status collapsed
18339
18340 \begin_layout Plain Layout
18341
18342 {
18343 \end_layout
18344
18345 \end_inset
18346
18347 Typography
18348 \begin_inset ERT
18349 status collapsed
18350
18351 \begin_layout Plain Layout
18352
18353 }
18354 \end_layout
18355
18356 \end_inset
18357
18358
18359 \end_layout
18360
18361 \end_inset
18362
18363
18364 \begin_inset CommandInset label
18365 LatexCommand label
18366 name "subsec:Ligatures"
18367
18368 \end_inset
18369
18370
18371 \end_layout
18372
18373 \begin_layout Standard
18374 It is standard typesetting practice to group certain letters together and
18375  print them as single characters.
18376  These groups are known as 
18377 \emph on
18378 ligatures
18379 \emph default
18380 .
18381  Since \SpecialChar LaTeX
18382  knows about ligatures, your documents will contain them too in the
18383  output.
18384  Here are the standard ligatures:
18385 \end_layout
18386
18387 \begin_layout Itemize
18388 ff
18389 \end_layout
18390
18391 \begin_layout Itemize
18392 fi
18393 \end_layout
18394
18395 \begin_layout Itemize
18396 fl
18397 \end_layout
18398
18399 \begin_layout Itemize
18400 ffi
18401 \end_layout
18402
18403 \begin_layout Itemize
18404 ffl
18405 \end_layout
18406
18407 \begin_layout Standard
18408 Some languages uses other ligatures if the document font supports them.
18409 \end_layout
18410
18411 \begin_layout Standard
18412 Sometimes, you don't want a ligature in a word.
18413  While a ligature may be okay in the word, 
18414 \begin_inset Quotes eld
18415 \end_inset
18416
18417 graffiti,
18418 \begin_inset Quotes erd
18419 \end_inset
18420
18421  it looks really weird in compound words, such as 
18422 \begin_inset Quotes eld
18423 \end_inset
18424
18425 cufflink
18426 \begin_inset Quotes erd
18427 \end_inset
18428
18429  or the German 
18430 \begin_inset Quotes eld
18431 \end_inset
18432
18433 Dorffest.
18434 \begin_inset Quotes erd
18435 \end_inset
18436
18437  To break a ligature, use 
18438 \family sans
18439 Insert\SpecialChar menuseparator
18440 Formatting\SpecialChar menuseparator
18441 Ligature
18442 \begin_inset space ~
18443 \end_inset
18444
18445 Break.
18446
18447 \family default
18448  This changes 
18449 \begin_inset Quotes eld
18450 \end_inset
18451
18452 cufflinks
18453 \begin_inset Quotes erd
18454 \end_inset
18455
18456  to 
18457 \begin_inset Quotes eld
18458 \end_inset
18459
18460 cuff\SpecialChar ligaturebreak
18461 links
18462 \begin_inset Quotes erd
18463 \end_inset
18464
18465  and 
18466 \begin_inset Quotes eld
18467 \end_inset
18468
18469 Dorffest
18470 \begin_inset Quotes erd
18471 \end_inset
18472
18473  to 
18474 \begin_inset Quotes eld
18475 \end_inset
18476
18477 Dorf\SpecialChar ligaturebreak
18478 fest
18479 \begin_inset Quotes erd
18480 \end_inset
18481
18482 .
18483 \end_layout
18484
18485 \begin_layout Subsection
18486 \SpecialChar LyX
18487  and \SpecialChar LaTeX
18488  Logos
18489 \begin_inset Index idx
18490 status collapsed
18491
18492 \begin_layout Plain Layout
18493 \SpecialChar LyX
18494  ! Proper names
18495 \end_layout
18496
18497 \end_inset
18498
18499
18500 \end_layout
18501
18502 \begin_layout Standard
18503 Via 
18504 \family sans
18505 Insert\SpecialChar menuseparator
18506 Special Characters\SpecialChar menuseparator
18507 Logos
18508 \family default
18509 , \SpecialChar LyX
18510  provides the following program logos with special formatting:
18511 \end_layout
18512
18513 \begin_layout Description
18514 \SpecialChar LyX
18515  The name of the game.
18516 \end_layout
18517
18518 \begin_layout Description
18519 \SpecialChar TeX
18520  The typesetting engine used by \SpecialChar LyX
18521 .
18522 \end_layout
18523
18524 \begin_layout Description
18525 \SpecialChar LaTeX
18526  The \SpecialChar TeX
18527  macro collection used by \SpecialChar LyX
18528 .
18529 \end_layout
18530
18531 \begin_layout Description
18532 \SpecialChar LaTeX2e
18533  The current version of \SpecialChar LaTeX
18534 .
18535 \end_layout
18536
18537 \begin_layout Standard
18538 You might wonder why the \SpecialChar LaTeX
18539  version is 
18540 \begin_inset Quotes eld
18541 \end_inset
18542
18543 2
18544 \begin_inset Formula $\epsilon$
18545 \end_inset
18546
18547
18548 \begin_inset Quotes erd
18549 \end_inset
18550
18551 .
18552  It is an old tradition in the \SpecialChar TeX
18553  world to give programs geek version numbers.
18554  For example the version number of \SpecialChar TeX
18555  converges to the number 
18556 \begin_inset Formula $\pi$
18557 \end_inset
18558
18559 : The actual version is 
18560 \begin_inset Quotes eld
18561 \end_inset
18562
18563 \SpecialChar TeX
18564 -3.141592
18565 \begin_inset Quotes erd
18566 \end_inset
18567
18568 , the previous one was 
18569 \begin_inset Quotes eld
18570 \end_inset
18571
18572 \SpecialChar TeX
18573 -3.14159
18574 \begin_inset Quotes erd
18575 \end_inset
18576
18577 .
18578 \end_layout
18579
18580 \begin_layout Subsection
18581 Units
18582 \begin_inset Index idx
18583 status collapsed
18584
18585 \begin_layout Plain Layout
18586 Typography ! Units
18587 \end_layout
18588
18589 \end_inset
18590
18591
18592 \end_layout
18593
18594 \begin_layout Standard
18595 Generally the space between units and the number is smaller than the normal
18596  space between two words.
18597  As you can see in the example below, it looks better when the space is
18598  smaller.
18599  To get such a 
18600 \begin_inset Quotes eld
18601 \end_inset
18602
18603 half space
18604 \begin_inset Quotes erd
18605 \end_inset
18606
18607  for units use the menu 
18608 \family sans
18609 Insert\SpecialChar menuseparator
18610 Formatting\SpecialChar menuseparator
18611 Thin
18612 \begin_inset space ~
18613 \end_inset
18614
18615 Space
18616 \family default
18617  (shortcut 
18618 \begin_inset Info
18619 type  "shortcuts"
18620 arg   "space-insert thin"
18621 \end_inset
18622
18623 ).
18624 \end_layout
18625
18626 \begin_layout Standard
18627 Here is an example to show the differences:
18628 \end_layout
18629
18630 \begin_layout Standard
18631 \begin_inset Tabular
18632 <lyxtabular version="3" rows="2" columns="2">
18633 <features tabularvalignment="middle">
18634 <column alignment="left" valignment="top">
18635 <column alignment="left" valignment="top">
18636 <row>
18637 <cell alignment="center" valignment="top" usebox="none">
18638 \begin_inset Text
18639
18640 \begin_layout Plain Layout
18641 24
18642 \begin_inset space ~
18643 \end_inset
18644
18645 kW
18646 \begin_inset Formula $\cdot$
18647 \end_inset
18648
18649 h
18650 \end_layout
18651
18652 \end_inset
18653 </cell>
18654 <cell alignment="center" valignment="top" usebox="none">
18655 \begin_inset Text
18656
18657 \begin_layout Plain Layout
18658 space between number and unit
18659 \end_layout
18660
18661 \end_inset
18662 </cell>
18663 </row>
18664 <row>
18665 <cell alignment="center" valignment="top" usebox="none">
18666 \begin_inset Text
18667
18668 \begin_layout Plain Layout
18669 24
18670 \begin_inset space \thinspace{}
18671 \end_inset
18672
18673 kW
18674 \begin_inset Formula $\cdot$
18675 \end_inset
18676
18677 h
18678 \end_layout
18679
18680 \end_inset
18681 </cell>
18682 <cell alignment="center" valignment="top" usebox="none">
18683 \begin_inset Text
18684
18685 \begin_layout Plain Layout
18686 half space between number and unit
18687 \end_layout
18688
18689 \end_inset
18690 </cell>
18691 </row>
18692 </lyxtabular>
18693
18694 \end_inset
18695
18696
18697 \end_layout
18698
18699 \begin_layout Subsection
18700 Widows and Orphans
18701 \begin_inset Index idx
18702 status collapsed
18703
18704 \begin_layout Plain Layout
18705 Typography ! Widows and orphans
18706 \end_layout
18707
18708 \end_inset
18709
18710
18711 \end_layout
18712
18713 \begin_layout Standard
18714 In the early days of word processors, page breaks went wherever the page
18715  happened to end.
18716  There was no regard for what was actually going on in the text.
18717  For example the heading for a new section was printed at the very bottom
18718  of the page, the first line of a new paragraph all alone at the bottom
18719  of a page, or the last line of a paragraph at the top of a new page.
18720  These bits of text became known as 
18721 \emph on
18722 widows
18723 \emph default
18724  and 
18725 \emph on
18726 orphans
18727 \emph default
18728 .
18729 \end_layout
18730
18731 \begin_layout Standard
18732 Clearly, \SpecialChar LyX
18733  can avoid breaking pages after a section heading.
18734  That's part of the advantage of paragraph environments.
18735  But what about widows and orphans, where the page breaks leave one line
18736  of a paragraph all alone at the top or bottom of a page? There are rules
18737  built into \SpecialChar LaTeX
18738  governing page breaks, and some of those rules are there specifical
18739 ly to prevent widows and orphans.
18740  If they appear nevertheless and you don't like them, you can add the commands
18741 \begin_inset Newline newline
18742 \end_inset
18743
18744
18745 \series bold
18746
18747 \backslash
18748 widowpenalty=10000
18749 \begin_inset Newline newline
18750 \end_inset
18751
18752
18753 \backslash
18754 clubpenalty=10000
18755 \series default
18756
18757 \begin_inset Newline newline
18758 \end_inset
18759
18760 to the \SpecialChar LaTeX
18761  preamble of your document to avoid them.
18762  Some \SpecialChar LaTeX
18763  books (such as
18764 \begin_inset space ~
18765 \end_inset
18766
18767
18768 \begin_inset CommandInset citation
18769 LatexCommand cite
18770 key "latexcompanion"
18771 literal "true"
18772
18773 \end_inset
18774
18775  or
18776 \begin_inset space ~
18777 \end_inset
18778
18779
18780 \begin_inset CommandInset citation
18781 LatexCommand cite
18782 key "latexguide"
18783 literal "true"
18784
18785 \end_inset
18786
18787 ) have more information about the technical details of \SpecialChar LaTeX
18788 's page break mechanism.
18789 \end_layout
18790
18791 \begin_layout Chapter
18792 Notes, Graphics, Tables and Floats
18793 \begin_inset CommandInset label
18794 LatexCommand label
18795 name "chap:Floats-and-Notes"
18796
18797 \end_inset
18798
18799
18800 \end_layout
18801
18802 \begin_layout Standard
18803 The issues of this chapter are described in detail in the 
18804 \emph on
18805 Embedded
18806 \begin_inset space ~
18807 \end_inset
18808
18809 Objects
18810 \emph default
18811  manual.
18812  There you will also find tips and tricks for special cases.
18813 \end_layout
18814
18815 \begin_layout Section
18816 Notes
18817 \begin_inset Index idx
18818 status collapsed
18819
18820 \begin_layout Plain Layout
18821 Notes
18822 \end_layout
18823
18824 \end_inset
18825
18826
18827 \begin_inset CommandInset label
18828 LatexCommand label
18829 name "sec:Notes"
18830
18831 \end_inset
18832
18833
18834 \end_layout
18835
18836 \begin_layout Standard
18837 \SpecialChar LyX
18838  offers you a few types of notes to add to your document:
18839 \end_layout
18840
18841 \begin_layout Description
18842 \SpecialChar LyX
18843
18844 \begin_inset space ~
18845 \end_inset
18846
18847 Note This note type is for internal notes that will not appear in the output.
18848 \begin_inset Newline newline
18849 \end_inset
18850
18851
18852 \begin_inset Note Note
18853 status open
18854
18855 \begin_layout Plain Layout
18856 This is text in a note box that doesn't appear in the output.
18857 \end_layout
18858
18859 \end_inset
18860
18861
18862 \end_layout
18863
18864 \begin_layout Description
18865 Comment This note also doesn't appear in the output but it does appear as
18866  a \SpecialChar LaTeX
18867 -comment when you export the document to \SpecialChar LaTeX
18868  via the menu 
18869 \family sans
18870 File\SpecialChar menuseparator
18871 Export\SpecialChar menuseparator
18872 LaTeX
18873 \begin_inset space ~
18874 \end_inset
18875
18876 (xxx)
18877 \family default
18878 .
18879 \begin_inset Newline newline
18880 \end_inset
18881
18882
18883 \begin_inset Note Comment
18884 status open
18885
18886 \begin_layout Plain Layout
18887 This is text in a note box that only appears as a comment in \SpecialChar LaTeX
18888 -files.
18889 \end_layout
18890
18891 \end_inset
18892
18893
18894 \end_layout
18895
18896 \begin_layout Description
18897 Greyed
18898 \begin_inset space ~
18899 \end_inset
18900
18901 Out This note will appear in the output as text in a color which you can
18902  set in the document settings under 
18903 \family sans
18904 Colors\SpecialChar menuseparator
18905 Greyed-out
18906 \begin_inset space ~
18907 \end_inset
18908
18909 notes
18910 \family default
18911 .
18912 \begin_inset Newline newline
18913 \end_inset
18914
18915
18916 \begin_inset Newline newline
18917 \end_inset
18918
18919
18920 \begin_inset Note Greyedout
18921 status open
18922
18923 \begin_layout Plain Layout
18924 This is the text
18925 \begin_inset Foot
18926 status collapsed
18927
18928 \begin_layout Plain Layout
18929 This is an example footnote within a greyed out note.
18930  In this document the color of this note type is set to blue.
18931 \end_layout
18932
18933 \end_inset
18934
18935  of a comment that appears in the output.
18936 \end_layout
18937
18938 \end_inset
18939
18940
18941 \begin_inset Newline newline
18942 \end_inset
18943
18944
18945 \begin_inset Newline newline
18946 \end_inset
18947
18948 As you can see in the example, greyed out notes can have footnotes.
18949 \end_layout
18950
18951 \begin_layout Standard
18952 Notes are inserted with the toolbar button 
18953 \begin_inset Info
18954 type  "icon"
18955 arg   "note-insert"
18956 \end_inset
18957
18958  or the menu 
18959 \family sans
18960 Insert\SpecialChar menuseparator
18961 Note
18962 \family default
18963 .
18964  Right-click on the note box that appears to select the note type.
18965 \end_layout
18966
18967 \begin_layout Section
18968 Footnotes
18969 \begin_inset Index idx
18970 status collapsed
18971
18972 \begin_layout Plain Layout
18973 Footnotes
18974 \end_layout
18975
18976 \end_inset
18977
18978
18979 \begin_inset CommandInset label
18980 LatexCommand label
18981 name "sec:Footnotes"
18982
18983 \end_inset
18984
18985
18986 \end_layout
18987
18988 \begin_layout Standard
18989 \SpecialChar LyX
18990  uses boxes to display footnotes: When you insert a footnote using the menu
18991  
18992 \family sans
18993 Insert\SpecialChar menuseparator
18994 Footnote
18995 \family default
18996  or the toolbar button 
18997 \begin_inset Info
18998 type  "icon"
18999 arg   "footnote-insert"
19000 \end_inset
19001
19002
19003 \family roman
19004 \series medium
19005 \bar no
19006 you will see
19007 \family default
19008 \series default
19009 \bar default
19010  a box like this: 
19011 \begin_inset Graphics
19012         filename clipart/footnote.png
19013         scale 95
19014
19015 \end_inset
19016
19017
19018 \family roman
19019 \series medium
19020 \bar no
19021  This box is \SpecialChar LyX
19022 's representation of your footnote.
19023  If you
19024 \family default
19025 \series default
19026 \bar default
19027  left-click on 
19028 \family roman
19029 \series medium
19030 \bar no
19031 the 
19032 \begin_inset Quotes eld
19033 \end_inset
19034
19035
19036 \family sans
19037 foot
19038 \family roman
19039
19040 \begin_inset Quotes erd
19041 \end_inset
19042
19043
19044 \family default
19045 \series default
19046 \bar default
19047  
19048 \family roman
19049 \series medium
19050 \bar no
19051 label, the box will
19052 \family default
19053 \series default
19054 \bar default
19055  be opened and you can enter the footnote text into it.
19056  Clicking on the box label again will close 
19057 \family roman
19058 \series medium
19059 \bar no
19060 the
19061 \family default
19062 \series default
19063 \bar default
19064  box
19065 \family roman
19066 \series medium
19067 \bar no
19068 .
19069  If you want to turn existing text into a footnote, simply highlight it
19070  and click on the footnote
19071 \family default
19072 \series default
19073 \bar default
19074  toolbar 
19075 \family roman
19076 \series medium
19077 \bar no
19078 button
19079 \family default
19080 \series default
19081 \bar default
19082 .
19083 \end_layout
19084
19085 \begin_layout Standard
19086 Here is an example footnote:
19087 \family roman
19088 \series medium
19089 \bar no
19090
19091 \begin_inset Foot
19092 status collapsed
19093
19094 \begin_layout Plain Layout
19095 To close a footnote, click on the footnote box label.
19096 \end_layout
19097
19098 \end_inset
19099
19100
19101 \end_layout
19102
19103 \begin_layout Standard
19104 The footnote will appear in the output as a superscript number at the text
19105  position where the footnote box is placed.
19106  The footnote text is placed at the bottom of the current page.
19107  The footnote number is calculated by \SpecialChar LyX
19108  according to the document class.
19109  \SpecialChar LyX
19110  does not yet support a particular numbering scheme, but you can get other
19111  schemes using special \SpecialChar LaTeX
19112 -commands.
19113  T
19114 \family roman
19115 h
19116 \family default
19117 ey are described in the 
19118 \emph on
19119 Embedded
19120 \begin_inset space ~
19121 \end_inset
19122
19123 Objects
19124 \emph default
19125  manual.
19126 \end_layout
19127
19128 \begin_layout Section
19129 Marginal Notes
19130 \begin_inset Index idx
19131 status collapsed
19132
19133 \begin_layout Plain Layout
19134 Marginal notes
19135 \end_layout
19136
19137 \end_inset
19138
19139
19140 \begin_inset CommandInset label
19141 LatexCommand label
19142 name "sec:Marginal-Notes"
19143
19144 \end_inset
19145
19146
19147 \end_layout
19148
19149 \begin_layout Standard
19150 Marginal notes look and behave just like footnotes in \SpecialChar LyX
19151 .
19152  When you insert a margin note via the menu 
19153 \family sans
19154 Insert\SpecialChar menuseparator
19155 Marginal
19156 \begin_inset space ~
19157 \end_inset
19158
19159 Note
19160 \family default
19161  or the toolbar button 
19162 \begin_inset Info
19163 type  "icon"
19164 arg   "marginalnote-insert"
19165 \end_inset
19166
19167 , you will see 
19168 \family roman
19169 \series medium
19170 a
19171 \family default
19172 \series default
19173  
19174 \family roman
19175 \series medium
19176 box with the
19177 \family default
19178 \series default
19179  
19180 \family roman
19181 \series medium
19182 label 
19183 \begin_inset Quotes eld
19184 \end_inset
19185
19186 margin
19187 \begin_inset Quotes erd
19188 \end_inset
19189
19190  appearing within your text.
19191  This box is \SpecialChar LyX
19192 's representation of your margin
19193 \family default
19194 \series default
19195 al 
19196 \family roman
19197 \series medium
19198 note.
19199 \end_layout
19200
19201 \begin_layout Standard
19202 At the side of this sentence is an example marginal note.
19203 \family roman
19204 \series medium
19205
19206 \begin_inset Marginal
19207 status open
19208
19209 \begin_layout Plain Layout
19210 \align left
19211 This is a marginal note.
19212 \end_layout
19213
19214 \end_inset
19215
19216
19217 \end_layout
19218
19219 \begin_layout Standard
19220 Marginal notes appear at the right side in single-sided documents.
19221  In double-sided documents they appear in the outer margin – left on even
19222  pages, right on odd pages.
19223 \end_layout
19224
19225 \begin_layout Standard
19226 For further information about marginal notes see the section 
19227 \emph on
19228 Margin
19229 \begin_inset space ~
19230 \end_inset
19231
19232 Notes
19233 \emph default
19234  in the 
19235 \emph on
19236 Embedded
19237 \begin_inset space ~
19238 \end_inset
19239
19240 Objects
19241 \emph default
19242  manual.
19243 \end_layout
19244
19245 \begin_layout Section
19246 Graphics and Images
19247 \begin_inset Index idx
19248 status collapsed
19249
19250 \begin_layout Plain Layout
19251 Images
19252 \end_layout
19253
19254 \end_inset
19255
19256
19257 \begin_inset Index idx
19258 status collapsed
19259
19260 \begin_layout Plain Layout
19261 Graphics
19262 \end_layout
19263
19264 \end_inset
19265
19266
19267 \begin_inset CommandInset label
19268 LatexCommand label
19269 name "sec:Graphics"
19270
19271 \end_inset
19272
19273
19274 \end_layout
19275
19276 \begin_layout Standard
19277 To insert an image in your document, place the cursor at the text position
19278  you want and click on the toolbar icon 
19279 \begin_inset Info
19280 type  "icon"
19281 arg   "dialog-show-new-inset graphics"
19282 \end_inset
19283
19284  or select 
19285 \family sans
19286 Insert\SpecialChar menuseparator
19287 Graphics
19288 \family default
19289  from the menu.
19290  Then a dialog will appear to choose the file to load.
19291 \end_layout
19292
19293 \begin_layout Standard
19294 This dialog has numerous mostly self-explanatory parameters.
19295  The 
19296 \family sans
19297 Graphics
19298 \family default
19299  tab allows you to choose your image file.
19300  The image can be transformed by setting a rotation angle and a scaling
19301  factor.
19302  The scaling units are explained in Appendix
19303 \begin_inset space ~
19304 \end_inset
19305
19306
19307 \begin_inset CommandInset ref
19308 LatexCommand ref
19309 reference "chap:Units-available-in"
19310
19311 \end_inset
19312
19313 .
19314 \end_layout
19315
19316 \begin_layout Standard
19317 In the tab 
19318 \family sans
19319 Clipping
19320 \family default
19321  it is possible to set image coordinates to adjust the height and width
19322  of the image in the output.
19323  The coordinates can also be calculated automatically by pressing the button
19324  
19325 \family sans
19326 Get
19327 \begin_inset space ~
19328 \end_inset
19329
19330 from
19331 \begin_inset space ~
19332 \end_inset
19333
19334 file
19335 \family default
19336 .
19337  The option 
19338 \family sans
19339 Clip
19340 \begin_inset space ~
19341 \end_inset
19342
19343 to
19344 \begin_inset space ~
19345 \end_inset
19346
19347 bounding
19348 \begin_inset space ~
19349 \end_inset
19350
19351 box
19352 \family default
19353  will only print the image region within the given coordinates.
19354  Normally you don't need to take care about image coordinates and can ignore
19355  the tab 
19356 \family sans
19357 Clipping
19358 \family default
19359 .
19360 \end_layout
19361
19362 \begin_layout Standard
19363 In the 
19364 \family sans
19365 LaTeX
19366 \begin_inset space ~
19367 \end_inset
19368
19369 and
19370 \begin_inset space ~
19371 \end_inset
19372
19373 LyX options
19374 \family default
19375  tab \SpecialChar LaTeX
19376  experts can specify additional \SpecialChar LaTeX
19377  options.
19378  In this tab you can also specify the appearance of the image inside \SpecialChar LyX
19379 .
19380  The option 
19381 \family sans
19382 Draft
19383 \begin_inset space ~
19384 \end_inset
19385
19386 mode
19387 \family default
19388  has the effect that the image doesn't appear in the output, only a frame
19389  with the image size is printed.
19390 \end_layout
19391
19392 \begin_layout Standard
19393 The graphics dialog can be called at any time by clicking on an image.
19394  Images will appear in the output exactly at the position where they are
19395  in the text.
19396  This is an example image within a separate, horizontally centered paragraph:
19397 \end_layout
19398
19399 \begin_layout Standard
19400 \align center
19401 \begin_inset Graphics
19402         filename clipart/2D-intensity-plot.pdf
19403         scale 70
19404
19405 \end_inset
19406
19407
19408 \end_layout
19409
19410 \begin_layout Standard
19411 If you need image captions or want to reference images, you have to put
19412  the image into a float, see section
19413 \begin_inset space ~
19414 \end_inset
19415
19416
19417 \begin_inset CommandInset ref
19418 LatexCommand ref
19419 reference "subsec:Figure-Floats"
19420
19421 \end_inset
19422
19423 .
19424 \end_layout
19425
19426 \begin_layout Subsection
19427 Image Formats
19428 \begin_inset Index idx
19429 status collapsed
19430
19431 \begin_layout Plain Layout
19432 Images ! Formats
19433 \end_layout
19434
19435 \end_inset
19436
19437
19438 \begin_inset CommandInset label
19439 LatexCommand label
19440 name "subsec:Image-Formats"
19441
19442 \end_inset
19443
19444
19445 \end_layout
19446
19447 \begin_layout Standard
19448 You can insert images in any known file format.
19449  But as we explained in section
19450 \begin_inset space ~
19451 \end_inset
19452
19453
19454 \begin_inset CommandInset ref
19455 LatexCommand ref
19456 reference "subsec:Output-file-formats"
19457
19458 \end_inset
19459
19460 , every output document format allows only a few image formats.
19461  \SpecialChar LyX
19462  therefore uses the program 
19463 \family typewriter
19464 ImageMagick
19465 \family default
19466  in the background to convert the images to the right format.
19467  To increase your workflow by avoiding these conversions in the background,
19468  use only the image formats listed in the subsections of section
19469 \begin_inset space ~
19470 \end_inset
19471
19472
19473 \begin_inset CommandInset ref
19474 LatexCommand ref
19475 reference "subsec:Output-file-formats"
19476
19477 \end_inset
19478
19479 .
19480 \end_layout
19481
19482 \begin_layout Standard
19483 Similar to fonts there are two types of image formats:
19484 \end_layout
19485
19486 \begin_layout Description
19487 Bitmap
19488 \begin_inset space ~
19489 \end_inset
19490
19491 images consist of pixel values, often in a compressed form.
19492  They are therefore not fully scalable and look pixelated in large zooms.
19493  Well-known bitmap image formats are 
19494 \begin_inset Quotes eld
19495 \end_inset
19496
19497 Graphics Interchange Format
19498 \begin_inset Quotes erd
19499 \end_inset
19500
19501  (GIF, file extension 
19502 \begin_inset Quotes eld
19503 \end_inset
19504
19505
19506 \family typewriter
19507 .gif
19508 \family default
19509
19510 \begin_inset Quotes erd
19511 \end_inset
19512
19513 )
19514 \begin_inset Index idx
19515 status collapsed
19516
19517 \begin_layout Plain Layout
19518 GIF|see
19519 \begin_inset ERT
19520 status collapsed
19521
19522 \begin_layout Plain Layout
19523
19524 {
19525 \end_layout
19526
19527 \end_inset
19528
19529 Image formats
19530 \begin_inset ERT
19531 status collapsed
19532
19533 \begin_layout Plain Layout
19534
19535 }
19536 \end_layout
19537
19538 \end_inset
19539
19540
19541 \end_layout
19542
19543 \end_inset
19544
19545
19546 \begin_inset Quotes eld
19547 \end_inset
19548
19549 Portable Network Graphics
19550 \begin_inset Quotes erd
19551 \end_inset
19552
19553  (PNG, file extension 
19554 \begin_inset Quotes eld
19555 \end_inset
19556
19557
19558 \family typewriter
19559 .png
19560 \family default
19561
19562 \begin_inset Quotes erd
19563 \end_inset
19564
19565 )
19566 \begin_inset Index idx
19567 status collapsed
19568
19569 \begin_layout Plain Layout
19570 PNG|see
19571 \begin_inset ERT
19572 status collapsed
19573
19574 \begin_layout Plain Layout
19575
19576 {
19577 \end_layout
19578
19579 \end_inset
19580
19581 Image formats
19582 \begin_inset ERT
19583 status collapsed
19584
19585 \begin_layout Plain Layout
19586
19587 }
19588 \end_layout
19589
19590 \end_inset
19591
19592
19593 \end_layout
19594
19595 \end_inset
19596
19597 , and 
19598 \begin_inset Quotes eld
19599 \end_inset
19600
19601 Joint Photographic Experts Group
19602 \begin_inset Quotes erd
19603 \end_inset
19604
19605  (JPG, file extension 
19606 \begin_inset Quotes eld
19607 \end_inset
19608
19609
19610 \family typewriter
19611 .jpg
19612 \family default
19613
19614 \begin_inset Quotes erd
19615 \end_inset
19616
19617  or 
19618 \begin_inset Quotes eld
19619 \end_inset
19620
19621
19622 \family typewriter
19623 .jpeg
19624 \family default
19625
19626 \begin_inset Quotes erd
19627 \end_inset
19628
19629 )
19630 \begin_inset Index idx
19631 status collapsed
19632
19633 \begin_layout Plain Layout
19634 JPG|see
19635 \begin_inset ERT
19636 status collapsed
19637
19638 \begin_layout Plain Layout
19639
19640 {
19641 \end_layout
19642
19643 \end_inset
19644
19645 Image formats
19646 \begin_inset ERT
19647 status collapsed
19648
19649 \begin_layout Plain Layout
19650
19651 }
19652 \end_layout
19653
19654 \end_inset
19655
19656
19657 \end_layout
19658
19659 \end_inset
19660
19661 .
19662 \end_layout
19663
19664 \begin_layout Description
19665 Scalable
19666 \begin_inset space ~
19667 \end_inset
19668
19669 images consist of vectors and can therefore be scaled to any size without
19670  data loss.
19671  The scaling ability is desired if you want to create presentations, because
19672  presentations are always scaled by the beamer.
19673  Scaling is also useful for online documents to let the user zoom into diagrams.
19674 \begin_inset Newline newline
19675 \end_inset
19676
19677 Scalable image formats can be 
19678 \begin_inset Quotes eld
19679 \end_inset
19680
19681 Scalable Vector Graphics
19682 \begin_inset Quotes erd
19683 \end_inset
19684
19685  (SVG, file extension 
19686 \begin_inset Quotes eld
19687 \end_inset
19688
19689
19690 \family typewriter
19691 .svg
19692 \family default
19693
19694 \begin_inset Quotes erd
19695 \end_inset
19696
19697 )
19698 \begin_inset Index idx
19699 status collapsed
19700
19701 \begin_layout Plain Layout
19702 SVG|see
19703 \begin_inset ERT
19704 status collapsed
19705
19706 \begin_layout Plain Layout
19707
19708 {
19709 \end_layout
19710
19711 \end_inset
19712
19713 Image formats
19714 \begin_inset ERT
19715 status collapsed
19716
19717 \begin_layout Plain Layout
19718
19719 }
19720 \end_layout
19721
19722 \end_inset
19723
19724
19725 \end_layout
19726
19727 \end_inset
19728
19729
19730 \begin_inset Quotes eld
19731 \end_inset
19732
19733 Encapsulated PostScript
19734 \begin_inset Quotes erd
19735 \end_inset
19736
19737  (EPS, file extension 
19738 \begin_inset Quotes eld
19739 \end_inset
19740
19741
19742 \family typewriter
19743 .eps
19744 \family default
19745
19746 \begin_inset Quotes erd
19747 \end_inset
19748
19749 )
19750 \begin_inset Index idx
19751 status collapsed
19752
19753 \begin_layout Plain Layout
19754 EPS|see
19755 \begin_inset ERT
19756 status collapsed
19757
19758 \begin_layout Plain Layout
19759
19760 {
19761 \end_layout
19762
19763 \end_inset
19764
19765 Image formats
19766 \begin_inset ERT
19767 status collapsed
19768
19769 \begin_layout Plain Layout
19770
19771 }
19772 \end_layout
19773
19774 \end_inset
19775
19776
19777 \end_layout
19778
19779 \end_inset
19780
19781 , and 
19782 \begin_inset Quotes eld
19783 \end_inset
19784
19785 Portable Document Format
19786 \begin_inset Quotes erd
19787 \end_inset
19788
19789  (PDF, file extension 
19790 \begin_inset Quotes eld
19791 \end_inset
19792
19793
19794 \family typewriter
19795 .pdf
19796 \family default
19797
19798 \begin_inset Quotes erd
19799 \end_inset
19800
19801 )
19802 \begin_inset Index idx
19803 status collapsed
19804
19805 \begin_layout Plain Layout
19806 PDF
19807 \end_layout
19808
19809 \end_inset
19810
19811 .
19812  We say 
19813 \begin_inset Quotes eld
19814 \end_inset
19815
19816 can be
19817 \begin_inset Quotes erd
19818 \end_inset
19819
19820 , because you can convert any bitmap image format to PDF or EPS and the
19821  result will not be scalable.
19822  In this case only a header with the image properties is added to the original
19823  image.
19824 \begin_inset Foot
19825 status collapsed
19826
19827 \begin_layout Plain Layout
19828 In the case of PDF, the original image is additionally compressed.
19829 \end_layout
19830
19831 \end_inset
19832
19833
19834 \end_layout
19835
19836 \begin_layout Standard
19837 Normally one cannot convert a bitmap image into a scalable one, only 
19838 \emph on
19839 vice versa
19840 \emph default
19841 .
19842 \end_layout
19843
19844 \begin_layout Subsection
19845 Grouping of Image Settings
19846 \begin_inset Index idx
19847 status collapsed
19848
19849 \begin_layout Plain Layout
19850 Images ! Settings grouping
19851 \end_layout
19852
19853 \end_inset
19854
19855
19856 \end_layout
19857
19858 \begin_layout Standard
19859 Each image can define a new group of image settings or join an existing
19860  group.
19861  Images within such a group share their settings, so adjusting one image
19862  of the group automatically also adjusts all other images of the group in
19863  the same way.
19864  So you can for example change the size for a bunch of images without the
19865  need to manually change each of them.
19866  
19867 \end_layout
19868
19869 \begin_layout Standard
19870 A new group can be set by pressing the button 
19871 \family sans
19872 Open
19873 \begin_inset space ~
19874 \end_inset
19875
19876 new
19877 \begin_inset space ~
19878 \end_inset
19879
19880 group
19881 \family default
19882  in the
19883 \family sans
19884  Graphics
19885 \family default
19886  dialog in the 
19887 \family sans
19888 LaTeX
19889 \begin_inset space ~
19890 \end_inset
19891
19892 and
19893 \begin_inset space ~
19894 \end_inset
19895
19896 LyX options
19897 \family default
19898  tab.
19899  Joining an existing group can be done using the context menu of the image
19900  and checking the name of the desired group.
19901 \end_layout
19902
19903 \begin_layout Section
19904 Tables
19905 \begin_inset Index idx
19906 status collapsed
19907
19908 \begin_layout Plain Layout
19909 Tables
19910 \end_layout
19911
19912 \end_inset
19913
19914
19915 \begin_inset CommandInset label
19916 LatexCommand label
19917 name "sec:Tables"
19918
19919 \end_inset
19920
19921
19922 \end_layout
19923
19924 \begin_layout Standard
19925 You can insert a table using either the toolbar button 
19926 \begin_inset Info
19927 type  "icon"
19928 arg   "tabular-insert"
19929 \end_inset
19930
19931  or the menu 
19932 \family sans
19933 Insert\SpecialChar menuseparator
19934 Table
19935 \family default
19936 .
19937  A dialog will appear, asking you for the number of rows and columns.
19938  The default table has lines around any cell and the first row appears separated
19939  from the rest of the table.
19940  This separation appears due to a double line: The cells of the first row
19941  have a line below them and the cells of the second row have a line above
19942  them.
19943  Here is an example table:
19944 \end_layout
19945
19946 \begin_layout Standard
19947 \align center
19948 \begin_inset Tabular
19949 <lyxtabular version="3" rows="4" columns="4">
19950 <features tabularvalignment="middle">
19951 <column alignment="center" valignment="top" width="0pt">
19952 <column alignment="center" valignment="top" width="0pt">
19953 <column alignment="center" valignment="top" width="0in">
19954 <column alignment="center" valignment="top" width="0pt">
19955 <row>
19956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19957 \begin_inset Text
19958
19959 \begin_layout Plain Layout
19960
19961 \end_layout
19962
19963 \end_inset
19964 </cell>
19965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19966 \begin_inset Text
19967
19968 \begin_layout Plain Layout
19969
19970 \family roman
19971 \series medium
19972 \shape up
19973 \size normal
19974 \emph off
19975 \bar no
19976 \noun off
19977 \color none
19978 1
19979 \end_layout
19980
19981 \end_inset
19982 </cell>
19983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19984 \begin_inset Text
19985
19986 \begin_layout Plain Layout
19987 2
19988 \end_layout
19989
19990 \end_inset
19991 </cell>
19992 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19993 \begin_inset Text
19994
19995 \begin_layout Plain Layout
19996 3
19997 \end_layout
19998
19999 \end_inset
20000 </cell>
20001 </row>
20002 <row>
20003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20004 \begin_inset Text
20005
20006 \begin_layout Plain Layout
20007
20008 \family roman
20009 \series medium
20010 \shape up
20011 \size normal
20012 \emph off
20013 \bar no
20014 \noun off
20015 \color none
20016 A
20017 \end_layout
20018
20019 \end_inset
20020 </cell>
20021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20022 \begin_inset Text
20023
20024 \begin_layout Plain Layout
20025
20026 \end_layout
20027
20028 \end_inset
20029 </cell>
20030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20031 \begin_inset Text
20032
20033 \begin_layout Plain Layout
20034
20035 \end_layout
20036
20037 \end_inset
20038 </cell>
20039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20040 \begin_inset Text
20041
20042 \begin_layout Plain Layout
20043
20044 \end_layout
20045
20046 \end_inset
20047 </cell>
20048 </row>
20049 <row>
20050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20051 \begin_inset Text
20052
20053 \begin_layout Plain Layout
20054
20055 \family roman
20056 \series medium
20057 \shape up
20058 \size normal
20059 \emph off
20060 \bar no
20061 \noun off
20062 \color none
20063 B
20064 \end_layout
20065
20066 \end_inset
20067 </cell>
20068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20069 \begin_inset Text
20070
20071 \begin_layout Plain Layout
20072
20073 \end_layout
20074
20075 \end_inset
20076 </cell>
20077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20078 \begin_inset Text
20079
20080 \begin_layout Plain Layout
20081
20082 \size normal
20083 \noun off
20084 \color none
20085  
20086 \end_layout
20087
20088 \end_inset
20089 </cell>
20090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20091 \begin_inset Text
20092
20093 \begin_layout Plain Layout
20094
20095 \end_layout
20096
20097 \end_inset
20098 </cell>
20099 </row>
20100 <row>
20101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20102 \begin_inset Text
20103
20104 \begin_layout Plain Layout
20105
20106 \family roman
20107 \series medium
20108 \shape up
20109 \size normal
20110 \emph off
20111 \bar no
20112 \noun off
20113 \color none
20114 C
20115 \end_layout
20116
20117 \end_inset
20118 </cell>
20119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20120 \begin_inset Text
20121
20122 \begin_layout Plain Layout
20123
20124 \end_layout
20125
20126 \end_inset
20127 </cell>
20128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20129 \begin_inset Text
20130
20131 \begin_layout Plain Layout
20132
20133 \end_layout
20134
20135 \end_inset
20136 </cell>
20137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20138 \begin_inset Text
20139
20140 \begin_layout Plain Layout
20141
20142 \end_layout
20143
20144 \end_inset
20145 </cell>
20146 </row>
20147 </lyxtabular>
20148
20149 \end_inset
20150
20151
20152 \end_layout
20153
20154 \begin_layout Subsection
20155 Table Dialog
20156 \end_layout
20157
20158 \begin_layout Standard
20159 You can alter a table by clicking on it with the right mouse button and
20160  then choosing 
20161 \family sans
20162 More\SpecialChar menuseparator
20163 Settings
20164 \family default
20165 .
20166  This brings up the table dialog.
20167  Here you can adjust the settings of the cell, row and/or column where the
20168  cursor is placed currently.
20169  Most of the dialog options also work on selections.
20170  This means that if you select more cells, columns or rows the action is
20171  done on all of your selection.
20172 \end_layout
20173
20174 \begin_layout Standard
20175 In addition to the table dialog, the 
20176 \family sans
20177 table
20178 \begin_inset space ~
20179 \end_inset
20180
20181 toolbar
20182 \family default
20183  helps you in setting table properties.
20184  It appears if the cursor is inside a table.
20185 \end_layout
20186
20187 \begin_layout Standard
20188 In the tab 
20189 \family sans
20190 Table
20191 \begin_inset space ~
20192 \end_inset
20193
20194 Settings
20195 \family default
20196  of the table dialog you can set the alignment for the current row.
20197  If you add a row or column, it will be inserted right beside or below the
20198  current cell respectively.
20199  The vertical alignment of a column can only be adjusted when a column width
20200  is given.
20201  A given width will allow the cell to have line breaks and multiple paragraphs
20202  of text, see section
20203 \begin_inset space ~
20204 \end_inset
20205
20206
20207 \begin_inset CommandInset ref
20208 LatexCommand ref
20209 reference "subsec:Table-Cells"
20210
20211 \end_inset
20212
20213 .
20214 \end_layout
20215
20216 \begin_layout Standard
20217 You can mark multiple cells of one row/column as a multicolumn/row cell
20218  using the check box 
20219 \family sans
20220 Multicolumn
20221 \family default
20222  or 
20223 \family sans
20224 Multirow
20225 \family default
20226 .
20227  This will merge the cells to 
20228 \emph on
20229 one
20230 \emph default
20231  cell, spread over more than one column/row.
20232  Multicolumn cells are treated as own rows, so that the alignment, width,
20233  and border settings affect only the multicolumn cell.
20234  Here is an example table with a multicolumn cell in the first row and one
20235  in the last row without the upper border:
20236 \end_layout
20237
20238 \begin_layout Standard
20239 \align center
20240 \begin_inset Tabular
20241 <lyxtabular version="3" rows="3" columns="4">
20242 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
20243 <column alignment="center" valignment="top" width="0pt">
20244 <column alignment="center" valignment="middle">
20245 <column alignment="center" valignment="top" width="0in">
20246 <column alignment="center" valignment="top" width="0pt">
20247 <row>
20248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20249 \begin_inset Text
20250
20251 \begin_layout Plain Layout
20252 abc
20253 \end_layout
20254
20255 \end_inset
20256 </cell>
20257 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
20258 \begin_inset Text
20259
20260 \begin_layout Plain Layout
20261 def ghi
20262 \end_layout
20263
20264 \end_inset
20265 </cell>
20266 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20267 \begin_inset Text
20268
20269 \begin_layout Plain Layout
20270
20271 \end_layout
20272
20273 \end_inset
20274 </cell>
20275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20276 \begin_inset Text
20277
20278 \begin_layout Plain Layout
20279 jkl
20280 \end_layout
20281
20282 \end_inset
20283 </cell>
20284 </row>
20285 <row>
20286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20287 \begin_inset Text
20288
20289 \begin_layout Plain Layout
20290
20291 \family roman
20292 \series medium
20293 \shape up
20294 \size normal
20295 \emph off
20296 \bar no
20297 \noun off
20298 \color none
20299 A
20300 \end_layout
20301
20302 \end_inset
20303 </cell>
20304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20305 \begin_inset Text
20306
20307 \begin_layout Plain Layout
20308 B
20309 \end_layout
20310
20311 \end_inset
20312 </cell>
20313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20314 \begin_inset Text
20315
20316 \begin_layout Plain Layout
20317 C
20318 \end_layout
20319
20320 \end_inset
20321 </cell>
20322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20323 \begin_inset Text
20324
20325 \begin_layout Plain Layout
20326 D
20327 \end_layout
20328
20329 \end_inset
20330 </cell>
20331 </row>
20332 <row>
20333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20334 \begin_inset Text
20335
20336 \begin_layout Plain Layout
20337 1
20338 \end_layout
20339
20340 \end_inset
20341 </cell>
20342 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20343 \begin_inset Text
20344
20345 \begin_layout Plain Layout
20346 2
20347 \end_layout
20348
20349 \end_inset
20350 </cell>
20351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20352 \begin_inset Text
20353
20354 \begin_layout Plain Layout
20355 3
20356 \end_layout
20357
20358 \end_inset
20359 </cell>
20360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20361 \begin_inset Text
20362
20363 \begin_layout Plain Layout
20364 4
20365 \end_layout
20366
20367 \end_inset
20368 </cell>
20369 </row>
20370 </lyxtabular>
20371
20372 \end_inset
20373
20374
20375 \end_layout
20376
20377 \begin_layout Standard
20378 Adept users can declare special \SpecialChar LaTeX
20379 -arguments for the table.
20380  They are necessary for special table formatting, such as the multirow cells,
20381  explained in the chapter 
20382 \emph on
20383 Tables
20384 \emph default
20385  of the 
20386 \emph on
20387 Embedded
20388 \begin_inset space ~
20389 \end_inset
20390
20391 Objects
20392 \emph default
20393  manual.
20394  You can also rotate the current cell or the whole table.
20395  These rotations are not visible in \SpecialChar LyX
20396  but are visible in the output.
20397 \end_layout
20398
20399 \begin_layout Standard
20400 \begin_inset Note Greyedout
20401 status open
20402
20403 \begin_layout Plain Layout
20404
20405 \series bold
20406 Note:
20407 \series default
20408  Most DVI-viewers are 
20409 \emph on
20410 not
20411 \emph default
20412  able to display rotations.
20413 \end_layout
20414
20415 \end_inset
20416
20417
20418 \end_layout
20419
20420 \begin_layout Standard
20421 The 
20422 \family sans
20423 Borders
20424 \family default
20425  tab allows you to add and delete border lines for the current row/column.
20426  The button 
20427 \family sans
20428 Default
20429 \family default
20430  adds lines for all cell borders.
20431 \end_layout
20432
20433 \begin_layout Subsection
20434 Multi-page Tables
20435 \begin_inset Index idx
20436 status collapsed
20437
20438 \begin_layout Plain Layout
20439 Tables ! Multi-page
20440 \end_layout
20441
20442 \end_inset
20443
20444
20445 \begin_inset Index idx
20446 status collapsed
20447
20448 \begin_layout Plain Layout
20449 Multi-page tables
20450 \end_layout
20451
20452 \end_inset
20453
20454
20455 \end_layout
20456
20457 \begin_layout Standard
20458 If the table is too long to fit on one page, you can use the option 
20459 \family sans
20460 Use
20461 \begin_inset space ~
20462 \end_inset
20463
20464 multi-page
20465 \begin_inset space ~
20466 \end_inset
20467
20468 table
20469 \family default
20470  in the tab 
20471 \family sans
20472 Multi-page
20473 \begin_inset space ~
20474 \end_inset
20475
20476 table
20477 \family default
20478  of the table dialog to split the table automatically over more pages.
20479  Doing this enables some check boxes and you can now define:
20480 \end_layout
20481
20482 \begin_layout Description
20483
20484 \family sans
20485 Header
20486 \family default
20487 : The current row and all rows above, that don't have any special options
20488  defined, are defined to be the header rows of all pages of the longtable.
20489  Except for the first page, if 
20490 \family sans
20491 First
20492 \begin_inset space ~
20493 \end_inset
20494
20495 header
20496 \family default
20497  is defined.
20498 \end_layout
20499
20500 \begin_layout Description
20501
20502 \family sans
20503 First
20504 \begin_inset space ~
20505 \end_inset
20506
20507 header
20508 \family default
20509 : The current row and all rows above, that don't have any special options
20510  defined, are defined to be the header rows of the first page of the longtable.
20511 \end_layout
20512
20513 \begin_layout Description
20514
20515 \family sans
20516 Footer
20517 \family default
20518 : The current row and all rows below, that don't have any special options
20519  defined, are defined to be the footer rows of all pages of the longtable,
20520  except for the last page, if 
20521 \family sans
20522 Last
20523 \begin_inset space ~
20524 \end_inset
20525
20526 footer
20527 \family default
20528  is defined.
20529 \end_layout
20530
20531 \begin_layout Description
20532
20533 \family sans
20534 Last
20535 \begin_inset space ~
20536 \end_inset
20537
20538 footer
20539 \family default
20540 : The current row and all rows below, that don't have any special options
20541  defined, are defined to be the footer rows of the last page of the longtable.
20542 \end_layout
20543
20544 \begin_layout Description
20545 Caption: The first row is reset as a single column.
20546  You can now insert there the table caption via the menu 
20547 \family sans
20548 Insert\SpecialChar menuseparator
20549 Caption
20550 \family default
20551 .
20552  More about multi-page table captions can be found in the 
20553 \emph on
20554 Embedded
20555 \begin_inset space ~
20556 \end_inset
20557
20558 Objects
20559 \emph default
20560  manual.
20561 \end_layout
20562
20563 \begin_layout Standard
20564 You can also specify a row where the table is split.
20565  If you set more than one option in the same table row, you should be aware
20566  that then only the first option is used; the others will be defined as
20567  
20568 \emph on
20569 empty
20570 \emph default
20571 .
20572  In this context, first means first in this order: 
20573 \family sans
20574 Footer, Last
20575 \begin_inset space ~
20576 \end_inset
20577
20578 footer,
20579 \family default
20580  
20581 \family sans
20582 Header,
20583 \family default
20584  
20585 \family sans
20586 First
20587 \begin_inset space ~
20588 \end_inset
20589
20590 header
20591 \family default
20592 ; see the following longtable to see how it works:
20593 \end_layout
20594
20595 \begin_layout Standard
20596 \align center
20597 \begin_inset Tabular
20598 <lyxtabular version="3" rows="69" columns="3">
20599 <features islongtable="true" longtabularalignment="center">
20600 <column alignment="block" valignment="top" width="5cm">
20601 <column alignment="left" valignment="top" width="0pt">
20602 <column alignment="right" valignment="top" width="0pt">
20603 <row endfirsthead="true">
20604 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20605 \begin_inset Text
20606
20607 \begin_layout Plain Layout
20608
20609 \series bold
20610 Example Phone List (ignore the names)
20611 \end_layout
20612
20613 \end_inset
20614 </cell>
20615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20616 \begin_inset Text
20617
20618 \begin_layout Plain Layout
20619
20620 \end_layout
20621
20622 \end_inset
20623 </cell>
20624 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20625 \begin_inset Text
20626
20627 \begin_layout Plain Layout
20628
20629 \end_layout
20630
20631 \end_inset
20632 </cell>
20633 </row>
20634 <row endfirsthead="true">
20635 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20636 \begin_inset Text
20637
20638 \begin_layout Plain Layout
20639
20640 \series bold
20641 NAME
20642 \end_layout
20643
20644 \end_inset
20645 </cell>
20646 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20647 \begin_inset Text
20648
20649 \begin_layout Plain Layout
20650
20651 \end_layout
20652
20653 \end_inset
20654 </cell>
20655 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20656 \begin_inset Text
20657
20658 \begin_layout Plain Layout
20659
20660 \series bold
20661 TEL.
20662 \end_layout
20663
20664 \end_inset
20665 </cell>
20666 </row>
20667 <row endhead="true">
20668 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20669 \begin_inset Text
20670
20671 \begin_layout Plain Layout
20672  
20673 \series bold
20674 Example Phone List
20675 \end_layout
20676
20677 \end_inset
20678 </cell>
20679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20680 \begin_inset Text
20681
20682 \begin_layout Plain Layout
20683
20684 \end_layout
20685
20686 \end_inset
20687 </cell>
20688 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20689 \begin_inset Text
20690
20691 \begin_layout Plain Layout
20692
20693 \end_layout
20694
20695 \end_inset
20696 </cell>
20697 </row>
20698 <row endhead="true">
20699 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20700 \begin_inset Text
20701
20702 \begin_layout Plain Layout
20703
20704 \series bold
20705 NAME
20706 \end_layout
20707
20708 \end_inset
20709 </cell>
20710 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20711 \begin_inset Text
20712
20713 \begin_layout Plain Layout
20714
20715 \end_layout
20716
20717 \end_inset
20718 </cell>
20719 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20720 \begin_inset Text
20721
20722 \begin_layout Plain Layout
20723
20724 \series bold
20725 TEL.
20726 \end_layout
20727
20728 \end_inset
20729 </cell>
20730 </row>
20731 <row endfoot="true">
20732 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20733 \begin_inset Text
20734
20735 \begin_layout Plain Layout
20736  
20737 \series bold
20738 continue ...
20739 \end_layout
20740
20741 \end_inset
20742 </cell>
20743 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20744 \begin_inset Text
20745
20746 \begin_layout Plain Layout
20747
20748 \end_layout
20749
20750 \end_inset
20751 </cell>
20752 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20753 \begin_inset Text
20754
20755 \begin_layout Plain Layout
20756
20757 \end_layout
20758
20759 \end_inset
20760 </cell>
20761 </row>
20762 <row>
20763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20764 \begin_inset Text
20765
20766 \begin_layout Plain Layout
20767
20768 \series bold
20769 Annovi
20770 \end_layout
20771
20772 \end_inset
20773 </cell>
20774 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20775 \begin_inset Text
20776
20777 \begin_layout Plain Layout
20778 Silvia
20779 \end_layout
20780
20781 \end_inset
20782 </cell>
20783 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20784 \begin_inset Text
20785
20786 \begin_layout Plain Layout
20787 111
20788 \end_layout
20789
20790 \end_inset
20791 </cell>
20792 </row>
20793 <row>
20794 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20795 \begin_inset Text
20796
20797 \begin_layout Plain Layout
20798
20799 \series bold
20800 Bertoli
20801 \end_layout
20802
20803 \end_inset
20804 </cell>
20805 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20806 \begin_inset Text
20807
20808 \begin_layout Plain Layout
20809 Stefano
20810 \end_layout
20811
20812 \end_inset
20813 </cell>
20814 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20815 \begin_inset Text
20816
20817 \begin_layout Plain Layout
20818 111
20819 \end_layout
20820
20821 \end_inset
20822 </cell>
20823 </row>
20824 <row>
20825 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20826 \begin_inset Text
20827
20828 \begin_layout Plain Layout
20829
20830 \series bold
20831 Bozzi
20832 \end_layout
20833
20834 \end_inset
20835 </cell>
20836 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20837 \begin_inset Text
20838
20839 \begin_layout Plain Layout
20840 Walter
20841 \end_layout
20842
20843 \end_inset
20844 </cell>
20845 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20846 \begin_inset Text
20847
20848 \begin_layout Plain Layout
20849 111
20850 \end_layout
20851
20852 \end_inset
20853 </cell>
20854 </row>
20855 <row>
20856 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20857 \begin_inset Text
20858
20859 \begin_layout Plain Layout
20860
20861 \series bold
20862 Cachia
20863 \end_layout
20864
20865 \end_inset
20866 </cell>
20867 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20868 \begin_inset Text
20869
20870 \begin_layout Plain Layout
20871 Maria
20872 \end_layout
20873
20874 \end_inset
20875 </cell>
20876 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20877 \begin_inset Text
20878
20879 \begin_layout Plain Layout
20880 111
20881 \end_layout
20882
20883 \end_inset
20884 </cell>
20885 </row>
20886 <row>
20887 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20888 \begin_inset Text
20889
20890 \begin_layout Plain Layout
20891
20892 \series bold
20893 Cachia
20894 \end_layout
20895
20896 \end_inset
20897 </cell>
20898 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20899 \begin_inset Text
20900
20901 \begin_layout Plain Layout
20902 Maurizio
20903 \end_layout
20904
20905 \end_inset
20906 </cell>
20907 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20908 \begin_inset Text
20909
20910 \begin_layout Plain Layout
20911 111
20912 \end_layout
20913
20914 \end_inset
20915 </cell>
20916 </row>
20917 <row>
20918 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20919 \begin_inset Text
20920
20921 \begin_layout Plain Layout
20922
20923 \series bold
20924 Cinquemani
20925 \end_layout
20926
20927 \end_inset
20928 </cell>
20929 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20930 \begin_inset Text
20931
20932 \begin_layout Plain Layout
20933 Giusi
20934 \end_layout
20935
20936 \end_inset
20937 </cell>
20938 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20939 \begin_inset Text
20940
20941 \begin_layout Plain Layout
20942 111
20943 \end_layout
20944
20945 \end_inset
20946 </cell>
20947 </row>
20948 <row>
20949 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20950 \begin_inset Text
20951
20952 \begin_layout Plain Layout
20953
20954 \series bold
20955 Colin
20956 \end_layout
20957
20958 \end_inset
20959 </cell>
20960 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20961 \begin_inset Text
20962
20963 \begin_layout Plain Layout
20964 Bernard
20965 \end_layout
20966
20967 \end_inset
20968 </cell>
20969 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20970 \begin_inset Text
20971
20972 \begin_layout Plain Layout
20973 111
20974 \end_layout
20975
20976 \end_inset
20977 </cell>
20978 </row>
20979 <row>
20980 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20981 \begin_inset Text
20982
20983 \begin_layout Plain Layout
20984
20985 \series bold
20986 Concli
20987 \end_layout
20988
20989 \end_inset
20990 </cell>
20991 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20992 \begin_inset Text
20993
20994 \begin_layout Plain Layout
20995 Gianfranco
20996 \end_layout
20997
20998 \end_inset
20999 </cell>
21000 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21001 \begin_inset Text
21002
21003 \begin_layout Plain Layout
21004 111
21005 \end_layout
21006
21007 \end_inset
21008 </cell>
21009 </row>
21010 <row>
21011 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21012 \begin_inset Text
21013
21014 \begin_layout Plain Layout
21015
21016 \series bold
21017 Dal Bosco
21018 \end_layout
21019
21020 \end_inset
21021 </cell>
21022 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21023 \begin_inset Text
21024
21025 \begin_layout Plain Layout
21026 Carolina
21027 \end_layout
21028
21029 \end_inset
21030 </cell>
21031 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21032 \begin_inset Text
21033
21034 \begin_layout Plain Layout
21035 111
21036 \end_layout
21037
21038 \end_inset
21039 </cell>
21040 </row>
21041 <row>
21042 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21043 \begin_inset Text
21044
21045 \begin_layout Plain Layout
21046
21047 \series bold
21048 Dalpiaz
21049 \end_layout
21050
21051 \end_inset
21052 </cell>
21053 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21054 \begin_inset Text
21055
21056 \begin_layout Plain Layout
21057 Annamaria
21058 \end_layout
21059
21060 \end_inset
21061 </cell>
21062 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21063 \begin_inset Text
21064
21065 \begin_layout Plain Layout
21066 111
21067 \end_layout
21068
21069 \end_inset
21070 </cell>
21071 </row>
21072 <row>
21073 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21074 \begin_inset Text
21075
21076 \begin_layout Plain Layout
21077
21078 \series bold
21079 Feliciello
21080 \end_layout
21081
21082 \end_inset
21083 </cell>
21084 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21085 \begin_inset Text
21086
21087 \begin_layout Plain Layout
21088 Domenico
21089 \end_layout
21090
21091 \end_inset
21092 </cell>
21093 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21094 \begin_inset Text
21095
21096 \begin_layout Plain Layout
21097 111
21098 \end_layout
21099
21100 \end_inset
21101 </cell>
21102 </row>
21103 <row>
21104 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21105 \begin_inset Text
21106
21107 \begin_layout Plain Layout
21108
21109 \series bold
21110 Focarelli
21111 \end_layout
21112
21113 \end_inset
21114 </cell>
21115 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21116 \begin_inset Text
21117
21118 \begin_layout Plain Layout
21119 Paola
21120 \end_layout
21121
21122 \end_inset
21123 </cell>
21124 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21125 \begin_inset Text
21126
21127 \begin_layout Plain Layout
21128 111
21129 \end_layout
21130
21131 \end_inset
21132 </cell>
21133 </row>
21134 <row>
21135 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21136 \begin_inset Text
21137
21138 \begin_layout Plain Layout
21139
21140 \series bold
21141 Galletti
21142 \end_layout
21143
21144 \end_inset
21145 </cell>
21146 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21147 \begin_inset Text
21148
21149 \begin_layout Plain Layout
21150 Oreste
21151 \end_layout
21152
21153 \end_inset
21154 </cell>
21155 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21156 \begin_inset Text
21157
21158 \begin_layout Plain Layout
21159 111
21160 \end_layout
21161
21162 \end_inset
21163 </cell>
21164 </row>
21165 <row>
21166 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21167 \begin_inset Text
21168
21169 \begin_layout Plain Layout
21170
21171 \series bold
21172 Gasparini
21173 \end_layout
21174
21175 \end_inset
21176 </cell>
21177 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21178 \begin_inset Text
21179
21180 \begin_layout Plain Layout
21181 Franca
21182 \end_layout
21183
21184 \end_inset
21185 </cell>
21186 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21187 \begin_inset Text
21188
21189 \begin_layout Plain Layout
21190 111
21191 \end_layout
21192
21193 \end_inset
21194 </cell>
21195 </row>
21196 <row>
21197 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21198 \begin_inset Text
21199
21200 \begin_layout Plain Layout
21201
21202 \series bold
21203 Rizzardi
21204 \end_layout
21205
21206 \end_inset
21207 </cell>
21208 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21209 \begin_inset Text
21210
21211 \begin_layout Plain Layout
21212 Paola
21213 \end_layout
21214
21215 \end_inset
21216 </cell>
21217 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21218 \begin_inset Text
21219
21220 \begin_layout Plain Layout
21221 111
21222 \end_layout
21223
21224 \end_inset
21225 </cell>
21226 </row>
21227 <row>
21228 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21229 \begin_inset Text
21230
21231 \begin_layout Plain Layout
21232
21233 \series bold
21234 Lassini
21235 \end_layout
21236
21237 \end_inset
21238 </cell>
21239 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21240 \begin_inset Text
21241
21242 \begin_layout Plain Layout
21243 Giancarlo
21244 \end_layout
21245
21246 \end_inset
21247 </cell>
21248 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21249 \begin_inset Text
21250
21251 \begin_layout Plain Layout
21252 111
21253 \end_layout
21254
21255 \end_inset
21256 </cell>
21257 </row>
21258 <row>
21259 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21260 \begin_inset Text
21261
21262 \begin_layout Plain Layout
21263
21264 \series bold
21265 Malfatti
21266 \end_layout
21267
21268 \end_inset
21269 </cell>
21270 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21271 \begin_inset Text
21272
21273 \begin_layout Plain Layout
21274 Luciano
21275 \end_layout
21276
21277 \end_inset
21278 </cell>
21279 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21280 \begin_inset Text
21281
21282 \begin_layout Plain Layout
21283 111
21284 \end_layout
21285
21286 \end_inset
21287 </cell>
21288 </row>
21289 <row>
21290 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21291 \begin_inset Text
21292
21293 \begin_layout Plain Layout
21294
21295 \series bold
21296 Malfatti
21297 \end_layout
21298
21299 \end_inset
21300 </cell>
21301 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21302 \begin_inset Text
21303
21304 \begin_layout Plain Layout
21305 Valeriano
21306 \end_layout
21307
21308 \end_inset
21309 </cell>
21310 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21311 \begin_inset Text
21312
21313 \begin_layout Plain Layout
21314 111
21315 \end_layout
21316
21317 \end_inset
21318 </cell>
21319 </row>
21320 <row>
21321 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21322 \begin_inset Text
21323
21324 \begin_layout Plain Layout
21325
21326 \series bold
21327 Meneguzzo
21328 \end_layout
21329
21330 \end_inset
21331 </cell>
21332 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21333 \begin_inset Text
21334
21335 \begin_layout Plain Layout
21336 Roberto
21337 \end_layout
21338
21339 \end_inset
21340 </cell>
21341 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21342 \begin_inset Text
21343
21344 \begin_layout Plain Layout
21345 111
21346 \end_layout
21347
21348 \end_inset
21349 </cell>
21350 </row>
21351 <row>
21352 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21353 \begin_inset Text
21354
21355 \begin_layout Plain Layout
21356
21357 \series bold
21358 Mezzadra
21359 \end_layout
21360
21361 \end_inset
21362 </cell>
21363 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21364 \begin_inset Text
21365
21366 \begin_layout Plain Layout
21367 Roberto
21368 \end_layout
21369
21370 \end_inset
21371 </cell>
21372 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21373 \begin_inset Text
21374
21375 \begin_layout Plain Layout
21376 111
21377 \end_layout
21378
21379 \end_inset
21380 </cell>
21381 </row>
21382 <row>
21383 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21384 \begin_inset Text
21385
21386 \begin_layout Plain Layout
21387
21388 \series bold
21389 Pirpamer
21390 \end_layout
21391
21392 \end_inset
21393 </cell>
21394 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21395 \begin_inset Text
21396
21397 \begin_layout Plain Layout
21398 Erich
21399 \end_layout
21400
21401 \end_inset
21402 </cell>
21403 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21404 \begin_inset Text
21405
21406 \begin_layout Plain Layout
21407 111
21408 \end_layout
21409
21410 \end_inset
21411 </cell>
21412 </row>
21413 <row>
21414 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21415 \begin_inset Text
21416
21417 \begin_layout Plain Layout
21418
21419 \series bold
21420 Pochiesa
21421 \end_layout
21422
21423 \end_inset
21424 </cell>
21425 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21426 \begin_inset Text
21427
21428 \begin_layout Plain Layout
21429 Paolo
21430 \end_layout
21431
21432 \end_inset
21433 </cell>
21434 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21435 \begin_inset Text
21436
21437 \begin_layout Plain Layout
21438 111, 222
21439 \end_layout
21440
21441 \end_inset
21442 </cell>
21443 </row>
21444 <row>
21445 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21446 \begin_inset Text
21447
21448 \begin_layout Plain Layout
21449
21450 \series bold
21451 Radina
21452 \end_layout
21453
21454 \end_inset
21455 </cell>
21456 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21457 \begin_inset Text
21458
21459 \begin_layout Plain Layout
21460 Claudio
21461 \end_layout
21462
21463 \end_inset
21464 </cell>
21465 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21466 \begin_inset Text
21467
21468 \begin_layout Plain Layout
21469 111
21470 \end_layout
21471
21472 \end_inset
21473 </cell>
21474 </row>
21475 <row>
21476 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21477 \begin_inset Text
21478
21479 \begin_layout Plain Layout
21480
21481 \series bold
21482 Stuffer
21483 \end_layout
21484
21485 \end_inset
21486 </cell>
21487 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21488 \begin_inset Text
21489
21490 \begin_layout Plain Layout
21491 Oskar
21492 \end_layout
21493
21494 \end_inset
21495 </cell>
21496 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21497 \begin_inset Text
21498
21499 \begin_layout Plain Layout
21500 111
21501 \end_layout
21502
21503 \end_inset
21504 </cell>
21505 </row>
21506 <row>
21507 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21508 \begin_inset Text
21509
21510 \begin_layout Plain Layout
21511
21512 \series bold
21513 Tacchelli
21514 \end_layout
21515
21516 \end_inset
21517 </cell>
21518 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21519 \begin_inset Text
21520
21521 \begin_layout Plain Layout
21522 Ugo
21523 \end_layout
21524
21525 \end_inset
21526 </cell>
21527 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21528 \begin_inset Text
21529
21530 \begin_layout Plain Layout
21531 111
21532 \end_layout
21533
21534 \end_inset
21535 </cell>
21536 </row>
21537 <row>
21538 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21539 \begin_inset Text
21540
21541 \begin_layout Plain Layout
21542
21543 \series bold
21544 Tezzele
21545 \end_layout
21546
21547 \end_inset
21548 </cell>
21549 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21550 \begin_inset Text
21551
21552 \begin_layout Plain Layout
21553 Margit
21554 \end_layout
21555
21556 \end_inset
21557 </cell>
21558 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21559 \begin_inset Text
21560
21561 \begin_layout Plain Layout
21562 111
21563 \end_layout
21564
21565 \end_inset
21566 </cell>
21567 </row>
21568 <row>
21569 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21570 \begin_inset Text
21571
21572 \begin_layout Plain Layout
21573
21574 \series bold
21575 Unterkalmsteiner
21576 \end_layout
21577
21578 \end_inset
21579 </cell>
21580 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21581 \begin_inset Text
21582
21583 \begin_layout Plain Layout
21584 Frieda
21585 \end_layout
21586
21587 \end_inset
21588 </cell>
21589 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21590 \begin_inset Text
21591
21592 \begin_layout Plain Layout
21593 111
21594 \end_layout
21595
21596 \end_inset
21597 </cell>
21598 </row>
21599 <row>
21600 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21601 \begin_inset Text
21602
21603 \begin_layout Plain Layout
21604
21605 \series bold
21606 Vieider
21607 \end_layout
21608
21609 \end_inset
21610 </cell>
21611 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21612 \begin_inset Text
21613
21614 \begin_layout Plain Layout
21615 Hilde
21616 \end_layout
21617
21618 \end_inset
21619 </cell>
21620 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21621 \begin_inset Text
21622
21623 \begin_layout Plain Layout
21624 111
21625 \end_layout
21626
21627 \end_inset
21628 </cell>
21629 </row>
21630 <row>
21631 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21632 \begin_inset Text
21633
21634 \begin_layout Plain Layout
21635
21636 \series bold
21637 Vigna
21638 \end_layout
21639
21640 \end_inset
21641 </cell>
21642 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21643 \begin_inset Text
21644
21645 \begin_layout Plain Layout
21646 Jürgen
21647 \end_layout
21648
21649 \end_inset
21650 </cell>
21651 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21652 \begin_inset Text
21653
21654 \begin_layout Plain Layout
21655 111
21656 \end_layout
21657
21658 \end_inset
21659 </cell>
21660 </row>
21661 <row>
21662 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21663 \begin_inset Text
21664
21665 \begin_layout Plain Layout
21666
21667 \series bold
21668 Weber
21669 \end_layout
21670
21671 \end_inset
21672 </cell>
21673 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21674 \begin_inset Text
21675
21676 \begin_layout Plain Layout
21677 Maurizio
21678 \end_layout
21679
21680 \end_inset
21681 </cell>
21682 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21683 \begin_inset Text
21684
21685 \begin_layout Plain Layout
21686 111
21687 \end_layout
21688
21689 \end_inset
21690 </cell>
21691 </row>
21692 <row>
21693 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21694 \begin_inset Text
21695
21696 \begin_layout Plain Layout
21697
21698 \series bold
21699 Winkler
21700 \end_layout
21701
21702 \end_inset
21703 </cell>
21704 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21705 \begin_inset Text
21706
21707 \begin_layout Plain Layout
21708 Franz
21709 \end_layout
21710
21711 \end_inset
21712 </cell>
21713 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21714 \begin_inset Text
21715
21716 \begin_layout Plain Layout
21717 111
21718 \end_layout
21719
21720 \end_inset
21721 </cell>
21722 </row>
21723 <row>
21724 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21725 \begin_inset Text
21726
21727 \begin_layout Plain Layout
21728  
21729 \end_layout
21730
21731 \end_inset
21732 </cell>
21733 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
21734 \begin_inset Text
21735
21736 \begin_layout Plain Layout
21737
21738 \end_layout
21739
21740 \end_inset
21741 </cell>
21742 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21743 \begin_inset Text
21744
21745 \begin_layout Plain Layout
21746
21747 \end_layout
21748
21749 \end_inset
21750 </cell>
21751 </row>
21752 <row>
21753 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21754 \begin_inset Text
21755
21756 \begin_layout Plain Layout
21757
21758 \series bold
21759 Annovi
21760 \end_layout
21761
21762 \end_inset
21763 </cell>
21764 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21765 \begin_inset Text
21766
21767 \begin_layout Plain Layout
21768 Silvia
21769 \end_layout
21770
21771 \end_inset
21772 </cell>
21773 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21774 \begin_inset Text
21775
21776 \begin_layout Plain Layout
21777 555
21778 \end_layout
21779
21780 \end_inset
21781 </cell>
21782 </row>
21783 <row>
21784 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21785 \begin_inset Text
21786
21787 \begin_layout Plain Layout
21788
21789 \series bold
21790 Bertoli
21791 \end_layout
21792
21793 \end_inset
21794 </cell>
21795 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21796 \begin_inset Text
21797
21798 \begin_layout Plain Layout
21799 Stefano
21800 \end_layout
21801
21802 \end_inset
21803 </cell>
21804 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21805 \begin_inset Text
21806
21807 \begin_layout Plain Layout
21808 555
21809 \end_layout
21810
21811 \end_inset
21812 </cell>
21813 </row>
21814 <row>
21815 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21816 \begin_inset Text
21817
21818 \begin_layout Plain Layout
21819
21820 \series bold
21821 Bozzi
21822 \end_layout
21823
21824 \end_inset
21825 </cell>
21826 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21827 \begin_inset Text
21828
21829 \begin_layout Plain Layout
21830 Walter
21831 \end_layout
21832
21833 \end_inset
21834 </cell>
21835 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21836 \begin_inset Text
21837
21838 \begin_layout Plain Layout
21839 555
21840 \end_layout
21841
21842 \end_inset
21843 </cell>
21844 </row>
21845 <row>
21846 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21847 \begin_inset Text
21848
21849 \begin_layout Plain Layout
21850
21851 \series bold
21852 Cachia
21853 \end_layout
21854
21855 \end_inset
21856 </cell>
21857 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21858 \begin_inset Text
21859
21860 \begin_layout Plain Layout
21861 Maria
21862 \end_layout
21863
21864 \end_inset
21865 </cell>
21866 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21867 \begin_inset Text
21868
21869 \begin_layout Plain Layout
21870 555
21871 \end_layout
21872
21873 \end_inset
21874 </cell>
21875 </row>
21876 <row>
21877 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21878 \begin_inset Text
21879
21880 \begin_layout Plain Layout
21881
21882 \series bold
21883 Cachia
21884 \end_layout
21885
21886 \end_inset
21887 </cell>
21888 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21889 \begin_inset Text
21890
21891 \begin_layout Plain Layout
21892 Maurizio
21893 \end_layout
21894
21895 \end_inset
21896 </cell>
21897 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21898 \begin_inset Text
21899
21900 \begin_layout Plain Layout
21901 555
21902 \end_layout
21903
21904 \end_inset
21905 </cell>
21906 </row>
21907 <row>
21908 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21909 \begin_inset Text
21910
21911 \begin_layout Plain Layout
21912
21913 \series bold
21914 Cinquemani
21915 \end_layout
21916
21917 \end_inset
21918 </cell>
21919 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21920 \begin_inset Text
21921
21922 \begin_layout Plain Layout
21923 Giusi
21924 \end_layout
21925
21926 \end_inset
21927 </cell>
21928 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21929 \begin_inset Text
21930
21931 \begin_layout Plain Layout
21932 555
21933 \end_layout
21934
21935 \end_inset
21936 </cell>
21937 </row>
21938 <row>
21939 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21940 \begin_inset Text
21941
21942 \begin_layout Plain Layout
21943
21944 \series bold
21945 Colin
21946 \end_layout
21947
21948 \end_inset
21949 </cell>
21950 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21951 \begin_inset Text
21952
21953 \begin_layout Plain Layout
21954 Bernard
21955 \end_layout
21956
21957 \end_inset
21958 </cell>
21959 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21960 \begin_inset Text
21961
21962 \begin_layout Plain Layout
21963 555
21964 \end_layout
21965
21966 \end_inset
21967 </cell>
21968 </row>
21969 <row>
21970 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21971 \begin_inset Text
21972
21973 \begin_layout Plain Layout
21974
21975 \series bold
21976 Concli
21977 \end_layout
21978
21979 \end_inset
21980 </cell>
21981 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21982 \begin_inset Text
21983
21984 \begin_layout Plain Layout
21985 Gianfranco
21986 \end_layout
21987
21988 \end_inset
21989 </cell>
21990 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21991 \begin_inset Text
21992
21993 \begin_layout Plain Layout
21994 555
21995 \end_layout
21996
21997 \end_inset
21998 </cell>
21999 </row>
22000 <row>
22001 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22002 \begin_inset Text
22003
22004 \begin_layout Plain Layout
22005
22006 \series bold
22007 Dal Bosco
22008 \end_layout
22009
22010 \end_inset
22011 </cell>
22012 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22013 \begin_inset Text
22014
22015 \begin_layout Plain Layout
22016 Carolina
22017 \end_layout
22018
22019 \end_inset
22020 </cell>
22021 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22022 \begin_inset Text
22023
22024 \begin_layout Plain Layout
22025 555
22026 \end_layout
22027
22028 \end_inset
22029 </cell>
22030 </row>
22031 <row>
22032 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22033 \begin_inset Text
22034
22035 \begin_layout Plain Layout
22036
22037 \series bold
22038 Dalpiaz
22039 \end_layout
22040
22041 \end_inset
22042 </cell>
22043 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22044 \begin_inset Text
22045
22046 \begin_layout Plain Layout
22047 Annamaria
22048 \end_layout
22049
22050 \end_inset
22051 </cell>
22052 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22053 \begin_inset Text
22054
22055 \begin_layout Plain Layout
22056 555
22057 \end_layout
22058
22059 \end_inset
22060 </cell>
22061 </row>
22062 <row>
22063 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22064 \begin_inset Text
22065
22066 \begin_layout Plain Layout
22067
22068 \series bold
22069 Feliciello
22070 \end_layout
22071
22072 \end_inset
22073 </cell>
22074 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22075 \begin_inset Text
22076
22077 \begin_layout Plain Layout
22078 Domenico
22079 \end_layout
22080
22081 \end_inset
22082 </cell>
22083 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22084 \begin_inset Text
22085
22086 \begin_layout Plain Layout
22087 555
22088 \end_layout
22089
22090 \end_inset
22091 </cell>
22092 </row>
22093 <row>
22094 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22095 \begin_inset Text
22096
22097 \begin_layout Plain Layout
22098
22099 \series bold
22100 Focarelli
22101 \end_layout
22102
22103 \end_inset
22104 </cell>
22105 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22106 \begin_inset Text
22107
22108 \begin_layout Plain Layout
22109 Paola
22110 \end_layout
22111
22112 \end_inset
22113 </cell>
22114 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22115 \begin_inset Text
22116
22117 \begin_layout Plain Layout
22118 555
22119 \end_layout
22120
22121 \end_inset
22122 </cell>
22123 </row>
22124 <row>
22125 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22126 \begin_inset Text
22127
22128 \begin_layout Plain Layout
22129
22130 \series bold
22131 Galletti
22132 \end_layout
22133
22134 \end_inset
22135 </cell>
22136 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22137 \begin_inset Text
22138
22139 \begin_layout Plain Layout
22140 Oreste
22141 \end_layout
22142
22143 \end_inset
22144 </cell>
22145 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22146 \begin_inset Text
22147
22148 \begin_layout Plain Layout
22149 555
22150 \end_layout
22151
22152 \end_inset
22153 </cell>
22154 </row>
22155 <row>
22156 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22157 \begin_inset Text
22158
22159 \begin_layout Plain Layout
22160
22161 \series bold
22162 Gasparini
22163 \end_layout
22164
22165 \end_inset
22166 </cell>
22167 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22168 \begin_inset Text
22169
22170 \begin_layout Plain Layout
22171 Franca
22172 \end_layout
22173
22174 \end_inset
22175 </cell>
22176 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22177 \begin_inset Text
22178
22179 \begin_layout Plain Layout
22180 555
22181 \end_layout
22182
22183 \end_inset
22184 </cell>
22185 </row>
22186 <row>
22187 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22188 \begin_inset Text
22189
22190 \begin_layout Plain Layout
22191
22192 \series bold
22193 Rizzardi
22194 \end_layout
22195
22196 \end_inset
22197 </cell>
22198 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22199 \begin_inset Text
22200
22201 \begin_layout Plain Layout
22202 Paola
22203 \end_layout
22204
22205 \end_inset
22206 </cell>
22207 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22208 \begin_inset Text
22209
22210 \begin_layout Plain Layout
22211 555
22212 \end_layout
22213
22214 \end_inset
22215 </cell>
22216 </row>
22217 <row>
22218 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22219 \begin_inset Text
22220
22221 \begin_layout Plain Layout
22222
22223 \series bold
22224 Lassini
22225 \end_layout
22226
22227 \end_inset
22228 </cell>
22229 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22230 \begin_inset Text
22231
22232 \begin_layout Plain Layout
22233 Giancarlo
22234 \end_layout
22235
22236 \end_inset
22237 </cell>
22238 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22239 \begin_inset Text
22240
22241 \begin_layout Plain Layout
22242 555
22243 \end_layout
22244
22245 \end_inset
22246 </cell>
22247 </row>
22248 <row>
22249 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22250 \begin_inset Text
22251
22252 \begin_layout Plain Layout
22253
22254 \series bold
22255 Malfatti
22256 \end_layout
22257
22258 \end_inset
22259 </cell>
22260 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22261 \begin_inset Text
22262
22263 \begin_layout Plain Layout
22264 Luciano
22265 \end_layout
22266
22267 \end_inset
22268 </cell>
22269 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22270 \begin_inset Text
22271
22272 \begin_layout Plain Layout
22273 555
22274 \end_layout
22275
22276 \end_inset
22277 </cell>
22278 </row>
22279 <row>
22280 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22281 \begin_inset Text
22282
22283 \begin_layout Plain Layout
22284
22285 \series bold
22286 Malfatti
22287 \end_layout
22288
22289 \end_inset
22290 </cell>
22291 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22292 \begin_inset Text
22293
22294 \begin_layout Plain Layout
22295 Valeriano
22296 \end_layout
22297
22298 \end_inset
22299 </cell>
22300 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22301 \begin_inset Text
22302
22303 \begin_layout Plain Layout
22304 555
22305 \end_layout
22306
22307 \end_inset
22308 </cell>
22309 </row>
22310 <row>
22311 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22312 \begin_inset Text
22313
22314 \begin_layout Plain Layout
22315
22316 \series bold
22317 Meneguzzo
22318 \end_layout
22319
22320 \end_inset
22321 </cell>
22322 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22323 \begin_inset Text
22324
22325 \begin_layout Plain Layout
22326 Roberto
22327 \end_layout
22328
22329 \end_inset
22330 </cell>
22331 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22332 \begin_inset Text
22333
22334 \begin_layout Plain Layout
22335 555
22336 \end_layout
22337
22338 \end_inset
22339 </cell>
22340 </row>
22341 <row>
22342 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22343 \begin_inset Text
22344
22345 \begin_layout Plain Layout
22346
22347 \series bold
22348 Mezzadra
22349 \end_layout
22350
22351 \end_inset
22352 </cell>
22353 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22354 \begin_inset Text
22355
22356 \begin_layout Plain Layout
22357 Roberto
22358 \end_layout
22359
22360 \end_inset
22361 </cell>
22362 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22363 \begin_inset Text
22364
22365 \begin_layout Plain Layout
22366 555
22367 \end_layout
22368
22369 \end_inset
22370 </cell>
22371 </row>
22372 <row>
22373 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22374 \begin_inset Text
22375
22376 \begin_layout Plain Layout
22377
22378 \series bold
22379 Pirpamer
22380 \end_layout
22381
22382 \end_inset
22383 </cell>
22384 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22385 \begin_inset Text
22386
22387 \begin_layout Plain Layout
22388 Erich
22389 \end_layout
22390
22391 \end_inset
22392 </cell>
22393 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22394 \begin_inset Text
22395
22396 \begin_layout Plain Layout
22397 555
22398 \end_layout
22399
22400 \end_inset
22401 </cell>
22402 </row>
22403 <row>
22404 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22405 \begin_inset Text
22406
22407 \begin_layout Plain Layout
22408
22409 \series bold
22410 Pochiesa
22411 \end_layout
22412
22413 \end_inset
22414 </cell>
22415 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22416 \begin_inset Text
22417
22418 \begin_layout Plain Layout
22419 Paolo
22420 \end_layout
22421
22422 \end_inset
22423 </cell>
22424 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22425 \begin_inset Text
22426
22427 \begin_layout Plain Layout
22428 555, 222
22429 \end_layout
22430
22431 \end_inset
22432 </cell>
22433 </row>
22434 <row>
22435 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22436 \begin_inset Text
22437
22438 \begin_layout Plain Layout
22439
22440 \series bold
22441 Radina
22442 \end_layout
22443
22444 \end_inset
22445 </cell>
22446 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22447 \begin_inset Text
22448
22449 \begin_layout Plain Layout
22450 Claudio
22451 \end_layout
22452
22453 \end_inset
22454 </cell>
22455 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22456 \begin_inset Text
22457
22458 \begin_layout Plain Layout
22459 555
22460 \end_layout
22461
22462 \end_inset
22463 </cell>
22464 </row>
22465 <row>
22466 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22467 \begin_inset Text
22468
22469 \begin_layout Plain Layout
22470
22471 \series bold
22472 Stuffer
22473 \end_layout
22474
22475 \end_inset
22476 </cell>
22477 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22478 \begin_inset Text
22479
22480 \begin_layout Plain Layout
22481 Oskar
22482 \end_layout
22483
22484 \end_inset
22485 </cell>
22486 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22487 \begin_inset Text
22488
22489 \begin_layout Plain Layout
22490 555
22491 \end_layout
22492
22493 \end_inset
22494 </cell>
22495 </row>
22496 <row>
22497 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22498 \begin_inset Text
22499
22500 \begin_layout Plain Layout
22501
22502 \series bold
22503 Tacchelli
22504 \end_layout
22505
22506 \end_inset
22507 </cell>
22508 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22509 \begin_inset Text
22510
22511 \begin_layout Plain Layout
22512 Ugo
22513 \end_layout
22514
22515 \end_inset
22516 </cell>
22517 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22518 \begin_inset Text
22519
22520 \begin_layout Plain Layout
22521 555
22522 \end_layout
22523
22524 \end_inset
22525 </cell>
22526 </row>
22527 <row>
22528 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22529 \begin_inset Text
22530
22531 \begin_layout Plain Layout
22532
22533 \series bold
22534 Tezzele
22535 \end_layout
22536
22537 \end_inset
22538 </cell>
22539 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22540 \begin_inset Text
22541
22542 \begin_layout Plain Layout
22543 Margit
22544 \end_layout
22545
22546 \end_inset
22547 </cell>
22548 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22549 \begin_inset Text
22550
22551 \begin_layout Plain Layout
22552 555
22553 \end_layout
22554
22555 \end_inset
22556 </cell>
22557 </row>
22558 <row>
22559 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22560 \begin_inset Text
22561
22562 \begin_layout Plain Layout
22563
22564 \series bold
22565 Unterkalmsteiner
22566 \end_layout
22567
22568 \end_inset
22569 </cell>
22570 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22571 \begin_inset Text
22572
22573 \begin_layout Plain Layout
22574 Frieda
22575 \end_layout
22576
22577 \end_inset
22578 </cell>
22579 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22580 \begin_inset Text
22581
22582 \begin_layout Plain Layout
22583 555
22584 \end_layout
22585
22586 \end_inset
22587 </cell>
22588 </row>
22589 <row>
22590 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22591 \begin_inset Text
22592
22593 \begin_layout Plain Layout
22594
22595 \series bold
22596 Vieider
22597 \end_layout
22598
22599 \end_inset
22600 </cell>
22601 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22602 \begin_inset Text
22603
22604 \begin_layout Plain Layout
22605 Hilde
22606 \end_layout
22607
22608 \end_inset
22609 </cell>
22610 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22611 \begin_inset Text
22612
22613 \begin_layout Plain Layout
22614 555
22615 \end_layout
22616
22617 \end_inset
22618 </cell>
22619 </row>
22620 <row>
22621 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22622 \begin_inset Text
22623
22624 \begin_layout Plain Layout
22625
22626 \series bold
22627 Vigna
22628 \end_layout
22629
22630 \end_inset
22631 </cell>
22632 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22633 \begin_inset Text
22634
22635 \begin_layout Plain Layout
22636 Jürgen
22637 \end_layout
22638
22639 \end_inset
22640 </cell>
22641 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22642 \begin_inset Text
22643
22644 \begin_layout Plain Layout
22645 999
22646 \end_layout
22647
22648 \end_inset
22649 </cell>
22650 </row>
22651 <row>
22652 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22653 \begin_inset Text
22654
22655 \begin_layout Plain Layout
22656
22657 \series bold
22658 Weber
22659 \end_layout
22660
22661 \end_inset
22662 </cell>
22663 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22664 \begin_inset Text
22665
22666 \begin_layout Plain Layout
22667 Maurizio
22668 \end_layout
22669
22670 \end_inset
22671 </cell>
22672 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22673 \begin_inset Text
22674
22675 \begin_layout Plain Layout
22676 555
22677 \end_layout
22678
22679 \end_inset
22680 </cell>
22681 </row>
22682 <row>
22683 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22684 \begin_inset Text
22685
22686 \begin_layout Plain Layout
22687
22688 \series bold
22689 Winkler
22690 \end_layout
22691
22692 \end_inset
22693 </cell>
22694 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22695 \begin_inset Text
22696
22697 \begin_layout Plain Layout
22698 Franz
22699 \end_layout
22700
22701 \end_inset
22702 </cell>
22703 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22704 \begin_inset Text
22705
22706 \begin_layout Plain Layout
22707 555
22708 \end_layout
22709
22710 \end_inset
22711 </cell>
22712 </row>
22713 <row endlastfoot="true">
22714 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22715 \begin_inset Text
22716
22717 \begin_layout Plain Layout
22718
22719 \series bold
22720 End
22721 \end_layout
22722
22723 \end_inset
22724 </cell>
22725 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
22726 \begin_inset Text
22727
22728 \begin_layout Plain Layout
22729
22730 \end_layout
22731
22732 \end_inset
22733 </cell>
22734 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22735 \begin_inset Text
22736
22737 \begin_layout Plain Layout
22738
22739 \end_layout
22740
22741 \end_inset
22742 </cell>
22743 </row>
22744 </lyxtabular>
22745
22746 \end_inset
22747
22748
22749 \end_layout
22750
22751 \begin_layout Subsection
22752 Table Cells
22753 \begin_inset Index idx
22754 status collapsed
22755
22756 \begin_layout Plain Layout
22757 Tables ! Cells
22758 \end_layout
22759
22760 \end_inset
22761
22762
22763 \begin_inset CommandInset label
22764 LatexCommand label
22765 name "subsec:Table-Cells"
22766
22767 \end_inset
22768
22769
22770 \end_layout
22771
22772 \begin_layout Standard
22773 A table cell can contain text, inline equations, a figure, or another table.
22774  All these kinds of objects can be placed in the same cell.
22775  Font sizes and shapes can also be altered.
22776  But you can't put a special environment in a cell (like 
22777 \family sans
22778 Section*
22779 \family default
22780 , etc.), nor set spacing options for the cell's paragraph.
22781 \end_layout
22782
22783 \begin_layout Standard
22784 To have multi-line entries in table cells, you have to declare a fixed width
22785  for the column in the table dialog.
22786  Your text is then automatically split into multiple lines and the cell
22787  is enlarged vertically when the length of the text exceeds the given width.
22788  An example:
22789 \end_layout
22790
22791 \begin_layout Standard
22792 \align center
22793 \begin_inset Tabular
22794 <lyxtabular version="3" rows="4" columns="3">
22795 <features tabularvalignment="middle">
22796 <column alignment="center" valignment="top" width="0pt">
22797 <column alignment="block" valignment="top" width="3cm">
22798 <column alignment="center" valignment="top" width="0pt">
22799 <row>
22800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22801 \begin_inset Text
22802
22803 \begin_layout Plain Layout
22804
22805 \family roman
22806 \series medium
22807 \shape up
22808 \size normal
22809 \emph off
22810 \bar no
22811 \noun off
22812 \color none
22813 1
22814 \end_layout
22815
22816 \end_inset
22817 </cell>
22818 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22819 \begin_inset Text
22820
22821 \begin_layout Plain Layout
22822
22823 \family roman
22824 \series medium
22825 \shape up
22826 \size normal
22827 \emph off
22828 \bar no
22829 \noun off
22830 \color none
22831 2
22832 \end_layout
22833
22834 \end_inset
22835 </cell>
22836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22837 \begin_inset Text
22838
22839 \begin_layout Plain Layout
22840
22841 \family roman
22842 \series medium
22843 \shape up
22844 \size normal
22845 \emph off
22846 \bar no
22847 \noun off
22848 \color none
22849 3
22850 \end_layout
22851
22852 \end_inset
22853 </cell>
22854 </row>
22855 <row>
22856 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22857 \begin_inset Text
22858
22859 \begin_layout Plain Layout
22860
22861 \family roman
22862 \series medium
22863 \shape up
22864 \size normal
22865 \emph off
22866 \bar no
22867 \noun off
22868 \color none
22869 4
22870 \end_layout
22871
22872 \end_inset
22873 </cell>
22874 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22875 \begin_inset Text
22876
22877 \begin_layout Plain Layout
22878
22879 \family roman
22880 \series medium
22881 \shape up
22882 \size normal
22883 \emph off
22884 \bar no
22885 \noun off
22886 \color none
22887 This is a multi-line entry in a table.
22888 \end_layout
22889
22890 \end_inset
22891 </cell>
22892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22893 \begin_inset Text
22894
22895 \begin_layout Plain Layout
22896
22897 \family roman
22898 \series medium
22899 \shape up
22900 \size normal
22901 \emph off
22902 \bar no
22903 \noun off
22904 \color none
22905 5
22906 \end_layout
22907
22908 \end_inset
22909 </cell>
22910 </row>
22911 <row>
22912 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22913 \begin_inset Text
22914
22915 \begin_layout Plain Layout
22916
22917 \family roman
22918 \series medium
22919 \shape up
22920 \size normal
22921 \emph off
22922 \bar no
22923 \noun off
22924 \color none
22925 6
22926 \end_layout
22927
22928 \end_inset
22929 </cell>
22930 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22931 \begin_inset Text
22932
22933 \begin_layout Plain Layout
22934
22935 \family roman
22936 \series medium
22937 \shape up
22938 \size normal
22939 \emph off
22940 \bar no
22941 \noun off
22942 \color none
22943 This is longer now.
22944 \end_layout
22945
22946 \end_inset
22947 </cell>
22948 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22949 \begin_inset Text
22950
22951 \begin_layout Plain Layout
22952
22953 \family roman
22954 \series medium
22955 \shape up
22956 \size normal
22957 \emph off
22958 \bar no
22959 \noun off
22960 \color none
22961 7
22962 \end_layout
22963
22964 \end_inset
22965 </cell>
22966 </row>
22967 <row>
22968 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22969 \begin_inset Text
22970
22971 \begin_layout Plain Layout
22972
22973 \family roman
22974 \series medium
22975 \shape up
22976 \size normal
22977 \emph off
22978 \bar no
22979 \noun off
22980 \color none
22981 8
22982 \end_layout
22983
22984 \end_inset
22985 </cell>
22986 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22987 \begin_inset Text
22988
22989 \begin_layout Plain Layout
22990
22991 \family roman
22992 \series medium
22993 \shape up
22994 \size normal
22995 \emph off
22996 \bar no
22997 \noun off
22998 \color none
22999 This is a multi-line entry in a table.
23000  This is longer now.
23001 \end_layout
23002
23003 \end_inset
23004 </cell>
23005 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
23006 \begin_inset Text
23007
23008 \begin_layout Plain Layout
23009
23010 \family roman
23011 \series medium
23012 \shape up
23013 \size normal
23014 \emph off
23015 \bar no
23016 \noun off
23017 \color none
23018 9
23019 \end_layout
23020
23021 \end_inset
23022 </cell>
23023 </row>
23024 </lyxtabular>
23025
23026 \end_inset
23027
23028
23029 \end_layout
23030
23031 \begin_layout Standard
23032 Cutting and pasting between tables and table cells works reasonably well.
23033  You can even cut and paste more than one row.
23034 \begin_inset Foot
23035 status collapsed
23036
23037 \begin_layout Plain Layout
23038 Note that you cannot paste into a multicell selection because it would not
23039  be clear what to do when pasting a single word in a selected 2×3.
23040  
23041 \end_layout
23042
23043 \end_inset
23044
23045  Selection with the mouse or with 
23046 \family sans
23047 Shift
23048 \family default
23049  plus the arrow keys works as usual.
23050  You can also copy and paste the entire table as a single unit by starting
23051  the selection from outside the table.
23052 \end_layout
23053
23054 \begin_layout Section
23055 Floats
23056 \begin_inset Index idx
23057 status collapsed
23058
23059 \begin_layout Plain Layout
23060 Floats
23061 \end_layout
23062
23063 \end_inset
23064
23065
23066 \begin_inset CommandInset label
23067 LatexCommand label
23068 name "sec:Floats"
23069
23070 \end_inset
23071
23072
23073 \end_layout
23074
23075 \begin_layout Subsection
23076 Introduction
23077 \end_layout
23078
23079 \begin_layout Standard
23080 A float is a block of text associated with some sort of label, which doesn't
23081  have a fixed location.
23082  It can 
23083 \begin_inset Quotes eld
23084 \end_inset
23085
23086 float
23087 \begin_inset Quotes erd
23088 \end_inset
23089
23090  forward or backward a page or two, to wherever it fits best.
23091  
23092 \family sans
23093 Footnotes
23094 \family default
23095  and 
23096 \family sans
23097 Margin
23098 \begin_inset space ~
23099 \end_inset
23100
23101 Notes
23102 \family default
23103  are also floats, because they can float to the next page when there are
23104  too many notes on the current page.
23105 \end_layout
23106
23107 \begin_layout Standard
23108 Floats make it possible to get a high quality layout.
23109  Images and tables can be distributed evenly over the pages to avoid whitespace
23110  and pages without text.
23111  As the floating often destroys the spatial context between the text and
23112  the image/table, every float can be referenced in the text.
23113  Floats are therefore numbered.
23114  Referencing is described in section
23115 \begin_inset space ~
23116 \end_inset
23117
23118
23119 \begin_inset CommandInset ref
23120 LatexCommand ref
23121 reference "sec:Cross-References"
23122
23123 \end_inset
23124
23125 .
23126 \end_layout
23127
23128 \begin_layout Standard
23129 To insert a float, use the menu 
23130 \family sans
23131 Insert\SpecialChar menuseparator
23132 Float
23133 \family default
23134 .
23135  A box with a caption will be inserted into your document.
23136  The label will automatically be translated to the document language in
23137  the output.
23138  After the label you can insert the caption text.
23139 \begin_inset Index idx
23140 status collapsed
23141
23142 \begin_layout Plain Layout
23143 Floats ! Captions
23144 \end_layout
23145
23146 \end_inset
23147
23148  The image or table is inserted above or below the caption in a separate
23149  paragraph within the float.
23150  To keep your \SpecialChar LyX
23151 -document readable, you can open and close the float box by
23152  left-clicking on the box label.
23153  A closed float box looks like this: 
23154 \begin_inset Graphics
23155         filename clipart/float.png
23156         scale 80
23157
23158 \end_inset
23159
23160  – a gray button with a red label.
23161 \end_layout
23162
23163 \begin_layout Standard
23164 You should insert floats in a separate paragraph to avoid possible \SpecialChar LaTeX
23165 -errors
23166  that can occur when the surrounding text is specially formatted.
23167 \end_layout
23168
23169 \begin_layout Subsection
23170 Figure Floats
23171 \begin_inset CommandInset label
23172 LatexCommand label
23173 name "subsec:Figure-Floats"
23174
23175 \end_inset
23176
23177
23178 \begin_inset Index idx
23179 status collapsed
23180
23181 \begin_layout Plain Layout
23182 Floats ! Figure floats
23183 \end_layout
23184
23185 \end_inset
23186
23187
23188 \end_layout
23189
23190 \begin_layout Standard
23191 Figure
23192 \begin_inset space ~
23193 \end_inset
23194
23195
23196 \begin_inset CommandInset ref
23197 LatexCommand ref
23198 reference "fig:A-star-in"
23199
23200 \end_inset
23201
23202  was created using the menu 
23203 \family sans
23204 Insert\SpecialChar menuseparator
23205 Float\SpecialChar menuseparator
23206 Figure
23207 \family default
23208  (toolbar button 
23209 \begin_inset Info
23210 type  "icon"
23211 arg   "float-insert figure"
23212 \end_inset
23213
23214 ).
23215  The image was inserted by setting the cursor above the caption label and
23216  using the menu 
23217 \family sans
23218 Insert\SpecialChar menuseparator
23219 Graphics
23220 \family default
23221  (toolbar button 
23222 \begin_inset Info
23223 type  "icon"
23224 arg   "dialog-show-new-inset graphics"
23225 \end_inset
23226
23227 ).
23228  The image in the float was horizontally centered by putting the cursor
23229  to the left or right of the image and using the menu 
23230 \family sans
23231 Edit\SpecialChar menuseparator
23232 Paragraph
23233 \begin_inset space ~
23234 \end_inset
23235
23236 Settings
23237 \family default
23238  (toolbar button 
23239 \begin_inset Info
23240 type  "icon"
23241 arg   "layout-paragraph"
23242 \end_inset
23243
23244 ).
23245 \end_layout
23246
23247 \begin_layout Standard
23248 \begin_inset Float figure
23249 wide false
23250 sideways false
23251 status open
23252
23253 \begin_layout Plain Layout
23254 \align center
23255 \begin_inset Graphics
23256         filename clipart/Star-structure.pdf
23257         lyxscale 60
23258         width 50col%
23259
23260 \end_inset
23261
23262
23263 \end_layout
23264
23265 \begin_layout Plain Layout
23266 \begin_inset Caption Standard
23267
23268 \begin_layout Plain Layout
23269 \begin_inset CommandInset label
23270 LatexCommand label
23271 name "fig:A-star-in"
23272
23273 \end_inset
23274
23275 A star in a float.
23276 \end_layout
23277
23278 \end_inset
23279
23280
23281 \end_layout
23282
23283 \end_inset
23284
23285
23286 \end_layout
23287
23288 \begin_layout Standard
23289 This figure float also shows how to set a label and create a cross-reference
23290  to it: Insert a label into the caption using the menu 
23291 \family sans
23292 Insert\SpecialChar menuseparator
23293 Label
23294 \family default
23295  (toolbar button 
23296 \begin_inset Info
23297 type  "icon"
23298 arg   "label-insert"
23299 \end_inset
23300
23301 ) and refer to it using the menu 
23302 \family sans
23303 Insert\SpecialChar menuseparator
23304 Cross-Reference
23305 \family default
23306  (toolbar button 
23307 \begin_inset Info
23308 type  "icon"
23309 arg   "dialog-show-new-inset ref"
23310 \end_inset
23311
23312 ).
23313  It is important to use cross-references to figure floats rather than using
23314  vague references like 
23315 \begin_inset Quotes eld
23316 \end_inset
23317
23318 the figure above
23319 \begin_inset Quotes erd
23320 \end_inset
23321
23322 , because, as \SpecialChar LaTeX
23323  will reposition the floats in the final document, it might
23324  not be 
23325 \begin_inset Quotes eld
23326 \end_inset
23327
23328 above
23329 \begin_inset Quotes erd
23330 \end_inset
23331
23332  at all.
23333  For more about cross-references, see section
23334 \begin_inset space ~
23335 \end_inset
23336
23337
23338 \begin_inset CommandInset ref
23339 LatexCommand ref
23340 reference "sec:Cross-References"
23341
23342 \end_inset
23343
23344 .
23345 \end_layout
23346
23347 \begin_layout Standard
23348 Normally only one image is inserted in a figure float, but sometimes you
23349  might want to use two images with separate subcaptions.
23350  This can be done by inserting image floats into existing image floats.
23351  Note that only the main caption of the float is added to the List of Figures
23352  as described in section
23353 \begin_inset space ~
23354 \end_inset
23355
23356
23357 \begin_inset CommandInset ref
23358 LatexCommand ref
23359 reference "subsec:List-of-Figures"
23360
23361 \end_inset
23362
23363 .
23364  Figure
23365 \begin_inset space ~
23366 \end_inset
23367
23368
23369 \begin_inset CommandInset ref
23370 LatexCommand ref
23371 reference "fig:Two-images"
23372
23373 \end_inset
23374
23375  is an example of a figure float with two images set side by side.
23376  You can also set the images one below the other.
23377  Figure
23378 \begin_inset space ~
23379 \end_inset
23380
23381
23382 \begin_inset CommandInset ref
23383 LatexCommand ref
23384 reference "fig:Undefinable"
23385
23386 \end_inset
23387
23388  and 
23389 \begin_inset CommandInset ref
23390 LatexCommand ref
23391 reference "fig:Star"
23392
23393 \end_inset
23394
23395  are the subfigures.
23396 \end_layout
23397
23398 \begin_layout Standard
23399 \begin_inset Float figure
23400 wide false
23401 sideways false
23402 status open
23403
23404 \begin_layout Plain Layout
23405 \begin_inset space \hfill{}
23406 \end_inset
23407
23408
23409 \begin_inset Float figure
23410 wide false
23411 sideways false
23412 status collapsed
23413
23414 \begin_layout Plain Layout
23415 \begin_inset Caption Standard
23416
23417 \begin_layout Plain Layout
23418 \begin_inset CommandInset label
23419 LatexCommand label
23420 name "fig:Undefinable"
23421
23422 \end_inset
23423
23424 Undefinable
23425 \end_layout
23426
23427 \end_inset
23428
23429
23430 \end_layout
23431
23432 \begin_layout Plain Layout
23433 \begin_inset Graphics
23434         filename clipart/3D-structure-distort.pdf
23435         lyxscale 60
23436         width 45col%
23437
23438 \end_inset
23439
23440
23441 \end_layout
23442
23443 \end_inset
23444
23445
23446 \begin_inset space \hfill{}
23447 \end_inset
23448
23449
23450 \begin_inset Float figure
23451 wide false
23452 sideways false
23453 status collapsed
23454
23455 \begin_layout Plain Layout
23456 \begin_inset Caption Standard
23457
23458 \begin_layout Plain Layout
23459 \begin_inset CommandInset label
23460 LatexCommand label
23461 name "fig:Star"
23462
23463 \end_inset
23464
23465 Star
23466 \end_layout
23467
23468 \end_inset
23469
23470
23471 \end_layout
23472
23473 \begin_layout Plain Layout
23474 \begin_inset Graphics
23475         filename clipart/Star-structure.pdf
23476         lyxscale 60
23477         width 45col%
23478
23479 \end_inset
23480
23481
23482 \end_layout
23483
23484 \end_inset
23485
23486
23487 \begin_inset space \hfill{}
23488 \end_inset
23489
23490
23491 \end_layout
23492
23493 \begin_layout Plain Layout
23494 \begin_inset Caption Standard
23495
23496 \begin_layout Plain Layout
23497 \begin_inset CommandInset label
23498 LatexCommand label
23499 name "fig:Two-images"
23500
23501 \end_inset
23502
23503 Two images.
23504 \end_layout
23505
23506 \end_inset
23507
23508
23509 \end_layout
23510
23511 \end_inset
23512
23513
23514 \end_layout
23515
23516 \begin_layout Subsection
23517 Table Floats
23518 \begin_inset Index idx
23519 status collapsed
23520
23521 \begin_layout Plain Layout
23522 Floats ! Table floats
23523 \end_layout
23524
23525 \end_inset
23526
23527
23528 \end_layout
23529
23530 \begin_layout Standard
23531 Table floats can be inserted using the menu 
23532 \family sans
23533 Insert\SpecialChar menuseparator
23534 Float\SpecialChar menuseparator
23535 Table
23536 \family default
23537  or the toolbar button 
23538 \begin_inset Info
23539 type  "icon"
23540 arg   "float-insert table"
23541 \end_inset
23542
23543 .
23544  They have the same properties as figure floats except that the table in
23545  the float is normally placed below the caption and not above like for figures
23546  and that the label begins with “tab:”.
23547  Table
23548 \begin_inset space ~
23549 \end_inset
23550
23551
23552 \begin_inset CommandInset ref
23553 LatexCommand ref
23554 reference "tab:Table-float"
23555
23556 \end_inset
23557
23558  is a table float.
23559 \end_layout
23560
23561 \begin_layout Standard
23562 \begin_inset Float table
23563 wide false
23564 sideways false
23565 status open
23566
23567 \begin_layout Plain Layout
23568 \begin_inset Caption Standard
23569
23570 \begin_layout Plain Layout
23571 \begin_inset CommandInset label
23572 LatexCommand label
23573 name "tab:Table-float"
23574
23575 \end_inset
23576
23577 A table float.
23578 \end_layout
23579
23580 \end_inset
23581
23582
23583 \end_layout
23584
23585 \begin_layout Plain Layout
23586 \align center
23587 \begin_inset Tabular
23588 <lyxtabular version="3" rows="3" columns="3">
23589 <features tabularvalignment="middle">
23590 <column alignment="center" valignment="top" width="0pt">
23591 <column alignment="center" valignment="top" width="0pt">
23592 <column alignment="center" valignment="top" width="0pt">
23593 <row>
23594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23595 \begin_inset Text
23596
23597 \begin_layout Plain Layout
23598
23599 \family roman
23600 \series medium
23601 \shape up
23602 \size normal
23603 \emph off
23604 \bar no
23605 \noun off
23606 \color none
23607 1
23608 \end_layout
23609
23610 \end_inset
23611 </cell>
23612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23613 \begin_inset Text
23614
23615 \begin_layout Plain Layout
23616
23617 \family roman
23618 \series medium
23619 \shape up
23620 \size normal
23621 \emph off
23622 \bar no
23623 \noun off
23624 \color none
23625 2
23626 \end_layout
23627
23628 \end_inset
23629 </cell>
23630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23631 \begin_inset Text
23632
23633 \begin_layout Plain Layout
23634
23635 \family roman
23636 \series medium
23637 \shape up
23638 \size normal
23639 \emph off
23640 \bar no
23641 \noun off
23642 \color none
23643 3
23644 \end_layout
23645
23646 \end_inset
23647 </cell>
23648 </row>
23649 <row>
23650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23651 \begin_inset Text
23652
23653 \begin_layout Plain Layout
23654
23655 \family roman
23656 \series medium
23657 \shape up
23658 \size normal
23659 \emph off
23660 \bar no
23661 \noun off
23662 \color none
23663 Joe
23664 \end_layout
23665
23666 \end_inset
23667 </cell>
23668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23669 \begin_inset Text
23670
23671 \begin_layout Plain Layout
23672
23673 \family roman
23674 \series medium
23675 \shape up
23676 \size normal
23677 \emph off
23678 \bar no
23679 \noun off
23680 \color none
23681 Mary
23682 \end_layout
23683
23684 \end_inset
23685 </cell>
23686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23687 \begin_inset Text
23688
23689 \begin_layout Plain Layout
23690
23691 \family roman
23692 \series medium
23693 \shape up
23694 \size normal
23695 \emph off
23696 \bar no
23697 \noun off
23698 \color none
23699 Ted
23700 \end_layout
23701
23702 \end_inset
23703 </cell>
23704 </row>
23705 <row>
23706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23707 \begin_inset Text
23708
23709 \begin_layout Plain Layout
23710
23711 \family roman
23712 \series medium
23713 \shape up
23714 \size normal
23715 \emph off
23716 \bar no
23717 \noun off
23718 \color none
23719 \begin_inset Formula $\int x^{2}dx$
23720 \end_inset
23721
23722
23723 \end_layout
23724
23725 \end_inset
23726 </cell>
23727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23728 \begin_inset Text
23729
23730 \begin_layout Plain Layout
23731
23732 \family roman
23733 \series medium
23734 \shape up
23735 \size normal
23736 \emph off
23737 \bar no
23738 \noun off
23739 \color none
23740 \begin_inset Formula $\left[\begin{array}{cc}
23741 a & b\\
23742 c & d
23743 \end{array}\right]$
23744 \end_inset
23745
23746
23747 \end_layout
23748
23749 \end_inset
23750 </cell>
23751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23752 \begin_inset Text
23753
23754 \begin_layout Plain Layout
23755
23756 \family roman
23757 \series medium
23758 \shape up
23759 \size normal
23760 \emph off
23761 \bar no
23762 \noun off
23763 \color none
23764 \begin_inset Formula $1+1=2$
23765 \end_inset
23766
23767
23768 \end_layout
23769
23770 \end_inset
23771 </cell>
23772 </row>
23773 </lyxtabular>
23774
23775 \end_inset
23776
23777
23778 \end_layout
23779
23780 \end_inset
23781
23782
23783 \end_layout
23784
23785 \begin_layout Subsection
23786 More Information
23787 \begin_inset Index idx
23788 status collapsed
23789
23790 \begin_layout Plain Layout
23791 Floats ! Details
23792 \end_layout
23793
23794 \end_inset
23795
23796
23797 \end_layout
23798
23799 \begin_layout Standard
23800 \SpecialChar LyX
23801  offers you further float types as well as rotated floats.
23802  It also allows you to change the float numbering scheme, to control the
23803  float placement and to change the formatting and placement of the float
23804  caption.
23805  All these features are explained in detail with many examples in the chapter
23806  
23807 \emph on
23808 Floats
23809 \emph default
23810  in the 
23811 \emph on
23812 Embedded
23813 \begin_inset space ~
23814 \end_inset
23815
23816 Objects
23817 \emph default
23818  manual.
23819 \end_layout
23820
23821 \begin_layout Section
23822 Minipages
23823 \begin_inset Index idx
23824 status collapsed
23825
23826 \begin_layout Plain Layout
23827 Minipages
23828 \end_layout
23829
23830 \end_inset
23831
23832
23833 \end_layout
23834
23835 \begin_layout Standard
23836 \SpecialChar LaTeX
23837  provides a mechanism essentially to produce a page within a page, called
23838  a minipage.
23839  Within a minipage, all the usual rules of indentation, line wrapping, etc.
23840 \begin_inset space \space{}
23841 \end_inset
23842
23843 apply.
23844  
23845 \end_layout
23846
23847 \begin_layout Standard
23848 Minipages in \SpecialChar LyX
23849  have their own collapsible box inserted via the menu 
23850 \family sans
23851 Insert\SpecialChar menuseparator
23852 Box
23853 \family default
23854 .
23855  Right-clicking on the box label allows you to alter the width of the minipage
23856  and its alignment within the page.
23857 \end_layout
23858
23859 \begin_layout Standard
23860 \align center
23861 \begin_inset Box Frameless
23862 position "t"
23863 hor_pos "c"
23864 has_inner_box 1
23865 inner_pos "t"
23866 use_parbox 0
23867 use_makebox 0
23868 width "30col%"
23869 special "none"
23870 height "1pt"
23871 height_special "totalheight"
23872 thickness "0.4pt"
23873 separation "3pt"
23874 shadowsize "4pt"
23875 framecolor "black"
23876 backgroundcolor "none"
23877 status collapsed
23878
23879 \begin_layout Plain Layout
23880
23881 \shape italic
23882 This is a minipage.
23883  The text is set in an italic style.
23884 \end_layout
23885
23886 \begin_layout Plain Layout
23887
23888 \shape italic
23889 Minipages are often used for text in another language or text that needs
23890  another formatting.
23891 \end_layout
23892
23893 \end_inset
23894
23895
23896 \end_layout
23897
23898 \begin_layout Standard
23899 \begin_inset VSpace medskip
23900 \end_inset
23901
23902 If you place two minipages side-by-side, you can use 
23903 \family sans
23904 Horizontal Fills
23905 \family default
23906  as described in section
23907 \begin_inset space ~
23908 \end_inset
23909
23910
23911 \begin_inset CommandInset ref
23912 LatexCommand ref
23913 reference "subsec:Horizontal-Space"
23914
23915 \end_inset
23916
23917 :
23918 \begin_inset VSpace medskip
23919 \end_inset
23920
23921
23922 \end_layout
23923
23924 \begin_layout Standard
23925 \begin_inset Box Frameless
23926 position "t"
23927 hor_pos "c"
23928 has_inner_box 1
23929 inner_pos "t"
23930 use_parbox 0
23931 use_makebox 0
23932 width "1.5in"
23933 special "none"
23934 height "1pt"
23935 height_special "totalheight"
23936 thickness "0.4pt"
23937 separation "3pt"
23938 shadowsize "4pt"
23939 framecolor "black"
23940 backgroundcolor "none"
23941 status open
23942
23943 \begin_layout Plain Layout
23944 This is a minipage with some stupid dummy text.
23945  This dummy text is used to increase the size of the minipage.
23946 \end_layout
23947
23948 \end_inset
23949
23950
23951 \begin_inset space \hfill{}
23952 \end_inset
23953
23954
23955 \begin_inset Box Frameless
23956 position "t"
23957 hor_pos "c"
23958 has_inner_box 1
23959 inner_pos "t"
23960 use_parbox 0
23961 use_makebox 0
23962 width "1.5in"
23963 special "none"
23964 height "1pt"
23965 height_special "totalheight"
23966 thickness "0.4pt"
23967 separation "3pt"
23968 shadowsize "4pt"
23969 framecolor "black"
23970 backgroundcolor "none"
23971 status open
23972
23973 \begin_layout Plain Layout
23974 This is a minipage with some stupid dummy text.
23975  This dummy text is used to increase the size of the minipage.
23976 \end_layout
23977
23978 \end_inset
23979
23980
23981 \end_layout
23982
23983 \begin_layout Standard
23984 \begin_inset VSpace bigskip
23985 \end_inset
23986
23987
23988 \end_layout
23989
23990 \begin_layout Standard
23991 When you right-click on a minipage box, you can transform the box to another
23992  box type.
23993  All box types and their settings are explained in detail in chapter 
23994 \emph on
23995 Boxes
23996 \emph default
23997  of the 
23998 \emph on
23999 Embedded
24000 \begin_inset space ~
24001 \end_inset
24002
24003 Objects
24004 \emph default
24005  manual.
24006 \end_layout
24007
24008 \begin_layout Chapter
24009 Mathematical Formulas
24010 \begin_inset Index idx
24011 status collapsed
24012
24013 \begin_layout Plain Layout
24014 Math
24015 \end_layout
24016
24017 \end_inset
24018
24019
24020 \begin_inset Index idx
24021 status collapsed
24022
24023 \begin_layout Plain Layout
24024 Formulas | see
24025 \begin_inset ERT
24026 status collapsed
24027
24028 \begin_layout Plain Layout
24029
24030 {
24031 \end_layout
24032
24033 \end_inset
24034
24035 Math
24036 \begin_inset ERT
24037 status collapsed
24038
24039 \begin_layout Plain Layout
24040
24041 }
24042 \end_layout
24043
24044 \end_inset
24045
24046
24047 \end_layout
24048
24049 \end_inset
24050
24051
24052 \begin_inset CommandInset label
24053 LatexCommand label
24054 name "chap:Mathematical-Formulas"
24055
24056 \end_inset
24057
24058
24059 \end_layout
24060
24061 \begin_layout Standard
24062 The issues of this chapter are described in detail in the 
24063 \emph on
24064 Math
24065 \emph default
24066  manual.
24067  There you will also find tips and tricks for special cases.
24068 \end_layout
24069
24070 \begin_layout Section
24071 Basic Math Editing
24072 \begin_inset Index idx
24073 status collapsed
24074
24075 \begin_layout Plain Layout
24076 Math ! Basics
24077 \end_layout
24078
24079 \end_inset
24080
24081
24082 \end_layout
24083
24084 \begin_layout Standard
24085 To create a math formula, you can just click on the toolbar icon 
24086 \begin_inset Info
24087 type  "icon"
24088 arg   "math-mode on"
24089 \end_inset
24090
24091  (shortcut 
24092 \begin_inset Info
24093 type  "shortcut"
24094 arg   "math-mode"
24095 \end_inset
24096
24097 ).
24098  That will create a little blue rectangle, with purple markers around its
24099  corners.
24100  That blue rectangle is the formula itself; the purple markers indicate
24101  what level of nesting within the formula you are at.
24102  You can also choose a particular formula type to insert via the 
24103 \family sans
24104 Insert\SpecialChar menuseparator
24105 Math
24106 \family default
24107  menu.
24108 \end_layout
24109
24110 \begin_layout Standard
24111 Editing the parameters of a formula and adding math constructs can be done
24112  with the 
24113 \family sans
24114 math
24115 \begin_inset space ~
24116 \end_inset
24117
24118 toolbar
24119 \family default
24120 , that appears if the cursor is in a formula.
24121 \end_layout
24122
24123 \begin_layout Standard
24124 There are two main types of formulas, inline formulas and display formulas.
24125  Inline formulas appear within a text line, like this one:
24126 \end_layout
24127
24128 \begin_layout Standard
24129 This is a line with an inline formula 
24130 \begin_inset Formula $A=B$
24131 \end_inset
24132
24133  in it.
24134 \end_layout
24135
24136 \begin_layout Standard
24137 Displayed formulas appear outside the text like if they were in a separate
24138  paragraph, like this one:
24139 \begin_inset Formula 
24140 \[
24141 A=B
24142 \]
24143
24144 \end_inset
24145
24146 You can only number and reference displayed formulas.
24147 \end_layout
24148
24149 \begin_layout Standard
24150 \SpecialChar LyX
24151  also supports many \SpecialChar LaTeX
24152  math commands.
24153  For example, typing 
24154 \begin_inset Quotes eld
24155 \end_inset
24156
24157
24158 \series bold
24159
24160 \backslash
24161 alpha
24162 \series default
24163
24164 \begin_inset Quotes erd
24165 \end_inset
24166
24167 , followed by a space, in a formula will create the Greek letter 
24168 \begin_inset Formula $\alpha$
24169 \end_inset
24170
24171 .
24172  Typing commands might sometimes be faster than using the 
24173 \family sans
24174 Math
24175 \begin_inset space ~
24176 \end_inset
24177
24178 Panel
24179 \family default
24180 .
24181 \end_layout
24182
24183 \begin_layout Subsection
24184 Navigating in Formulas
24185 \begin_inset Index idx
24186 status collapsed
24187
24188 \begin_layout Plain Layout
24189 Math ! Navigating
24190 \end_layout
24191
24192 \end_inset
24193
24194
24195 \end_layout
24196
24197 \begin_layout Standard
24198 The best control over the cursor position within an existing formula is
24199  achieved with the arrow keys.
24200  \SpecialChar LyX
24201  uses small rectangles to indicate places where something can be inserted.
24202  The arrow keys can be used to navigate between parts of a formula.
24203  Pressing 
24204 \family sans
24205 Space
24206 \family default
24207  will leave a formula construct (a square root 
24208 \begin_inset Formula $\sqrt{2}$
24209 \end_inset
24210
24211 , or parentheses 
24212 \begin_inset Formula $\left(f\right)$
24213 \end_inset
24214
24215 , or a matrix 
24216 \begin_inset Formula $\left[\begin{array}{cc}
24217 1 & 2\\
24218 3 & 4
24219 \end{array}\right]$
24220 \end_inset
24221
24222 ).
24223  Pressing 
24224 \family sans
24225 Escape
24226 \family default
24227  will leave the formula, placing the cursor after the formula.
24228  
24229 \family sans
24230 Tab
24231 \family default
24232  can be used to move horizontally in a formula; for example, through the
24233  cells of a matrix or the positions in a multi-line equation.
24234 \end_layout
24235
24236 \begin_layout Standard
24237
24238 \family sans
24239 Space
24240 \family default
24241 , printed in this document as 
24242 \begin_inset Quotes eld
24243 \end_inset
24244
24245
24246 \begin_inset space \textvisiblespace{}
24247 \end_inset
24248
24249
24250 \begin_inset Quotes erd
24251 \end_inset
24252
24253 , seems to do nothing in a formula, since it does not add a space between
24254  characters, but it does exit a nested structure.
24255  For this reason, you have to be careful about using 
24256 \family sans
24257 Space
24258 \family default
24259 .
24260  For example, if you want 
24261 \begin_inset Formula $\sqrt{2x+1}$
24262 \end_inset
24263
24264 , type 
24265 \series bold
24266
24267 \backslash
24268 sqrt
24269 \begin_inset space \textvisiblespace{}
24270 \end_inset
24271
24272 2x+1
24273 \series default
24274  and not 
24275 \series bold
24276
24277 \backslash
24278 sqrt
24279 \begin_inset space \textvisiblespace{}
24280 \end_inset
24281
24282 2x
24283 \begin_inset space \textvisiblespace{}
24284 \end_inset
24285
24286 +1
24287 \series default
24288 , since in the latter case only the 
24289 \family typewriter
24290
24291 \begin_inset Formula $2x$
24292 \end_inset
24293
24294
24295 \family default
24296  will be under the square root sign: 
24297 \begin_inset Formula $\sqrt{2x}+1$
24298 \end_inset
24299
24300 .
24301 \end_layout
24302
24303 \begin_layout Standard
24304 You can leave many parts of a formula, like this matrix, partially filled
24305  in, such as:
24306 \begin_inset Formula 
24307 \[
24308 \left(\begin{array}{ccc}
24309 \lambda_{1}\\
24310  & \ddots\\
24311  &  & \lambda_{n}
24312 \end{array}\right)
24313 \]
24314
24315 \end_inset
24316
24317 If you leave a fraction only partially filled in, or a subscript with nothing
24318  in it, the results will be unpredictable, but most constructs don't mind.
24319 \end_layout
24320
24321 \begin_layout Subsection
24322 Selecting Text
24323 \end_layout
24324
24325 \begin_layout Standard
24326 You can select text within a formula in two different ways.
24327  Place the cursor at one end of the string of text you want, and press 
24328 \family sans
24329 Shift
24330 \family default
24331  and a cursor movement key to select text.
24332  It will be highlighted as with regular text selection.
24333  Alternatively, you can select text with the mouse in the usual way.
24334  That text can then be cut or copied, and then pasted within any formula,
24335  but not in a normal text region in \SpecialChar LyX
24336 .
24337 \end_layout
24338
24339 \begin_layout Subsection
24340 Exponents and Subscripts
24341 \begin_inset Index idx
24342 status collapsed
24343
24344 \begin_layout Plain Layout
24345 Math ! Exponents
24346 \end_layout
24347
24348 \end_inset
24349
24350
24351 \begin_inset Index idx
24352 status collapsed
24353
24354 \begin_layout Plain Layout
24355 Math ! Subscripts
24356 \end_layout
24357
24358 \end_inset
24359
24360
24361 \end_layout
24362
24363 \begin_layout Standard
24364 You can use the math panel to add super- or subscripts (buttons 
24365 \begin_inset Info
24366 type  "icon"
24367 arg   "math-superscript"
24368 \end_inset
24369
24370  and 
24371 \begin_inset Info
24372 type  "icon"
24373 arg   "math-subscript"
24374 \end_inset
24375
24376 ), but it is often much easier to use a command.
24377  To get 
24378 \begin_inset Formula $x^{2}$
24379 \end_inset
24380
24381 , type in a formula 
24382 \series bold
24383 x^2
24384 \begin_inset space \textvisiblespace{}
24385 \end_inset
24386
24387
24388 \series default
24389 .
24390  The final 
24391 \family sans
24392 Space
24393 \family default
24394  puts the cursor back down on the base line of the expression.
24395  If you type 
24396 \series bold
24397 x^2y
24398 \series default
24399 , you will get 
24400 \begin_inset Formula $x^{2y}$
24401 \end_inset
24402
24403 , to get 
24404 \begin_inset Formula $x^{2}y$
24405 \end_inset
24406
24407 , type 
24408 \series bold
24409 x^2
24410 \begin_inset space \textvisiblespace{}
24411 \end_inset
24412
24413 y
24414 \series default
24415 .
24416  If you use characters in the superscript, that could be accented with the
24417  circumflex 
24418 \begin_inset Quotes eld
24419 \end_inset
24420
24421 ^
24422 \begin_inset Quotes erd
24423 \end_inset
24424
24425 , you have to use an extra 
24426 \family sans
24427 Space
24428 \family default
24429  to separate the circumflex and the character.
24430  For example, if you want 
24431 \begin_inset Formula $x^{a}$
24432 \end_inset
24433
24434 , type 
24435 \series bold
24436 x^
24437 \begin_inset space \textvisiblespace{}
24438 \end_inset
24439
24440 a
24441 \series default
24442 .
24443  Subscripts are similar: To get 
24444 \begin_inset Formula $a_{1}$
24445 \end_inset
24446
24447 , type 
24448 \series bold
24449 a_1
24450 \begin_inset space \textvisiblespace{}
24451 \end_inset
24452
24453
24454 \series default
24455 .
24456 \end_layout
24457
24458 \begin_layout Subsection
24459 Fractions
24460 \begin_inset Index idx
24461 status collapsed
24462
24463 \begin_layout Plain Layout
24464 Math ! Fractions
24465 \end_layout
24466
24467 \end_inset
24468
24469
24470 \end_layout
24471
24472 \begin_layout Standard
24473 Create a fraction either with the command 
24474 \series bold
24475
24476 \backslash
24477 frac
24478 \series default
24479  or by using the icon 
24480 \begin_inset Info
24481 type  "icon"
24482 arg   "math-insert \\frac"
24483 \end_inset
24484
24485  in the 
24486 \family sans
24487 Math
24488 \begin_inset space ~
24489 \end_inset
24490
24491 Panel
24492 \family default
24493 .
24494  You will be presented with an empty fraction.
24495  The cursor is above the fraction line.
24496  To move it to the bottom, simply press 
24497 \family sans
24498 Down
24499 \family default
24500 .
24501  To move back up, press 
24502 \family sans
24503 Up
24504 \family default
24505 .
24506  Any math structure can be placed in a fraction, as this example shows:
24507 \begin_inset Formula 
24508 \[
24509 \left[\frac{1}{\left(\begin{array}{cc}
24510 2 & 3\\
24511 4 & 5
24512 \end{array}\right)}\right]
24513 \]
24514
24515 \end_inset
24516
24517
24518 \end_layout
24519
24520 \begin_layout Subsection
24521 Roots
24522 \begin_inset Index idx
24523 status collapsed
24524
24525 \begin_layout Plain Layout
24526 Math ! Roots
24527 \end_layout
24528
24529 \end_inset
24530
24531
24532 \end_layout
24533
24534 \begin_layout Standard
24535 Roots can be created using the 
24536 \family sans
24537 Math
24538 \begin_inset space ~
24539 \end_inset
24540
24541 Panel
24542 \family default
24543  buttons 
24544 \begin_inset Info
24545 type  "icon"
24546 arg   "math-insert \\sqrt"
24547 \end_inset
24548
24549  or 
24550 \begin_inset Info
24551 type  "icon"
24552 arg   "math-insert \\root"
24553 \end_inset
24554
24555  or the commands 
24556 \series bold
24557
24558 \backslash
24559 sqrt
24560 \series default
24561  or 
24562 \series bold
24563
24564 \backslash
24565 root
24566 \series default
24567 .
24568  With the command 
24569 \series bold
24570
24571 \backslash
24572 root
24573 \series default
24574  you can produce roots of higher orders, like cube roots, while 
24575 \series bold
24576
24577 \backslash
24578 sqrt
24579 \series default
24580  always produces a square root.
24581 \end_layout
24582
24583 \begin_layout Subsection
24584 Operators with Limits
24585 \begin_inset Index idx
24586 status collapsed
24587
24588 \begin_layout Plain Layout
24589 Math ! Sums
24590 \end_layout
24591
24592 \end_inset
24593
24594
24595 \begin_inset Index idx
24596 status collapsed
24597
24598 \begin_layout Plain Layout
24599 Math ! Integrals
24600 \end_layout
24601
24602 \end_inset
24603
24604
24605 \begin_inset CommandInset label
24606 LatexCommand label
24607 name "subsec:Operators-with-Limits"
24608
24609 \end_inset
24610
24611
24612 \end_layout
24613
24614 \begin_layout Standard
24615 Sum (
24616 \begin_inset Formula $\sum$
24617 \end_inset
24618
24619 ) and integral (
24620 \begin_inset Formula $\int$
24621 \end_inset
24622
24623 ) operators are very often decorated with limits.
24624  These limits can be entered in \SpecialChar LyX
24625  by entering them as you would enter a super-
24626  or subscript, directly after the symbol.
24627  The sum operator will automatically place its 
24628 \begin_inset Quotes eld
24629 \end_inset
24630
24631 limits
24632 \begin_inset Quotes erd
24633 \end_inset
24634
24635  over and under the symbol in displayed formulas, and to the side in inline
24636  formulas, as in 
24637 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
24638 \end_inset
24639
24640 , versus
24641 \begin_inset Formula 
24642 \[
24643 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
24644 \]
24645
24646 \end_inset
24647
24648 Integral signs, however, will place the limits to the side in both formula
24649  types.
24650 \end_layout
24651
24652 \begin_layout Standard
24653 All operators with limits will be automatically re-sized when placed in
24654  display mode.
24655  The placement of the limits can be changed by placing the cursor directly
24656  behind the operator and using the menu 
24657 \family sans
24658 Edit\SpecialChar menuseparator
24659 Math\SpecialChar menuseparator
24660 Change
24661 \begin_inset space ~
24662 \end_inset
24663
24664 Limits
24665 \begin_inset space ~
24666 \end_inset
24667
24668 Type
24669 \family default
24670  or entering 
24671 \begin_inset Info
24672 type  "shortcut"
24673 arg   "math-limits"
24674 \end_inset
24675
24676 .
24677 \end_layout
24678
24679 \begin_layout Standard
24680 Certain other mathematical expressions also have this 
24681 \begin_inset Quotes eld
24682 \end_inset
24683
24684 moving limits
24685 \begin_inset Quotes erd
24686 \end_inset
24687
24688  feature, such as
24689 \begin_inset Index idx
24690 status collapsed
24691
24692 \begin_layout Plain Layout
24693 Math ! Limits
24694 \end_layout
24695
24696 \end_inset
24697
24698
24699 \begin_inset Formula 
24700 \[
24701 \lim_{x\rightarrow\infty}f(x),
24702 \]
24703
24704 \end_inset
24705
24706 which will place the 
24707 \begin_inset Formula $x\rightarrow\infty$
24708 \end_inset
24709
24710  underneath the 
24711 \begin_inset Quotes eld
24712 \end_inset
24713
24714 lim
24715 \begin_inset Quotes erd
24716 \end_inset
24717
24718  in display mode.
24719  In inline formulas it looks like this: 
24720 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
24721 \end_inset
24722
24723 .
24724 \end_layout
24725
24726 \begin_layout Standard
24727 Note that the lim-function was entered as the function macro 
24728 \series bold
24729
24730 \backslash
24731 lim
24732 \series default
24733 .
24734  Have a look at section
24735 \begin_inset space ~
24736 \end_inset
24737
24738
24739 \begin_inset CommandInset ref
24740 LatexCommand ref
24741 reference "subsec:Functions"
24742
24743 \end_inset
24744
24745  for an explanation of function macros.
24746 \end_layout
24747
24748 \begin_layout Subsection
24749 Math Symbols
24750 \begin_inset Index idx
24751 status collapsed
24752
24753 \begin_layout Plain Layout
24754 Math ! Symbols
24755 \end_layout
24756
24757 \end_inset
24758
24759
24760 \end_layout
24761
24762 \begin_layout Standard
24763 Most math symbols can be found in the 
24764 \family sans
24765 Math
24766 \begin_inset space ~
24767 \end_inset
24768
24769 Panel
24770 \family default
24771  under one of several categories; including 
24772 \family sans
24773 Greek
24774 \family default
24775
24776 \family sans
24777 Operators
24778 \family default
24779
24780 \family sans
24781 Relations
24782 \family default
24783
24784 \family sans
24785 Arrows
24786 \family default
24787 .
24788  There are also the additional symbols provided by the American Mathematical
24789  Society (AMS).
24790 \end_layout
24791
24792 \begin_layout Standard
24793 If you know the \SpecialChar LaTeX
24794 -command for a construct or symbol you wish to use, you
24795  don't have to use the 
24796 \family sans
24797 Math
24798 \begin_inset space ~
24799 \end_inset
24800
24801 Panel
24802 \family default
24803 ; you can type the command directly into the formula.
24804  \SpecialChar LyX
24805  will convert it to the corresponding symbol or construct.
24806 \end_layout
24807
24808 \begin_layout Subsection
24809 Altering Spacing
24810 \begin_inset Index idx
24811 status collapsed
24812
24813 \begin_layout Plain Layout
24814 Math ! Spaces
24815 \end_layout
24816
24817 \end_inset
24818
24819
24820 \end_layout
24821
24822 \begin_layout Standard
24823 You may want to create spaces that differ from the standard spacing that
24824  \SpecialChar LaTeX
24825  provides.
24826  To do this, press 
24827 \begin_inset Info
24828 type  "shortcut"
24829 arg   "command-alternatives math-space ; space-insert protected"
24830 \end_inset
24831
24832  or use the 
24833 \family sans
24834 Math
24835 \begin_inset space ~
24836 \end_inset
24837
24838 Panel
24839 \family default
24840  button 
24841 \begin_inset Info
24842 type  "icon"
24843 arg   "math-insert \\space"
24844 \end_inset
24845
24846 .
24847  This generates a small space, and shows a small marker on the screen.
24848  For example, the sequence 
24849 \series bold
24850 a Ctrl+Space b
24851 \series default
24852
24853 \begin_inset Formula $a\,b$
24854 \end_inset
24855
24856  appears in \SpecialChar LyX
24857  as 
24858 \begin_inset Graphics
24859         filename clipart/SpaceMarker.png
24860
24861 \end_inset
24862
24863 .
24864  You can change the space to different sizes when you set the cursor behind
24865  the space marker and enter space again several times.
24866  With every space enter the size will be changed.
24867  Some markers for the space size appear red in \SpecialChar LyX
24868 , because they are negative
24869  spaces.
24870  Here are two examples:
24871 \end_layout
24872
24873 \begin_layout Standard
24874
24875 \series bold
24876 a Ctrl+Space b
24877 \series default
24878  and 3×
24879 \family sans
24880 Space
24881 \family default
24882
24883 \begin_inset Formula $a\quad b$
24884 \end_inset
24885
24886
24887 \end_layout
24888
24889 \begin_layout Standard
24890
24891 \series bold
24892 a Ctrl+Space b
24893 \series default
24894  and 5×
24895 \family sans
24896 Space
24897 \family default
24898
24899 \begin_inset Formula $a\!b$
24900 \end_inset
24901
24902
24903 \end_layout
24904
24905 \begin_layout Subsection
24906 Functions
24907 \begin_inset Index idx
24908 status collapsed
24909
24910 \begin_layout Plain Layout
24911 Math ! Functions
24912 \end_layout
24913
24914 \end_inset
24915
24916
24917 \begin_inset CommandInset label
24918 LatexCommand label
24919 name "subsec:Functions"
24920
24921 \end_inset
24922
24923
24924 \end_layout
24925
24926 \begin_layout Standard
24927 The 
24928 \family sans
24929 Math
24930 \begin_inset space ~
24931 \end_inset
24932
24933 Panel
24934 \family default
24935  contains under the button 
24936 \begin_inset Info
24937 type  "icon"
24938 arg   "math-insert \\functions"
24939 \end_inset
24940
24941  a number of function macros, such as 
24942 \begin_inset Formula $\sin$
24943 \end_inset
24944
24945
24946 \begin_inset Formula $\lim$
24947 \end_inset
24948
24949
24950 \emph on
24951 etc
24952 \emph default
24953 .
24954  (you can also insert them in a formula by typing 
24955 \series bold
24956
24957 \backslash
24958 sin
24959 \series default
24960  etc.).
24961  Standard mathematical practice is that functions are printed upright to
24962  avoid confusions, because 
24963 \begin_inset Formula $sin$
24964 \end_inset
24965
24966  does normally mean 
24967 \begin_inset Formula $s\cdot i\cdot n$
24968 \end_inset
24969
24970 .
24971 \end_layout
24972
24973 \begin_layout Standard
24974 Using the function macros will also produce correct spacing around the function:
24975  
24976 \begin_inset Formula $a\sin x$
24977 \end_inset
24978
24979  is different from 
24980 \begin_inset Formula $asinx$
24981 \end_inset
24982
24983 .
24984 \end_layout
24985
24986 \begin_layout Standard
24987 For some mathematical objects, like limits, the macro changes where subscripts
24988  are placed, as described in section
24989 \begin_inset space ~
24990 \end_inset
24991
24992
24993 \begin_inset CommandInset ref
24994 LatexCommand ref
24995 reference "subsec:Operators-with-Limits"
24996
24997 \end_inset
24998
24999 .
25000 \end_layout
25001
25002 \begin_layout Subsection
25003 Accents
25004 \begin_inset Index idx
25005 status collapsed
25006
25007 \begin_layout Plain Layout
25008 Math ! Accents
25009 \end_layout
25010
25011 \end_inset
25012
25013
25014 \end_layout
25015
25016 \begin_layout Standard
25017 In a formula you can insert accented characters in the same way as in text
25018  mode.
25019  This may depend on your keyboard, or the bindings file you use.
25020  You can also use \SpecialChar LaTeX
25021  commands, for example, to enter 
25022 \begin_inset Formula $\hat{a}$
25023 \end_inset
25024
25025  even if your keyboard doesn't have the circumflex enabled.
25026  Our example is entered by typing 
25027 \series bold
25028
25029 \backslash
25030 hat
25031 \begin_inset space \textvisiblespace{}
25032 \end_inset
25033
25034 a
25035 \series default
25036  in a formula.
25037  Table
25038 \begin_inset space ~
25039 \end_inset
25040
25041
25042 \begin_inset CommandInset ref
25043 LatexCommand ref
25044 reference "tab:Accent-names-and"
25045
25046 \end_inset
25047
25048  shows the equivalences between the accent names and the commands.
25049 \end_layout
25050
25051 \begin_layout Standard
25052 \begin_inset Float table
25053 wide false
25054 sideways false
25055 status open
25056
25057 \begin_layout Plain Layout
25058 \begin_inset Caption Standard
25059
25060 \begin_layout Plain Layout
25061 \begin_inset CommandInset label
25062 LatexCommand label
25063 name "tab:Accent-names-and"
25064
25065 \end_inset
25066
25067 Accent names and the corresponding commands.
25068 \end_layout
25069
25070 \end_inset
25071
25072
25073 \end_layout
25074
25075 \begin_layout Plain Layout
25076 \align center
25077 \begin_inset Tabular
25078 <lyxtabular version="3" rows="11" columns="3">
25079 <features tabularvalignment="middle">
25080 <column alignment="center" valignment="top" width="0pt">
25081 <column alignment="center" valignment="top" width="0pt">
25082 <column alignment="center" valignment="top" width="0pt">
25083 <row>
25084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25085 \begin_inset Text
25086
25087 \begin_layout Plain Layout
25088 Name
25089 \end_layout
25090
25091 \end_inset
25092 </cell>
25093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25094 \begin_inset Text
25095
25096 \begin_layout Plain Layout
25097 Command
25098 \end_layout
25099
25100 \end_inset
25101 </cell>
25102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25103 \begin_inset Text
25104
25105 \begin_layout Plain Layout
25106 E
25107 \family roman
25108 \series medium
25109 \shape up
25110 \size normal
25111 \emph off
25112 \bar no
25113 \noun off
25114 \color none
25115 xample
25116 \end_layout
25117
25118 \end_inset
25119 </cell>
25120 </row>
25121 <row>
25122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25123 \begin_inset Text
25124
25125 \begin_layout Plain Layout
25126
25127 \family roman
25128 \series medium
25129 \shape up
25130 \size normal
25131 \emph off
25132 \bar no
25133 \noun off
25134 \color none
25135 circumflex
25136 \end_layout
25137
25138 \end_inset
25139 </cell>
25140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25141 \begin_inset Text
25142
25143 \begin_layout Plain Layout
25144
25145 \series bold
25146
25147 \backslash
25148 hat
25149 \end_layout
25150
25151 \end_inset
25152 </cell>
25153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25154 \begin_inset Text
25155
25156 \begin_layout Plain Layout
25157
25158 \family roman
25159 \series medium
25160 \shape up
25161 \size normal
25162 \emph off
25163 \bar no
25164 \noun off
25165 \color none
25166 \begin_inset Formula $\hat{a}$
25167 \end_inset
25168
25169
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 grave
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 grave
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 $\grave{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 acute
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 acute
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 $\acute{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 umlaut
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 ddot
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 $\ddot{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 tilde
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 tilde
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 $\tilde{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 dot
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 dot
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 $\dot{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 breve
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 breve
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 $\breve{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 caron
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 check
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 $\check{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 macron
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 bar
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 $\bar{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" bottomline="true" leftline="true" usebox="none">
25609 \begin_inset Text
25610
25611 \begin_layout Plain Layout
25612 vector
25613 \end_layout
25614
25615 \end_inset
25616 </cell>
25617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25618 \begin_inset Text
25619
25620 \begin_layout Plain Layout
25621
25622 \series bold
25623
25624 \backslash
25625 vec
25626 \end_layout
25627
25628 \end_inset
25629 </cell>
25630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25631 \begin_inset Text
25632
25633 \begin_layout Plain Layout
25634
25635 \family roman
25636 \series medium
25637 \shape up
25638 \size normal
25639 \emph off
25640 \bar no
25641 \noun off
25642 \color none
25643 \begin_inset Formula $\vec{a}$
25644 \end_inset
25645
25646
25647 \end_layout
25648
25649 \end_inset
25650 </cell>
25651 </row>
25652 </lyxtabular>
25653
25654 \end_inset
25655
25656
25657 \end_layout
25658
25659 \end_inset
25660
25661
25662 \end_layout
25663
25664 \begin_layout Standard
25665 You can choose one of the accents by selecting an item from the 
25666 \family sans
25667 Frame
25668 \begin_inset space ~
25669 \end_inset
25670
25671 decorations
25672 \family default
25673  symbol set button 
25674 \begin_inset Info
25675 type  "icon"
25676 arg   "math-insert \\hat"
25677 \end_inset
25678
25679  in the math panel; this will apply to any selection you have made within
25680  a formula too.
25681 \end_layout
25682
25683 \begin_layout Section
25684 Brackets and Delimiters
25685 \begin_inset Index idx
25686 status collapsed
25687
25688 \begin_layout Plain Layout
25689 Math ! Brackets
25690 \end_layout
25691
25692 \end_inset
25693
25694
25695 \begin_inset Index idx
25696 status collapsed
25697
25698 \begin_layout Plain Layout
25699 Math ! Delimiters
25700 \end_layout
25701
25702 \end_inset
25703
25704
25705 \begin_inset CommandInset label
25706 LatexCommand label
25707 name "sec:Brackets-and-Delimiters"
25708
25709 \end_inset
25710
25711
25712 \end_layout
25713
25714 \begin_layout Standard
25715 There are several brackets available through \SpecialChar LyX
25716 .
25717  For some purposes, using just the keys 
25718 \family typewriter
25719 []{}()|<>
25720 \family default
25721  should suffice.
25722  But if you want to surround a large structure, like a matrix or a fraction,
25723  or if you have several layers of brackets, it is better to use the math
25724  toolbar delimiter icon 
25725 \begin_inset Info
25726 type  "icon"
25727 arg   "dialog-show mathdelimiter"
25728 \end_inset
25729
25730 .
25731  For example, if you construct the brackets around a matrix in this way:
25732 \begin_inset Formula 
25733 \[
25734 \left[\begin{array}{cc}
25735 1 & 2\\
25736 3 & 4
25737 \end{array}\right]
25738 \]
25739
25740 \end_inset
25741
25742 it makes it easier to see the layers of parentheses.
25743  Below, the expression on the left was entered using the delimiter icon
25744  
25745 \begin_inset Info
25746 type  "icon"
25747 arg   "dialog-show mathdelimiter"
25748 \end_inset
25749
25750  and the expression on the right was entered using the 
25751 \family typewriter
25752 ()
25753 \family default
25754  keys.
25755  
25756 \begin_inset Formula 
25757 \[
25758 \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})}))}
25759 \]
25760
25761 \end_inset
25762
25763
25764 \end_layout
25765
25766 \begin_layout Standard
25767 If you use the delimiter icon, the parentheses, and other brackets from
25768  that menu will automatically re-size to accommodate the size of what is
25769  inside.
25770 \end_layout
25771
25772 \begin_layout Standard
25773 To construct brackets click on the button for the bracket you want on the
25774  left side and right side.
25775  If you use the option 
25776 \family sans
25777 Keep
25778 \begin_inset space ~
25779 \end_inset
25780
25781 matched
25782 \family default
25783 , the selected bracket type will be used for the left and the right side.
25784  The selection will be shown as \SpecialChar TeX
25785  code.
25786  If you want one side not to have a bracket, use 
25787 \family sans
25788 (none)
25789 \family default
25790 .
25791  It will appear in \SpecialChar LyX
25792  with a dotted line, but nothing will be printed.
25793 \end_layout
25794
25795 \begin_layout Standard
25796 If you want to place brackets around existing math structures, like a square
25797  root, you can do so by first highlighting (selecting) the structure that
25798  is to go inside the brackets.
25799  Then choose the appropriate brackets for left and right and click on 
25800 \family sans
25801 Insert
25802 \family default
25803 .
25804  The most common bracket combinations (parentheses, square brackets, and
25805  braces, on both sides) can be entered more quickly using keyboard shortcuts.
25806  For example, to insert a pair of parentheses, select the structure and
25807  enter 
25808 \begin_inset Info
25809 type  "shortcut"
25810 arg   "math-delim ( )"
25811 \end_inset
25812
25813 .
25814 \end_layout
25815
25816 \begin_layout Section
25817 Arrays and Multi-line Equations
25818 \begin_inset Index idx
25819 status collapsed
25820
25821 \begin_layout Plain Layout
25822 Math ! Arrays
25823 \end_layout
25824
25825 \end_inset
25826
25827
25828 \begin_inset Index idx
25829 status collapsed
25830
25831 \begin_layout Plain Layout
25832 Math ! Matrices
25833 \end_layout
25834
25835 \end_inset
25836
25837
25838 \begin_inset Index idx
25839 status collapsed
25840
25841 \begin_layout Plain Layout
25842 Math ! Multi-line Equations
25843 \end_layout
25844
25845 \end_inset
25846
25847
25848 \end_layout
25849
25850 \begin_layout Standard
25851 Matrices are entered in \SpecialChar LyX
25852  using the 
25853 \family sans
25854 Math
25855 \begin_inset space ~
25856 \end_inset
25857
25858 Panel
25859 \family default
25860  matrix button 
25861 \begin_inset Info
25862 type  "icon"
25863 arg   "dialog-show mathmatrix"
25864 \end_inset
25865
25866 .
25867  It will open a dialog for you to choose the number of rows/columns.
25868  Here is an example:
25869 \begin_inset Formula 
25870 \[
25871 \left(\begin{array}{ccc}
25872 1 & 2 & 3\\
25873 4 & 5 & 6\\
25874 7 & 8 & 9
25875 \end{array}\right)
25876 \]
25877
25878 \end_inset
25879
25880 The parentheses aren't automatic, but you can add them as described in section
25881 \begin_inset space ~
25882 \end_inset
25883
25884
25885 \begin_inset CommandInset ref
25886 LatexCommand ref
25887 reference "sec:Brackets-and-Delimiters"
25888
25889 \end_inset
25890
25891 .
25892  When you construct the matrix, you can decide whether the column entries
25893  will be left-, right-, or center-justified.
25894  This alignment is set in the box 
25895 \family sans
25896 Horizontal
25897 \family default
25898  with the letters 
25899 \begin_inset Quotes eld
25900 \end_inset
25901
25902
25903 \family sans
25904 l
25905 \family default
25906
25907 \begin_inset Quotes erd
25908 \end_inset
25909
25910
25911 \begin_inset Quotes eld
25912 \end_inset
25913
25914
25915 \family sans
25916 r
25917 \family default
25918
25919 \begin_inset Quotes erd
25920 \end_inset
25921
25922 , and 
25923 \begin_inset Quotes eld
25924 \end_inset
25925
25926
25927 \family sans
25928 c
25929 \family default
25930
25931 \begin_inset Quotes erd
25932 \end_inset
25933
25934 .
25935  \SpecialChar LyX
25936  proposes a 
25937 \begin_inset Quotes eld
25938 \end_inset
25939
25940
25941 \family sans
25942 c
25943 \family default
25944
25945 \begin_inset Quotes erd
25946 \end_inset
25947
25948  for every column as default.
25949  For example, the sequence 
25950 \begin_inset Quotes eld
25951 \end_inset
25952
25953
25954 \family sans
25955 lcr
25956 \family default
25957
25958 \begin_inset Quotes erd
25959 \end_inset
25960
25961  means that the first column will be left-justified, the second will be
25962  centered, and the third column will be right-justified, because each letter
25963  corresponds to the relevant column.
25964  The result will look like this:
25965 \begin_inset Formula 
25966 \[
25967 \begin{array}{lcr}
25968 this & this\,column & this\,column\\
25969 column & has & has\,right\\
25970 has\,left\,alignment & center\,alignment & alignment
25971 \end{array}.
25972 \]
25973
25974 \end_inset
25975
25976
25977 \end_layout
25978
25979 \begin_layout Standard
25980 You can add more rows to an existing matrix by entering 
25981 \begin_inset Info
25982 type  "shortcut"
25983 arg   "newline-insert newline"
25984 \end_inset
25985
25986  while the cursor is in the matrix.
25987  Adding or deleting columns can be done via the menu 
25988 \family sans
25989 Edit\SpecialChar menuseparator
25990 Math
25991 \family default
25992  or the math toolbar.
25993 \end_layout
25994
25995 \begin_layout Standard
25996 There are other arrays used in formulas, such as distinctions of cases.
25997  It can be created with the menu 
25998 \family sans
25999 Insert\SpecialChar menuseparator
26000 Math\SpecialChar menuseparator
26001 Cases
26002 \begin_inset space ~
26003 \end_inset
26004
26005 Environment
26006 \family default
26007  or the command 
26008 \series bold
26009
26010 \backslash
26011 cases
26012 \series default
26013 .
26014  Here is an example: 
26015 \begin_inset Formula 
26016 \[
26017 f(x)=\begin{cases}
26018 -1 & x<0\\
26019 0 & x=0\\
26020 1 & x>0
26021 \end{cases}
26022 \]
26023
26024 \end_inset
26025
26026
26027 \end_layout
26028
26029 \begin_layout Standard
26030 \begin_inset VSpace bigskip
26031 \end_inset
26032
26033 Multi-line formulas are created when you press 
26034 \begin_inset Info
26035 type  "shortcut"
26036 arg   "newline-insert newline"
26037 \end_inset
26038
26039  within a formula.
26040  In an empty formula you can see that three blue boxes appear, one for each
26041  column.
26042  When you press 
26043 \begin_inset Info
26044 type  "shortcut"
26045 arg   "newline-insert newline"
26046 \end_inset
26047
26048  in a non-empty formula, the part before the relation sign (equal sign 
26049 \begin_inset Quotes eld
26050 \end_inset
26051
26052 =
26053 \begin_inset Quotes erd
26054 \end_inset
26055
26056  etc.) will be inserted automatically in the first column, the relation sign
26057  is in the second column, and the rest in the third column.
26058  A new row is created by every further entry of 
26059 \begin_inset Info
26060 type  "shortcut"
26061 arg   "newline-insert newline"
26062 \end_inset
26063
26064 .
26065  Multi-line formulas are always displayed formulas.
26066  Here is an example:
26067 \begin_inset Formula 
26068 \begin{eqnarray}
26069 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
26070 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
26071 \end{eqnarray}
26072
26073 \end_inset
26074
26075 Note that the middle column is designed for relation signs so structures
26076  in this column will be printed in a smaller size:
26077 \begin_inset Formula 
26078 \begin{eqnarray*}
26079 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
26080 \end{eqnarray*}
26081
26082 \end_inset
26083
26084
26085 \end_layout
26086
26087 \begin_layout Standard
26088 The multi-line formula type described here is called 
26089 \family typewriter
26090 \series medium
26091 eqnarray
26092 \family default
26093 \series default
26094 .
26095  There are other multi-line types more suitable for certain situations,
26096  for example if you want a better inter-line spacing than in formula 
26097 \begin_inset CommandInset ref
26098 LatexCommand eqref
26099 reference "eq:asquared"
26100
26101 \end_inset
26102
26103 .
26104  The other types are described in section
26105 \begin_inset space ~
26106 \end_inset
26107
26108
26109 \begin_inset CommandInset ref
26110 LatexCommand ref
26111 reference "subsec:AMS-Formula-Types"
26112
26113 \end_inset
26114
26115 .
26116 \end_layout
26117
26118 \begin_layout Section
26119 Formula Numbering and Referencing
26120 \begin_inset Index idx
26121 status collapsed
26122
26123 \begin_layout Plain Layout
26124 Math ! Formula numbering
26125 \end_layout
26126
26127 \end_inset
26128
26129
26130 \begin_inset Index idx
26131 status collapsed
26132
26133 \begin_layout Plain Layout
26134 Math ! Referencing formulas
26135 \end_layout
26136
26137 \end_inset
26138
26139
26140 \begin_inset CommandInset label
26141 LatexCommand label
26142 name "sec:Formula-Numbering-and"
26143
26144 \end_inset
26145
26146
26147 \end_layout
26148
26149 \begin_layout Standard
26150 To number a formula, set the cursor in the formula and use the menu 
26151 \family sans
26152 Edit\SpecialChar menuseparator
26153 Math\SpecialChar menuseparator
26154 Number
26155 \begin_inset space ~
26156 \end_inset
26157
26158 Whole
26159 \begin_inset space ~
26160 \end_inset
26161
26162 Formula
26163 \family default
26164  or the shortcut 
26165 \begin_inset Info
26166 type  "shortcut"
26167 arg   "math-number-toggle"
26168 \end_inset
26169
26170 .
26171  The formula number appears in \SpecialChar LyX
26172  within parentheses.
26173  The number shown is temporary and may be different when the output is generated.
26174  The placement and format of the formula number in the output depends on
26175  the document class.
26176  In this document the number is printed together with the chapter number,
26177  separated by a dot:
26178 \begin_inset Formula 
26179 \begin{equation}
26180 1+1=2
26181 \end{equation}
26182
26183 \end_inset
26184
26185 Using 
26186 \begin_inset Info
26187 type  "shortcut"
26188 arg   "math-number-toggle"
26189 \end_inset
26190
26191  in a numbered formula will switch off the numbering.
26192  You can only number displayed formulas.
26193 \end_layout
26194
26195 \begin_layout Standard
26196 Multi-line formulas can be numbered line by line: Using the menu 
26197 \family sans
26198 Edit\SpecialChar menuseparator
26199 Math\SpecialChar menuseparator
26200 Number
26201 \begin_inset space ~
26202 \end_inset
26203
26204 This
26205 \begin_inset space ~
26206 \end_inset
26207
26208 Line
26209 \family default
26210  or the shortcut 
26211 \begin_inset Info
26212 type  "shortcut"
26213 arg   "math-number-line-toggle"
26214 \end_inset
26215
26216  will only toggle the numbering of the line where the cursor is:
26217 \begin_inset Formula 
26218 \begin{eqnarray}
26219 1 & = & 3-2\\
26220 2 & = & 4-2\nonumber \\
26221 4 & \leq & 7
26222 \end{eqnarray}
26223
26224 \end_inset
26225
26226 To number all lines use the shortcut 
26227 \begin_inset Info
26228 type  "shortcut"
26229 arg   "math-number-toggle"
26230 \end_inset
26231
26232 .
26233 \end_layout
26234
26235 \begin_layout Standard
26236 \begin_inset VSpace bigskip
26237 \end_inset
26238
26239 Every displayed formula can be referenced by its number using a label.
26240  A label is inserted with the menu 
26241 \family sans
26242 Insert\SpecialChar menuseparator
26243 Label
26244 \family default
26245  (toolbar button 
26246 \begin_inset Info
26247 type  "icon"
26248 arg   "label-insert"
26249 \end_inset
26250
26251 ) when the cursor is in the formula.
26252  This opens a dialog to enter the label.
26253  It is recommended that you use the suggested 
26254 \begin_inset Quotes eld
26255 \end_inset
26256
26257
26258 \family sans
26259 eq:
26260 \family default
26261
26262 \begin_inset Quotes erd
26263 \end_inset
26264
26265  as the first part of the label, because this helps later to identify the
26266  label type when you have many labels in your document.
26267  We inserted in the following example the label 
26268 \begin_inset Quotes eld
26269 \end_inset
26270
26271 eq:tanhExp
26272 \begin_inset Quotes erd
26273 \end_inset
26274
26275  in the second line:
26276 \begin_inset Formula 
26277 \begin{eqnarray}
26278 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
26279  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
26280 \end{eqnarray}
26281
26282 \end_inset
26283
26284 Every labeled line is automatically numbered.
26285  Therefore the label is shown behind the formula number.
26286  You can reference a labeled formula using the menu 
26287 \family sans
26288 Insert\SpecialChar menuseparator
26289 Cross
26290 \begin_inset space ~
26291 \end_inset
26292
26293 Reference
26294 \family default
26295  (toolbar button 
26296 \begin_inset Info
26297 type  "icon"
26298 arg   "dialog-show-new-inset ref"
26299 \end_inset
26300
26301 ).
26302  A dialog appears to choose a label you want to refer to.
26303  The reference appears in \SpecialChar LyX
26304  as a gray cross-reference box and in the output
26305  as the formula number:
26306 \end_layout
26307
26308 \begin_layout Standard
26309 This is a cross-reference to equation (
26310 \begin_inset CommandInset ref
26311 LatexCommand ref
26312 reference "eq:tanhExp"
26313
26314 \end_inset
26315
26316 ).
26317 \end_layout
26318
26319 \begin_layout Standard
26320 The properties of \SpecialChar LyX
26321 's cross-reference box are described in section
26322 \begin_inset space ~
26323 \end_inset
26324
26325
26326 \begin_inset CommandInset ref
26327 LatexCommand ref
26328 reference "sec:Cross-References"
26329
26330 \end_inset
26331
26332 .
26333  To delete a label, set the cursor at the end in the labeled formula and
26334  press 
26335 \family sans
26336 Del
26337 \family default
26338 .
26339 \end_layout
26340
26341 \begin_layout Section
26342 User defined math macros
26343 \begin_inset Index idx
26344 status collapsed
26345
26346 \begin_layout Plain Layout
26347 Math ! Macros
26348 \end_layout
26349
26350 \end_inset
26351
26352
26353 \end_layout
26354
26355 \begin_layout Standard
26356 \SpecialChar LyX
26357  allows you to define macros for formulas which is very useful when you
26358  have equations of the same form in a document several times.
26359  Math macros are explained in section 
26360 \emph on
26361 Math
26362 \begin_inset space ~
26363 \end_inset
26364
26365 Macros
26366 \emph default
26367  of the 
26368 \emph on
26369 Math
26370 \emph default
26371  manual.
26372 \end_layout
26373
26374 \begin_layout Section
26375 Fine-Tuning
26376 \end_layout
26377
26378 \begin_layout Subsection
26379 Typefaces
26380 \begin_inset Index idx
26381 status collapsed
26382
26383 \begin_layout Plain Layout
26384 Math ! Typefaces
26385 \end_layout
26386
26387 \end_inset
26388
26389
26390 \end_layout
26391
26392 \begin_layout Standard
26393 The standard font for text is italic, for numbers the standard is roman.
26394  To set a font in a formula, use the 
26395 \family sans
26396 Math
26397 \begin_inset space ~
26398 \end_inset
26399
26400 Panel
26401 \family default
26402  button 
26403 \begin_inset Info
26404 type  "icon"
26405 arg   "math-insert \\font"
26406 \end_inset
26407
26408 , or enter its command, listed in table
26409 \begin_inset space ~
26410 \end_inset
26411
26412
26413 \begin_inset CommandInset ref
26414 LatexCommand ref
26415 reference "tab:Typefaces-and-the"
26416
26417 \end_inset
26418
26419 , directly.
26420 \end_layout
26421
26422 \begin_layout Standard
26423 \begin_inset Float table
26424 wide false
26425 sideways false
26426 status open
26427
26428 \begin_layout Plain Layout
26429 \begin_inset Caption Standard
26430
26431 \begin_layout Plain Layout
26432 \begin_inset CommandInset label
26433 LatexCommand label
26434 name "tab:Typefaces-and-the"
26435
26436 \end_inset
26437
26438 Typefaces and the corresponding commands.
26439 \end_layout
26440
26441 \end_inset
26442
26443
26444 \end_layout
26445
26446 \begin_layout Plain Layout
26447 \align center
26448 \begin_inset Tabular
26449 <lyxtabular version="3" rows="9" columns="2">
26450 <features tabularvalignment="middle">
26451 <column alignment="center" valignment="top" width="0pt">
26452 <column alignment="center" valignment="top" width="0pt">
26453 <row>
26454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26455 \begin_inset Text
26456
26457 \begin_layout Plain Layout
26458 Font
26459 \end_layout
26460
26461 \end_inset
26462 </cell>
26463 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26464 \begin_inset Text
26465
26466 \begin_layout Plain Layout
26467 Command
26468 \end_layout
26469
26470 \end_inset
26471 </cell>
26472 </row>
26473 <row>
26474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26475 \begin_inset Text
26476
26477 \begin_layout Plain Layout
26478
26479 \shape up
26480 \size normal
26481 \bar no
26482 \noun off
26483 \color none
26484 \begin_inset Formula $\mathrm{Roman}$
26485 \end_inset
26486
26487
26488 \end_layout
26489
26490 \end_inset
26491 </cell>
26492 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26493 \begin_inset Text
26494
26495 \begin_layout Plain Layout
26496
26497 \series bold
26498
26499 \backslash
26500 mathrm
26501 \end_layout
26502
26503 \end_inset
26504 </cell>
26505 </row>
26506 <row>
26507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26508 \begin_inset Text
26509
26510 \begin_layout Plain Layout
26511 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
26512 \end_inset
26513
26514
26515 \end_layout
26516
26517 \end_inset
26518 </cell>
26519 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26520 \begin_inset Text
26521
26522 \begin_layout Plain Layout
26523
26524 \series bold
26525
26526 \backslash
26527 mathbf
26528 \end_layout
26529
26530 \end_inset
26531 </cell>
26532 </row>
26533 <row>
26534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26535 \begin_inset Text
26536
26537 \begin_layout Plain Layout
26538 \begin_inset Formula $\mathit{Italic}$
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 mathit
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
26566 \shape up
26567 \size normal
26568 \bar no
26569 \noun off
26570 \color none
26571 \begin_inset Formula $\mathtt{Typewriter}$
26572 \end_inset
26573
26574
26575 \end_layout
26576
26577 \end_inset
26578 </cell>
26579 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26580 \begin_inset Text
26581
26582 \begin_layout Plain Layout
26583
26584 \series bold
26585
26586 \backslash
26587 mathtt
26588 \end_layout
26589
26590 \end_inset
26591 </cell>
26592 </row>
26593 <row>
26594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26595 \begin_inset Text
26596
26597 \begin_layout Plain Layout
26598 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
26599 \end_inset
26600
26601
26602 \end_layout
26603
26604 \end_inset
26605 </cell>
26606 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26607 \begin_inset Text
26608
26609 \begin_layout Plain Layout
26610
26611 \series bold
26612
26613 \backslash
26614 mathbb
26615 \end_layout
26616
26617 \end_inset
26618 </cell>
26619 </row>
26620 <row>
26621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26622 \begin_inset Text
26623
26624 \begin_layout Plain Layout
26625 \begin_inset Formula $\mathfrak{Fraktur}$
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 mathfrak
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
26653 \shape up
26654 \size normal
26655 \emph on
26656 \bar no
26657 \noun off
26658 \color none
26659 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
26660 \end_inset
26661
26662
26663 \end_layout
26664
26665 \end_inset
26666 </cell>
26667 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26668 \begin_inset Text
26669
26670 \begin_layout Plain Layout
26671
26672 \series bold
26673
26674 \backslash
26675 mathcal
26676 \end_layout
26677
26678 \end_inset
26679 </cell>
26680 </row>
26681 <row>
26682 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26683 \begin_inset Text
26684
26685 \begin_layout Plain Layout
26686 \begin_inset Formula $\mathsf{SansSerif}$
26687 \end_inset
26688
26689
26690 \end_layout
26691
26692 \end_inset
26693 </cell>
26694 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26695 \begin_inset Text
26696
26697 \begin_layout Plain Layout
26698
26699 \series bold
26700
26701 \backslash
26702 mathsf
26703 \end_layout
26704
26705 \end_inset
26706 </cell>
26707 </row>
26708 </lyxtabular>
26709
26710 \end_inset
26711
26712
26713 \end_layout
26714
26715 \end_inset
26716
26717
26718 \end_layout
26719
26720 \begin_layout Standard
26721 \begin_inset Note Greyedout
26722 status open
26723
26724 \begin_layout Plain Layout
26725
26726 \series bold
26727 Note:
26728 \series default
26729  You can only print capital letters in the typefaces 
26730 \family sans
26731 Blackboard
26732 \family default
26733  and 
26734 \family sans
26735 Calligraphic
26736 \family default
26737 .
26738 \end_layout
26739
26740 \end_inset
26741
26742
26743 \end_layout
26744
26745 \begin_layout Standard
26746 When you use a typeface, a blue box is inserted in the formula.
26747  Every character in this box will be printed in this typeface.
26748  Pressing 
26749 \family sans
26750 Space
26751 \family default
26752  within the box will set the cursor outside, so that you have to use a protected
26753  space when you need a space in the box.
26754  Here is an example where 
26755 \begin_inset Quotes eld
26756 \end_inset
26757
26758 N
26759 \begin_inset Quotes erd
26760 \end_inset
26761
26762  in 
26763 \family sans
26764 Blackboard
26765 \family default
26766  denotes the set of numbers:
26767 \begin_inset Formula 
26768 \[
26769 f(x)=\sqrt{x}\:;\:x\in\mathbb{N}
26770 \]
26771
26772 \end_inset
26773
26774
26775 \end_layout
26776
26777 \begin_layout Standard
26778 The typefaces are nestable, which can cause confusion.
26779  You can, for example, put a character in 
26780 \family sans
26781 Fraktur
26782 \family default
26783  in a box for 
26784 \family sans
26785 Typewriter
26786 \family default
26787
26788 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
26789 \end_inset
26790
26791  
26792 \begin_inset Newline newline
26793 \end_inset
26794
26795 So it is better not to use this feature.
26796 \end_layout
26797
26798 \begin_layout Standard
26799 The typefaces have no effect on Greek letters: 
26800 \begin_inset Formula $\mathfrak{abc\delta e}$
26801 \end_inset
26802
26803
26804 \begin_inset Newline newline
26805 \end_inset
26806
26807 You can only print them emboldened using the command 
26808 \series bold
26809
26810 \backslash
26811 boldsymbol
26812 \series default
26813 , which works like the other typeface commands: 
26814 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
26815 \end_inset
26816
26817
26818 \end_layout
26819
26820 \begin_layout Standard
26821
26822 \series bold
26823
26824 \backslash
26825 boldsymbol
26826 \series default
26827  works for all symbols, letters, and numbers.
26828 \end_layout
26829
26830 \begin_layout Standard
26831 A number of other font options are available as well, in the menu 
26832 \family sans
26833 Edit\SpecialChar menuseparator
26834 Math\SpecialChar menuseparator
26835 Text
26836 \begin_inset space ~
26837 \end_inset
26838
26839 Style
26840 \family default
26841 .
26842 \end_layout
26843
26844 \begin_layout Subsection
26845 Math Text
26846 \begin_inset Index idx
26847 status collapsed
26848
26849 \begin_layout Plain Layout
26850 Math ! Text
26851 \end_layout
26852
26853 \end_inset
26854
26855
26856 \end_layout
26857
26858 \begin_layout Standard
26859 Typefaces are useful for entering some characters in some given font, but
26860  not for text.
26861  For typing longer pieces of text use the math text, which is obtained using
26862  the entry 
26863 \family sans
26864 Normal
26865 \begin_inset space ~
26866 \end_inset
26867
26868 text
26869 \begin_inset space ~
26870 \end_inset
26871
26872 mode
26873 \family default
26874  of the 
26875 \family sans
26876 Math
26877 \begin_inset space ~
26878 \end_inset
26879
26880 Panel
26881 \family default
26882  button 
26883 \begin_inset Info
26884 type  "icon"
26885 arg   "math-insert \\font"
26886 \end_inset
26887
26888 .
26889  Math text appears in \SpecialChar LyX
26890  in black instead of blue.
26891  You can use spaces and accents in math text as in normal text.
26892  Here is an example:
26893 \begin_inset Formula 
26894 \[
26895 f(x)=\begin{cases}
26896 x & \mbox{if I say so}\\
26897 -x & \mbox{under Umständen}
26898 \end{cases}
26899 \]
26900
26901 \end_inset
26902
26903
26904 \end_layout
26905
26906 \begin_layout Subsection
26907 Font Sizes
26908 \begin_inset Index idx
26909 status collapsed
26910
26911 \begin_layout Plain Layout
26912 Math ! Font sizes
26913 \end_layout
26914
26915 \end_inset
26916
26917
26918 \end_layout
26919
26920 \begin_layout Standard
26921 There are four font styles (relative sizes) used in math-mode, which are
26922  automatically chosen in most situations.
26923  These are called 
26924 \family sans
26925 textstyle
26926 \family default
26927
26928 \family sans
26929 displaystyle
26930 \family default
26931
26932 \family sans
26933 scriptstyle
26934 \family default
26935 , and 
26936 \family sans
26937 scriptscriptstyle
26938 \family default
26939 .
26940  For most characters, 
26941 \family sans
26942 textstyle
26943 \family default
26944  and 
26945 \family sans
26946 displaystyle
26947 \family default
26948  are actually the same size, but fractions, superscripts and subscripts,
26949  and certain other structures, are set larger in 
26950 \family sans
26951 displaystyle
26952 \family default
26953 .
26954  Except for some operators, which resize themselves to accommodate various
26955  situations, all text will be set in the styles that \SpecialChar LaTeX
26956  thinks are appropriate.
26957  These choices can be overridden by using the math panel button 
26958 \begin_inset Info
26959 type  "icon"
26960 arg   "math-insert \\style"
26961 \end_inset
26962
26963 .
26964  A box for the size will be created in which you can insert the math structure.
26965  For example, you can set 
26966 \begin_inset Formula $\frac{1}{2}$
26967 \end_inset
26968
26969 , which is normally in 
26970 \family sans
26971 textstyle
26972 \family default
26973 , larger in 
26974 \family sans
26975 displaystyle
26976 \family default
26977
26978 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
26979 \end_inset
26980
26981 .
26982  The four styles are used in the following example:
26983 \end_layout
26984
26985 \begin_layout Standard
26986 \begin_inset Formula $displaystyle$
26987 \end_inset
26988
26989
26990 \begin_inset Formula ${\textstyle textstyle}$
26991 \end_inset
26992
26993
26994 \begin_inset Formula ${\scriptstyle scriptstyle}$
26995 \end_inset
26996
26997
26998 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
26999 \end_inset
27000
27001 .
27002 \end_layout
27003
27004 \begin_layout Standard
27005 All these math-mode font sizes are relative so that if the whole math inset
27006  is set in a particular size with the menu 
27007 \family sans
27008 Edit\SpecialChar menuseparator
27009 Text
27010 \begin_inset space ~
27011 \end_inset
27012
27013 Style
27014 \family default
27015 , all sizes in the formula will be adjusted relative to this size.
27016  Similarly, if the base font size of the document is changed, all fonts
27017  will be adjusted to correspond.
27018  As an example here is a formula in the font size 
27019 \begin_inset Quotes eld
27020 \end_inset
27021
27022 largest
27023 \begin_inset Quotes erd
27024 \end_inset
27025
27026 :
27027 \end_layout
27028
27029 \begin_layout Standard
27030
27031 \family roman
27032 \size largest
27033 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
27034 \end_inset
27035
27036
27037 \end_layout
27038
27039 \begin_layout Section
27040 AMS-\SpecialChar LaTeX
27041
27042 \begin_inset Index idx
27043 status collapsed
27044
27045 \begin_layout Plain Layout
27046 AMS math
27047 \end_layout
27048
27049 \end_inset
27050
27051
27052 \begin_inset Index idx
27053 status collapsed
27054
27055 \begin_layout Plain Layout
27056 Math ! AMS
27057 \end_layout
27058
27059 \end_inset
27060
27061
27062 \end_layout
27063
27064 \begin_layout Standard
27065 \SpecialChar LyX
27066  supports the packages provided by the American Mathematical Society (AMS)
27067  that are in common use.
27068 \end_layout
27069
27070 \begin_layout Subsection
27071 Enabling AMS-Support
27072 \end_layout
27073
27074 \begin_layout Standard
27075 You can make the facilities of the AMS-packages explicitly available in
27076  the document by selecting the checkbox 
27077 \family sans
27078 Use
27079 \begin_inset space ~
27080 \end_inset
27081
27082 AMS
27083 \begin_inset space ~
27084 \end_inset
27085
27086 math
27087 \begin_inset space ~
27088 \end_inset
27089
27090 package
27091 \family default
27092  in the 
27093 \family sans
27094 Document\SpecialChar menuseparator
27095 Settings
27096 \family default
27097
27098 \begin_inset Index idx
27099 status collapsed
27100
27101 \begin_layout Plain Layout
27102 Document ! Settings
27103 \end_layout
27104
27105 \end_inset
27106
27107  dialog under 
27108 \family sans
27109 Math
27110 \begin_inset space ~
27111 \end_inset
27112
27113 Options
27114 \family default
27115 .
27116  AMS is needed for many math-constructs; so when you get \SpecialChar LaTeX
27117 -errors in formulas,
27118  ensure that you have enabled AMS.
27119 \end_layout
27120
27121 \begin_layout Subsection
27122 AMS-Formula Types
27123 \begin_inset CommandInset label
27124 LatexCommand label
27125 name "subsec:AMS-Formula-Types"
27126
27127 \end_inset
27128
27129
27130 \begin_inset Index idx
27131 status collapsed
27132
27133 \begin_layout Plain Layout
27134 Math ! Multi-line Equations
27135 \end_layout
27136
27137 \end_inset
27138
27139
27140 \end_layout
27141
27142 \begin_layout Standard
27143 AMS-\SpecialChar LaTeX
27144  provides a selection of different formula types.
27145  \SpecialChar LyX
27146  allows you to choose between 
27147 \family typewriter
27148 align
27149 \family default
27150
27151 \family typewriter
27152 alignat
27153 \family default
27154
27155 \family typewriter
27156 flalign
27157 \family default
27158
27159 \family typewriter
27160 gather
27161 \family default
27162 , and 
27163 \family typewriter
27164 multline
27165 \family default
27166 .
27167  We refer you to the AMS-documentation, 
27168 \begin_inset CommandInset citation
27169 LatexCommand cite
27170 key "AMS"
27171 literal "true"
27172
27173 \end_inset
27174
27175 , for an explanation of these formula types.
27176 \end_layout
27177
27178 \begin_layout Chapter
27179 More Tools
27180 \end_layout
27181
27182 \begin_layout Section
27183 Cross-References
27184 \begin_inset Index idx
27185 status collapsed
27186
27187 \begin_layout Plain Layout
27188 Cross references
27189 \end_layout
27190
27191 \end_inset
27192
27193
27194 \begin_inset CommandInset label
27195 LatexCommand label
27196 name "sec:Cross-References"
27197
27198 \end_inset
27199
27200
27201 \end_layout
27202
27203 \begin_layout Standard
27204 One of \SpecialChar LyX
27205 's strengths is cross-references.
27206  You can reference every section, float, footnote, formula, and list in
27207  the document.
27208  To reference a document part, you have to insert a label into it.
27209  The label is used as an anchor and a name for the reference.
27210  We want for example to refer to the second item of the following list:
27211 \end_layout
27212
27213 \begin_layout Enumerate
27214 First item
27215 \end_layout
27216
27217 \begin_layout Enumerate
27218 \begin_inset CommandInset label
27219 LatexCommand label
27220 name "enu:Second-item"
27221
27222 \end_inset
27223
27224 Second item
27225 \end_layout
27226
27227 \begin_layout Enumerate
27228 Third item
27229 \end_layout
27230
27231 \begin_layout Standard
27232 First we insert a label into the second item with the menu 
27233 \family sans
27234 Insert\SpecialChar menuseparator
27235 Label
27236 \family default
27237  or by pressing the toolbar button 
27238 \begin_inset Info
27239 type  "icon"
27240 arg   "label-insert"
27241 \end_inset
27242
27243 .
27244  A gray label box like this: 
27245 \begin_inset Graphics
27246         filename clipart/label.png
27247
27248 \end_inset
27249
27250  is inserted and the label window pops up asking for the label text.
27251  \SpecialChar LyX
27252  offers as text the first words of the item with a prefix, in our case
27253  the text 
27254 \begin_inset Quotes eld
27255 \end_inset
27256
27257
27258 \family sans
27259 enu:Second-item
27260 \family default
27261
27262 \begin_inset Quotes erd
27263 \end_inset
27264
27265 .
27266  The prefix 
27267 \begin_inset Quotes eld
27268 \end_inset
27269
27270
27271 \family sans
27272 enu:
27273 \family default
27274
27275 \begin_inset Quotes erd
27276 \end_inset
27277
27278  stands for 
27279 \begin_inset Quotes eld
27280 \end_inset
27281
27282 enumerate
27283 \begin_inset Quotes erd
27284 \end_inset
27285
27286 .
27287  The prefix depends on the document part where the label is inserted; for
27288  example, if you insert a label into a section heading, the suggested prefix
27289  will be 
27290 \begin_inset Quotes eld
27291 \end_inset
27292
27293
27294 \family sans
27295 sec:
27296 \family default
27297
27298 \begin_inset Quotes erd
27299 \end_inset
27300
27301 .
27302 \end_layout
27303
27304 \begin_layout Standard
27305 To reference the item, we refer to its label using the menu 
27306 \family sans
27307 Insert\SpecialChar menuseparator
27308 Cross-Reference
27309 \family default
27310  or the toolbar button 
27311 \begin_inset Info
27312 type  "icon"
27313 arg   "dialog-show-new-inset ref"
27314 \end_inset
27315
27316 .
27317  A gray cross-reference box like this: 
27318 \begin_inset Graphics
27319         filename clipart/reference.png
27320
27321 \end_inset
27322
27323  is inserted and the cross-reference window appears showing all the labels
27324  in the document.
27325  We can now sort the labels alphabetically and then choose the entry 
27326 \begin_inset Quotes eld
27327 \end_inset
27328
27329
27330 \family sans
27331 enu:Second-item
27332 \family default
27333
27334 \begin_inset Quotes erd
27335 \end_inset
27336
27337 .
27338  At the position of the cross-reference box the item number will appear
27339  in the output.
27340 \end_layout
27341
27342 \begin_layout Standard
27343 As an alternative to 
27344 \family sans
27345 Insert\SpecialChar menuseparator
27346 Cross-Reference
27347 \family default
27348 , you can right-click on a label and in the popup menu select 
27349 \family sans
27350 Copy as Reference
27351 \family default
27352 .
27353  The cross-reference to this label is now in the clipboard and can be pasted
27354  to the actual cursor position via the menu 
27355 \family sans
27356 Edit\SpecialChar menuseparator
27357 Paste
27358 \family default
27359  (shortcut 
27360 \begin_inset Info
27361 type  "shortcut"
27362 arg   "paste"
27363 \end_inset
27364
27365 ).
27366 \end_layout
27367
27368 \begin_layout Standard
27369 Here is our cross-reference: Item
27370 \begin_inset space ~
27371 \end_inset
27372
27373
27374 \begin_inset CommandInset ref
27375 LatexCommand ref
27376 reference "enu:Second-item"
27377
27378 \end_inset
27379
27380
27381 \end_layout
27382
27383 \begin_layout Standard
27384 It is recommended to use a protected space
27385 \begin_inset Foot
27386 status collapsed
27387
27388 \begin_layout Plain Layout
27389 described in section
27390 \begin_inset space ~
27391 \end_inset
27392
27393
27394 \begin_inset CommandInset ref
27395 LatexCommand ref
27396 reference "subsec:Protected-Space"
27397
27398 \end_inset
27399
27400
27401 \end_layout
27402
27403 \end_inset
27404
27405  between the cross-reference name and the cross-reference to avoid ugly
27406  line breaks between them.
27407 \end_layout
27408
27409 \begin_layout Standard
27410 There are eight formats of cross-references:
27411 \end_layout
27412
27413 \begin_layout Description
27414 <reference>: prints the number, this is the default: 
27415 \begin_inset CommandInset ref
27416 LatexCommand ref
27417 reference "fig:Two-images"
27418
27419 \end_inset
27420
27421
27422 \end_layout
27423
27424 \begin_layout Description
27425 (<reference>): prints the number within two parentheses, this is the style
27426  normally used to reference formulas, especially when the reference name
27427  
27428 \begin_inset Quotes eld
27429 \end_inset
27430
27431 Equation
27432 \begin_inset Quotes erd
27433 \end_inset
27434
27435  is omitted: 
27436 \begin_inset CommandInset ref
27437 LatexCommand eqref
27438 reference "eq:tanhExp"
27439
27440 \end_inset
27441
27442
27443 \end_layout
27444
27445 \begin_layout Description
27446 <page>: prints the page number: Page
27447 \begin_inset space ~
27448 \end_inset
27449
27450
27451 \begin_inset CommandInset ref
27452 LatexCommand pageref
27453 reference "fig:Two-images"
27454
27455 \end_inset
27456
27457
27458 \end_layout
27459
27460 \begin_layout Description
27461 on
27462 \begin_inset space ~
27463 \end_inset
27464
27465 page
27466 \begin_inset space ~
27467 \end_inset
27468
27469 <page>: prints the text “on page” and the page number: 
27470 \begin_inset CommandInset ref
27471 LatexCommand vpageref
27472 reference "fig:Two-images"
27473
27474 \end_inset
27475
27476
27477 \begin_inset Newline newline
27478 \end_inset
27479
27480 If the label is on the same page, it prints “on this page”; if the label
27481  is on a facing page in a two-sided document, it prints “on the facing page”;
27482  if it is on the previous page which is not a facing page, it prints “on
27483  the previous page”; if it is on the next page which is not a facing page,
27484  it prints “on the next page”.
27485  The wording of the printed text also depends on the used document class.
27486 \end_layout
27487
27488 \begin_layout Description
27489 <reference>
27490 \begin_inset space ~
27491 \end_inset
27492
27493 on
27494 \begin_inset space ~
27495 \end_inset
27496
27497 page
27498 \begin_inset space ~
27499 \end_inset
27500
27501 <page>: prints the number, the text “on page” and the page number: 
27502 \begin_inset CommandInset ref
27503 LatexCommand vref
27504 reference "fig:Two-images"
27505
27506 \end_inset
27507
27508
27509 \begin_inset Newline newline
27510 \end_inset
27511
27512 If the label is on the same page, this format behaves like 
27513 \family sans
27514 \series bold
27515 <reference>
27516 \family default
27517 \series default
27518 ; otherwise it behaves like 
27519 \family sans
27520 \series bold
27521 on
27522 \begin_inset space ~
27523 \end_inset
27524
27525 page
27526 \begin_inset space ~
27527 \end_inset
27528
27529 <page>
27530 \family default
27531 \series default
27532 .
27533 \end_layout
27534
27535 \begin_layout Description
27536 Formatted
27537 \begin_inset space ~
27538 \end_inset
27539
27540 reference: prints a self defined cross-reference format.
27541 \begin_inset Newline newline
27542 \end_inset
27543
27544
27545 \begin_inset Note Greyedout
27546 status open
27547
27548 \begin_layout Plain Layout
27549
27550 \series bold
27551 Note:
27552 \series default
27553  This feature is only available when you have the \SpecialChar LaTeX
27554 -package 
27555 \series bold
27556 prettyref
27557 \series default
27558  or 
27559 \series bold
27560 refstyle
27561 \series default
27562
27563 \begin_inset Index idx
27564 status collapsed
27565
27566 \begin_layout Plain Layout
27567 \SpecialChar LaTeX
27568  packages ! prettyref
27569 \end_layout
27570
27571 \end_inset
27572
27573
27574 \begin_inset Index idx
27575 status collapsed
27576
27577 \begin_layout Plain Layout
27578 \SpecialChar LaTeX
27579  packages ! refstyle
27580 \end_layout
27581
27582 \end_inset
27583
27584  installed.
27585 \end_layout
27586
27587 \end_inset
27588
27589
27590 \begin_inset Newline newline
27591 \end_inset
27592
27593 You can select which \SpecialChar LaTeX
27594 -package should be used for this feature by setting
27595  the option 
27596 \family sans
27597 Use refstyle (not prettyref) for cross-references
27598 \family default
27599  in the menu 
27600 \family sans
27601 Document\SpecialChar menuseparator
27602 Settings\SpecialChar menuseparator
27603 Document Class
27604 \family default
27605 .
27606  The package 
27607 \series bold
27608 refstyle
27609 \series default
27610  is the default and preferred because 
27611 \series bold
27612 prettyref
27613 \series default
27614  supports only English documents.
27615  The format is specified by using the command 
27616 \series bold
27617
27618 \backslash
27619 newrefformat
27620 \series default
27621  (prettyref) or 
27622 \series bold
27623
27624 \backslash
27625 newref
27626 \series default
27627  (refstyle) in the \SpecialChar LaTeX
27628  preamble of the document.
27629  For example redefining all references to figures (which have the label
27630  shortcut 
27631 \begin_inset Quotes eld
27632 \end_inset
27633
27634
27635 \family sans
27636 fig
27637 \family default
27638
27639 \begin_inset Quotes erd
27640 \end_inset
27641
27642 ) can be done for 
27643 \series bold
27644 refstyle
27645 \series default
27646  with this command:
27647 \begin_inset Newline newline
27648 \end_inset
27649
27650
27651 \series bold
27652
27653 \backslash
27654 newref{fig}{refcmd={Image on page 
27655 \backslash
27656 pageref{#1}}}
27657 \series default
27658
27659 \begin_inset Newline newline
27660 \end_inset
27661
27662 Note that neither 
27663 \series bold
27664 prettyref
27665 \series default
27666  nor 
27667 \series bold
27668 refstyle 
27669 \series default
27670 predefines reference formats for all available types.
27671  This is especially true for the wide variety of mathematical `theorem'
27672  environments.
27673  So if you want to make formatted references to, say, Propositions, then
27674  you will need to define the relevant format yourself.
27675  For 
27676 \series bold
27677 prettyref
27678 \series default
27679 , you might do so as follows:
27680 \begin_inset Newline newline
27681 \end_inset
27682
27683
27684 \series bold
27685
27686 \backslash
27687 newrefformat{prop}{Proposition 
27688 \backslash
27689 ref{#1}}
27690 \series default
27691
27692 \begin_inset Newline newline
27693 \end_inset
27694
27695 For more information about defining formatted references, have a look at
27696  the package documentation 
27697 \begin_inset CommandInset citation
27698 LatexCommand cite
27699 key "prettyref,refstyle"
27700 literal "true"
27701
27702 \end_inset
27703
27704 .
27705 \begin_inset Newline newline
27706 \end_inset
27707
27708 The options 
27709 \family sans
27710 Plural
27711 \family default
27712  and 
27713 \family sans
27714 Capitalized
27715 \family default
27716  will be available with formatted references only if you are using the 
27717 \series bold
27718 refstyle
27719 \series default
27720  package.
27721 \end_layout
27722
27723 \begin_layout Description
27724 Textual
27725 \begin_inset space ~
27726 \end_inset
27727
27728 reference: prints the caption or the name of the reference: 
27729 \begin_inset CommandInset ref
27730 LatexCommand nameref
27731 reference "fig:Two-images"
27732
27733 \end_inset
27734
27735
27736 \end_layout
27737
27738 \begin_layout Description
27739 Label
27740 \begin_inset space ~
27741 \end_inset
27742
27743 only: prints only the \SpecialChar LaTeX
27744  label for the reference: 
27745 \begin_inset CommandInset ref
27746 LatexCommand labelonly
27747 reference "fig:Two-images"
27748
27749 \end_inset
27750
27751
27752 \begin_inset Newline newline
27753 \end_inset
27754
27755 This allows for customization, using \SpecialChar TeX
27756  Code, if you want to issue a command
27757  that \SpecialChar LyX
27758  does not support.
27759  If you are using 
27760 \series bold
27761 refstyle
27762 \series default
27763 , then you may want to use the 
27764 \family sans
27765 No
27766 \begin_inset space ~
27767 \end_inset
27768
27769 Prefix
27770 \family default
27771  option, which will output only the part of the reference following the
27772  
27773 \begin_inset Quotes eld
27774 \end_inset
27775
27776 :
27777 \begin_inset Quotes erd
27778 \end_inset
27779
27780  separator.
27781  This is the form needed for e.
27782 \begin_inset space \thinspace{}
27783 \end_inset
27784
27785 g.
27786 \begin_inset space \space{}
27787 \end_inset
27788
27789
27790 \series bold
27791 refstyle
27792 \series default
27793 's range commands.The number and current page of the referenced document
27794  part in the output is automatically calculated by \SpecialChar LaTeX
27795 .
27796  The varieties are adjusted in the field 
27797 \family sans
27798 Format
27799 \family default
27800  of the cross-reference window, that appears when you click on the cross-referen
27801 ce.
27802 \end_layout
27803
27804 \begin_layout Standard
27805 You can only use the style 
27806 \family sans
27807 <reference>
27808 \family default
27809  to reference numbered document parts, while the reference style 
27810 \family sans
27811 <page>
27812 \family default
27813  is always possible.
27814 \end_layout
27815
27816 \begin_layout Standard
27817 If you want to reference a section, put the label in the section heading;
27818  for floats put the label in the caption; for footnotes put the label in
27819  it.
27820  Referencing formulas is explained in section
27821 \begin_inset space ~
27822 \end_inset
27823
27824
27825 \begin_inset CommandInset ref
27826 LatexCommand ref
27827 reference "sec:Formula-Numbering-and"
27828
27829 \end_inset
27830
27831 .
27832 \end_layout
27833
27834 \begin_layout Standard
27835 Right-clicking on a cross-reference opens a context menu.
27836  The entry 
27837 \family sans
27838 Go
27839 \begin_inset space ~
27840 \end_inset
27841
27842 to
27843 \begin_inset space ~
27844 \end_inset
27845
27846 Label
27847 \family default
27848  sets the cursor before the referenced label.
27849  This entry will be renamed in the context menu of the label to 
27850 \family sans
27851 Go
27852 \begin_inset space ~
27853 \end_inset
27854
27855 Back
27856 \family default
27857  so that you can use it to set the cursor back to the cross-reference.
27858  You can also go back with the toolbar button 
27859 \begin_inset Info
27860 type  "icon"
27861 arg   "bookmark-goto 0"
27862 \end_inset
27863
27864 .
27865 \end_layout
27866
27867 \begin_layout Standard
27868 You can change labels at any time.
27869  References to the changed label will automatically be updated so that you
27870  do not need to think about this.
27871 \end_layout
27872
27873 \begin_layout Standard
27874 If a cross-reference refers to a non-existent label, you will see in \SpecialChar LyX
27875  “BROKEN”
27876  in the cross-reference label and two question marks in the output instead
27877  of the reference.
27878 \end_layout
27879
27880 \begin_layout Standard
27881 References are described in detail in the section
27882 \begin_inset space ~
27883 \end_inset
27884
27885
27886 \emph on
27887 Referencing Floats
27888 \emph default
27889  of the 
27890 \emph on
27891 Embedded
27892 \begin_inset space ~
27893 \end_inset
27894
27895 Objects
27896 \emph default
27897  manual.
27898 \end_layout
27899
27900 \begin_layout Section
27901 Table of Contents and other Listings
27902 \begin_inset Index idx
27903 status collapsed
27904
27905 \begin_layout Plain Layout
27906 Table of contents
27907 \end_layout
27908
27909 \end_inset
27910
27911
27912 \begin_inset Index idx
27913 status collapsed
27914
27915 \begin_layout Plain Layout
27916 Navigating ! Outline
27917 \end_layout
27918
27919 \end_inset
27920
27921
27922 \begin_inset Index idx
27923 status collapsed
27924
27925 \begin_layout Plain Layout
27926 Outline
27927 \end_layout
27928
27929 \end_inset
27930
27931
27932 \begin_inset CommandInset label
27933 LatexCommand label
27934 name "sec:toc"
27935
27936 \end_inset
27937
27938
27939 \end_layout
27940
27941 \begin_layout Subsection
27942 Table of Contents
27943 \begin_inset CommandInset label
27944 LatexCommand label
27945 name "subsec:Table-of-Contents"
27946
27947 \end_inset
27948
27949
27950 \end_layout
27951
27952 \begin_layout Standard
27953 The Table of Contents (TOC) is inserted with the menu 
27954 \family sans
27955 Insert\SpecialChar menuseparator
27956 List/TOC\SpecialChar menuseparator
27957 Table
27958 \begin_inset space ~
27959 \end_inset
27960
27961 of
27962 \begin_inset space ~
27963 \end_inset
27964
27965 Contents
27966 \family default
27967 .
27968  It is displayed in \SpecialChar LyX
27969  as a gray box.
27970  If you click on it, the 
27971 \family sans
27972 Outline
27973 \family default
27974  window appears, showing you the TOC entries as outline, which allows you
27975  to move and rearrange sections in your documents.
27976  So this operation is an alternative to the menu 
27977 \family sans
27978 View\SpecialChar menuseparator
27979 Outline
27980 \begin_inset space ~
27981 \end_inset
27982
27983 Pane
27984 \family default
27985  that is described in section
27986 \begin_inset space ~
27987 \end_inset
27988
27989
27990 \begin_inset CommandInset ref
27991 LatexCommand ref
27992 reference "subsec:The-Outliner"
27993
27994 \end_inset
27995
27996 .
27997 \end_layout
27998
27999 \begin_layout Standard
28000 The TOC in the document output lists every numbered section automatically.
28001  If you have declared a short title for a section heading, as described
28002  in section
28003 \begin_inset space ~
28004 \end_inset
28005
28006
28007 \begin_inset CommandInset ref
28008 LatexCommand ref
28009 reference "sec:Short-Titles"
28010
28011 \end_inset
28012
28013 , it will be used in the TOC instead of the section heading.
28014  Section
28015 \begin_inset space ~
28016 \end_inset
28017
28018
28019 \begin_inset CommandInset ref
28020 LatexCommand ref
28021 reference "subsec:Numbering-depth"
28022
28023 \end_inset
28024
28025  describes how the level is adjusted that defines which section types are
28026  listed in the TOC.
28027  Unnumbered sections are not listed in the TOC.
28028 \end_layout
28029
28030 \begin_layout Subsection
28031 List of Figures, Tables, Listings and Algorithms
28032 \begin_inset CommandInset label
28033 LatexCommand label
28034 name "subsec:List-of-Figures"
28035
28036 \end_inset
28037
28038
28039 \end_layout
28040
28041 \begin_layout Standard
28042 Table, figure, listings and algorithm lists are very much like the table
28043  of contents.
28044  You can insert them via the 
28045 \family sans
28046 Insert\SpecialChar menuseparator
28047 List/TOC
28048 \family default
28049  submenus.
28050  The list entries are the float captions and the float number.
28051 \end_layout
28052
28053 \begin_layout Section
28054 URLs and Hyperlinks
28055 \begin_inset Index idx
28056 status collapsed
28057
28058 \begin_layout Plain Layout
28059 URLs
28060 \end_layout
28061
28062 \end_inset
28063
28064
28065 \begin_inset Index idx
28066 status collapsed
28067
28068 \begin_layout Plain Layout
28069 Hyperlinks
28070 \end_layout
28071
28072 \end_inset
28073
28074
28075 \end_layout
28076
28077 \begin_layout Subsection
28078 URLs
28079 \begin_inset CommandInset label
28080 LatexCommand label
28081 name "subsec:URLs"
28082
28083 \end_inset
28084
28085
28086 \end_layout
28087
28088 \begin_layout Standard
28089 Links to web pages or email addresses can be inserted via the menu 
28090 \family sans
28091 Insert\SpecialChar menuseparator
28092 URL
28093 \family default
28094 .
28095 \end_layout
28096
28097 \begin_layout Standard
28098 Here is an example URL: \SpecialChar LyX
28099 's homepage: 
28100 \begin_inset Flex URL
28101 status collapsed
28102
28103 \begin_layout Plain Layout
28104
28105 http://www.lyx.org
28106 \end_layout
28107
28108 \end_inset
28109
28110
28111 \end_layout
28112
28113 \begin_layout Standard
28114 You cannot change the style of the link text, the URL text will always be
28115  in the style 
28116 \family typewriter
28117 Typewriter
28118 \family default
28119 .
28120  To be able to format the URL text, use hyperlinks as explained in the next
28121  subsection.
28122 \end_layout
28123
28124 \begin_layout Standard
28125 \begin_inset Note Greyedout
28126 status open
28127
28128 \begin_layout Plain Layout
28129
28130 \series bold
28131 Note:
28132 \series default
28133  URLs must not end with a backslash, otherwise you get \SpecialChar LaTeX
28134  errors.
28135 \end_layout
28136
28137 \end_inset
28138
28139
28140 \end_layout
28141
28142 \begin_layout Subsection
28143 Hyperlinks
28144 \begin_inset CommandInset label
28145 LatexCommand label
28146 name "subsec:Hyperlinks"
28147
28148 \end_inset
28149
28150
28151 \end_layout
28152
28153 \begin_layout Standard
28154 Hyperlinks can be inserted with the menu 
28155 \family sans
28156 Insert\SpecialChar menuseparator
28157 Hyperlink
28158 \family default
28159  or with the toolbar button 
28160 \begin_inset Info
28161 type  "icon"
28162 arg   "href-insert"
28163 \end_inset
28164
28165 .
28166  The appearing dialog has two fields: 
28167 \family sans
28168 Target
28169 \family default
28170  and 
28171 \family sans
28172 Name
28173 \family default
28174 .
28175  The name is the printed text for the hyperlink.
28176  The hyperlink type can be a weblink like this: 
28177 \begin_inset CommandInset href
28178 LatexCommand href
28179 name "LyX's homepage"
28180 target "http://www.lyx.org"
28181 literal "false"
28182
28183 \end_inset
28184
28185 , an Email address like this: 
28186 \begin_inset CommandInset href
28187 LatexCommand href
28188 name "lyx-docs mailing list"
28189 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
28190 type "mailto:"
28191 literal "false"
28192
28193 \end_inset
28194
28195 , or a link to a file.
28196  The option 
28197 \family sans
28198 Literal
28199 \family default
28200  in the hyperlink settings dialog allows to input \SpecialChar TeX
28201  code to the 
28202 \family sans
28203 Name
28204 \family default
28205  field.
28206 \end_layout
28207
28208 \begin_layout Standard
28209 You can start applications via a hyperlink when you insert a weblink by
28210  adding the prefix 
28211 \begin_inset Quotes eld
28212 \end_inset
28213
28214
28215 \family sans
28216 run:
28217 \family default
28218
28219 \begin_inset Quotes erd
28220 \end_inset
28221
28222  to the link target.
28223 \end_layout
28224
28225 \begin_layout Standard
28226 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
28227  and become clickable in the DVI and PDF-output.
28228  To set the format of the link text, highlight the hyperlink inset and use
28229  the text style dialog.
28230  This is for example a hyperlink with bold sans serif text: 
28231 \family sans
28232 \series bold
28233
28234 \begin_inset CommandInset href
28235 LatexCommand href
28236 name "LyX's homepage"
28237 target "http://www.lyx.org"
28238 literal "false"
28239
28240 \end_inset
28241
28242
28243 \end_layout
28244
28245 \begin_layout Standard
28246 The link text color can be changed, when the option 
28247 \family sans
28248 Color links
28249 \family default
28250  is set in the PDF Properties dialog (menu 
28251 \family sans
28252 Document\SpecialChar menuseparator
28253 Settings\SpecialChar menuseparator
28254 PDF Properties
28255 \family default
28256 ).
28257  The link text is for example set in this document to blue by adding the
28258  option
28259 \begin_inset Newline newline
28260 \end_inset
28261
28262
28263 \series bold
28264 urlcolor=blue
28265 \series default
28266
28267 \begin_inset Newline newline
28268 \end_inset
28269
28270 to the field 
28271 \family sans
28272 Additional options
28273 \family default
28274  in the PDF Properties dialog.
28275 \end_layout
28276
28277 \begin_layout Section
28278 Appendices
28279 \begin_inset Index idx
28280 status collapsed
28281
28282 \begin_layout Plain Layout
28283 Appendix
28284 \end_layout
28285
28286 \end_inset
28287
28288
28289 \begin_inset CommandInset label
28290 LatexCommand label
28291 name "sec:Appendices"
28292
28293 \end_inset
28294
28295
28296 \end_layout
28297
28298 \begin_layout Standard
28299 Appendices are created with the menu 
28300 \family sans
28301 Document\SpecialChar menuseparator
28302 Start
28303 \begin_inset space ~
28304 \end_inset
28305
28306 Appendix
28307 \begin_inset space ~
28308 \end_inset
28309
28310 Here
28311 \family default
28312 .
28313  This menu sets the document from the current cursor position to the end
28314  as the appendix part of the book.
28315  This part is marked with a red borderline.
28316 \end_layout
28317
28318 \begin_layout Standard
28319 Every chapter (or section) within the appendix part is treated as an appendix,
28320  numbered with a capital Latin letter.
28321  The appendix subsections are numbered with this letter followed by a dot
28322  and the subsection number.
28323  All appendix sections can be referenced as if they were normal sections,
28324  here two examples:
28325 \end_layout
28326
28327 \begin_layout Standard
28328 Appendix
28329 \begin_inset space ~
28330 \end_inset
28331
28332
28333 \begin_inset CommandInset ref
28334 LatexCommand ref
28335 reference "chap:Credits"
28336
28337 \end_inset
28338
28339 ; Appendix
28340 \begin_inset space ~
28341 \end_inset
28342
28343
28344 \begin_inset CommandInset ref
28345 LatexCommand ref
28346 reference "subsec:Export"
28347
28348 \end_inset
28349
28350
28351 \end_layout
28352
28353 \begin_layout Section
28354 Bibliography
28355 \begin_inset Index idx
28356 status collapsed
28357
28358 \begin_layout Plain Layout
28359 Bibliography
28360 \end_layout
28361
28362 \end_inset
28363
28364
28365 \begin_inset CommandInset label
28366 LatexCommand label
28367 name "sec:Bibliography"
28368
28369 \end_inset
28370
28371
28372 \end_layout
28373
28374 \begin_layout Standard
28375 There are two ways of generating the bibliography in a \SpecialChar LyX
28376  document.
28377  You can include a bibliography database, which is explained in sec.
28378 \begin_inset space ~
28379 \end_inset
28380
28381
28382 \begin_inset CommandInset ref
28383 LatexCommand ref
28384 reference "subsec:Bibliography-databases"
28385 plural "false"
28386 caps "false"
28387 noprefix "false"
28388
28389 \end_inset
28390
28391 , or you can insert the bibliography manually, using the paragraph environment
28392  
28393 \family sans
28394 Bibliography
28395 \family default
28396 , which is described in the following section (but see also sec.
28397 \begin_inset space ~
28398 \end_inset
28399
28400
28401 \begin_inset CommandInset ref
28402 LatexCommand ref
28403 reference "subsec:Biblio_environment"
28404
28405 \end_inset
28406
28407 ).
28408  If you want anything other than the numerical citations that are used in
28409  this document, such as author-year citations, and if you have more than
28410  a handful of references, then you should seriously consider
28411 \emph on
28412  
28413 \emph default
28414 using a bibliography database.
28415 \end_layout
28416
28417 \begin_layout Standard
28418 In order to demonstrate the difference between these two approaches, we
28419  use two bibliographies in this document, a 
28420 \family sans
28421 Bibliography
28422 \family default
28423  environment and a database-generated bibliography.
28424  As you can see, the bibliography that is created from a database lists
28425  only the database entries that are referenced in the document.
28426  In other words, the database approach relieves you, amongst other things,
28427  from the burden to check which entries you have actually cited.
28428 \end_layout
28429
28430 \begin_layout Subsection
28431 The Bibliography Environment
28432 \begin_inset CommandInset label
28433 LatexCommand label
28434 name "subsec:The-Bibliography-Environment"
28435
28436 \end_inset
28437
28438
28439 \end_layout
28440
28441 \begin_layout Standard
28442 Within the 
28443 \family sans
28444 Bibliography
28445 \family default
28446  environment, every paragraph begins with a gray bibliography box labeled
28447  with a number.
28448  If you click on it, you will get a dialog in which you can set a 
28449 \family sans
28450 Key
28451 \family default
28452  and a 
28453 \family sans
28454 Label
28455 \family default
28456 .
28457  The key is the symbolic name by which you will refer to this bibliography
28458  entry.
28459  Each entry needs to be given a unique key, which is one word consisting
28460  of ASCII characters only.
28461 \begin_inset Foot
28462 status collapsed
28463
28464 \begin_layout Plain Layout
28465 ASCII means 
28466 \begin_inset CommandInset href
28467 LatexCommand href
28468 name "this set"
28469 target "https://en.wikipedia.org/wiki/ASCII#Character_set"
28470 literal "false"
28471
28472 \end_inset
28473
28474  of characters:
28475 \begin_inset Newline newline
28476 \end_inset
28477
28478
28479 \begin_inset Flex URL
28480 status open
28481
28482 \begin_layout Plain Layout
28483
28484 https://en.wikipedia.org/wiki/ASCII
28485 \backslash
28486 #Character_set
28487 \end_layout
28488
28489 \end_inset
28490
28491
28492 \end_layout
28493
28494 \end_inset
28495
28496  For example, our second entry in the bibliography is a book about \SpecialChar LaTeX
28497  and
28498  we used 
28499 \begin_inset Quotes eld
28500 \end_inset
28501
28502 latexcompanion
28503 \begin_inset Quotes erd
28504 \end_inset
28505
28506 , a short form of its title, as the key.
28507 \begin_inset Newline newline
28508 \end_inset
28509
28510 If you set a 
28511 \family sans
28512 Label
28513 \family default
28514  for the entry, references to it will appear with this label instead of
28515  the number of the entry.
28516  The option 
28517 \family sans
28518 Literal
28519 \family default
28520  in the bibliography items settings dialog allows to input \SpecialChar TeX
28521  code to the
28522  
28523 \family sans
28524 Label
28525 \family default
28526  field.
28527 \end_layout
28528
28529 \begin_layout Standard
28530 You can cross-reference a bibliography entry using the menu 
28531 \family sans
28532 Insert\SpecialChar menuseparator
28533 Citation
28534 \family default
28535  or the toolbar button 
28536 \begin_inset Info
28537 type  "icon"
28538 arg   "dialog-show-new-inset citation"
28539 \end_inset
28540
28541 .
28542  A citation reference box is inserted and a citation window will appear
28543  containing the available citations.
28544  Select one or more keys from the list and 
28545 \family sans
28546 Add
28547 \family default
28548  them.
28549  Then press 
28550 \family sans
28551 OK
28552 \family default
28553 .
28554  The citation reference box will be labeled with the referenced key(s).
28555  If you click on the box, the citation window will appear and you can change
28556  the reference.
28557 \end_layout
28558
28559 \begin_layout Standard
28560 Citation references appear in the output as the number or the label of the
28561  bibliography entry with surrounding brackets.
28562  Here are two examples; the first without a label, the second with the label
28563  
28564 \begin_inset Quotes eld
28565 \end_inset
28566
28567 Credits
28568 \begin_inset Quotes erd
28569 \end_inset
28570
28571 :
28572 \end_layout
28573
28574 \begin_layout Standard
28575 Have a look at the 
28576 \family sans
28577 \SpecialChar LaTeX
28578  Companion Second Edition
28579 \family default
28580
28581 \begin_inset CommandInset citation
28582 LatexCommand cite
28583 key "latexcompanion"
28584 literal "true"
28585
28586 \end_inset
28587
28588
28589 \end_layout
28590
28591 \begin_layout Standard
28592 The \SpecialChar LyX
28593 -Team members are listed in the Credits: 
28594 \begin_inset CommandInset citation
28595 LatexCommand cite
28596 key "lyxcredit"
28597 literal "true"
28598
28599 \end_inset
28600
28601
28602 \end_layout
28603
28604 \begin_layout Standard
28605 You can also produce author-year or author-number citations, using the \SpecialChar LaTeX
28606
28607  package 
28608 \series bold
28609 natbib
28610 \series default
28611
28612 \begin_inset Index idx
28613 status collapsed
28614
28615 \begin_layout Plain Layout
28616 \SpecialChar LaTeX
28617  packages ! natbib
28618 \end_layout
28619
28620 \end_inset
28621
28622 .
28623  In order to do so, the label needs to be given the form 
28624 \begin_inset Quotes eld
28625 \end_inset
28626
28627 Author(Year)
28628 \begin_inset Quotes erd
28629 \end_inset
28630
28631  or 
28632 \begin_inset Quotes eld
28633 \end_inset
28634
28635 Author A and Author B(Year)
28636 \begin_inset Quotes erd
28637 \end_inset
28638
28639  
28640 \emph on
28641 without
28642 \emph default
28643  a blank between the author(s) and the opening parenthesis that delimits
28644  the year.
28645  Then, if you select 
28646 \family sans
28647 Natbib
28648 \begin_inset space ~
28649 \end_inset
28650
28651 (BibTeX)
28652 \family default
28653  in the document settings
28654 \begin_inset Index idx
28655 status collapsed
28656
28657 \begin_layout Plain Layout
28658 Document ! Settings
28659 \end_layout
28660
28661 \end_inset
28662
28663  dialog under 
28664 \family sans
28665 Bibliography\SpecialChar menuseparator
28666 Style
28667 \begin_inset space ~
28668 \end_inset
28669
28670 format
28671 \family default
28672  (see 
28673 \begin_inset CommandInset ref
28674 LatexCommand ref
28675 reference "subsec:Citation-Format"
28676 plural "false"
28677 caps "false"
28678 noprefix "false"
28679
28680 \end_inset
28681
28682 ), you can select between different author-year or author-number styles.
28683 \end_layout
28684
28685 \begin_layout Standard
28686 To align all entries in the bibliography environment you can set a longest
28687  label via the menu 
28688 \family sans
28689 Edit\SpecialChar menuseparator
28690 Paragraph
28691 \begin_inset space ~
28692 \end_inset
28693
28694 Settings
28695 \family default
28696  (toolbar button 
28697 \begin_inset Info
28698 type  "icon"
28699 arg   "layout-paragraph"
28700 \end_inset
28701
28702 ).
28703  All entries are then indented in the output by the width of the given label.
28704 \end_layout
28705
28706 \begin_layout Subsection
28707 Bibliography databases
28708 \begin_inset Index idx
28709 status collapsed
28710
28711 \begin_layout Plain Layout
28712 Bibliography ! Databases
28713 \end_layout
28714
28715 \end_inset
28716
28717
28718 \begin_inset CommandInset label
28719 LatexCommand label
28720 name "subsec:Bibliography-databases"
28721
28722 \end_inset
28723
28724
28725 \end_layout
28726
28727 \begin_layout Standard
28728 Bibliography databases are useful if you use the same references in different
28729  documents.
28730 \begin_inset Foot
28731 status collapsed
28732
28733 \begin_layout Plain Layout
28734 They are also useful for keeping a database of articles and notes concerning
28735  them.
28736  Most of the database programs mentioned below allow you to store annotations
28737  and reviews along with bibliographical information.
28738 \end_layout
28739
28740 \end_inset
28741
28742  It also makes it very easy to have a uniform layout for all bibliography
28743  entries.
28744  You can collect the bibliography of all relevant books and articles of
28745  your working field in a database.
28746  This database can be used for different documents, and by default only
28747  the entries cited in a particular document will appear in the bibliography
28748  list for that document.
28749  This relieves you of the need to keep track of which articles and books
28750  you have cited.
28751 \end_layout
28752
28753 \begin_layout Standard
28754 The database is a text file with the file extension 
28755 \begin_inset Quotes eld
28756 \end_inset
28757
28758
28759 \family sans
28760 .bib
28761 \family default
28762
28763 \begin_inset Quotes erd
28764 \end_inset
28765
28766 , containing the bibliography in a special format.
28767  The format is explained in 
28768 \begin_inset CommandInset citation
28769 LatexCommand cite
28770 key "BibTeX-2"
28771 literal "true"
28772
28773 \end_inset
28774
28775  and in the \SpecialChar LaTeX
28776  books (
28777 \begin_inset CommandInset citation
28778 LatexCommand cite
28779 key "Mittelbach,Kopka,Lamport"
28780 literal "true"
28781
28782 \end_inset
28783
28784 ).
28785  The file can be created using any text editor, but normally one uses a
28786  special program to create and edit the entries in the database.
28787  A list of such programs is maintained on the \SpecialChar LyX
28788  Wiki at 
28789 \begin_inset Flex URL
28790 status collapsed
28791
28792 \begin_layout Plain Layout
28793
28794 http://wiki.lyx.org/BibTeX/Programs
28795 \end_layout
28796
28797 \end_inset
28798
28799 .
28800 \end_layout
28801
28802 \begin_layout Standard
28803 \SpecialChar LyX
28804  supports two different approaches to use bibliography databases in a document.
28805  Bib\SpecialChar TeX
28806  is the classic technique that has been the only way to use such databases
28807  for a long time.
28808  It is quite established and mature and there is a huge range of existing
28809  styles available.
28810  But it has its drawbacks, especially when it comes to more complex bibliographi
28811 c needs and support for specific languages and scripts.
28812  Those are addressed by 
28813 \series bold
28814 biblatex
28815 \series default
28816
28817 \begin_inset Index idx
28818 status collapsed
28819
28820 \begin_layout Plain Layout
28821 \SpecialChar LaTeX
28822  packages ! biblatex
28823 \end_layout
28824
28825 \end_inset
28826
28827 .
28828  It reads the same database format than Bib\SpecialChar TeX
28829  (although it has been significantly
28830  extended beyond Bib\SpecialChar TeX
28831 's scope)
28832 \begin_inset Foot
28833 status collapsed
28834
28835 \begin_layout Plain Layout
28836 Meaning: While 
28837 \noun on
28838 Biblatex
28839 \noun default
28840  can handle any classic Bib\SpecialChar TeX
28841  database, Bib\SpecialChar TeX
28842  might conversely fail to correctly
28843  handle databases that use specific 
28844 \noun on
28845 Biblatex
28846 \noun default
28847  features.
28848 \end_layout
28849
28850 \end_inset
28851
28852 , but it uses a different framework to generate citations and references
28853  from it.
28854 \end_layout
28855
28856 \begin_layout Standard
28857 To select if Bib\SpecialChar TeX
28858  or 
28859 \series bold
28860 biblatex
28861 \series default
28862  should be used, set in the document settings (menu 
28863 \family sans
28864 Document\SpecialChar menuseparator
28865 Settings
28866 \family default
28867 )
28868 \begin_inset Index idx
28869 status collapsed
28870
28871 \begin_layout Plain Layout
28872 Document ! Settings
28873 \end_layout
28874
28875 \end_inset
28876
28877  under 
28878 \family sans
28879 Bibliography
28880 \family default
28881  the 
28882 \family sans
28883 Style
28884 \begin_inset space ~
28885 \end_inset
28886
28887 format
28888 \family default
28889  to a Bib\SpecialChar TeX
28890  or a 
28891 \family sans
28892 Biblatex
28893 \family default
28894  format.
28895 \end_layout
28896
28897 \begin_layout Subsubsection
28898 Bib\SpecialChar TeX
28899
28900 \begin_inset Index idx
28901 status collapsed
28902
28903 \begin_layout Plain Layout
28904 Bibliography ! Bib\SpecialChar TeX
28905
28906 \end_layout
28907
28908 \end_inset
28909
28910
28911 \end_layout
28912
28913 \begin_layout Standard
28914 To access a database via Bib\SpecialChar TeX
28915 , use the menu 
28916 \family sans
28917 Insert\SpecialChar menuseparator
28918 List
28919 \family default
28920 /
28921 \family sans
28922 TOC\SpecialChar menuseparator
28923 Bib(la)TeX
28924 \begin_inset space ~
28925 \end_inset
28926
28927 Bibliography
28928 \family default
28929 .
28930  A window will appear in which you can add one or more databases and select
28931  a Bib\SpecialChar TeX
28932
28933 \family sans
28934  style
28935 \family default
28936  file.
28937  The option 
28938 \family sans
28939 Add bibliography to TOC
28940 \family default
28941  adds a table of contents entry for the bibliography.
28942  In the 
28943 \family sans
28944 Content
28945 \family default
28946  drop box you can select whether to include all the entries in the database
28947  in the document or just the cited references.
28948 \end_layout
28949
28950 \begin_layout Standard
28951 The Bib\SpecialChar TeX
28952  style file is a text file with the file extension 
28953 \begin_inset Quotes eld
28954 \end_inset
28955
28956
28957 \family sans
28958 .bst
28959 \family default
28960
28961 \begin_inset Quotes erd
28962 \end_inset
28963
28964  that controls how the bibliography entries will appear.
28965  Your \SpecialChar LaTeX
28966  distribution should provide several of these, and many publishers
28967  provide their own style files, so that you don't have to take care of the
28968  layout.
28969  It is of course possible to write your own style file, but this is something
28970  for experts.
28971 \begin_inset Foot
28972 status collapsed
28973
28974 \begin_layout Plain Layout
28975 For information on how this is done, have a look at
28976 \begin_inset Newline newline
28977 \end_inset
28978
28979
28980 \begin_inset CommandInset href
28981 LatexCommand href
28982 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
28983 literal "false"
28984
28985 \end_inset
28986
28987 .
28988 \end_layout
28989
28990 \end_inset
28991
28992  In this document we used the Bib\SpecialChar TeX
28993  style 
28994 \family sans
28995 alphadin.bst
28996 \family default
28997 , which provides an alpha-numeric style in accordance with the German Standards
28998  Institute (DIN).
28999 \end_layout
29000
29001 \begin_layout Standard
29002 Inserting a citation reference works as described in the previous section.
29003 \end_layout
29004
29005 \begin_layout Subsubsection
29006 Biblatex
29007 \begin_inset Index idx
29008 status collapsed
29009
29010 \begin_layout Plain Layout
29011 Bibliography ! Biblatex
29012 \end_layout
29013
29014 \end_inset
29015
29016
29017 \begin_inset Index idx
29018 status collapsed
29019
29020 \begin_layout Plain Layout
29021 \SpecialChar LaTeX
29022  packages ! biblatex
29023 \end_layout
29024
29025 \end_inset
29026
29027
29028 \end_layout
29029
29030 \begin_layout Standard
29031 Accessing a database via 
29032 \series bold
29033 biblatex
29034 \series default
29035  is almost identical to Bib\SpecialChar TeX
29036 : Use the menu 
29037 \family sans
29038 Insert\SpecialChar menuseparator
29039 List
29040 \family default
29041 /
29042 \family sans
29043 TOC\SpecialChar menuseparator
29044 Bib(la)TeX
29045 \begin_inset space ~
29046 \end_inset
29047
29048 Bibliography
29049 \family default
29050 .
29051  In contrary to Bib\SpecialChar TeX
29052  you cannot select a 
29053 \family sans
29054 style
29055 \family default
29056  file.
29057  The other dialog options are the same as with Bib\SpecialChar TeX
29058 .
29059 \end_layout
29060
29061 \begin_layout Standard
29062
29063 \series bold
29064 biblatex
29065 \series default
29066  has two different style files: a bibliography style file (text file with
29067  the file extension 
29068 \begin_inset Quotes eld
29069 \end_inset
29070
29071
29072 \family sans
29073 .bbx
29074 \family default
29075
29076 \begin_inset Quotes erd
29077 \end_inset
29078
29079 ) controls how the bibliography entries will look like and a citation style
29080  file (text file with the file extension 
29081 \begin_inset Quotes eld
29082 \end_inset
29083
29084
29085 \family sans
29086 .cbx
29087 \family default
29088
29089 \begin_inset Quotes erd
29090 \end_inset
29091
29092 ) controls the look of the citation references in the text.
29093  Usually such style files come in pairs and it makes sense to use matching
29094  styles.
29095  It is nevertheless possible to mix any citation style with any bibliography
29096  style.
29097 \end_layout
29098
29099 \begin_layout Standard
29100
29101 \series bold
29102 biblatex
29103 \series default
29104  styles are not set in the 
29105 \family sans
29106 Bib(la)TeX
29107 \begin_inset space ~
29108 \end_inset
29109
29110 Bibliography
29111 \family default
29112  dialog, but in the document settings.
29113 \begin_inset Index idx
29114 status collapsed
29115
29116 \begin_layout Plain Layout
29117 Document ! Settings
29118 \end_layout
29119
29120 \end_inset
29121
29122  However, in the dialog in the 
29123 \family sans
29124 Options
29125 \family default
29126  field, which is only visible if you use 
29127 \series bold
29128 biblatex
29129 \series default
29130 , you can enter options that determine how the bibliography is printed (for
29131  example how its heading will appear).
29132  These options are deescribed in detail in the 
29133 \series bold
29134 biblatex
29135 \series default
29136  manual, 
29137 \begin_inset CommandInset citation
29138 LatexCommand cite
29139 key "Biblatex"
29140 literal "true"
29141
29142 \end_inset
29143
29144 .
29145 \end_layout
29146
29147 \begin_layout Standard
29148 Inserting a citation reference works as described in section
29149 \begin_inset space ~
29150 \end_inset
29151
29152
29153 \begin_inset CommandInset ref
29154 LatexCommand ref
29155 reference "subsec:The-Bibliography-Environment"
29156 plural "false"
29157 caps "false"
29158 noprefix "false"
29159
29160 \end_inset
29161
29162 .
29163 \end_layout
29164
29165 \begin_layout Subsubsection
29166 Bibliography Processors
29167 \end_layout
29168
29169 \begin_layout Standard
29170 To generate the bibliography from a database, \SpecialChar LyX
29171  uses a bibliography processor,
29172  that is an external program that reads the database, sorts the citations
29173  and processes the data in a way it can be included in the document.
29174  The classic program is called Bib\SpecialChar TeX
29175 .
29176  It has the advantage that it is very mature and widespread, but the disadvantag
29177 e that it has severe limitations, due to its age.
29178 \end_layout
29179
29180 \begin_layout Standard
29181 Meanwhile, some alternatives have been developed that address some of these
29182  limitations.
29183  LyX natively supports some of them and lets you select a custom processor.
29184  You can do this on a general level in 
29185 \family sans
29186 Tools\SpecialChar menuseparator
29187 Preferences\SpecialChar menuseparator
29188 Output\SpecialChar menuseparator
29189 LaTeX
29190 \family default
29191  or for individual documents in 
29192 \family sans
29193 Document\SpecialChar menuseparator
29194 Settings\SpecialChar menuseparator
29195 Bibliography
29196 \family default
29197 .
29198  The following variants are available by default:
29199 \end_layout
29200
29201 \begin_layout Description
29202 biber a specific, modern processor
29203 \begin_inset Index idx
29204 status collapsed
29205
29206 \begin_layout Plain Layout
29207 \SpecialChar LaTeX
29208  packages ! biber
29209 \end_layout
29210
29211 \end_inset
29212
29213  developed exclusively for 
29214 \series bold
29215 biblatex
29216 \series default
29217  (it does not work with Bib\SpecialChar TeX
29218 !).
29219  
29220 \series bold
29221 biber
29222 \series default
29223  provides full Unicode support, unlimited memory and many specific features
29224  
29225 \series bold
29226 biblatex
29227 \series default
29228  makes use of; if you use the 
29229 \series bold
29230 biblatex
29231 \series default
29232  approach, it is strongly recommended to use 
29233 \series bold
29234 biber
29235 \series default
29236 .
29237 \end_layout
29238
29239 \begin_layout Description
29240 bibtex the standard; does not allow special characters in bibliography entries
29241  that are not possible to encode in a 7-bit encoding, limited memory, works
29242  with all bibliography packages, although it will probably fail with 
29243 \series bold
29244 biblatex
29245 \series default
29246  bibliographies due to the limited memory.
29247 \end_layout
29248
29249 \begin_layout Description
29250 bibtex8 allows all characters that are possible to encode in an 8-bit encoding
29251  (but no Unicode support), larger memory than 
29252 \family sans
29253 bibtex
29254 \family default
29255 , works with all bibliography packages, although more complex 
29256 \series bold
29257 biblatex
29258 \series default
29259  bibliographies will exceed its limits, and not all 
29260 \series bold
29261 biblatex
29262 \series default
29263  features are supported.
29264 \end_layout
29265
29266 \begin_layout Standard
29267 By default (with the 
29268 \family sans
29269 Processor
29270 \family default
29271  set in 
29272 \family sans
29273 Document\SpecialChar menuseparator
29274 Settings\SpecialChar menuseparator
29275 Bibliography
29276 \family default
29277  and with 
29278 \family sans
29279 Automatic
29280 \family default
29281  as setting for the 
29282 \family sans
29283 Processor
29284 \family default
29285  in 
29286 \family sans
29287 Tools\SpecialChar menuseparator
29288 Preferences\SpecialChar menuseparator
29289 Output\SpecialChar menuseparator
29290 LaTeX
29291 \family default
29292 ), \SpecialChar LyX
29293  selects an appropriate (available) processor for the current bibliography
29294  approach (
29295 \series bold
29296 biber
29297 \series default
29298  for 
29299 \series bold
29300 biblatex
29301 \series default
29302
29303 \family sans
29304 bibtex
29305 \family default
29306  for Bib\SpecialChar TeX
29307 -based bibliography styles).
29308  This should suit most needs.
29309 \end_layout
29310
29311 \begin_layout Standard
29312 In Japanese documents, a specific processor is used.
29313  By default this is pBib\SpecialChar TeX
29314  (in \SpecialChar LyX
29315  
29316 \family sans
29317 pbibtex
29318 \family default
29319 ), a Bib\SpecialChar TeX
29320  variant specifically aimed at Japanese.
29321  You can adjust it in 
29322 \family sans
29323 Tools\SpecialChar menuseparator
29324 Preferences\SpecialChar menuseparator
29325 Output\SpecialChar menuseparator
29326 LaTeX
29327 \family default
29328 .
29329 \end_layout
29330
29331 \begin_layout Standard
29332 Selected bibliography processors can be controlled with options that you
29333  can add below the selection.
29334  Before adding options, it is strongly recommended that you read the manual
29335  of Bib\SpecialChar TeX
29336  or 
29337 \series bold
29338 biber
29339 \series default
29340
29341 \begin_inset CommandInset citation
29342 LatexCommand cite
29343 key "BibTeX,biber"
29344 literal "true"
29345
29346 \end_inset
29347
29348 .
29349 \end_layout
29350
29351 \begin_layout Subsubsection
29352 Customizing
29353 \end_layout
29354
29355 \begin_layout Standard
29356 \SpecialChar LyX
29357  supports some specific tasks such as sectioned bibliographies and multiple
29358  bibliographies.
29359  These are explained in detail in section 
29360 \emph on
29361 Customizing Bibliographies
29362 \emph default
29363  
29364 \emph on
29365 with Bib\SpecialChar TeX
29366  or Biblatex
29367 \emph default
29368  of the 
29369 \emph on
29370 Additional Features
29371 \emph default
29372  manual.
29373 \end_layout
29374
29375 \begin_layout Subsection
29376 Citation Format
29377 \begin_inset Index idx
29378 status collapsed
29379
29380 \begin_layout Plain Layout
29381 Bibliography ! Citation format
29382 \end_layout
29383
29384 \end_inset
29385
29386
29387 \begin_inset CommandInset label
29388 LatexCommand label
29389 name "subsec:Citation-Format"
29390
29391 \end_inset
29392
29393
29394 \end_layout
29395
29396 \begin_layout Standard
29397 Many different citation formats are common, e.
29398 \begin_inset space \thinspace{}
29399 \end_inset
29400
29401 g.
29402 \begin_inset space \space{}
29403 \end_inset
29404
29405 numerical citation (as 
29406 \begin_inset Quotes eld
29407 \end_inset
29408
29409 1
29410 \begin_inset Quotes erd
29411 \end_inset
29412
29413  like in this document), alpha-numerical citations (as 
29414 \begin_inset Quotes eld
29415 \end_inset
29416
29417 Mil08
29418 \begin_inset Quotes erd
29419 \end_inset
29420
29421 ) or author-year citations (as 
29422 \begin_inset Quotes eld
29423 \end_inset
29424
29425 Miller (2008a)
29426 \begin_inset Quotes erd
29427 \end_inset
29428
29429 ).
29430  \SpecialChar LyX
29431  supports these formats via specific citation packages and their style
29432  files.
29433 \end_layout
29434
29435 \begin_layout Standard
29436 By default a simple numeric citation style is used.
29437  In 
29438 \family sans
29439 Document\SpecialChar menuseparator
29440 Settings\SpecialChar menuseparator
29441 Bibliography
29442 \family default
29443
29444 \begin_inset Index idx
29445 status collapsed
29446
29447 \begin_layout Plain Layout
29448 Document ! Settings
29449 \end_layout
29450
29451 \end_inset
29452
29453  you have a range of other options, depending on your preferred bibliography
29454  approach.
29455  With the 
29456 \family sans
29457 Bibliography
29458 \family default
29459  environment your only choice besides manual formatting of the bibliography
29460  labels, is there to use 
29461 \family sans
29462 Natbib
29463 \begin_inset space ~
29464 \end_inset
29465
29466 (BibTeX)
29467 \family default
29468 \series bold
29469  
29470 \series default
29471 as 
29472 \family sans
29473 Style
29474 \begin_inset space ~
29475 \end_inset
29476
29477 format
29478 \family default
29479  which gives you author-year and author-numerical citations (see above 
29480 \begin_inset CommandInset ref
29481 LatexCommand ref
29482 reference "subsec:The-Bibliography-Environment"
29483
29484 \end_inset
29485
29486  for details).
29487 \end_layout
29488
29489 \begin_layout Standard
29490 With a bibliography database (see 
29491 \begin_inset CommandInset ref
29492 LatexCommand ref
29493 reference "subsec:Bibliography-databases"
29494 plural "false"
29495 caps "false"
29496 noprefix "false"
29497
29498 \end_inset
29499
29500 ) one has in contrary to the 
29501 \family sans
29502 Bibliography
29503 \family default
29504  environment full access to the formatting styles.
29505  These style formats are available:
29506 \end_layout
29507
29508 \begin_layout Description
29509 Basic
29510 \begin_inset space ~
29511 \end_inset
29512
29513 (BibTeX) the default Bib\SpecialChar TeX
29514 -based approached without any additional packages
29515  (simple numeric citations).
29516 \end_layout
29517
29518 \begin_layout Description
29519 Biblatex loads the package 
29520 \series bold
29521 biblatex
29522 \series default
29523
29524 \begin_inset Index idx
29525 status collapsed
29526
29527 \begin_layout Plain Layout
29528 \SpecialChar LaTeX
29529  packages ! biblatex
29530 \end_layout
29531
29532 \end_inset
29533
29534  and lets you select a style in the dropdown boxes 
29535 \family sans
29536 Biblatex citation style
29537 \family default
29538  and 
29539 \family sans
29540 Biblatex bibliography style
29541 \family default
29542  below.
29543  Options to the package 
29544 \series bold
29545 biblatex
29546 \series default
29547  can be entered in the 
29548 \family sans
29549 Options
29550 \family default
29551  field.
29552 \end_layout
29553
29554 \begin_layout Description
29555 Biblatex
29556 \begin_inset space ~
29557 \end_inset
29558
29559 (natbib
29560 \begin_inset space ~
29561 \end_inset
29562
29563 mode) loads the package 
29564 \series bold
29565 biblatex
29566 \series default
29567  with the natbib compatibility mode.
29568  This is a specific variant for users who switch an existing document that
29569  uses 
29570 \series bold
29571 natbib
29572 \series default
29573  or want to emulate 
29574 \family sans
29575 the 
29576 \family default
29577 \series bold
29578 natbib
29579 \series default
29580  behavior very closely.
29581  Compared to normal 
29582 \family sans
29583 Biblatex
29584 \family default
29585  this option has some additional styles.
29586  All 
29587 \series bold
29588 biblatex
29589 \series default
29590  styles are also supported by this variant.
29591 \end_layout
29592
29593 \begin_layout Description
29594 Jurabib
29595 \begin_inset space ~
29596 \end_inset
29597
29598 (BibTeX) loads the package 
29599 \series bold
29600 jurabib
29601 \series default
29602
29603 \begin_inset Index idx
29604 status collapsed
29605
29606 \begin_layout Plain Layout
29607 \SpecialChar LaTeX
29608  packages ! jurabib
29609 \end_layout
29610
29611 \end_inset
29612
29613  which provides author-year styles particularly suited for law studies.
29614 \end_layout
29615
29616 \begin_layout Description
29617 Natbib
29618 \begin_inset space ~
29619 \end_inset
29620
29621 (BibTeX) loads the package 
29622 \series bold
29623 natbib
29624 \series default
29625
29626 \begin_inset Index idx
29627 status collapsed
29628
29629 \begin_layout Plain Layout
29630 \SpecialChar LaTeX
29631  packages ! natbib
29632 \end_layout
29633
29634 \end_inset
29635
29636  which provides citation styles particularly suited for the humanities.
29637 \end_layout
29638
29639 \begin_layout Standard
29640 The 
29641 \family sans
29642 Biblatex
29643 \family default
29644  and 
29645 \family sans
29646 Natbib
29647 \family default
29648  style formats provide the choice between author-year and author-numerical
29649  citation styles.
29650  You have to select one style in the dropdown box 
29651 \family sans
29652 Variant
29653 \family default
29654 .
29655  Note that for the 
29656 \family sans
29657 Biblatex
29658 \family default
29659  formats, this only affects the appearance in the \SpecialChar LyX
29660  workarea.
29661  Whether the output uses numerical, author-year or another format such as
29662  alpha-numerical depends only on the selected 
29663 \family sans
29664 Biblatex citation style
29665 \family default
29666 .
29667  However, when switching between Author-year and Author-number, a suitable
29668  style is proposed.
29669  With 
29670 \family sans
29671 Natbib
29672 \family default
29673 , on the other hand, the dialog selection will ultimately determine the
29674  style.
29675 \end_layout
29676
29677 \begin_layout Standard
29678 For any author-year and author-numerical selection, multiple style variants
29679  are available in the 
29680 \family sans
29681 Citation
29682 \family default
29683  dialog.
29684  Some selections also provide further options like the option to uppercase
29685  a name prefix such as 
29686 \begin_inset Quotes eld
29687 \end_inset
29688
29689 van Beethoven
29690 \begin_inset Quotes erd
29691 \end_inset
29692
29693  (to 
29694 \begin_inset Quotes eld
29695 \end_inset
29696
29697 Van Beethoven
29698 \begin_inset Quotes erd
29699 \end_inset
29700
29701 ) or to expand or reduce the number of displayed others (i.
29702 \begin_inset space \thinspace{}
29703 \end_inset
29704
29705 e.
29706 \begin_inset space \space{}
29707 \end_inset
29708
29709 use or don't use 
29710 \begin_inset Quotes eld
29711 \end_inset
29712
29713 et al.
29714 \begin_inset Quotes erd
29715 \end_inset
29716
29717 ).
29718  
29719 \end_layout
29720
29721 \begin_layout Standard
29722 In the citation dialog you can also set text to appear after a citation
29723  reference, e.
29724 \begin_inset space \thinspace{}
29725 \end_inset
29726
29727 g.
29728 \begin_inset space \space{}
29729 \end_inset
29730
29731 page numbers, which will then be formatted according to the style's needs
29732  (e.
29733 \begin_inset space \thinspace{}
29734 \end_inset
29735
29736 g.
29737 \begin_inset space \space{}
29738 \end_inset
29739
29740 with or without 
29741 \begin_inset Quotes eld
29742 \end_inset
29743
29744 pp.
29745 \begin_inset Quotes erd
29746 \end_inset
29747
29748 ).
29749  The option 
29750 \family sans
29751 Literal
29752 \family default
29753  in the citation dialog allows to input \SpecialChar TeX
29754  code to the fields 
29755 \family sans
29756 Text
29757 \begin_inset space ~
29758 \end_inset
29759
29760 before
29761 \family default
29762  and 
29763 \family sans
29764 Text
29765 \begin_inset space ~
29766 \end_inset
29767
29768 after
29769 \family default
29770 .
29771  Here is a simple example where the text 
29772 \begin_inset Quotes eld
29773 \end_inset
29774
29775 Chapter
29776 \begin_inset space ~
29777 \end_inset
29778
29779 3
29780 \begin_inset Quotes erd
29781 \end_inset
29782
29783  appears after the reference:
29784 \end_layout
29785
29786 \begin_layout Quote
29787 Have a look at 
29788 \begin_inset CommandInset citation
29789 LatexCommand cite
29790 after "Chapter 3"
29791 key "latexcompanion"
29792 literal "false"
29793
29794 \end_inset
29795
29796 .
29797 \end_layout
29798
29799 \begin_layout Standard
29800 All styles except for 
29801 \family sans
29802 Basic (BibTeX)
29803 \family default
29804  also provide the feature to add text that precedes the reference (such
29805  as 
29806 \begin_inset Quotes eld
29807 \end_inset
29808
29809 cf.
29810 \begin_inset Quotes erd
29811 \end_inset
29812
29813 ).
29814  This text is then also included in the parentheses, if the style requires
29815  this.
29816 \end_layout
29817
29818 \begin_layout Standard
29819 Note that these pre- and postnotes apply to the whole citation.
29820  So if you refer to multiple references at once, the prenote will precede
29821  the first citation in the list, the postnote will follow the last.
29822  Some 
29823 \family sans
29824 Biblatex
29825 \family default
29826  styles allow to add pre- and postnotes to any individual reference in a
29827  multi-citation (so-called 
29828 \begin_inset Quotes eld
29829 \end_inset
29830
29831 qualified citation lists
29832 \begin_inset Quotes erd
29833 \end_inset
29834
29835 ).
29836  \SpecialChar LyX
29837  supports this.
29838  If you use such a style and if the current reference includes multiple
29839  items the 
29840 \family sans
29841 Citation
29842 \family default
29843  dialog will display three columns in the field 
29844 \family sans
29845 Selected Citations
29846 \family default
29847
29848 \family sans
29849 Text
29850 \begin_inset space ~
29851 \end_inset
29852
29853 before
29854 \family default
29855
29856 \family sans
29857 Cite
29858 \begin_inset space ~
29859 \end_inset
29860
29861 key
29862 \family default
29863  and 
29864 \family sans
29865 Text
29866 \begin_inset space ~
29867 \end_inset
29868
29869 after
29870 \family default
29871 .
29872  If you double-click on an item's 
29873 \family sans
29874 Text
29875 \begin_inset space ~
29876 \end_inset
29877
29878 before
29879 \family default
29880  or 
29881 \family sans
29882 Text
29883 \begin_inset space ~
29884 \end_inset
29885
29886 after
29887 \family default
29888  field, you can add such individual pre- and postnotes.
29889  In the 
29890 \family sans
29891 General text before
29892 \family default
29893  and 
29894 \family sans
29895 General text after
29896 \family default
29897  fields you can add pre- and postnotes that apply to the whole list.
29898 \end_layout
29899
29900 \begin_layout Section
29901 Index
29902 \begin_inset Index idx
29903 status collapsed
29904
29905 \begin_layout Plain Layout
29906 Index generation
29907 \end_layout
29908
29909 \end_inset
29910
29911
29912 \begin_inset CommandInset label
29913 LatexCommand label
29914 name "sec:Index"
29915
29916 \end_inset
29917
29918
29919 \end_layout
29920
29921 \begin_layout Standard
29922 An index entry is created if you use the menu 
29923 \family sans
29924 Insert\SpecialChar menuseparator
29925 Index
29926 \begin_inset space ~
29927 \end_inset
29928
29929 Entry
29930 \family default
29931  or the toolbar button 
29932 \begin_inset Info
29933 type  "icon"
29934 arg   "index-insert"
29935 \end_inset
29936
29937 .
29938  A box is inserted containing the text that appears in the index.
29939  The word where the cursor is in or the currently highlighted text is proposed
29940  by \SpecialChar LyX
29941  as the index entry.
29942 \end_layout
29943
29944 \begin_layout Standard
29945 The index list is inserted in the document with the menu 
29946 \family sans
29947 Insert\SpecialChar menuseparator
29948 List/TOC\SpecialChar menuseparator
29949 Index
29950 \begin_inset space ~
29951 \end_inset
29952
29953 List
29954 \family default
29955 .
29956  A light blue box labeled 
29957 \begin_inset Quotes eld
29958 \end_inset
29959
29960
29961 \family sans
29962 Index
29963 \family default
29964
29965 \begin_inset Quotes erd
29966 \end_inset
29967
29968  will show the place where the index is printed in the output.
29969  The index list box is not clickable like other \SpecialChar LyX
29970 -boxes.
29971 \end_layout
29972
29973 \begin_layout Standard
29974 We give a short overview of the index commands in the next subsections.
29975  For a detailed description of \SpecialChar LaTeX
29976 's index mechanism, have a look at one of
29977  the \SpecialChar LaTeX
29978  books 
29979 \begin_inset CommandInset citation
29980 LatexCommand cite
29981 key "latexcompanion,latexguide,latexbook"
29982 literal "true"
29983
29984 \end_inset
29985
29986 .
29987 \end_layout
29988
29989 \begin_layout Subsection
29990 Grouping Index Entries
29991 \begin_inset Index idx
29992 status collapsed
29993
29994 \begin_layout Plain Layout
29995 Index ! Grouping
29996 \end_layout
29997
29998 \end_inset
29999
30000
30001 \end_layout
30002
30003 \begin_layout Standard
30004 Index entries are often grouped to offer the reader a fast search in the
30005  index.
30006  We want to group for example the index entries for itemized and enumerated
30007  lists under the entry 
30008 \begin_inset Quotes eld
30009 \end_inset
30010
30011 Lists
30012 \begin_inset Quotes erd
30013 \end_inset
30014
30015 .
30016  First we create the entry 
30017 \begin_inset Quotes eld
30018 \end_inset
30019
30020 Lists
30021 \begin_inset Quotes erd
30022 \end_inset
30023
30024  in section
30025 \begin_inset space ~
30026 \end_inset
30027
30028
30029 \begin_inset CommandInset ref
30030 LatexCommand ref
30031 reference "subsec:Lists"
30032
30033 \end_inset
30034
30035 .
30036  In the text field for the itemized list index entry in section
30037 \begin_inset space ~
30038 \end_inset
30039
30040
30041 \begin_inset CommandInset ref
30042 LatexCommand ref
30043 reference "sec:Itemize"
30044
30045 \end_inset
30046
30047 , we insert the command
30048 \end_layout
30049
30050 \begin_layout Standard
30051
30052 \series bold
30053 Lists ! Itemize
30054 \end_layout
30055
30056 \begin_layout Standard
30057 and the command
30058 \end_layout
30059
30060 \begin_layout Standard
30061
30062 \series bold
30063 Lists ! Enumerate
30064 \end_layout
30065
30066 \begin_layout Standard
30067 for the enumerated list in section
30068 \begin_inset space ~
30069 \end_inset
30070
30071
30072 \begin_inset CommandInset ref
30073 LatexCommand ref
30074 reference "sec:Enumerate"
30075
30076 \end_inset
30077
30078 .
30079 \end_layout
30080
30081 \begin_layout Standard
30082 The exclamation mark 
30083 \begin_inset Quotes eld
30084 \end_inset
30085
30086 !
30087 \begin_inset Quotes erd
30088 \end_inset
30089
30090  marks the grouping levels.
30091  You can have three levels; every index level is indented a bit more.
30092  An index entry for the higher levels is not required.
30093  If we don't have an index entry for 
30094 \begin_inset Quotes eld
30095 \end_inset
30096
30097 Lists
30098 \begin_inset Quotes erd
30099 \end_inset
30100
30101 , it will be printed anyway, but without a page number.
30102 \end_layout
30103
30104 \begin_layout Subsection
30105 Page Ranges
30106 \begin_inset Index idx
30107 status collapsed
30108
30109 \begin_layout Plain Layout
30110 Index ! Page ranges
30111 \end_layout
30112
30113 \end_inset
30114
30115
30116 \end_layout
30117
30118 \begin_layout Standard
30119 Normally an index entry will appear with the page number of the indexed
30120  section.
30121  But sometimes you want to index more pages under the same entry.
30122  For example, if we want to index the paragraph environments, we create
30123  an index entry in section
30124 \begin_inset space ~
30125 \end_inset
30126
30127
30128 \begin_inset CommandInset ref
30129 LatexCommand ref
30130 reference "sec:Paragraph-Environments"
30131
30132 \end_inset
30133
30134  with the command
30135 \end_layout
30136
30137 \begin_layout Standard
30138
30139 \series bold
30140 Paragraph environments|(
30141 \end_layout
30142
30143 \begin_layout Standard
30144 and another entry at the end of section
30145 \begin_inset space ~
30146 \end_inset
30147
30148
30149 \begin_inset CommandInset ref
30150 LatexCommand ref
30151 reference "subsec:LyX-Code"
30152
30153 \end_inset
30154
30155  with the command
30156 \end_layout
30157
30158 \begin_layout Standard
30159
30160 \series bold
30161 Paragraph environments|)
30162 \end_layout
30163
30164 \begin_layout Standard
30165 The commands 
30166 \begin_inset Quotes eld
30167 \end_inset
30168
30169
30170 \series bold
30171 |(
30172 \series default
30173
30174 \begin_inset Quotes erd
30175 \end_inset
30176
30177  and 
30178 \begin_inset Quotes eld
30179 \end_inset
30180
30181
30182 \series bold
30183 |)
30184 \series default
30185
30186 \begin_inset Quotes erd
30187 \end_inset
30188
30189  respectively start and end the index range.
30190  You can also add the same index entry at different places in the document.
30191  They appear in the output under one entry with a comma separated list of
30192  the pages of the indexed document parts.
30193  An example is the index entry 
30194 \begin_inset Quotes eld
30195 \end_inset
30196
30197 Document ! Settings
30198 \begin_inset Quotes erd
30199 \end_inset
30200
30201 .
30202 \end_layout
30203
30204 \begin_layout Subsection
30205 Cross referencing
30206 \begin_inset Index idx
30207 status collapsed
30208
30209 \begin_layout Plain Layout
30210 Index ! Cross referencing
30211 \end_layout
30212
30213 \end_inset
30214
30215
30216 \end_layout
30217
30218 \begin_layout Standard
30219 It is also possible to refer to another index entry.
30220  We referred for example in the index entry 
30221 \begin_inset Quotes eld
30222 \end_inset
30223
30224 GIF
30225 \begin_inset Quotes erd
30226 \end_inset
30227
30228  (in section
30229 \begin_inset space ~
30230 \end_inset
30231
30232
30233 \begin_inset CommandInset ref
30234 LatexCommand ref
30235 reference "subsec:Image-Formats"
30236
30237 \end_inset
30238
30239 ) to the index entry 
30240 \begin_inset Quotes eld
30241 \end_inset
30242
30243 Image formats
30244 \begin_inset Quotes erd
30245 \end_inset
30246
30247  in the same section using the entry
30248 \end_layout
30249
30250 \begin_layout Standard
30251
30252 \series bold
30253 GIF|see{Image formats}
30254 \end_layout
30255
30256 \begin_layout Standard
30257 where the braces have to be inserted as \SpecialChar TeX
30258  Code.
30259  The text within the braces is the referenced entry.
30260  The reference will appear in the output without a page number.
30261 \end_layout
30262
30263 \begin_layout Subsection
30264 Index Entry Order
30265 \begin_inset Index idx
30266 status collapsed
30267
30268 \begin_layout Plain Layout
30269 Index ! Entry order
30270 \end_layout
30271
30272 \end_inset
30273
30274
30275 \end_layout
30276
30277 \begin_layout Standard
30278 If you use accented characters in the index entry the entries might not
30279  follow the rules for the index order.
30280  The index entries are sorted alphabetically but \SpecialChar LaTeX
30281
30282 \begin_inset Foot
30283 status collapsed
30284
30285 \begin_layout Plain Layout
30286 The index generating is done in the background by an extra program, see
30287  section
30288 \begin_inset space ~
30289 \end_inset
30290
30291
30292 \begin_inset CommandInset ref
30293 LatexCommand ref
30294 reference "subsec:Index-Program"
30295
30296 \end_inset
30297
30298 .
30299 \end_layout
30300
30301 \end_inset
30302
30303  does not know how to sort accents in different languages.
30304  We have created as an example the three dummy index entries 
30305 \begin_inset Quotes eld
30306 \end_inset
30307
30308 maison
30309 \begin_inset Quotes erd
30310 \end_inset
30311
30312
30313 \begin_inset Quotes eld
30314 \end_inset
30315
30316 maïs
30317 \begin_inset Quotes erd
30318 \end_inset
30319
30320 , and 
30321 \begin_inset Quotes eld
30322 \end_inset
30323
30324 maître
30325 \begin_inset Quotes erd
30326 \end_inset
30327
30328 .
30329 \begin_inset Index idx
30330 status collapsed
30331
30332 \begin_layout Plain Layout
30333 Dummy entries ! maïs
30334 \end_layout
30335
30336 \end_inset
30337
30338
30339 \begin_inset Index idx
30340 status collapsed
30341
30342 \begin_layout Plain Layout
30343 Dummy entries ! maître
30344 \end_layout
30345
30346 \end_inset
30347
30348
30349 \begin_inset Index idx
30350 status collapsed
30351
30352 \begin_layout Plain Layout
30353 Dummy entries ! maïs@maison
30354 \end_layout
30355
30356 \end_inset
30357
30358  They will be sorted in the order maïs, maître, maison but we want the order
30359  maïs, maison, maître.
30360  To achieve this, we use the command
30361 \end_layout
30362
30363 \begin_layout Standard
30364
30365 \series bold
30366 previous entry@current entry
30367 \end_layout
30368
30369 \begin_layout Standard
30370 In our case we want to have 
30371 \begin_inset Quotes eld
30372 \end_inset
30373
30374 maison
30375 \begin_inset Quotes erd
30376 \end_inset
30377
30378  after 
30379 \begin_inset Quotes eld
30380 \end_inset
30381
30382 maïs
30383 \begin_inset Quotes erd
30384 \end_inset
30385
30386  and write therefore for the index entry of maison:
30387 \end_layout
30388
30389 \begin_layout Standard
30390
30391 \series bold
30392 maïs@maison
30393 \end_layout
30394
30395 \begin_layout Standard
30396 The previous entry need not be a real existing entry.
30397  You can also use another word to tell \SpecialChar LaTeX
30398  the entry order.
30399  See the next subsection for an example.
30400 \end_layout
30401
30402 \begin_layout Subsection
30403 Index Entry Layout
30404 \begin_inset Index idx
30405 status collapsed
30406
30407 \begin_layout Plain Layout
30408 Index ! Entry layout
30409 \end_layout
30410
30411 \end_inset
30412
30413
30414 \end_layout
30415
30416 \begin_layout Standard
30417 You can change the appearance of index entries via the text style dialog.
30418 \begin_inset Index idx
30419 status open
30420
30421 \begin_layout Plain Layout
30422 Dummy entries ! 
30423 \shape italic
30424 This is an italic dummy entry
30425 \end_layout
30426
30427 \end_inset
30428
30429  You can also format the page number using the character 
30430 \begin_inset Quotes eld
30431 \end_inset
30432
30433 |
30434 \begin_inset Quotes erd
30435 \end_inset
30436
30437  followed by a \SpecialChar LaTeX
30438 -command without a backslash.
30439  We can write for example
30440 \end_layout
30441
30442 \begin_layout Standard
30443
30444 \series bold
30445 italic page number:|textit
30446 \end_layout
30447
30448 \begin_layout Standard
30449 to get the page number in italic.
30450 \begin_inset Index idx
30451 status open
30452
30453 \begin_layout Plain Layout
30454 Dummy entries ! italic page number:|textit
30455 \end_layout
30456
30457 \end_inset
30458
30459  Normally all \SpecialChar LaTeX
30460 -commands begin with a backslash, but in this special case
30461  
30462 \begin_inset Quotes eld
30463 \end_inset
30464
30465
30466 \series bold
30467 |command
30468 \series default
30469
30470 \begin_inset Quotes erd
30471 \end_inset
30472
30473  means 
30474 \series bold
30475
30476 \backslash
30477 command{page
30478 \begin_inset space ~
30479 \end_inset
30480
30481 number}
30482 \series default
30483 .
30484  Have a look at section
30485 \begin_inset space ~
30486 \end_inset
30487
30488
30489 \begin_inset CommandInset ref
30490 LatexCommand ref
30491 reference "subsec:LaTeX-Syntax"
30492
30493 \end_inset
30494
30495  to learn more about the \SpecialChar LaTeX
30496 -syntax.
30497 \end_layout
30498
30499 \begin_layout Standard
30500 \begin_inset Note Greyedout
30501 status open
30502
30503 \begin_layout Plain Layout
30504
30505 \series bold
30506 Note:
30507 \series default
30508  Formatting single index entries only works when you use the program 
30509 \family sans
30510 makeindex 
30511 \family default
30512 to generate the index, see section
30513 \begin_inset space ~
30514 \end_inset
30515
30516
30517 \begin_inset CommandInset ref
30518 LatexCommand ref
30519 reference "subsec:Index-Program"
30520
30521 \end_inset
30522
30523 .
30524  If you use 
30525 \family sans
30526 xindy
30527 \family default
30528 , this will not work for anything other than bold or italic text.
30529  This is because 
30530 \family sans
30531 xindy
30532 \family default
30533  requires you to define semantic elements before they can be used, see 
30534 \begin_inset CommandInset citation
30535 LatexCommand cite
30536 after "p. 678 ff."
30537 key "latexcompanion"
30538 literal "true"
30539
30540 \end_inset
30541
30542  for details.
30543 \end_layout
30544
30545 \end_inset
30546
30547
30548 \end_layout
30549
30550 \begin_layout Standard
30551 In general, we encourage you to not format page numbers directly as shown
30552  above.
30553  Instead, you should define a macro in the preamble and use that.
30554  Maybe you want all page references italic that refer to a definition of
30555  the indexed term, so that users can easily find definitions.
30556  If so, put the following in the preamble
30557 \end_layout
30558
30559 \begin_layout Standard
30560
30561 \series bold
30562
30563 \backslash
30564 newcommand{
30565 \backslash
30566 IndexDef}[1]{
30567 \backslash
30568 textit{#1}}
30569 \end_layout
30570
30571 \begin_layout Standard
30572 and write
30573 \end_layout
30574
30575 \begin_layout Standard
30576
30577 \series bold
30578 my entry|IndexDef
30579 \end_layout
30580
30581 \begin_layout Standard
30582 in the index entry.
30583 \begin_inset Index idx
30584 status open
30585
30586 \begin_layout Plain Layout
30587 Dummy entries ! my entry|IndexDef
30588 \end_layout
30589
30590 \end_inset
30591
30592  The advantage is that, if you change your mind later or if your publisher
30593  insists that definitions must not be italic but bold, you just need to
30594  change the macro in the preamble, not every single index entry.
30595 \end_layout
30596
30597 \begin_layout Standard
30598 You can also change the layout for the whole index.
30599  For example, we marked the index list box of this document as bold to get
30600  a bold font for all index entries.
30601  For more advanced tasks you have to set up a so-called 
30602 \emph on
30603 Index Style File
30604 \emph default
30605 , see the 
30606 \family sans
30607 makeindex
30608 \family default
30609  or 
30610 \family sans
30611 xindy
30612 \family default
30613  documentation for details, 
30614 \begin_inset CommandInset citation
30615 LatexCommand cite
30616 key "makeindex,xindy"
30617 literal "true"
30618
30619 \end_inset
30620
30621 .
30622 \end_layout
30623
30624 \begin_layout Subsection
30625 Index Program
30626 \begin_inset Index idx
30627 status collapsed
30628
30629 \begin_layout Plain Layout
30630 Index ! Program
30631 \end_layout
30632
30633 \end_inset
30634
30635
30636 \begin_inset CommandInset label
30637 LatexCommand label
30638 name "subsec:Index-Program"
30639
30640 \end_inset
30641
30642
30643 \end_layout
30644
30645 \begin_layout Standard
30646 If the index generation program 
30647 \family sans
30648 xindy
30649 \family default
30650  is installed, \SpecialChar LyX
30651  uses it for index generation; otherwise the program 
30652 \family sans
30653 makeindex
30654 \family default
30655 , the program that is part of every \SpecialChar LaTeX
30656  distribution, is used.
30657 \begin_inset Foot
30658 status collapsed
30659
30660 \begin_layout Plain Layout
30661
30662 \family sans
30663 Makeindex
30664 \family default
30665  is very old, no longer under development and has many pitfalls, notably
30666  that it was developed with only the English language in mind.
30667  So it fails to sort anything other than a monolingual English text correctly.
30668  We have shown above how to fix this sorting.
30669  However, if you are writing in another than the English language, consider
30670  to use 
30671 \family sans
30672 xindy
30673 \family default
30674 .
30675 \end_layout
30676
30677 \end_inset
30678
30679  Both programs can be controlled by options that can be set in \SpecialChar LyX
30680 's preferences
30681  dialog, see section
30682 \begin_inset space ~
30683 \end_inset
30684
30685
30686 \begin_inset CommandInset ref
30687 LatexCommand ref
30688 reference "subsec:LaTeX-settings"
30689
30690 \end_inset
30691
30692 .
30693  The available options are listed and explained in 
30694 \begin_inset CommandInset citation
30695 LatexCommand cite
30696 key "makeindex-man,xindy"
30697 literal "true"
30698
30699 \end_inset
30700
30701 .
30702  In this dialog, you can also specify an alternative program to generate
30703  the index.
30704 \end_layout
30705
30706 \begin_layout Standard
30707 If you need specific options or an alternative index program only for a
30708  given document, you can define the program and\SpecialChar breakableslash
30709 or the options in 
30710 \family sans
30711 Document\SpecialChar menuseparator
30712 Settings\SpecialChar menuseparator
30713 Indexes
30714 \family default
30715 .
30716  This is especially useful if you need to pass language-specific options
30717  to the index program or if you need a specific layout style.
30718 \end_layout
30719
30720 \begin_layout Subsection
30721 Multiple Indexes
30722 \end_layout
30723
30724 \begin_layout Standard
30725 In many fields it is common to have more than one index.
30726  For instance, you might need to set up a separate 
30727 \begin_inset Quotes eld
30728 \end_inset
30729
30730 Index of Names
30731 \begin_inset Quotes erd
30732 \end_inset
30733
30734  next to the standard index.
30735  \SpecialChar LaTeX
30736  does not provide this possibility out of the box, but there are packages
30737  that add this feature.
30738  \SpecialChar LyX
30739  uses the 
30740 \series bold
30741 splitidx
30742 \series default
30743
30744 \begin_inset Index idx
30745 status collapsed
30746
30747 \begin_layout Plain Layout
30748 \SpecialChar LaTeX
30749  packages ! splitidx
30750 \end_layout
30751
30752 \end_inset
30753
30754  package to generate multiple indexes.
30755  The package is included in all recent \SpecialChar LaTeX
30756  distributions.
30757 \begin_inset Foot
30758 status collapsed
30759
30760 \begin_layout Plain Layout
30761 If yours does not ship it, consult the \SpecialChar TeX
30762  catalogue, 
30763 \begin_inset CommandInset citation
30764 LatexCommand cite
30765 key "TeXCatalogue"
30766 literal "true"
30767
30768 \end_inset
30769
30770 .
30771  Note that the package does not only consist of a \SpecialChar LaTeX
30772  style, but it also includes
30773  specific preprocessor programs that need to be installed as well.
30774  Please consult the package's manual for details.
30775 \end_layout
30776
30777 \end_inset
30778
30779
30780 \end_layout
30781
30782 \begin_layout Standard
30783 To set up \SpecialChar LyX
30784  for the use of multiple indexes, go to 
30785 \family sans
30786 Document\SpecialChar menuseparator
30787 Settings\SpecialChar menuseparator
30788 Indexes
30789 \family default
30790  and select the option 
30791 \family sans
30792 Use multiple Indexes
30793 \family default
30794 .
30795  Note that the list 
30796 \family sans
30797 Available Indexes
30798 \family default
30799  already contains the standard index 
30800 \begin_inset Quotes eld
30801 \end_inset
30802
30803 Index
30804 \begin_inset Quotes erd
30805 \end_inset
30806
30807 .
30808  To add further indexes, add the name of the index (in the form that should
30809  also appear as a heading) to the 
30810 \family sans
30811 New
30812 \family default
30813  input field and press the 
30814 \family sans
30815 Add
30816 \family default
30817  button.
30818  The new index now also appears in the list.
30819  If you like, you can attribute an alternative \SpecialChar LyX
30820  label color to the new index.
30821 \end_layout
30822
30823 \begin_layout Standard
30824 Once the document changes have been applied, you can find the new index
30825  list in 
30826 \family sans
30827 Insert\SpecialChar menuseparator
30828 List/TOC
30829 \family default
30830  and the 
30831 \family sans
30832 Insert
30833 \family default
30834  menu has a separate entry for each of the defined indexes.
30835  The workflow is basically the same as for the default index, but there
30836  are additional features:
30837 \end_layout
30838
30839 \begin_layout Itemize
30840 If you want to change the attribution of a specific index entry, right-clicking
30841  on the entry's label will open a dialog where you can do that.
30842 \end_layout
30843
30844 \begin_layout Itemize
30845 By right-clicking on an index, you can change its type.
30846  Furthermore, you can specify an index to be a 
30847 \family sans
30848 Subindex
30849 \family default
30850 .
30851  If you do that, the heading of that list will be decreased by one level.
30852  For example, if you use a book class, where the standard index heading
30853  is defined as a chapter, subindexes will be defined as sections and can
30854  thus be nested to the non-subindexes.
30855 \end_layout
30856
30857 \begin_layout Itemize
30858 The option 
30859 \family sans
30860 Literal
30861 \family default
30862  allows to use \SpecialChar TeX
30863  code in the name of the index.
30864 \end_layout
30865
30866 \begin_layout Section
30867 Nomenclature/Glossary 
30868 \begin_inset Index idx
30869 status collapsed
30870
30871 \begin_layout Plain Layout
30872 Nomenclature
30873 \end_layout
30874
30875 \end_inset
30876
30877
30878 \begin_inset Index idx
30879 status collapsed
30880
30881 \begin_layout Plain Layout
30882 Glossary|see
30883 \begin_inset ERT
30884 status collapsed
30885
30886 \begin_layout Plain Layout
30887
30888 {
30889 \end_layout
30890
30891 \end_inset
30892
30893 Nomenclature
30894 \begin_inset ERT
30895 status collapsed
30896
30897 \begin_layout Plain Layout
30898
30899 }
30900 \end_layout
30901
30902 \end_inset
30903
30904
30905 \end_layout
30906
30907 \end_inset
30908
30909
30910 \begin_inset CommandInset label
30911 LatexCommand label
30912 name "sec:Nomenclature"
30913
30914 \end_inset
30915
30916
30917 \end_layout
30918
30919 \begin_layout Standard
30920 Sometimes you need to provide a list of technical terms or symbols that
30921  are mentioned in your document with a brief explanation of them – a so
30922  called nomenclature or glossary.
30923 \end_layout
30924
30925 \begin_layout Standard
30926 To be able to create nomenclatures or glossaries, you need the \SpecialChar LaTeX
30927  package
30928  
30929 \series bold
30930 nomencl
30931 \series default
30932
30933 \begin_inset Index idx
30934 status collapsed
30935
30936 \begin_layout Plain Layout
30937 \SpecialChar LaTeX
30938  packages ! nomencl
30939 \end_layout
30940
30941 \end_inset
30942
30943  installed.
30944  You find it in the \SpecialChar TeX
30945  catalogue, 
30946 \begin_inset CommandInset citation
30947 LatexCommand cite
30948 key "TeXCatalogue"
30949 literal "true"
30950
30951 \end_inset
30952
30953  or in the package manager of your \SpecialChar LaTeX
30954 -system.
30955 \end_layout
30956
30957 \begin_layout Standard
30958 A nomenclature entry is created if you place the cursor after a symbol entry
30959  and then use the menu 
30960 \family sans
30961 Insert\SpecialChar menuseparator
30962
30963 \family default
30964 N
30965 \family sans
30966 omenclature
30967 \begin_inset space ~
30968 \end_inset
30969
30970 Entry
30971 \family default
30972  or the toolbar button 
30973 \begin_inset Info
30974 type  "icon"
30975 arg   "nomencl-insert"
30976 \end_inset
30977
30978 .
30979  A gray box labeled 
30980 \begin_inset Quotes eld
30981 \end_inset
30982
30983
30984 \family sans
30985 Nom
30986 \family default
30987
30988 \begin_inset Quotes erd
30989 \end_inset
30990
30991  is inserted and a window pops up asking for the nomenclature entry.
30992 \end_layout
30993
30994 \begin_layout Standard
30995 A nomenclature entry consists of two main entries.
30996  The first is the term or 
30997 \family sans
30998 Symbol
30999 \family default
31000  that you wish to define.
31001  The second is the 
31002 \family sans
31003 Description
31004 \family default
31005  of the term or symbol.
31006 \end_layout
31007
31008 \begin_layout Standard
31009 \begin_inset Note Greyedout
31010 status open
31011
31012 \begin_layout Plain Layout
31013
31014 \series bold
31015 Note:
31016 \series default
31017  To use \SpecialChar TeX
31018  code for nomenclature entries the option 
31019 \family sans
31020 Literal
31021 \family default
31022  in the nomenclature dialog has to be used.
31023 \end_layout
31024
31025 \end_inset
31026
31027
31028 \end_layout
31029
31030 \begin_layout Subsection
31031 Nomenclature Definition and Layout
31032 \begin_inset Index idx
31033 status collapsed
31034
31035 \begin_layout Plain Layout
31036 Nomenclature ! Layout
31037 \end_layout
31038
31039 \end_inset
31040
31041
31042 \end_layout
31043
31044 \begin_layout Standard
31045 If you have symbols in formulas, you have to define them in the 
31046 \family sans
31047 Symbol
31048 \family default
31049  field as \SpecialChar LaTeX
31050  formulas.
31051  For example to get 
31052 \begin_inset Quotes eld
31053 \end_inset
31054
31055
31056 \begin_inset Formula $\sigma$
31057 \end_inset
31058
31059
31060 \begin_inset Quotes erd
31061 \end_inset
31062
31063 , insert this:
31064 \begin_inset Newline newline
31065 \end_inset
31066
31067
31068 \series bold
31069 $
31070 \backslash
31071 sigma$
31072 \begin_inset Newline newline
31073 \end_inset
31074
31075
31076 \series default
31077 The 
31078 \begin_inset Quotes eld
31079 \end_inset
31080
31081 $
31082 \begin_inset Quotes erd
31083 \end_inset
31084
31085  character starts/ends the formula.
31086  The \SpecialChar LaTeX
31087 -command for the Greek letter is the name of the letter beginning with
31088  a backslash 
31089 \begin_inset Quotes eld
31090 \end_inset
31091
31092
31093 \backslash
31094
31095 \begin_inset Quotes erd
31096 \end_inset
31097
31098 .
31099  For capital Greek letters, start the command also with a capital letter,
31100  like 
31101 \series bold
31102
31103 \backslash
31104 Sigma
31105 \series default
31106 .
31107 \end_layout
31108
31109 \begin_layout Standard
31110 (A short introduction to the \SpecialChar LaTeX
31111  syntax is given in section
31112 \begin_inset space ~
31113 \end_inset
31114
31115
31116 \begin_inset CommandInset ref
31117 LatexCommand ref
31118 reference "subsec:LaTeX-Syntax"
31119
31120 \end_inset
31121
31122 .)
31123 \end_layout
31124
31125 \begin_layout Standard
31126 You cannot use the 
31127 \family sans
31128 Text
31129 \begin_inset space ~
31130 \end_inset
31131
31132 Style
31133 \family default
31134  dialog to format the description text; you have to use \SpecialChar LaTeX
31135 -commands.
31136  For example the description of the nomenclature entry for the 
31137 \begin_inset Quotes eld
31138 \end_inset
31139
31140
31141 \begin_inset Formula $\sigma$
31142 \end_inset
31143
31144
31145 \begin_inset Quotes erd
31146 \end_inset
31147
31148  in this document is:
31149 \begin_inset Newline newline
31150 \end_inset
31151
31152
31153 \series bold
31154 dummy entry for the character 
31155 \backslash
31156 textsf{sigma}
31157 \series default
31158
31159 \begin_inset Newline newline
31160 \end_inset
31161
31162 The command 
31163 \series bold
31164
31165 \backslash
31166 textsf
31167 \series default
31168  sets the fonts to 
31169 \family sans
31170 sans
31171 \begin_inset space ~
31172 \end_inset
31173
31174 serif
31175 \family default
31176 .
31177  To get 
31178 \series bold
31179 bold
31180 \series default
31181  font use the command 
31182 \series bold
31183
31184 \backslash
31185 textbf
31186 \series default
31187 , for 
31188 \family typewriter
31189 typewriter
31190 \family default
31191  use 
31192 \series bold
31193
31194 \backslash
31195 texttt
31196 \series default
31197 , for 
31198 \emph on
31199 emphasized
31200 \emph default
31201  use 
31202 \series bold
31203
31204 \backslash
31205 emph
31206 \series default
31207 .
31208 \end_layout
31209
31210 \begin_layout Standard
31211 To customize the appearance of all symbols add e.
31212 \begin_inset space \thinspace{}
31213 \end_inset
31214
31215 g.
31216 \begin_inset space \space{}
31217 \end_inset
31218
31219 the command
31220 \begin_inset Newline newline
31221 \end_inset
31222
31223
31224 \series bold
31225
31226 \backslash
31227 renewcommand{
31228 \backslash
31229 nomlabel}[1]{
31230 \backslash
31231 textsf{
31232 \backslash
31233 textbf{#1}}}
31234 \series default
31235
31236 \begin_inset Newline newline
31237 \end_inset
31238
31239 to the LaTeX preamble in the document settings.
31240  This command will make the font of all symbols 
31241 \series bold
31242 bold
31243 \series default
31244  and 
31245 \family sans
31246 sans
31247 \begin_inset space ~
31248 \end_inset
31249
31250 serif
31251 \family default
31252 .
31253 \end_layout
31254
31255 \begin_layout Standard
31256 If the characters |
31257 \begin_inset space \space{}
31258 \end_inset
31259
31260 ,
31261 \begin_inset space \space{}
31262 \end_inset
31263
31264 !
31265 \begin_inset space \space{}
31266 \end_inset
31267
31268 , @ and
31269 \begin_inset space \space{}
31270 \end_inset
31271
31272 "
31273 \begin_inset space \space{}
31274 \end_inset
31275
31276 should appear in nomenclature entries containing \SpecialChar TeX
31277  code they need to be escaped
31278  by adding a quote character in front of them.
31279 \begin_inset CommandInset nomenclature
31280 LatexCommand nomenclature
31281 symbol "\"@, \"|, \"!, \"\""
31282 description "The quote sign in TeX code is output by writing ' \"\" '."
31283 literal "true"
31284
31285 \end_inset
31286
31287
31288 \end_layout
31289
31290 \begin_layout Subsection
31291 Sort Order of Nomenclature Entries
31292 \begin_inset Index idx
31293 status collapsed
31294
31295 \begin_layout Plain Layout
31296 Nomenclature ! Sort order
31297 \end_layout
31298
31299 \end_inset
31300
31301
31302 \end_layout
31303
31304 \begin_layout Standard
31305 The nomenclature entries are sorted alphabetically by the \SpecialChar LaTeX
31306 -code of the symbol
31307  definition.
31308  This leads to undesired results when you, for example, have symbols in
31309  formulas.
31310  Suppose you have nomenclature entries for the symbols 
31311 \emph on
31312 a
31313 \begin_inset CommandInset nomenclature
31314 LatexCommand nomenclature
31315 symbol "a"
31316 description "dummy entry for the character \"a\""
31317 literal "false"
31318
31319 \end_inset
31320
31321
31322 \emph default
31323  and 
31324 \begin_inset Formula $\sigma$
31325 \end_inset
31326
31327
31328 \begin_inset CommandInset nomenclature
31329 LatexCommand nomenclature
31330 prefix "sigma"
31331 symbol "$\\sigma$"
31332 description "dummy entry for the character \\textsf{sigma}"
31333 literal "true"
31334
31335 \end_inset
31336
31337 .
31338  They will be sorted by 
31339 \begin_inset Quotes eld
31340 \end_inset
31341
31342
31343 \family sans
31344 a
31345 \family default
31346
31347 \begin_inset Quotes erd
31348 \end_inset
31349
31350  and 
31351 \begin_inset Quotes eld
31352 \end_inset
31353
31354
31355 \family typewriter
31356 $
31357 \backslash
31358 sigma$
31359 \family default
31360
31361 \begin_inset Quotes erd
31362 \end_inset
31363
31364  – the 
31365 \begin_inset Formula $\sigma$
31366 \end_inset
31367
31368  will be sorted before the 
31369 \emph on
31370 a
31371 \emph default
31372  since the character 
31373 \begin_inset Quotes eld
31374 \end_inset
31375
31376 $
31377 \begin_inset Quotes erd
31378 \end_inset
31379
31380  is considered in sorting.
31381 \end_layout
31382
31383 \begin_layout Standard
31384 To control the sort order, you can edit the 
31385 \family sans
31386 Sort
31387 \begin_inset space ~
31388 \end_inset
31389
31390 as
31391 \family default
31392  field of the nomenclature dialog.
31393  Then the nomenclature entry will be sorted by this entry and not the symbol
31394  definition.
31395  For the example given, you can insert 
31396 \family typewriter
31397 sigma
31398 \family default
31399  in this field for the 
31400 \begin_inset Formula $\sigma$
31401 \end_inset
31402
31403 , then 
31404 \emph on
31405 a
31406 \emph default
31407  will be located before 
31408 \begin_inset Formula $\sigma$
31409 \end_inset
31410
31411 .
31412 \end_layout
31413
31414 \begin_layout Standard
31415 For subgrouping and tips for using sort entries see the 
31416 \series bold
31417 nomencl
31418 \series default
31419  documentation, 
31420 \begin_inset CommandInset citation
31421 LatexCommand cite
31422 key "nomencl"
31423 literal "true"
31424
31425 \end_inset
31426
31427 .
31428 \end_layout
31429
31430 \begin_layout Subsection
31431 Nomenclature Options
31432 \begin_inset Index idx
31433 status collapsed
31434
31435 \begin_layout Plain Layout
31436 Nomenclature ! Options
31437 \end_layout
31438
31439 \end_inset
31440
31441
31442 \begin_inset CommandInset label
31443 LatexCommand label
31444 name "subsec:Nomenclature-Options"
31445
31446 \end_inset
31447
31448
31449 \end_layout
31450
31451 \begin_layout Standard
31452 The 
31453 \series bold
31454 nomencl
31455 \series default
31456  package offers some options to adjust the appearance of the nomenclature.
31457  Here are some of its options; for more have a look at its documentation:
31458 \end_layout
31459
31460 \begin_layout Description
31461 refeq Appends the phrase 
31462 \begin_inset Quotes eld
31463 \end_inset
31464
31465
31466 \family sans
31467 , see equation (
31468 \emph on
31469 eq
31470 \emph default
31471 )
31472 \family default
31473
31474 \begin_inset Quotes erd
31475 \end_inset
31476
31477  to every nomenclature entry, where 
31478 \family sans
31479 \emph on
31480 eq
31481 \family default
31482 \emph default
31483  is the number of the last equation in front of the nomenclature entry
31484 \end_layout
31485
31486 \begin_layout Description
31487 refpage Appends the phrase 
31488 \begin_inset Quotes eld
31489 \end_inset
31490
31491
31492 \family sans
31493 , page (
31494 \emph on
31495 page
31496 \emph default
31497 )
31498 \family default
31499
31500 \begin_inset Quotes erd
31501 \end_inset
31502
31503  to every nomenclature entry, where 
31504 \family sans
31505 \emph on
31506 page
31507 \family default
31508 \emph default
31509  is the number of the page on which the nomenclature entry appeared
31510 \end_layout
31511
31512 \begin_layout Description
31513 intoc Inserts the nomenclature in the Table of Contents
31514 \end_layout
31515
31516 \begin_layout Standard
31517 To use one or more of the options, add them to the comma-separated document
31518  class options list in the 
31519 \family sans
31520 Document\SpecialChar menuseparator
31521 Settings
31522 \family default
31523  dialog.
31524  In this document the options 
31525 \series bold
31526 refpage, intoc
31527 \series default
31528  are used.
31529 \end_layout
31530
31531 \begin_layout Standard
31532 \begin_inset VSpace bigskip
31533 \end_inset
31534
31535
31536 \end_layout
31537
31538 \begin_layout Standard
31539 You can also use the first two options above only for certain nomenclature
31540  entries when you add one of the following commands as last entry to the
31541  
31542 \family sans
31543 Description
31544 \family default
31545  field in the nomenclature dialog:
31546 \end_layout
31547
31548 \begin_layout Description
31549
31550 \backslash
31551 nomrefeq Like the 
31552 \series bold
31553 refeq
31554 \series default
31555  option
31556 \end_layout
31557
31558 \begin_layout Description
31559
31560 \backslash
31561 nomrefpage Like the 
31562 \series bold
31563 refpage
31564 \series default
31565  option
31566 \end_layout
31567
31568 \begin_layout Description
31569
31570 \backslash
31571 nomrefeqpage Short notation of 
31572 \series bold
31573
31574 \backslash
31575 nomrefeq
31576 \backslash
31577 nomrefpage
31578 \end_layout
31579
31580 \begin_layout Description
31581
31582 \backslash
31583 nomnorefeq,
31584 \begin_inset space ~
31585 \end_inset
31586
31587
31588 \backslash
31589 nomnorefpage,
31590 \begin_inset space ~
31591 \end_inset
31592
31593
31594 \backslash
31595 nomnorefeqpage Turns off the corresponding options
31596 \end_layout
31597
31598 \begin_layout Standard
31599 Words like 
31600 \begin_inset Quotes eld
31601 \end_inset
31602
31603 page
31604 \begin_inset Quotes erd
31605 \end_inset
31606
31607  are automatically translated for most document languages.
31608  If not, add these lines in front of the nomenclature list as \SpecialChar TeX
31609  code:
31610 \end_layout
31611
31612 \begin_layout Standard
31613 \noindent
31614
31615 \series bold
31616
31617 \backslash
31618 renewcommand*{
31619 \backslash
31620 eqdeclaration}[1]{
31621 \begin_inset Newline newline
31622 \end_inset
31623
31624
31625 \size small
31626
31627 \begin_inset Phantom HPhantom
31628 status open
31629
31630 \begin_layout Plain Layout
31631 \begin_inset space ~
31632 \end_inset
31633
31634
31635 \end_layout
31636
31637 \end_inset
31638
31639
31640 \size default
31641
31642 \backslash
31643 unskip, see equation
31644 \backslash
31645 nobreakspace(#1)}
31646 \begin_inset Newline newline
31647 \end_inset
31648
31649
31650 \backslash
31651 renewcommand*{
31652 \backslash
31653 pagedeclaration}[1]{
31654 \begin_inset Newline newline
31655 \end_inset
31656
31657
31658 \size small
31659
31660 \begin_inset Phantom HPhantom
31661 status open
31662
31663 \begin_layout Plain Layout
31664 \begin_inset space ~
31665 \end_inset
31666
31667
31668 \end_layout
31669
31670 \end_inset
31671
31672
31673 \size default
31674
31675 \backslash
31676 unskip, page
31677 \backslash
31678 nobreakspace{}#1}
31679 \end_layout
31680
31681 \begin_layout Standard
31682 If the numbers should be hyperlinks, assure that you use 
31683 \family sans
31684 Hyperref
31685 \begin_inset space ~
31686 \end_inset
31687
31688 Support
31689 \family default
31690  in the document settings under 
31691 \family sans
31692 PDF
31693 \begin_inset space ~
31694 \end_inset
31695
31696 Properties
31697 \family default
31698  and use instead:
31699 \end_layout
31700
31701 \begin_layout Standard
31702
31703 \series bold
31704
31705 \backslash
31706 renewcommand*{
31707 \backslash
31708 eqdeclaration}[1]{
31709 \begin_inset Newline newline
31710 \end_inset
31711
31712
31713 \begin_inset Phantom HPhantom
31714 status open
31715
31716 \begin_layout Plain Layout
31717 \begin_inset space ~
31718 \end_inset
31719
31720
31721 \end_layout
31722
31723 \end_inset
31724
31725
31726 \backslash
31727 unskip, see 
31728 \backslash
31729 hyperlink{equation.#1}{equation
31730 \backslash
31731 nobreakspace{}(#1)}}
31732 \begin_inset Newline newline
31733 \end_inset
31734
31735
31736 \backslash
31737 renewcommand*{
31738 \backslash
31739 pagedeclaration}[1]{
31740 \begin_inset Newline newline
31741 \end_inset
31742
31743
31744 \begin_inset Phantom HPhantom
31745 status open
31746
31747 \begin_layout Plain Layout
31748 \begin_inset space ~
31749 \end_inset
31750
31751
31752 \end_layout
31753
31754 \end_inset
31755
31756
31757 \backslash
31758 unskip, 
31759 \backslash
31760 hyperlink{page.#1}{page
31761 \backslash
31762 nobreakspace{}#1}}
31763 \end_layout
31764
31765 \begin_layout Subsection
31766 Printing the Nomenclature
31767 \begin_inset Index idx
31768 status collapsed
31769
31770 \begin_layout Plain Layout
31771 Nomenclature ! Printing
31772 \end_layout
31773
31774 \end_inset
31775
31776
31777 \end_layout
31778
31779 \begin_layout Standard
31780 To print the nomenclature, use the menu 
31781 \family sans
31782 Insert\SpecialChar menuseparator
31783 Lists/TOC\SpecialChar menuseparator
31784 Nomenclature
31785 \family default
31786 .
31787  A box labeled 
31788 \begin_inset Quotes eld
31789 \end_inset
31790
31791
31792 \family sans
31793 Nomenclature
31794 \family default
31795
31796 \begin_inset Quotes erd
31797 \end_inset
31798
31799  will show the place where the nomenclature is printed in the output.
31800  By right-clicking on it, the amount of space for symbols can be altered.
31801  You can choose between these settings:
31802 \end_layout
31803
31804 \begin_layout Description
31805 Default a space of 1
31806 \begin_inset space \thinspace{}
31807 \end_inset
31808
31809 cm is used
31810 \end_layout
31811
31812 \begin_layout Description
31813 Longest
31814 \begin_inset space ~
31815 \end_inset
31816
31817 label
31818 \begin_inset space ~
31819 \end_inset
31820
31821 width the width of the widest symbol of all nomenclature entries is used
31822 \end_layout
31823
31824 \begin_layout Description
31825 Custom custom space
31826 \end_layout
31827
31828 \begin_layout Standard
31829 In the printed output the title of the nomenclature appears as 
31830 \begin_inset Quotes eld
31831 \end_inset
31832
31833 Nomenclature
31834 \begin_inset Quotes erd
31835 \end_inset
31836
31837 .
31838  If you are not happy with the name, you can change it by redefining the
31839  command 
31840 \series bold
31841
31842 \backslash
31843 nomname
31844 \series default
31845  in the preamble.
31846  For example, in order to change the name to 
31847 \emph on
31848 List of Symbols
31849 \emph default
31850 , add the following line to the preamble:
31851 \end_layout
31852
31853 \begin_layout Standard
31854
31855 \family roman
31856 \series bold
31857
31858 \backslash
31859 renewcommand{
31860 \backslash
31861 nomname}{List of Symbols}
31862 \end_layout
31863
31864 \begin_layout Subsection
31865 Nomenclature Program
31866 \begin_inset Index idx
31867 status collapsed
31868
31869 \begin_layout Plain Layout
31870 Nomenclature ! Program
31871 \end_layout
31872
31873 \end_inset
31874
31875
31876 \begin_inset CommandInset label
31877 LatexCommand label
31878 name "subsec:Nomenclature-Program"
31879
31880 \end_inset
31881
31882
31883 \end_layout
31884
31885 \begin_layout Standard
31886 \SpecialChar LyX
31887  uses the program 
31888 \family sans
31889 makeindex
31890 \family default
31891 , that is part of every \SpecialChar LaTeX
31892  distribution, to generate the nomenclature.
31893  \SpecialChar LyX
31894 's preferences dialog allows you to specify another program or to control
31895  
31896 \family sans
31897 makeindex
31898 \family default
31899  by adding options, see section
31900 \begin_inset space ~
31901 \end_inset
31902
31903
31904 \begin_inset CommandInset ref
31905 LatexCommand ref
31906 reference "subsec:LaTeX-settings"
31907
31908 \end_inset
31909
31910 .
31911  The available options are listed and explained in 
31912 \begin_inset CommandInset citation
31913 LatexCommand cite
31914 key "nomencl,makeindex"
31915 literal "true"
31916
31917 \end_inset
31918
31919 .
31920 \end_layout
31921
31922 \begin_layout Section
31923 Branches
31924 \begin_inset Index idx
31925 status collapsed
31926
31927 \begin_layout Plain Layout
31928 Branches
31929 \end_layout
31930
31931 \end_inset
31932
31933
31934 \begin_inset Index idx
31935 status collapsed
31936
31937 \begin_layout Plain Layout
31938 Document ! Branches
31939 \end_layout
31940
31941 \end_inset
31942
31943
31944 \begin_inset CommandInset label
31945 LatexCommand label
31946 name "sec:Branches"
31947
31948 \end_inset
31949
31950
31951 \end_layout
31952
31953 \begin_layout Standard
31954 Sometimes it is useful to hide some document parts in the output.
31955  For example a teacher who is setting an exam obviously doesn't want the
31956  pupils to see the answers, but having questions and answers in the same
31957  document will make the life of the markers of that exam much easier.
31958 \end_layout
31959
31960 \begin_layout Standard
31961 For these cases \SpecialChar LyX
31962  allows you to put text into branches.
31963  The text will then only appear in the output when its branch is activated.
31964  To create a branch, either select the menu 
31965 \family sans
31966 Insert\SpecialChar menuseparator
31967 Branch\SpecialChar menuseparator
31968 Insert New Branch
31969 \family default
31970  (if you just want to specify a new branch) or go in the 
31971 \family sans
31972 Document\SpecialChar menuseparator
31973 Settings
31974 \family default
31975  dialog to 
31976 \family sans
31977 Branches
31978 \family default
31979 , where you can specify and change the name of the branch, its activation
31980  state (whether the content of the branch is shown in the output or not),
31981  its background color inside \SpecialChar LyX
31982  and whether the name of the branch should
31983  be appended to the document file name on export if the branch is active
31984  (see below for an example).
31985  Furthermore, the dialog lets you merge two branches (just rename one branch
31986  to the name of the other) and to add 
31987 \begin_inset Quotes eld
31988 \end_inset
31989
31990 unknown branches
31991 \begin_inset Quotes erd
31992 \end_inset
31993
31994  (i.
31995 \begin_inset space \thinspace{}
31996 \end_inset
31997
31998 e.
31999 \begin_inset space ~
32000 \end_inset
32001
32002 branches that were added to the document via copy and paste from other documents
32003 , without having been defined) to the document's branch list.
32004 \end_layout
32005
32006 \begin_layout Standard
32007 Text that should be in a branch is set into branch inset boxes.
32008  These boxes are inserted via the menu 
32009 \family sans
32010 Insert\SpecialChar menuseparator
32011 Branch
32012 \family default
32013  where you can choose a branch.
32014  You can later change the activation state of the branch by right-clicking
32015  on them.
32016 \end_layout
32017
32018 \begin_layout Standard
32019 Here is an example, where only the question text appears, the answer branch
32020  is deactivated and therefore does not appear in the output:
32021 \end_layout
32022
32023 \begin_layout Standard
32024 \begin_inset Branch Question
32025 inverted 0
32026 status open
32027
32028 \begin_layout Standard
32029
32030 \series bold
32031 Question:
32032 \series default
32033  Who was the first physics Nobel prize winner?
32034 \end_layout
32035
32036 \end_inset
32037
32038
32039 \end_layout
32040
32041 \begin_layout Standard
32042 \begin_inset Branch Answer
32043 inverted 0
32044 status collapsed
32045
32046 \begin_layout Standard
32047
32048 \series bold
32049 Answer:
32050 \series default
32051  Wilhelm Conrad Röntgen
32052 \end_layout
32053
32054 \end_inset
32055
32056
32057 \end_layout
32058
32059 \begin_layout Standard
32060 If you activate 
32061 \family sans
32062 Filename Suffix
32063 \family default
32064  in 
32065 \family sans
32066 Document\SpecialChar menuseparator
32067 Settings\SpecialChar menuseparator
32068 Branches
32069 \family default
32070 , the name of the active branches will be appended to the file name at export.
32071  Consider for example a file 
32072 \begin_inset Quotes eld
32073 \end_inset
32074
32075 Exam.lyx
32076 \begin_inset Quotes erd
32077 \end_inset
32078
32079  which has the above branches.
32080  If 
32081 \begin_inset Quotes eld
32082 \end_inset
32083
32084 Filename Suffix
32085 \begin_inset Quotes erd
32086 \end_inset
32087
32088  is active, the PDF export file would be called 
32089 \begin_inset Quotes eld
32090 \end_inset
32091
32092 Exam.pdf
32093 \begin_inset Quotes erd
32094 \end_inset
32095
32096  if both the 
32097 \begin_inset Quotes eld
32098 \end_inset
32099
32100 Question
32101 \begin_inset Quotes erd
32102 \end_inset
32103
32104  and 
32105 \begin_inset Quotes eld
32106 \end_inset
32107
32108 Answer
32109 \begin_inset Quotes erd
32110 \end_inset
32111
32112  branch were inactive, 
32113 \begin_inset Quotes eld
32114 \end_inset
32115
32116 Exam-Question.pdf
32117 \begin_inset Quotes erd
32118 \end_inset
32119
32120  if only the 
32121 \begin_inset Quotes eld
32122 \end_inset
32123
32124 Question
32125 \begin_inset Quotes erd
32126 \end_inset
32127
32128  branch was active, likewise 
32129 \begin_inset Quotes eld
32130 \end_inset
32131
32132 Exam-Answer.pdf
32133 \begin_inset Quotes erd
32134 \end_inset
32135
32136  if only the 
32137 \begin_inset Quotes eld
32138 \end_inset
32139
32140 Answer
32141 \begin_inset Quotes erd
32142 \end_inset
32143
32144  branch was active, and 
32145 \begin_inset Quotes eld
32146 \end_inset
32147
32148 Exam-Question-Answer.pdf
32149 \begin_inset Quotes erd
32150 \end_inset
32151
32152  if both branches were active.
32153  This helps you to export different versions of your document easily.
32154 \begin_inset VSpace bigskip
32155 \end_inset
32156
32157
32158 \end_layout
32159
32160 \begin_layout Standard
32161 There are also inverted branch insets, whose content is output just in case
32162  the branch is 
32163 \emph on
32164 not
32165 \emph default
32166  activated.
32167  This make it easy to add alternative text for different versions of a document.
32168  To control whether a particular inset is inverted, right-click on the inset
32169  button and choose 
32170 \family sans
32171 Invert
32172 \begin_inset space ~
32173 \end_inset
32174
32175 Inset
32176 \family default
32177 .
32178 \end_layout
32179
32180 \begin_layout Standard
32181 \begin_inset Branch Answer
32182 inverted 1
32183 status open
32184
32185 \begin_layout Standard
32186
32187 \series bold
32188 No answer:
32189 \series default
32190  Because the 
32191 \begin_inset Quotes eld
32192 \end_inset
32193
32194 Answer
32195 \begin_inset Quotes erd
32196 \end_inset
32197
32198  branch is deactivated.
32199 \end_layout
32200
32201 \end_inset
32202
32203
32204 \begin_inset VSpace bigskip
32205 \end_inset
32206
32207
32208 \end_layout
32209
32210 \begin_layout Standard
32211 To use conditional output inside places where you cannot insert branch insets,
32212  like inside equations, you can code special \SpecialChar LaTeX
32213  definitions for each branch.
32214  For example you can define for the question branch
32215 \begin_inset Foot
32216 status collapsed
32217
32218 \begin_layout Plain Layout
32219 For an introduction to the \SpecialChar LaTeX
32220 -syntax, see section
32221 \begin_inset space ~
32222 \end_inset
32223
32224
32225 \begin_inset CommandInset ref
32226 LatexCommand ref
32227 reference "subsec:LaTeX-Syntax"
32228
32229 \end_inset
32230
32231 .
32232 \end_layout
32233
32234 \end_inset
32235
32236
32237 \end_layout
32238
32239 \begin_layout Standard
32240
32241 \series bold
32242
32243 \backslash
32244 newcommand{
32245 \backslash
32246 question}[1]{#1}
32247 \end_layout
32248
32249 \begin_layout Standard
32250
32251 \series bold
32252
32253 \backslash
32254 newcommand{
32255 \backslash
32256 answer}[1]{}
32257 \end_layout
32258
32259 \begin_layout Standard
32260 and for the answer branch
32261 \end_layout
32262
32263 \begin_layout Standard
32264
32265 \series bold
32266
32267 \backslash
32268 newcommand{
32269 \backslash
32270 question}[1]{}
32271 \end_layout
32272
32273 \begin_layout Standard
32274
32275 \series bold
32276
32277 \backslash
32278 newcommand{
32279 \backslash
32280 answer}[1]{#1}
32281 \end_layout
32282
32283 \begin_layout Standard
32284 \begin_inset Branch Question
32285 inverted 0
32286 status open
32287
32288 \begin_layout Standard
32289 \begin_inset ERT
32290 status open
32291
32292 \begin_layout Plain Layout
32293
32294
32295 \backslash
32296 newcommand{
32297 \backslash
32298 question}[1]{#1}
32299 \end_layout
32300
32301 \begin_layout Plain Layout
32302
32303
32304 \backslash
32305 newcommand{
32306 \backslash
32307 answer}[1]{}
32308 \end_layout
32309
32310 \end_inset
32311
32312
32313 \end_layout
32314
32315 \end_inset
32316
32317
32318 \end_layout
32319
32320 \begin_layout Standard
32321 \begin_inset Branch Answer
32322 inverted 0
32323 status collapsed
32324
32325 \begin_layout Standard
32326 \begin_inset ERT
32327 status open
32328
32329 \begin_layout Plain Layout
32330
32331
32332 \backslash
32333 newcommand{
32334 \backslash
32335 question}[1]{}
32336 \end_layout
32337
32338 \begin_layout Plain Layout
32339
32340
32341 \backslash
32342 newcommand{
32343 \backslash
32344 answer}[1]{#1}
32345 \end_layout
32346
32347 \end_inset
32348
32349
32350 \end_layout
32351
32352 \end_inset
32353
32354
32355 \end_layout
32356
32357 \begin_layout Standard
32358 Now it is possible to use the 
32359 \series bold
32360
32361 \backslash
32362 question{\SpecialChar ldots
32363 }
32364 \series default
32365  and 
32366 \series bold
32367
32368 \backslash
32369 answer{\SpecialChar ldots
32370 }
32371 \series default
32372  commands to obtain conditional output.
32373  Here is an example formula where only the 
32374 \series bold
32375
32376 \backslash
32377 question
32378 \series default
32379  part appears:
32380 \begin_inset Formula 
32381 \[
32382 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
32383 \]
32384
32385 \end_inset
32386
32387
32388 \end_layout
32389
32390 \begin_layout Standard
32391 Inside math, the same effect can be achieved using math macros, see the
32392  
32393 \emph on
32394 Math
32395 \emph default
32396  manual.
32397 \end_layout
32398
32399 \begin_layout Standard
32400 Each type of branch is allowed to have its specific style defined in layout
32401  files (e.
32402 \begin_inset space \thinspace{}
32403 \end_inset
32404
32405 g.
32406 \begin_inset space \space{}
32407 \end_inset
32408
32409 any branch inset can be automatically wrapped by your own \SpecialChar LaTeX
32410  commands.).
32411  For this advanced usage, see the 
32412 \emph on
32413 Customization
32414 \emph default
32415  manual, section 
32416 \emph on
32417 Flex insets and InsetLayout
32418 \emph default
32419 ).
32420 \end_layout
32421
32422 \begin_layout Section
32423 PDF Properties
32424 \begin_inset CommandInset label
32425 LatexCommand label
32426 name "sec:PDF-Properties"
32427
32428 \end_inset
32429
32430
32431 \begin_inset Index idx
32432 status collapsed
32433
32434 \begin_layout Plain Layout
32435 PDF properties
32436 \end_layout
32437
32438 \end_inset
32439
32440
32441 \end_layout
32442
32443 \begin_layout Standard
32444 The 
32445 \family sans
32446 Document\SpecialChar menuseparator
32447 Settings\SpecialChar menuseparator
32448 PDF Properties
32449 \family default
32450  dialog allows you to set up special options for the PDF output of your
32451  document.
32452  All these options are provided by the \SpecialChar LaTeX
32453 -package 
32454 \series bold
32455 hyperref
32456 \series default
32457
32458 \begin_inset Index idx
32459 status collapsed
32460
32461 \begin_layout Plain Layout
32462 \SpecialChar LaTeX
32463  packages ! hyperref
32464 \end_layout
32465
32466 \end_inset
32467
32468  which will link all cross-references in the DVI- and PDF-output.
32469  This means that the reader of your document will be able to click on a
32470  table of contents entry or on a reference to move to the cross-referenced
32471  part of the document.
32472  
32473 \end_layout
32474
32475 \begin_layout Standard
32476 The header information in the dialog tab 
32477 \family sans
32478 General
32479 \family default
32480  is saved together with the PDF as file properties.
32481  Many programs are able to extract this information, for example, automatically
32482  to recognize who the author is and what the PDF is about.
32483  This is very useful to sort, classify or use PDFs for bibliography issues.
32484  When the option 
32485 \family sans
32486 Automatically
32487 \begin_inset space ~
32488 \end_inset
32489
32490 fill
32491 \begin_inset space ~
32492 \end_inset
32493
32494 header
32495 \family default
32496  is set, \SpecialChar LyX
32497  tries to extract the header information from your document title
32498  and author entries.
32499  The option 
32500 \family sans
32501 Load
32502 \begin_inset space ~
32503 \end_inset
32504
32505 in
32506 \begin_inset space ~
32507 \end_inset
32508
32509 fullscreen
32510 \begin_inset space ~
32511 \end_inset
32512
32513 mode
32514 \family default
32515  will open the PDF in fullscreen mode, which is useful for presentations.
32516 \end_layout
32517
32518 \begin_layout Standard
32519 You can specify in the dialog tab 
32520 \family sans
32521 Hyperlinks
32522 \family default
32523  how the links will look and if links for bibliographical backreferences
32524  are created.
32525  The 
32526 \family sans
32527 Break
32528 \begin_inset space ~
32529 \end_inset
32530
32531 links
32532 \begin_inset space ~
32533 \end_inset
32534
32535 over
32536 \begin_inset space ~
32537 \end_inset
32538
32539 lines
32540 \family default
32541  option allows long links to be split; 
32542 \family sans
32543 No
32544 \begin_inset space ~
32545 \end_inset
32546
32547 frames
32548 \begin_inset space ~
32549 \end_inset
32550
32551 around
32552 \begin_inset space ~
32553 \end_inset
32554
32555 links
32556 \family default
32557  and 
32558 \family sans
32559 Color
32560 \begin_inset space ~
32561 \end_inset
32562
32563 links
32564 \family default
32565  both turn off the default behavior of enclosing all links in frames; 
32566 \family sans
32567 Color
32568 \begin_inset space ~
32569 \end_inset
32570
32571 links
32572 \family default
32573  colors the different links.
32574  The default colors are:
32575 \end_layout
32576
32577 \begin_layout Labeling
32578 \labelwidthstring 00.00.0000
32579
32580 \color magenta
32581 magenta
32582 \color inherit
32583  for hyperlinks and URLs
32584 \end_layout
32585
32586 \begin_layout Labeling
32587 \labelwidthstring 00.00.0000
32588
32589 \color red
32590 red
32591 \color inherit
32592  for links
32593 \end_layout
32594
32595 \begin_layout Labeling
32596 \labelwidthstring 00.00.0000
32597
32598 \color green
32599 green
32600 \color inherit
32601  for citations
32602 \end_layout
32603
32604 \begin_layout Standard
32605 but you can change these in the field 
32606 \family sans
32607 Additional options
32608 \family default
32609 .
32610  For example, in this document they were changed with the additional options:
32611 \end_layout
32612
32613 \begin_layout Standard
32614
32615 \series bold
32616 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
32617 \end_layout
32618
32619 \begin_layout Standard
32620 If the option 
32621 \family sans
32622 Backreferences
32623 \family default
32624  is set, the hyperlinks will appear in the bibliography after the different
32625  entries, showing, depending on the option selected, the number of the section,
32626  slide or page where the entry is referenced.
32627 \end_layout
32628
32629 \begin_layout Standard
32630 In the dialog tab 
32631 \family sans
32632 Bookmarks
32633 \family default
32634  you can specify if PDF-bookmarks should be created for every section of
32635  your document to make it easier for readers to navigate through the document.
32636  You can decide if the bookmarks should be numbered like your document sections
32637  or not.
32638  With the 
32639 \family sans
32640 Open bookmarks
32641 \family default
32642  
32643 \family sans
32644 Level
32645 \family default
32646  you can specify what sectioning level should be displayed in the bookmarks
32647  when opening the PDF.
32648  For example level
32649 \begin_inset space ~
32650 \end_inset
32651
32652 2 will display all sections and subsections, while level
32653 \begin_inset space ~
32654 \end_inset
32655
32656 1 will only display the sections.
32657 \end_layout
32658
32659 \begin_layout Standard
32660 PDF properties are also used in this document.
32661  When you look in its document settings, you can see that some additional
32662  
32663 \series bold
32664 hyperref
32665 \series default
32666  options are used.
32667  For an explanation of all them we refer you to the hyperref manual 
32668 \begin_inset CommandInset citation
32669 LatexCommand cite
32670 key "hyperref"
32671 literal "true"
32672
32673 \end_inset
32674
32675 .
32676 \end_layout
32677
32678 \begin_layout Section
32679 \SpecialChar TeX
32680  Code and the \SpecialChar LaTeX
32681  Syntax
32682 \begin_inset CommandInset label
32683 LatexCommand label
32684 name "sec:TeX-Code"
32685
32686 \end_inset
32687
32688
32689 \end_layout
32690
32691 \begin_layout Subsection
32692 \SpecialChar TeX
32693  Code Boxes
32694 \begin_inset Index idx
32695 status collapsed
32696
32697 \begin_layout Plain Layout
32698 \SpecialChar TeX
32699  Code
32700 \end_layout
32701
32702 \end_inset
32703
32704
32705 \begin_inset CommandInset label
32706 LatexCommand label
32707 name "subsec:TeX-Code-Boxes"
32708
32709 \end_inset
32710
32711
32712 \end_layout
32713
32714 \begin_layout Standard
32715 As \SpecialChar LyX
32716  uses \SpecialChar LaTeX
32717  in the background, it supports many \SpecialChar LaTeX
32718  commands and constructs,
32719  but not all.
32720  \SpecialChar LaTeX
32721  contains hundreds of packages that provide different commands.
32722  All the time packages are being updated and new ones added.
32723  This has the advantage that you can typeset nearly everything as there
32724  is a \SpecialChar LaTeX
32725 -package for every problem, though \SpecialChar LyX
32726  cannot support all packages and
32727  their commands.
32728 \end_layout
32729
32730 \begin_layout Standard
32731 But don't worry, you can use any \SpecialChar LaTeX
32732 -command directly in \SpecialChar LyX
32733  inside the \SpecialChar TeX
32734  Code
32735  box.
32736  A \SpecialChar TeX
32737  Code box is created by the menu 
32738 \family sans
32739 Insert\SpecialChar menuseparator
32740 TeX
32741 \begin_inset space ~
32742 \end_inset
32743
32744 Code
32745 \family default
32746  or by the toolbar button 
32747 \begin_inset Info
32748 type  "icon"
32749 arg   "ert-insert"
32750 \end_inset
32751
32752  (shortcut 
32753 \begin_inset Info
32754 type  "shortcut"
32755 arg   "ert-insert"
32756 \end_inset
32757
32758 ).
32759  The box can be opened by left-clicking and closed by right-clicking on
32760  it and selecting 
32761 \family sans
32762 Close Inset
32763 \family default
32764 .
32765 \end_layout
32766
32767 \begin_layout Standard
32768 You can insert complete or incomplete commands as \SpecialChar TeX
32769  Code.
32770  Incomplete means that the command argument can be Standard \SpecialChar LyX
32771  text.
32772  For example, if you want to draw a frame around a word
32773 \begin_inset Foot
32774 status collapsed
32775
32776 \begin_layout Plain Layout
32777 The LyX way would be to use a framed box.
32778 \end_layout
32779
32780 \end_inset
32781
32782  and are therefore using the \SpecialChar LaTeX
32783 -command 
32784 \series bold
32785
32786 \backslash
32787 fbox
32788 \series default
32789 , you can write the command part 
32790 \series bold
32791
32792 \backslash
32793 fbox{
32794 \series default
32795  in a \SpecialChar TeX
32796  Code box before the word and the closing brace 
32797 \series bold
32798 }
32799 \series default
32800  in a second \SpecialChar TeX
32801  Code box behind the word.
32802  The word between the two \SpecialChar TeX
32803  Code boxes is then the argument as it is in the
32804  following example:
32805 \end_layout
32806
32807 \begin_layout Standard
32808 \begin_inset Graphics
32809         filename clipart/ERT.png
32810         scale 95
32811
32812 \end_inset
32813
32814
32815 \end_layout
32816
32817 \begin_layout Standard
32818 gives
32819 \end_layout
32820
32821 \begin_layout Standard
32822 This is a line with a 
32823 \begin_inset ERT
32824 status collapsed
32825
32826 \begin_layout Plain Layout
32827
32828
32829 \backslash
32830 fbox{
32831 \end_layout
32832
32833 \end_inset
32834
32835 framed
32836 \begin_inset ERT
32837 status collapsed
32838
32839 \begin_layout Plain Layout
32840
32841 }
32842 \end_layout
32843
32844 \end_inset
32845
32846  word.
32847 \end_layout
32848
32849 \begin_layout Standard
32850 \begin_inset Note Greyedout
32851 status open
32852
32853 \begin_layout Plain Layout
32854
32855 \series bold
32856 Note:
32857 \series default
32858  At the end of \SpecialChar LaTeX
32859 -commands without parameters, you have to insert a space
32860  to let \SpecialChar LaTeX
32861  know that the command is finished.
32862 \end_layout
32863
32864 \end_inset
32865
32866
32867 \end_layout
32868
32869 \begin_layout Subsection
32870 A Short Introduction to the \SpecialChar LaTeX
32871  Syntax
32872 \begin_inset Argument 1
32873 status collapsed
32874
32875 \begin_layout Plain Layout
32876 The \SpecialChar LaTeX
32877  Syntax
32878 \end_layout
32879
32880 \end_inset
32881
32882
32883 \begin_inset Index idx
32884 status collapsed
32885
32886 \begin_layout Plain Layout
32887 \SpecialChar LaTeX
32888  Syntax
32889 \end_layout
32890
32891 \end_inset
32892
32893
32894 \begin_inset CommandInset label
32895 LatexCommand label
32896 name "subsec:LaTeX-Syntax"
32897
32898 \end_inset
32899
32900
32901 \end_layout
32902
32903 \begin_layout Standard
32904 When you write larger documents or books, you will need to know something
32905  about the \SpecialChar LaTeX
32906 -commands that \SpecialChar LyX
32907  uses in the background.
32908  Because \SpecialChar LaTeX
32909  is based on commands, you can 
32910 \begin_inset Quotes eld
32911 \end_inset
32912
32913 program
32914 \begin_inset Quotes erd
32915 \end_inset
32916
32917  your text.
32918  This has the advantage that the layout of the document can be changed at
32919  any time if you know the right commands.
32920  For example, imagine you have to write a manual for a product and the deadline
32921  is the end of the day.
32922  Your boss has just complimented you for your good work but wants to have
32923  all caption labels bold.
32924  But you have over a hundred figure and table captions with non-bold labels
32925  in your manual.
32926  Of course it is impossible to change all caption labels manually in one
32927  day.
32928 \end_layout
32929
32930 \begin_layout Standard
32931 Now \SpecialChar LaTeX
32932  comes into play.
32933  As mentioned above, for every problem there exists a \SpecialChar LaTeX
32934 -package.
32935  First you have to find out which and therefore look in the \SpecialChar LaTeX
32936  package database,
32937  
32938 \begin_inset CommandInset citation
32939 LatexCommand cite
32940 key "Catalogue"
32941 literal "true"
32942
32943 \end_inset
32944
32945 .
32946 \end_layout
32947
32948 \begin_layout Standard
32949 As result you find that the package 
32950 \series bold
32951 caption
32952 \series default
32953
32954 \begin_inset Index idx
32955 status collapsed
32956
32957 \begin_layout Plain Layout
32958 \SpecialChar LaTeX
32959  packages ! caption
32960 \end_layout
32961
32962 \end_inset
32963
32964  is what you need.
32965  To use a package, you have to load it in the document preamble (menu 
32966 \family sans
32967 Document\SpecialChar menuseparator
32968 Settings
32969 \family default
32970 \SpecialChar menuseparator
32971
32972 \family sans
32973 LaTeX
32974 \begin_inset space ~
32975 \end_inset
32976
32977 Preamble
32978 \family default
32979 ) with the command
32980 \end_layout
32981
32982 \begin_layout Standard
32983
32984 \series bold
32985
32986 \backslash
32987 usepackage[options]{package name}
32988 \end_layout
32989
32990 \begin_layout Standard
32991 All \SpecialChar LaTeX
32992  commands begin with a backslash, the command argument is set within
32993  two braces and the options are set within two brackets.
32994  Note that not all commands have an argument and options.
32995 \end_layout
32996
32997 \begin_layout Standard
32998 In your case the package name is 
32999 \series bold
33000 caption
33001 \series default
33002 .
33003  After a look in the documentation of the package, you know that the option
33004  
33005 \series bold
33006 labelfont=bf
33007 \series default
33008  will change the font of all caption labels to bold.
33009  So you add the command
33010 \end_layout
33011
33012 \begin_layout Standard
33013
33014 \series bold
33015
33016 \backslash
33017 usepackage[labelfont=bf]{caption}
33018 \end_layout
33019
33020 \begin_layout Standard
33021 to the preamble and the problem is solved.
33022 \begin_inset Foot
33023 status collapsed
33024
33025 \begin_layout Plain Layout
33026 For more commands provided by the 
33027 \series bold
33028 caption
33029 \series default
33030  package, have a look at its documentation, 
33031 \begin_inset CommandInset citation
33032 LatexCommand cite
33033 key "caption"
33034 literal "true"
33035
33036 \end_inset
33037
33038 .
33039 \end_layout
33040
33041 \end_inset
33042
33043
33044 \end_layout
33045
33046 \begin_layout Standard
33047 Note that some document classes have built-in solutions for well-known problems
33048  like your case.
33049  For example if you use a 
33050 \family sans
33051 KOMA-Script
33052 \family default
33053  class, you don't need the package 
33054 \series bold
33055 caption
33056 \series default
33057 , you can instead write
33058 \end_layout
33059
33060 \begin_layout Standard
33061
33062 \series bold
33063
33064 \backslash
33065 setkomafont{captionlabel}{
33066 \backslash
33067 bfseries}
33068 \end_layout
33069
33070 \begin_layout Standard
33071 in the preamble and the problem is solved.
33072  So if you plan to write a large document, you should have a look at the
33073  documentation of the document class you want to use.
33074  (
33075 \series bold
33076
33077 \backslash
33078 setkomafont
33079 \series default
33080  is an example of a command with more than one argument.)
33081 \end_layout
33082
33083 \begin_layout Standard
33084 Commands in the preamble affect the whole document, while commands in the
33085  text affect only the text after the command or only the text used as command
33086  argument.
33087  To insert a \SpecialChar LaTeX
33088 -command in text, use the \SpecialChar TeX
33089  Code box as described in the previous
33090  section.
33091 \end_layout
33092
33093 \begin_layout Standard
33094 If you want to learn more about \SpecialChar LaTeX
33095  and its syntax, have a look at the \SpecialChar LaTeX
33096 -books
33097  
33098 \begin_inset CommandInset citation
33099 LatexCommand cite
33100 key "latexcompanion,latexguide"
33101 literal "true"
33102
33103 \end_inset
33104
33105 .
33106 \end_layout
33107
33108 \begin_layout Standard
33109 \begin_inset Newpage clearpage
33110 \end_inset
33111
33112
33113 \end_layout
33114
33115 \begin_layout Standard
33116 \begin_inset ERT
33117 status collapsed
33118
33119 \begin_layout Plain Layout
33120
33121
33122 \backslash
33123 pagestyle{fancy}
33124 \end_layout
33125
33126 \end_inset
33127
33128
33129 \begin_inset Note Note
33130 status collapsed
33131
33132 \begin_layout Plain Layout
33133 switches temporarily to a page style with custom header and footer line
33134 \end_layout
33135
33136 \end_inset
33137
33138
33139 \end_layout
33140
33141 \begin_layout Left Header
33142 \begin_inset Argument 1
33143 status collapsed
33144
33145 \begin_layout Plain Layout
33146
33147 \end_layout
33148
33149 \end_inset
33150
33151
33152 \begin_inset ERT
33153 status collapsed
33154
33155 \begin_layout Plain Layout
33156
33157
33158 \backslash
33159 rightmark
33160 \end_layout
33161
33162 \end_inset
33163
33164
33165 \begin_inset Note Note
33166 status collapsed
33167
33168 \begin_layout Plain Layout
33169 defines the header line as described below
33170 \end_layout
33171
33172 \end_inset
33173
33174
33175 \end_layout
33176
33177 \begin_layout Center Header
33178 \begin_inset Argument 1
33179 status collapsed
33180
33181 \begin_layout Plain Layout
33182
33183 \end_layout
33184
33185 \end_inset
33186
33187
33188 \end_layout
33189
33190 \begin_layout Right Header
33191 \begin_inset Argument 1
33192 status collapsed
33193
33194 \begin_layout Plain Layout
33195 \begin_inset ERT
33196 status collapsed
33197
33198 \begin_layout Plain Layout
33199
33200
33201 \backslash
33202 leftmark
33203 \end_layout
33204
33205 \end_inset
33206
33207
33208 \end_layout
33209
33210 \end_inset
33211
33212
33213 \end_layout
33214
33215 \begin_layout Left Footer
33216 \begin_inset Argument 1
33217 status collapsed
33218
33219 \begin_layout Plain Layout
33220 \begin_inset ERT
33221 status collapsed
33222
33223 \begin_layout Plain Layout
33224
33225
33226 \backslash
33227 thepage
33228 \end_layout
33229
33230 \end_inset
33231
33232
33233 \end_layout
33234
33235 \end_inset
33236
33237
33238 \end_layout
33239
33240 \begin_layout Center Footer
33241 \begin_inset Argument 1
33242 status collapsed
33243
33244 \begin_layout Plain Layout
33245
33246 \family sans
33247 \series bold
33248 \color red
33249 \SpecialChar LyX
33250 's user guide
33251 \end_layout
33252
33253 \end_inset
33254
33255 Magic code:
33256 \begin_inset Newline newline
33257 \end_inset
33258
33259
33260 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
33261 \end_inset
33262
33263
33264 \end_layout
33265
33266 \begin_layout Right Footer
33267 \begin_inset Argument 1
33268 status collapsed
33269
33270 \begin_layout Plain Layout
33271
33272 \end_layout
33273
33274 \end_inset
33275
33276
33277 \begin_inset ERT
33278 status collapsed
33279
33280 \begin_layout Plain Layout
33281
33282
33283 \backslash
33284 Roman{page}
33285 \end_layout
33286
33287 \end_inset
33288
33289
33290 \end_layout
33291
33292 \begin_layout Section
33293 Customized Page Headers and Footers
33294 \begin_inset CommandInset label
33295 LatexCommand label
33296 name "sec:Customized-Page-Headers"
33297
33298 \end_inset
33299
33300
33301 \begin_inset Index idx
33302 status collapsed
33303
33304 \begin_layout Plain Layout
33305 Document ! Header/Footer line
33306 \end_layout
33307
33308 \end_inset
33309
33310
33311 \begin_inset Index idx
33312 status collapsed
33313
33314 \begin_layout Plain Layout
33315 Header/Footer line
33316 \end_layout
33317
33318 \end_inset
33319
33320
33321 \end_layout
33322
33323 \begin_layout Standard
33324 To define a custom page header and footer line for your document, you need
33325  to set the 
33326 \family sans
33327 Page
33328 \begin_inset space ~
33329 \end_inset
33330
33331 style
33332 \family default
33333  to 
33334 \family sans
33335 Fancy
33336 \family default
33337  in the 
33338 \family sans
33339 Document\SpecialChar menuseparator
33340 Settings
33341 \family default
33342  dialog under 
33343 \family sans
33344 Page
33345 \begin_inset space ~
33346 \end_inset
33347
33348 Layout
33349 \family default
33350 .
33351  As a second step add in the menu 
33352 \family sans
33353 Document\SpecialChar menuseparator
33354 Settings\SpecialChar menuseparator
33355 Modules
33356 \family default
33357  the module 
33358 \begin_inset Quotes eld
33359 \end_inset
33360
33361
33362 \emph on
33363 Custom Header/Footerlines
33364 \emph default
33365
33366 \begin_inset Quotes erd
33367 \end_inset
33368
33369 .
33370  This module offers the following 6
33371 \begin_inset space ~
33372 \end_inset
33373
33374 environments:
33375 \end_layout
33376
33377 \begin_layout Description
33378 Left
33379 \begin_inset space ~
33380 \end_inset
33381
33382 Header,
33383 \begin_inset space ~
33384 \end_inset
33385
33386 Center
33387 \begin_inset space ~
33388 \end_inset
33389
33390 Header,
33391 \begin_inset space ~
33392 \end_inset
33393
33394 Right
33395 \begin_inset space ~
33396 \end_inset
33397
33398 Header
33399 \end_layout
33400
33401 \begin_layout Description
33402 Left
33403 \begin_inset space ~
33404 \end_inset
33405
33406 Footer,
33407 \begin_inset space ~
33408 \end_inset
33409
33410 Center
33411 \begin_inset space ~
33412 \end_inset
33413
33414 Footer,
33415 \begin_inset space ~
33416 \end_inset
33417
33418 Right
33419 \begin_inset space ~
33420 \end_inset
33421
33422 Footer
33423 \end_layout
33424
33425 \begin_layout Standard
33426 for the different positions in the header/footer.
33427  These environments can be selected in the environment pull-down box.
33428 \end_layout
33429
33430 \begin_layout Standard
33431 Normally, headers and footers are set up at the beginning of the document.
33432  But you can change them anywhere you want to.
33433  Figure
33434 \begin_inset space ~
33435 \end_inset
33436
33437
33438 \begin_inset CommandInset ref
33439 LatexCommand ref
33440 reference "fig:Page-layout"
33441
33442 \end_inset
33443
33444  shows the page layout and where the header/footer styles will appear.
33445 \end_layout
33446
33447 \begin_layout Standard
33448 \begin_inset Float figure
33449 placement h
33450 wide false
33451 sideways false
33452 status open
33453
33454 \begin_layout Plain Layout
33455 \noindent
33456 \align center
33457 \begin_inset Tabular
33458 <lyxtabular version="3" rows="5" columns="3">
33459 <features tabularvalignment="middle">
33460 <column alignment="left" valignment="top" width="30line%">
33461 <column alignment="center" valignment="top" width="30line%">
33462 <column alignment="right" valignment="top" width="30line%">
33463 <row>
33464 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
33465 \begin_inset Text
33466
33467 \begin_layout Plain Layout
33468 Left Header
33469 \end_layout
33470
33471 \end_inset
33472 </cell>
33473 <cell alignment="center" valignment="top" topline="true" usebox="none">
33474 \begin_inset Text
33475
33476 \begin_layout Plain Layout
33477 Center Header
33478 \end_layout
33479
33480 \end_inset
33481 </cell>
33482 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
33483 \begin_inset Text
33484
33485 \begin_layout Plain Layout
33486 Right Header
33487 \end_layout
33488
33489 \end_inset
33490 </cell>
33491 </row>
33492 <row>
33493 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33494 \begin_inset Text
33495
33496 \begin_layout Plain Layout
33497
33498 \end_layout
33499
33500 \end_inset
33501 </cell>
33502 <cell alignment="center" valignment="top" usebox="none">
33503 \begin_inset Text
33504
33505 \begin_layout Plain Layout
33506
33507 \end_layout
33508
33509 \end_inset
33510 </cell>
33511 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33512 \begin_inset Text
33513
33514 \begin_layout Plain Layout
33515
33516 \end_layout
33517
33518 \end_inset
33519 </cell>
33520 </row>
33521 <row>
33522 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
33523 \begin_inset Text
33524
33525 \begin_layout Plain Layout
33526 The normal text on the page goes here.
33527  The running header is above the text, and the footer is below (including
33528  footnotes).
33529  Headers/footers typically contain things like the page number, title of
33530  the chapter, company logo but you can use almost anything, except of floats.
33531 \end_layout
33532
33533 \end_inset
33534 </cell>
33535 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
33536 \begin_inset Text
33537
33538 \begin_layout Plain Layout
33539
33540 \end_layout
33541
33542 \end_inset
33543 </cell>
33544 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
33545 \begin_inset Text
33546
33547 \begin_layout Plain Layout
33548
33549 \end_layout
33550
33551 \end_inset
33552 </cell>
33553 </row>
33554 <row>
33555 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33556 \begin_inset Text
33557
33558 \begin_layout Plain Layout
33559
33560 \end_layout
33561
33562 \end_inset
33563 </cell>
33564 <cell alignment="center" valignment="top" usebox="none">
33565 \begin_inset Text
33566
33567 \begin_layout Plain Layout
33568
33569 \end_layout
33570
33571 \end_inset
33572 </cell>
33573 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33574 \begin_inset Text
33575
33576 \begin_layout Plain Layout
33577
33578 \end_layout
33579
33580 \end_inset
33581 </cell>
33582 </row>
33583 <row>
33584 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
33585 \begin_inset Text
33586
33587 \begin_layout Plain Layout
33588 Left Footer
33589 \end_layout
33590
33591 \end_inset
33592 </cell>
33593 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
33594 \begin_inset Text
33595
33596 \begin_layout Plain Layout
33597 Center Footer
33598 \end_layout
33599
33600 \end_inset
33601 </cell>
33602 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
33603 \begin_inset Text
33604
33605 \begin_layout Plain Layout
33606 Right Footer
33607 \end_layout
33608
33609 \end_inset
33610 </cell>
33611 </row>
33612 </lyxtabular>
33613
33614 \end_inset
33615
33616
33617 \end_layout
33618
33619 \begin_layout Plain Layout
33620 \begin_inset Caption Standard
33621
33622 \begin_layout Plain Layout
33623 \begin_inset CommandInset label
33624 LatexCommand label
33625 name "fig:Page-layout"
33626
33627 \end_inset
33628
33629 Page layout with custom header and footer line.
33630 \end_layout
33631
33632 \end_inset
33633
33634
33635 \end_layout
33636
33637 \end_inset
33638
33639
33640 \end_layout
33641
33642 \begin_layout Standard
33643 \begin_inset Note Greyedout
33644 status open
33645
33646 \begin_layout Plain Layout
33647
33648 \series bold
33649 Note
33650 \series default
33651 : some document classes implement their own customized page headers and
33652  footers if 
33653 \family sans
33654 Page
33655 \begin_inset space ~
33656 \end_inset
33657
33658 style
33659 \family default
33660  is set to “Default”.
33661  Check what these are before you specify your own customized page headers
33662  and footers.
33663 \end_layout
33664
33665 \end_inset
33666
33667
33668 \end_layout
33669
33670 \begin_layout Subsection
33671 Definition
33672 \end_layout
33673
33674 \begin_layout Standard
33675 To define your header line, add all three header environments.
33676  The things you add to each environment appear on odd numbered pages, the
33677  things in the optional arguments on even numbered pages.
33678  For single-sided documents, the optional arguments will not be used and
33679  can be omitted.
33680  If you leave a header environment or its argument empty, nothing appears
33681  in the output.
33682  Defining the footer line works similarly.
33683 \end_layout
33684
33685 \begin_layout Standard
33686 For the definition, you will need some \SpecialChar LaTeX
33687 -commands that are inserted as \SpecialChar TeX
33688  code
33689  (menu 
33690 \family sans
33691 Insert\SpecialChar menuseparator
33692 TeX
33693 \begin_inset space ~
33694 \end_inset
33695
33696 Code
33697 \family default
33698 ):
33699 \end_layout
33700
33701 \begin_layout Description
33702
33703 \backslash
33704 thepage prints the current page number
33705 \end_layout
33706
33707 \begin_layout Description
33708
33709 \backslash
33710 Roman{page} prints the current page number with capital roman numerals
33711 \end_layout
33712
33713 \begin_layout Description
33714
33715 \backslash
33716 roman{page} prints the current page number with small roman numerals
33717 \end_layout
33718
33719 \begin_layout Description
33720
33721 \backslash
33722 leftmark prints the current section number and title.
33723  If the document has chapters, it prints the current chapter number and
33724  title instead.
33725  It is called 
33726 \begin_inset Quotes eld
33727 \end_inset
33728
33729 leftmark
33730 \begin_inset Quotes prd
33731 \end_inset
33732
33733  because it usually goes in a left header.
33734 \end_layout
33735
33736 \begin_layout Description
33737
33738 \backslash
33739 rightmark prints the current subsection number and title.
33740  If the document has chapters, it prints the current section number and
33741  title instead.
33742  It is normally used in the right header.
33743 \end_layout
33744
33745 \begin_layout Subsection
33746 Default header/footer
33747 \end_layout
33748
33749 \begin_layout Standard
33750 The custom header/footer is not empty by default.
33751  The default header contains the chapter and section title and the center
33752  footer has the page number.
33753  In order to remove unwanted entries from the header/footer, include the
33754  relevant header/footer style in your document, but leave it blank.
33755  So, if you do not want a page number in the footer, include a blank 
33756 \family sans
33757 Center
33758 \begin_inset space ~
33759 \end_inset
33760
33761 Footer
33762 \family default
33763  style.
33764 \end_layout
33765
33766 \begin_layout Subsection
33767 Appearance
33768 \end_layout
33769
33770 \begin_layout Standard
33771 The header and footer will appear on normal pages.
33772  Some pages are different.
33773  The title page has a header/footer environment of its own, and so does
33774  any page that starts a new part or chapter in your book.
33775  Such pages will not have the custom headers/footers, but that is normal.
33776  There is for example no need to print a header with the chapter name on
33777  the chapter page where the chapter heading is in big bold letters anyway.
33778 \end_layout
33779
33780 \begin_layout Subsubsection
33781 Header and footer decoration line
33782 \end_layout
33783
33784 \begin_layout Standard
33785 By default, you get a 0.4
33786 \begin_inset space \thinspace{}
33787 \end_inset
33788
33789 pt thick line below the header and no footer line.
33790  This can be changed in the document preamble with the commands 
33791 \series bold
33792
33793 \backslash
33794 headrulewidth
33795 \series default
33796  and 
33797 \series bold
33798
33799 \backslash
33800 footrulewidth
33801 \series default
33802  in the following way:
33803 \end_layout
33804
33805 \begin_layout Standard
33806
33807 \series bold
33808
33809 \backslash
33810 renewcommand{
33811 \backslash
33812 headrulewidth}{thickness}
33813 \end_layout
33814
33815 \begin_layout Standard
33816 where thickness is a size in standard units like 
33817 \family sans
33818 \emph on
33819 pt
33820 \family default
33821 \emph default
33822  or 
33823 \family sans
33824 \emph on
33825 mm
33826 \family default
33827 \emph default
33828 .
33829  If you don't want a line, set the thickness to 0
33830 \begin_inset space \thinspace{}
33831 \end_inset
33832
33833 pt.
33834 \end_layout
33835
33836 \begin_layout Standard
33837 The lines can also be colored, but this requires more knowledge of \SpecialChar LaTeX
33838 .
33839  If you really need this, have a look at the Internet or in section
33840 \begin_inset space ~
33841 \end_inset
33842
33843 4.4 of the book 
33844 \begin_inset CommandInset citation
33845 LatexCommand cite
33846 key "Mittelbach"
33847 literal "true"
33848
33849 \end_inset
33850
33851 .
33852 \end_layout
33853
33854 \begin_layout Subsubsection
33855 Several header/footer lines
33856 \end_layout
33857
33858 \begin_layout Standard
33859 In case you need more than one text line as a header/footer, you can do
33860  this by adding a ragged line break in the style definition.
33861  However, the default height of the header/footer is only the height of
33862  one text line.
33863  To expand the height, redefine the \SpecialChar LaTeX
33864  length 
33865 \series bold
33866
33867 \backslash
33868 headheight
33869 \series default
33870  or 
33871 \series bold
33872
33873 \backslash
33874 footheight
33875 \series default
33876  with this entry in 
33877 \family sans
33878 Document\SpecialChar menuseparator
33879 Settings\SpecialChar menuseparator
33880 LaTeX
33881 \begin_inset space ~
33882 \end_inset
33883
33884 Preamble
33885 \family default
33886 :
33887 \end_layout
33888
33889 \begin_layout Standard
33890
33891 \series bold
33892
33893 \backslash
33894 setlength{
33895 \backslash
33896 headheight}{height}
33897 \end_layout
33898
33899 \begin_layout Standard
33900 where 
33901 \series bold
33902 height
33903 \series default
33904  is a size in standard units (e.
33905 \begin_inset space \thinspace{}
33906 \end_inset
33907
33908 g.
33909 \begin_inset space \space{}
33910 \end_inset
33911
33912
33913 \series bold
33914 1cm
33915 \series default
33916 ).
33917  If you don't know how much space is needed for the height, define your
33918  header/footer and preview your document as a PDF.
33919  Then open the \SpecialChar LaTeX
33920  logfile with the menu 
33921 \family sans
33922 Document\SpecialChar menuseparator
33923 LaTeX
33924 \begin_inset space ~
33925 \end_inset
33926
33927 Log
33928 \family default
33929  and use the button 
33930 \family sans
33931 Next
33932 \begin_inset space ~
33933 \end_inset
33934
33935 Warning
33936 \family default
33937  to see if you can find a warning about the package 
33938 \series bold
33939 fancyhdr
33940 \series default
33941
33942 \begin_inset Index idx
33943 status collapsed
33944
33945 \begin_layout Plain Layout
33946 \SpecialChar LaTeX
33947  packages ! fancyhdr
33948 \end_layout
33949
33950 \end_inset
33951
33952 .
33953  If there is such a warning, it contains the space that you need at least
33954  for your header/footer.
33955 \end_layout
33956
33957 \begin_layout Subsection
33958 This example
33959 \end_layout
33960
33961 \begin_layout Standard
33962 This example demonstrates what can be done with custom header/footers.
33963  Don't use it for your document as it is just an example.
33964  This example consists of the following definition:
33965 \end_layout
33966
33967 \begin_layout Description
33968 Left
33969 \begin_inset space ~
33970 \end_inset
33971
33972 Header 
33973 \series bold
33974
33975 \backslash
33976 rightmark
33977 \series default
33978 , empty optional argument
33979 \end_layout
33980
33981 \begin_layout Description
33982 Center
33983 \begin_inset space ~
33984 \end_inset
33985
33986 Header empty, empty optional argument
33987 \end_layout
33988
33989 \begin_layout Description
33990 Right
33991 \begin_inset space ~
33992 \end_inset
33993
33994 Header empty, 
33995 \series bold
33996
33997 \backslash
33998 leftmark
33999 \series default
34000  in the optional argument
34001 \end_layout
34002
34003 \begin_layout Description
34004 Left
34005 \begin_inset space ~
34006 \end_inset
34007
34008 Footer empty, 
34009 \series bold
34010
34011 \backslash
34012 thepage
34013 \series default
34014  in the optional argument
34015 \end_layout
34016
34017 \begin_layout Description
34018 Center
34019 \begin_inset space ~
34020 \end_inset
34021
34022 Footer 
34023 \family sans
34024 \series bold
34025 \color red
34026 \SpecialChar LyX
34027 's user guide
34028 \family default
34029 \series default
34030 \color inherit
34031
34032 \begin_inset Quotes eld
34033 \end_inset
34034
34035 Magic code:
34036 \begin_inset Newline newline
34037 \end_inset
34038
34039
34040 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
34041 \end_inset
34042
34043
34044 \begin_inset Quotes erd
34045 \end_inset
34046
34047  in the optional argument
34048 \end_layout
34049
34050 \begin_layout Description
34051 Right
34052 \begin_inset space ~
34053 \end_inset
34054
34055 Footer 
34056 \series bold
34057
34058 \backslash
34059 Roman{page}
34060 \series default
34061 , empty optional argument
34062 \end_layout
34063
34064 \begin_layout Description
34065
34066 \backslash
34067 headrulewidth set to 2
34068 \begin_inset space \thinspace{}
34069 \end_inset
34070
34071 pt
34072 \end_layout
34073
34074 \begin_layout Standard
34075 In principle you can use almost everything in headers/footers, except floats.
34076  For more specialized features, for example, thumb-indexes, see the manual
34077  of the 
34078 \series bold
34079 fancyhdr
34080 \series default
34081  package, 
34082 \begin_inset CommandInset citation
34083 LatexCommand cite
34084 key "fancyhdr"
34085 literal "true"
34086
34087 \end_inset
34088
34089 .
34090 \end_layout
34091
34092 \begin_layout Standard
34093 \begin_inset Newpage clearpage
34094 \end_inset
34095
34096
34097 \end_layout
34098
34099 \begin_layout Standard
34100 \begin_inset ERT
34101 status open
34102
34103 \begin_layout Plain Layout
34104
34105
34106 \backslash
34107 pagestyle{headings}
34108 \end_layout
34109
34110 \end_inset
34111
34112
34113 \begin_inset Note Note
34114 status collapsed
34115
34116 \begin_layout Plain Layout
34117 switches back to page style with the default headings
34118 \end_layout
34119
34120 \end_inset
34121
34122
34123 \end_layout
34124
34125 \begin_layout Section
34126 Previewing Snippets of your Document
34127 \begin_inset CommandInset label
34128 LatexCommand label
34129 name "sec:Previewing-snippets-of"
34130
34131 \end_inset
34132
34133
34134 \begin_inset Index idx
34135 status collapsed
34136
34137 \begin_layout Plain Layout
34138 Instant preview
34139 \end_layout
34140
34141 \end_inset
34142
34143
34144 \begin_inset Index idx
34145 status collapsed
34146
34147 \begin_layout Plain Layout
34148 Document ! Preview
34149 \end_layout
34150
34151 \end_inset
34152
34153
34154 \end_layout
34155
34156 \begin_layout Standard
34157 \SpecialChar LyX
34158  allows you to generate previews of sections of your document on the fly
34159  so you can see how they will look in the final document without having
34160  to break your train of thought with viewing the output.
34161 \end_layout
34162
34163 \begin_layout Subsection
34164 Prerequisites
34165 \end_layout
34166
34167 \begin_layout Standard
34168 To get previews working, you need the \SpecialChar LaTeX
34169  package 
34170 \series bold
34171 preview-latex
34172 \series default
34173
34174 \begin_inset Index idx
34175 status collapsed
34176
34177 \begin_layout Plain Layout
34178 \SpecialChar LaTeX
34179  packages ! preview-latex
34180 \end_layout
34181
34182 \end_inset
34183
34184  (on some systems named simply 
34185 \series bold
34186 preview
34187 \series default
34188 ) installed.
34189  If it is not already installed, you will find it in the \SpecialChar TeX
34190 -catalogue, 
34191 \begin_inset CommandInset citation
34192 LatexCommand cite
34193 key "TeXCatalogue"
34194 literal "true"
34195
34196 \end_inset
34197
34198  or in the package manager of your \SpecialChar LaTeX
34199 -system.
34200  You obtain prettier results if you install the program 
34201 \family typewriter
34202 pnmcrop
34203 \family default
34204  from the 
34205 \family typewriter
34206 netpbm
34207 \family default
34208  package; for \SpecialChar LyX
34209  on Windows this program and also the \SpecialChar LaTeX
34210 -package are automatically
34211  installed together with \SpecialChar LyX
34212 .
34213 \end_layout
34214
34215 \begin_layout Subsection
34216 Enabling previews
34217 \end_layout
34218
34219 \begin_layout Standard
34220 If you would for example like to see in \SpecialChar LyX
34221  your math formulas typeset by \SpecialChar LaTeX
34222 ,
34223  activate the option 
34224 \family sans
34225 Display
34226 \begin_inset space ~
34227 \end_inset
34228
34229 Graphics
34230 \family default
34231  in the 
34232 \family sans
34233 Tools\SpecialChar menuseparator
34234 Preferences 
34235 \family default
34236 dialog under 
34237 \family sans
34238 Look
34239 \begin_inset space ~
34240 \end_inset
34241
34242 and
34243 \begin_inset space ~
34244 \end_inset
34245
34246 feel\SpecialChar menuseparator
34247 Display
34248 \family default
34249 .
34250  Then set 
34251 \family sans
34252 Instant
34253 \begin_inset space ~
34254 \end_inset
34255
34256 Preview
34257 \family default
34258  to 
34259 \family sans
34260 On
34261 \family default
34262 .
34263  The 
34264 \family sans
34265 Preview
34266 \begin_inset space ~
34267 \end_inset
34268
34269 Size
34270 \family default
34271  is the multiplication factor for the size.
34272 \end_layout
34273
34274 \begin_layout Standard
34275 If you would like to see everything but your math formulas typeset by \SpecialChar LaTeX
34276 ,
34277  set 
34278 \family sans
34279 Instant
34280 \begin_inset space ~
34281 \end_inset
34282
34283 Preview
34284 \family default
34285  to 
34286 \family sans
34287 No
34288 \begin_inset space ~
34289 \end_inset
34290
34291 math
34292 \family default
34293 .
34294 \end_layout
34295
34296 \begin_layout Standard
34297 Previews are generated when you load a document into \SpecialChar LyX
34298  and when you finish
34299  editing an inset.
34300 \end_layout
34301
34302 \begin_layout Standard
34303 \begin_inset Note Greyedout
34304 status open
34305
34306 \begin_layout Plain Layout
34307
34308 \series bold
34309 Note:
34310 \series default
34311  Previews of an already loaded document are not in every case immediately
34312  generated by activating the option 
34313 \family sans
34314 Display
34315 \begin_inset space ~
34316 \end_inset
34317
34318 Graphics
34319 \family default
34320 .
34321  Reopening the document will fix such problems.
34322 \end_layout
34323
34324 \end_inset
34325
34326
34327 \end_layout
34328
34329 \begin_layout Subsection
34330 Selected document parts
34331 \end_layout
34332
34333 \begin_layout Standard
34334 Besides math there are other cases where you might like to see a preview,
34335  for example things that \SpecialChar LyX
34336  cannot render like rotated parts or things that
34337  are not yet supported by \SpecialChar LyX
34338 .
34339  To do this, insert a preview inset via the menu 
34340 \family sans
34341 Insert\SpecialChar menuseparator
34342 Preview
34343 \family default
34344 .
34345  Insert or paste the stuff that you want to preview into this inset.
34346  The preview will be generated when the cursor is outside the preview inset.
34347  If you click on the preview, you can edit the previewed stuff.
34348 \end_layout
34349
34350 \begin_layout Standard
34351 An example: To create rotated boxes, you use the \SpecialChar LaTeX
34352  command 
34353 \series bold
34354
34355 \backslash
34356 rotatebox
34357 \series default
34358  which is not yet supported by \SpecialChar LyX
34359 .
34360 \begin_inset Foot
34361 status collapsed
34362
34363 \begin_layout Plain Layout
34364
34365 \series bold
34366
34367 \backslash
34368 rotatebox
34369 \series default
34370  is explained in section 
34371 \emph on
34372 Rotated and Scaled Boxes
34373 \emph default
34374  of the 
34375 \emph on
34376 Embedded
34377 \begin_inset space ~
34378 \end_inset
34379
34380 Objects
34381 \emph default
34382  manual.
34383 \end_layout
34384
34385 \end_inset
34386
34387  Instead of the \SpecialChar TeX
34388  Code boxes you want to see in \SpecialChar LyX
34389  the final rotated boxes,
34390  for example to adjust the rotation angle to fit with the surrounding text.
34391  Therefore you create a preview inset and copy the text with the rotated
34392  boxes into it.
34393  Here is the result:
34394 \end_layout
34395
34396 \begin_layout Standard
34397 \begin_inset Preview
34398
34399 \begin_layout Standard
34400 This is a line
34401 \begin_inset ERT
34402 status collapsed
34403
34404 \begin_layout Plain Layout
34405
34406
34407 \backslash
34408 rotatebox[origin=r]{-60}{
34409 \end_layout
34410
34411 \end_inset
34412
34413
34414 \begin_inset Box Doublebox
34415 position "c"
34416 hor_pos "c"
34417 has_inner_box 0
34418 inner_pos "c"
34419 use_parbox 0
34420 use_makebox 0
34421 width "1in"
34422 special "width"
34423 height "1in"
34424 height_special "totalheight"
34425 thickness "0.4pt"
34426 separation "3pt"
34427 shadowsize "4pt"
34428 framecolor "black"
34429 backgroundcolor "none"
34430 status collapsed
34431
34432 \begin_layout Plain Layout
34433 with rotated
34434 \end_layout
34435
34436 \end_inset
34437
34438
34439 \begin_inset ERT
34440 status collapsed
34441
34442 \begin_layout Plain Layout
34443
34444 }
34445 \end_layout
34446
34447 \end_inset
34448
34449  framed text 
34450 \begin_inset ERT
34451 status collapsed
34452
34453 \begin_layout Plain Layout
34454
34455
34456 \backslash
34457 rotatebox[origin=lb]{60}{
34458 \end_layout
34459
34460 \end_inset
34461
34462
34463 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34464 \end_inset
34465
34466
34467 \begin_inset ERT
34468 status collapsed
34469
34470 \begin_layout Plain Layout
34471
34472 }
34473 \end_layout
34474
34475 \end_inset
34476
34477  and a formula.
34478 \end_layout
34479
34480 \end_inset
34481
34482
34483 \end_layout
34484
34485 \begin_layout Standard
34486 Previewing works also for colors.
34487  In this example a special framed, colored box was created using the \SpecialChar LaTeX
34488  command
34489  
34490 \series bold
34491
34492 \backslash
34493 fcolorbox
34494 \series default
34495 :
34496 \begin_inset Foot
34497 status collapsed
34498
34499 \begin_layout Plain Layout
34500
34501 \series bold
34502
34503 \backslash
34504 fcolorbox
34505 \series default
34506  is explained in section 
34507 \emph on
34508 Colored Boxes
34509 \emph default
34510  of the 
34511 \emph on
34512 Embedded
34513 \begin_inset space ~
34514 \end_inset
34515
34516 Objects
34517 \emph default
34518  manual.
34519 \end_layout
34520
34521 \end_inset
34522
34523
34524 \end_layout
34525
34526 \begin_layout Standard
34527 \begin_inset Preview
34528
34529 \begin_layout Standard
34530 \begin_inset ERT
34531 status collapsed
34532
34533 \begin_layout Plain Layout
34534
34535
34536 \backslash
34537 fboxrule 1mm 
34538 \backslash
34539 fboxsep 1mm
34540 \end_layout
34541
34542 \end_inset
34543
34544
34545 \begin_inset ERT
34546 status collapsed
34547
34548 \begin_layout Plain Layout
34549
34550
34551 \backslash
34552 fcolorbox{cyan}{magenta}{
34553 \end_layout
34554
34555 \end_inset
34556
34557 This is text within a colored, framed box.
34558 \begin_inset ERT
34559 status collapsed
34560
34561 \begin_layout Plain Layout
34562
34563 }
34564 \end_layout
34565
34566 \end_inset
34567
34568
34569 \end_layout
34570
34571 \end_inset
34572
34573
34574 \end_layout
34575
34576 \begin_layout Standard
34577 \begin_inset VSpace medskip
34578 \end_inset
34579
34580
34581 \end_layout
34582
34583 \begin_layout Standard
34584 If \SpecialChar LyX
34585  does not show a preview, make sure that you enabled previews as described
34586  above and also make sure that \SpecialChar TeX
34587  Code in the preview inset is valid and that
34588  you loaded the \SpecialChar LaTeX
34589  packages in your document preamble that are required by
34590  the \SpecialChar TeX
34591  Code.
34592  If \SpecialChar LyX
34593  cannot create a preview, you will in most cases also not be able to
34594  view your document due to \SpecialChar LaTeX
34595  errors.
34596  So if you have to use some \SpecialChar TeX
34597  Code and don't know if it is correct, the preview
34598  inset is a nice method to check it without the need to view the whole document.
34599 \end_layout
34600
34601 \begin_layout Subsection
34602 \SpecialChar LaTeX
34603  source code
34604 \end_layout
34605
34606 \begin_layout Standard
34607 You can preview the \SpecialChar LaTeX
34608  source of the whole document or parts of it.
34609  Use the menu 
34610 \family sans
34611 View\SpecialChar menuseparator
34612 Source
34613 \begin_inset space ~
34614 \end_inset
34615
34616 Pane
34617 \family default
34618  and a window will be shown where you can see the \SpecialChar LaTeX
34619 -source code.
34620  The window shows the source of the whole paragraph in which the cursor
34621  currently sits.
34622  You can also select document parts in \SpecialChar LyX
34623 's main window, then only this selection
34624  (when it is more than one paragraph) is shown as source code.
34625  To view the whole document as source, enable the corresponding option in
34626  the source view window.
34627  If you check 
34628 \family sans
34629 Automatic update
34630 \family default
34631 , you can see the changes as you make them in \SpecialChar LyX
34632 ; but note that if you have
34633  several documents open, this will slow things down as \SpecialChar LyX
34634  updates them all,
34635  not just the one which is open at the time.
34636 \end_layout
34637
34638 \begin_layout Section
34639 Advanced Find and Replace
34640 \begin_inset CommandInset label
34641 LatexCommand label
34642 name "sec:Advanced-Find-and"
34643
34644 \end_inset
34645
34646
34647 \begin_inset Index idx
34648 status collapsed
34649
34650 \begin_layout Plain Layout
34651 Replace
34652 \end_layout
34653
34654 \end_inset
34655
34656
34657 \begin_inset Index idx
34658 status collapsed
34659
34660 \begin_layout Plain Layout
34661 Find
34662 \end_layout
34663
34664 \end_inset
34665
34666
34667 \end_layout
34668
34669 \begin_layout Subsection
34670 Introduction
34671 \end_layout
34672
34673 \begin_layout Standard
34674 The advanced find and replace feature of \SpecialChar LyX
34675  allows for searching of complex,
34676  format-sensitive text segments and mathematics contents within \SpecialChar LyX
34677  documents.
34678  It is an enhancement of the standard (quick) find and replace feature.
34679  The key-features are:
34680 \end_layout
34681
34682 \begin_layout Itemize
34683 Both searching of text and of mathematical formulas is allowed, where the
34684  latter is done by entering mathematics in the usual way; not only entire
34685  mathematical formulas are found, but also parts occurring within more complex
34686  formulas
34687 \end_layout
34688
34689 \begin_layout Itemize
34690 Search may be format-insensitive, so that the searched text is found in
34691  any context/style (standard text, section headings, notes, and even mathematics
34692 ), or it may be format-sensitive, so that, for example, a word entered with
34693  a section heading will only be found within section headings
34694 \end_layout
34695
34696 \begin_layout Itemize
34697 Search may be restricted to mathematics environments only; this is useful
34698  for remangling math notation where one does not want to match any text
34699  outside of mathematics environments
34700 \end_layout
34701
34702 \begin_layout Itemize
34703 Search may be widened to a specific 
34704 \emph on
34705 scope
34706 \emph default
34707 , i.
34708 \begin_inset space \thinspace{}
34709 \end_inset
34710
34711 e.
34712 \begin_inset space ~
34713 \end_inset
34714
34715 a set of files which may be all the children of the document being edited,
34716  all the open files, or all the manuals available from the 
34717 \family sans
34718 Help
34719 \family default
34720  menu
34721 \end_layout
34722
34723 \begin_layout Itemize
34724 Replace may optionally preserve capitalization, so that the replaced text
34725  capitalization is adapted to the matching text (i.
34726 \begin_inset space \thinspace{}
34727 \end_inset
34728
34729 e.
34730 \begin_inset space ~
34731 \end_inset
34732
34733 all lowercase, all uppercase, first letter uppercase followed by lowercase)
34734 \end_layout
34735
34736 \begin_layout Subsection
34737 Basic usage
34738 \end_layout
34739
34740 \begin_layout Standard
34741 The advanced find and replace feature is activated through the menu 
34742 \family sans
34743 Edit\SpecialChar menuseparator
34744 Find & Replace
34745 \noun on
34746  (
34747 \noun default
34748 Advanced
34749 \noun on
34750 )
34751 \family default
34752 \noun default
34753  (shortcut 
34754 \begin_inset Info
34755 type  "shortcut"
34756 arg   "dialog-show findreplaceadv"
34757 \end_inset
34758
34759 ) or the toolbar button 
34760 \begin_inset Info
34761 type  "icon"
34762 arg   "dialog-toggle findreplaceadv"
34763 \end_inset
34764
34765 .
34766  This opens the 
34767 \family sans
34768 Advanced Find and Replace
34769 \family default
34770  dialog.
34771 \end_layout
34772
34773 \begin_layout Subsubsection
34774 Searching for text
34775 \end_layout
34776
34777 \begin_layout Standard
34778 Enter into the 
34779 \family sans
34780 Find
34781 \family default
34782  \SpecialChar LyX
34783  mini-editor a simple word, and search for occurrences of it by clicking
34784  on the 
34785 \family sans
34786 Find
34787 \begin_inset space ~
34788 \end_inset
34789
34790 Next
34791 \family default
34792  button at the bottom of the dialog (or just press the 
34793 \begin_inset Info
34794 type  "shortcut"
34795 arg   "paragraph-break"
34796 \end_inset
34797
34798  key).
34799  The entered word is found both in text mode and in math mode, and in emphasized
34800 , bold or normal face, and in both in section titles and in standard text.
34801  Pressing 
34802 \begin_inset Info
34803 type  "shortcut"
34804 arg   "paragraph-break"
34805 \end_inset
34806
34807  repeatedly keeps searching forward while pressing 
34808 \family sans
34809 Shift+Return
34810 \family default
34811  searches backwards.
34812 \end_layout
34813
34814 \begin_layout Standard
34815 The 
34816 \family sans
34817 Case
34818 \begin_inset space ~
34819 \end_inset
34820
34821 sensitive
34822 \family default
34823  option allows matches to occur only with the same case as entered in the
34824  
34825 \family sans
34826 Find
34827 \family default
34828  editor.
34829  The 
34830 \family sans
34831 Whole
34832 \begin_inset space ~
34833 \end_inset
34834
34835 words
34836 \family default
34837  option allows matches to occur only at word boundaries.
34838 \end_layout
34839
34840 \begin_layout Subsubsection
34841 Searching for mathematics
34842 \end_layout
34843
34844 \begin_layout Standard
34845 Mathematical formulas, such as 
34846 \begin_inset Formula $x^{2}$
34847 \end_inset
34848
34849  or something more complex like 
34850 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
34851 \end_inset
34852
34853 , may be searched for by typing them in the 
34854 \family sans
34855 Find
34856 \family default
34857  editor.
34858  When searching for a formula, it is found both when it is alone and when
34859  it occurs in sub-formulas and nested parts of sub-formulas.
34860  For example the mentioned segments would be found in something like 
34861 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
34862 \end_inset
34863
34864 .
34865 \end_layout
34866
34867 \begin_layout Subsubsection
34868 Style-aware search
34869 \end_layout
34870
34871 \begin_layout Standard
34872 It is also possible to search for text with specific styles.
34873  This is done by switching to the 
34874 \family sans
34875 Settings
34876 \family default
34877  tab of the dialog and unchecking the 
34878 \family sans
34879 Ignore format
34880 \family default
34881  option.
34882  This way, entering in the 
34883 \family sans
34884 Find
34885 \family default
34886  editor
34887 \end_layout
34888
34889 \begin_layout Itemize
34890 a normal word and searching for it would not find instances of the word
34891  occurring in emphasized or boldface.
34892 \end_layout
34893
34894 \begin_layout Itemize
34895 an emphasized or boldface word and searching for it would find the respective
34896  instances with the same face only, and within the same text style only.
34897 \end_layout
34898
34899 \begin_layout Itemize
34900 a normal word in a section heading, and searching for it, would find occurrences
34901  of it only within section headings.
34902  Also, if the text to search is given an emphasized or bold face, in addition
34903  to a section style, then it is found only when occurring with the same
34904  style.
34905 \end_layout
34906
34907 \begin_layout Itemize
34908 a displayed formula will only find instances of this formula that are also
34909  displayed formulas (and not inline formulas).
34910 \end_layout
34911
34912 \begin_layout Subsubsection
34913 Replace
34914 \end_layout
34915
34916 \begin_layout Standard
34917 The entries made in the 
34918 \family sans
34919 Find
34920 \family default
34921  editor can be replaced with entries made in the 
34922 \family sans
34923 Replace
34924 \begin_inset space ~
34925 \end_inset
34926
34927 with
34928 \family default
34929  editor.
34930  In order to find the next occurrence and replace it, click on the 
34931 \family sans
34932 Replace
34933 \family default
34934  button or alternatively press 
34935 \begin_inset Info
34936 type  "shortcut"
34937 arg   "paragraph-break"
34938 \end_inset
34939
34940  or 
34941 \family sans
34942 Shift+Return
34943 \family default
34944  while the cursor is in the 
34945 \family sans
34946 Replace
34947 \begin_inset space ~
34948 \end_inset
34949
34950 with
34951 \family default
34952  editor.
34953 \end_layout
34954
34955 \begin_layout Standard
34956 You can replace with fully-featured formatted \SpecialChar LyX
34957  entries.
34958  Typical scenarios in which to use this capability might be (just to mention
34959  two):
34960 \end_layout
34961
34962 \begin_layout Itemize
34963 replacing occurrences of a word with a customized formatted version of the
34964  same word, for example replacing occurrences of a name like 
34965 \begin_inset Quotes eld
34966 \end_inset
34967
34968 func()
34969 \begin_inset Quotes erd
34970 \end_inset
34971
34972  with its typewriter version 
34973 \begin_inset Quotes eld
34974 \end_inset
34975
34976
34977 \family typewriter
34978 func()
34979 \family default
34980
34981 \begin_inset Quotes erd
34982 \end_inset
34983
34984
34985 \end_layout
34986
34987 \begin_layout Itemize
34988 performing a notation rework of mathematical symbols, for example replacing
34989  occurrences of 
34990 \begin_inset Quotes eld
34991 \end_inset
34992
34993
34994 \begin_inset Formula $R$
34995 \end_inset
34996
34997
34998 \begin_inset Quotes erd
34999 \end_inset
35000
35001  with 
35002 \begin_inset Quotes eld
35003 \end_inset
35004
35005
35006 \begin_inset Formula $\mathbb{R}$
35007 \end_inset
35008
35009
35010 \begin_inset Quotes erd
35011 \end_inset
35012
35013  (you may want to enable the 
35014 \family sans
35015 Whole
35016 \begin_inset space ~
35017 \end_inset
35018
35019 words
35020 \family default
35021  and 
35022 \family sans
35023 Case
35024 \begin_inset space ~
35025 \end_inset
35026
35027 sensitive
35028 \family default
35029  options and disable the 
35030 \family sans
35031 Ignore format
35032 \family default
35033  option in the 
35034 \family sans
35035 Settings
35036 \family default
35037  tab, in order to avoid replacing all 
35038 \begin_inset Quotes eld
35039 \end_inset
35040
35041 R
35042 \begin_inset Quotes erd
35043 \end_inset
35044
35045  letters occurring in normal text), or occurrences of 
35046 \begin_inset Formula $x_{j}^{i}$
35047 \end_inset
35048
35049  with 
35050 \begin_inset Formula $x_{i,\,j}$
35051 \end_inset
35052
35053 , or occurrences of 
35054 \begin_inset Formula $x[k]$
35055 \end_inset
35056
35057  with 
35058 \begin_inset Formula $x_{k}$
35059 \end_inset
35060
35061 .
35062 \end_layout
35063
35064 \begin_layout Subsection
35065 Advanced usage
35066 \end_layout
35067
35068 \begin_layout Standard
35069 There is a regular expression (regexp) based searching facility.
35070 \begin_inset Foot
35071 status collapsed
35072
35073 \begin_layout Plain Layout
35074 A good explanation of regular expressions is given in this Wikipedia entry:
35075  
35076 \begin_inset CommandInset href
35077 LatexCommand href
35078 target "http://en.wikipedia.org/wiki/Regular_expression"
35079 literal "false"
35080
35081 \end_inset
35082
35083 .
35084 \end_layout
35085
35086 \end_inset
35087
35088  You can search for a regular expression by inserting a regexp inset into
35089  the 
35090 \family sans
35091 Find
35092 \family default
35093  editor.
35094  This is done with the context menu 
35095 \family sans
35096 Insert\SpecialChar menuseparator
35097 Insert Regular Expression
35098 \family default
35099  while the cursor is in the 
35100 \family sans
35101 Find
35102 \family default
35103  editor.
35104  Characters entered within regexp insets are matched according to the regular
35105  expression matching rules
35106 \begin_inset Foot
35107 status collapsed
35108
35109 \begin_layout Plain Layout
35110 Under the constraint that any (sub)expression must match a well-formed \SpecialChar LyX
35111
35112  segment, i.
35113 \begin_inset space \thinspace{}
35114 \end_inset
35115
35116 e.
35117 \begin_inset space ~
35118 \end_inset
35119
35120 when matching \SpecialChar LaTeX
35121  code, no segments with unbalanced {} braces are allowed to
35122  match expressions.
35123 \end_layout
35124
35125 \end_inset
35126
35127 , while text entered outside regexp insets is matched exactly against the
35128  same text in the document.
35129  You can cut and paste regexp-mode insets.
35130  Examples of using such a feature may be:
35131 \end_layout
35132
35133 \begin_layout Enumerate
35134 Searching for all fractions with a given denominator: for example, entering
35135  in the 
35136 \family sans
35137 Find
35138 \family default
35139  editor the fraction 
35140 \begin_inset Formula $\frac{.*}{1+x^{2}}$
35141 \end_inset
35142
35143  (where the 
35144 \begin_inset Formula $.*$
35145 \end_inset
35146
35147  on the numerator is the match-everything regular expression) finds all
35148  fractions with the given denominator.
35149 \end_layout
35150
35151 \begin_layout Enumerate
35152 Searching for all text with a given style: for example, after unchecking
35153  the 
35154 \family sans
35155 Ignore format
35156 \family default
35157  option from the 
35158 \family sans
35159 Settings
35160 \family default
35161  tab, entering a 
35162 \series bold
35163
35164 \begin_inset Formula $.*$
35165 \end_inset
35166
35167
35168 \series default
35169  regular expression and giving it an emphasized or bold face, finds all
35170  emphasized or bold face text respectively.
35171  Also, by inserting a 
35172 \begin_inset Formula $.*$
35173 \end_inset
35174
35175  regular expression in a bullet or enumerated list or a section heading,
35176  you can find all bullet or enumerated lists or section headings.
35177 \end_layout
35178
35179 \begin_layout Standard
35180 Finally, references to (sub)expressions in regexp may be used as usual:
35181  Enclosing parts of the expression within round braces 
35182 \begin_inset Formula $()$
35183 \end_inset
35184
35185 , and referring back to them through 
35186 \begin_inset Formula $\backslash1$
35187 \end_inset
35188
35189
35190 \begin_inset Formula $\backslash2$
35191 \end_inset
35192
35193 , etc..
35194  For example, try searching with the regexp
35195 \begin_inset Newline newline
35196 \end_inset
35197
35198 [[:space:]]([[:alpha:]]+)[[:space:]]
35199 \backslash
35200 1[[:space:]]
35201 \begin_inset Newline newline
35202 \end_inset
35203
35204 in order to find word repetitions, if there are any.
35205 \end_layout
35206
35207 \begin_layout Standard
35208 The usage of back references in the replaced text is not (yet) implemented.
35209 \end_layout
35210
35211 \begin_layout Standard
35212 \begin_inset Note Greyedout
35213 status open
35214
35215 \begin_layout Plain Layout
35216
35217 \series bold
35218 Note:
35219 \series default
35220  Back references work both when occurring within the same regexp, and when
35221  occurring in multiple different regexps, where the numbering of back-referenced
35222  sub-expressions is absolute.
35223  That is,
35224 \begin_inset space ~
35225 \end_inset
35226
35227
35228 \begin_inset Formula $\backslash1$
35229 \end_inset
35230
35231  always refers to the first occurrence of 
35232 \begin_inset Formula $()$
35233 \end_inset
35234
35235  in all entered regexps.
35236 \end_layout
35237
35238 \end_inset
35239
35240
35241 \end_layout
35242
35243 \begin_layout Section
35244 Spell Checking
35245 \begin_inset CommandInset label
35246 LatexCommand label
35247 name "sec:Spellchecking"
35248
35249 \end_inset
35250
35251
35252 \begin_inset Index idx
35253 status collapsed
35254
35255 \begin_layout Plain Layout
35256 Spell checking
35257 \end_layout
35258
35259 \end_inset
35260
35261
35262 \end_layout
35263
35264 \begin_layout Standard
35265 \SpecialChar LyX
35266  has a built-in spell checker.
35267  The menu
35268 \family sans
35269  Tools\SpecialChar menuseparator
35270 Spellchecker
35271 \family default
35272 , the 
35273 \family sans
35274 F7
35275 \family default
35276  key or the toolbar button 
35277 \begin_inset Info
35278 type  "icon"
35279 arg   "dialog-show spellchecker"
35280 \end_inset
35281
35282  start the spell checking from either the current cursor position or the
35283  beginning of the currently selected text.
35284  A sidebar will appear showing any incorrect (or unknown) word found, allowing
35285  you to edit and replace it in a second line.
35286  Whenever an unknown word is found, the word is highlighted and the text
35287  scrolled so that it is visible.
35288  In the spellchecker sidebar, there is a box showing suggestions for a correctio
35289 n, if any could be found.
35290  Clicking on one of the corrections will copy it to the 
35291 \family sans
35292 Replacement
35293 \family default
35294  field, double-clicking directly invokes the replacement.
35295  Unknown but correctly typed words can be added to the personal dictionary.
35296 \end_layout
35297
35298 \begin_layout Standard
35299 By default, the dictionary file used is determined by the document language
35300  that is set in the 
35301 \family sans
35302 Document\SpecialChar menuseparator
35303 Settings
35304 \family default
35305  dialog.
35306  You can specify the language of a word in the spellchecker dialog by choosing
35307  a different one at the top of the dialog.
35308  \SpecialChar LyX
35309  can correctly spell check documents containing multiple languages.
35310  This works if you have set the language of the text parts using the 
35311 \family sans
35312 Text
35313 \begin_inset space ~
35314 \end_inset
35315
35316 Style
35317 \family default
35318  dialog (
35319 \begin_inset Info
35320 type  "icon"
35321 arg   "dialog-show character"
35322 \end_inset
35323
35324 ) and have the spell checker dictionaries installed.
35325  \SpecialChar LyX
35326  automatically switches to the appropriate dictionary file.
35327 \end_layout
35328
35329 \begin_layout Standard
35330 All spell-checker dictionaries supported by \SpecialChar LyX
35331  can be downloaded from here:
35332 \begin_inset Newline newline
35333 \end_inset
35334
35335
35336 \begin_inset Flex URL
35337 status collapsed
35338
35339 \begin_layout Plain Layout
35340
35341 http://sourceforge.net/projects/lyxwininstaller/files/hunspell/
35342 \end_layout
35343
35344 \end_inset
35345
35346
35347 \begin_inset Newline newline
35348 \end_inset
35349
35350 There are 2
35351 \begin_inset space ~
35352 \end_inset
35353
35354 files for each language.
35355  To install a dictionary on Windows, copy the 2
35356 \begin_inset space ~
35357 \end_inset
35358
35359 files into \SpecialChar LyX
35360 's installation subfolder 
35361 \family sans
35362 ~
35363 \backslash
35364 Resources
35365 \backslash
35366 dicts
35367 \family default
35368  and restart \SpecialChar LyX
35369 .
35370 \begin_inset Newline newline
35371 \end_inset
35372
35373 With Linux one needs to install the packages for the desired language.
35374  The number of these packages vary depending on the Linux distribution,
35375  but in most cases these are 
35376 \family typewriter
35377 aspell-xx
35378 \family default
35379
35380 \family typewriter
35381 hunspell-xx
35382 \family default
35383 ,
35384 \family typewriter
35385  myspell-xx
35386 \family default
35387 , etc., where 
35388 \family sans
35389 xx
35390 \family default
35391  is the language code.
35392 \end_layout
35393
35394 \begin_layout Subsection
35395 Further Settings
35396 \end_layout
35397
35398 \begin_layout Standard
35399 In the menu 
35400 \family sans
35401 Tools\SpecialChar menuseparator
35402 Preferences\SpecialChar menuseparator
35403 Language
35404 \begin_inset space ~
35405 \end_inset
35406
35407 Settings\SpecialChar menuseparator
35408 Spellchecker
35409 \family default
35410  you can set the following things:
35411 \end_layout
35412
35413 \begin_layout Description
35414 Spellchecker
35415 \begin_inset space ~
35416 \end_inset
35417
35418 engine Select the library \SpecialChar LyX
35419  should use for spell checking.
35420  Depending on your platform, 
35421 \family typewriter
35422 aspell
35423 \family default
35424
35425 \family typewriter
35426 hunspell
35427 \family default
35428  or 
35429 \family typewriter
35430 enchant
35431 \begin_inset Foot
35432 status collapsed
35433
35434 \begin_layout Plain Layout
35435 Enchant itself is a wrapper library having different configurable back-ends.
35436  Please consult the documentation or man-page of it to learn more.
35437 \end_layout
35438
35439 \end_inset
35440
35441
35442 \family default
35443  are available.
35444  On Windows only 
35445 \family typewriter
35446 hunspell
35447 \family default
35448  is available.
35449  \SpecialChar LyX
35450  on Mac
35451 \begin_inset space ~
35452 \end_inset
35453
35454 OS can also use Mac's own spellchecker and will use it by default.
35455 \end_layout
35456
35457 \begin_layout Description
35458 Alternative
35459 \begin_inset space ~
35460 \end_inset
35461
35462 language If this field is not empty, \SpecialChar LyX
35463  will always use the given language
35464  for the spell checking, no matter what the document language is.
35465 \end_layout
35466
35467 \begin_layout Description
35468 Escape
35469 \begin_inset space ~
35470 \end_inset
35471
35472 characters Allows you to add non-standard characters that the spell checker
35473  should escape, e.
35474 \begin_inset space \thinspace{}
35475 \end_inset
35476
35477 g.
35478 \begin_inset space \space{}
35479 \end_inset
35480
35481 German umlauts.
35482  This should normally not be needed.
35483 \end_layout
35484
35485 \begin_layout Description
35486 Accept
35487 \begin_inset space ~
35488 \end_inset
35489
35490 compound
35491 \begin_inset space ~
35492 \end_inset
35493
35494 words Prevents the spell checker from complaining about compounded words
35495  like 
35496 \begin_inset Quotes eld
35497 \end_inset
35498
35499 passthrough
35500 \begin_inset Quotes erd
35501 \end_inset
35502
35503 .
35504 \end_layout
35505
35506 \begin_layout Description
35507 Spellcheck
35508 \begin_inset space ~
35509 \end_inset
35510
35511 continuously Checks the spelling of your document as you type it.
35512  Misspelled words get underlined with a dotted red line.
35513  By right-clicking on an underlined word, suggestions from the spellchecker
35514  appear in a context menu.
35515  Choosing one of them will replace the misspelled word with the suggested
35516  word.
35517 \end_layout
35518
35519 \begin_layout Description
35520 Spellcheck
35521 \begin_inset space ~
35522 \end_inset
35523
35524 notes
35525 \begin_inset space ~
35526 \end_inset
35527
35528 and
35529 \begin_inset space ~
35530 \end_inset
35531
35532 comments If enabled, the spelling of non-printed document content is checked
35533  as well.
35534 \end_layout
35535
35536 \begin_layout Section
35537 Thesaurus
35538 \begin_inset Index idx
35539 status collapsed
35540
35541 \begin_layout Plain Layout
35542 Thesaurus
35543 \end_layout
35544
35545 \end_inset
35546
35547
35548 \begin_inset CommandInset label
35549 LatexCommand label
35550 name "sec:Thesaurus"
35551
35552 \end_inset
35553
35554
35555 \end_layout
35556
35557 \begin_layout Standard
35558 \SpecialChar LyX
35559  provides a multilingual thesaurus.
35560  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
35561  (namely the 
35562 \family sans
35563 MyThes
35564 \family default
35565
35566 \begin_inset Foot
35567 status collapsed
35568
35569 \begin_layout Plain Layout
35570 \begin_inset CommandInset href
35571 LatexCommand href
35572 target "http://lingucomponent.openoffice.org/thesaurus.html"
35573 literal "false"
35574
35575 \end_inset
35576
35577
35578 \end_layout
35579
35580 \end_inset
35581
35582  thesaurus library, which is included in \SpecialChar LyX
35583 ).
35584  Therefore, \SpecialChar LyX
35585  is able to directly access OpenOffice thesaurus dictionaries,
35586  which are available for many languages.
35587 \end_layout
35588
35589 \begin_layout Standard
35590 This section describes how new dictionaries are installed and set up for
35591  the use with \SpecialChar LyX
35592 .
35593 \end_layout
35594
35595 \begin_layout Subsection
35596 Setting up the thesaurus
35597 \end_layout
35598
35599 \begin_layout Standard
35600 The 
35601 \family sans
35602 MyThes
35603 \emph on
35604 /
35605 \emph default
35606 OpenOffice
35607 \family default
35608  thesauri consist of two files per language: A file with the suffix 
35609 \emph on
35610 *.dat
35611 \emph default
35612  containing the data and an index file with the suffix 
35613 \emph on
35614 *.idx
35615 \emph default
35616 .
35617  The standardized file names include the language code for the given language
35618  (e.
35619 \begin_inset space \thinspace{}
35620 \end_inset
35621
35622 g.
35623 \begin_inset space ~
35624 \end_inset
35625
35626
35627 \family sans
35628 en_US
35629 \family default
35630  for US English).
35631  For instance, the US English files are named:
35632 \end_layout
35633
35634 \begin_layout Itemize
35635 th_en_EN_v2.idx
35636 \end_layout
35637
35638 \begin_layout Itemize
35639 th_en_EN_v2.dat
35640 \end_layout
35641
35642 \begin_layout Standard
35643 If you have 
35644 \family sans
35645 LibreOffice
35646 \family default
35647  or 
35648 \family sans
35649 OpenOffice
35650 \family default
35651  and its thesaurus installed, these files should be already on your system
35652  and you just need to point \SpecialChar LyX
35653  (in 
35654 \family sans
35655 Tools\SpecialChar menuseparator
35656 Preferences\SpecialChar menuseparator
35657 Paths\SpecialChar menuseparator
35658 Thesaurus
35659 \begin_inset space ~
35660 \end_inset
35661
35662 dictionaries
35663 \family default
35664 ) to the path where they are installed.
35665 \begin_inset Foot
35666 status collapsed
35667
35668 \begin_layout Plain Layout
35669 On Linux, depending on your distribution and the way you installed the dictionar
35670 ies, typical locations are 
35671 \family typewriter
35672 /usr/share/mythes/
35673 \family default
35674
35675 \family typewriter
35676 /usr/share/myspell/dicts/
35677 \family default
35678
35679 \family typewriter
35680 /usr/share/ooo/thesaurus/
35681 \family default
35682 ,
35683 \family typewriter
35684  ~/.config/libreoffice/<version>/user/
35685 \family default
35686  or alike.
35687  On Windows, dictionaries are to be found at 
35688 \family typewriter
35689 ~
35690 \backslash
35691 Program Files
35692 \backslash
35693 LibreOffice-<Version>
35694 \backslash
35695 share
35696 \backslash
35697 extensions 
35698 \family default
35699 or similar.
35700  On the Mac, the default location is 
35701 \family typewriter
35702 /Users\SpecialChar breakableslash
35703 <user name>\SpecialChar breakableslash
35704 Library\SpecialChar breakableslash
35705 Application Support\SpecialChar breakableslash
35706 libreoffice\SpecialChar breakableslash
35707 <version>\SpecialChar breakableslash
35708 user
35709 \family default
35710 /.
35711 \end_layout
35712
35713 \end_inset
35714
35715  On Windows, you can alternatively also select dictionaries for installation
35716  during the \SpecialChar LyX
35717  installation process, which will then be installed in the correct
35718  place right away.
35719 \end_layout
35720
35721 \begin_layout Standard
35722 If you want to install new\SpecialChar breakableslash
35723 further thesaurus dictionaries, you can downloaded
35724  them from here:
35725 \end_layout
35726
35727 \begin_layout Itemize
35728 \begin_inset Flex URL
35729 status open
35730
35731 \begin_layout Plain Layout
35732
35733 http://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk/thes/
35734 \end_layout
35735
35736 \end_inset
35737
35738
35739 \end_layout
35740
35741 \begin_layout Standard
35742 To install a new dictionary, download the two files for this dictionary
35743  into the thesaurus path (which is set in 
35744 \family sans
35745 Tools\SpecialChar menuseparator
35746 Preferences\SpecialChar menuseparator
35747 Paths\SpecialChar menuseparator
35748 Thesaurus
35749 \begin_inset space ~
35750 \end_inset
35751
35752 dictionaries
35753 \family default
35754 ) and restart \SpecialChar LyX
35755 .
35756  If this path is not defined yet, you can use a dictionary of your choice
35757  and point \SpecialChar LyX
35758  there.
35759 \end_layout
35760
35761 \begin_layout Standard
35762 Alternatively, you can also install new dictionaries via 
35763 \family sans
35764 LibreOffice\SpecialChar breakableslash
35765 OpenOffice
35766 \family default
35767  or, on Linux, via your package manager (look for 
35768 \emph on
35769 mythes-*
35770 \emph default
35771  or 
35772 \emph on
35773 libreoffice-thesaurus-*
35774 \emph default
35775  packages).
35776  If you do this, make sure that \SpecialChar LyX
35777  is able to find the installed dictionaries,
35778  i.
35779 \begin_inset space \thinspace{}
35780 \end_inset
35781
35782 e.
35783  that 
35784 \family sans
35785 Tools\SpecialChar menuseparator
35786 Preferences\SpecialChar menuseparator
35787 Paths\SpecialChar menuseparator
35788 Thesaurus
35789 \begin_inset space ~
35790 \end_inset
35791
35792 dictionaries
35793 \family default
35794  points to the path where you installed these dictionaries.
35795 \end_layout
35796
35797 \begin_layout Subsection
35798 Using the thesaurus
35799 \end_layout
35800
35801 \begin_layout Standard
35802 To start the thesaurus, use the menu 
35803 \family sans
35804 Tools\SpecialChar menuseparator
35805 Thesaurus
35806 \family default
35807  or the toolbar button 
35808 \begin_inset Info
35809 type  "icon"
35810 arg   "thesaurus-entry"
35811 \end_inset
35812
35813  while the cursor is at the word you want to look up or while a word is
35814  selected.
35815  A dialog pops up showing you probably related words that you can use as
35816  a replacement.
35817  The suggestions are grouped into categories.
35818  Note that, for some languages (such as English), the thesaurus does not
35819  only show equivalent words (synonyms), but also generic terms (such as
35820  
35821 \emph on
35822 organism
35823 \emph default
35824  for 
35825 \emph on
35826 plant
35827 \emph default
35828 ), related terms (such as 
35829 \emph on
35830 political
35831 \begin_inset space ~
35832 \end_inset
35833
35834 theory
35835 \emph default
35836  for 
35837 \emph on
35838 anarchistic
35839 \emph default
35840 ), compounds (such as 
35841 \emph on
35842 tree
35843 \begin_inset space ~
35844 \end_inset
35845
35846 diagram
35847 \emph default
35848 , if you look for 
35849 \emph on
35850 tree
35851 \emph default
35852 ) and opposites (antonyms) (such as 
35853 \emph on
35854 girl
35855 \emph default
35856  for 
35857 \emph on
35858 boy
35859 \emph default
35860 ).
35861  Generic terms, related terms and antonyms are marked as such.
35862 \end_layout
35863
35864 \begin_layout Standard
35865 The language is automatically chosen from the language at the cursor, but
35866  you can also switch it in the dialog, as you can enter new words to look
35867  up directly there.
35868 \end_layout
35869
35870 \begin_layout Standard
35871 Note that the thesaurus cannot handle phrases (only compounds that are in
35872  the dictionary, such as the above 
35873 \emph on
35874 tree diagram
35875 \emph default
35876 ), and you have to use the so called lemma form, i.
35877 \begin_inset space \thinspace{}
35878 \end_inset
35879
35880 e.
35881 \begin_inset space \space{}
35882 \end_inset
35883
35884 the form that is used in the dictionaries (for many languages: first person
35885  singular indicative active for nouns, infinitive for verbs).
35886  For example, looking up the word form 
35887 \emph on
35888 reporting
35889 \emph default
35890  yields no results, while results are shown for the word form 
35891 \emph on
35892 report
35893 \emph default
35894 .
35895  Your best bet is to highlight only the relevant part of such a word (e.
35896 \begin_inset space \thinspace{}
35897 \end_inset
35898
35899 g.
35900 \begin_inset space \space{}
35901 \end_inset
35902
35903
35904 \emph on
35905 report
35906 \emph default
35907  in 
35908 \emph on
35909 report
35910 \emph default
35911 s); then you will get suggestions without needing to adjust the query in
35912  the dialog, and also the replacement will probably be correct (as only
35913  the highlighted part will be replaced; thus the ending remains).
35914 \end_layout
35915
35916 \begin_layout Section
35917 Change Tracking
35918 \begin_inset Index idx
35919 status collapsed
35920
35921 \begin_layout Plain Layout
35922 Change Tracking
35923 \end_layout
35924
35925 \end_inset
35926
35927
35928 \begin_inset Index idx
35929 status collapsed
35930
35931 \begin_layout Plain Layout
35932 Document ! Change Tracking
35933 \end_layout
35934
35935 \end_inset
35936
35937
35938 \begin_inset CommandInset label
35939 LatexCommand label
35940 name "sec:Change-Tracking"
35941
35942 \end_inset
35943
35944
35945 \end_layout
35946
35947 \begin_layout Standard
35948 When you work on a document collaboratively it is extremely useful to be
35949  able to see changes that others have made highlighted in the document.
35950  You can then decide if you want to accept a change or not.
35951  This can be achieved by turning on change tracking in the menu 
35952 \family sans
35953 Document\SpecialChar menuseparator
35954 Change
35955 \begin_inset space ~
35956 \end_inset
35957
35958 Tracking\SpecialChar menuseparator
35959 Track
35960 \begin_inset space ~
35961 \end_inset
35962
35963 Changes
35964 \family default
35965 .
35966 \end_layout
35967
35968 \begin_layout Standard
35969 Changes made in the document will then be highlighted by strokes and colors:
35970  
35971 \bar under
35972 \color blue
35973 underlined text
35974 \bar default
35975 \color inherit
35976  is an addition, 
35977 \strikeout on
35978 \color blue
35979 canceled text
35980 \strikeout default
35981 \color inherit
35982  is a deletion.
35983  The color depends on the author that made the change.
35984  You can change the color in 
35985 \family sans
35986 Tools\SpecialChar menuseparator
35987 Preferences\SpecialChar menuseparator
35988 Look
35989 \begin_inset space ~
35990 \end_inset
35991
35992 &
35993 \begin_inset space ~
35994 \end_inset
35995
35996 feel
35997 \family default
35998 \SpecialChar menuseparator
35999
36000 \family sans
36001 Colors
36002 \family default
36003 .
36004 \begin_inset Index idx
36005 status collapsed
36006
36007 \begin_layout Plain Layout
36008 Color ! Change tracking
36009 \end_layout
36010
36011 \end_inset
36012
36013  The author and the date of the change are shown in \SpecialChar LyX
36014 's status bar when the
36015  cursor is in changed text.
36016  The same information is shown when you use the toolbar button 
36017 \begin_inset Info
36018 type  "icon"
36019 arg   "changes-merge"
36020 \end_inset
36021
36022 .
36023 \end_layout
36024
36025 \begin_layout Standard
36026 When change tracking is activated, you will see the review toolbar in \SpecialChar LyX
36027 :
36028 \begin_inset Index idx
36029 status collapsed
36030
36031 \begin_layout Plain Layout
36032 Toolbar ! Review
36033 \end_layout
36034
36035 \end_inset
36036
36037
36038 \end_layout
36039
36040 \begin_layout Standard
36041 \begin_inset VSpace defskip
36042 \end_inset
36043
36044
36045 \end_layout
36046
36047 \begin_layout Standard
36048 \begin_inset Graphics
36049         filename clipart/ChangesToolbar.png
36050         scale 90
36051
36052 \end_inset
36053
36054
36055 \end_layout
36056
36057 \begin_layout Standard
36058 \begin_inset VSpace defskip
36059 \end_inset
36060
36061
36062 \end_layout
36063
36064 \begin_layout Standard
36065 The review toolbar as shown above contains the following buttons:
36066 \end_layout
36067
36068 \begin_layout Standard
36069 \begin_inset VSpace defskip
36070 \end_inset
36071
36072
36073 \end_layout
36074
36075 \begin_layout Standard
36076 \begin_inset Tabular
36077 <lyxtabular version="3" rows="10" columns="2">
36078 <features islongtable="true" longtabularalignment="center">
36079 <column alignment="left" valignment="top">
36080 <column alignment="left" valignment="top">
36081 <row interlinespace="2.5mm">
36082 <cell alignment="center" valignment="top" usebox="none">
36083 \begin_inset Text
36084
36085 \begin_layout Plain Layout
36086
36087 \family sans
36088 \begin_inset Info
36089 type  "icon"
36090 arg   "changes-track"
36091 \end_inset
36092
36093
36094 \end_layout
36095
36096 \end_inset
36097 </cell>
36098 <cell alignment="center" valignment="top" usebox="none">
36099 \begin_inset Text
36100
36101 \begin_layout Plain Layout
36102
36103 \family sans
36104 Document\SpecialChar menuseparator
36105 Change
36106 \begin_inset space ~
36107 \end_inset
36108
36109 Tracking\SpecialChar menuseparator
36110 Track
36111 \begin_inset space ~
36112 \end_inset
36113
36114 Changes
36115 \end_layout
36116
36117 \end_inset
36118 </cell>
36119 </row>
36120 <row interlinespace="2.5mm">
36121 <cell alignment="center" valignment="top" usebox="none">
36122 \begin_inset Text
36123
36124 \begin_layout Plain Layout
36125
36126 \family sans
36127 \begin_inset Info
36128 type  "icon"
36129 arg   "changes-output"
36130 \end_inset
36131
36132
36133 \end_layout
36134
36135 \end_inset
36136 </cell>
36137 <cell alignment="center" valignment="top" usebox="none">
36138 \begin_inset Text
36139
36140 \begin_layout Plain Layout
36141
36142 \family sans
36143 Document\SpecialChar menuseparator
36144 Change
36145 \begin_inset space ~
36146 \end_inset
36147
36148 Tracking\SpecialChar menuseparator
36149 Show
36150 \begin_inset space ~
36151 \end_inset
36152
36153 Changes
36154 \begin_inset space ~
36155 \end_inset
36156
36157 in
36158 \begin_inset space ~
36159 \end_inset
36160
36161 Output
36162 \end_layout
36163
36164 \end_inset
36165 </cell>
36166 </row>
36167 <row interlinespace="2.5mm">
36168 <cell alignment="center" valignment="top" usebox="none">
36169 \begin_inset Text
36170
36171 \begin_layout Plain Layout
36172
36173 \family sans
36174 \begin_inset Info
36175 type  "icon"
36176 arg   "change-next"
36177 \end_inset
36178
36179
36180 \end_layout
36181
36182 \end_inset
36183 </cell>
36184 <cell alignment="center" valignment="top" usebox="none">
36185 \begin_inset Text
36186
36187 \begin_layout Plain Layout
36188 Jumps to the next change
36189 \end_layout
36190
36191 \end_inset
36192 </cell>
36193 </row>
36194 <row interlinespace="2.5mm">
36195 <cell alignment="center" valignment="top" usebox="none">
36196 \begin_inset Text
36197
36198 \begin_layout Plain Layout
36199
36200 \family sans
36201 \begin_inset Info
36202 type  "icon"
36203 arg   "change-accept"
36204 \end_inset
36205
36206
36207 \end_layout
36208
36209 \end_inset
36210 </cell>
36211 <cell alignment="center" valignment="top" usebox="none">
36212 \begin_inset Text
36213
36214 \begin_layout Plain Layout
36215
36216 \family sans
36217 Document\SpecialChar menuseparator
36218 Change
36219 \begin_inset space ~
36220 \end_inset
36221
36222 Tracking\SpecialChar menuseparator
36223 Accept
36224 \begin_inset space ~
36225 \end_inset
36226
36227 Change
36228 \end_layout
36229
36230 \end_inset
36231 </cell>
36232 </row>
36233 <row interlinespace="2.5mm">
36234 <cell alignment="center" valignment="top" usebox="none">
36235 \begin_inset Text
36236
36237 \begin_layout Plain Layout
36238
36239 \family sans
36240 \begin_inset Info
36241 type  "icon"
36242 arg   "change-reject"
36243 \end_inset
36244
36245
36246 \end_layout
36247
36248 \end_inset
36249 </cell>
36250 <cell alignment="center" valignment="top" usebox="none">
36251 \begin_inset Text
36252
36253 \begin_layout Plain Layout
36254
36255 \family sans
36256 Document\SpecialChar menuseparator
36257 Change
36258 \begin_inset space ~
36259 \end_inset
36260
36261 Tracking\SpecialChar menuseparator
36262 Reject
36263 \begin_inset space ~
36264 \end_inset
36265
36266 Change
36267 \end_layout
36268
36269 \end_inset
36270 </cell>
36271 </row>
36272 <row interlinespace="2.5mm">
36273 <cell alignment="center" valignment="top" usebox="none">
36274 \begin_inset Text
36275
36276 \begin_layout Plain Layout
36277
36278 \family sans
36279 \begin_inset Info
36280 type  "icon"
36281 arg   "changes-merge"
36282 \end_inset
36283
36284
36285 \end_layout
36286
36287 \end_inset
36288 </cell>
36289 <cell alignment="center" valignment="top" usebox="none">
36290 \begin_inset Text
36291
36292 \begin_layout Plain Layout
36293
36294 \family sans
36295 Document\SpecialChar menuseparator
36296 Change
36297 \begin_inset space ~
36298 \end_inset
36299
36300 Tracking\SpecialChar menuseparator
36301 Merge
36302 \begin_inset space ~
36303 \end_inset
36304
36305 Changes
36306 \end_layout
36307
36308 \end_inset
36309 </cell>
36310 </row>
36311 <row interlinespace="2.5mm">
36312 <cell alignment="center" valignment="top" usebox="none">
36313 \begin_inset Text
36314
36315 \begin_layout Plain Layout
36316
36317 \family sans
36318 \begin_inset Info
36319 type  "icon"
36320 arg   "all-changes-accept"
36321 \end_inset
36322
36323
36324 \end_layout
36325
36326 \end_inset
36327 </cell>
36328 <cell alignment="center" valignment="top" usebox="none">
36329 \begin_inset Text
36330
36331 \begin_layout Plain Layout
36332
36333 \family sans
36334 Document\SpecialChar menuseparator
36335 Change
36336 \begin_inset space ~
36337 \end_inset
36338
36339 Tracking\SpecialChar menuseparator
36340 Accept
36341 \begin_inset space ~
36342 \end_inset
36343
36344 All
36345 \begin_inset space ~
36346 \end_inset
36347
36348 Changes
36349 \end_layout
36350
36351 \end_inset
36352 </cell>
36353 </row>
36354 <row interlinespace="2.5mm">
36355 <cell alignment="center" valignment="top" usebox="none">
36356 \begin_inset Text
36357
36358 \begin_layout Plain Layout
36359
36360 \family sans
36361 \begin_inset Info
36362 type  "icon"
36363 arg   "all-changes-reject"
36364 \end_inset
36365
36366
36367 \end_layout
36368
36369 \end_inset
36370 </cell>
36371 <cell alignment="center" valignment="top" usebox="none">
36372 \begin_inset Text
36373
36374 \begin_layout Plain Layout
36375
36376 \family sans
36377 Document\SpecialChar menuseparator
36378 Change
36379 \begin_inset space ~
36380 \end_inset
36381
36382 Tracking\SpecialChar menuseparator
36383 Reject
36384 \begin_inset space ~
36385 \end_inset
36386
36387 All
36388 \begin_inset space ~
36389 \end_inset
36390
36391 Changes
36392 \end_layout
36393
36394 \end_inset
36395 </cell>
36396 </row>
36397 <row interlinespace="2.5mm">
36398 <cell alignment="center" valignment="top" usebox="none">
36399 \begin_inset Text
36400
36401 \begin_layout Plain Layout
36402
36403 \family sans
36404 \begin_inset Info
36405 type  "icon"
36406 arg   "note-insert"
36407 \end_inset
36408
36409
36410 \end_layout
36411
36412 \end_inset
36413 </cell>
36414 <cell alignment="center" valignment="top" usebox="none">
36415 \begin_inset Text
36416
36417 \begin_layout Plain Layout
36418
36419 \family sans
36420 Insert\SpecialChar menuseparator
36421 Note\SpecialChar menuseparator
36422 LyX
36423 \begin_inset space ~
36424 \end_inset
36425
36426 Note
36427 \end_layout
36428
36429 \end_inset
36430 </cell>
36431 </row>
36432 <row interlinespace="2.5mm">
36433 <cell alignment="center" valignment="top" usebox="none">
36434 \begin_inset Text
36435
36436 \begin_layout Plain Layout
36437
36438 \family sans
36439 \begin_inset Info
36440 type  "icon"
36441 arg   "note-next"
36442 \end_inset
36443
36444
36445 \end_layout
36446
36447 \end_inset
36448 </cell>
36449 <cell alignment="center" valignment="top" usebox="none">
36450 \begin_inset Text
36451
36452 \begin_layout Plain Layout
36453
36454 \family sans
36455 Navigate\SpecialChar menuseparator
36456 Next
36457 \begin_inset space ~
36458 \end_inset
36459
36460 Note
36461 \end_layout
36462
36463 \end_inset
36464 </cell>
36465 </row>
36466 </lyxtabular>
36467
36468 \end_inset
36469
36470
36471 \end_layout
36472
36473 \begin_layout Standard
36474 \begin_inset VSpace defskip
36475 \end_inset
36476
36477
36478 \end_layout
36479
36480 \begin_layout Standard
36481 Not all changes are (yet) visualized, especially no format changes like
36482  from 
36483 \emph on
36484 normal
36485 \emph default
36486  to 
36487 \emph on
36488 bold
36489 \emph default
36490  font or 
36491 \emph on
36492 Standard
36493 \emph default
36494  to 
36495 \emph on
36496 Description
36497 \emph default
36498  paragraph.
36499 \end_layout
36500
36501 \begin_layout Standard
36502 The review toolbar helps you to accept, reject, or merge changes – highlight
36503  the change and press one of the desired toolbar buttons.
36504  When you merge changes, a window pops up showing you information about
36505  the next change after the current cursor position.
36506  So you don't need to highlight a certain change.
36507  Within the merge window you can decide to accept or reject changes and
36508  step to the next change.
36509  This way you can jump through all the changes in the document.
36510 \end_layout
36511
36512 \begin_layout Standard
36513 The toolbar has two buttons to handle notes because notes are often important
36514  to describe a change.
36515 \end_layout
36516
36517 \begin_layout Standard
36518 To show the changes made in the output you need the \SpecialChar LaTeX
36519  package 
36520 \series bold
36521 dvipost
36522 \series default
36523
36524 \begin_inset Index idx
36525 status collapsed
36526
36527 \begin_layout Plain Layout
36528 \SpecialChar LaTeX
36529  packages ! dvipost
36530 \end_layout
36531
36532 \end_inset
36533
36534  installed.
36535  You will find it in the \SpecialChar TeX
36536  Catalogue, 
36537 \begin_inset CommandInset citation
36538 LatexCommand cite
36539 key "TeXCatalogue"
36540 literal "true"
36541
36542 \end_inset
36543
36544  or in the package manager of your \SpecialChar LaTeX
36545 -system.
36546 \end_layout
36547
36548 \begin_layout Section
36549 Comparison of Documents
36550 \begin_inset CommandInset label
36551 LatexCommand label
36552 name "sec:Comparison-of-Documents"
36553
36554 \end_inset
36555
36556
36557 \begin_inset Index idx
36558 status collapsed
36559
36560 \begin_layout Plain Layout
36561 Comparison of documents
36562 \end_layout
36563
36564 \end_inset
36565
36566
36567 \end_layout
36568
36569 \begin_layout Standard
36570 You can compare two different \SpecialChar LyX
36571  files via the menu 
36572 \family sans
36573 Tools\SpecialChar menuseparator
36574 Compare
36575 \family default
36576 .
36577  The comparison result is a \SpecialChar LyX
36578  file with change tracking enabled showing the
36579  differences.
36580  In the comparison dialog you can select from which document \SpecialChar LyX
36581  should take
36582  the document settings for the resulting difference file with the option
36583  
36584 \family sans
36585 Copy
36586 \begin_inset space ~
36587 \end_inset
36588
36589 Document
36590 \begin_inset space ~
36591 \end_inset
36592
36593 Settings
36594 \begin_inset space ~
36595 \end_inset
36596
36597 from
36598 \family default
36599 .
36600  The option 
36601 \family sans
36602 Enable
36603 \begin_inset space ~
36604 \end_inset
36605
36606 change
36607 \begin_inset space ~
36608 \end_inset
36609
36610 tracking
36611 \begin_inset space ~
36612 \end_inset
36613
36614 features
36615 \begin_inset space ~
36616 \end_inset
36617
36618 in
36619 \begin_inset space ~
36620 \end_inset
36621
36622 the
36623 \begin_inset space ~
36624 \end_inset
36625
36626 output
36627 \family default
36628  enables the change tracking option 
36629 \family sans
36630 Show
36631 \begin_inset space ~
36632 \end_inset
36633
36634 Changes
36635 \begin_inset space ~
36636 \end_inset
36637
36638 in
36639 \begin_inset space ~
36640 \end_inset
36641
36642 Output
36643 \family default
36644  to visualize the differences also in the PDF output of the difference file.
36645 \end_layout
36646
36647 \begin_layout Section
36648 International Support
36649 \begin_inset Index idx
36650 status collapsed
36651
36652 \begin_layout Plain Layout
36653 International support
36654 \end_layout
36655
36656 \end_inset
36657
36658
36659 \end_layout
36660
36661 \begin_layout Standard
36662 This section describes how to use \SpecialChar LyX
36663  with any language you want.
36664  For some languages there are special Wiki-pages that explain how to set
36665  up \SpecialChar LyX
36666  to use them: 
36667 \begin_inset CommandInset citation
36668 LatexCommand cite
36669 key "Arabic,Armenian,Cyrillic,Farsi,Hebrew,Japanese"
36670 literal "true"
36671
36672 \end_inset
36673
36674
36675 \end_layout
36676
36677 \begin_layout Standard
36678 Besides languages, \SpecialChar LyX
36679  also supports phonetic symbols, see section
36680 \begin_inset space ~
36681 \end_inset
36682
36683
36684 \begin_inset CommandInset ref
36685 LatexCommand ref
36686 reference "subsec:Special-Character"
36687
36688 \end_inset
36689
36690 .
36691 \end_layout
36692
36693 \begin_layout Subsection
36694 Language Options
36695 \begin_inset Index idx
36696 status collapsed
36697
36698 \begin_layout Plain Layout
36699 Language ! Options
36700 \end_layout
36701
36702 \end_inset
36703
36704
36705 \begin_inset Index idx
36706 status collapsed
36707
36708 \begin_layout Plain Layout
36709 Document ! Settings
36710 \end_layout
36711
36712 \end_inset
36713
36714
36715 \begin_inset Index idx
36716 status collapsed
36717
36718 \begin_layout Plain Layout
36719 Document ! Language
36720 \end_layout
36721
36722 \end_inset
36723
36724
36725 \end_layout
36726
36727 \begin_layout Standard
36728 The 
36729 \family sans
36730 Document\SpecialChar menuseparator
36731 Settings\SpecialChar menuseparator
36732 Language
36733 \family default
36734  dialog lets you set 
36735 \family roman
36736 the language, the quote style and character encoding
36737 \family default
36738 .
36739 \end_layout
36740
36741 \begin_layout Standard
36742 Under 
36743 \family sans
36744 Encoding
36745 \family default
36746  you can choose the character encoding map you want to use for \SpecialChar LaTeX
36747  export.
36748  The option 
36749 \family sans
36750 Language
36751 \begin_inset space ~
36752 \end_inset
36753
36754 Default
36755 \family default
36756  is the preferred choice and works well in most cases.
36757  For details about the different encoding options see section
36758 \begin_inset space ~
36759 \end_inset
36760
36761
36762 \begin_inset CommandInset ref
36763 LatexCommand ref
36764 reference "sec:Language-encodings"
36765
36766 \end_inset
36767
36768 .
36769 \end_layout
36770
36771 \begin_layout Subsection
36772 Keyboard mapping configuration
36773 \begin_inset CommandInset label
36774 LatexCommand label
36775 name "subsec:Keyboard-mapping"
36776
36777 \end_inset
36778
36779
36780 \end_layout
36781
36782 \begin_layout Standard
36783 If you have for example a U.
36784 \begin_inset space \thinspace{}
36785 \end_inset
36786
36787 S.-style keyboard and want to write in a language other than English, you
36788  can use an alternate keymap.
36789  For example, if you want to write in Italian, you can configure \SpecialChar LyX
36790  to use
36791  an Italian keymap.
36792  The 
36793 \family sans
36794 Tools\SpecialChar menuseparator
36795 Preferences\SpecialChar menuseparator
36796 Editing\SpecialChar menuseparator
36797 Keyboard/Mouse
36798 \family default
36799  dialog allows you to choose up to two keyboard mappings, see section
36800 \begin_inset space ~
36801 \end_inset
36802
36803
36804 \begin_inset CommandInset ref
36805 LatexCommand ref
36806 reference "subsec:Keyboard-Map"
36807
36808 \end_inset
36809
36810 .
36811  You can choose primary and secondary keyboard languages and then select
36812  which one you want to use.
36813 \end_layout
36814
36815 \begin_layout Standard
36816 Finally, you may just want to change a few key mappings or create an entirely
36817  different keymap (for Vulcan, for instance).
36818  You may, for example, normally write in Italian on a U.
36819 \begin_inset space \thinspace{}
36820 \end_inset
36821
36822 S.-style keyboard but want to include an occasional quotation in German.
36823  In such a case, you can write your own keyboard mapping or modify an existing
36824  one to support the characters you want.
36825  This and many other customizations are explained in the 
36826 \emph on
36827 Customization
36828 \emph default
36829  manual.
36830 \end_layout
36831
36832 \begin_layout Chapter
36833 \start_of_appendix
36834 The User Interface
36835 \begin_inset CommandInset label
36836 LatexCommand label
36837 name "chap:The-User-Interface"
36838
36839 \end_inset
36840
36841
36842 \end_layout
36843
36844 \begin_layout Standard
36845 This appendix lists all the available menus and describes their functionality.
36846  It is designed as a quick reference if you are searching for a special
36847  topic inside the user's guide.
36848 \end_layout
36849
36850 \begin_layout Section
36851 The File Menu
36852 \begin_inset Index idx
36853 status collapsed
36854
36855 \begin_layout Plain Layout
36856 Menu ! File
36857 \end_layout
36858
36859 \end_inset
36860
36861
36862 \end_layout
36863
36864 \begin_layout Standard
36865 Under the 
36866 \family sans
36867 File
36868 \family default
36869  menu are the basic operations in addition to some more advanced operations.
36870 \end_layout
36871
36872 \begin_layout Subsection
36873 New
36874 \end_layout
36875
36876 \begin_layout Standard
36877 Creates a new document.
36878 \end_layout
36879
36880 \begin_layout Subsection
36881 New from Template
36882 \end_layout
36883
36884 \begin_layout Standard
36885 This menu entry prompts you for a template to use.
36886  Selecting a template will automatically set certain layout features for
36887  the document, features you would otherwise need to change manually.
36888 \end_layout
36889
36890 \begin_layout Subsection
36891 Open
36892 \end_layout
36893
36894 \begin_layout Standard
36895 Opens a document.
36896 \end_layout
36897
36898 \begin_layout Subsection
36899 Open Recent
36900 \end_layout
36901
36902 \begin_layout Standard
36903 The submenu shows a list of the recently opened files.
36904  Click there on a file to open it.
36905 \end_layout
36906
36907 \begin_layout Subsection
36908 Close
36909 \end_layout
36910
36911 \begin_layout Standard
36912 Closes the current document.
36913 \end_layout
36914
36915 \begin_layout Subsection
36916 Close All
36917 \end_layout
36918
36919 \begin_layout Standard
36920 Closes all opened documents.
36921 \end_layout
36922
36923 \begin_layout Subsection
36924 Save
36925 \end_layout
36926
36927 \begin_layout Standard
36928 Saves the actual document.
36929 \end_layout
36930
36931 \begin_layout Subsection
36932 Save As
36933 \end_layout
36934
36935 \begin_layout Standard
36936 Saves the actual document under a new name to create a copy.
36937 \end_layout
36938
36939 \begin_layout Subsection
36940 Save All
36941 \end_layout
36942
36943 \begin_layout Standard
36944 Saves all opened documents.
36945 \end_layout
36946
36947 \begin_layout Subsection
36948 Revert to saved
36949 \end_layout
36950
36951 \begin_layout Standard
36952 Reloads the actual document from disk.
36953 \end_layout
36954
36955 \begin_layout Subsection
36956 Version Control
36957 \end_layout
36958
36959 \begin_layout Standard
36960 This is used when multiple people are working on the same document or when
36961  one person wants to keep a careful archive of changes.
36962  It is described in the section 
36963 \emph on
36964 Version Control in \SpecialChar LyX
36965
36966 \emph default
36967  of the 
36968 \emph on
36969 Additional Features
36970 \emph default
36971  manual.
36972 \end_layout
36973
36974 \begin_layout Subsection
36975 Import
36976 \end_layout
36977
36978 \begin_layout Standard
36979 Here you can import files from older \SpecialChar LyX
36980  versions, HTML files, \SpecialChar LaTeX
36981  files, NoWeb
36982  files, plain text files and comma separated, table-like text files (CSV).
36983  The files will be imported as a new \SpecialChar LyX
36984  document.
36985 \end_layout
36986
36987 \begin_layout Standard
36988 When using the menu entry 
36989 \family sans
36990 Plain
36991 \begin_inset space ~
36992 \end_inset
36993
36994 text
36995 \family default
36996 , line breaks in the text will start a new paragraph; when using the menu
36997  entry 
36998 \family sans
36999 Plain
37000 \begin_inset space ~
37001 \end_inset
37002
37003 Text,
37004 \begin_inset space ~
37005 \end_inset
37006
37007 Join
37008 \begin_inset space ~
37009 \end_inset
37010
37011 Lines
37012 \family default
37013 , consecutive lines of text will be imported to one big paragraph.
37014  A new paragraph will begin when there is a blank line in the file.
37015 \end_layout
37016
37017 \begin_layout Subsection
37018 Export
37019 \begin_inset CommandInset label
37020 LatexCommand label
37021 name "subsec:Export"
37022
37023 \end_inset
37024
37025
37026 \end_layout
37027
37028 \begin_layout Standard
37029 You can export your document to various file formats.
37030  The resulting files are placed in the directory of your \SpecialChar LyX
37031  file.
37032  The menu entries are not the same on all installations.
37033  They depend on the programs found by \SpecialChar LyX
37034  during its configuration.
37035 \end_layout
37036
37037 \begin_layout Standard
37038 Here is a list of all available entries; some of them are explained in detail
37039  in section
37040 \begin_inset space ~
37041 \end_inset
37042
37043
37044 \begin_inset CommandInset ref
37045 LatexCommand ref
37046 reference "subsec:Output-file-formats"
37047
37048 \end_inset
37049
37050 :
37051 \end_layout
37052
37053 \begin_layout Description
37054
37055 \family sans
37056 CJK
37057 \family default
37058
37059 \begin_inset space ~
37060 \end_inset
37061
37062 LyX format of the special \SpecialChar LyX
37063
37064 \begin_inset space ~
37065 \end_inset
37066
37067 1.4.x versions for Chinese, Japanese and Korean (CJK)
37068 \begin_inset Newline newline
37069 \end_inset
37070
37071  Since \SpecialChar LyX
37072  1.5.0 CJK support has been fully integrated into \SpecialChar LyX
37073 .
37074 \end_layout
37075
37076 \begin_layout Description
37077 DocBook text file with code in the language SGML that is used for the markup
37078  language 
37079 \family typewriter
37080 DocBook
37081 \end_layout
37082
37083 \begin_layout Description
37084 DocBook
37085 \begin_inset space ~
37086 \end_inset
37087
37088 (XML) text file with code in the language XML that is used for the markup
37089  language 
37090 \family typewriter
37091 DocBook
37092 \end_layout
37093
37094 \begin_layout Description
37095 DraftDVI \SpecialChar LaTeX
37096 's native DVI-format.
37097  This format is not suitable if you have special characters or spaces in
37098  files paths or file names in your document.
37099  \SpecialChar LyX
37100  use this format internally as a pre-stage to export to 
37101 \family sans
37102 DVI
37103 \family default
37104 .
37105 \end_layout
37106
37107 \begin_layout Description
37108 DVI DVI-format that also allows the useage of special characters or spaces
37109  in files paths or file names
37110 \end_layout
37111
37112 \begin_layout Description
37113 DVI
37114 \begin_inset space ~
37115 \end_inset
37116
37117 (Lua
37118 \family sans
37119 TeX
37120 \family default
37121 ) DVI-format using the program 
37122 \family typewriter
37123 Lua\SpecialChar TeX
37124
37125 \family default
37126 ; supports Unicode and the usage of non-\SpecialChar TeX
37127  fonts; 
37128 \series bold
37129
37130 \begin_inset Note Greyedout
37131 status open
37132
37133 \begin_layout Plain Layout
37134
37135 \series bold
37136 Note:
37137 \series default
37138  not all DVI-viewers are currently able to display this output format properly.
37139 \end_layout
37140
37141 \end_inset
37142
37143
37144 \end_layout
37145
37146 \begin_layout Description
37147 EPS
37148 \begin_inset space ~
37149 \end_inset
37150
37151 (cropped) the same as 
37152 \family sans
37153 PostScript
37154 \family default
37155  but with cropped page margins.
37156 \end_layout
37157
37158 \begin_layout Description
37159 Graphviz
37160 \begin_inset space ~
37161 \end_inset
37162
37163 Dot text file with code in the programming language 
37164 \family typewriter
37165 Dot
37166 \family default
37167  which is used to draw visualizations of graphs via the program 
37168 \family typewriter
37169 Graphviz
37170 \end_layout
37171
37172 \begin_layout Description
37173 HTML HTML-format; 
37174 \series bold
37175
37176 \begin_inset Note Greyedout
37177 status open
37178
37179 \begin_layout Plain Layout
37180
37181 \series bold
37182 Note:
37183 \series default
37184  the exported file will be stored in a subdirectory.
37185 \end_layout
37186
37187 \end_inset
37188
37189
37190 \end_layout
37191
37192 \begin_layout Description
37193 HTML
37194 \begin_inset space ~
37195 \end_inset
37196
37197 (MS
37198 \begin_inset space ~
37199 \end_inset
37200
37201 Word) HTML-format specialized so that the result can be imported to 
37202 \family sans
37203 MS Word
37204 \family default
37205 ; as a consequence of this formulas will be embedded as bitmap fonts and
37206  not in the format 
37207 \family sans
37208 MathML
37209 \family default
37210 .
37211 \end_layout
37212
37213 \begin_layout Description
37214
37215 \family sans
37216 LaTeX
37217 \begin_inset space ~
37218 \end_inset
37219
37220 (
37221 \family default
37222 Lua
37223 \family sans
37224 TeX) 
37225 \family default
37226 text file with the \SpecialChar LaTeX
37227  source that is compilable with the program 
37228 \family typewriter
37229 Lua\SpecialChar TeX
37230
37231 \end_layout
37232
37233 \begin_layout Description
37234
37235 \family sans
37236 LaTeX
37237 \begin_inset space ~
37238 \end_inset
37239
37240 (pdflatex)
37241 \family default
37242  text file with the \SpecialChar LaTeX
37243  source, additionally all images used in the document
37244  will be converted to a format that is readable by the 
37245 \family typewriter
37246 pdflatex
37247 \family default
37248  program (GIF, JPG, PDF, PNG)
37249 \end_layout
37250
37251 \begin_layout Description
37252
37253 \family sans
37254 LaTeX
37255 \begin_inset space ~
37256 \end_inset
37257
37258 (plain)
37259 \family default
37260  text file with the \SpecialChar LaTeX
37261  source code, additionally all images used in the document
37262  will be converted to the EPS-format, only this format is readable by the
37263  
37264 \family typewriter
37265 latex
37266 \family default
37267  program
37268 \end_layout
37269
37270 \begin_layout Description
37271
37272 \family sans
37273 LaTeX
37274 \begin_inset space ~
37275 \end_inset
37276
37277 (
37278 \family default
37279 Xe
37280 \family sans
37281 TeX) 
37282 \family default
37283 text file with the \SpecialChar LaTeX
37284  source that is compilable with the program 
37285 \family typewriter
37286 Xe\SpecialChar TeX
37287
37288 \end_layout
37289
37290 \begin_layout Description
37291 LilyPond
37292 \begin_inset space ~
37293 \end_inset
37294
37295 book
37296 \begin_inset space ~
37297 \end_inset
37298
37299 (La
37300 \family sans
37301 TeX
37302 \family default
37303 ) text file with the \SpecialChar LaTeX
37304  source and also code in the syntax of the music notation
37305  software 
37306 \family typewriter
37307 LilyPond
37308 \end_layout
37309
37310 \begin_layout Description
37311 LyX
37312 \begin_inset space ~
37313 \end_inset
37314
37315 z.y.x \SpecialChar LyX
37316 -Document in a format readable by the \SpecialChar LyX
37317  versions z.y.x (e.
37318 \begin_inset space \thinspace{}
37319 \end_inset
37320
37321 g.
37322 \begin_inset space \space{}
37323 \end_inset
37324
37325 "\SpecialChar LyX
37326
37327 \begin_inset space ~
37328 \end_inset
37329
37330 2.1.x"; 
37331 \begin_inset Quotes eld
37332 \end_inset
37333
37334 z
37335 \begin_inset Quotes erd
37336 \end_inset
37337
37338  and 
37339 \begin_inset Quotes eld
37340 \end_inset
37341
37342 y
37343 \begin_inset Quotes erd
37344 \end_inset
37345
37346  represent the version number)
37347 \end_layout
37348
37349 \begin_layout Description
37350 LyX
37351 \begin_inset space ~
37352 \end_inset
37353
37354 Archive
37355 \begin_inset space ~
37356 \end_inset
37357
37358 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
37359  your system) that contains your document and all files that are necessary
37360  to compile it (images, child documents, Bib\SpecialChar TeX
37361  files, etc.)
37362 \end_layout
37363
37364 \begin_layout Description
37365 LyXHTML HTML-format using \SpecialChar LyX
37366 's internal XHTML engine
37367 \end_layout
37368
37369 \begin_layout Description
37370 MS
37371 \begin_inset space ~
37372 \end_inset
37373
37374 Word
37375 \begin_inset space ~
37376 \end_inset
37377
37378 Office
37379 \begin_inset space ~
37380 \end_inset
37381
37382 Open
37383 \begin_inset space ~
37384 \end_inset
37385
37386 XML Office Open XML file, to be opened with 
37387 \family sans
37388 Microsoft Word
37389 \family default
37390 .
37391  For the conversion the program 
37392 \family typewriter
37393 Pandoc
37394 \family default
37395  is used.
37396  
37397 \family typewriter
37398 Pandoc
37399 \family default
37400  is a third-party product and may not work in all cases.
37401 \end_layout
37402
37403 \begin_layout Description
37404 NoWeb text file with code in the format of the literate programming language
37405 \family typewriter
37406  NoWeb
37407 \end_layout
37408
37409 \begin_layout Description
37410 OpenDocument
37411 \begin_inset space ~
37412 \end_inset
37413
37414 (Pandoc) OpenDocument file, to be opened with 
37415 \family sans
37416 LibreOffice, OpenOffice, KOffice, Abiword
37417 \family default
37418 , etc..
37419  For the conversion the program 
37420 \family typewriter
37421 Pandoc
37422 \family default
37423  is used.
37424  
37425 \family typewriter
37426 Pandoc
37427 \family default
37428  is a third-party product and may not work in all cases.
37429 \end_layout
37430
37431 \begin_layout Description
37432 OpenDocument
37433 \begin_inset space ~
37434 \end_inset
37435
37436 (tex4ht) OpenDocument file.
37437  For the conversion the program 
37438 \family typewriter
37439 tex4ht
37440 \family default
37441  is used.
37442  
37443 \family typewriter
37444 tex4ht
37445 \family default
37446  is a third-party product and may not work in all cases.
37447 \end_layout
37448
37449 \begin_layout Description
37450 PDF
37451 \begin_inset space ~
37452 \end_inset
37453
37454 (cropped) the same as 
37455 \family sans
37456 PDF
37457 \begin_inset space ~
37458 \end_inset
37459
37460 (pdflatex)
37461 \family default
37462  but with cropped page margins
37463 \end_layout
37464
37465 \begin_layout Description
37466
37467 \family sans
37468 PDF
37469 \begin_inset space ~
37470 \end_inset
37471
37472 (dvipdfm)
37473 \family default
37474  PDF-format using the program 
37475 \family typewriter
37476 dvipdfm
37477 \family default
37478 , produces internally a DVI-file which is then converted to a PDF-file
37479 \end_layout
37480
37481 \begin_layout Description
37482
37483 \family sans
37484 PDF
37485 \begin_inset space ~
37486 \end_inset
37487
37488 (lower
37489 \begin_inset space ~
37490 \end_inset
37491
37492 resolution)
37493 \family default
37494  the same as 
37495 \family sans
37496 PDF
37497 \begin_inset space ~
37498 \end_inset
37499
37500 (pdflatex)
37501 \family default
37502  but with a reduced pixel resolution of 150
37503 \begin_inset space \thinspace{}
37504 \end_inset
37505
37506 dpi (e.g.
37507 \begin_inset space \space{}
37508 \end_inset
37509
37510 useful for e-books to be read on tablet PCs or for large documents as intermedia
37511 te preview)
37512 \end_layout
37513
37514 \begin_layout Description
37515
37516 \family sans
37517 PDF
37518 \begin_inset space ~
37519 \end_inset
37520
37521 (LuaTeX)
37522 \family default
37523  PDF-format using the program 
37524 \family typewriter
37525 Lua\SpecialChar TeX
37526
37527 \family default
37528 , produces PDF-files directly
37529 \end_layout
37530
37531 \begin_layout Description
37532
37533 \family sans
37534 PDF
37535 \begin_inset space ~
37536 \end_inset
37537
37538 (pdflatex)
37539 \family default
37540  PDF-format using the program 
37541 \family typewriter
37542 pdflatex
37543 \family default
37544 , produces PDF-files directly
37545 \end_layout
37546
37547 \begin_layout Description
37548
37549 \family sans
37550 PDF
37551 \begin_inset space ~
37552 \end_inset
37553
37554 (ps2pdf)
37555 \family default
37556  PDF-format using the program 
37557 \family typewriter
37558 ps2pdf
37559 \family default
37560 , produces internally a PostScript-file which is then converted to a PDF-file
37561 \end_layout
37562
37563 \begin_layout Description
37564
37565 \family sans
37566 PDF
37567 \begin_inset space ~
37568 \end_inset
37569
37570 (XeTeX)
37571 \family default
37572  PDF-format using the program 
37573 \family typewriter
37574 Xe\SpecialChar TeX
37575
37576 \family default
37577 , produces PDF-files directly
37578 \end_layout
37579
37580 \begin_layout Description
37581
37582 \family sans
37583 Plain
37584 \begin_inset space ~
37585 \end_inset
37586
37587 text
37588 \family default
37589  text format
37590 \end_layout
37591
37592 \begin_layout Description
37593
37594 \family sans
37595 Plain
37596 \begin_inset space ~
37597 \end_inset
37598
37599 text
37600 \begin_inset space ~
37601 \end_inset
37602
37603 (ps2ascii)
37604 \family default
37605  text format, the document will first be converted to Postscript format
37606  and then exported as text using the program 
37607 \family sans
37608 ps2ascii
37609 \end_layout
37610
37611 \begin_layout Description
37612
37613 \family sans
37614 Postscript
37615 \family default
37616  PostScript format using the program 
37617 \family typewriter
37618 dvips
37619 \family default
37620 ; for possible 
37621 \family typewriter
37622 dvips
37623 \family default
37624  options see section
37625 \begin_inset space ~
37626 \end_inset
37627
37628
37629 \begin_inset CommandInset ref
37630 LatexCommand ref
37631 reference "subsec:General-output"
37632
37633 \end_inset
37634
37635
37636 \end_layout
37637
37638 \begin_layout Description
37639 Sweave text file with the \SpecialChar LaTeX
37640  source and also code in the statistical programming
37641  language 
37642 \family typewriter
37643 R
37644 \family default
37645 .
37646  Using the 
37647 \family typewriter
37648 R
37649 \family default
37650 -function 
37651 \family typewriter
37652 Sweave
37653 \family default
37654  it is possible to use 
37655 \family typewriter
37656 R
37657 \family default
37658 -commands in \SpecialChar LaTeX
37659
37660 \end_layout
37661
37662 \begin_layout Standard
37663 If one of the menu entries 
37664 \family sans
37665 DVI
37666 \family default
37667
37668 \family sans
37669 PDF
37670 \begin_inset space ~
37671 \end_inset
37672
37673 (pdflatex)
37674 \family default
37675  or 
37676 \family sans
37677 Postscript
37678 \family default
37679  is missing, you need to update your \SpecialChar LaTeX
37680  installation.
37681  After updating you have to reconfigure \SpecialChar LyX
37682 , see section
37683 \begin_inset space ~
37684 \end_inset
37685
37686
37687 \begin_inset CommandInset ref
37688 LatexCommand ref
37689 reference "sec:Basic-LyX-Setup"
37690
37691 \end_inset
37692
37693 .
37694 \begin_inset Index idx
37695 status collapsed
37696
37697 \begin_layout Plain Layout
37698 Reconfiguration of \SpecialChar LyX
37699
37700 \end_layout
37701
37702 \end_inset
37703
37704
37705 \end_layout
37706
37707 \begin_layout Subsection
37708 Fax
37709 \end_layout
37710
37711 \begin_layout Standard
37712 This menu entry will only appear if you have a fax program installed (on
37713  Windows you additionally need to register its program path to \SpecialChar LyX
37714 's PATH prefix,
37715  see section
37716 \begin_inset space ~
37717 \end_inset
37718
37719
37720 \begin_inset CommandInset ref
37721 LatexCommand ref
37722 reference "sec:Paths"
37723
37724 \end_inset
37725
37726 ).
37727  With this menu entry you can send your document to a fax program like 
37728 \family typewriter
37729 hylapex
37730 \family default
37731  or 
37732 \family typewriter
37733 kdeprintfax
37734 \family default
37735 .
37736  The default format of the sent file is PostScript.
37737  The format can be changed in \SpecialChar LyX
37738 's preferences as described in section
37739 \begin_inset space ~
37740 \end_inset
37741
37742
37743 \begin_inset CommandInset ref
37744 LatexCommand ref
37745 reference "subsec:Converters"
37746
37747 \end_inset
37748
37749 .
37750 \end_layout
37751
37752 \begin_layout Subsection
37753 New and Close Window
37754 \end_layout
37755
37756 \begin_layout Standard
37757 Opens or closes a new instance of \SpecialChar LyX
37758 .
37759 \end_layout
37760
37761 \begin_layout Subsection
37762 Exit
37763 \end_layout
37764
37765 \begin_layout Standard
37766 Prompts you to save all unsaved documents and then exits.
37767 \end_layout
37768
37769 \begin_layout Section
37770 The Edit Menu
37771 \begin_inset Index idx
37772 status collapsed
37773
37774 \begin_layout Plain Layout
37775 Menu ! Edit
37776 \end_layout
37777
37778 \end_inset
37779
37780
37781 \end_layout
37782
37783 \begin_layout Subsection
37784 Undo and Redo
37785 \end_layout
37786
37787 \begin_layout Standard
37788 Described in section
37789 \begin_inset space ~
37790 \end_inset
37791
37792
37793 \begin_inset CommandInset ref
37794 LatexCommand ref
37795 reference "sec:Undo-and-Redo"
37796
37797 \end_inset
37798
37799 .
37800 \end_layout
37801
37802 \begin_layout Subsection
37803 Cut, Copy, Paste, Paste Recent, Paste Special
37804 \end_layout
37805
37806 \begin_layout Standard
37807 Described in section
37808 \begin_inset space ~
37809 \end_inset
37810
37811
37812 \begin_inset CommandInset ref
37813 LatexCommand ref
37814 reference "sec:Basic-Editing-Features"
37815
37816 \end_inset
37817
37818 .
37819 \end_layout
37820
37821 \begin_layout Subsection
37822 Select Whole Inset
37823 \end_layout
37824
37825 \begin_layout Standard
37826 Selects the content of the inset in which the cursor currently is.
37827  If the cursor is outside an inset, the whole document will be selected.
37828 \end_layout
37829
37830 \begin_layout Subsection
37831 Select All
37832 \end_layout
37833
37834 \begin_layout Standard
37835 Selects the whole document.
37836 \end_layout
37837
37838 \begin_layout Subsection
37839 Find & Replace (Quick)
37840 \end_layout
37841
37842 \begin_layout Standard
37843 Described in section
37844 \begin_inset space ~
37845 \end_inset
37846
37847
37848 \begin_inset CommandInset ref
37849 LatexCommand ref
37850 reference "sec:Basic-Editing-Features"
37851
37852 \end_inset
37853
37854 .
37855 \end_layout
37856
37857 \begin_layout Subsection
37858 Find & Replace (Advanced)
37859 \end_layout
37860
37861 \begin_layout Standard
37862 Described in section
37863 \begin_inset space ~
37864 \end_inset
37865
37866
37867 \begin_inset CommandInset ref
37868 LatexCommand ref
37869 reference "sec:Advanced-Find-and"
37870
37871 \end_inset
37872
37873 .
37874 \end_layout
37875
37876 \begin_layout Subsection
37877 Move Paragraph Up/Down
37878 \end_layout
37879
37880 \begin_layout Standard
37881 This shifts the paragraph in which the cursor currently is one paragraph
37882  up or down.
37883 \end_layout
37884
37885 \begin_layout Subsection
37886 Text Style
37887 \end_layout
37888
37889 \begin_layout Standard
37890 Described in section
37891 \begin_inset space ~
37892 \end_inset
37893
37894
37895 \begin_inset CommandInset ref
37896 LatexCommand ref
37897 reference "subsec:Fine-Tuning-with-the"
37898
37899 \end_inset
37900
37901 .
37902 \end_layout
37903
37904 \begin_layout Subsection
37905 Paragraph Settings
37906 \begin_inset Index idx
37907 status collapsed
37908
37909 \begin_layout Plain Layout
37910 Paragraph ! Settings
37911 \end_layout
37912
37913 \end_inset
37914
37915
37916 \end_layout
37917
37918 \begin_layout Standard
37919 Enables you to set the paragraph alignment, line spacing and label width.
37920  These settings only affect the paragraph in which the cursor is currently
37921  in.
37922 \end_layout
37923
37924 \begin_layout Standard
37925 You can also prevent the first line of the paragraph being indented if you
37926  have chosen to separate paragraphs with 
37927 \family sans
37928 Indentation
37929 \family default
37930  in the 
37931 \family sans
37932 Document\SpecialChar menuseparator
37933 Settings\SpecialChar menuseparator
37934 Text
37935 \begin_inset space ~
37936 \end_inset
37937
37938 Layout
37939 \family default
37940  dialog.
37941 \end_layout
37942
37943 \begin_layout Subsection
37944 Table and Rows & Columns
37945 \end_layout
37946
37947 \begin_layout Standard
37948 These menus only appear if the cursor is inside a table.
37949  It allows you to create multicolumn and multirow cells, add or remove borders
37950  of a cell and to set the alignment of the cell.
37951 \end_layout
37952
37953 \begin_layout Subsection
37954 Dissolve Inset
37955 \end_layout
37956
37957 \begin_layout Standard
37958 This menu only appears if the cursor is inside an inset.
37959  It will dissolve this inset.
37960  This means that the inset is deleted and its content is left as normal
37961  text.
37962 \end_layout
37963
37964 \begin_layout Subsection
37965 Settings or Math
37966 \end_layout
37967
37968 \begin_layout Standard
37969 This menu is only active if the cursor is inside an inset or a formula.
37970  Here you can change the properties of the inset or the formula.
37971 \end_layout
37972
37973 \begin_layout Subsection
37974 Increase/Decrease List Depth
37975 \end_layout
37976
37977 \begin_layout Standard
37978 These menus are only active if the cursor is in an environment that can
37979  be nested.
37980  They increase/decrease the environment nesting level as explained in section
37981 \begin_inset space ~
37982 \end_inset
37983
37984
37985 \begin_inset CommandInset ref
37986 LatexCommand ref
37987 reference "sec:Nesting"
37988
37989 \end_inset
37990
37991  and 
37992 \begin_inset CommandInset ref
37993 LatexCommand ref
37994 reference "subsec:Numbering-depth"
37995
37996 \end_inset
37997
37998 .
37999 \end_layout
38000
38001 \begin_layout Subsection
38002
38003 \family sans
38004 Start New Environment/Start New Parent Environment
38005 \end_layout
38006
38007 \begin_layout Standard
38008 These menus are only visible if it is possible to have two consecutive environme
38009 nts of the same type.
38010  See section
38011 \begin_inset space ~
38012 \end_inset
38013
38014
38015 \begin_inset CommandInset ref
38016 LatexCommand ref
38017 reference "subsec:Separate-Nestings"
38018
38019 \end_inset
38020
38021  for an explanation.
38022 \end_layout
38023
38024 \begin_layout Section
38025 The View Menu
38026 \begin_inset Index idx
38027 status collapsed
38028
38029 \begin_layout Plain Layout
38030 Menu ! View
38031 \end_layout
38032
38033 \end_inset
38034
38035
38036 \end_layout
38037
38038 \begin_layout Standard
38039 At the bottom of the 
38040 \family sans
38041 View
38042 \family default
38043  menu the opened documents are listed.
38044 \end_layout
38045
38046 \begin_layout Subsection
38047 Open/Close all Insets
38048 \end_layout
38049
38050 \begin_layout Standard
38051 Opens/closes all insets in your document.
38052 \end_layout
38053
38054 \begin_layout Subsection
38055 Unfold/Fold Math Macros
38056 \end_layout
38057
38058 \begin_layout Standard
38059 Unfolds/folds the current math macro.
38060 \end_layout
38061
38062 \begin_layout Standard
38063 Math macros are described in the 
38064 \emph on
38065 Math
38066 \emph default
38067  manual.
38068 \end_layout
38069
38070 \begin_layout Subsection
38071 Outline Pane
38072 \end_layout
38073
38074 \begin_layout Standard
38075 Shows the outline window as described in sections
38076 \begin_inset space ~
38077 \end_inset
38078
38079
38080 \begin_inset CommandInset ref
38081 LatexCommand ref
38082 reference "sec:Navigating"
38083
38084 \end_inset
38085
38086  and 
38087 \begin_inset CommandInset ref
38088 LatexCommand ref
38089 reference "subsec:Table-of-Contents"
38090
38091 \end_inset
38092
38093 .
38094 \end_layout
38095
38096 \begin_layout Subsection
38097 Source Pane
38098 \end_layout
38099
38100 \begin_layout Standard
38101 Opens a window showing the source code of the actual document, as described
38102  in section
38103 \begin_inset space ~
38104 \end_inset
38105
38106
38107 \begin_inset CommandInset ref
38108 LatexCommand ref
38109 reference "sec:Previewing-snippets-of"
38110
38111 \end_inset
38112
38113 .
38114 \end_layout
38115
38116 \begin_layout Subsection
38117 Messages Pane
38118 \end_layout
38119
38120 \begin_layout Standard
38121 Opens a window showing console messages.
38122  This is useful for debugging \SpecialChar LyX
38123  (i.
38124 \begin_inset space \thinspace{}
38125 \end_inset
38126
38127 e., hunt for errors in the program) or to see what is going on in the background
38128  while \SpecialChar LaTeX
38129  is processing the document.
38130 \end_layout
38131
38132 \begin_layout Subsection
38133 Toolbars
38134 \begin_inset CommandInset label
38135 LatexCommand label
38136 name "subsec:Toolbars"
38137
38138 \end_inset
38139
38140
38141 \begin_inset Index idx
38142 status collapsed
38143
38144 \begin_layout Plain Layout
38145 Toolbar
38146 \end_layout
38147
38148 \end_inset
38149
38150
38151 \end_layout
38152
38153 \begin_layout Standard
38154 In this menu entry you can set the icon size and the appearance of the different
38155  toolbars.
38156  All toolbars and the 
38157 \family sans
38158 Command
38159 \begin_inset space ~
38160 \end_inset
38161
38162 Buffer
38163 \family default
38164  can be turned on and off.
38165  The 
38166 \emph on
38167 on
38168 \emph default
38169  state is denoted in the menu with a checkmark.
38170  The 
38171 \family sans
38172 Table
38173 \family default
38174
38175 \family sans
38176 Math,
38177 \family default
38178  
38179 \family sans
38180 Math
38181 \begin_inset space ~
38182 \end_inset
38183
38184 Macros,
38185 \family default
38186  
38187 \family sans
38188 Review
38189 \family default
38190  and 
38191 \family sans
38192 Math
38193 \begin_inset space ~
38194 \end_inset
38195
38196 Panels
38197 \family default
38198  toolbars can additionally be set to the state 
38199 \emph on
38200 automatic
38201 \emph default
38202 , denoted in the menu with the suffix 
38203 \family sans
38204 (auto)
38205 \family default
38206 .
38207 \end_layout
38208
38209 \begin_layout Standard
38210 In the 
38211 \emph on
38212 on
38213 \emph default
38214  state the toolbar is permanently shown; in the 
38215 \emph on
38216 automatic
38217 \emph default
38218  state the toolbar is only shown when the cursor is in a certain environment
38219  or when a certain feature is enabled.
38220  That means that the review toolbar will only be shown if change tracking
38221  is activated, the math and table toolbars are only shown if the cursor
38222  is inside a formula or table respectively.
38223 \end_layout
38224
38225 \begin_layout Standard
38226 \SpecialChar LyX
38227 's toolbars and their buttons are explained in section
38228 \begin_inset space ~
38229 \end_inset
38230
38231
38232 \begin_inset CommandInset ref
38233 LatexCommand ref
38234 reference "sec:Toolbars"
38235
38236 \end_inset
38237
38238 .
38239 \end_layout
38240
38241 \begin_layout Subsection
38242 Split View
38243 \end_layout
38244
38245 \begin_layout Standard
38246
38247 \family sans
38248 Split
38249 \begin_inset space ~
38250 \end_inset
38251
38252 View
38253 \begin_inset space ~
38254 \end_inset
38255
38256 into
38257 \begin_inset space ~
38258 \end_inset
38259
38260 Left
38261 \begin_inset space ~
38262 \end_inset
38263
38264 and
38265 \begin_inset space ~
38266 \end_inset
38267
38268 Right
38269 \begin_inset space ~
38270 \end_inset
38271
38272 Half
38273 \family default
38274  will split \SpecialChar LyX
38275 's main window vertically while 
38276 \family sans
38277 Split
38278 \begin_inset space ~
38279 \end_inset
38280
38281 View
38282 \begin_inset space ~
38283 \end_inset
38284
38285 into
38286 \begin_inset space ~
38287 \end_inset
38288
38289 Upper
38290 \begin_inset space ~
38291 \end_inset
38292
38293 and
38294 \begin_inset space ~
38295 \end_inset
38296
38297 Lower
38298 \begin_inset space ~
38299 \end_inset
38300
38301 Half
38302 \family default
38303  will split it horizontally.
38304  This allows you to view documents at the same time to compare them, or
38305  to view the same document, but at different positions.
38306  You can even split the main window several times to view, for example,
38307  three or more documents at the same time.
38308  To close a split view, use the menu 
38309 \family sans
38310 Close
38311 \begin_inset space ~
38312 \end_inset
38313
38314 Current
38315 \begin_inset space ~
38316 \end_inset
38317
38318 View
38319 \family default
38320 .
38321 \end_layout
38322
38323 \begin_layout Subsection
38324 Close Current View
38325 \end_layout
38326
38327 \begin_layout Standard
38328 Closes a split view.
38329 \end_layout
38330
38331 \begin_layout Subsection
38332 Fullscreen
38333 \end_layout
38334
38335 \begin_layout Standard
38336 Using this menu entry or pressing F11 removes the menu bar and all toolbars
38337  so that you will see nothing but your text.
38338  It furthermore displays \SpecialChar LyX
38339 's main window fullscreen.
38340  To return from fullscreen to the normal view, press F11, or right-click
38341  and turn off the fullscreen mode in the context menu.
38342 \end_layout
38343
38344 \begin_layout Section
38345 The Insert Menu
38346 \begin_inset Index idx
38347 status collapsed
38348
38349 \begin_layout Plain Layout
38350 Menu ! Insert
38351 \end_layout
38352
38353 \end_inset
38354
38355
38356 \end_layout
38357
38358 \begin_layout Subsection
38359 Math
38360 \end_layout
38361
38362 \begin_layout Standard
38363 Inserts math constructs that are explained in chapter
38364 \begin_inset space ~
38365 \end_inset
38366
38367
38368 \begin_inset CommandInset ref
38369 LatexCommand ref
38370 reference "chap:Mathematical-Formulas"
38371
38372 \end_inset
38373
38374  and the 
38375 \emph on
38376 Math
38377 \emph default
38378  manual.
38379 \end_layout
38380
38381 \begin_layout Subsection
38382 Special Character
38383 \begin_inset CommandInset label
38384 LatexCommand label
38385 name "subsec:Special-Character"
38386
38387 \end_inset
38388
38389
38390 \end_layout
38391
38392 \begin_layout Standard
38393 Here you can insert the following characters:
38394 \end_layout
38395
38396 \begin_layout Description
38397 Symbols Opens the 
38398 \family sans
38399 Symbols
38400 \family default
38401  dialog which allows you to insert any character that can be output by your
38402  \SpecialChar LaTeX
38403  system.
38404  By default groups of characters are displayed in character categories;
38405  the available characters depend on the \SpecialChar LaTeX
38406 -packages you have installed.
38407  You can get a complete display by checking 
38408 \family sans
38409 Display
38410 \begin_inset space ~
38411 \end_inset
38412
38413 all
38414 \family default
38415 .
38416 \begin_inset Newline newline
38417 \end_inset
38418
38419  
38420 \begin_inset Note Greyedout
38421 status open
38422
38423 \begin_layout Plain Layout
38424
38425 \series bold
38426 Note:
38427 \series default
38428  Not all characters will be visible in the 
38429 \family sans
38430 Symbols
38431 \family default
38432  dialog because none of the screen fonts that you can set in the preferences
38433  dialog (see section
38434 \begin_inset space ~
38435 \end_inset
38436
38437
38438 \begin_inset CommandInset ref
38439 LatexCommand ref
38440 reference "subsec:Screen-Fonts"
38441
38442 \end_inset
38443
38444 ) can display every character.
38445 \end_layout
38446
38447 \end_inset
38448
38449
38450 \end_layout
38451
38452 \begin_layout Description
38453 Ellipsis Inserts an ellipsis: \SpecialChar ldots
38454
38455 \end_layout
38456
38457 \begin_layout Description
38458 End
38459 \begin_inset space ~
38460 \end_inset
38461
38462 of
38463 \begin_inset space ~
38464 \end_inset
38465
38466 Sentence Inserts an end of sentence period as described in section
38467 \begin_inset space ~
38468 \end_inset
38469
38470
38471 \begin_inset CommandInset ref
38472 LatexCommand ref
38473 reference "subsec:Abbreviations"
38474
38475 \end_inset
38476
38477 .
38478 \end_layout
38479
38480 \begin_layout Description
38481 Ordinary
38482 \begin_inset space ~
38483 \end_inset
38484
38485 Quote Inserts this quote: ", no matter what quote style you selected in
38486  the 
38487 \family sans
38488 Document\SpecialChar menuseparator
38489 Settings\SpecialChar menuseparator
38490 Language
38491 \family default
38492  dialog.
38493 \end_layout
38494
38495 \begin_layout Description
38496 Single
38497 \begin_inset space ~
38498 \end_inset
38499
38500 Quote Inserts a single quote in the quotation marks style selected in the
38501  
38502 \family sans
38503 Document\SpecialChar menuseparator
38504 Settings\SpecialChar menuseparator
38505 Language
38506 \family default
38507  dialog.
38508 \end_layout
38509
38510 \begin_layout Description
38511 Protected
38512 \begin_inset space ~
38513 \end_inset
38514
38515 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar nobreakdash
38516
38517 \end_layout
38518
38519 \begin_layout Description
38520 Breakable
38521 \begin_inset space ~
38522 \end_inset
38523
38524 Slash Inserts a slash where a line break can also occur: \SpecialChar breakableslash
38525
38526 \end_layout
38527
38528 \begin_layout Description
38529 Visible
38530 \begin_inset space ~
38531 \end_inset
38532
38533 Space Inserts a character representing a single space (the one you get when
38534  pressing the 
38535 \family sans
38536 Space
38537 \family default
38538  key): 
38539 \begin_inset space \textvisiblespace{}
38540 \end_inset
38541
38542
38543 \end_layout
38544
38545 \begin_layout Description
38546 Menu
38547 \begin_inset space ~
38548 \end_inset
38549
38550 Separator Inserts the menu separator sign: \SpecialChar menuseparator
38551
38552 \end_layout
38553
38554 \begin_layout Description
38555 Phonetic
38556 \begin_inset space ~
38557 \end_inset
38558
38559 Symbols 
38560 \begin_inset Index idx
38561 status collapsed
38562
38563 \begin_layout Plain Layout
38564 Phonetic symbols
38565 \end_layout
38566
38567 \end_inset
38568
38569
38570 \begin_inset Index idx
38571 status collapsed
38572
38573 \begin_layout Plain Layout
38574 Language ! Phonetic symbols
38575 \end_layout
38576
38577 \end_inset
38578
38579 Inserts a box where you can insert symbols from the International Phonetic
38580  Alphabet (IPA) and opens a toolbar which provides a large set of these
38581  symbols.
38582  To use this feature you must have the \SpecialChar LaTeX
38583 -package 
38584 \series bold
38585 tipa
38586 \series default
38587
38588 \begin_inset Index idx
38589 status collapsed
38590
38591 \begin_layout Plain Layout
38592 \SpecialChar LaTeX
38593  packages ! tipa
38594 \end_layout
38595
38596 \end_inset
38597
38598  installed.
38599 \begin_inset Newline newline
38600 \end_inset
38601
38602 More information about this feature can be found in the 
38603 \emph on
38604 Linguistics
38605 \emph default
38606  manual (
38607 \family sans
38608 Help\SpecialChar menuseparator
38609 Specific Manuals
38610 \family default
38611 ).
38612 \end_layout
38613
38614 \begin_layout Description
38615 Logos Inserts the logos of the programs \SpecialChar LyX
38616 , \SpecialChar TeX
38617 , \SpecialChar LaTeX
38618  and \SpecialChar LaTeX2e
38619 .
38620 \end_layout
38621
38622 \begin_layout Subsection
38623 Formatting
38624 \end_layout
38625
38626 \begin_layout Standard
38627 Opens a submenu with the following options:
38628 \end_layout
38629
38630 \begin_layout Description
38631 Superscript Inserts a superscript: test
38632 \begin_inset script superscript
38633
38634 \begin_layout Plain Layout
38635 a, b
38636 \end_layout
38637
38638 \end_inset
38639
38640
38641 \end_layout
38642
38643 \begin_layout Description
38644 Subscript Inserts a subscript: test
38645 \begin_inset script subscript
38646
38647 \begin_layout Plain Layout
38648 3x
38649 \end_layout
38650
38651 \end_inset
38652
38653
38654 \end_layout
38655
38656 \begin_layout Description
38657 Protected
38658 \begin_inset space ~
38659 \end_inset
38660
38661 Space Inserts a protected space as described in section
38662 \begin_inset space ~
38663 \end_inset
38664
38665
38666 \begin_inset CommandInset ref
38667 LatexCommand ref
38668 reference "subsec:Protected-Space"
38669
38670 \end_inset
38671
38672 .
38673 \end_layout
38674
38675 \begin_layout Description
38676 Interword
38677 \begin_inset space ~
38678 \end_inset
38679
38680 Space Inserts an inter-word space as described in section
38681 \begin_inset space ~
38682 \end_inset
38683
38684
38685 \begin_inset CommandInset ref
38686 LatexCommand ref
38687 reference "subsec:Inter-word-Space"
38688
38689 \end_inset
38690
38691 .
38692 \end_layout
38693
38694 \begin_layout Description
38695 Thin
38696 \begin_inset space ~
38697 \end_inset
38698
38699 Space Inserts a thin space as described in section
38700 \begin_inset space ~
38701 \end_inset
38702
38703
38704 \begin_inset CommandInset ref
38705 LatexCommand ref
38706 reference "subsec:Thin-Space"
38707
38708 \end_inset
38709
38710 .
38711 \end_layout
38712
38713 \begin_layout Description
38714 Visible
38715 \begin_inset space ~
38716 \end_inset
38717
38718 Space Inserts a character to visualize that there is or should be a space.
38719  This is e.
38720 \begin_inset space \thinspace{}
38721 \end_inset
38722
38723 g.
38724 \begin_inset space \space{}
38725 \end_inset
38726
38727 useful if you need to indicate a space in a command sequence.
38728  An example from the \SpecialChar LyX
38729  
38730 \emph on
38731 Math
38732 \emph default
38733  manual: 
38734 \begin_inset Quotes eld
38735 \end_inset
38736
38737 To insert a fraction use the command 
38738 \series bold
38739
38740 \backslash
38741 frac
38742 \begin_inset space \textvisiblespace{}
38743 \end_inset
38744
38745 A
38746 \begin_inset Formula $\downarrow$
38747 \end_inset
38748
38749 B.
38750 \series default
38751
38752 \begin_inset Quotes erd
38753 \end_inset
38754
38755  The visible space is hereby the character before the 
38756 \series bold
38757 A
38758 \series default
38759 .
38760 \end_layout
38761
38762 \begin_layout Description
38763 Horizontal
38764 \begin_inset space ~
38765 \end_inset
38766
38767 Space Inserts horizontal space as described in section
38768 \begin_inset space ~
38769 \end_inset
38770
38771
38772 \begin_inset CommandInset ref
38773 LatexCommand ref
38774 reference "subsec:Horizontal-Space"
38775
38776 \end_inset
38777
38778 .
38779 \end_layout
38780
38781 \begin_layout Description
38782 Horizontal
38783 \begin_inset space ~
38784 \end_inset
38785
38786 Line Inserts a horizontal line as described in section
38787 \begin_inset space ~
38788 \end_inset
38789
38790
38791 \begin_inset CommandInset ref
38792 LatexCommand ref
38793 reference "subsec:Horizontal-Lines"
38794
38795 \end_inset
38796
38797 .
38798 \end_layout
38799
38800 \begin_layout Description
38801 Vertical
38802 \begin_inset space ~
38803 \end_inset
38804
38805 Space Inserts vertical space as described in section
38806 \begin_inset space ~
38807 \end_inset
38808
38809
38810 \begin_inset CommandInset ref
38811 LatexCommand ref
38812 reference "subsec:Vertical-Space"
38813
38814 \end_inset
38815
38816 .
38817 \end_layout
38818
38819 \begin_layout Description
38820 Phantom Inserts a Phantom 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:Phantom-Space"
38828
38829 \end_inset
38830
38831 .
38832 \end_layout
38833
38834 \begin_layout Description
38835 Hyphenation
38836 \begin_inset space ~
38837 \end_inset
38838
38839 Point Inserts a hyphenation point as described in section
38840 \begin_inset space ~
38841 \end_inset
38842
38843
38844 \begin_inset CommandInset ref
38845 LatexCommand ref
38846 reference "subsec:Hyphenation"
38847
38848 \end_inset
38849
38850 .
38851 \end_layout
38852
38853 \begin_layout Description
38854 Ligature
38855 \begin_inset space ~
38856 \end_inset
38857
38858 Break Inserts a ligature break as described in section
38859 \begin_inset space ~
38860 \end_inset
38861
38862
38863 \begin_inset CommandInset ref
38864 LatexCommand ref
38865 reference "subsec:Ligatures"
38866
38867 \end_inset
38868
38869 .
38870 \end_layout
38871
38872 \begin_layout Description
38873 Optional
38874 \begin_inset space ~
38875 \end_inset
38876
38877 Line
38878 \begin_inset space ~
38879 \end_inset
38880
38881 Break Inserts a line break point (zero-width space character) that is invisible
38882  in the output.
38883  See section
38884 \begin_inset space ~
38885 \end_inset
38886
38887
38888 \begin_inset CommandInset ref
38889 LatexCommand ref
38890 reference "subsec:Dashes-and-line-breaks"
38891 plural "false"
38892 caps "false"
38893 noprefix "false"
38894
38895 \end_inset
38896
38897  for a usage example.
38898 \end_layout
38899
38900 \begin_layout Description
38901 Ragged
38902 \begin_inset space ~
38903 \end_inset
38904
38905 Line
38906 \begin_inset space ~
38907 \end_inset
38908
38909 Break Inserts a forced line break as described in section
38910 \begin_inset space ~
38911 \end_inset
38912
38913
38914 \begin_inset CommandInset ref
38915 LatexCommand ref
38916 reference "subsec:Forced-Line-Breaks"
38917
38918 \end_inset
38919
38920 .
38921 \end_layout
38922
38923 \begin_layout Description
38924 Justified
38925 \begin_inset space ~
38926 \end_inset
38927
38928 Break Inserts a forced line break that right justifies the remaining text
38929  as described in section
38930 \begin_inset space ~
38931 \end_inset
38932
38933
38934 \begin_inset CommandInset ref
38935 LatexCommand ref
38936 reference "subsec:Forced-Line-Breaks"
38937
38938 \end_inset
38939
38940 .
38941 \end_layout
38942
38943 \begin_layout Description
38944 New
38945 \begin_inset space ~
38946 \end_inset
38947
38948 Page Inserts a forced page break as described in section
38949 \begin_inset space ~
38950 \end_inset
38951
38952
38953 \begin_inset CommandInset ref
38954 LatexCommand ref
38955 reference "subsec:Forced-Page-Breaks"
38956
38957 \end_inset
38958
38959 .
38960 \end_layout
38961
38962 \begin_layout Description
38963 Page
38964 \begin_inset space ~
38965 \end_inset
38966
38967 Break Inserts a forced page break that shares the extra space among paragraph
38968  breaks instead of leaving it at the bottom of the page, as described in
38969  section
38970 \begin_inset space ~
38971 \end_inset
38972
38973
38974 \begin_inset CommandInset ref
38975 LatexCommand ref
38976 reference "subsec:Forced-Page-Breaks"
38977
38978 \end_inset
38979
38980 .
38981 \end_layout
38982
38983 \begin_layout Description
38984 Clear
38985 \begin_inset space ~
38986 \end_inset
38987
38988 Page Inserts a clear page break as described in section
38989 \begin_inset space ~
38990 \end_inset
38991
38992
38993 \begin_inset CommandInset ref
38994 LatexCommand ref
38995 reference "subsec:Clear-Page-Breaks"
38996
38997 \end_inset
38998
38999 .
39000 \end_layout
39001
39002 \begin_layout Description
39003 Clear
39004 \begin_inset space ~
39005 \end_inset
39006
39007 Double
39008 \begin_inset space ~
39009 \end_inset
39010
39011 Page Inserts a clear doublepage break as described in section
39012 \begin_inset space ~
39013 \end_inset
39014
39015
39016 \begin_inset CommandInset ref
39017 LatexCommand ref
39018 reference "subsec:Clear-Page-Breaks"
39019
39020 \end_inset
39021
39022 .
39023 \end_layout
39024
39025 \begin_layout Subsection
39026 List/TOC
39027 \end_layout
39028
39029 \begin_layout Standard
39030 Various lists can be inserted with this menu entry.
39031  The 
39032 \family sans
39033 Table
39034 \begin_inset space ~
39035 \end_inset
39036
39037 of Contents
39038 \family default
39039 , the 
39040 \family sans
39041 List of Algorithms
39042 \family default
39043
39044 \family sans
39045 List of Figures,
39046 \family default
39047  
39048 \family sans
39049 List of Tables
39050 \family default
39051  and 
39052 \family sans
39053 List of Listings
39054 \family default
39055  are described in section
39056 \begin_inset space ~
39057 \end_inset
39058
39059
39060 \begin_inset CommandInset ref
39061 LatexCommand ref
39062 reference "sec:toc"
39063
39064 \end_inset
39065
39066 .
39067  The 
39068 \family sans
39069 Index List
39070 \family default
39071  is described in section
39072 \begin_inset space ~
39073 \end_inset
39074
39075
39076 \begin_inset CommandInset ref
39077 LatexCommand ref
39078 reference "sec:Index"
39079
39080 \end_inset
39081
39082 , the 
39083 \family sans
39084 Nomenclature
39085 \family default
39086  is described in section
39087 \begin_inset space ~
39088 \end_inset
39089
39090
39091 \begin_inset CommandInset ref
39092 LatexCommand ref
39093 reference "sec:Nomenclature"
39094
39095 \end_inset
39096
39097  and the 
39098 \family sans
39099 Bib\SpecialChar TeX
39100  Bibliography
39101 \family default
39102  is described in section
39103 \begin_inset space ~
39104 \end_inset
39105
39106
39107 \begin_inset CommandInset ref
39108 LatexCommand ref
39109 reference "subsec:Bibliography-databases"
39110
39111 \end_inset
39112
39113 .
39114 \end_layout
39115
39116 \begin_layout Subsection
39117 Float
39118 \end_layout
39119
39120 \begin_layout Standard
39121 To insert floats, as described in section
39122 \begin_inset space ~
39123 \end_inset
39124
39125
39126 \begin_inset CommandInset ref
39127 LatexCommand ref
39128 reference "sec:Floats"
39129
39130 \end_inset
39131
39132  and in detail the chapter 
39133 \emph on
39134 Floats
39135 \emph default
39136  of the 
39137 \emph on
39138 Embedded
39139 \begin_inset space ~
39140 \end_inset
39141
39142 Objects
39143 \emph default
39144  manual.
39145 \end_layout
39146
39147 \begin_layout Subsection
39148 Note
39149 \end_layout
39150
39151 \begin_layout Standard
39152 To insert notes, described in section
39153 \begin_inset space ~
39154 \end_inset
39155
39156
39157 \begin_inset CommandInset ref
39158 LatexCommand ref
39159 reference "sec:Notes"
39160
39161 \end_inset
39162
39163 .
39164 \end_layout
39165
39166 \begin_layout Subsection
39167 Branch
39168 \end_layout
39169
39170 \begin_layout Standard
39171 Inserts a branch inset, if any, and allowing you to create and insert a
39172  new branch.
39173  Branches are described in section
39174 \begin_inset space ~
39175 \end_inset
39176
39177
39178 \begin_inset CommandInset ref
39179 LatexCommand ref
39180 reference "sec:Branches"
39181
39182 \end_inset
39183
39184 .
39185 \end_layout
39186
39187 \begin_layout Subsection
39188 Custom Insets
39189 \end_layout
39190
39191 \begin_layout Standard
39192 Inserts document class-specific insets.
39193  Such insets only exist if they are defined in the layout file for a certain
39194  document class.
39195  An example is the document class 
39196 \begin_inset Quotes eld
39197 \end_inset
39198
39199 article (Elsevier)
39200 \begin_inset Quotes erd
39201 \end_inset
39202
39203  with three custom insets.
39204  The section 
39205 \emph on
39206 Flex insets and InsetLayout
39207 \emph default
39208  in 
39209 \emph on
39210 Installing New Document Classes, The Layout file format 
39211 \emph default
39212 of the 
39213 \emph on
39214 Customization
39215 \emph default
39216  manual explains how custom insets are defined.
39217 \end_layout
39218
39219 \begin_layout Subsection
39220 File
39221 \begin_inset Index idx
39222 status collapsed
39223
39224 \begin_layout Plain Layout
39225 External Material
39226 \end_layout
39227
39228 \end_inset
39229
39230
39231 \end_layout
39232
39233 \begin_layout Standard
39234 This menu entry allows you to insert or include the contents of other files
39235  in your document.
39236  For more information see chapter 
39237 \emph on
39238 External Document Parts
39239 \emph default
39240  of the Embedded
39241 \begin_inset space ~
39242 \end_inset
39243
39244 Objects manual.
39245 \end_layout
39246
39247 \begin_layout Subsection
39248 Box
39249 \begin_inset Index idx
39250 status collapsed
39251
39252 \begin_layout Plain Layout
39253 Boxes
39254 \end_layout
39255
39256 \end_inset
39257
39258
39259 \end_layout
39260
39261 \begin_layout Standard
39262 Inserts a box in a certain style.
39263  Boxes are described in detail in the chapter 
39264 \emph on
39265 Boxes
39266 \emph default
39267  of the 
39268 \emph on
39269 Embedded
39270 \begin_inset space ~
39271 \end_inset
39272
39273 Objects
39274 \emph default
39275  manual.
39276 \end_layout
39277
39278 \begin_layout Subsection
39279 Citation
39280 \end_layout
39281
39282 \begin_layout Standard
39283 Opens the 
39284 \family sans
39285 Citation
39286 \family default
39287  dialog as described in section
39288 \begin_inset space ~
39289 \end_inset
39290
39291
39292 \begin_inset CommandInset ref
39293 LatexCommand ref
39294 reference "sec:Bibliography"
39295
39296 \end_inset
39297
39298 .
39299 \end_layout
39300
39301 \begin_layout Subsection
39302 Cross-Reference
39303 \end_layout
39304
39305 \begin_layout Standard
39306 Inserts a 
39307 \family sans
39308 cross-reference
39309 \family default
39310  as described in section
39311 \begin_inset space ~
39312 \end_inset
39313
39314
39315 \begin_inset CommandInset ref
39316 LatexCommand ref
39317 reference "sec:Cross-References"
39318
39319 \end_inset
39320
39321 .
39322 \end_layout
39323
39324 \begin_layout Subsection
39325 Label
39326 \end_layout
39327
39328 \begin_layout Standard
39329 Inserts a 
39330 \family sans
39331 label
39332 \family default
39333  as described in section
39334 \begin_inset space ~
39335 \end_inset
39336
39337
39338 \begin_inset CommandInset ref
39339 LatexCommand ref
39340 reference "sec:Cross-References"
39341
39342 \end_inset
39343
39344 .
39345 \end_layout
39346
39347 \begin_layout Subsection
39348 Caption
39349 \begin_inset Index idx
39350 status collapsed
39351
39352 \begin_layout Plain Layout
39353 Captions
39354 \end_layout
39355
39356 \end_inset
39357
39358
39359 \begin_inset Index idx
39360 status collapsed
39361
39362 \begin_layout Plain Layout
39363 Tables ! Multi-page ! Caption
39364 \end_layout
39365
39366 \end_inset
39367
39368
39369 \end_layout
39370
39371 \begin_layout Standard
39372 Inserts a caption in a float or multi-page table.
39373  Floats are described in section
39374 \begin_inset space ~
39375 \end_inset
39376
39377
39378 \begin_inset CommandInset ref
39379 LatexCommand ref
39380 reference "sec:Floats"
39381
39382 \end_inset
39383
39384 ; captions in multi-page tables are described in the section 
39385 \emph on
39386 Multi-page Captions
39387 \emph default
39388  of the 
39389 \emph on
39390 Embedded
39391 \begin_inset space ~
39392 \end_inset
39393
39394 Objects
39395 \emph default
39396  manual.
39397 \end_layout
39398
39399 \begin_layout Subsection
39400 Index Entry
39401 \end_layout
39402
39403 \begin_layout Standard
39404 Inserts an index entry as described in section
39405 \begin_inset space ~
39406 \end_inset
39407
39408
39409 \begin_inset CommandInset ref
39410 LatexCommand ref
39411 reference "sec:Index"
39412
39413 \end_inset
39414
39415 .
39416 \end_layout
39417
39418 \begin_layout Subsection
39419 Nomenclature Entry
39420 \end_layout
39421
39422 \begin_layout Standard
39423 Inserts a nomenclature entry as described in section
39424 \begin_inset space ~
39425 \end_inset
39426
39427
39428 \begin_inset CommandInset ref
39429 LatexCommand ref
39430 reference "sec:Nomenclature"
39431
39432 \end_inset
39433
39434 .
39435 \end_layout
39436
39437 \begin_layout Subsection
39438 Table
39439 \end_layout
39440
39441 \begin_layout Standard
39442 Opens a dialog allowing you to specify the rows and columns of the table.
39443  Tables are described in section
39444 \begin_inset space ~
39445 \end_inset
39446
39447
39448 \begin_inset CommandInset ref
39449 LatexCommand ref
39450 reference "sec:Tables"
39451
39452 \end_inset
39453
39454  and in detail in the chapter 
39455 \emph on
39456 Tables
39457 \emph default
39458  of the 
39459 \emph on
39460 Embedded
39461 \begin_inset space ~
39462 \end_inset
39463
39464 Objects
39465 \emph default
39466  manual.
39467 \end_layout
39468
39469 \begin_layout Subsection
39470 Graphics
39471 \end_layout
39472
39473 \begin_layout Standard
39474 Opens the 
39475 \family sans
39476 Graphics
39477 \family default
39478  dialog.
39479  Graphics are described in section
39480 \begin_inset space ~
39481 \end_inset
39482
39483
39484 \begin_inset CommandInset ref
39485 LatexCommand ref
39486 reference "sec:Graphics"
39487
39488 \end_inset
39489
39490 .
39491 \end_layout
39492
39493 \begin_layout Subsection
39494 URL
39495 \end_layout
39496
39497 \begin_layout Standard
39498 Inserts a URL as described in section
39499 \begin_inset space ~
39500 \end_inset
39501
39502
39503 \begin_inset CommandInset ref
39504 LatexCommand ref
39505 reference "subsec:URLs"
39506
39507 \end_inset
39508
39509 .
39510 \end_layout
39511
39512 \begin_layout Subsection
39513 Hyperlink
39514 \end_layout
39515
39516 \begin_layout Standard
39517 Inserts a hyperlink as described in section
39518 \begin_inset space ~
39519 \end_inset
39520
39521
39522 \begin_inset CommandInset ref
39523 LatexCommand ref
39524 reference "subsec:Hyperlinks"
39525
39526 \end_inset
39527
39528 .
39529 \end_layout
39530
39531 \begin_layout Subsection
39532 Footnote
39533 \end_layout
39534
39535 \begin_layout Standard
39536 Inserts a footnote as described in section
39537 \begin_inset space ~
39538 \end_inset
39539
39540
39541 \begin_inset CommandInset ref
39542 LatexCommand ref
39543 reference "sec:Footnotes"
39544
39545 \end_inset
39546
39547 .
39548 \end_layout
39549
39550 \begin_layout Subsection
39551 Marginal Note
39552 \end_layout
39553
39554 \begin_layout Standard
39555 Inserts a marginal note as described in section
39556 \begin_inset space ~
39557 \end_inset
39558
39559
39560 \begin_inset CommandInset ref
39561 LatexCommand ref
39562 reference "sec:Marginal-Notes"
39563
39564 \end_inset
39565
39566 .
39567 \end_layout
39568
39569 \begin_layout Subsection
39570 Short Title
39571 \end_layout
39572
39573 \begin_layout Standard
39574 Is only visible if the cursor is in front, in or behind a section heading,
39575  title or caption of a float.
39576  Inserts a short title as described in section
39577 \begin_inset space ~
39578 \end_inset
39579
39580
39581 \begin_inset CommandInset ref
39582 LatexCommand ref
39583 reference "sec:Short-Titles"
39584
39585 \end_inset
39586
39587 .
39588 \end_layout
39589
39590 \begin_layout Subsection
39591 \SpecialChar TeX
39592  Code
39593 \end_layout
39594
39595 \begin_layout Standard
39596 Inserts a \SpecialChar TeX
39597  Code box as described in section
39598 \begin_inset space ~
39599 \end_inset
39600
39601
39602 \begin_inset CommandInset ref
39603 LatexCommand ref
39604 reference "subsec:TeX-Code-Boxes"
39605
39606 \end_inset
39607
39608 .
39609 \end_layout
39610
39611 \begin_layout Subsection
39612 Program Listing
39613 \begin_inset Index idx
39614 status collapsed
39615
39616 \begin_layout Plain Layout
39617 Program listings
39618 \end_layout
39619
39620 \end_inset
39621
39622
39623 \end_layout
39624
39625 \begin_layout Standard
39626 Inserts a program listings box.
39627  Program listings are explained in the chapter 
39628 \emph on
39629 Program Code Listings
39630 \emph default
39631  of the 
39632 \emph on
39633 Embedded
39634 \begin_inset space ~
39635 \end_inset
39636
39637 Objects
39638 \emph default
39639  manual.
39640 \end_layout
39641
39642 \begin_layout Subsection
39643 Date
39644 \end_layout
39645
39646 \begin_layout Standard
39647 Inserts the actual date.
39648  The format depends on the date format of the language that is used for
39649  \SpecialChar LyX
39650 's menus.
39651 \end_layout
39652
39653 \begin_layout Subsection
39654 Preview
39655 \end_layout
39656
39657 \begin_layout Standard
39658 Inserts a preview inset as described in section
39659 \begin_inset space ~
39660 \end_inset
39661
39662
39663 \begin_inset CommandInset ref
39664 LatexCommand ref
39665 reference "sec:Previewing-snippets-of"
39666
39667 \end_inset
39668
39669 .
39670 \end_layout
39671
39672 \begin_layout Section
39673 The Navigate Menu
39674 \begin_inset Index idx
39675 status collapsed
39676
39677 \begin_layout Plain Layout
39678 Menu ! Navigate
39679 \end_layout
39680
39681 \end_inset
39682
39683
39684 \end_layout
39685
39686 \begin_layout Standard
39687 This menu lists the existing chapters, sections, figures, tables, etc.
39688 \begin_inset space ~
39689 \end_inset
39690
39691 of the current document.
39692  This allows you to navigate easily through your document.
39693 \end_layout
39694
39695 \begin_layout Subsection
39696 Bookmarks
39697 \end_layout
39698
39699 \begin_layout Standard
39700 With this menu entry you are able to define your own bookmarks.
39701  This is useful when you are working on a large document and often have
39702  to jump, for example, between section
39703 \begin_inset space ~
39704 \end_inset
39705
39706 2.5 and 6.3.
39707  To create bookmarks for this example, go to section
39708 \begin_inset space ~
39709 \end_inset
39710
39711 2.5 and use the submenu 
39712 \family sans
39713 Save
39714 \begin_inset space ~
39715 \end_inset
39716
39717 Bookmark
39718 \begin_inset space ~
39719 \end_inset
39720
39721 1
39722 \family default
39723 .
39724  Then go to section
39725 \begin_inset space ~
39726 \end_inset
39727
39728 6.3 and use 
39729 \family sans
39730 Save
39731 \begin_inset space ~
39732 \end_inset
39733
39734 Bookmark
39735 \begin_inset space ~
39736 \end_inset
39737
39738
39739 \family default
39740 2.
39741  Now you can jump easily between these sections by using the menu or by
39742  the key bindings 
39743 \begin_inset Info
39744 type  "shortcut"
39745 arg   "bookmark-goto 1"
39746 \end_inset
39747
39748  and 
39749 \begin_inset Info
39750 type  "shortcut"
39751 arg   "bookmark-goto 2"
39752 \end_inset
39753
39754 .You can also use bookmarks to jump between several opened documents.
39755 \end_layout
39756
39757 \begin_layout Standard
39758 The saved bookmarks are valid till the document is closed.
39759  The submenu 
39760 \family sans
39761 Clear
39762 \begin_inset space ~
39763 \end_inset
39764
39765 Bookmarks
39766 \family default
39767  allows you to clear bookmarks while the submenu 
39768 \family sans
39769 Navigate
39770 \begin_inset space ~
39771 \end_inset
39772
39773 Back
39774 \family default
39775  jumps to the position in the document where you recently changed something.
39776 \end_layout
39777
39778 \begin_layout Subsection
39779 Next Note, Change, Cross-reference
39780 \end_layout
39781
39782 \begin_layout Standard
39783 Jump to the next note, change, or cross-reference after the current cursor
39784  position.
39785 \end_layout
39786
39787 \begin_layout Subsection
39788 Go to Label
39789 \end_layout
39790
39791 \begin_layout Standard
39792 Only active if the cursor is in front of a cross-reference.
39793  Sets the cursor before the referenced label.
39794  (It is the same as if you right-click on a cross-reference box and use
39795  
39796 \family sans
39797 Go
39798 \begin_inset space ~
39799 \end_inset
39800
39801 to
39802 \begin_inset space ~
39803 \end_inset
39804
39805 Label)
39806 \family default
39807 .
39808 \end_layout
39809
39810 \begin_layout Subsection
39811 Forward Search
39812 \end_layout
39813
39814 \begin_layout Standard
39815 Allows you to jump directly to the corresponding text part in the output,
39816  see section 
39817 \emph on
39818 The \SpecialChar LyX
39819  Server\SpecialChar menuseparator
39820 Forward
39821 \begin_inset space ~
39822 \end_inset
39823
39824 search
39825 \emph default
39826  in the 
39827 \emph on
39828 Additional
39829 \begin_inset space ~
39830 \end_inset
39831
39832 Features
39833 \emph default
39834  manual for a detailed description.
39835 \end_layout
39836
39837 \begin_layout Section
39838 The Document Menu
39839 \begin_inset Index idx
39840 status collapsed
39841
39842 \begin_layout Plain Layout
39843 Menu ! Document
39844 \end_layout
39845
39846 \end_inset
39847
39848
39849 \end_layout
39850
39851 \begin_layout Subsection
39852 Change Tracking
39853 \end_layout
39854
39855 \begin_layout Standard
39856 Change Tracking is described in section
39857 \begin_inset space ~
39858 \end_inset
39859
39860
39861 \begin_inset CommandInset ref
39862 LatexCommand ref
39863 reference "sec:Change-Tracking"
39864
39865 \end_inset
39866
39867 .
39868 \end_layout
39869
39870 \begin_layout Subsection
39871 La
39872 \family sans
39873 TeX
39874 \family default
39875  Log
39876 \end_layout
39877
39878 \begin_layout Standard
39879 After running \SpecialChar LaTeX
39880  by viewing or exporting a document, this menu will be enabled.
39881  It shows the logfile of the \SpecialChar LaTeX
39882 -program used.
39883  You can go to the next error or the next warning, search, copy something
39884  to the clipboard or update the view.
39885 \begin_inset Newline newline
39886 \end_inset
39887
39888 With the help of the logfile, experts can find reasons for \SpecialChar LaTeX
39889 -errors.
39890 \end_layout
39891
39892 \begin_layout Standard
39893 With the button 
39894 \family sans
39895 Open Containing Directory
39896 \family default
39897  one can open \SpecialChar LyX
39898 's temporary folder for the document.
39899  This folder contains all converted and created files to generate the output.
39900  Some of these files might be of interest for experts to solve problems
39901  or for writers who need to supply intermediate files.
39902  For example some journals require to send the 
39903 \family sans
39904 *.bbl
39905 \family default
39906  file (a text file with the used Bib\SpecialChar TeX
39907  references).
39908 \end_layout
39909
39910 \begin_layout Subsection
39911 Start Appendix Here
39912 \end_layout
39913
39914 \begin_layout Standard
39915 Sets the start of the appendices of the document at the current cursor position
39916  as described in section
39917 \begin_inset space ~
39918 \end_inset
39919
39920
39921 \begin_inset CommandInset ref
39922 LatexCommand ref
39923 reference "sec:Appendices"
39924
39925 \end_inset
39926
39927 .
39928 \end_layout
39929
39930 \begin_layout Subsection
39931 View
39932 \begin_inset space ~
39933 \end_inset
39934
39935 [<output format>]
39936 \end_layout
39937
39938 \begin_layout Standard
39939 This menu entry generates the output in the format you have specified as
39940  default output format for the document (menu 
39941 \family sans
39942 Document\SpecialChar menuseparator
39943 Settings\SpecialChar menuseparator
39944 Output\SpecialChar menuseparator
39945 Default
39946 \begin_inset space ~
39947 \end_inset
39948
39949 Output
39950 \begin_inset space ~
39951 \end_inset
39952
39953 Format
39954 \family default
39955 ; see section
39956 \begin_inset space ~
39957 \end_inset
39958
39959
39960 \begin_inset CommandInset ref
39961 LatexCommand ref
39962 reference "sec:Doc-Formats"
39963
39964 \end_inset
39965
39966 ) or in the \SpecialChar LyX
39967  preferences (menu 
39968 \family sans
39969 Tools\SpecialChar menuseparator
39970 Preferences\SpecialChar menuseparator
39971 File
39972 \begin_inset space ~
39973 \end_inset
39974
39975 Handling\SpecialChar menuseparator
39976 File
39977 \begin_inset space ~
39978 \end_inset
39979
39980 Formats\SpecialChar menuseparator
39981 Default
39982 \begin_inset space ~
39983 \end_inset
39984
39985 Output
39986 \begin_inset space ~
39987 \end_inset
39988
39989 Format
39990 \family default
39991 ; see section
39992 \begin_inset space ~
39993 \end_inset
39994
39995
39996 \begin_inset CommandInset ref
39997 LatexCommand ref
39998 reference "sec:File-Formats"
39999
40000 \end_inset
40001
40002 ) and opens it in an appropriate viewer.
40003  The viewer can be set or changed in the preferences (menu 
40004 \family sans
40005 Tools\SpecialChar menuseparator
40006 Preferences\SpecialChar menuseparator
40007 File
40008 \begin_inset space ~
40009 \end_inset
40010
40011 Handling\SpecialChar menuseparator
40012 File
40013 \begin_inset space ~
40014 \end_inset
40015
40016 Formats\SpecialChar menuseparator
40017 Viewer
40018 \family default
40019 ; see section
40020 \begin_inset space ~
40021 \end_inset
40022
40023
40024 \begin_inset CommandInset ref
40025 LatexCommand ref
40026 reference "sec:File-Formats"
40027
40028 \end_inset
40029
40030 ).
40031  The default viewers are set by \SpecialChar LyX
40032  when it is first configured.
40033  The default output format is 
40034 \family sans
40035 PDF
40036 \begin_inset space ~
40037 \end_inset
40038
40039 (pdflatex)
40040 \family default
40041 .
40042 \end_layout
40043
40044 \begin_layout Subsection
40045 View (Other Formats)
40046 \end_layout
40047
40048 \begin_layout Standard
40049 With this menu you can view your document in alternative output formats.
40050  The menu contains a list of available formats in which you can view the
40051  actual document with an external program.
40052  The menu entries are not the same on all installations — it depends on
40053  the \SpecialChar LaTeX
40054  programs that are found when \SpecialChar LyX
40055  was configured.
40056  All possible formats are listed in section
40057 \begin_inset space ~
40058 \end_inset
40059
40060
40061 \begin_inset CommandInset ref
40062 LatexCommand ref
40063 reference "subsec:Export"
40064
40065 \end_inset
40066
40067 .
40068  You should at least see the menu entry 
40069 \family sans
40070 DVI
40071 \family default
40072 .
40073  If it is missing, you need to update or repair your \SpecialChar LaTeX
40074  installation.
40075  After updating you have to reconfigure \SpecialChar LyX
40076  (see section
40077 \begin_inset space ~
40078 \end_inset
40079
40080
40081 \begin_inset CommandInset ref
40082 LatexCommand ref
40083 reference "sec:Basic-LyX-Setup"
40084
40085 \end_inset
40086
40087 .
40088 \begin_inset Index idx
40089 status collapsed
40090
40091 \begin_layout Plain Layout
40092 Reconfiguration of \SpecialChar LyX
40093
40094 \end_layout
40095
40096 \end_inset
40097
40098 )
40099 \end_layout
40100
40101 \begin_layout Standard
40102 Invoking a view menu will start a viewer program.
40103  The viewer can be set or changed in the preferences (menu 
40104 \family sans
40105 Tools\SpecialChar menuseparator
40106 Preferences\SpecialChar menuseparator
40107 File
40108 \begin_inset space ~
40109 \end_inset
40110
40111 Handling\SpecialChar menuseparator
40112 File
40113 \begin_inset space ~
40114 \end_inset
40115
40116 Formats\SpecialChar menuseparator
40117 Viewer
40118 \family default
40119 ; see section
40120 \begin_inset space ~
40121 \end_inset
40122
40123
40124 \begin_inset CommandInset ref
40125 LatexCommand ref
40126 reference "sec:File-Formats"
40127
40128 \end_inset
40129
40130 ).
40131  The default viewers are set by \SpecialChar LyX
40132  when it is first configured.
40133 \end_layout
40134
40135 \begin_layout Subsection
40136 Update
40137 \begin_inset space ~
40138 \end_inset
40139
40140 [<output format>]
40141 \end_layout
40142
40143 \begin_layout Standard
40144 This menu entry allows you to update the view with your latest changes (in
40145  the default output format) without opening a new viewer window.
40146 \end_layout
40147
40148 \begin_layout Subsection
40149 Update (Other Formats)
40150 \end_layout
40151
40152 \begin_layout Standard
40153 With this menu you can update the view of alternative output formats of
40154  your document without opening a new viewer window.
40155 \end_layout
40156
40157 \begin_layout Subsection
40158 View Master Document
40159 \end_layout
40160
40161 \begin_layout Standard
40162 This menu item is only visible if your document is included to another document,
40163  which is then its 
40164 \begin_inset Quotes eld
40165 \end_inset
40166
40167 master
40168 \begin_inset Quotes erd
40169 \end_inset
40170
40171  (see section 
40172 \emph on
40173 Child Documents
40174 \emph default
40175  in the 
40176 \emph on
40177 Embedded
40178 \begin_inset space ~
40179 \end_inset
40180
40181 Objects
40182 \emph default
40183  manual for more information on this topic).
40184  This item allows you to view the master document from within its child.
40185  That is, if you are working on a child document which is a chapter of a
40186  book, 
40187 \family sans
40188 View
40189 \begin_inset space ~
40190 \end_inset
40191
40192 Master
40193 \begin_inset space ~
40194 \end_inset
40195
40196 Document
40197 \family default
40198  generates the output of the whole book, while 
40199 \family sans
40200 View
40201 \family default
40202  will just output the chapter alone.
40203 \end_layout
40204
40205 \begin_layout Standard
40206 The format used by this function is the default output format as specified
40207  in the document settings (menu 
40208 \family sans
40209 Document\SpecialChar menuseparator
40210 Settings\SpecialChar menuseparator
40211 Output\SpecialChar menuseparator
40212 Default
40213 \begin_inset space ~
40214 \end_inset
40215
40216 Output
40217 \begin_inset space ~
40218 \end_inset
40219
40220 Format
40221 \family default
40222 ; see section
40223 \begin_inset space ~
40224 \end_inset
40225
40226
40227 \begin_inset CommandInset ref
40228 LatexCommand ref
40229 reference "sec:Doc-Formats"
40230
40231 \end_inset
40232
40233 ) or in the preferences (menu 
40234 \family sans
40235 Tools\SpecialChar menuseparator
40236 Preferences\SpecialChar menuseparator
40237 File
40238 \begin_inset space ~
40239 \end_inset
40240
40241 Handling\SpecialChar menuseparator
40242 File
40243 \begin_inset space ~
40244 \end_inset
40245
40246 Formats\SpecialChar menuseparator
40247 Default
40248 \begin_inset space ~
40249 \end_inset
40250
40251 Output
40252 \begin_inset space ~
40253 \end_inset
40254
40255 Format
40256 \family default
40257 ; see section
40258 \begin_inset space ~
40259 \end_inset
40260
40261
40262 \begin_inset CommandInset ref
40263 LatexCommand ref
40264 reference "sec:File-Formats"
40265
40266 \end_inset
40267
40268 ).
40269 \end_layout
40270
40271 \begin_layout Subsection
40272 Update Master Document
40273 \end_layout
40274
40275 \begin_layout Standard
40276 This menu item is only visible if your document is included to another document,
40277  which is then its 
40278 \begin_inset Quotes eld
40279 \end_inset
40280
40281 master
40282 \begin_inset Quotes erd
40283 \end_inset
40284
40285  (see section 
40286 \emph on
40287 Child Documents
40288 \emph default
40289  in the 
40290 \emph on
40291 Embedded
40292 \begin_inset space ~
40293 \end_inset
40294
40295 Objects
40296 \emph default
40297  manual for more information on this topic).
40298  This item allows you to update the view of a master document from within
40299  its child without the need to switch to the master document itself.
40300 \end_layout
40301
40302 \begin_layout Standard
40303 The format used by this function is the default output format as specified
40304  in the document settings (menu 
40305 \family sans
40306 Document\SpecialChar menuseparator
40307 Settings\SpecialChar menuseparator
40308 Output\SpecialChar menuseparator
40309 Default
40310 \begin_inset space ~
40311 \end_inset
40312
40313 Output
40314 \begin_inset space ~
40315 \end_inset
40316
40317 Format
40318 \family default
40319 ; see section
40320 \begin_inset space ~
40321 \end_inset
40322
40323
40324 \begin_inset CommandInset ref
40325 LatexCommand ref
40326 reference "sec:Doc-Formats"
40327
40328 \end_inset
40329
40330 ) or in the preferences (menu 
40331 \family sans
40332 Tools\SpecialChar menuseparator
40333 Preferences\SpecialChar menuseparator
40334 File
40335 \begin_inset space ~
40336 \end_inset
40337
40338 Handling\SpecialChar menuseparator
40339 File
40340 \begin_inset space ~
40341 \end_inset
40342
40343 Formats\SpecialChar menuseparator
40344 Default
40345 \begin_inset space ~
40346 \end_inset
40347
40348 Output
40349 \begin_inset space ~
40350 \end_inset
40351
40352 Format
40353 \family default
40354 ; see section
40355 \begin_inset space ~
40356 \end_inset
40357
40358
40359 \begin_inset CommandInset ref
40360 LatexCommand ref
40361 reference "sec:File-Formats"
40362
40363 \end_inset
40364
40365 ).
40366 \end_layout
40367
40368 \begin_layout Subsection
40369 Compressed
40370 \begin_inset CommandInset label
40371 LatexCommand label
40372 name "subsec:Compressed"
40373
40374 \end_inset
40375
40376
40377 \end_layout
40378
40379 \begin_layout Standard
40380 Un/compresses the current document.
40381  For documents under version control it is strongly recommended to disable
40382  compression (see the 
40383 \emph on
40384 Additional Features
40385 \emph default
40386  manual for details).
40387 \end_layout
40388
40389 \begin_layout Subsection
40390 Disable Editing
40391 \end_layout
40392
40393 \begin_layout Standard
40394 Toggles the read-only state for the document.
40395 \end_layout
40396
40397 \begin_layout Subsection
40398 Settings
40399 \end_layout
40400
40401 \begin_layout Standard
40402 The document settings are described in appendix
40403 \begin_inset space ~
40404 \end_inset
40405
40406
40407 \begin_inset CommandInset ref
40408 LatexCommand ref
40409 reference "chap:The-Document-Settings"
40410
40411 \end_inset
40412
40413 .
40414 \end_layout
40415
40416 \begin_layout Section
40417 The Tools Menu
40418 \begin_inset Index idx
40419 status collapsed
40420
40421 \begin_layout Plain Layout
40422 Menu ! Tools
40423 \end_layout
40424
40425 \end_inset
40426
40427
40428 \end_layout
40429
40430 \begin_layout Subsection
40431 Spellchecker
40432 \end_layout
40433
40434 \begin_layout Standard
40435 Spell checking is explained in section
40436 \begin_inset space ~
40437 \end_inset
40438
40439
40440 \begin_inset CommandInset ref
40441 LatexCommand ref
40442 reference "sec:Spellchecking"
40443
40444 \end_inset
40445
40446 .
40447 \end_layout
40448
40449 \begin_layout Subsection
40450 Thesaurus
40451 \end_layout
40452
40453 \begin_layout Standard
40454 The thesaurus is described in section
40455 \begin_inset space ~
40456 \end_inset
40457
40458
40459 \begin_inset CommandInset ref
40460 LatexCommand ref
40461 reference "sec:Thesaurus"
40462
40463 \end_inset
40464
40465 .
40466 \end_layout
40467
40468 \begin_layout Subsection
40469 Statistics
40470 \begin_inset Index idx
40471 status collapsed
40472
40473 \begin_layout Plain Layout
40474 Word count
40475 \end_layout
40476
40477 \end_inset
40478
40479
40480 \begin_inset Index idx
40481 status collapsed
40482
40483 \begin_layout Plain Layout
40484 Character count
40485 \end_layout
40486
40487 \end_inset
40488
40489
40490 \end_layout
40491
40492 \begin_layout Standard
40493 Returns the number of the words and characters in the actual document or
40494  the highlighted document part.
40495 \end_layout
40496
40497 \begin_layout Subsection
40498 Check 
40499 \family sans
40500 TeX
40501 \family default
40502
40503 \begin_inset Index idx
40504 status collapsed
40505
40506 \begin_layout Plain Layout
40507 Chk\SpecialChar TeX
40508
40509 \end_layout
40510
40511 \end_inset
40512
40513
40514 \end_layout
40515
40516 \begin_layout Standard
40517 Generates with the help of the program 
40518 \family typewriter
40519 Chk\SpecialChar TeX
40520
40521 \family default
40522  a log of possible \SpecialChar LaTeX
40523 -errors and displays it in a dialog.
40524  This feature is not available on Windows.
40525 \end_layout
40526
40527 \begin_layout Subsection
40528
40529 \family sans
40530 TeX
40531 \family default
40532  Information
40533 \begin_inset Index idx
40534 status collapsed
40535
40536 \begin_layout Plain Layout
40537 \SpecialChar TeX
40538  Information
40539 \end_layout
40540
40541 \end_inset
40542
40543
40544 \end_layout
40545
40546 \begin_layout Standard
40547 Shows you a list of the document classes and styles installed in your \SpecialChar LaTeX
40548 -system.
40549  Use the option 
40550 \family sans
40551 Show
40552 \begin_inset space ~
40553 \end_inset
40554
40555 path
40556 \family default
40557  to see the full filename paths.
40558 \end_layout
40559
40560 \begin_layout Subsection
40561 Compare
40562 \begin_inset Index idx
40563 status collapsed
40564
40565 \begin_layout Plain Layout
40566 Compare
40567 \end_layout
40568
40569 \end_inset
40570
40571
40572 \end_layout
40573
40574 \begin_layout Standard
40575 Opens a dialog to compare \SpecialChar LyX
40576  files as described in section
40577 \begin_inset space ~
40578 \end_inset
40579
40580
40581 \begin_inset CommandInset ref
40582 LatexCommand ref
40583 reference "sec:Comparison-of-Documents"
40584
40585 \end_inset
40586
40587 .
40588 \end_layout
40589
40590 \begin_layout Subsection
40591 Reconfigure
40592 \begin_inset Index idx
40593 status collapsed
40594
40595 \begin_layout Plain Layout
40596 \SpecialChar LyX
40597  ! Reconfigure|see
40598 \begin_inset ERT
40599 status collapsed
40600
40601 \begin_layout Plain Layout
40602
40603 {
40604 \end_layout
40605
40606 \end_inset
40607
40608 Reconfiguration of \SpecialChar LyX
40609
40610 \begin_inset ERT
40611 status collapsed
40612
40613 \begin_layout Plain Layout
40614
40615 }
40616 \end_layout
40617
40618 \end_inset
40619
40620
40621 \end_layout
40622
40623 \end_inset
40624
40625
40626 \begin_inset Index idx
40627 status collapsed
40628
40629 \begin_layout Plain Layout
40630 Reconfiguration of \SpecialChar LyX
40631
40632 \end_layout
40633
40634 \end_inset
40635
40636
40637 \end_layout
40638
40639 \begin_layout Standard
40640 Reconfigures \SpecialChar LyX
40641 ; that is, \SpecialChar LyX
40642  looks for \SpecialChar LaTeX
40643 -packages and programs it needs; see
40644  also section
40645 \begin_inset space ~
40646 \end_inset
40647
40648
40649 \begin_inset CommandInset ref
40650 LatexCommand ref
40651 reference "sec:Basic-LyX-Setup"
40652
40653 \end_inset
40654
40655 .
40656 \end_layout
40657
40658 \begin_layout Subsection
40659 Preferences
40660 \end_layout
40661
40662 \begin_layout Standard
40663 Opens the 
40664 \family sans
40665 Preferences
40666 \family default
40667  dialog as described in detail in appendix
40668 \begin_inset space ~
40669 \end_inset
40670
40671
40672 \begin_inset CommandInset ref
40673 LatexCommand ref
40674 reference "chap:The-Preferences-dialog"
40675
40676 \end_inset
40677
40678 .
40679 \end_layout
40680
40681 \begin_layout Section
40682 The Help Menu
40683 \begin_inset Index idx
40684 status collapsed
40685
40686 \begin_layout Plain Layout
40687 Menu ! Help
40688 \end_layout
40689
40690 \end_inset
40691
40692
40693 \end_layout
40694
40695 \begin_layout Standard
40696 This menu lists the documentation files of \SpecialChar LyX
40697  in the language of \SpecialChar LyX
40698 's menus.
40699  If a file is not available in this language, the English version will be
40700  listed.
40701 \end_layout
40702
40703 \begin_layout Standard
40704 The menu 
40705 \family sans
40706 LaTeX
40707 \begin_inset space ~
40708 \end_inset
40709
40710 Configuration
40711 \family default
40712  shows a \SpecialChar LyX
40713  document with information about the \SpecialChar LaTeX
40714  packages and classes found
40715  by \SpecialChar LyX
40716  (see also section
40717 \begin_inset space ~
40718 \end_inset
40719
40720
40721 \begin_inset CommandInset ref
40722 LatexCommand ref
40723 reference "sec:LaTeX-Setup"
40724
40725 \end_inset
40726
40727 ).
40728 \end_layout
40729
40730 \begin_layout Standard
40731 The menu 
40732 \family sans
40733 About
40734 \begin_inset space ~
40735 \end_inset
40736
40737 LyX
40738 \family default
40739  gives information about the copyright, the credits and the \SpecialChar LyX
40740  version you
40741  are using.
40742 \end_layout
40743
40744 \begin_layout Section
40745 Toolbars
40746 \begin_inset CommandInset label
40747 LatexCommand label
40748 name "sec:Toolbars"
40749
40750 \end_inset
40751
40752
40753 \end_layout
40754
40755 \begin_layout Standard
40756 How to show or hide toolbars is explained in section
40757 \begin_inset space ~
40758 \end_inset
40759
40760
40761 \begin_inset CommandInset ref
40762 LatexCommand ref
40763 reference "subsec:Toolbars"
40764
40765 \end_inset
40766
40767 .
40768 \end_layout
40769
40770 \begin_layout Standard
40771 It is also possible to define custom toolbars.
40772  This is described in the 
40773 \emph on
40774 Additional Features
40775 \emph default
40776  manual.
40777 \end_layout
40778
40779 \begin_layout Subsection
40780 Standard Toolbar
40781 \begin_inset Index idx
40782 status collapsed
40783
40784 \begin_layout Plain Layout
40785 Toolbar ! Standard
40786 \end_layout
40787
40788 \end_inset
40789
40790
40791 \end_layout
40792
40793 \begin_layout Standard
40794 \begin_inset Graphics
40795         filename clipart/StandardToolbar.png
40796         width 100col%
40797
40798 \end_inset
40799
40800
40801 \end_layout
40802
40803 \begin_layout Standard
40804 \begin_inset VSpace defskip
40805 \end_inset
40806
40807
40808 \end_layout
40809
40810 \begin_layout Standard
40811 The standard toolbar as shown above contains from left to right the following
40812  buttons:
40813 \begin_inset ERT
40814 status collapsed
40815
40816 \begin_layout Plain Layout
40817
40818
40819 \backslash
40820 setlength{
40821 \backslash
40822 LTleft}{0pt}
40823 \end_layout
40824
40825 \end_inset
40826
40827
40828 \begin_inset Note Note
40829 status collapsed
40830
40831 \begin_layout Plain Layout
40832 This is necessary to left align the following longtables.
40833  See the 
40834 \emph on
40835 Embedded Objects
40836 \emph default
40837  manual for more information.
40838 \end_layout
40839
40840 \end_inset
40841
40842
40843 \end_layout
40844
40845 \begin_layout Standard
40846 \begin_inset VSpace defskip
40847 \end_inset
40848
40849
40850 \end_layout
40851
40852 \begin_layout Standard
40853 \begin_inset Tabular
40854 <lyxtabular version="3" rows="1" columns="2">
40855 <features islongtable="true" longtabularalignment="center">
40856 <column alignment="center" valignment="top">
40857 <column alignment="center" valignment="top">
40858 <row>
40859 <cell alignment="center" valignment="top" usebox="none">
40860 \begin_inset Text
40861
40862 \begin_layout Plain Layout
40863 \begin_inset Graphics
40864         filename clipart/ToolbarEnvBox.png
40865         clip
40866
40867 \end_inset
40868
40869
40870 \end_layout
40871
40872 \end_inset
40873 </cell>
40874 <cell alignment="center" valignment="top" usebox="none">
40875 \begin_inset Text
40876
40877 \begin_layout Plain Layout
40878 pull-down box for the environments
40879 \end_layout
40880
40881 \end_inset
40882 </cell>
40883 </row>
40884 </lyxtabular>
40885
40886 \end_inset
40887
40888
40889 \end_layout
40890
40891 \begin_layout Standard
40892 \begin_inset VSpace -10mm
40893 \end_inset
40894
40895
40896 \end_layout
40897
40898 \begin_layout Standard
40899 \align left
40900 \begin_inset Tabular
40901 <lyxtabular version="3" rows="22" columns="2">
40902 <features islongtable="true" longtabularalignment="center">
40903 <column alignment="left" valignment="top">
40904 <column alignment="left" valignment="top">
40905 <row interlinespace="2.5mm">
40906 <cell alignment="center" valignment="top" usebox="none">
40907 \begin_inset Text
40908
40909 \begin_layout Plain Layout
40910
40911 \family sans
40912 \begin_inset Info
40913 type  "icon"
40914 arg   "buffer-new"
40915 \end_inset
40916
40917
40918 \end_layout
40919
40920 \end_inset
40921 </cell>
40922 <cell alignment="center" valignment="top" usebox="none">
40923 \begin_inset Text
40924
40925 \begin_layout Plain Layout
40926
40927 \family sans
40928 File\SpecialChar menuseparator
40929 New
40930 \end_layout
40931
40932 \end_inset
40933 </cell>
40934 </row>
40935 <row interlinespace="2.5mm">
40936 <cell alignment="center" valignment="top" usebox="none">
40937 \begin_inset Text
40938
40939 \begin_layout Plain Layout
40940
40941 \family sans
40942 \begin_inset Info
40943 type  "icon"
40944 arg   "file-open"
40945 \end_inset
40946
40947
40948 \end_layout
40949
40950 \end_inset
40951 </cell>
40952 <cell alignment="center" valignment="top" usebox="none">
40953 \begin_inset Text
40954
40955 \begin_layout Plain Layout
40956
40957 \family sans
40958 File\SpecialChar menuseparator
40959 Open
40960 \end_layout
40961
40962 \end_inset
40963 </cell>
40964 </row>
40965 <row interlinespace="2.5mm">
40966 <cell alignment="center" valignment="top" usebox="none">
40967 \begin_inset Text
40968
40969 \begin_layout Plain Layout
40970
40971 \family sans
40972 \begin_inset Info
40973 type  "icon"
40974 arg   "buffer-write"
40975 \end_inset
40976
40977
40978 \end_layout
40979
40980 \end_inset
40981 </cell>
40982 <cell alignment="center" valignment="top" usebox="none">
40983 \begin_inset Text
40984
40985 \begin_layout Plain Layout
40986
40987 \family sans
40988 File\SpecialChar menuseparator
40989 Save
40990 \end_layout
40991
40992 \end_inset
40993 </cell>
40994 </row>
40995 <row interlinespace="2.5mm">
40996 <cell alignment="center" valignment="top" usebox="none">
40997 \begin_inset Text
40998
40999 \begin_layout Plain Layout
41000
41001 \family sans
41002 \begin_inset Info
41003 type  "icon"
41004 arg   "dialog-show spellchecker"
41005 \end_inset
41006
41007
41008 \end_layout
41009
41010 \end_inset
41011 </cell>
41012 <cell alignment="center" valignment="top" usebox="none">
41013 \begin_inset Text
41014
41015 \begin_layout Plain Layout
41016
41017 \family sans
41018 Tools\SpecialChar menuseparator
41019 Spellchecker
41020 \end_layout
41021
41022 \end_inset
41023 </cell>
41024 </row>
41025 <row interlinespace="2.5mm">
41026 <cell alignment="center" valignment="top" usebox="none">
41027 \begin_inset Text
41028
41029 \begin_layout Plain Layout
41030
41031 \family sans
41032 \begin_inset Info
41033 type  "icon"
41034 arg   "spelling-continuously"
41035 \end_inset
41036
41037
41038 \end_layout
41039
41040 \end_inset
41041 </cell>
41042 <cell alignment="center" valignment="top" usebox="none">
41043 \begin_inset Text
41044
41045 \begin_layout Plain Layout
41046 Spellcheck continuously
41047 \end_layout
41048
41049 \end_inset
41050 </cell>
41051 </row>
41052 <row interlinespace="2.5mm">
41053 <cell alignment="center" valignment="top" usebox="none">
41054 \begin_inset Text
41055
41056 \begin_layout Plain Layout
41057
41058 \family sans
41059 \begin_inset Info
41060 type  "icon"
41061 arg   "undo"
41062 \end_inset
41063
41064
41065 \end_layout
41066
41067 \end_inset
41068 </cell>
41069 <cell alignment="center" valignment="top" usebox="none">
41070 \begin_inset Text
41071
41072 \begin_layout Plain Layout
41073
41074 \family sans
41075 Edit\SpecialChar menuseparator
41076 Undo
41077 \end_layout
41078
41079 \end_inset
41080 </cell>
41081 </row>
41082 <row interlinespace="2.5mm">
41083 <cell alignment="center" valignment="top" usebox="none">
41084 \begin_inset Text
41085
41086 \begin_layout Plain Layout
41087
41088 \family sans
41089 \begin_inset Info
41090 type  "icon"
41091 arg   "redo"
41092 \end_inset
41093
41094
41095 \end_layout
41096
41097 \end_inset
41098 </cell>
41099 <cell alignment="center" valignment="top" usebox="none">
41100 \begin_inset Text
41101
41102 \begin_layout Plain Layout
41103
41104 \family sans
41105 Edit\SpecialChar menuseparator
41106 Redo
41107 \end_layout
41108
41109 \end_inset
41110 </cell>
41111 </row>
41112 <row interlinespace="2.5mm">
41113 <cell alignment="center" valignment="top" usebox="none">
41114 \begin_inset Text
41115
41116 \begin_layout Plain Layout
41117
41118 \family sans
41119 \begin_inset Info
41120 type  "icon"
41121 arg   "cut"
41122 \end_inset
41123
41124
41125 \end_layout
41126
41127 \end_inset
41128 </cell>
41129 <cell alignment="center" valignment="top" usebox="none">
41130 \begin_inset Text
41131
41132 \begin_layout Plain Layout
41133
41134 \family sans
41135 Edit\SpecialChar menuseparator
41136 Cut
41137 \end_layout
41138
41139 \end_inset
41140 </cell>
41141 </row>
41142 <row interlinespace="2.5mm">
41143 <cell alignment="center" valignment="top" usebox="none">
41144 \begin_inset Text
41145
41146 \begin_layout Plain Layout
41147
41148 \family sans
41149 \begin_inset Info
41150 type  "icon"
41151 arg   "copy"
41152 \end_inset
41153
41154
41155 \end_layout
41156
41157 \end_inset
41158 </cell>
41159 <cell alignment="center" valignment="top" usebox="none">
41160 \begin_inset Text
41161
41162 \begin_layout Plain Layout
41163
41164 \family sans
41165 Edit\SpecialChar menuseparator
41166 Copy
41167 \end_layout
41168
41169 \end_inset
41170 </cell>
41171 </row>
41172 <row interlinespace="2.5mm">
41173 <cell alignment="center" valignment="top" usebox="none">
41174 \begin_inset Text
41175
41176 \begin_layout Plain Layout
41177
41178 \family sans
41179 \begin_inset Info
41180 type  "icon"
41181 arg   "paste"
41182 \end_inset
41183
41184
41185 \end_layout
41186
41187 \end_inset
41188 </cell>
41189 <cell alignment="center" valignment="top" usebox="none">
41190 \begin_inset Text
41191
41192 \begin_layout Plain Layout
41193
41194 \family sans
41195 Edit\SpecialChar menuseparator
41196 Paste
41197 \end_layout
41198
41199 \end_inset
41200 </cell>
41201 </row>
41202 <row interlinespace="2.5mm">
41203 <cell alignment="center" valignment="top" usebox="none">
41204 \begin_inset Text
41205
41206 \begin_layout Plain Layout
41207
41208 \family sans
41209 \begin_inset Info
41210 type  "icon"
41211 arg   "dialog-show findreplace"
41212 \end_inset
41213
41214
41215 \end_layout
41216
41217 \end_inset
41218 </cell>
41219 <cell alignment="center" valignment="top" usebox="none">
41220 \begin_inset Text
41221
41222 \begin_layout Plain Layout
41223
41224 \family sans
41225 Edit\SpecialChar menuseparator
41226 Find
41227 \begin_inset space \thinspace{}
41228 \end_inset
41229
41230 &
41231 \begin_inset space \thinspace{}
41232 \end_inset
41233
41234 Replace
41235 \begin_inset space \thinspace{}
41236 \end_inset
41237
41238 (Quick)
41239 \end_layout
41240
41241 \end_inset
41242 </cell>
41243 </row>
41244 <row interlinespace="2.5mm">
41245 <cell alignment="center" valignment="top" usebox="none">
41246 \begin_inset Text
41247
41248 \begin_layout Plain Layout
41249 \begin_inset Info
41250 type  "icon"
41251 arg   "dialog-toggle findreplaceadv"
41252 \end_inset
41253
41254
41255 \end_layout
41256
41257 \end_inset
41258 </cell>
41259 <cell alignment="center" valignment="top" usebox="none">
41260 \begin_inset Text
41261
41262 \begin_layout Plain Layout
41263
41264 \family sans
41265 Edit\SpecialChar menuseparator
41266 Find
41267 \begin_inset space \thinspace{}
41268 \end_inset
41269
41270 &
41271 \begin_inset space \thinspace{}
41272 \end_inset
41273
41274 Replace
41275 \begin_inset space \thinspace{}
41276 \end_inset
41277
41278 (Advanced)
41279 \end_layout
41280
41281 \end_inset
41282 </cell>
41283 </row>
41284 <row interlinespace="2.5mm">
41285 <cell alignment="center" valignment="top" usebox="none">
41286 \begin_inset Text
41287
41288 \begin_layout Plain Layout
41289
41290 \family sans
41291 \begin_inset Info
41292 type  "icon"
41293 arg   "bookmark-goto 0"
41294 \end_inset
41295
41296
41297 \end_layout
41298
41299 \end_inset
41300 </cell>
41301 <cell alignment="center" valignment="top" usebox="none">
41302 \begin_inset Text
41303
41304 \begin_layout Plain Layout
41305
41306 \family sans
41307 Navigate\SpecialChar menuseparator
41308 Bookmarks\SpecialChar menuseparator
41309 Navigate Back
41310 \end_layout
41311
41312 \end_inset
41313 </cell>
41314 </row>
41315 <row interlinespace="2.5mm">
41316 <cell alignment="center" valignment="top" usebox="none">
41317 \begin_inset Text
41318
41319 \begin_layout Plain Layout
41320
41321 \family sans
41322 \begin_inset Info
41323 type  "icon"
41324 arg   "font-emph"
41325 \end_inset
41326
41327
41328 \end_layout
41329
41330 \end_inset
41331 </cell>
41332 <cell alignment="center" valignment="top" usebox="none">
41333 \begin_inset Text
41334
41335 \begin_layout Plain Layout
41336 Emphasize text, function of the 
41337 \family sans
41338 Edit\SpecialChar menuseparator
41339 Text
41340 \begin_inset space ~
41341 \end_inset
41342
41343 Style\SpecialChar menuseparator
41344 Customized
41345 \family default
41346  dialog
41347 \end_layout
41348
41349 \end_inset
41350 </cell>
41351 </row>
41352 <row interlinespace="2.5mm">
41353 <cell alignment="center" valignment="top" usebox="none">
41354 \begin_inset Text
41355
41356 \begin_layout Plain Layout
41357
41358 \family sans
41359 \begin_inset Info
41360 type  "icon"
41361 arg   "font-noun"
41362 \end_inset
41363
41364
41365 \end_layout
41366
41367 \end_inset
41368 </cell>
41369 <cell alignment="center" valignment="top" usebox="none">
41370 \begin_inset Text
41371
41372 \begin_layout Plain Layout
41373 Set text to noun style, function of the 
41374 \family sans
41375 Edit\SpecialChar menuseparator
41376 Text
41377 \begin_inset space ~
41378 \end_inset
41379
41380 Style\SpecialChar menuseparator
41381 Customized
41382 \family default
41383  dialog
41384 \end_layout
41385
41386 \end_inset
41387 </cell>
41388 </row>
41389 <row interlinespace="2.5mm">
41390 <cell alignment="center" valignment="top" usebox="none">
41391 \begin_inset Text
41392
41393 \begin_layout Plain Layout
41394
41395 \family sans
41396 \begin_inset Info
41397 type  "icon"
41398 arg   "textstyle-apply"
41399 \end_inset
41400
41401
41402 \end_layout
41403
41404 \end_inset
41405 </cell>
41406 <cell alignment="center" valignment="top" usebox="none">
41407 \begin_inset Text
41408
41409 \begin_layout Plain Layout
41410 Format text using the current settings in the 
41411 \family sans
41412 Edit\SpecialChar menuseparator
41413 Text
41414 \begin_inset space ~
41415 \end_inset
41416
41417 Style\SpecialChar menuseparator
41418 Customized
41419 \family default
41420  dialog
41421 \end_layout
41422
41423 \end_inset
41424 </cell>
41425 </row>
41426 <row interlinespace="2.5mm">
41427 <cell alignment="center" valignment="top" usebox="none">
41428 \begin_inset Text
41429
41430 \begin_layout Plain Layout
41431
41432 \family sans
41433 \begin_inset Info
41434 type  "icon"
41435 arg   "math-mode"
41436 \end_inset
41437
41438
41439 \end_layout
41440
41441 \end_inset
41442 </cell>
41443 <cell alignment="center" valignment="top" usebox="none">
41444 \begin_inset Text
41445
41446 \begin_layout Plain Layout
41447
41448 \family sans
41449 Insert\SpecialChar menuseparator
41450 Math\SpecialChar menuseparator
41451 Inline
41452 \begin_inset space ~
41453 \end_inset
41454
41455 Formula
41456 \end_layout
41457
41458 \end_inset
41459 </cell>
41460 </row>
41461 <row interlinespace="2.5mm">
41462 <cell alignment="center" valignment="top" usebox="none">
41463 \begin_inset Text
41464
41465 \begin_layout Plain Layout
41466
41467 \family sans
41468 \begin_inset Info
41469 type  "icon"
41470 arg   "dialog-show-new-inset graphics"
41471 \end_inset
41472
41473
41474 \end_layout
41475
41476 \end_inset
41477 </cell>
41478 <cell alignment="center" valignment="top" usebox="none">
41479 \begin_inset Text
41480
41481 \begin_layout Plain Layout
41482
41483 \family sans
41484 Insert\SpecialChar menuseparator
41485 Graphics
41486 \end_layout
41487
41488 \end_inset
41489 </cell>
41490 </row>
41491 <row interlinespace="2.5mm">
41492 <cell alignment="center" valignment="top" usebox="none">
41493 \begin_inset Text
41494
41495 \begin_layout Plain Layout
41496 \begin_inset Info
41497 type  "icon"
41498 arg   "tabular-insert"
41499 \end_inset
41500
41501
41502 \end_layout
41503
41504 \end_inset
41505 </cell>
41506 <cell alignment="center" valignment="top" usebox="none">
41507 \begin_inset Text
41508
41509 \begin_layout Plain Layout
41510
41511 \family sans
41512 Insert\SpecialChar menuseparator
41513 Table
41514 \end_layout
41515
41516 \end_inset
41517 </cell>
41518 </row>
41519 <row interlinespace="2.5mm">
41520 <cell alignment="center" valignment="top" usebox="none">
41521 \begin_inset Text
41522
41523 \begin_layout Plain Layout
41524
41525 \family sans
41526 \begin_inset Info
41527 type  "icon"
41528 arg   "dialog-toggle toc"
41529 \end_inset
41530
41531
41532 \end_layout
41533
41534 \end_inset
41535 </cell>
41536 <cell alignment="center" valignment="top" usebox="none">
41537 \begin_inset Text
41538
41539 \begin_layout Plain Layout
41540 Toggle outline window on/off, 
41541 \family sans
41542 View\SpecialChar menuseparator
41543 Outline
41544 \end_layout
41545
41546 \end_inset
41547 </cell>
41548 </row>
41549 <row interlinespace="2.5mm">
41550 <cell alignment="center" valignment="top" usebox="none">
41551 \begin_inset Text
41552
41553 \begin_layout Plain Layout
41554
41555 \family sans
41556 \begin_inset Info
41557 type  "icon"
41558 arg   "toolbar-toggle math"
41559 \end_inset
41560
41561
41562 \end_layout
41563
41564 \end_inset
41565 </cell>
41566 <cell alignment="center" valignment="top" usebox="none">
41567 \begin_inset Text
41568
41569 \begin_layout Plain Layout
41570 Toggle math toolbar on/off
41571 \end_layout
41572
41573 \end_inset
41574 </cell>
41575 </row>
41576 <row interlinespace="2.5mm">
41577 <cell alignment="center" valignment="top" usebox="none">
41578 \begin_inset Text
41579
41580 \begin_layout Plain Layout
41581
41582 \family sans
41583 \begin_inset Info
41584 type  "icon"
41585 arg   "toolbar-toggle table"
41586 \end_inset
41587
41588
41589 \end_layout
41590
41591 \end_inset
41592 </cell>
41593 <cell alignment="center" valignment="top" usebox="none">
41594 \begin_inset Text
41595
41596 \begin_layout Plain Layout
41597 Toggle table toolbar on/off
41598 \end_layout
41599
41600 \end_inset
41601 </cell>
41602 </row>
41603 </lyxtabular>
41604
41605 \end_inset
41606
41607
41608 \end_layout
41609
41610 \begin_layout Subsection
41611 Extra Toolbar
41612 \begin_inset Index idx
41613 status collapsed
41614
41615 \begin_layout Plain Layout
41616 Toolbar ! Extra
41617 \end_layout
41618
41619 \end_inset
41620
41621
41622 \end_layout
41623
41624 \begin_layout Standard
41625 \begin_inset Graphics
41626         filename clipart/ExtraToolbar.png
41627         width 100col%
41628
41629 \end_inset
41630
41631
41632 \end_layout
41633
41634 \begin_layout Standard
41635 \begin_inset VSpace defskip
41636 \end_inset
41637
41638
41639 \end_layout
41640
41641 \begin_layout Standard
41642 The extra toolbar as shown above contains from left to right the following
41643  buttons:
41644 \end_layout
41645
41646 \begin_layout Standard
41647 \begin_inset VSpace defskip
41648 \end_inset
41649
41650
41651 \end_layout
41652
41653 \begin_layout Standard
41654 \begin_inset Tabular
41655 <lyxtabular version="3" rows="25" columns="2">
41656 <features islongtable="true" longtabularalignment="center">
41657 <column alignment="left" valignment="top">
41658 <column alignment="left" valignment="top">
41659 <row interlinespace="2.5mm">
41660 <cell alignment="center" valignment="top" usebox="none">
41661 \begin_inset Text
41662
41663 \begin_layout Plain Layout
41664
41665 \family sans
41666 \begin_inset Info
41667 type  "icon"
41668 arg   "layout"
41669 \end_inset
41670
41671
41672 \end_layout
41673
41674 \end_inset
41675 </cell>
41676 <cell alignment="center" valignment="top" usebox="none">
41677 \begin_inset Text
41678
41679 \begin_layout Plain Layout
41680 Default
41681 \end_layout
41682
41683 \end_inset
41684 </cell>
41685 </row>
41686 <row interlinespace="2.5mm">
41687 <cell alignment="center" valignment="top" usebox="none">
41688 \begin_inset Text
41689
41690 \begin_layout Plain Layout
41691
41692 \family sans
41693 \begin_inset Info
41694 type  "icon"
41695 arg   "layout Enumerate"
41696 \end_inset
41697
41698
41699 \end_layout
41700
41701 \end_inset
41702 </cell>
41703 <cell alignment="center" valignment="top" usebox="none">
41704 \begin_inset Text
41705
41706 \begin_layout Plain Layout
41707 Numbered list
41708 \end_layout
41709
41710 \end_inset
41711 </cell>
41712 </row>
41713 <row interlinespace="2.5mm">
41714 <cell alignment="center" valignment="top" usebox="none">
41715 \begin_inset Text
41716
41717 \begin_layout Plain Layout
41718
41719 \family sans
41720 \begin_inset Info
41721 type  "icon"
41722 arg   "layout Itemize"
41723 \end_inset
41724
41725
41726 \end_layout
41727
41728 \end_inset
41729 </cell>
41730 <cell alignment="center" valignment="top" usebox="none">
41731 \begin_inset Text
41732
41733 \begin_layout Plain Layout
41734 Itemized list
41735 \end_layout
41736
41737 \end_inset
41738 </cell>
41739 </row>
41740 <row interlinespace="2.5mm">
41741 <cell alignment="center" valignment="top" usebox="none">
41742 \begin_inset Text
41743
41744 \begin_layout Plain Layout
41745
41746 \family sans
41747 \begin_inset Info
41748 type  "icon"
41749 arg   "layout List"
41750 \end_inset
41751
41752
41753 \end_layout
41754
41755 \end_inset
41756 </cell>
41757 <cell alignment="center" valignment="top" usebox="none">
41758 \begin_inset Text
41759
41760 \begin_layout Plain Layout
41761 List
41762 \end_layout
41763
41764 \end_inset
41765 </cell>
41766 </row>
41767 <row interlinespace="2.5mm">
41768 <cell alignment="center" valignment="top" usebox="none">
41769 \begin_inset Text
41770
41771 \begin_layout Plain Layout
41772
41773 \family sans
41774 \begin_inset Info
41775 type  "icon"
41776 arg   "layout Description"
41777 \end_inset
41778
41779
41780 \end_layout
41781
41782 \end_inset
41783 </cell>
41784 <cell alignment="center" valignment="top" usebox="none">
41785 \begin_inset Text
41786
41787 \begin_layout Plain Layout
41788 Description list
41789 \end_layout
41790
41791 \end_inset
41792 </cell>
41793 </row>
41794 <row interlinespace="2.5mm">
41795 <cell alignment="center" valignment="top" usebox="none">
41796 \begin_inset Text
41797
41798 \begin_layout Plain Layout
41799
41800 \family sans
41801 \begin_inset Info
41802 type  "icon"
41803 arg   "depth-increment"
41804 \end_inset
41805
41806
41807 \end_layout
41808
41809 \end_inset
41810 </cell>
41811 <cell alignment="center" valignment="top" usebox="none">
41812 \begin_inset Text
41813
41814 \begin_layout Plain Layout
41815
41816 \family sans
41817 Edit\SpecialChar menuseparator
41818 Increase
41819 \begin_inset space ~
41820 \end_inset
41821
41822 List
41823 \begin_inset space ~
41824 \end_inset
41825
41826 Depth
41827 \end_layout
41828
41829 \end_inset
41830 </cell>
41831 </row>
41832 <row interlinespace="2.5mm">
41833 <cell alignment="center" valignment="top" usebox="none">
41834 \begin_inset Text
41835
41836 \begin_layout Plain Layout
41837
41838 \family sans
41839 \begin_inset Info
41840 type  "icon"
41841 arg   "depth-decrement"
41842 \end_inset
41843
41844
41845 \end_layout
41846
41847 \end_inset
41848 </cell>
41849 <cell alignment="center" valignment="top" usebox="none">
41850 \begin_inset Text
41851
41852 \begin_layout Plain Layout
41853
41854 \family sans
41855 Edit\SpecialChar menuseparator
41856 Decrease
41857 \begin_inset space ~
41858 \end_inset
41859
41860 List
41861 \begin_inset space ~
41862 \end_inset
41863
41864 Depth
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   "float-insert figure"
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 Insert\SpecialChar menuseparator
41894 Float\SpecialChar menuseparator
41895 Figure
41896 \end_layout
41897
41898 \end_inset
41899 </cell>
41900 </row>
41901 <row interlinespace="2.5mm">
41902 <cell alignment="center" valignment="top" usebox="none">
41903 \begin_inset Text
41904
41905 \begin_layout Plain Layout
41906
41907 \family sans
41908 \begin_inset Info
41909 type  "icon"
41910 arg   "float-insert table"
41911 \end_inset
41912
41913
41914 \end_layout
41915
41916 \end_inset
41917 </cell>
41918 <cell alignment="center" valignment="top" usebox="none">
41919 \begin_inset Text
41920
41921 \begin_layout Plain Layout
41922
41923 \family sans
41924 Insert\SpecialChar menuseparator
41925 Float\SpecialChar menuseparator
41926 Table
41927 \end_layout
41928
41929 \end_inset
41930 </cell>
41931 </row>
41932 <row interlinespace="2.5mm">
41933 <cell alignment="center" valignment="top" usebox="none">
41934 \begin_inset Text
41935
41936 \begin_layout Plain Layout
41937
41938 \family sans
41939 \begin_inset Info
41940 type  "icon"
41941 arg   "label-insert"
41942 \end_inset
41943
41944
41945 \end_layout
41946
41947 \end_inset
41948 </cell>
41949 <cell alignment="center" valignment="top" usebox="none">
41950 \begin_inset Text
41951
41952 \begin_layout Plain Layout
41953
41954 \family sans
41955 Insert\SpecialChar menuseparator
41956 Label
41957 \end_layout
41958
41959 \end_inset
41960 </cell>
41961 </row>
41962 <row interlinespace="2.5mm">
41963 <cell alignment="center" valignment="top" usebox="none">
41964 \begin_inset Text
41965
41966 \begin_layout Plain Layout
41967
41968 \family sans
41969 \begin_inset Info
41970 type  "icon"
41971 arg   "dialog-show-new-inset ref"
41972 \end_inset
41973
41974
41975 \end_layout
41976
41977 \end_inset
41978 </cell>
41979 <cell alignment="center" valignment="top" usebox="none">
41980 \begin_inset Text
41981
41982 \begin_layout Plain Layout
41983
41984 \family sans
41985 Insert\SpecialChar menuseparator
41986 Cross-Reference
41987 \end_layout
41988
41989 \end_inset
41990 </cell>
41991 </row>
41992 <row interlinespace="2.5mm">
41993 <cell alignment="center" valignment="top" usebox="none">
41994 \begin_inset Text
41995
41996 \begin_layout Plain Layout
41997
41998 \family sans
41999 \begin_inset Info
42000 type  "icon"
42001 arg   "dialog-show-new-inset citation"
42002 \end_inset
42003
42004
42005 \end_layout
42006
42007 \end_inset
42008 </cell>
42009 <cell alignment="center" valignment="top" usebox="none">
42010 \begin_inset Text
42011
42012 \begin_layout Plain Layout
42013
42014 \family sans
42015 Insert\SpecialChar menuseparator
42016 Citation
42017 \end_layout
42018
42019 \end_inset
42020 </cell>
42021 </row>
42022 <row interlinespace="2.5mm">
42023 <cell alignment="center" valignment="top" usebox="none">
42024 \begin_inset Text
42025
42026 \begin_layout Plain Layout
42027
42028 \family sans
42029 \begin_inset Info
42030 type  "icon"
42031 arg   "index-insert"
42032 \end_inset
42033
42034
42035 \end_layout
42036
42037 \end_inset
42038 </cell>
42039 <cell alignment="center" valignment="top" usebox="none">
42040 \begin_inset Text
42041
42042 \begin_layout Plain Layout
42043
42044 \family sans
42045 Insert\SpecialChar menuseparator
42046 Index
42047 \begin_inset space ~
42048 \end_inset
42049
42050 Entry
42051 \end_layout
42052
42053 \end_inset
42054 </cell>
42055 </row>
42056 <row interlinespace="2.5mm">
42057 <cell alignment="center" valignment="top" usebox="none">
42058 \begin_inset Text
42059
42060 \begin_layout Plain Layout
42061
42062 \family sans
42063 \begin_inset Info
42064 type  "icon"
42065 arg   "nomencl-insert"
42066 \end_inset
42067
42068
42069 \end_layout
42070
42071 \end_inset
42072 </cell>
42073 <cell alignment="center" valignment="top" usebox="none">
42074 \begin_inset Text
42075
42076 \begin_layout Plain Layout
42077
42078 \family sans
42079 Insert\SpecialChar menuseparator
42080 Nomenclature
42081 \begin_inset space ~
42082 \end_inset
42083
42084 Entry
42085 \end_layout
42086
42087 \end_inset
42088 </cell>
42089 </row>
42090 <row interlinespace="2.5mm">
42091 <cell alignment="center" valignment="top" usebox="none">
42092 \begin_inset Text
42093
42094 \begin_layout Plain Layout
42095
42096 \family sans
42097 \begin_inset Info
42098 type  "icon"
42099 arg   "footnote-insert"
42100 \end_inset
42101
42102
42103 \end_layout
42104
42105 \end_inset
42106 </cell>
42107 <cell alignment="center" valignment="top" usebox="none">
42108 \begin_inset Text
42109
42110 \begin_layout Plain Layout
42111
42112 \family sans
42113 Insert\SpecialChar menuseparator
42114 Footnote
42115 \end_layout
42116
42117 \end_inset
42118 </cell>
42119 </row>
42120 <row interlinespace="2.5mm">
42121 <cell alignment="center" valignment="top" usebox="none">
42122 \begin_inset Text
42123
42124 \begin_layout Plain Layout
42125
42126 \family sans
42127 \begin_inset Info
42128 type  "icon"
42129 arg   "marginalnote-insert"
42130 \end_inset
42131
42132
42133 \end_layout
42134
42135 \end_inset
42136 </cell>
42137 <cell alignment="center" valignment="top" usebox="none">
42138 \begin_inset Text
42139
42140 \begin_layout Plain Layout
42141
42142 \family sans
42143 Insert\SpecialChar menuseparator
42144 Marginal
42145 \begin_inset space ~
42146 \end_inset
42147
42148 Note
42149 \end_layout
42150
42151 \end_inset
42152 </cell>
42153 </row>
42154 <row interlinespace="2.5mm">
42155 <cell alignment="center" valignment="top" usebox="none">
42156 \begin_inset Text
42157
42158 \begin_layout Plain Layout
42159
42160 \family sans
42161 \begin_inset Info
42162 type  "icon"
42163 arg   "note-insert"
42164 \end_inset
42165
42166
42167 \end_layout
42168
42169 \end_inset
42170 </cell>
42171 <cell alignment="center" valignment="top" usebox="none">
42172 \begin_inset Text
42173
42174 \begin_layout Plain Layout
42175
42176 \family sans
42177 Insert\SpecialChar menuseparator
42178 Note\SpecialChar menuseparator
42179 LyX
42180 \begin_inset space ~
42181 \end_inset
42182
42183 Note
42184 \end_layout
42185
42186 \end_inset
42187 </cell>
42188 </row>
42189 <row interlinespace="2.5mm">
42190 <cell alignment="center" valignment="top" usebox="none">
42191 \begin_inset Text
42192
42193 \begin_layout Plain Layout
42194
42195 \family sans
42196 \begin_inset Info
42197 type  "icon"
42198 arg   "box-insert Frameless"
42199 \end_inset
42200
42201
42202 \end_layout
42203
42204 \end_inset
42205 </cell>
42206 <cell alignment="center" valignment="top" usebox="none">
42207 \begin_inset Text
42208
42209 \begin_layout Plain Layout
42210
42211 \family sans
42212 Insert\SpecialChar menuseparator
42213 Box
42214 \end_layout
42215
42216 \end_inset
42217 </cell>
42218 </row>
42219 <row interlinespace="2.5mm">
42220 <cell alignment="center" valignment="top" usebox="none">
42221 \begin_inset Text
42222
42223 \begin_layout Plain Layout
42224
42225 \family sans
42226 \begin_inset Info
42227 type  "icon"
42228 arg   "href-insert"
42229 \end_inset
42230
42231
42232 \end_layout
42233
42234 \end_inset
42235 </cell>
42236 <cell alignment="center" valignment="top" usebox="none">
42237 \begin_inset Text
42238
42239 \begin_layout Plain Layout
42240
42241 \family sans
42242 Insert\SpecialChar menuseparator
42243 Hyperlink
42244 \end_layout
42245
42246 \end_inset
42247 </cell>
42248 </row>
42249 <row interlinespace="2.5mm">
42250 <cell alignment="center" valignment="top" usebox="none">
42251 \begin_inset Text
42252
42253 \begin_layout Plain Layout
42254
42255 \family sans
42256 \begin_inset Info
42257 type  "icon"
42258 arg   "ert-insert"
42259 \end_inset
42260
42261
42262 \end_layout
42263
42264 \end_inset
42265 </cell>
42266 <cell alignment="center" valignment="top" usebox="none">
42267 \begin_inset Text
42268
42269 \begin_layout Plain Layout
42270
42271 \family sans
42272 Insert\SpecialChar menuseparator
42273 TeX
42274 \begin_inset space ~
42275 \end_inset
42276
42277 Code
42278 \end_layout
42279
42280 \end_inset
42281 </cell>
42282 </row>
42283 <row interlinespace="2.5mm">
42284 <cell alignment="center" valignment="top" usebox="none">
42285 \begin_inset Text
42286
42287 \begin_layout Plain Layout
42288
42289 \family sans
42290 \begin_inset Info
42291 type  "icon"
42292 arg   "math-macro newmacroname newcommand"
42293 \end_inset
42294
42295
42296 \end_layout
42297
42298 \end_inset
42299 </cell>
42300 <cell alignment="center" valignment="top" usebox="none">
42301 \begin_inset Text
42302
42303 \begin_layout Plain Layout
42304
42305 \family sans
42306 Insert\SpecialChar menuseparator
42307 Math\SpecialChar menuseparator
42308 Macro
42309 \end_layout
42310
42311 \end_inset
42312 </cell>
42313 </row>
42314 <row interlinespace="2.5mm">
42315 <cell alignment="center" valignment="top" usebox="none">
42316 \begin_inset Text
42317
42318 \begin_layout Plain Layout
42319
42320 \family sans
42321 \begin_inset Info
42322 type  "icon"
42323 arg   "dialog-show-new-inset include"
42324 \end_inset
42325
42326
42327 \end_layout
42328
42329 \end_inset
42330 </cell>
42331 <cell alignment="center" valignment="top" usebox="none">
42332 \begin_inset Text
42333
42334 \begin_layout Plain Layout
42335
42336 \family sans
42337 Insert\SpecialChar menuseparator
42338 File\SpecialChar menuseparator
42339 Child
42340 \begin_inset space ~
42341 \end_inset
42342
42343 Document
42344 \end_layout
42345
42346 \end_inset
42347 </cell>
42348 </row>
42349 <row interlinespace="2.5mm">
42350 <cell alignment="center" valignment="top" usebox="none">
42351 \begin_inset Text
42352
42353 \begin_layout Plain Layout
42354
42355 \family sans
42356 \begin_inset Info
42357 type  "icon"
42358 arg   "dialog-show character"
42359 \end_inset
42360
42361
42362 \end_layout
42363
42364 \end_inset
42365 </cell>
42366 <cell alignment="center" valignment="top" usebox="none">
42367 \begin_inset Text
42368
42369 \begin_layout Plain Layout
42370
42371 \family sans
42372 Edit\SpecialChar menuseparator
42373 Text
42374 \begin_inset space ~
42375 \end_inset
42376
42377 Style\SpecialChar menuseparator
42378 Customized
42379 \end_layout
42380
42381 \end_inset
42382 </cell>
42383 </row>
42384 <row interlinespace="2.5mm">
42385 <cell alignment="center" valignment="top" usebox="none">
42386 \begin_inset Text
42387
42388 \begin_layout Plain Layout
42389
42390 \family sans
42391 \begin_inset Info
42392 type  "icon"
42393 arg   "layout-paragraph"
42394 \end_inset
42395
42396
42397 \end_layout
42398
42399 \end_inset
42400 </cell>
42401 <cell alignment="center" valignment="top" usebox="none">
42402 \begin_inset Text
42403
42404 \begin_layout Plain Layout
42405
42406 \family sans
42407 Edit\SpecialChar menuseparator
42408 Paragraph
42409 \begin_inset space ~
42410 \end_inset
42411
42412 Settings
42413 \end_layout
42414
42415 \end_inset
42416 </cell>
42417 </row>
42418 <row interlinespace="2.5mm">
42419 <cell alignment="center" valignment="top" usebox="none">
42420 \begin_inset Text
42421
42422 \begin_layout Plain Layout
42423
42424 \family sans
42425 \begin_inset Info
42426 type  "icon"
42427 arg   "thesaurus-entry"
42428 \end_inset
42429
42430
42431 \end_layout
42432
42433 \end_inset
42434 </cell>
42435 <cell alignment="center" valignment="top" usebox="none">
42436 \begin_inset Text
42437
42438 \begin_layout Plain Layout
42439
42440 \family sans
42441 Tools\SpecialChar menuseparator
42442 Thesaurus
42443 \end_layout
42444
42445 \end_inset
42446 </cell>
42447 </row>
42448 </lyxtabular>
42449
42450 \end_inset
42451
42452
42453 \end_layout
42454
42455 \begin_layout Subsection
42456 View/Update Toolbar
42457 \begin_inset Index idx
42458 status collapsed
42459
42460 \begin_layout Plain Layout
42461 Toolbar ! View / Update
42462 \end_layout
42463
42464 \end_inset
42465
42466
42467 \end_layout
42468
42469 \begin_layout Standard
42470 \begin_inset Graphics
42471         filename clipart/ViewToolbar.png
42472
42473 \end_inset
42474
42475
42476 \end_layout
42477
42478 \begin_layout Standard
42479 \begin_inset VSpace defskip
42480 \end_inset
42481
42482
42483 \end_layout
42484
42485 \begin_layout Standard
42486 The view/update toolbar as shown above contains from left to right the following
42487  buttons:
42488 \end_layout
42489
42490 \begin_layout Standard
42491 \begin_inset VSpace defskip
42492 \end_inset
42493
42494
42495 \end_layout
42496
42497 \begin_layout Standard
42498 \begin_inset Tabular
42499 <lyxtabular version="3" rows="7" columns="2">
42500 <features islongtable="true" longtabularalignment="center">
42501 <column alignment="left" valignment="top">
42502 <column alignment="left" valignment="top">
42503 <row interlinespace="2.5mm">
42504 <cell alignment="center" valignment="top" usebox="none">
42505 \begin_inset Text
42506
42507 \begin_layout Plain Layout
42508
42509 \family sans
42510 \begin_inset Info
42511 type  "icon"
42512 arg   "buffer-view"
42513 \end_inset
42514
42515
42516 \end_layout
42517
42518 \end_inset
42519 </cell>
42520 <cell alignment="center" valignment="top" usebox="none">
42521 \begin_inset Text
42522
42523 \begin_layout Plain Layout
42524
42525 \family sans
42526 Document\SpecialChar menuseparator
42527 View
42528 \end_layout
42529
42530 \end_inset
42531 </cell>
42532 </row>
42533 <row interlinespace="2.5mm">
42534 <cell alignment="center" valignment="top" usebox="none">
42535 \begin_inset Text
42536
42537 \begin_layout Plain Layout
42538
42539 \family sans
42540 \begin_inset Info
42541 type  "icon"
42542 arg   "buffer-update"
42543 \end_inset
42544
42545
42546 \end_layout
42547
42548 \end_inset
42549 </cell>
42550 <cell alignment="center" valignment="top" usebox="none">
42551 \begin_inset Text
42552
42553 \begin_layout Plain Layout
42554
42555 \family sans
42556 Document\SpecialChar menuseparator
42557 Update
42558 \end_layout
42559
42560 \end_inset
42561 </cell>
42562 </row>
42563 <row interlinespace="2.5mm">
42564 <cell alignment="center" valignment="top" usebox="none">
42565 \begin_inset Text
42566
42567 \begin_layout Plain Layout
42568
42569 \family sans
42570 \begin_inset Info
42571 type  "icon"
42572 arg   "master-buffer-view"
42573 \end_inset
42574
42575
42576 \end_layout
42577
42578 \end_inset
42579 </cell>
42580 <cell alignment="center" valignment="top" usebox="none">
42581 \begin_inset Text
42582
42583 \begin_layout Plain Layout
42584
42585 \family sans
42586 Document\SpecialChar menuseparator
42587 Master
42588 \begin_inset space ~
42589 \end_inset
42590
42591 Document
42592 \end_layout
42593
42594 \end_inset
42595 </cell>
42596 </row>
42597 <row interlinespace="2.5mm">
42598 <cell alignment="center" valignment="top" usebox="none">
42599 \begin_inset Text
42600
42601 \begin_layout Plain Layout
42602
42603 \family sans
42604 \begin_inset Info
42605 type  "icon"
42606 arg   "master-buffer-update"
42607 \end_inset
42608
42609
42610 \end_layout
42611
42612 \end_inset
42613 </cell>
42614 <cell alignment="center" valignment="top" usebox="none">
42615 \begin_inset Text
42616
42617 \begin_layout Plain Layout
42618
42619 \family sans
42620 Document\SpecialChar menuseparator
42621 Update
42622 \begin_inset space ~
42623 \end_inset
42624
42625 Master
42626 \begin_inset space ~
42627 \end_inset
42628
42629 Document
42630 \end_layout
42631
42632 \end_inset
42633 </cell>
42634 </row>
42635 <row interlinespace="2.5mm">
42636 <cell alignment="center" valignment="top" usebox="none">
42637 \begin_inset Text
42638
42639 \begin_layout Plain Layout
42640
42641 \family sans
42642 \begin_inset Info
42643 type  "icon"
42644 arg   "buffer-toggle-output-sync"
42645 \end_inset
42646
42647
42648 \end_layout
42649
42650 \end_inset
42651 </cell>
42652 <cell alignment="center" valignment="top" usebox="none">
42653 \begin_inset Text
42654
42655 \begin_layout Plain Layout
42656
42657 \family sans
42658 Document\SpecialChar menuseparator
42659 Settings\SpecialChar menuseparator
42660 Output\SpecialChar menuseparator
42661 Synchronize with Output
42662 \end_layout
42663
42664 \end_inset
42665 </cell>
42666 </row>
42667 <row interlinespace="2.5mm">
42668 <cell alignment="center" valignment="top" usebox="none">
42669 \begin_inset Text
42670
42671 \begin_layout Plain Layout
42672 \begin_inset Info
42673 type  "icon"
42674 arg   "view-others"
42675 \end_inset
42676
42677
42678 \family sans
42679 *
42680 \end_layout
42681
42682 \end_inset
42683 </cell>
42684 <cell alignment="center" valignment="top" usebox="none">
42685 \begin_inset Text
42686
42687 \begin_layout Plain Layout
42688
42689 \family sans
42690 Document\SpecialChar menuseparator
42691 View (Other Formats)
42692 \end_layout
42693
42694 \end_inset
42695 </cell>
42696 </row>
42697 <row interlinespace="2.5mm">
42698 <cell alignment="center" valignment="top" usebox="none">
42699 \begin_inset Text
42700
42701 \begin_layout Plain Layout
42702 \begin_inset Info
42703 type  "icon"
42704 arg   "update-others"
42705 \end_inset
42706
42707 *
42708 \end_layout
42709
42710 \end_inset
42711 </cell>
42712 <cell alignment="center" valignment="top" usebox="none">
42713 \begin_inset Text
42714
42715 \begin_layout Plain Layout
42716
42717 \family sans
42718 Document\SpecialChar menuseparator
42719 Update (Other Formats)
42720 \end_layout
42721
42722 \end_inset
42723 </cell>
42724 </row>
42725 </lyxtabular>
42726
42727 \end_inset
42728
42729
42730 \end_layout
42731
42732 \begin_layout Standard
42733 * These icons might look different for you if you do not use the default
42734  icon set.
42735 \end_layout
42736
42737 \begin_layout Subsection
42738 Other Toolbars
42739 \end_layout
42740
42741 \begin_layout Standard
42742 The change tracking toolbar is explained in section
42743 \begin_inset space ~
42744 \end_inset
42745
42746
42747 \begin_inset CommandInset ref
42748 LatexCommand ref
42749 reference "sec:Change-Tracking"
42750
42751 \end_inset
42752
42753 , the table toolbar
42754 \begin_inset Index idx
42755 status collapsed
42756
42757 \begin_layout Plain Layout
42758 Toolbar ! Table
42759 \end_layout
42760
42761 \end_inset
42762
42763  in the 
42764 \emph on
42765 Embedded
42766 \begin_inset space ~
42767 \end_inset
42768
42769 Objects
42770 \emph default
42771  manual and the math macro toolbar
42772 \begin_inset Index idx
42773 status collapsed
42774
42775 \begin_layout Plain Layout
42776 Toolbar ! Macro
42777 \end_layout
42778
42779 \end_inset
42780
42781  in the 
42782 \emph on
42783 Math
42784 \emph default
42785  manual.
42786 \end_layout
42787
42788 \begin_layout Chapter
42789 The Document Settings
42790 \begin_inset CommandInset label
42791 LatexCommand label
42792 name "chap:The-Document-Settings"
42793
42794 \end_inset
42795
42796
42797 \begin_inset Index idx
42798 status collapsed
42799
42800 \begin_layout Plain Layout
42801 Document ! Settings
42802 \end_layout
42803
42804 \end_inset
42805
42806
42807 \end_layout
42808
42809 \begin_layout Standard
42810 The 
42811 \family sans
42812 Document
42813 \begin_inset space ~
42814 \end_inset
42815
42816 Setting
42817 \family default
42818 s dialog contains submenus to set properties for the whole document and
42819  is called with the menu
42820 \family sans
42821  Document\SpecialChar menuseparator
42822 Settings
42823 \family default
42824 .
42825  You can save your document settings as default with the
42826 \family sans
42827  Save as Document Defaults
42828 \family default
42829  button in any dialog.
42830  This will create a template named 
42831 \family typewriter
42832 defaults.lyx
42833 \family default
42834  which is automatically loaded by \SpecialChar LyX
42835  when you create a new document without
42836  using a template.
42837 \end_layout
42838
42839 \begin_layout Standard
42840 The button 
42841 \family sans
42842 Use Class Defaults
42843 \family default
42844  resets the document settings to the default of the document class.
42845  This affects mostly class options, the page layout and Numbering & TOC.
42846 \end_layout
42847
42848 \begin_layout Standard
42849 The different submenus of the dialog are explained in the following sections.
42850  There are so many document settings available that it might take a while
42851  to find the one you are looking for.
42852  To find a setting quicker, you can use the search field which is above
42853  the submenus of the dialog.
42854  If you search e.
42855 \begin_inset space \thinspace{}
42856 \end_inset
42857
42858 g.
42859 \begin_inset space \space{}
42860 \end_inset
42861
42862 for 
42863 \begin_inset Quotes eld
42864 \end_inset
42865
42866 page
42867 \begin_inset Quotes erd
42868 \end_inset
42869
42870 , you will see that some submenus will be grayed-out and disabled.
42871  Only the submenus with page settings stay enabled.
42872  The found page settings are labeled red in these submenus.
42873 \end_layout
42874
42875 \begin_layout Section
42876 Document Class
42877 \end_layout
42878
42879 \begin_layout Standard
42880 Here you set the document class, class options, a graphics driver, and a
42881  master document.
42882  Document classes are described in section
42883 \begin_inset space ~
42884 \end_inset
42885
42886
42887 \begin_inset CommandInset ref
42888 LatexCommand ref
42889 reference "sec:Document-Classes"
42890
42891 \end_inset
42892
42893 .
42894  
42895 \end_layout
42896
42897 \begin_layout Standard
42898 With the button 
42899 \family sans
42900 Local
42901 \begin_inset space ~
42902 \end_inset
42903
42904 Layout
42905 \family default
42906  you can load you own layout-file, that is not in \SpecialChar LyX
42907 's 
42908 \emph on
42909 layouts
42910 \emph default
42911  folder and thus not recognized by \SpecialChar LyX
42912  as a layout for a document class.
42913  For more about layout-files, see the chapter 
42914 \emph on
42915 Installing New Document Classes, Types of Layout Files
42916 \emph default
42917  of the 
42918 \emph on
42919 Customization
42920 \emph default
42921  Handbook.
42922 \end_layout
42923
42924 \begin_layout Standard
42925 Some classes use special class options by default.
42926  If this is the case, they are listed in the field 
42927 \family sans
42928 Predefined
42929 \family default
42930  and you can decide to use them or not.
42931  If you do not know exactly what the default class options are for, it is
42932  recommended you leave them untouched.
42933  The 
42934 \family sans
42935 Graphics driver
42936 \family default
42937  is used for \SpecialChar LaTeX
42938 's graphics, color and page layout packages.
42939  If using 
42940 \family sans
42941 Default
42942 \family default
42943 , the default driver for the \SpecialChar LaTeX
42944 -packages is used.
42945  It is recommended that you use the default unless you know what you are
42946  doing.
42947 \begin_inset Foot
42948 status collapsed
42949
42950 \begin_layout Plain Layout
42951 When you want to use one of the following drivers
42952 \begin_inset Newline newline
42953 \end_inset
42954
42955
42956 \family sans
42957 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
42958 \family default
42959
42960 \begin_inset Newline newline
42961 \end_inset
42962
42963 you first have to activate them in your \SpecialChar LaTeX
42964  distribution, see section 
42965 \emph on
42966 Driver support
42967 \emph default
42968  in 
42969 \begin_inset CommandInset href
42970 LatexCommand href
42971 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
42972 literal "false"
42973
42974 \end_inset
42975
42976 .
42977 \end_layout
42978
42979 \end_inset
42980
42981
42982 \end_layout
42983
42984 \begin_layout Standard
42985 Specifying a 
42986 \family sans
42987 Master
42988 \family default
42989  document is necessary if the current document is a child or subdocument.
42990  The master document will be used by \SpecialChar LyX
42991  in the background if the child document
42992  is opened without its master.
42993  This way child documents are always compilable.
42994  More about master and child documents is explained in the section 
42995 \emph on
42996 Child Documents
42997 \emph default
42998  of the 
42999 \emph on
43000 Embedded
43001 \begin_inset space ~
43002 \end_inset
43003
43004 Objects
43005 \emph default
43006  manual.
43007 \end_layout
43008
43009 \begin_layout Standard
43010 There is also an option to suppress the date and one to use the \SpecialChar LaTeX
43011 -package
43012  
43013 \series bold
43014 refstyle
43015 \series default
43016  instead of 
43017 \series bold
43018 prettyref
43019 \series default
43020
43021 \begin_inset Index idx
43022 status collapsed
43023
43024 \begin_layout Plain Layout
43025 \SpecialChar LaTeX
43026  packages ! prettyref
43027 \end_layout
43028
43029 \end_inset
43030
43031
43032 \begin_inset Index idx
43033 status collapsed
43034
43035 \begin_layout Plain Layout
43036 \SpecialChar LaTeX
43037  packages ! refstyle
43038 \end_layout
43039
43040 \end_inset
43041
43042  for cross-references, see section
43043 \begin_inset space ~
43044 \end_inset
43045
43046
43047 \begin_inset CommandInset ref
43048 LatexCommand ref
43049 reference "sec:Cross-References"
43050
43051 \end_inset
43052
43053 .
43054 \end_layout
43055
43056 \begin_layout Section
43057 Child Documents
43058 \end_layout
43059
43060 \begin_layout Standard
43061 This submenu is only visible when your document includes child documents.
43062  Please refer to the section 
43063 \emph on
43064 Child
43065 \begin_inset space ~
43066 \end_inset
43067
43068 Documents
43069 \emph default
43070  of the 
43071 \emph on
43072 Embedded
43073 \begin_inset space ~
43074 \end_inset
43075
43076 Objects
43077 \emph default
43078  manual for details.
43079 \end_layout
43080
43081 \begin_layout Section
43082 Modules
43083 \end_layout
43084
43085 \begin_layout Standard
43086 Modules are explained in section
43087 \begin_inset space ~
43088 \end_inset
43089
43090
43091 \begin_inset CommandInset ref
43092 LatexCommand ref
43093 reference "subsec:Modules"
43094
43095 \end_inset
43096
43097 .
43098 \end_layout
43099
43100 \begin_layout Section
43101 Local Layout
43102 \end_layout
43103
43104 \begin_layout Standard
43105 See section
43106 \begin_inset space ~
43107 \end_inset
43108
43109
43110 \begin_inset CommandInset ref
43111 LatexCommand ref
43112 reference "subsec:Local-Layout"
43113
43114 \end_inset
43115
43116  for a description.
43117 \end_layout
43118
43119 \begin_layout Section
43120 Fonts
43121 \end_layout
43122
43123 \begin_layout Standard
43124 The document font settings are described in section
43125 \begin_inset space ~
43126 \end_inset
43127
43128
43129 \begin_inset CommandInset ref
43130 LatexCommand ref
43131 reference "sec:Fonts-and-Text"
43132
43133 \end_inset
43134
43135 .
43136 \end_layout
43137
43138 \begin_layout Section
43139 Text Layout
43140 \end_layout
43141
43142 \begin_layout Standard
43143 You can specify if paragraphs should be separated by 
43144 \family sans
43145 Indentation
43146 \family default
43147  or by 
43148 \family sans
43149 Vertical space
43150 \family default
43151 .
43152  The 
43153 \family sans
43154 Line
43155 \begin_inset space ~
43156 \end_inset
43157
43158 spacing
43159 \family default
43160  and whether it should be a 
43161 \family sans
43162 Two-column
43163 \begin_inset space ~
43164 \end_inset
43165
43166 document
43167 \family default
43168  can also be specified here.
43169 \end_layout
43170
43171 \begin_layout Standard
43172 Note that \SpecialChar LyX
43173  will not show two columns or the specified line spacing on screen.
43174  That would be impractical, often unreadable, and is not part of the WYSIWYM
43175  concept.
43176  However, it will be as you specified in the output.
43177 \end_layout
43178
43179 \begin_layout Standard
43180 With the option 
43181 \family sans
43182 Use justification in \SpecialChar LyX
43183  work area
43184 \family default
43185  you can decide if \SpecialChar LyX
43186  justifies the text on screen.
43187  This only affects the text inside \SpecialChar LyX
43188  not in the output.
43189 \end_layout
43190
43191 \begin_layout Section
43192 Page Layout
43193 \end_layout
43194
43195 \begin_layout Standard
43196 This dialog is described in sections
43197 \begin_inset space ~
43198 \end_inset
43199
43200
43201 \begin_inset CommandInset ref
43202 LatexCommand ref
43203 reference "subsec:Paper-Size,-Orientation"
43204
43205 \end_inset
43206
43207  and 
43208 \begin_inset CommandInset ref
43209 LatexCommand ref
43210 reference "subsec:Document-Layout"
43211
43212 \end_inset
43213
43214 .
43215 \end_layout
43216
43217 \begin_layout Section
43218 Page Margins
43219 \end_layout
43220
43221 \begin_layout Standard
43222 Here you can adjust the page margins as described in section
43223 \begin_inset space ~
43224 \end_inset
43225
43226
43227 \begin_inset CommandInset ref
43228 LatexCommand ref
43229 reference "subsec:Margins"
43230
43231 \end_inset
43232
43233 .
43234 \end_layout
43235
43236 \begin_layout Section
43237 Language
43238 \begin_inset CommandInset label
43239 LatexCommand label
43240 name "sec:Language-encodings"
43241
43242 \end_inset
43243
43244
43245 \begin_inset Index idx
43246 status collapsed
43247
43248 \begin_layout Plain Layout
43249 Language ! Encoding
43250 \end_layout
43251
43252 \end_inset
43253
43254
43255 \end_layout
43256
43257 \begin_layout Standard
43258 The document language and quote styles are set here.
43259  The encoding specifies how the document content is exported to \SpecialChar LaTeX
43260  (the \SpecialChar LyX
43261  file
43262  is always encoded in utf8).
43263  All characters that cannot be encoded using the specified encoding will
43264  be exported as \SpecialChar LaTeX
43265 -commands (this can fail if a \SpecialChar LaTeX
43266 -command is not known for
43267  a particular character).
43268 \end_layout
43269
43270 \begin_layout Standard
43271 If you use the option 
43272 \family sans
43273 Language Default
43274 \family default
43275 , \SpecialChar LyX
43276  determines the encoding of a text part from the language of this text.
43277  If the document contains text in more than one language you may get more
43278  than one encoding in the \SpecialChar LaTeX
43279  file.
43280  If you do not use this option then the complete document will always use
43281  exactly one encoding.
43282  Checking this option is the preferred setting.
43283 \end_layout
43284
43285 \begin_layout Standard
43286 \SpecialChar LyX
43287  also supports Unicode output, which is particularly useful if you need
43288  lots of special symbols or non-alphabetic scripts, respectively.
43289  If you want to use this (and your \SpecialChar LaTeX
43290  installation supports Unicode), choose
43291  one of the four utf8 variants from the list below.
43292  Unfortunately the Unicode support of standard \SpecialChar LaTeX
43293  is quite incomplete, so
43294  it is not uncommon that a file with lots of Unicode symbols works fine
43295  with 
43296 \family sans
43297 Language Default
43298 \family default
43299  (when \SpecialChar LyX
43300  uses its list of known \SpecialChar LaTeX
43301 -commands), but does not work with a fixed
43302  utf8 encoding (when the list of known \SpecialChar LaTeX
43303 -commands is not used, because all
43304  Unicode symbols can be encoded in utf8).
43305  The situation is much better with Xe\SpecialChar TeX
43306  and Lua\SpecialChar TeX
43307 , two new alternative engines
43308  to standard \SpecialChar LaTeX
43309 .
43310  Both engines support Unicode natively.
43311  \SpecialChar LyX
43312  now also supports these two engines (via the output formats 
43313 \family sans
43314 PDF
43315 \begin_inset space ~
43316 \end_inset
43317
43318 (XeTeX)
43319 \family default
43320
43321 \family sans
43322 PDF
43323 \begin_inset space ~
43324 \end_inset
43325
43326 (LuaTeX)
43327 \family default
43328  and 
43329 \family sans
43330 DVI
43331 \begin_inset space ~
43332 \end_inset
43333
43334 (LuaTeX)
43335 \family default
43336 , see section
43337 \begin_inset space ~
43338 \end_inset
43339
43340
43341 \begin_inset CommandInset ref
43342 LatexCommand ref
43343 reference "subsec:Output-file-formats"
43344
43345 \end_inset
43346
43347 ).
43348  So if you are using many special or accented characters and 
43349 \family sans
43350 Language Default
43351 \family default
43352  fails, you might try out one of these new engines.
43353 \end_layout
43354
43355 \begin_layout Standard
43356 The 
43357 \family sans
43358 Language
43359 \begin_inset space ~
43360 \end_inset
43361
43362 package
43363 \family default
43364  determines the \SpecialChar LaTeX
43365 -package that is used for hyphenation and the translation
43366  of strings like 
43367 \begin_inset Quotes eld
43368 \end_inset
43369
43370 Part
43371 \begin_inset Quotes erd
43372 \end_inset
43373
43374 .
43375  The possible settings are:
43376 \end_layout
43377
43378 \begin_layout Description
43379 Default uses the language package that is selected in
43380 \family sans
43381  Tools\SpecialChar menuseparator
43382 Preferences\SpecialChar menuseparator
43383 Language Settings
43384 \family default
43385  (see section
43386 \begin_inset space ~
43387 \end_inset
43388
43389
43390 \begin_inset CommandInset ref
43391 LatexCommand ref
43392 reference "subsec:Prefs-Language"
43393
43394 \end_inset
43395
43396 ).
43397 \end_layout
43398
43399 \begin_layout Description
43400 Automatic selects the most suitable language package for the view/export
43401  format you will use.
43402  In many cases this will be 
43403 \series bold
43404 babel
43405 \series default
43406
43407 \begin_inset Index idx
43408 status collapsed
43409
43410 \begin_layout Plain Layout
43411 \SpecialChar LaTeX
43412  packages ! babel
43413 \end_layout
43414
43415 \end_inset
43416
43417 .
43418  If the newer package 
43419 \series bold
43420 polyglossia
43421 \series default
43422
43423 \begin_inset Index idx
43424 status collapsed
43425
43426 \begin_layout Plain Layout
43427 \SpecialChar LaTeX
43428  packages ! polyglossia
43429 \end_layout
43430
43431 \end_inset
43432
43433  is more appropriate (is the case when using Xe\SpecialChar TeX
43434  or Lua\SpecialChar TeX
43435  and non-\SpecialChar TeX
43436  fonts),
43437  this package will be used instead of 
43438 \series bold
43439 babel
43440 \series default
43441 .
43442 \end_layout
43443
43444 \begin_layout Description
43445 Always
43446 \begin_inset space ~
43447 \end_inset
43448
43449 Babel uses 
43450 \series bold
43451 babel
43452 \series default
43453  even if 
43454 \series bold
43455 polyglossia
43456 \series default
43457  would be more appropriate.
43458 \end_layout
43459
43460 \begin_layout Description
43461 Custom allows you to specify a language package command of your choice.
43462  For example if you want to use a language-specific package like 
43463 \series bold
43464 ngerman
43465 \series default
43466  (for German texts), type in
43467 \series bold
43468
43469 \begin_inset Newline newline
43470 \end_inset
43471
43472
43473 \backslash
43474 usepackage{ngerman}
43475 \end_layout
43476
43477 \begin_layout Description
43478 None will not use a language package.
43479  This is necessary for some document classes for scientific articles.
43480 \end_layout
43481
43482 \begin_layout Standard
43483 Here is a list with the important encodings:
43484 \end_layout
43485
43486 \begin_layout Description
43487 Language
43488 \begin_inset space ~
43489 \end_inset
43490
43491 Default
43492 \begin_inset space ~
43493 \end_inset
43494
43495 (no
43496 \begin_inset space ~
43497 \end_inset
43498
43499 inputenc) Same as 
43500 \family sans
43501 Language Default
43502 \family default
43503 , but the \SpecialChar LaTeX
43504 -package 
43505 \series bold
43506 inputenc
43507 \series default
43508
43509 \begin_inset Index idx
43510 status collapsed
43511
43512 \begin_layout Plain Layout
43513 \SpecialChar LaTeX
43514  packages ! inputenc
43515 \end_layout
43516
43517 \end_inset
43518
43519  is not used.
43520  When using this, you probably need to load some additional packages manually
43521  in the preamble and specify the used encoding for text parts in foreign
43522  languages in \SpecialChar TeX
43523  code.
43524 \end_layout
43525
43526 \begin_layout Description
43527 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
43528  \SpecialChar LyX
43529  converts all other characters into \SpecialChar LaTeX
43530  commands, which may result in a big
43531  file when lots of \SpecialChar LaTeX
43532 -commands are needed.
43533 \end_layout
43534
43535 \begin_layout Description
43536 Arabic
43537 \begin_inset space ~
43538 \end_inset
43539
43540 (CP
43541 \begin_inset space ~
43542 \end_inset
43543
43544 1256) MS Windows code page for Arabic and Farsi
43545 \end_layout
43546
43547 \begin_layout Description
43548 Arabic
43549 \begin_inset space ~
43550 \end_inset
43551
43552 (ISO
43553 \begin_inset space ~
43554 \end_inset
43555
43556 8859-6) for Arabic and Farsi
43557 \end_layout
43558
43559 \begin_layout Description
43560 Armenian
43561 \begin_inset space ~
43562 \end_inset
43563
43564 (ArmSCII8) for Armenian
43565 \end_layout
43566
43567 \begin_layout Description
43568 Baltic
43569 \begin_inset space ~
43570 \end_inset
43571
43572 (CP
43573 \begin_inset space ~
43574 \end_inset
43575
43576 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
43577  as the ISO-8859-13 encoding
43578 \end_layout
43579
43580 \begin_layout Description
43581 Baltic
43582 \begin_inset space ~
43583 \end_inset
43584
43585 (ISO
43586 \begin_inset space ~
43587 \end_inset
43588
43589 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
43590  encoding
43591 \end_layout
43592
43593 \begin_layout Description
43594 Baltic
43595 \begin_inset space ~
43596 \end_inset
43597
43598 (ISO
43599 \begin_inset space ~
43600 \end_inset
43601
43602 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
43603  ISO-8859-13 encoding
43604 \end_layout
43605
43606 \begin_layout Description
43607 Central
43608 \begin_inset space ~
43609 \end_inset
43610
43611 European
43612 \begin_inset space ~
43613 \end_inset
43614
43615 (CP
43616 \begin_inset space ~
43617 \end_inset
43618
43619 1250) MS Windows code page for ISO
43620 \begin_inset space ~
43621 \end_inset
43622
43623 8859-2 (latin2)
43624 \end_layout
43625
43626 \begin_layout Description
43627 Central
43628 \begin_inset space ~
43629 \end_inset
43630
43631 European
43632 \begin_inset space ~
43633 \end_inset
43634
43635 (ISO
43636 \begin_inset space ~
43637 \end_inset
43638
43639 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
43640  Romanian, Slovak and Slovenian
43641 \end_layout
43642
43643 \begin_layout Description
43644 Chinese
43645 \begin_inset space ~
43646 \end_inset
43647
43648 (simplified)
43649 \begin_inset space ~
43650 \end_inset
43651
43652 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
43653  this encoding is officially replaced by the encoding GB18030, as GB18030
43654  is not available for \SpecialChar LaTeX
43655  you should try to use the encoding Unicode
43656 \begin_inset space ~
43657 \end_inset
43658
43659 (CJK)
43660 \begin_inset space ~
43661 \end_inset
43662
43663 (utf8)
43664 \end_layout
43665
43666 \begin_layout Description
43667 Chinese
43668 \begin_inset space ~
43669 \end_inset
43670
43671 (simplified)
43672 \begin_inset space ~
43673 \end_inset
43674
43675 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
43676  except for the Euro currency sign, since 2001 this encoding is officially
43677  replaced by the encoding GB18030, as GB18030 is not available for \SpecialChar LaTeX
43678  you
43679  should try to use the encoding Unicode
43680 \begin_inset space ~
43681 \end_inset
43682
43683 (CJK)
43684 \begin_inset space ~
43685 \end_inset
43686
43687 (utf8)
43688 \end_layout
43689
43690 \begin_layout Description
43691 Chinese
43692 \begin_inset space ~
43693 \end_inset
43694
43695 (traditional)
43696 \begin_inset space ~
43697 \end_inset
43698
43699 (EUC-TW) for traditional Chinese
43700 \end_layout
43701
43702 \begin_layout Description
43703 Cyrillic
43704 \begin_inset space ~
43705 \end_inset
43706
43707 (CP
43708 \begin_inset space ~
43709 \end_inset
43710
43711 1251) MS Windows code page for Cyrillic
43712 \end_layout
43713
43714 \begin_layout Description
43715 Cyrillic
43716 \begin_inset space ~
43717 \end_inset
43718
43719 (ISO
43720 \begin_inset space ~
43721 \end_inset
43722
43723 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
43724 \end_layout
43725
43726 \begin_layout Description
43727 Cyrillic
43728 \begin_inset space ~
43729 \end_inset
43730
43731 (KOI8-R) standard Cyrillic especially for Russian
43732 \end_layout
43733
43734 \begin_layout Description
43735 Cyrillic
43736 \begin_inset space ~
43737 \end_inset
43738
43739 (KOI8-U) Cyrillic for Ukrainian
43740 \end_layout
43741
43742 \begin_layout Description
43743 Cyrillic
43744 \begin_inset space ~
43745 \end_inset
43746
43747 (pt
43748 \begin_inset space ~
43749 \end_inset
43750
43751 154) Cyrillic for Kazakh
43752 \end_layout
43753
43754 \begin_layout Description
43755 Greek
43756 \begin_inset space ~
43757 \end_inset
43758
43759 (ISO
43760 \begin_inset space ~
43761 \end_inset
43762
43763 8859-7) for Greek
43764 \end_layout
43765
43766 \begin_layout Description
43767 Hebrew
43768 \begin_inset space ~
43769 \end_inset
43770
43771 (CP
43772 \begin_inset space ~
43773 \end_inset
43774
43775 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
43776 \end_layout
43777
43778 \begin_layout Description
43779 Hebrew
43780 \begin_inset space ~
43781 \end_inset
43782
43783 (ISO
43784 \begin_inset space ~
43785 \end_inset
43786
43787 8859-8) for Hebrew
43788 \end_layout
43789
43790 \begin_layout Description
43791 Japanese
43792 \begin_inset space ~
43793 \end_inset
43794
43795 (CJK)
43796 \begin_inset space ~
43797 \end_inset
43798
43799 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43800 -package 
43801 \series bold
43802 CJK
43803 \series default
43804
43805 \begin_inset Index idx
43806 status collapsed
43807
43808 \begin_layout Plain Layout
43809 \SpecialChar LaTeX
43810  packages ! CJK
43811 \end_layout
43812
43813 \end_inset
43814
43815 , when using this, set the document language to 
43816 \family sans
43817 Japanese (CJK)
43818 \end_layout
43819
43820 \begin_layout Description
43821 Japanese
43822 \begin_inset space ~
43823 \end_inset
43824
43825 (CJK)
43826 \begin_inset space ~
43827 \end_inset
43828
43829 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43830 -package 
43831 \series bold
43832 CJK
43833 \series default
43834 , when using this, set the document language to 
43835 \family sans
43836 Japanese
43837 \begin_inset space ~
43838 \end_inset
43839
43840 (CJK)
43841 \end_layout
43842
43843 \begin_layout Description
43844 Japanese
43845 \begin_inset space ~
43846 \end_inset
43847
43848 (non-CJK)
43849 \begin_inset space ~
43850 \end_inset
43851
43852 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43853 -package 
43854 \series bold
43855 japanese
43856 \series default
43857
43858 \begin_inset Index idx
43859 status collapsed
43860
43861 \begin_layout Plain Layout
43862 \SpecialChar LaTeX
43863  packages ! japanese
43864 \end_layout
43865
43866 \end_inset
43867
43868 , when using this, set the document language to 
43869 \family sans
43870 Japanese
43871 \end_layout
43872
43873 \begin_layout Description
43874 Japanese
43875 \begin_inset space ~
43876 \end_inset
43877
43878 (non-CJK)
43879 \begin_inset space ~
43880 \end_inset
43881
43882 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43883 -package 
43884 \series bold
43885 japanese
43886 \series default
43887 , when using this, set the document language to 
43888 \family sans
43889 Japanese
43890 \end_layout
43891
43892 \begin_layout Description
43893 Japanese
43894 \begin_inset space ~
43895 \end_inset
43896
43897 (non-CJK)
43898 \begin_inset space ~
43899 \end_inset
43900
43901 (SJIS) SJIS encoding for Japanese, uses the \SpecialChar LaTeX
43902 -package 
43903 \series bold
43904 japanese
43905 \series default
43906 , when using this, set the document language to 
43907 \family sans
43908 Japanese
43909 \end_layout
43910
43911 \begin_layout Description
43912 Korean
43913 \begin_inset space ~
43914 \end_inset
43915
43916 (EUC-KR) for Korean
43917 \end_layout
43918
43919 \begin_layout Description
43920 Southern
43921 \begin_inset space ~
43922 \end_inset
43923
43924 European
43925 \begin_inset space ~
43926 \end_inset
43927
43928 (ISO
43929 \begin_inset space ~
43930 \end_inset
43931
43932 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
43933 \end_layout
43934
43935 \begin_layout Description
43936 South-Eastern
43937 \begin_inset space ~
43938 \end_inset
43939
43940 European
43941 \begin_inset space ~
43942 \end_inset
43943
43944 (ISO
43945 \begin_inset space ~
43946 \end_inset
43947
43948 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
43949  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
43950  to cover many languages and characters with diacritics
43951 \end_layout
43952
43953 \begin_layout Description
43954 Thai
43955 \begin_inset space ~
43956 \end_inset
43957
43958 (TIS
43959 \begin_inset space ~
43960 \end_inset
43961
43962 620-0) for Thai
43963 \end_layout
43964
43965 \begin_layout Description
43966 Turkish
43967 \begin_inset space ~
43968 \end_inset
43969
43970 (ISO
43971 \begin_inset space ~
43972 \end_inset
43973
43974 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
43975  Icelandic letters are replaced by Turkish ones
43976 \end_layout
43977
43978 \begin_layout Description
43979 Unicode
43980 \begin_inset space ~
43981 \end_inset
43982
43983 (CJK)
43984 \begin_inset space ~
43985 \end_inset
43986
43987 (utf8) Unicode utf8 with the \SpecialChar LaTeX
43988 -package 
43989 \series bold
43990 CJK
43991 \series default
43992
43993 \begin_inset Index idx
43994 status collapsed
43995
43996 \begin_layout Plain Layout
43997 \SpecialChar LaTeX
43998  packages ! CJK
43999 \end_layout
44000
44001 \end_inset
44002
44003  (for the languages Chinese, Japanese and Korean)
44004 \end_layout
44005
44006 \begin_layout Description
44007 Unicode
44008 \begin_inset space ~
44009 \end_inset
44010
44011 (Xe
44012 \family sans
44013 TeX
44014 \family default
44015 )
44016 \begin_inset space ~
44017 \end_inset
44018
44019 (utf8) Unicode utf8 to be used with 
44020 \family sans
44021 Xe\SpecialChar TeX
44022
44023 \family default
44024  and 
44025 \family sans
44026 Lua\SpecialChar TeX
44027
44028 \family default
44029 , which use Unicode directly, without the help of the \SpecialChar LaTeX
44030 -package 
44031 \series bold
44032 inputenc
44033 \series default
44034 .
44035  \SpecialChar LyX
44036  automatically selects this encoding if you export or preview Xe\SpecialChar TeX
44037  or Lua\SpecialChar TeX
44038 .
44039  Normally you do not need to set this encoding manually.
44040 \end_layout
44041
44042 \begin_layout Description
44043 Unicode
44044 \begin_inset space ~
44045 \end_inset
44046
44047 (ucs-extended)
44048 \begin_inset space ~
44049 \end_inset
44050
44051 (utf8x) Unicode utf8 based on the \SpecialChar LaTeX
44052 -package 
44053 \series bold
44054 ucs
44055 \series default
44056
44057 \begin_inset Index idx
44058 status collapsed
44059
44060 \begin_layout Plain Layout
44061 \SpecialChar LaTeX
44062  packages ! ucs
44063 \end_layout
44064
44065 \end_inset
44066
44067  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
44068 \end_layout
44069
44070 \begin_layout Description
44071 Unicode
44072 \begin_inset space ~
44073 \end_inset
44074
44075 (utf8) Unicode utf8 based on the \SpecialChar LaTeX
44076 -package 
44077 \series bold
44078 inputenc
44079 \series default
44080
44081 \begin_inset Index idx
44082 status collapsed
44083
44084 \begin_layout Plain Layout
44085 \SpecialChar LaTeX
44086  packages ! inputenc
44087 \end_layout
44088
44089 \end_inset
44090
44091 .
44092  Currently only a limited range of characters (mainly for Latin scripts)
44093  is supported.
44094 \end_layout
44095
44096 \begin_layout Description
44097 Western
44098 \begin_inset space ~
44099 \end_inset
44100
44101 European
44102 \begin_inset space ~
44103 \end_inset
44104
44105 (CP
44106 \begin_inset space ~
44107 \end_inset
44108
44109 1252) MS Windows code page for ISO
44110 \begin_inset space ~
44111 \end_inset
44112
44113 8859-1 (latin1)
44114 \end_layout
44115
44116 \begin_layout Description
44117 Western
44118 \begin_inset space ~
44119 \end_inset
44120
44121 European
44122 \begin_inset space ~
44123 \end_inset
44124
44125 (ISO
44126 \begin_inset space ~
44127 \end_inset
44128
44129 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
44130  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
44131  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
44132  encoding instead
44133 \end_layout
44134
44135 \begin_layout Description
44136 Western
44137 \begin_inset space ~
44138 \end_inset
44139
44140 European
44141 \begin_inset space ~
44142 \end_inset
44143
44144 (ISO
44145 \begin_inset space ~
44146 \end_inset
44147
44148 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
44149  sign, the œ-ligature and some characters used for French and Finnish
44150 \end_layout
44151
44152 \begin_layout Section
44153 Colors
44154 \begin_inset Index idx
44155 status collapsed
44156
44157 \begin_layout Plain Layout
44158 Color ! main text
44159 \end_layout
44160
44161 \end_inset
44162
44163
44164 \begin_inset Index idx
44165 status collapsed
44166
44167 \begin_layout Plain Layout
44168 Color ! background
44169 \end_layout
44170
44171 \end_inset
44172
44173
44174 \begin_inset Index idx
44175 status collapsed
44176
44177 \begin_layout Plain Layout
44178 Color ! Shaded boxes
44179 \end_layout
44180
44181 \end_inset
44182
44183
44184 \begin_inset Index idx
44185 status collapsed
44186
44187 \begin_layout Plain Layout
44188 Color ! Greyed-out notes
44189 \end_layout
44190
44191 \end_inset
44192
44193
44194 \end_layout
44195
44196 \begin_layout Standard
44197 Here you can alter the font color for the 
44198 \family sans
44199 Main text
44200 \family default
44201  (default: black), for 
44202 \family sans
44203 Greyed
44204 \begin_inset space ~
44205 \end_inset
44206
44207 out notes
44208 \family default
44209  (default: light grey)for the background color for the 
44210 \family sans
44211 Page
44212 \family default
44213  (default: white) and for 
44214 \family sans
44215 Shaded
44216 \begin_inset space ~
44217 \end_inset
44218
44219 boxes
44220 \family default
44221  (default: red).
44222  The button 
44223 \family sans
44224 Reset
44225 \family default
44226  sets the color back to the default.
44227 \end_layout
44228
44229 \begin_layout Standard
44230 Clicking any button showing 
44231 \family sans
44232 Default
44233 \family default
44234  or 
44235 \family sans
44236 Change
44237 \family default
44238  opens a dialog enabling you to choose from a selection of colors or from
44239  a color-picker or to specify a color using HSL or RGB values.
44240  In the dialog you can add any color to the custom colors to select them
44241  later more quickly.
44242 \end_layout
44243
44244 \begin_layout Standard
44245 Note, if you change the 
44246 \family sans
44247 Main
44248 \begin_inset space ~
44249 \end_inset
44250
44251 text
44252 \family default
44253  font color and use the option 
44254 \family sans
44255 Color
44256 \begin_inset space ~
44257 \end_inset
44258
44259 links
44260 \family default
44261  in the document settings under 
44262 \family sans
44263 PDF
44264 \begin_inset space ~
44265 \end_inset
44266
44267 properties
44268 \family default
44269 , you probably also need to change the link font color as described in section
44270 \begin_inset space ~
44271 \end_inset
44272
44273
44274 \begin_inset CommandInset ref
44275 LatexCommand ref
44276 reference "sec:PDF-Properties"
44277
44278 \end_inset
44279
44280 .
44281 \end_layout
44282
44283 \begin_layout Standard
44284 \begin_inset VSpace bigskip
44285 \end_inset
44286
44287
44288 \end_layout
44289
44290 \begin_layout Standard
44291 You can adapt the 
44292 \family sans
44293 Main
44294 \begin_inset space ~
44295 \end_inset
44296
44297 text
44298 \family default
44299  font color and the 
44300 \family sans
44301 Page
44302 \family default
44303  background for every page in your document if you use these commands as
44304  \SpecialChar TeX
44305
44306 \begin_inset space ~
44307 \end_inset
44308
44309 Code after a forced page break:
44310 \end_layout
44311
44312 \begin_layout Itemize
44313 For the page color:
44314 \begin_inset Newline newline
44315 \end_inset
44316
44317
44318 \series bold
44319
44320 \backslash
44321 pagecolor{color name}
44322 \end_layout
44323
44324 \begin_layout Itemize
44325 For the text color:
44326 \begin_inset Newline newline
44327 \end_inset
44328
44329
44330 \series bold
44331
44332 \backslash
44333 color{color name}
44334 \end_layout
44335
44336 \begin_layout Standard
44337 You are restricted to one of 
44338 \series bold
44339 black
44340 \series default
44341
44342 \series bold
44343 blue
44344 \series default
44345
44346 \series bold
44347 cyan
44348 \series default
44349
44350 \series bold
44351 green
44352 \series default
44353
44354 \series bold
44355 magenta
44356 \series default
44357
44358 \series bold
44359 red
44360 \series default
44361
44362 \series bold
44363 white
44364 \series default
44365  or 
44366 \series bold
44367 yellow
44368 \series default
44369  for the 
44370 \series bold
44371 color name
44372 \series default
44373  unless you have defined your own color (see the section 
44374 \emph on
44375 Colored Tables
44376 \emph default
44377  of the 
44378 \emph on
44379 Embedded
44380 \begin_inset space ~
44381 \end_inset
44382
44383 Objects
44384 \emph default
44385  Manual).
44386 \begin_inset Newline newline
44387 \end_inset
44388
44389 If you have changed a text or background color, you can use the following
44390  names to refer to them:
44391 \end_layout
44392
44393 \begin_layout Itemize
44394 For the 
44395 \family sans
44396 Page
44397 \family default
44398  background color:
44399 \begin_inset Newline newline
44400 \end_inset
44401
44402
44403 \series bold
44404 page_backgroundcolor
44405 \end_layout
44406
44407 \begin_layout Itemize
44408 For the 
44409 \family sans
44410 Main
44411 \begin_inset space ~
44412 \end_inset
44413
44414 text
44415 \family default
44416  color:
44417 \begin_inset Newline newline
44418 \end_inset
44419
44420
44421 \series bold
44422 document_fontcolor
44423 \end_layout
44424
44425 \begin_layout Itemize
44426 For the 
44427 \family sans
44428 Shaded
44429 \begin_inset space ~
44430 \end_inset
44431
44432 boxes
44433 \family default
44434  background color:
44435 \begin_inset Newline newline
44436 \end_inset
44437
44438
44439 \series bold
44440 shadecolor
44441 \end_layout
44442
44443 \begin_layout Itemize
44444 For the 
44445 \family sans
44446 Greyed
44447 \begin_inset space ~
44448 \end_inset
44449
44450 out notes
44451 \family default
44452  text color:
44453 \begin_inset Newline newline
44454 \end_inset
44455
44456
44457 \series bold
44458 note_fontcolor
44459 \end_layout
44460
44461 \begin_layout Standard
44462 To see how to define and use custom colors, see section 
44463 \emph on
44464 Colored
44465 \begin_inset space ~
44466 \end_inset
44467
44468 Cells
44469 \emph default
44470  of the 
44471 \emph on
44472 Embedded
44473 \begin_inset space ~
44474 \end_inset
44475
44476 Objects
44477 \emph default
44478  manual.
44479 \end_layout
44480
44481 \begin_layout Section
44482 Numbering & TOC
44483 \end_layout
44484
44485 \begin_layout Standard
44486 Here you can adjust the 
44487 \family sans
44488 Numbering
44489 \family default
44490  depth of section headings and the section depth in the 
44491 \family sans
44492 Table of Contents
44493 \family default
44494  as described in section
44495 \begin_inset space ~
44496 \end_inset
44497
44498
44499 \begin_inset CommandInset ref
44500 LatexCommand ref
44501 reference "subsec:Numbering-depth"
44502
44503 \end_inset
44504
44505 .
44506 \end_layout
44507
44508 \begin_layout Section
44509 Bibliography
44510 \end_layout
44511
44512 \begin_layout Standard
44513 Here you can specify if a specific citation style using the \SpecialChar LaTeX
44514  packages 
44515 \series bold
44516 biblatex
44517 \series default
44518
44519 \begin_inset Index idx
44520 status collapsed
44521
44522 \begin_layout Plain Layout
44523 \SpecialChar LaTeX
44524  packages ! biblatex
44525 \end_layout
44526
44527 \end_inset
44528
44529
44530 \series bold
44531 natbib
44532 \series default
44533
44534 \begin_inset Index idx
44535 status collapsed
44536
44537 \begin_layout Plain Layout
44538 \SpecialChar LaTeX
44539  packages ! natbib
44540 \end_layout
44541
44542 \end_inset
44543
44544  or 
44545 \series bold
44546 jurabib
44547 \series default
44548
44549 \begin_inset Index idx
44550 status collapsed
44551
44552 \begin_layout Plain Layout
44553 \SpecialChar LaTeX
44554  packages ! jurabib
44555 \end_layout
44556
44557 \end_inset
44558
44559  should be used.
44560  If you use Bib\SpecialChar TeX
44561 , you can enable a 
44562 \family sans
44563 Sectioned bibliography
44564 \family default
44565  using the \SpecialChar LaTeX
44566  package 
44567 \series bold
44568 bibtopic
44569 \series default
44570
44571 \begin_inset Index idx
44572 status collapsed
44573
44574 \begin_layout Plain Layout
44575 \SpecialChar LaTeX
44576  packages ! bibtopic
44577 \end_layout
44578
44579 \end_inset
44580
44581 .
44582  If you use 
44583 \noun on
44584 Biblatex
44585 \noun default
44586 , you can select the style files and specify further options.
44587  Finally, you can select a document-specific 
44588 \family sans
44589 Processor
44590 \family default
44591  for the generation of the bibliography.
44592  For a further description of these possibilities see section
44593 \begin_inset space ~
44594 \end_inset
44595
44596
44597 \begin_inset CommandInset ref
44598 LatexCommand ref
44599 reference "sec:Bibliography"
44600
44601 \end_inset
44602
44603 .
44604 \end_layout
44605
44606 \begin_layout Section
44607 Indexes
44608 \end_layout
44609
44610 \begin_layout Standard
44611 Here you can define the 
44612 \family sans
44613 Processor
44614 \family default
44615  that will generate your index and you can define additional indexes (see
44616  section
44617 \begin_inset space ~
44618 \end_inset
44619
44620
44621 \begin_inset CommandInset ref
44622 LatexCommand ref
44623 reference "sec:Index"
44624
44625 \end_inset
44626
44627  for details).
44628 \end_layout
44629
44630 \begin_layout Section
44631 PDF Properties
44632 \end_layout
44633
44634 \begin_layout Standard
44635 The PDF properties are explained in section
44636 \begin_inset space ~
44637 \end_inset
44638
44639
44640 \begin_inset CommandInset ref
44641 LatexCommand ref
44642 reference "sec:PDF-Properties"
44643
44644 \end_inset
44645
44646 .
44647 \end_layout
44648
44649 \begin_layout Section
44650 Math Options
44651 \end_layout
44652
44653 \begin_layout Standard
44654 These options will force \SpecialChar LyX
44655  to use the \SpecialChar LaTeX
44656  packages 
44657 \series bold
44658 amsmath
44659 \series default
44660
44661 \begin_inset Index idx
44662 status collapsed
44663
44664 \begin_layout Plain Layout
44665 \SpecialChar LaTeX
44666  packages ! amsmath
44667 \end_layout
44668
44669 \end_inset
44670
44671
44672 \series bold
44673 amssymb
44674 \series default
44675
44676 \begin_inset Index idx
44677 status collapsed
44678
44679 \begin_layout Plain Layout
44680 \SpecialChar LaTeX
44681  packages ! amssymb
44682 \end_layout
44683
44684 \end_inset
44685
44686 ,
44687 \series bold
44688  cancel
44689 \series default
44690
44691 \begin_inset Index idx
44692 status collapsed
44693
44694 \begin_layout Plain Layout
44695 \SpecialChar LaTeX
44696  packages ! cancel
44697 \end_layout
44698
44699 \end_inset
44700
44701 ,
44702 \series bold
44703  esint
44704 \series default
44705
44706 \begin_inset Index idx
44707 status collapsed
44708
44709 \begin_layout Plain Layout
44710 \SpecialChar LaTeX
44711  packages ! esint
44712 \end_layout
44713
44714 \end_inset
44715
44716
44717 \series bold
44718 mathdots
44719 \series default
44720
44721 \begin_inset Index idx
44722 status collapsed
44723
44724 \begin_layout Plain Layout
44725 \SpecialChar LaTeX
44726  packages ! mathdots
44727 \end_layout
44728
44729 \end_inset
44730
44731
44732 \series bold
44733 mathtools
44734 \series default
44735
44736 \begin_inset Index idx
44737 status collapsed
44738
44739 \begin_layout Plain Layout
44740 \SpecialChar LaTeX
44741  packages ! mathtools
44742 \end_layout
44743
44744 \end_inset
44745
44746
44747 \series bold
44748 mhchem
44749 \series default
44750
44751 \begin_inset Index idx
44752 status collapsed
44753
44754 \begin_layout Plain Layout
44755 \SpecialChar LaTeX
44756  packages ! mhchem
44757 \end_layout
44758
44759 \end_inset
44760
44761
44762 \series bold
44763 stackrel
44764 \series default
44765
44766 \begin_inset Index idx
44767 status collapsed
44768
44769 \begin_layout Plain Layout
44770 \SpecialChar LaTeX
44771  packages ! stackrel
44772 \end_layout
44773
44774 \end_inset
44775
44776
44777 \series bold
44778 stmaryrd
44779 \series default
44780
44781 \begin_inset Index idx
44782 status collapsed
44783
44784 \begin_layout Plain Layout
44785 \SpecialChar LaTeX
44786  packages ! stmaryrd
44787 \end_layout
44788
44789 \end_inset
44790
44791  and 
44792 \series bold
44793 undertilde
44794 \series default
44795
44796 \begin_inset Index idx
44797 status collapsed
44798
44799 \begin_layout Plain Layout
44800 \SpecialChar LaTeX
44801  packages ! undertilde
44802 \end_layout
44803
44804 \end_inset
44805
44806 , or to use them automatically when they are needed.
44807 \end_layout
44808
44809 \begin_layout Description
44810 amsmath is needed for many constructs, so when you get \SpecialChar LaTeX
44811 -errors in formulas,
44812  ensure that you have this enabled.
44813 \end_layout
44814
44815 \begin_layout Description
44816 amssymb is needed for some special math symbols like bold or upright Greek
44817  letters, so when you get \SpecialChar LaTeX
44818 -errors in formulas, ensure that you have this
44819  enabled.
44820 \end_layout
44821
44822 \begin_layout Description
44823 cancel is used for canceled formulas, see section 
44824 \emph on
44825 Canceled
44826 \begin_inset space ~
44827 \end_inset
44828
44829 Formulas
44830 \emph default
44831  of the 
44832 \emph on
44833 Math
44834 \emph default
44835  manual.
44836 \end_layout
44837
44838 \begin_layout Description
44839 esint is used for special integral characters, see section 
44840 \emph on
44841 Big
44842 \begin_inset space ~
44843 \end_inset
44844
44845 Operators
44846 \emph default
44847  of the 
44848 \emph on
44849 Math
44850 \emph default
44851  manual.
44852 \end_layout
44853
44854 \begin_layout Description
44855 mathdots is used for special ellipses, see section 
44856 \emph on
44857 Ellipses
44858 \emph default
44859  of the 
44860 \emph on
44861 Math
44862 \emph default
44863  manual.
44864 \end_layout
44865
44866 \begin_layout Description
44867 mathtools is used for the math commands 
44868 \series bold
44869
44870 \backslash
44871 overbracket
44872 \series default
44873
44874 \series bold
44875
44876 \backslash
44877 underbracket
44878 \series default
44879
44880 \series bold
44881
44882 \backslash
44883 smashoperator
44884 \series default
44885
44886 \series bold
44887
44888 \backslash
44889 adjustlimits
44890 \series default
44891
44892 \series bold
44893
44894 \backslash
44895 splitfrac
44896 \series default
44897
44898 \series bold
44899
44900 \backslash
44901 shortintertext
44902 \series default
44903  and labeled arrows, see the corresponding sections in the 
44904 \emph on
44905 Math
44906 \emph default
44907  manual.
44908 \end_layout
44909
44910 \begin_layout Description
44911 mhchem is used for chemical equations, see section 
44912 \emph on
44913 Chemical Symbols and Equations
44914 \emph default
44915  of the 
44916 \emph on
44917 Math
44918 \emph default
44919  manual.
44920 \end_layout
44921
44922 \begin_layout Description
44923 stackrel is used for the math command 
44924 \series bold
44925
44926 \backslash
44927 stackrel
44928 \series default
44929 , see section 
44930 \emph on
44931 Relations 
44932 \emph default
44933 of the 
44934 \emph on
44935 Math
44936 \emph default
44937  manual.
44938 \end_layout
44939
44940 \begin_layout Description
44941 stmaryrd is used for a few special math symbols.
44942 \end_layout
44943
44944 \begin_layout Description
44945 undertilde is used for the math command 
44946 \series bold
44947
44948 \backslash
44949 utilde
44950 \series default
44951 , see section 
44952 \emph on
44953 Accents for one Character 
44954 \emph default
44955 of the 
44956 \emph on
44957 Math
44958 \emph default
44959  manual.
44960 \end_layout
44961
44962 \begin_layout Section
44963 Float Placement
44964 \end_layout
44965
44966 \begin_layout Standard
44967 The float placement options are described in the section 
44968 \emph on
44969 Float
44970 \begin_inset space ~
44971 \end_inset
44972
44973 Placement
44974 \emph default
44975  of the 
44976 \emph on
44977 Embedded
44978 \begin_inset space ~
44979 \end_inset
44980
44981 Objects
44982 \emph default
44983  manual.
44984 \end_layout
44985
44986 \begin_layout Section
44987 Listings
44988 \end_layout
44989
44990 \begin_layout Standard
44991 The listings settings are explained in the chapter 
44992 \emph on
44993 Program Code Listings
44994 \emph default
44995  of the 
44996 \emph on
44997 Embedded
44998 \begin_inset space ~
44999 \end_inset
45000
45001 Objects
45002 \emph default
45003  manual.
45004 \end_layout
45005
45006 \begin_layout Section
45007 Bullets
45008 \end_layout
45009
45010 \begin_layout Standard
45011 Here you can adjust the characters used for the itemize 
45012 \family sans
45013 Level
45014 \family default
45015 s, specify the 
45016 \family sans
45017 Font
45018 \family default
45019  set to be used and set the 
45020 \family sans
45021 Size
45022 \family default
45023  of the bullets.
45024  The itemize environment is described in section
45025 \begin_inset space ~
45026 \end_inset
45027
45028
45029 \begin_inset CommandInset ref
45030 LatexCommand ref
45031 reference "sec:Itemize"
45032
45033 \end_inset
45034
45035 .
45036 \end_layout
45037
45038 \begin_layout Standard
45039 You can furthermore specify a 
45040 \family sans
45041 Custom
45042 \begin_inset space ~
45043 \end_inset
45044
45045 Bullet
45046 \family default
45047  by inserting in this field the \SpecialChar LaTeX
45048  command of the desired character.
45049  For example to use the € sign, you have to insert the command 
45050 \series bold
45051
45052 \backslash
45053 texteuro
45054 \series default
45055 .
45056  For math symbols you additionally need to enclose the command with $ signs.
45057  To use e.
45058 \begin_inset space \thinspace{}
45059 \end_inset
45060
45061 g.
45062 \begin_inset space \space{}
45063 \end_inset
45064
45065 the symbol 
45066 \begin_inset Formula $\circlearrowright$
45067 \end_inset
45068
45069  you need to enter 
45070 \series bold
45071 $
45072 \backslash
45073 circlearrowright$
45074 \series default
45075 .
45076  To find the command for a math symbol, create a formula and hover the mouse
45077  over the desired symbol in the math toolbar.
45078 \end_layout
45079
45080 \begin_layout Standard
45081 \begin_inset Note Greyedout
45082 status open
45083
45084 \begin_layout Plain Layout
45085
45086 \series bold
45087 Note:
45088 \series default
45089  Some characters require to load special \SpecialChar LaTeX
45090 -packages in the preamble (menu
45091  
45092 \family sans
45093 Document\SpecialChar menuseparator
45094 Settings\SpecialChar menuseparator
45095 \SpecialChar LaTeX
45096
45097 \begin_inset space ~
45098 \end_inset
45099
45100 Preamble
45101 \family default
45102 ).
45103  For example for the € sign one needs to add the line 
45104 \series bold
45105
45106 \backslash
45107 usepackage{textcomp}
45108 \series default
45109  to the preamble.
45110  For most math symbols it is sufficient to add the line 
45111 \series bold
45112
45113 \backslash
45114 usepackage{amssymb}
45115 \series default
45116 .
45117 \end_layout
45118
45119 \end_inset
45120
45121
45122 \end_layout
45123
45124 \begin_layout Section
45125 Branches
45126 \end_layout
45127
45128 \begin_layout Standard
45129 Branches are described in section
45130 \begin_inset space ~
45131 \end_inset
45132
45133
45134 \begin_inset CommandInset ref
45135 LatexCommand ref
45136 reference "sec:Branches"
45137
45138 \end_inset
45139
45140 .
45141 \end_layout
45142
45143 \begin_layout Section
45144 Formats
45145 \begin_inset CommandInset label
45146 LatexCommand label
45147 name "sec:Doc-Formats"
45148
45149 \end_inset
45150
45151
45152 \end_layout
45153
45154 \begin_layout Standard
45155 Here you can define some output specifics for the current document:
45156 \end_layout
45157
45158 \begin_layout Description
45159 Default
45160 \begin_inset space ~
45161 \end_inset
45162
45163 Output
45164 \begin_inset space ~
45165 \end_inset
45166
45167 Format: The format that is used when you enter 
45168 \begin_inset Quotes eld
45169 \end_inset
45170
45171 View
45172 \begin_inset Quotes erd
45173 \end_inset
45174
45175
45176 \begin_inset Quotes eld
45177 \end_inset
45178
45179 Update
45180 \begin_inset Quotes erd
45181 \end_inset
45182
45183
45184 \begin_inset Quotes eld
45185 \end_inset
45186
45187 View Master Document
45188 \begin_inset Quotes erd
45189 \end_inset
45190
45191  and 
45192 \begin_inset Quotes eld
45193 \end_inset
45194
45195 Update Master Document
45196 \begin_inset Quotes erd
45197 \end_inset
45198
45199  in the 
45200 \family sans
45201 Document
45202 \family default
45203  menu or the toolbar.
45204  The default is set in 
45205 \family sans
45206 Tools\SpecialChar menuseparator
45207 Preferences\SpecialChar menuseparator
45208 File
45209 \begin_inset space ~
45210 \end_inset
45211
45212 Handling\SpecialChar menuseparator
45213 File Formats
45214 \family default
45215 , see section
45216 \begin_inset space ~
45217 \end_inset
45218
45219
45220 \begin_inset CommandInset ref
45221 LatexCommand ref
45222 reference "sec:File-Formats"
45223
45224 \end_inset
45225
45226 .
45227 \end_layout
45228
45229 \begin_layout Description
45230 Synchronize
45231 \begin_inset space ~
45232 \end_inset
45233
45234 with
45235 \begin_inset space ~
45236 \end_inset
45237
45238 Output settings for the menu 
45239 \family sans
45240 Navigate\SpecialChar menuseparator
45241 Forward
45242 \begin_inset space ~
45243 \end_inset
45244
45245 search
45246 \family default
45247 .
45248  For a detailed description see section 
45249 \emph on
45250 Reverse DVI/PDF search
45251 \emph default
45252  of the 
45253 \emph on
45254 Additional
45255 \begin_inset space ~
45256 \end_inset
45257
45258 Features
45259 \emph default
45260  manual.
45261 \end_layout
45262
45263 \begin_layout Description
45264 XHTML
45265 \begin_inset space ~
45266 \end_inset
45267
45268 Output
45269 \begin_inset space ~
45270 \end_inset
45271
45272 Options offers settings for the export format 
45273 \family sans
45274 LyXHTML
45275 \family default
45276 .
45277  
45278 \family sans
45279 Strict XHTML
45280 \begin_inset space ~
45281 \end_inset
45282
45283 1.1
45284 \family default
45285  will assure that the output follows exactly version
45286 \begin_inset space ~
45287 \end_inset
45288
45289 1.1 of the XHTML standard.
45290  The different 
45291 \family sans
45292 Math
45293 \begin_inset space ~
45294 \end_inset
45295
45296 output
45297 \family default
45298  settings are described in detail in section 
45299 \emph on
45300 Math Output in XHTML
45301 \emph default
45302  of the 
45303 \emph on
45304 Additional
45305 \begin_inset space ~
45306 \end_inset
45307
45308 Features
45309 \emph default
45310  manual.
45311  
45312 \family sans
45313 Math
45314 \begin_inset space ~
45315 \end_inset
45316
45317 image
45318 \begin_inset space ~
45319 \end_inset
45320
45321 scaling
45322 \family default
45323  is used for the size of equations in the output.
45324 \end_layout
45325
45326 \begin_layout Description
45327 LyX
45328 \begin_inset space ~
45329 \end_inset
45330
45331 Format The option 
45332 \family sans
45333 Save transient properties
45334 \family default
45335  controls whether document settings that are frequently switched or that
45336  are specific to the user are saved with the document.
45337  The properties that are affected by option are currently:
45338 \end_layout
45339
45340 \begin_deeper
45341 \begin_layout Itemize
45342 the activation of change tracking
45343 \end_layout
45344
45345 \begin_layout Itemize
45346 the output of tracked changes
45347 \end_layout
45348
45349 \begin_layout Itemize
45350 the recording of the document directory path.
45351 \end_layout
45352
45353 \begin_layout Standard
45354 Disabling the option can prevent issues in collaborative work and/or when
45355  using a version control system (for instance unnecessary merge conflicts).
45356 \end_layout
45357
45358 \end_deeper
45359 \begin_layout Section
45360 La
45361 \family sans
45362 TeX
45363 \family default
45364  Preamble
45365 \end_layout
45366
45367 \begin_layout Standard
45368 In this text field you can enter commands to load special \SpecialChar LaTeX
45369 -packages or to
45370  define \SpecialChar LaTeX
45371 -commands.
45372  The preamble is a thing for \SpecialChar LaTeX
45373 -experts.
45374  You should not enter commands here until you know exactly what you are
45375  doing.
45376 \end_layout
45377
45378 \begin_layout Standard
45379 An introduction to the \SpecialChar LaTeX
45380 -syntax is given in section
45381 \begin_inset space ~
45382 \end_inset
45383
45384
45385 \begin_inset CommandInset ref
45386 LatexCommand ref
45387 reference "subsec:LaTeX-Syntax"
45388
45389 \end_inset
45390
45391 .
45392 \end_layout
45393
45394 \begin_layout Chapter
45395 The 
45396 \family sans
45397 Preferences
45398 \family default
45399  Dialog
45400 \begin_inset CommandInset label
45401 LatexCommand label
45402 name "chap:The-Preferences-dialog"
45403
45404 \end_inset
45405
45406
45407 \begin_inset Index idx
45408 status collapsed
45409
45410 \begin_layout Plain Layout
45411 Preferences
45412 \end_layout
45413
45414 \end_inset
45415
45416
45417 \end_layout
45418
45419 \begin_layout Standard
45420 The preferences dialog is called with the menu 
45421 \family sans
45422 Tools\SpecialChar menuseparator
45423 Preferences
45424 \family default
45425 .
45426  It has the following submenus.
45427 \end_layout
45428
45429 \begin_layout Section
45430 Look and Feel
45431 \end_layout
45432
45433 \begin_layout Subsection
45434 User Interface
45435 \end_layout
45436
45437 \begin_layout Subsubsection
45438 User Interface File
45439 \begin_inset Index idx
45440 status collapsed
45441
45442 \begin_layout Plain Layout
45443 Customization ! of toolbars
45444 \end_layout
45445
45446 \end_inset
45447
45448
45449 \begin_inset Index idx
45450 status collapsed
45451
45452 \begin_layout Plain Layout
45453 Customization ! of menus
45454 \end_layout
45455
45456 \end_inset
45457
45458
45459 \end_layout
45460
45461 \begin_layout Standard
45462 The appearance of the menus and toolbars can be changed by choosing a user
45463  interface (ui) file.
45464  A ui-file is a text file where the toolbars and menus are listed.
45465  The file 
45466 \emph on
45467 default.ui
45468 \emph default
45469  loads three files:
45470 \end_layout
45471
45472 \begin_layout Description
45473 stdmenus.inc
45474 \shape italic
45475  
45476 \emph on
45477 specifies the menu entries for the standard menus
45478 \end_layout
45479
45480 \begin_layout Description
45481 stdcontext.inc 
45482 \shape italic
45483 \emph on
45484 specifies
45485 \shape default
45486 \emph default
45487  the menu entries in popup context menus
45488 \end_layout
45489
45490 \begin_layout Description
45491 stdtoolbars.inc
45492 \shape italic
45493  
45494 \emph on
45495 specifies the toolbar buttons
45496 \end_layout
45497
45498 \begin_layout Standard
45499 To create your own menu and toolbar layout, start with a copy of these files
45500  and edit the entries.
45501 \end_layout
45502
45503 \begin_layout Standard
45504 The syntax of the .inc-files is straightforward: the 
45505 \family sans
45506 Menubar
45507 \family default
45508
45509 \family sans
45510 Menu
45511 \family default
45512  and 
45513 \family sans
45514 Toolbar
45515 \family default
45516  entries must be finished with an explicit 
45517 \family sans
45518 End
45519 \family default
45520 .
45521  They may contain 
45522 \family sans
45523 Submenu
45524 \family default
45525
45526 \family sans
45527 Item
45528 \family default
45529
45530 \family sans
45531 OptItem
45532 \family default
45533
45534 \family sans
45535 Separator
45536 \family default
45537
45538 \family sans
45539 Icon,
45540 \family default
45541  and in the case of the 
45542 \begin_inset Quotes eld
45543 \end_inset
45544
45545 file_lastfiles
45546 \begin_inset Quotes erd
45547 \end_inset
45548
45549  menu a 
45550 \family sans
45551 Lastfiles
45552 \family default
45553  entry.
45554  The syntax for the entries is:
45555 \end_layout
45556
45557 \begin_layout Standard
45558 \begin_inset VSpace smallskip*
45559 \end_inset
45560
45561
45562 \series bold
45563 Item 
45564 \begin_inset Quotes eld
45565 \end_inset
45566
45567 menu 
45568 \series default
45569 or
45570 \series bold
45571  button name
45572 \begin_inset Quotes erd
45573 \end_inset
45574
45575  
45576 \begin_inset Quotes eld
45577 \end_inset
45578
45579 \SpecialChar LyX
45580  function
45581 \begin_inset Quotes erd
45582 \end_inset
45583
45584
45585 \end_layout
45586
45587 \begin_layout Standard
45588 \noindent
45589 \begin_inset VSpace smallskip*
45590 \end_inset
45591
45592 All the \SpecialChar LyX
45593 -functions are listed in the menu 
45594 \family sans
45595 Help\SpecialChar menuseparator
45596 LyX
45597 \begin_inset space ~
45598 \end_inset
45599
45600 Functions
45601 \family default
45602 .
45603 \end_layout
45604
45605 \begin_layout Standard
45606 \begin_inset VSpace medskip
45607 \end_inset
45608
45609
45610 \end_layout
45611
45612 \begin_layout Standard
45613 For example, assuming you use the menu 
45614 \family sans
45615 Navigate\SpecialChar menuseparator
45616 Bookmarks
45617 \family default
45618  quite often and therefore want six available bookmarks, you can add the
45619  line
45620 \end_layout
45621
45622 \begin_layout Standard
45623 \begin_inset VSpace smallskip*
45624 \end_inset
45625
45626
45627 \series bold
45628 Item 
45629 \begin_inset Quotes eld
45630 \end_inset
45631
45632 Save Bookmark 6
45633 \begin_inset Quotes erd
45634 \end_inset
45635
45636  
45637 \begin_inset Quotes eld
45638 \end_inset
45639
45640 bookmark-save 6
45641 \begin_inset Quotes erd
45642 \end_inset
45643
45644
45645 \end_layout
45646
45647 \begin_layout Standard
45648 \noindent
45649 \begin_inset VSpace smallskip*
45650 \end_inset
45651
45652 to the 
45653 \begin_inset Quotes eld
45654 \end_inset
45655
45656 navigate_bookmarks
45657 \begin_inset Quotes erd
45658 \end_inset
45659
45660  menu in 
45661 \emph on
45662 stdmenus.inc
45663 \emph default
45664  to have the sixth bookmark.
45665 \end_layout
45666
45667 \begin_layout Standard
45668
45669 \family sans
45670 Icon
45671 \begin_inset space ~
45672 \end_inset
45673
45674 Set
45675 \family default
45676  allows you to change the appearance of \SpecialChar LyX
45677 's toolbar buttons.
45678  The currently available icon sets are compared in 
45679 \begin_inset CommandInset href
45680 LatexCommand href
45681 name "this image"
45682 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
45683 literal "false"
45684
45685 \end_inset
45686
45687 .
45688 \end_layout
45689
45690 \begin_layout Subsubsection
45691 Context help
45692 \end_layout
45693
45694 \begin_layout Standard
45695 The option 
45696 \family sans
45697 Enable tool tips in main work area
45698 \family default
45699  enables tool tips showing the content of closed insets like index entries
45700  or footnotes.
45701 \end_layout
45702
45703 \begin_layout Subsubsection
45704 Menus
45705 \end_layout
45706
45707 \begin_layout Standard
45708
45709 \family sans
45710 Maximum last files
45711 \family default
45712  is the number of last opened files that \SpecialChar LyX
45713  should display in the menu 
45714 \family sans
45715 File\SpecialChar menuseparator
45716 Open
45717 \begin_inset space ~
45718 \end_inset
45719
45720 Recent
45721 \family default
45722 .
45723 \end_layout
45724
45725 \begin_layout Subsection
45726 Document Handling
45727 \end_layout
45728
45729 \begin_layout Subsubsection
45730 Session handling
45731 \end_layout
45732
45733 \begin_layout Standard
45734 With the option 
45735 \family sans
45736 Restore window layouts and geometries
45737 \family default
45738  \SpecialChar LyX
45739 's main window will be opened with the size and layout that was used in
45740  the last \SpecialChar LyX
45741  session.
45742 \end_layout
45743
45744 \begin_layout Standard
45745 The option 
45746 \family sans
45747 Restore cursor positions
45748 \family default
45749  sets the cursor to the position in the file where it was at the end of
45750  the last session.
45751 \end_layout
45752
45753 \begin_layout Standard
45754 The option 
45755 \family sans
45756 Load opened files from last session
45757 \family default
45758  opens all files that were opened in the last \SpecialChar LyX
45759  session.
45760 \end_layout
45761
45762 \begin_layout Standard
45763 The button 
45764 \family sans
45765 Clear all session information
45766 \family default
45767  deletes all information from previous \SpecialChar LyX
45768  sessions (cursor positions, names
45769  of last opened documents, etc.).
45770 \end_layout
45771
45772 \begin_layout Subsubsection
45773 Backup & saving
45774 \begin_inset CommandInset label
45775 LatexCommand label
45776 name "subsec:Backup documents"
45777
45778 \end_inset
45779
45780
45781 \begin_inset Index idx
45782 status collapsed
45783
45784 \begin_layout Plain Layout
45785 Backup ! Documents
45786 \end_layout
45787
45788 \end_inset
45789
45790
45791 \end_layout
45792
45793 \begin_layout Standard
45794
45795 \family sans
45796 Backup original documents when saving
45797 \family default
45798  creates a backup copy of the file in the state when it was opened or when
45799  it was saved the last time.
45800  It is stored in the 
45801 \family sans
45802 Backup
45803 \begin_inset space ~
45804 \end_inset
45805
45806 directory
45807 \family default
45808  (see section
45809 \begin_inset space ~
45810 \end_inset
45811
45812
45813 \begin_inset CommandInset ref
45814 LatexCommand ref
45815 reference "sec:Paths"
45816
45817 \end_inset
45818
45819 ) or in the same folder as your document if no 
45820 \family sans
45821 Backup
45822 \begin_inset space ~
45823 \end_inset
45824
45825 directory
45826 \family default
45827  is specified.
45828  The backup file has the file extension 
45829 \begin_inset Quotes eld
45830 \end_inset
45831
45832
45833 \family sans
45834 .lyx~
45835 \family default
45836
45837 \begin_inset Quotes erd
45838 \end_inset
45839
45840 .
45841 \end_layout
45842
45843 \begin_layout Standard
45844 With the option 
45845 \family sans
45846 Backup documents, every
45847 \family default
45848 , you can specify the time between backup saves.
45849 \end_layout
45850
45851 \begin_layout Standard
45852
45853 \family sans
45854 Save documents compressed by default
45855 \family default
45856  always saves files in a compressed format (see also section
45857 \begin_inset space ~
45858 \end_inset
45859
45860
45861 \begin_inset CommandInset ref
45862 LatexCommand ref
45863 reference "subsec:Compressed"
45864
45865 \end_inset
45866
45867 ).
45868  This applies to newly created documents only.
45869  The compression status of existing documents is not changed when saving.
45870 \end_layout
45871
45872 \begin_layout Subsubsection
45873 Windows & work area
45874 \end_layout
45875
45876 \begin_layout Standard
45877 If the option 
45878 \family sans
45879 Open documents in tabs
45880 \family default
45881  is not checked, every file will be opened in its own new instance of \SpecialChar LyX
45882 .
45883 \end_layout
45884
45885 \begin_layout Standard
45886 The option 
45887 \family sans
45888 Single instance
45889 \family default
45890  is only active if a \SpecialChar LyX
45891 Server pipe
45892 \begin_inset Foot
45893 status collapsed
45894
45895 \begin_layout Plain Layout
45896 See section
45897 \begin_inset space ~
45898 \end_inset
45899
45900
45901 \begin_inset CommandInset ref
45902 LatexCommand ref
45903 reference "sec:Paths"
45904
45905 \end_inset
45906
45907  for information about \SpecialChar LyX
45908 Server pipes.
45909 \end_layout
45910
45911 \end_inset
45912
45913  is specified.
45914  If it is checked, \SpecialChar LyX
45915  documents will be opened in the same running instance
45916  of \SpecialChar LyX
45917 .
45918  Otherwise a new \SpecialChar LyX
45919  instance is created for each file.
45920 \end_layout
45921
45922 \begin_layout Standard
45923 If the option 
45924 \family sans
45925 Single close-tab button
45926 \family default
45927  is checked, there will only be one close button (
45928 \family sans
45929
45930 \begin_inset Info
45931 type  "icon"
45932 arg   "closetab"
45933 \end_inset
45934
45935
45936 \family default
45937 ) at the right side of the tab bar to close tabs.
45938  Otherwise every document tab has its own close button.
45939  Regardless of this option, one can always close a tab by middle-clicking
45940  it in the tab bar.
45941 \end_layout
45942
45943 \begin_layout Standard
45944 \begin_inset Note Greyedout
45945 status open
45946
45947 \begin_layout Plain Layout
45948
45949 \series bold
45950 Note:
45951 \series default
45952  For this option you have to restart \SpecialChar LyX
45953  before the change takes effect.
45954 \end_layout
45955
45956 \end_inset
45957
45958
45959 \end_layout
45960
45961 \begin_layout Standard
45962 With the setting 
45963 \family sans
45964 Closing last view
45965 \family default
45966  you one can decide if a document is closed or hidden when its tab or view
45967  is closed.
45968  Hidden documents are accessible via the menu 
45969 \family sans
45970 View\SpecialChar menuseparator
45971 Hidden
45972 \family default
45973 .
45974  Not to close documents can be useful if you open files parallel in several
45975  instances of \SpecialChar LyX
45976  and only want to close the view in once instance.
45977 \end_layout
45978
45979 \begin_layout Subsection
45980 Screen Fonts
45981 \begin_inset Index idx
45982 status collapsed
45983
45984 \begin_layout Plain Layout
45985 Font ! Screen
45986 \end_layout
45987
45988 \end_inset
45989
45990
45991 \begin_inset CommandInset label
45992 LatexCommand label
45993 name "subsec:Screen-Fonts"
45994
45995 \end_inset
45996
45997
45998 \end_layout
45999
46000 \begin_layout Standard
46001 These fonts are used to display your documents within \SpecialChar LyX
46002 .
46003 \end_layout
46004
46005 \begin_layout Standard
46006 \begin_inset Note Greyedout
46007 status open
46008
46009 \begin_layout Plain Layout
46010
46011 \series bold
46012 Note:
46013 \series default
46014  This section only deals with the fonts 
46015 \emph on
46016 inside
46017 \emph default
46018  the \SpecialChar LyX
46019  window.
46020  The fonts that appear in the output are independent of these fonts, and
46021  set in the menu 
46022 \family sans
46023 Document\SpecialChar menuseparator
46024 Settings\SpecialChar menuseparator
46025 Fonts
46026 \family default
46027 .
46028 \end_layout
46029
46030 \end_inset
46031
46032
46033 \end_layout
46034
46035 \begin_layout Standard
46036 By default, \SpecialChar LyX
46037  uses 
46038 \family typewriter
46039 Times
46040 \family default
46041  as its 
46042 \family sans
46043 Roman
46044 \family default
46045  (serif) font, 
46046 \family typewriter
46047 Arial
46048 \family default
46049  or 
46050 \family typewriter
46051 Helvetica
46052 \family default
46053  (depends on the system) as its 
46054 \family sans
46055 Sans
46056 \begin_inset space ~
46057 \end_inset
46058
46059 Serif
46060 \family default
46061  font and 
46062 \family typewriter
46063 Courier
46064 \family default
46065  as its 
46066 \family typewriter
46067 Typewriter
46068 \family default
46069  font.
46070 \end_layout
46071
46072 \begin_layout Standard
46073 You can change the font size with the 
46074 \family sans
46075 Zoom
46076 \family default
46077  setting.
46078 \end_layout
46079
46080 \begin_layout Standard
46081 The 
46082 \family sans
46083 Font Sizes
46084 \family default
46085  are calculated as letter height in units of points.
46086  72.27
46087 \begin_inset space \thinspace{}
46088 \end_inset
46089
46090 points have the size of 1
46091 \begin_inset space \thinspace{}
46092 \end_inset
46093
46094 inch, see Appendix
46095 \begin_inset space ~
46096 \end_inset
46097
46098
46099 \begin_inset CommandInset ref
46100 LatexCommand ref
46101 reference "chap:Units-available-in"
46102
46103 \end_inset
46104
46105 .
46106  The default font sizes are the same as if a document font size of 10
46107 \begin_inset space \thinspace{}
46108 \end_inset
46109
46110 pt were used.
46111  The sizes are explained in detail in section
46112 \begin_inset space ~
46113 \end_inset
46114
46115
46116 \begin_inset CommandInset ref
46117 LatexCommand ref
46118 reference "subsec:Document-Font"
46119
46120 \end_inset
46121
46122 .
46123 \end_layout
46124
46125 \begin_layout Standard
46126 With the option 
46127 \family sans
46128 Use pixmap cache to speed up font rendering
46129 \family default
46130  enabled, \SpecialChar LyX
46131  needs to redraw the screen less often.
46132  This results in better performance, especially on slow systems.
46133  On the other hand, the characters might look more fuzzy on screen.
46134  So whether you enable this or not depends on whether you prefer speed over
46135  aesthetics.
46136  Note that the Pixmap Cache is only available and useful under Mac
46137 \begin_inset space ~
46138 \end_inset
46139
46140 OS and Windows.
46141 \end_layout
46142
46143 \begin_layout Subsection
46144 Colors
46145 \begin_inset Index idx
46146 status collapsed
46147
46148 \begin_layout Plain Layout
46149 Color ! \SpecialChar LyX
46150  screen
46151 \end_layout
46152
46153 \end_inset
46154
46155
46156 \begin_inset Index idx
46157 status collapsed
46158
46159 \begin_layout Plain Layout
46160 Settings ! Color
46161 \end_layout
46162
46163 \end_inset
46164
46165
46166 \end_layout
46167
46168 \begin_layout Standard
46169 Here you can change the screen colors used by \SpecialChar LyX
46170  by choosing an item in the
46171  list and selecting the 
46172 \family sans
46173 Alter
46174 \family default
46175  button.
46176 \end_layout
46177
46178 \begin_layout Standard
46179 By checking the option 
46180 \family sans
46181 Use system colors
46182 \family default
46183  the color scheme of your OS or window manager is used.
46184  The colors 
46185 \family sans
46186 cursor, selection, table line, text, URL
46187 \begin_inset space ~
46188 \end_inset
46189
46190 label and URL
46191 \begin_inset space ~
46192 \end_inset
46193
46194 text
46195 \family default
46196  are then not customizable and thus not listed.
46197 \end_layout
46198
46199 \begin_layout Subsection
46200 Display
46201 \begin_inset Index idx
46202 status collapsed
46203
46204 \begin_layout Plain Layout
46205 Settings ! Display
46206 \end_layout
46207
46208 \end_inset
46209
46210
46211 \end_layout
46212
46213 \begin_layout Standard
46214 Here you can specify if graphics are displayed inside \SpecialChar LyX
46215 .
46216 \end_layout
46217
46218 \begin_layout Standard
46219
46220 \family sans
46221 Instant Preview
46222 \family default
46223  enables previewing snippets of your document.
46224  This feature is described in section
46225 \begin_inset space ~
46226 \end_inset
46227
46228
46229 \begin_inset CommandInset ref
46230 LatexCommand ref
46231 reference "sec:Previewing-snippets-of"
46232
46233 \end_inset
46234
46235 .
46236 \end_layout
46237
46238 \begin_layout Standard
46239 Checking the option 
46240 \family sans
46241 Mark
46242 \begin_inset space ~
46243 \end_inset
46244
46245 end
46246 \begin_inset space ~
46247 \end_inset
46248
46249 of
46250 \begin_inset space ~
46251 \end_inset
46252
46253 paragraphs
46254 \family default
46255  displays a pilcrow (¶) at the end of every paragraph.
46256 \end_layout
46257
46258 \begin_layout Section
46259 Editing
46260 \begin_inset Index idx
46261 status collapsed
46262
46263 \begin_layout Plain Layout
46264 Settings ! Editing
46265 \end_layout
46266
46267 \end_inset
46268
46269
46270 \end_layout
46271
46272 \begin_layout Subsection
46273 Control
46274 \end_layout
46275
46276 \begin_layout Subsubsection
46277 Editing
46278 \end_layout
46279
46280 \begin_layout Standard
46281 The option 
46282 \family sans
46283 Cursor follows scrollbar
46284 \family default
46285  sets the cursor to the top of the currently displayed document part when
46286  scrolling.
46287 \end_layout
46288
46289 \begin_layout Standard
46290 You can adjust the width of the cursor.
46291  If you set the value to zero, the thickness of the cursor scales relative
46292  to the zoom value you choose for the screen fonts.
46293 \end_layout
46294
46295 \begin_layout Standard
46296
46297 \family sans
46298 Scroll below end of document
46299 \family default
46300  is self-explanatory.
46301 \end_layout
46302
46303 \begin_layout Standard
46304 In \SpecialChar LyX
46305  one can jump from word to word by pressing 
46306 \family sans
46307 Ctrl+arrow key
46308 \family default
46309 .
46310  With the option
46311 \family sans
46312  Use Mac-style for cursor moving between words
46313 \family default
46314  the cursor jumps from the end of a word to the end of the next word.
46315  Normally it jumps from the beginning to the beginning.
46316 \end_layout
46317
46318 \begin_layout Standard
46319 The option 
46320 \family sans
46321 Sort environments alphabetically
46322 \family default
46323  sorts the entries in the pull-down box for the paragraph environments.
46324 \end_layout
46325
46326 \begin_layout Standard
46327 The option 
46328 \family sans
46329 Group environments by their category
46330 \family default
46331  groups the entries in the pull-down box for the paragraph environments.
46332 \end_layout
46333
46334 \begin_layout Standard
46335 The 
46336 \family sans
46337 Edit math macros
46338 \family default
46339  options determine the editing style for math macros, see the section 
46340 \emph on
46341 Math Macros
46342 \emph default
46343  of the 
46344 \emph on
46345 Math
46346 \emph default
46347  manual.
46348 \end_layout
46349
46350 \begin_layout Subsubsection
46351 Fullscreen
46352 \end_layout
46353
46354 \begin_layout Standard
46355 Here you can specify what is hidden in the fullscreen mode.
46356  With the option 
46357 \family sans
46358 Limit text width
46359 \family default
46360  you can specify the width of the text in fullscreen mode.
46361  This way you can display the text smaller than the screen; the text then
46362  appears centered.
46363 \end_layout
46364
46365 \begin_layout Subsection
46366 Shortcuts
46367 \begin_inset Index idx
46368 status collapsed
46369
46370 \begin_layout Plain Layout
46371 Key Bindings
46372 \end_layout
46373
46374 \end_inset
46375
46376
46377 \begin_inset Index idx
46378 status collapsed
46379
46380 \begin_layout Plain Layout
46381 Settings ! Shortcuts
46382 \end_layout
46383
46384 \end_inset
46385
46386
46387 \end_layout
46388
46389 \begin_layout Standard
46390
46391 \family sans
46392 Bind File
46393 \family default
46394  specifies the file to be used to bind a \SpecialChar LyX
46395  function to a key.
46396  Several binding files are available, among them:
46397 \end_layout
46398
46399 \begin_layout Description
46400 cua.bind a typical set of PC keyboard shortcuts
46401 \end_layout
46402
46403 \begin_layout Description
46404 (x)emacs.bind a set of bindings similar to those used in the editor programs
46405  
46406 \family sans
46407 Emacs
46408 \family default
46409  (
46410 \family sans
46411 XEmacs
46412 \family default
46413 )
46414 \end_layout
46415
46416 \begin_layout Description
46417 mac.bind a set of bindings for 
46418 \family sans
46419 Mac
46420 \begin_inset space \thinspace{}
46421 \end_inset
46422
46423 OS
46424 \family default
46425  systems.
46426 \end_layout
46427
46428 \begin_layout Standard
46429 There are also binding files designed for special document classes, like
46430  
46431 \shape italic
46432 broadway.bind
46433 \shape default
46434 , and binding files for special languages.
46435  The names of language binding files begin with a language code, e.
46436 \begin_inset space \thinspace{}
46437 \end_inset
46438
46439 g.
46440 \begin_inset space \space{}
46441 \end_inset
46442
46443
46444 \begin_inset Quotes eld
46445 \end_inset
46446
46447 pt
46448 \begin_inset Quotes erd
46449 \end_inset
46450
46451  for Portuguese.
46452  If you use \SpecialChar LyX
46453  in a certain language, \SpecialChar LyX
46454  will try to use the appropriate binding
46455  file.
46456 \end_layout
46457
46458 \begin_layout Standard
46459 Some binding files, like 
46460 \shape italic
46461 math.bind
46462 \shape default
46463 , only have a limited scope.
46464  When looking at the end of the file 
46465 \shape italic
46466 cua.bind
46467 \shape default
46468 , you can see that they are included to keep the overview in the bind-file.
46469 \end_layout
46470
46471 \begin_layout Standard
46472 The field 
46473 \family sans
46474 Show
46475 \begin_inset space ~
46476 \end_inset
46477
46478 key-bindings
46479 \begin_inset space ~
46480 \end_inset
46481
46482 containing
46483 \family default
46484  allows you to search for the shortcut provided for a particular function
46485  in the selected key binding file.
46486 \end_layout
46487
46488 \begin_layout Subsubsection
46489 Editing Shortcuts
46490 \begin_inset CommandInset label
46491 LatexCommand label
46492 name "subsec:Editing-Shortcuts"
46493
46494 \end_inset
46495
46496
46497 \begin_inset Index idx
46498 status collapsed
46499
46500 \begin_layout Plain Layout
46501 Key Bindings ! Editing
46502 \end_layout
46503
46504 \end_inset
46505
46506
46507 \end_layout
46508
46509 \begin_layout Standard
46510 To add new or modify existing key bindings to your own taste you can use
46511  the table in the dialog that lists all \SpecialChar LyX
46512  functions and the bound shortcuts.
46513  To find functions easily, they are grouped by categories and the dialog
46514  provides the field 
46515 \family sans
46516 Show key-bindings containing
46517 \family default
46518 .
46519  In this field you can insert a keyword for a function you want to edit.
46520  Insert there for example as keyword 
46521 \begin_inset Quotes eld
46522 \end_inset
46523
46524 paste
46525 \begin_inset Quotes erd
46526 \end_inset
46527
46528  and you get the four different existing shortcuts for the three different
46529  functions that contain 
46530 \begin_inset Quotes eld
46531 \end_inset
46532
46533 paste
46534 \begin_inset Quotes erd
46535 \end_inset
46536
46537  in their name.
46538  As you can see, one function can have more than one shortcut.
46539  All \SpecialChar LyX
46540  functions are also listed in the file 
46541 \family sans
46542 \SpecialChar LyX
46543  Functions
46544 \family default
46545  that you will find in the 
46546 \family sans
46547 Help
46548 \family default
46549  menu.
46550 \end_layout
46551
46552 \begin_layout Standard
46553 For example, to add the shortcut 
46554 \family sans
46555 Alt+Q
46556 \family default
46557  for the function 
46558 \family sans
46559 textstyle-apply
46560 \family default
46561 , select the function and press the 
46562 \family sans
46563 Modify
46564 \family default
46565  button.
46566  A dialog pops up where you can add the shortcut by using it.
46567  So press Alt+Q to define the shortcut.
46568 \end_layout
46569
46570 \begin_layout Standard
46571 Modifying an existing shortcut is done the same way.
46572  You can also bind multiple functions to one shortcut by starting the \SpecialChar LyX
46573  Function
46574  definition with “command alternatives” and following it with the different
46575  function names as a semicolon separated list.
46576  \SpecialChar LyX
46577  will then use the first function that is enabled in the current document
46578  part.
46579  
46580 \end_layout
46581
46582 \begin_layout Standard
46583 If you don't like a particular shortcut, you can remove it.
46584 \end_layout
46585
46586 \begin_layout Standard
46587 Alternatively you can also edit shortcuts by modifying binding files with
46588  a text editor.
46589  The syntax of the entries is:
46590 \end_layout
46591
46592 \begin_layout Standard
46593
46594 \series bold
46595
46596 \backslash
46597 bind 
46598 \begin_inset Quotes eld
46599 \end_inset
46600
46601 key combination
46602 \begin_inset Quotes erd
46603 \end_inset
46604
46605  
46606 \begin_inset Quotes eld
46607 \end_inset
46608
46609 \SpecialChar LyX
46610  function
46611 \begin_inset Quotes erd
46612 \end_inset
46613
46614
46615 \end_layout
46616
46617 \begin_layout Standard
46618 Note, though, that the key combination definition uses a specific syntax.
46619  This applies to the designators of specific modifier keys (e.
46620 \begin_inset space \thinspace{}
46621 \end_inset
46622
46623 g., 
46624 \family typewriter
46625 M
46626 \family default
46627
46628 \family typewriter
46629 S
46630 \family default
46631
46632 \family typewriter
46633 C
46634 \family default
46635  for 
46636 \family sans
46637 Meta/Alt
46638 \family default
46639
46640 \family sans
46641 Shift
46642 \family default
46643
46644 \family sans
46645 Ctrl
46646 \family default
46647 , respectively) as well as to the other keys.
46648  Note particularly that you cannot use non-alphanumeric characters directly
46649  in the definition of the key combination, but must use commands following
46650  the Xlib standard instead (please refer to the existing bind files for
46651  a model).
46652  So if you wanted to bind a command to the key combination 
46653 \family sans
46654 Alt+Shift+:
46655 \family default
46656 , you needed to specify it as 
46657 \family typewriter
46658 M-S-colon
46659 \family default
46660 .
46661  If you use the dialog to edit key bindings, you don't have to care for
46662  these specifics.
46663  \SpecialChar LyX
46664  transforms your input to the correct syntax.
46665 \end_layout
46666
46667 \begin_layout Subsection
46668 Keyboard/Mouse
46669 \begin_inset CommandInset label
46670 LatexCommand label
46671 name "subsec:Keyboard-Map"
46672
46673 \end_inset
46674
46675
46676 \begin_inset Index idx
46677 status collapsed
46678
46679 \begin_layout Plain Layout
46680 Keyboard Map
46681 \end_layout
46682
46683 \end_inset
46684
46685
46686 \begin_inset Index idx
46687 status collapsed
46688
46689 \begin_layout Plain Layout
46690 Settings ! Keyboard Map
46691 \end_layout
46692
46693 \end_inset
46694
46695
46696 \end_layout
46697
46698 \begin_layout Standard
46699 Normally keyboard settings are made in a menu of your operating system.
46700  For the case thatWhere this is not possible, \SpecialChar LyX
46701  provides keyboard maps.
46702  If, for example, you have a Czech keyboard but want to use it as if it
46703  is a Romanian one, you can enable 
46704 \family sans
46705 Use
46706 \begin_inset space ~
46707 \end_inset
46708
46709 keyboard
46710 \begin_inset space ~
46711 \end_inset
46712
46713 map
46714 \family default
46715  and select the keyboard map file named 
46716 \shape italic
46717 romanian.kmap
46718 \shape default
46719 .
46720 \end_layout
46721
46722 \begin_layout Standard
46723 You can specify a 
46724 \family sans
46725 First
46726 \family default
46727  and a 
46728 \family sans
46729 Second
46730 \family default
46731  keyboard map and, if you use the 
46732 \emph on
46733 cua
46734 \emph default
46735  bindings, you can select the first and second with 
46736 \begin_inset Info
46737 type  "shortcut"
46738 arg   "keymap-primary"
46739 \end_inset
46740
46741  and 
46742 \begin_inset Info
46743 type  "shortcut"
46744 arg   "keymap-secondary"
46745 \end_inset
46746
46747  respectively or toggle between them with 
46748 \begin_inset Info
46749 type  "shortcut"
46750 arg   "keymap-toggle"
46751 \end_inset
46752
46753 .
46754 \end_layout
46755
46756 \begin_layout Standard
46757 \begin_inset Note Greyedout
46758 status open
46759
46760 \begin_layout Plain Layout
46761
46762 \series bold
46763 Note:
46764 \series default
46765  Keyboard maps can only provide a makeshift solution and don't work on all
46766  systems.
46767 \end_layout
46768
46769 \end_inset
46770
46771
46772 \end_layout
46773
46774 \begin_layout Standard
46775 You can also specify the mouse 
46776 \family sans
46777 Wheel scrolling speed
46778 \family default
46779 .
46780  The standard value is 1.0; higher values speed up the scrolling, lower ones
46781  slow it down.
46782  With the option 
46783 \family sans
46784 Middle mouse button pasting
46785 \family default
46786  you can determine if pressing the middle mouse button (or the mouse wheel)
46787  inserts the content of the clipboard.
46788 \end_layout
46789
46790 \begin_layout Standard
46791 If you 
46792 \family sans
46793 Enable
46794 \family default
46795  
46796 \family sans
46797 Scroll
46798 \begin_inset space ~
46799 \end_inset
46800
46801 wheel
46802 \begin_inset space ~
46803 \end_inset
46804
46805 zoom,
46806 \family default
46807  you can select a key for zooming.
46808  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
46809 \end_layout
46810
46811 \begin_layout Subsection
46812 Input Completion
46813 \end_layout
46814
46815 \begin_layout Standard
46816 Input completion is described in section
46817 \begin_inset space ~
46818 \end_inset
46819
46820
46821 \begin_inset CommandInset ref
46822 LatexCommand ref
46823 reference "sec:Input-Completion"
46824
46825 \end_inset
46826
46827 .
46828 \end_layout
46829
46830 \begin_layout Section
46831 Paths
46832 \begin_inset CommandInset label
46833 LatexCommand label
46834 name "sec:Paths"
46835
46836 \end_inset
46837
46838
46839 \begin_inset Index idx
46840 status collapsed
46841
46842 \begin_layout Plain Layout
46843 Paths
46844 \end_layout
46845
46846 \end_inset
46847
46848
46849 \begin_inset Index idx
46850 status collapsed
46851
46852 \begin_layout Plain Layout
46853 Settings ! Paths
46854 \end_layout
46855
46856 \end_inset
46857
46858
46859 \end_layout
46860
46861 \begin_layout Standard
46862 The paths to the various resources used by \SpecialChar LyX
46863  are normally determined during
46864  the installation.
46865  But there may be reasons why you might want to modify them.
46866 \end_layout
46867
46868 \begin_layout Description
46869 Working
46870 \begin_inset space ~
46871 \end_inset
46872
46873 directory This is \SpecialChar LyX
46874 's working directory.
46875  It is the default when you 
46876 \family sans
46877 Open
46878 \family default
46879
46880 \family sans
46881 Save
46882 \family default
46883  or 
46884 \family sans
46885 Save
46886 \begin_inset space ~
46887 \end_inset
46888
46889 As
46890 \family default
46891  files.
46892 \end_layout
46893
46894 \begin_layout Description
46895 Document
46896 \begin_inset space ~
46897 \end_inset
46898
46899 templates This directory will be opened when you use the menu 
46900 \family sans
46901 File\SpecialChar menuseparator
46902 New
46903 \begin_inset space ~
46904 \end_inset
46905
46906 from
46907 \begin_inset space ~
46908 \end_inset
46909
46910 Template
46911 \family default
46912 .
46913 \end_layout
46914
46915 \begin_layout Description
46916 Example
46917 \begin_inset space ~
46918 \end_inset
46919
46920 files This directory will be opened when you use the button 
46921 \family sans
46922 Examples
46923 \family default
46924  in the 
46925 \family sans
46926 File\SpecialChar menuseparator
46927 Open
46928 \family default
46929  dialog.
46930 \begin_inset Newline newline
46931 \end_inset
46932
46933
46934 \begin_inset Note Greyedout
46935 status open
46936
46937 \begin_layout Plain Layout
46938
46939 \series bold
46940 Note:
46941 \series default
46942  The 
46943 \family sans
46944 Examples
46945 \family default
46946  button does not exist when using \SpecialChar LyX
46947  on Mac OS and Windows systems.
46948 \end_layout
46949
46950 \end_inset
46951
46952
46953 \end_layout
46954
46955 \begin_layout Description
46956 Backup
46957 \begin_inset space ~
46958 \end_inset
46959
46960 directory
46961 \begin_inset Index idx
46962 status collapsed
46963
46964 \begin_layout Plain Layout
46965 Backup ! Directory
46966 \end_layout
46967
46968 \end_inset
46969
46970  Backup copies will be saved to this directory.
46971  If no directory is given but backups are enabled as described in section
46972 \begin_inset space ~
46973 \end_inset
46974
46975
46976 \begin_inset CommandInset ref
46977 LatexCommand ref
46978 reference "subsec:Backup documents"
46979
46980 \end_inset
46981
46982 , the 
46983 \family sans
46984 Working directory
46985 \family default
46986  will be used to save the backups.
46987 \begin_inset Newline newline
46988 \end_inset
46989
46990 Backup files have the ending 
46991 \begin_inset Quotes eld
46992 \end_inset
46993
46994 .lyx~
46995 \begin_inset Quotes erd
46996 \end_inset
46997
46998 .
46999 \end_layout
47000
47001 \begin_layout Description
47002 LyXServer
47003 \begin_inset space ~
47004 \end_inset
47005
47006 pipe Here you can enter the name of a so-called UNIX-pipe.
47007  This pipe is used to send data from external programs to \SpecialChar LyX
47008 .
47009 \begin_inset Newline newline
47010 \end_inset
47011
47012
47013 \series bold
47014 Example:
47015 \series default
47016  You add a Bib\SpecialChar TeX
47017  database 
47018 \emph on
47019 test.bib
47020 \emph default
47021  to your document.
47022  You can edit this file with the program 
47023 \family typewriter
47024 JabRef
47025 \family default
47026 .
47027  In 
47028 \family typewriter
47029 JabRef
47030 \family default
47031  you have to use the same Unix-Pipe for \SpecialChar LyX
47032  in its preferences under 
47033 \family sans
47034 External
47035 \begin_inset space ~
47036 \end_inset
47037
47038 programs
47039 \family default
47040 .
47041  If you want to get one entry of the database as citation, select it in
47042  
47043 \family typewriter
47044 JabRef
47045 \family default
47046  and click on the \SpecialChar LyX
47047  symbol.
47048  The entry will now be inserted as a citation at the current cursor position
47049  in your \SpecialChar LyX
47050  file.
47051  Of course, 
47052 \family typewriter
47053 JabRef
47054 \family default
47055  and \SpecialChar LyX
47056  need to be running the same time.
47057 \begin_inset Newline newline
47058 \end_inset
47059
47060 The pipe is also used for the 
47061 \family sans
47062 Single instance
47063 \family default
47064  feature, see section
47065 \begin_inset space ~
47066 \end_inset
47067
47068
47069 \begin_inset CommandInset ref
47070 LatexCommand ref
47071 reference "subsec:Backup documents"
47072
47073 \end_inset
47074
47075 .
47076 \begin_inset Newline newline
47077 \end_inset
47078
47079 To use the \SpecialChar LyX
47080 Server-Pipe on Windows, you must use this pipe name:
47081 \begin_inset Newline newline
47082 \end_inset
47083
47084
47085 \series bold
47086
47087 \backslash
47088
47089 \backslash
47090 .
47091 \backslash
47092 pipe
47093 \backslash
47094 lyxpipe
47095 \end_layout
47096
47097 \begin_layout Description
47098 Temporary
47099 \begin_inset space ~
47100 \end_inset
47101
47102 directory Temporary files will be saved in this directory.
47103 \end_layout
47104
47105 \begin_layout Description
47106 Thesaurus
47107 \begin_inset space ~
47108 \end_inset
47109
47110 dictionary Directory where the thesaurus dictionaries are located.
47111  You only need to specify it if the thesaurus does not work or if you want
47112  to use custom/alternative dictionaries.
47113 \end_layout
47114
47115 \begin_layout Description
47116 Hunspell
47117 \begin_inset space ~
47118 \end_inset
47119
47120 dictionary Directory where the dictionaries of the spell checker program
47121  
47122 \family typewriter
47123 Hunspell
47124 \family default
47125  are located.
47126  You only need to specify it if you are using 
47127 \family typewriter
47128 Hunspell
47129 \family default
47130  and spell checking does not work or if you want to use custom/alternative
47131  dictionaries.
47132  For \SpecialChar LyX
47133  on Windows 
47134 \family typewriter
47135 Hunspell
47136 \family default
47137  is the only available spell checker and should work without specifying
47138  a directory.
47139 \end_layout
47140
47141 \begin_layout Description
47142 PATH
47143 \begin_inset space ~
47144 \end_inset
47145
47146 prefix This field contains a list of paths to external programs.
47147  When \SpecialChar LyX
47148  needs to use an external program, it looks in this list to see where
47149  to find it on the system.
47150  The path list is automatically set up on Windows and Mac systems when \SpecialChar LyX
47151
47152  is configured; so you normally don't have to modify it.
47153  On Unix
47154 \begin_inset space \thinspace{}
47155 \end_inset
47156
47157 /
47158 \begin_inset space \thinspace{}
47159 \end_inset
47160
47161 Linux systems, the path list will need to be set only if there are external
47162  programs you wish to use that are not in your normal system path ($PATH).
47163 \end_layout
47164
47165 \begin_layout Description
47166 TEXINPUTS
47167 \begin_inset space ~
47168 \end_inset
47169
47170 prefix The TEXINPUTS environment variable allows you to use external files
47171  which are included in a \SpecialChar LyX
47172  document via commands in \SpecialChar TeX
47173  code or in the document
47174  preamble.
47175  This prefix includes by default the document directory (represented by
47176  a single dot '.').
47177  The prefix can contain any list of paths separated by the default separator
47178  of the OS (':' on UNIX like systems and ';' on Windows).
47179  If files are included, the paths listed in the TEXINPUTS prefix will be
47180  scanned for the input files.
47181  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
47182  to be relative to the directory of your \SpecialChar LyX
47183  file.
47184  It is recommended that you always include '.' as one of the paths; otherwise
47185  compilation may fail for some documents.
47186 \end_layout
47187
47188 \begin_layout Section
47189 Identity
47190 \end_layout
47191
47192 \begin_layout Standard
47193 Here you can insert your 
47194 \family sans
47195 Name
47196 \family default
47197  and 
47198 \family sans
47199 E-mail
47200 \family default
47201  address.
47202  These will be used when you have enabled change tracking, as described
47203  in section
47204 \begin_inset space ~
47205 \end_inset
47206
47207
47208 \begin_inset CommandInset ref
47209 LatexCommand ref
47210 reference "sec:Change-Tracking"
47211
47212 \end_inset
47213
47214 , to mark changes you make as yours.
47215 \end_layout
47216
47217 \begin_layout Section
47218 Language Settings
47219 \begin_inset Index idx
47220 status collapsed
47221
47222 \begin_layout Plain Layout
47223 Language ! Settings
47224 \end_layout
47225
47226 \end_inset
47227
47228
47229 \begin_inset Index idx
47230 status collapsed
47231
47232 \begin_layout Plain Layout
47233 Settings ! Language
47234 \end_layout
47235
47236 \end_inset
47237
47238
47239 \end_layout
47240
47241 \begin_layout Subsection
47242 Language
47243 \begin_inset CommandInset label
47244 LatexCommand label
47245 name "subsec:Prefs-Language"
47246
47247 \end_inset
47248
47249
47250 \end_layout
47251
47252 \begin_layout Description
47253 User
47254 \begin_inset space ~
47255 \end_inset
47256
47257 interface
47258 \begin_inset space ~
47259 \end_inset
47260
47261 language Here you can select the language for \SpecialChar LyX
47262 's menus.
47263  You can find its actual translation status here: 
47264 \begin_inset CommandInset href
47265 LatexCommand href
47266 target "http://www.lyx.org/I18n"
47267 literal "false"
47268
47269 \end_inset
47270
47271
47272 \end_layout
47273
47274 \begin_layout Description
47275 Language
47276 \begin_inset space ~
47277 \end_inset
47278
47279 package determines which \SpecialChar LaTeX
47280  package should be loaded to handle language issues.
47281  Language issues that are handled by this package include proper hyphenation
47282  as well as localization of dates and text strings such as 
47283 \begin_inset Quotes eld
47284 \end_inset
47285
47286 Chapter
47287 \begin_inset Quotes erd
47288 \end_inset
47289
47290  and 
47291 \begin_inset Quotes eld
47292 \end_inset
47293
47294 Table
47295 \begin_inset Quotes erd
47296 \end_inset
47297
47298 .
47299  The most widespread language package is 
47300 \series bold
47301 babel
47302 \series default
47303
47304 \begin_inset Index idx
47305 status collapsed
47306
47307 \begin_layout Plain Layout
47308 \SpecialChar LaTeX
47309  packages ! babel
47310 \end_layout
47311
47312 \end_inset
47313
47314 ; it is the default language package in classic \SpecialChar LaTeX
47315 .
47316  More recent typesetting engines such as Xe\SpecialChar TeX
47317  and Lua\SpecialChar TeX
47318  come with the alternative
47319  language package 
47320 \series bold
47321 polyglossia
47322 \series default
47323
47324 \begin_inset Index idx
47325 status collapsed
47326
47327 \begin_layout Plain Layout
47328 \SpecialChar LaTeX
47329  packages ! polyglossia
47330 \end_layout
47331
47332 \end_inset
47333
47334  that is more suited to the multi-script support of these engines.
47335  Furthermore, there are also specific language packages for languages not
47336  covered by 
47337 \series bold
47338 babel
47339 \series default
47340 .
47341  The available selections are described in section
47342 \begin_inset space ~
47343 \end_inset
47344
47345
47346 \begin_inset CommandInset ref
47347 LatexCommand ref
47348 reference "sec:Language-encodings"
47349
47350 \end_inset
47351
47352 .
47353 \end_layout
47354
47355 \begin_layout Description
47356 Command
47357 \begin_inset space ~
47358 \end_inset
47359
47360 start If a special \SpecialChar LaTeX
47361 -package is needed to write in a certain document language,
47362  you can here specify the command to start the package.
47363  An example is the start command 
47364 \family sans
47365
47366 \backslash
47367 begin{arabtext}
47368 \family default
47369  that is needed to write Arabic using the package 
47370 \series bold
47371 Arab\SpecialChar TeX
47372
47373 \series default
47374 , see 
47375 \begin_inset CommandInset citation
47376 LatexCommand cite
47377 key "Arabic"
47378 literal "true"
47379
47380 \end_inset
47381
47382 .
47383  The default is the 
47384 \series bold
47385 babel
47386 \series default
47387  command 
47388 \family sans
47389
47390 \backslash
47391 selectlanguage{$$lang}
47392 \family default
47393 .
47394 \end_layout
47395
47396 \begin_layout Description
47397 Command
47398 \begin_inset space ~
47399 \end_inset
47400
47401 end Counterpart to 
47402 \family sans
47403 Command start
47404 \family default
47405 .
47406  Some packages, like the default, don't have an end command since the start
47407  command toggles the package on and off.
47408 \end_layout
47409
47410 \begin_layout Description
47411 Default
47412 \begin_inset space ~
47413 \end_inset
47414
47415 decimal
47416 \begin_inset space ~
47417 \end_inset
47418
47419 separator Defines the default decimal point for use in tables (decimal point
47420  alignment).
47421 \end_layout
47422
47423 \begin_layout Description
47424 Default
47425 \begin_inset space ~
47426 \end_inset
47427
47428 length
47429 \begin_inset space ~
47430 \end_inset
47431
47432 unit Defines the unit that is used as default for lengths in \SpecialChar LyX
47433 's dialogs.
47434 \end_layout
47435
47436 \begin_layout Description
47437 Set
47438 \begin_inset space ~
47439 \end_inset
47440
47441 languages
47442 \begin_inset space ~
47443 \end_inset
47444
47445 globally When this option is set, the languages used in the document will
47446  be added as options to the document class options, so that they can be
47447  used by all \SpecialChar LaTeX
47448 -packages.
47449  Otherwise they will only be used as options for the 
47450 \series bold
47451 babel
47452 \series default
47453  package.
47454 \end_layout
47455
47456 \begin_layout Description
47457 Auto
47458 \begin_inset space ~
47459 \end_inset
47460
47461 begin When this option is set, documents start with the chosen document
47462  language.
47463  When this option is not set, the 
47464 \family sans
47465 Command
47466 \begin_inset space ~
47467 \end_inset
47468
47469 start
47470 \family default
47471  is explicitly set to the beginning of the document in the \SpecialChar LaTeX
47472 -output.
47473  This assures that the correct language is used when you use another 
47474 \family sans
47475 Command
47476 \begin_inset space ~
47477 \end_inset
47478
47479 start
47480 \family default
47481  than the default.
47482 \end_layout
47483
47484 \begin_layout Description
47485 Auto
47486 \begin_inset space ~
47487 \end_inset
47488
47489 end Counterpart to 
47490 \family sans
47491 Auto
47492 \begin_inset space ~
47493 \end_inset
47494
47495 begin
47496 \family default
47497 .
47498  When it is not set, the 
47499 \family sans
47500 Command
47501 \begin_inset space ~
47502 \end_inset
47503
47504 end
47505 \family default
47506  is set to the end of the document.
47507 \end_layout
47508
47509 \begin_layout Description
47510 Mark
47511 \begin_inset space ~
47512 \end_inset
47513
47514 foreign
47515 \begin_inset space ~
47516 \end_inset
47517
47518 languages Text marked formatted in a language different from the document
47519  language will be underlined in blue.
47520 \end_layout
47521
47522 \begin_layout Description
47523 Enable
47524 \begin_inset space ~
47525 \end_inset
47526
47527 RTL
47528 \begin_inset space ~
47529 \end_inset
47530
47531 support Enables the use of languages, written from right to left (RTL),
47532  like Arabic, Hebrew or Farsi.
47533 \end_layout
47534
47535 \begin_layout Description
47536 Cursor
47537 \begin_inset space ~
47538 \end_inset
47539
47540 movement When writing RTL, you can define if the left and right arrow keys
47541  move the cursor visually to the left or right, respectively, or logically.
47542  Logical means that the cursor is moved to the left when pressing the right
47543  arrow key and the cursor is inside text in an RTL language.
47544 \end_layout
47545
47546 \begin_layout Subsection
47547 Spellchecker
47548 \end_layout
47549
47550 \begin_layout Standard
47551 The spellchecker settings are explained in section
47552 \begin_inset space ~
47553 \end_inset
47554
47555
47556 \begin_inset CommandInset ref
47557 LatexCommand ref
47558 reference "sec:Spellchecking"
47559
47560 \end_inset
47561
47562 .
47563 \end_layout
47564
47565 \begin_layout Section
47566 Outputs
47567 \end_layout
47568
47569 \begin_layout Subsection
47570 General
47571 \begin_inset CommandInset label
47572 LatexCommand label
47573 name "subsec:General-output"
47574
47575 \end_inset
47576
47577
47578 \end_layout
47579
47580 \begin_layout Description
47581 Forward
47582 \begin_inset space ~
47583 \end_inset
47584
47585 search Commands that will be used for the menu 
47586 \family sans
47587 Navigate\SpecialChar menuseparator
47588 Forward
47589 \begin_inset space ~
47590 \end_inset
47591
47592 search
47593 \family default
47594 .
47595  For a detailed description see section 
47596 \emph on
47597 Reverse DVI/PDF search
47598 \emph default
47599  of the 
47600 \emph on
47601 Additional
47602 \begin_inset space ~
47603 \end_inset
47604
47605 Features
47606 \emph default
47607  manual.
47608 \end_layout
47609
47610 \begin_layout Description
47611 Dvips
47612 \begin_inset space ~
47613 \end_inset
47614
47615 Options Options for the program 
47616 \family typewriter
47617 dvips
47618 \family default
47619  that is used for the export format 
47620 \family sans
47621 Postscript
47622 \family default
47623 , see section
47624 \begin_inset space ~
47625 \end_inset
47626
47627
47628 \begin_inset CommandInset ref
47629 LatexCommand ref
47630 reference "subsec:Export"
47631
47632 \end_inset
47633
47634 .
47635  Possible options are listed in the 
47636 \family typewriter
47637 dvips
47638 \family default
47639  manual:
47640 \begin_inset Newline newline
47641 \end_inset
47642
47643
47644 \begin_inset Flex URL
47645 status collapsed
47646
47647 \begin_layout Plain Layout
47648
47649 https://www.tug.org/texinfohtml/dvips.html
47650 \backslash
47651 #Option-details
47652 \end_layout
47653
47654 \end_inset
47655
47656
47657 \end_layout
47658
47659 \begin_layout Description
47660 Output
47661 \begin_inset space ~
47662 \end_inset
47663
47664 line
47665 \begin_inset space ~
47666 \end_inset
47667
47668 length sets the maximum number of characters printed in one line when using
47669  the menu 
47670 \family sans
47671 File\SpecialChar menuseparator
47672 Export\SpecialChar menuseparator
47673 Plain
47674 \begin_inset space ~
47675 \end_inset
47676
47677 text
47678 \family default
47679 .
47680  Setting the line length to 0 means all text is printed in one endless line.
47681 \end_layout
47682
47683 \begin_layout Description
47684 Date
47685 \begin_inset space ~
47686 \end_inset
47687
47688 format
47689 \begin_inset Index idx
47690 status collapsed
47691
47692 \begin_layout Plain Layout
47693 Date Format
47694 \end_layout
47695
47696 \end_inset
47697
47698
47699 \begin_inset Index idx
47700 status collapsed
47701
47702 \begin_layout Plain Layout
47703 Settings ! Date format
47704 \end_layout
47705
47706 \end_inset
47707
47708  The date format can be one or a mixture of the formats listed here:
47709 \begin_inset Newline newline
47710 \end_inset
47711
47712
47713 \begin_inset Flex URL
47714 status collapsed
47715
47716 \begin_layout Plain Layout
47717
47718 http://man7.org/linux/man-pages/man1/date.1.html
47719 \end_layout
47720
47721 \end_inset
47722
47723
47724 \begin_inset Newline newline
47725 \end_inset
47726
47727 For example the format
47728 \begin_inset Newline newline
47729 \end_inset
47730
47731 %d/%m/%y
47732 \begin_inset Newline newline
47733 \end_inset
47734
47735 prints the date as day/month/year.
47736 \end_layout
47737
47738 \begin_layout Description
47739 Overwrite
47740 \begin_inset space ~
47741 \end_inset
47742
47743 on
47744 \begin_inset space ~
47745 \end_inset
47746
47747 export Setting what \SpecialChar LyX
47748  is allowed to overwrite on export.
47749 \end_layout
47750
47751 \begin_layout Subsection
47752 La
47753 \family sans
47754 TeX
47755 \family default
47756
47757 \begin_inset CommandInset label
47758 LatexCommand label
47759 name "subsec:LaTeX-settings"
47760
47761 \end_inset
47762
47763
47764 \begin_inset Index idx
47765 status collapsed
47766
47767 \begin_layout Plain Layout
47768 Settings ! \SpecialChar LaTeX
47769
47770 \end_layout
47771
47772 \end_inset
47773
47774
47775 \end_layout
47776
47777 \begin_layout Description
47778 Use
47779 \begin_inset space ~
47780 \end_inset
47781
47782 La
47783 \family sans
47784 TeX
47785 \family default
47786
47787 \begin_inset space ~
47788 \end_inset
47789
47790 font
47791 \begin_inset space ~
47792 \end_inset
47793
47794 encoding This is the default encoding of the document font.
47795  
47796 \family sans
47797 T1
47798 \family default
47799  is the default and covers western languages and symbols.
47800  
47801 \family sans
47802 T2A
47803 \family default
47804
47805 \family sans
47806 T2B
47807 \family default
47808
47809 \family sans
47810 T2C
47811 \family default
47812
47813 \family sans
47814 LCY
47815 \family default
47816  and 
47817 \family sans
47818 X2
47819 \family default
47820  are used for Cyrillic.
47821  Combinations of the encodings are possible, like 
47822 \begin_inset Quotes eld
47823 \end_inset
47824
47825
47826 \family sans
47827 T1, T2B
47828 \family default
47829
47830 \begin_inset Quotes erd
47831 \end_inset
47832
47833 .
47834  The font encoding is normally automatically loaded by the language packages
47835  \SpecialChar LyX
47836  sets up in the background.
47837  So there is no need to change the default encoding.
47838 \end_layout
47839
47840 \begin_layout Description
47841 DVI
47842 \begin_inset space ~
47843 \end_inset
47844
47845 viewer
47846 \begin_inset space ~
47847 \end_inset
47848
47849 paper
47850 \begin_inset space ~
47851 \end_inset
47852
47853 size
47854 \begin_inset space ~
47855 \end_inset
47856
47857 options They only have an effect when the program 
47858 \family sans
47859 xdvi
47860 \family default
47861  is used as DVI-viewer, read its manual to find out more.
47862 \end_layout
47863
47864 \begin_layout Standard
47865 Here you can also specify options and commands with parameters for processors.
47866  But before you change something, it is strongly recommended to read the
47867  manuals of the applications.
47868 \end_layout
47869
47870 \begin_layout Description
47871 Bibliography
47872 \begin_inset space ~
47873 \end_inset
47874
47875 generation Settings for the generation of the bibliography, see section
47876 \begin_inset space ~
47877 \end_inset
47878
47879
47880 \begin_inset CommandInset ref
47881 LatexCommand ref
47882 reference "subsec:Bibliography-databases"
47883
47884 \end_inset
47885
47886 .
47887 \end_layout
47888
47889 \begin_layout Description
47890 Index
47891 \begin_inset space ~
47892 \end_inset
47893
47894 generation Settings for the generation of the index, see section
47895 \begin_inset space ~
47896 \end_inset
47897
47898
47899 \begin_inset CommandInset ref
47900 LatexCommand ref
47901 reference "subsec:Index-Program"
47902
47903 \end_inset
47904
47905 .
47906 \end_layout
47907
47908 \begin_layout Description
47909 Nomenclature
47910 \begin_inset space ~
47911 \end_inset
47912
47913 command Command for the program that generates the nomenclature, see section
47914 \begin_inset space ~
47915 \end_inset
47916
47917
47918 \begin_inset CommandInset ref
47919 LatexCommand ref
47920 reference "subsec:Nomenclature-Program"
47921
47922 \end_inset
47923
47924 .
47925 \end_layout
47926
47927 \begin_layout Description
47928 Check
47929 \family sans
47930 TeX
47931 \family default
47932
47933 \begin_inset space ~
47934 \end_inset
47935
47936 command Command for the program 
47937 \family sans
47938 Check\SpecialChar TeX
47939
47940 \family default
47941  that is described in the section 
47942 \emph on
47943 Checking \SpecialChar TeX
47944
47945 \emph default
47946  of the 
47947 \emph on
47948 Additional Features
47949 \emph default
47950  manual.
47951 \end_layout
47952
47953 \begin_layout Standard
47954 There are additionally the following options:
47955 \end_layout
47956
47957 \begin_layout Description
47958 Use
47959 \begin_inset space ~
47960 \end_inset
47961
47962 Windows-style
47963 \begin_inset space ~
47964 \end_inset
47965
47966 paths
47967 \begin_inset space ~
47968 \end_inset
47969
47970 in
47971 \begin_inset space ~
47972 \end_inset
47973
47974 \SpecialChar LaTeX
47975
47976 \begin_inset space ~
47977 \end_inset
47978
47979 files Uses paths in the notation of Windows, that means that 
47980 \begin_inset Quotes eld
47981 \end_inset
47982
47983
47984 \backslash
47985
47986 \begin_inset Quotes erd
47987 \end_inset
47988
47989  is used instead of 
47990 \begin_inset Quotes eld
47991 \end_inset
47992
47993 /
47994 \begin_inset Quotes erd
47995 \end_inset
47996
47997  to separate folders.
47998  This option is enabled by default when you use \SpecialChar LyX
47999  on Windows.
48000 \begin_inset Index idx
48001 status collapsed
48002
48003 \begin_layout Plain Layout
48004 Paths
48005 \end_layout
48006
48007 \end_inset
48008
48009
48010 \begin_inset Index idx
48011 status collapsed
48012
48013 \begin_layout Plain Layout
48014 Settings ! Paths
48015 \end_layout
48016
48017 \end_inset
48018
48019
48020 \end_layout
48021
48022 \begin_layout Description
48023 Reset
48024 \begin_inset space ~
48025 \end_inset
48026
48027 class
48028 \begin_inset space ~
48029 \end_inset
48030
48031 options
48032 \begin_inset space ~
48033 \end_inset
48034
48035 when
48036 \begin_inset space ~
48037 \end_inset
48038
48039 document
48040 \begin_inset space ~
48041 \end_inset
48042
48043 class
48044 \begin_inset space ~
48045 \end_inset
48046
48047 changes Removes all manually set 
48048 \family sans
48049 Class options
48050 \family default
48051  in the 
48052 \family sans
48053 Document\SpecialChar menuseparator
48054 Settings\SpecialChar menuseparator
48055 Document
48056 \begin_inset space ~
48057 \end_inset
48058
48059 Class
48060 \family default
48061  dialog when changing the document class.
48062 \end_layout
48063
48064 \begin_layout Section
48065 File
48066 \begin_inset space ~
48067 \end_inset
48068
48069 Handling
48070 \begin_inset Index idx
48071 status collapsed
48072
48073 \begin_layout Plain Layout
48074 File handling
48075 \end_layout
48076
48077 \end_inset
48078
48079
48080 \end_layout
48081
48082 \begin_layout Subsection
48083 Converters
48084 \begin_inset CommandInset label
48085 LatexCommand label
48086 name "subsec:Converters"
48087
48088 \end_inset
48089
48090
48091 \begin_inset Index idx
48092 status collapsed
48093
48094 \begin_layout Plain Layout
48095 Converters
48096 \end_layout
48097
48098 \end_inset
48099
48100
48101 \end_layout
48102
48103 \begin_layout Standard
48104 Here you find the list of defined converter commands to convert material
48105  from one format to another.
48106  You can modify converters or create new ones.
48107  To modify a converter, select it, change the entry of the 
48108 \family sans
48109 Converter
48110 \family default
48111  and/or 
48112 \family sans
48113 Extra
48114 \begin_inset space ~
48115 \end_inset
48116
48117 flag
48118 \family default
48119  field and press the 
48120 \family sans
48121 Modify
48122 \family default
48123  button.
48124  To create a new converter, select an existing one, select a different format
48125  in the 
48126 \family sans
48127 To
48128 \begin_inset space ~
48129 \end_inset
48130
48131 format
48132 \family default
48133  drop-down list, modify the 
48134 \family sans
48135 Converter
48136 \family default
48137  field and press the 
48138 \family sans
48139 Add
48140 \family default
48141  button.
48142 \end_layout
48143
48144 \begin_layout Standard
48145 If the 
48146 \family sans
48147 Converter File Cache
48148 \family default
48149  is 
48150 \family sans
48151 Enabled
48152 \family default
48153 , conversions will be cached as long as specified in the field 
48154 \family sans
48155 Maximum Age (in days
48156 \family default
48157 ).
48158  This means that images don't need to be converted again when you reopen
48159  a document; the converted images from the cache will be used instead.
48160 \end_layout
48161
48162 \begin_layout Standard
48163 More about converters, like the flags that can be used in the converter
48164  definition, is described in the section 
48165 \emph on
48166 Converters
48167 \emph default
48168  of the 
48169 \emph on
48170 Customization
48171 \emph default
48172  manual.
48173 \end_layout
48174
48175 \begin_layout Subsection
48176 File Formats
48177 \begin_inset CommandInset label
48178 LatexCommand label
48179 name "sec:File-Formats"
48180
48181 \end_inset
48182
48183
48184 \begin_inset Index idx
48185 status collapsed
48186
48187 \begin_layout Plain Layout
48188 File formats
48189 \end_layout
48190
48191 \end_inset
48192
48193
48194 \begin_inset Index idx
48195 status collapsed
48196
48197 \begin_layout Plain Layout
48198 Copiers
48199 \end_layout
48200
48201 \end_inset
48202
48203
48204 \end_layout
48205
48206 \begin_layout Standard
48207 Here you find the list of defined file formats that \SpecialChar LyX
48208  can handle.
48209  You can modify the 
48210 \family sans
48211 Editor
48212 \family default
48213  and 
48214 \family sans
48215 Viewer
48216 \family default
48217  programs that should be used for certain formats.
48218 \end_layout
48219
48220 \begin_layout Standard
48221 You can also define the 
48222 \family sans
48223 Default output format
48224 \family default
48225  that is used when you use 
48226 \family sans
48227 View, Update, View Master Document
48228 \family default
48229  or 
48230 \family sans
48231 Update Master Document
48232 \family default
48233  in the 
48234 \family sans
48235 Document
48236 \family default
48237  menu or the toolbar.
48238 \end_layout
48239
48240 \begin_layout Standard
48241 More about formats and their options is described in the section 
48242 \emph on
48243 Formats
48244 \emph default
48245  of the 
48246 \emph on
48247 Customization
48248 \emph default
48249  manual.
48250 \end_layout
48251
48252 \begin_layout Standard
48253 Since all conversions from one format to another take place in \SpecialChar LyX
48254 's temporary
48255  directory, it is sometimes necessary to modify a file before copying it
48256  to the temporary directory so that the conversion may be performed.
48257  This is done by specifying a 
48258 \family sans
48259 Copier
48260 \family default
48261 .
48262  More about this is described in the section 
48263 \emph on
48264 Copiers
48265 \emph default
48266  of the 
48267 \emph on
48268 Customization
48269 \emph default
48270  manual.
48271 \end_layout
48272
48273 \begin_layout Chapter
48274 Units available in \SpecialChar LyX
48275
48276 \begin_inset Index idx
48277 status collapsed
48278
48279 \begin_layout Plain Layout
48280 Units
48281 \end_layout
48282
48283 \end_inset
48284
48285
48286 \begin_inset CommandInset label
48287 LatexCommand label
48288 name "chap:Units-available-in"
48289
48290 \end_inset
48291
48292
48293 \end_layout
48294
48295 \begin_layout Standard
48296 Table
48297 \begin_inset space ~
48298 \end_inset
48299
48300
48301 \begin_inset CommandInset ref
48302 LatexCommand ref
48303 reference "tab:Units"
48304
48305 \end_inset
48306
48307  explains all the units available in \SpecialChar LyX
48308  and used in this documentation.
48309 \end_layout
48310
48311 \begin_layout Standard
48312 \begin_inset Float table
48313 placement h
48314 wide false
48315 sideways false
48316 status open
48317
48318 \begin_layout Plain Layout
48319 \begin_inset Caption Standard
48320
48321 \begin_layout Plain Layout
48322 \begin_inset CommandInset label
48323 LatexCommand label
48324 name "tab:Units"
48325
48326 \end_inset
48327
48328 Units
48329 \end_layout
48330
48331 \end_inset
48332
48333
48334 \end_layout
48335
48336 \begin_layout Plain Layout
48337 \begin_inset VSpace medskip
48338 \end_inset
48339
48340
48341 \end_layout
48342
48343 \begin_layout Plain Layout
48344 \align center
48345 \begin_inset Tabular
48346 <lyxtabular version="3" rows="21" columns="3">
48347 <features tabularvalignment="middle">
48348 <column alignment="center" valignment="top">
48349 <column alignment="center" valignment="middle" width="50col%">
48350 <column alignment="center" valignment="top">
48351 <row>
48352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48353 \begin_inset Text
48354
48355 \begin_layout Plain Layout
48356 unit
48357 \end_layout
48358
48359 \end_inset
48360 </cell>
48361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48362 \begin_inset Text
48363
48364 \begin_layout Plain Layout
48365 name/description
48366 \end_layout
48367
48368 \end_inset
48369 </cell>
48370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
48371 \begin_inset Text
48372
48373 \begin_layout Plain Layout
48374 \SpecialChar LaTeX
48375  command
48376 \end_layout
48377
48378 \end_inset
48379 </cell>
48380 </row>
48381 <row>
48382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48383 \begin_inset Text
48384
48385 \begin_layout Plain Layout
48386 bp
48387 \end_layout
48388
48389 \end_inset
48390 </cell>
48391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48392 \begin_inset Text
48393
48394 \begin_layout Plain Layout
48395 big point (72
48396 \begin_inset space \thinspace{}
48397 \end_inset
48398
48399 bp = 1
48400 \begin_inset space \thinspace{}
48401 \end_inset
48402
48403 in)
48404 \end_layout
48405
48406 \end_inset
48407 </cell>
48408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48409 \begin_inset Text
48410
48411 \begin_layout Plain Layout
48412 -
48413 \end_layout
48414
48415 \end_inset
48416 </cell>
48417 </row>
48418 <row>
48419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48420 \begin_inset Text
48421
48422 \begin_layout Plain Layout
48423 cc
48424 \end_layout
48425
48426 \end_inset
48427 </cell>
48428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48429 \begin_inset Text
48430
48431 \begin_layout Plain Layout
48432 cicero (1
48433 \begin_inset space \thinspace{}
48434 \end_inset
48435
48436 cc = 12
48437 \begin_inset space \thinspace{}
48438 \end_inset
48439
48440 dd)
48441 \end_layout
48442
48443 \end_inset
48444 </cell>
48445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48446 \begin_inset Text
48447
48448 \begin_layout Plain Layout
48449 -
48450 \end_layout
48451
48452 \end_inset
48453 </cell>
48454 </row>
48455 <row>
48456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48457 \begin_inset Text
48458
48459 \begin_layout Plain Layout
48460 cm
48461 \end_layout
48462
48463 \end_inset
48464 </cell>
48465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48466 \begin_inset Text
48467
48468 \begin_layout Plain Layout
48469 centimeter
48470 \end_layout
48471
48472 \end_inset
48473 </cell>
48474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48475 \begin_inset Text
48476
48477 \begin_layout Plain Layout
48478 -
48479 \end_layout
48480
48481 \end_inset
48482 </cell>
48483 </row>
48484 <row>
48485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48486 \begin_inset Text
48487
48488 \begin_layout Plain Layout
48489 dd
48490 \end_layout
48491
48492 \end_inset
48493 </cell>
48494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48495 \begin_inset Text
48496
48497 \begin_layout Plain Layout
48498 didot (1
48499 \begin_inset space \thinspace{}
48500 \end_inset
48501
48502 dd 
48503 \begin_inset Formula $\approx$
48504 \end_inset
48505
48506  0.376
48507 \begin_inset space \thinspace{}
48508 \end_inset
48509
48510 mm)
48511 \end_layout
48512
48513 \end_inset
48514 </cell>
48515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48516 \begin_inset Text
48517
48518 \begin_layout Plain Layout
48519 -
48520 \end_layout
48521
48522 \end_inset
48523 </cell>
48524 </row>
48525 <row>
48526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48527 \begin_inset Text
48528
48529 \begin_layout Plain Layout
48530 em
48531 \end_layout
48532
48533 \end_inset
48534 </cell>
48535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48536 \begin_inset Text
48537
48538 \begin_layout Plain Layout
48539 width of letter 
48540 \emph on
48541 M
48542 \emph default
48543  in current font
48544 \end_layout
48545
48546 \end_inset
48547 </cell>
48548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48549 \begin_inset Text
48550
48551 \begin_layout Plain Layout
48552 -
48553 \end_layout
48554
48555 \end_inset
48556 </cell>
48557 </row>
48558 <row>
48559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48560 \begin_inset Text
48561
48562 \begin_layout Plain Layout
48563 ex
48564 \end_layout
48565
48566 \end_inset
48567 </cell>
48568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48569 \begin_inset Text
48570
48571 \begin_layout Plain Layout
48572 height of letter 
48573 \emph on
48574 x
48575 \emph default
48576  in current font
48577 \end_layout
48578
48579 \end_inset
48580 </cell>
48581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48582 \begin_inset Text
48583
48584 \begin_layout Plain Layout
48585 -
48586 \end_layout
48587
48588 \end_inset
48589 </cell>
48590 </row>
48591 <row>
48592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48593 \begin_inset Text
48594
48595 \begin_layout Plain Layout
48596 in
48597 \end_layout
48598
48599 \end_inset
48600 </cell>
48601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48602 \begin_inset Text
48603
48604 \begin_layout Plain Layout
48605 inch
48606 \end_layout
48607
48608 \end_inset
48609 </cell>
48610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48611 \begin_inset Text
48612
48613 \begin_layout Plain Layout
48614 -
48615 \end_layout
48616
48617 \end_inset
48618 </cell>
48619 </row>
48620 <row>
48621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48622 \begin_inset Text
48623
48624 \begin_layout Plain Layout
48625 mm
48626 \end_layout
48627
48628 \end_inset
48629 </cell>
48630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48631 \begin_inset Text
48632
48633 \begin_layout Plain Layout
48634 millimeter
48635 \end_layout
48636
48637 \end_inset
48638 </cell>
48639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48640 \begin_inset Text
48641
48642 \begin_layout Plain Layout
48643 -
48644 \end_layout
48645
48646 \end_inset
48647 </cell>
48648 </row>
48649 <row>
48650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48651 \begin_inset Text
48652
48653 \begin_layout Plain Layout
48654 mu
48655 \end_layout
48656
48657 \end_inset
48658 </cell>
48659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48660 \begin_inset Text
48661
48662 \begin_layout Plain Layout
48663 math unit (1
48664 \begin_inset space \thinspace{}
48665 \end_inset
48666
48667 mu = 1/18
48668 \begin_inset space \thinspace{}
48669 \end_inset
48670
48671 em)
48672 \end_layout
48673
48674 \end_inset
48675 </cell>
48676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48677 \begin_inset Text
48678
48679 \begin_layout Plain Layout
48680 -
48681 \end_layout
48682
48683 \end_inset
48684 </cell>
48685 </row>
48686 <row>
48687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48688 \begin_inset Text
48689
48690 \begin_layout Plain Layout
48691 pt
48692 \end_layout
48693
48694 \end_inset
48695 </cell>
48696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48697 \begin_inset Text
48698
48699 \begin_layout Plain Layout
48700 point (72.27
48701 \begin_inset space \thinspace{}
48702 \end_inset
48703
48704 pt = 1
48705 \begin_inset space \thinspace{}
48706 \end_inset
48707
48708 in)
48709 \end_layout
48710
48711 \end_inset
48712 </cell>
48713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48714 \begin_inset Text
48715
48716 \begin_layout Plain Layout
48717 -
48718 \end_layout
48719
48720 \end_inset
48721 </cell>
48722 </row>
48723 <row>
48724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48725 \begin_inset Text
48726
48727 \begin_layout Plain Layout
48728 pc
48729 \end_layout
48730
48731 \end_inset
48732 </cell>
48733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48734 \begin_inset Text
48735
48736 \begin_layout Plain Layout
48737 pica (1
48738 \begin_inset space \thinspace{}
48739 \end_inset
48740
48741 pc = 12
48742 \begin_inset space \thinspace{}
48743 \end_inset
48744
48745 pt)
48746 \end_layout
48747
48748 \end_inset
48749 </cell>
48750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48751 \begin_inset Text
48752
48753 \begin_layout Plain Layout
48754 -
48755 \end_layout
48756
48757 \end_inset
48758 </cell>
48759 </row>
48760 <row>
48761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48762 \begin_inset Text
48763
48764 \begin_layout Plain Layout
48765 sp
48766 \end_layout
48767
48768 \end_inset
48769 </cell>
48770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48771 \begin_inset Text
48772
48773 \begin_layout Plain Layout
48774 scaled point (65536
48775 \begin_inset space \thinspace{}
48776 \end_inset
48777
48778 sp = 1
48779 \begin_inset space \thinspace{}
48780 \end_inset
48781
48782 pt)
48783 \end_layout
48784
48785 \end_inset
48786 </cell>
48787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48788 \begin_inset Text
48789
48790 \begin_layout Plain Layout
48791 -
48792 \end_layout
48793
48794 \end_inset
48795 </cell>
48796 </row>
48797 <row>
48798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48799 \begin_inset Text
48800
48801 \begin_layout Plain Layout
48802 Column Width %
48803 \end_layout
48804
48805 \end_inset
48806 </cell>
48807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48808 \begin_inset Text
48809
48810 \begin_layout Plain Layout
48811 % of column width
48812 \end_layout
48813
48814 \end_inset
48815 </cell>
48816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48817 \begin_inset Text
48818
48819 \begin_layout Plain Layout
48820
48821 \backslash
48822 columnwidth
48823 \end_layout
48824
48825 \end_inset
48826 </cell>
48827 </row>
48828 <row>
48829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48830 \begin_inset Text
48831
48832 \begin_layout Plain Layout
48833 Line Distance %
48834 \end_layout
48835
48836 \end_inset
48837 </cell>
48838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48839 \begin_inset Text
48840
48841 \begin_layout Plain Layout
48842 % of height between baselines of two subsequent text lines
48843 \end_layout
48844
48845 \end_inset
48846 </cell>
48847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48848 \begin_inset Text
48849
48850 \begin_layout Plain Layout
48851
48852 \backslash
48853 baselineskip
48854 \end_layout
48855
48856 \end_inset
48857 </cell>
48858 </row>
48859 <row>
48860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48861 \begin_inset Text
48862
48863 \begin_layout Plain Layout
48864 Line Width %
48865 \end_layout
48866
48867 \end_inset
48868 </cell>
48869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48870 \begin_inset Text
48871
48872 \begin_layout Plain Layout
48873 % of line width
48874 \end_layout
48875
48876 \end_inset
48877 </cell>
48878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48879 \begin_inset Text
48880
48881 \begin_layout Plain Layout
48882
48883 \backslash
48884 linewidth
48885 \end_layout
48886
48887 \end_inset
48888 </cell>
48889 </row>
48890 <row>
48891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48892 \begin_inset Text
48893
48894 \begin_layout Plain Layout
48895 Page Height %
48896 \end_layout
48897
48898 \end_inset
48899 </cell>
48900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48901 \begin_inset Text
48902
48903 \begin_layout Plain Layout
48904 % of paper height
48905 \end_layout
48906
48907 \end_inset
48908 </cell>
48909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48910 \begin_inset Text
48911
48912 \begin_layout Plain Layout
48913
48914 \backslash
48915 paperheight
48916 \end_layout
48917
48918 \end_inset
48919 </cell>
48920 </row>
48921 <row>
48922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48923 \begin_inset Text
48924
48925 \begin_layout Plain Layout
48926 Page Width %
48927 \end_layout
48928
48929 \end_inset
48930 </cell>
48931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48932 \begin_inset Text
48933
48934 \begin_layout Plain Layout
48935 % of paper width
48936 \end_layout
48937
48938 \end_inset
48939 </cell>
48940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48941 \begin_inset Text
48942
48943 \begin_layout Plain Layout
48944
48945 \backslash
48946 paperwidth
48947 \end_layout
48948
48949 \end_inset
48950 </cell>
48951 </row>
48952 <row>
48953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48954 \begin_inset Text
48955
48956 \begin_layout Plain Layout
48957 Scale Graphics %
48958 \end_layout
48959
48960 \end_inset
48961 </cell>
48962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48963 \begin_inset Text
48964
48965 \begin_layout Plain Layout
48966 % of original image width
48967 \end_layout
48968
48969 \end_inset
48970 </cell>
48971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48972 \begin_inset Text
48973
48974 \begin_layout Plain Layout
48975
48976 \end_layout
48977
48978 \end_inset
48979 </cell>
48980 </row>
48981 <row>
48982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48983 \begin_inset Text
48984
48985 \begin_layout Plain Layout
48986 Text Height %
48987 \end_layout
48988
48989 \end_inset
48990 </cell>
48991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48992 \begin_inset Text
48993
48994 \begin_layout Plain Layout
48995 % of text height
48996 \end_layout
48997
48998 \end_inset
48999 </cell>
49000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
49001 \begin_inset Text
49002
49003 \begin_layout Plain Layout
49004
49005 \backslash
49006 textheight
49007 \end_layout
49008
49009 \end_inset
49010 </cell>
49011 </row>
49012 <row>
49013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
49014 \begin_inset Text
49015
49016 \begin_layout Plain Layout
49017 Text Width %
49018 \end_layout
49019
49020 \end_inset
49021 </cell>
49022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
49023 \begin_inset Text
49024
49025 \begin_layout Plain Layout
49026 % of text width
49027 \end_layout
49028
49029 \end_inset
49030 </cell>
49031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
49032 \begin_inset Text
49033
49034 \begin_layout Plain Layout
49035
49036 \backslash
49037 textwidth
49038 \end_layout
49039
49040 \end_inset
49041 </cell>
49042 </row>
49043 </lyxtabular>
49044
49045 \end_inset
49046
49047
49048 \end_layout
49049
49050 \end_inset
49051
49052
49053 \end_layout
49054
49055 \begin_layout Chapter
49056 Credits
49057 \begin_inset CommandInset label
49058 LatexCommand label
49059 name "chap:Credits"
49060
49061 \end_inset
49062
49063
49064 \end_layout
49065
49066 \begin_layout Standard
49067 The documentation is a collaborative effort between many different people
49068  (and we would encourage people to contribute!).
49069 \end_layout
49070
49071 \begin_layout Itemize
49072
49073 \noun on
49074 Alejandro Aguilar Sierra
49075 \end_layout
49076
49077 \begin_layout Itemize
49078
49079 \noun on
49080 Amir Karger
49081 \end_layout
49082
49083 \begin_layout Itemize
49084
49085 \noun on
49086 David Johnson
49087 \end_layout
49088
49089 \begin_layout Itemize
49090
49091 \noun on
49092 Hartmut Haase
49093 \end_layout
49094
49095 \begin_layout Itemize
49096
49097 \noun on
49098 Ignacio García
49099 \end_layout
49100
49101 \begin_layout Itemize
49102
49103 \noun on
49104 Ivan Schreter
49105 \end_layout
49106
49107 \begin_layout Itemize
49108
49109 \noun on
49110 John Raithel
49111 \end_layout
49112
49113 \begin_layout Itemize
49114
49115 \noun on
49116 John Weiss
49117 \end_layout
49118
49119 \begin_layout Itemize
49120
49121 \noun on
49122 Lars Gullik Bjønnes
49123 \end_layout
49124
49125 \begin_layout Itemize
49126
49127 \noun on
49128 Matthias Ettrich
49129 \end_layout
49130
49131 \begin_layout Itemize
49132
49133 \noun on
49134 Matthias Zenker
49135 \end_layout
49136
49137 \begin_layout Itemize
49138
49139 \noun on
49140 Rich Fields
49141 \end_layout
49142
49143 \begin_layout Itemize
49144
49145 \noun on
49146 Pascal André
49147 \end_layout
49148
49149 \begin_layout Itemize
49150
49151 \noun on
49152 Paul Evans
49153 \end_layout
49154
49155 \begin_layout Itemize
49156
49157 \noun on
49158 Paul Russel
49159 \end_layout
49160
49161 \begin_layout Itemize
49162
49163 \noun on
49164 Robin Socha
49165 \end_layout
49166
49167 \begin_layout Itemize
49168
49169 \noun on
49170 Uwe Stöhr
49171 \end_layout
49172
49173 \begin_layout Itemize
49174 The \SpecialChar LyX
49175  Team: 
49176 \begin_inset CommandInset citation
49177 LatexCommand cite
49178 key "lyxcredit"
49179 literal "true"
49180
49181 \end_inset
49182
49183
49184 \end_layout
49185
49186 \begin_layout Standard
49187 \begin_inset Newpage newpage
49188 \end_inset
49189
49190 The bibliography on the following page was created with the 
49191 \family sans
49192 Bibliography
49193 \family default
49194  environment.
49195 \end_layout
49196
49197 \begin_layout Bibliography
49198 \begin_inset CommandInset bibitem
49199 LatexCommand bibitem
49200 label "Credits"
49201 key "lyxcredit"
49202 literal "true"
49203
49204 \end_inset
49205
49206 The \SpecialChar LyX
49207  Team: 
49208 \begin_inset CommandInset href
49209 LatexCommand href
49210 name "Credits"
49211 target "http://www.lyx.org/Credits"
49212 literal "false"
49213
49214 \end_inset
49215
49216 :
49217 \begin_inset Newline newline
49218 \end_inset
49219
49220
49221 \begin_inset Flex URL
49222 status collapsed
49223
49224 \begin_layout Plain Layout
49225
49226 http://www.lyx.org/Credits
49227 \end_layout
49228
49229 \end_inset
49230
49231
49232 \end_layout
49233
49234 \begin_layout Bibliography
49235 \begin_inset CommandInset bibitem
49236 LatexCommand bibitem
49237 key "latexcompanion"
49238 literal "true"
49239
49240 \end_inset
49241
49242 Frank Mittelbach and Michel Goossens: 
49243 \emph on
49244 The \SpecialChar LaTeX
49245  Companion Second Edition.
49246
49247 \emph default
49248  Addison-Wesley, 2004
49249 \end_layout
49250
49251 \begin_layout Bibliography
49252 \begin_inset CommandInset bibitem
49253 LatexCommand bibitem
49254 key "latexguide"
49255 literal "true"
49256
49257 \end_inset
49258
49259 Helmut Kopka and Patrick W.
49260  Daly: 
49261 \emph on
49262 A Guide to \SpecialChar LaTeX
49263  Fourth Edition.
49264
49265 \emph default
49266  Addison-Wesley, 2003
49267 \end_layout
49268
49269 \begin_layout Bibliography
49270 \begin_inset CommandInset bibitem
49271 LatexCommand bibitem
49272 key "latexbook"
49273 literal "true"
49274
49275 \end_inset
49276
49277 Leslie Lamport: 
49278 \emph on
49279 \SpecialChar LaTeX
49280 : A Document Preparation System.
49281
49282 \emph default
49283  Addison-Wesley, second edition, 1994
49284 \end_layout
49285
49286 \begin_layout Bibliography
49287 \begin_inset CommandInset bibitem
49288 LatexCommand bibitem
49289 key "texbook"
49290 literal "true"
49291
49292 \end_inset
49293
49294 Donald E.
49295  Knuth.
49296  
49297 \emph on
49298 The \SpecialChar TeX
49299 book.
49300
49301 \emph default
49302  Addison-Wesley, 1984
49303 \end_layout
49304
49305 \begin_layout Bibliography
49306 \begin_inset CommandInset bibitem
49307 LatexCommand bibitem
49308 key "TeXCatalogue"
49309 literal "true"
49310
49311 \end_inset
49312
49313 The \SpecialChar TeX
49314  Catalogue:
49315 \begin_inset Newline newline
49316 \end_inset
49317
49318
49319 \begin_inset Flex URL
49320 status collapsed
49321
49322 \begin_layout Plain Layout
49323
49324 http://mirrors.ctan.org/help/Catalogue/bytopic.html
49325 \end_layout
49326
49327 \end_inset
49328
49329
49330 \end_layout
49331
49332 \begin_layout Bibliography
49333 \begin_inset CommandInset bibitem
49334 LatexCommand bibitem
49335 key "LaTeXFAQ"
49336 literal "true"
49337
49338 \end_inset
49339
49340 The \SpecialChar LaTeX
49341  FAQ:
49342 \begin_inset Newline newline
49343 \end_inset
49344
49345
49346 \begin_inset Flex URL
49347 status collapsed
49348
49349 \begin_layout Plain Layout
49350
49351 http://www.tex.ac.uk/faq/
49352 \end_layout
49353
49354 \end_inset
49355
49356
49357 \end_layout
49358
49359 \begin_layout Bibliography
49360 \begin_inset CommandInset bibitem
49361 LatexCommand bibitem
49362 key "BibTeX"
49363 literal "true"
49364
49365 \end_inset
49366
49367
49368 \begin_inset CommandInset href
49369 LatexCommand href
49370 name "Documentation"
49371 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
49372 literal "false"
49373
49374 \end_inset
49375
49376  of the program 
49377 \family sans
49378 Bib\SpecialChar TeX
49379
49380 \family default
49381 :
49382 \begin_inset Newline newline
49383 \end_inset
49384
49385
49386 \begin_inset Flex URL
49387 status collapsed
49388
49389 \begin_layout Plain Layout
49390
49391 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
49392 \end_layout
49393
49394 \end_inset
49395
49396
49397 \end_layout
49398
49399 \begin_layout Bibliography
49400 \begin_inset CommandInset bibitem
49401 LatexCommand bibitem
49402 key "BibTeX-2"
49403 literal "true"
49404
49405 \end_inset
49406
49407
49408 \begin_inset CommandInset href
49409 LatexCommand href
49410 name "Documentation"
49411 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
49412 literal "false"
49413
49414 \end_inset
49415
49416  how to use the program 
49417 \family sans
49418 Bib\SpecialChar TeX
49419
49420 \family default
49421 :
49422 \begin_inset Newline newline
49423 \end_inset
49424
49425
49426 \begin_inset Flex URL
49427 status collapsed
49428
49429 \begin_layout Plain Layout
49430
49431 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
49432 \end_layout
49433
49434 \end_inset
49435
49436
49437 \end_layout
49438
49439 \begin_layout Bibliography
49440 \begin_inset CommandInset bibitem
49441 LatexCommand bibitem
49442 key "Biblatex"
49443 literal "true"
49444
49445 \end_inset
49446
49447
49448 \begin_inset CommandInset href
49449 LatexCommand href
49450 name "Documentation"
49451 target "http://www.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf"
49452 literal "false"
49453
49454 \end_inset
49455
49456  of the \SpecialChar LaTeX
49457  package 
49458 \series bold
49459 biblatex
49460 \series default
49461
49462 \begin_inset Index idx
49463 status collapsed
49464
49465 \begin_layout Plain Layout
49466 \SpecialChar LaTeX
49467  packages ! biblatex
49468 \end_layout
49469
49470 \end_inset
49471
49472 :
49473 \begin_inset Newline newline
49474 \end_inset
49475
49476
49477 \begin_inset Flex URL
49478 status collapsed
49479
49480 \begin_layout Plain Layout
49481
49482 http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf
49483 \end_layout
49484
49485 \end_inset
49486
49487
49488 \end_layout
49489
49490 \begin_layout Bibliography
49491 \begin_inset CommandInset bibitem
49492 LatexCommand bibitem
49493 key "biber"
49494 literal "true"
49495
49496 \end_inset
49497
49498
49499 \begin_inset CommandInset href
49500 LatexCommand href
49501 name "Documentation"
49502 target "http://mirrors.ctan.org/biblio/biber/documentation/biber.pdf"
49503 literal "false"
49504
49505 \end_inset
49506
49507  of the \SpecialChar LaTeX
49508  package 
49509 \series bold
49510 biber
49511 \series default
49512
49513 \begin_inset Index idx
49514 status collapsed
49515
49516 \begin_layout Plain Layout
49517 \SpecialChar LaTeX
49518  packages ! biber
49519 \end_layout
49520
49521 \end_inset
49522
49523 :
49524 \begin_inset Newline newline
49525 \end_inset
49526
49527
49528 \begin_inset Flex URL
49529 status collapsed
49530
49531 \begin_layout Plain Layout
49532
49533 http://mirrors.ctan.org/biblio/biber/documentation/biber.pdf
49534 \end_layout
49535
49536 \end_inset
49537
49538
49539 \end_layout
49540
49541 \begin_layout Bibliography
49542 \begin_inset CommandInset bibitem
49543 LatexCommand bibitem
49544 key "makeindex"
49545 literal "true"
49546
49547 \end_inset
49548
49549
49550 \begin_inset CommandInset href
49551 LatexCommand href
49552 name "Documentation"
49553 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
49554 literal "false"
49555
49556 \end_inset
49557
49558  of the program 
49559 \family sans
49560 makeindex
49561 \family default
49562 :
49563 \begin_inset Newline newline
49564 \end_inset
49565
49566
49567 \begin_inset Flex URL
49568 status collapsed
49569
49570 \begin_layout Plain Layout
49571
49572 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
49573 \end_layout
49574
49575 \end_inset
49576
49577
49578 \end_layout
49579
49580 \begin_layout Bibliography
49581 \begin_inset CommandInset bibitem
49582 LatexCommand bibitem
49583 key "makeindex-man"
49584 literal "true"
49585
49586 \end_inset
49587
49588
49589 \begin_inset CommandInset href
49590 LatexCommand href
49591 name "Options"
49592 target "http://mirrors.ctan.org/indexing/makeindex/doc/manpages.dvi"
49593 literal "false"
49594
49595 \end_inset
49596
49597  for the program 
49598 \family sans
49599 makeindex
49600 \family default
49601 :
49602 \begin_inset Newline newline
49603 \end_inset
49604
49605
49606 \begin_inset Flex URL
49607 status collapsed
49608
49609 \begin_layout Plain Layout
49610
49611 http://mirrors.ctan.org/indexing/makeindex/doc/manpages.dvi
49612 \end_layout
49613
49614 \end_inset
49615
49616
49617 \end_layout
49618
49619 \begin_layout Bibliography
49620 \begin_inset CommandInset bibitem
49621 LatexCommand bibitem
49622 key "xindy"
49623 literal "true"
49624
49625 \end_inset
49626
49627
49628 \begin_inset CommandInset href
49629 LatexCommand href
49630 name "Documentation"
49631 target "http://www.xindy.org/documentation.html"
49632 literal "false"
49633
49634 \end_inset
49635
49636  of the program 
49637 \family sans
49638 xindy
49639 \family default
49640 :
49641 \begin_inset Newline newline
49642 \end_inset
49643
49644
49645 \begin_inset Flex URL
49646 status collapsed
49647
49648 \begin_layout Plain Layout
49649
49650 http://www.xindy.org/documentation.html
49651 \end_layout
49652
49653 \end_inset
49654
49655
49656 \end_layout
49657
49658 \begin_layout Bibliography
49659 \begin_inset CommandInset bibitem
49660 LatexCommand bibitem
49661 key "AMS"
49662 literal "true"
49663
49664 \end_inset
49665
49666
49667 \begin_inset CommandInset href
49668 LatexCommand href
49669 name "Documentation"
49670 target "http://www.ams.org/publications/authors/tex/amslatex"
49671 literal "false"
49672
49673 \end_inset
49674
49675  of the AMS \SpecialChar LaTeX
49676 -packages:
49677 \begin_inset Newline newline
49678 \end_inset
49679
49680
49681 \begin_inset Flex URL
49682 status collapsed
49683
49684 \begin_layout Plain Layout
49685
49686 http://www.ams.org/publications/authors/tex/amslatex
49687 \end_layout
49688
49689 \end_inset
49690
49691
49692 \end_layout
49693
49694 \begin_layout Bibliography
49695 \begin_inset CommandInset bibitem
49696 LatexCommand bibitem
49697 key "caption"
49698 literal "true"
49699
49700 \end_inset
49701
49702
49703 \begin_inset CommandInset href
49704 LatexCommand href
49705 name "Documentation"
49706 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
49707 literal "false"
49708
49709 \end_inset
49710
49711  of the \SpecialChar LaTeX
49712  package 
49713 \series bold
49714 caption
49715 \series default
49716
49717 \begin_inset Index idx
49718 status collapsed
49719
49720 \begin_layout Plain Layout
49721 \SpecialChar LaTeX
49722  packages ! caption
49723 \end_layout
49724
49725 \end_inset
49726
49727 :
49728 \begin_inset Newline newline
49729 \end_inset
49730
49731
49732 \begin_inset Flex URL
49733 status collapsed
49734
49735 \begin_layout Plain Layout
49736
49737 http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf
49738 \end_layout
49739
49740 \end_inset
49741
49742
49743 \end_layout
49744
49745 \begin_layout Bibliography
49746 \begin_inset CommandInset bibitem
49747 LatexCommand bibitem
49748 key "enumitem"
49749 literal "true"
49750
49751 \end_inset
49752
49753
49754 \begin_inset CommandInset href
49755 LatexCommand href
49756 name "Documentation"
49757 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
49758 literal "false"
49759
49760 \end_inset
49761
49762  of the \SpecialChar LaTeX
49763  package 
49764 \series bold
49765 enumitem
49766 \series default
49767
49768 \begin_inset Index idx
49769 status collapsed
49770
49771 \begin_layout Plain Layout
49772 \SpecialChar LaTeX
49773  packages ! enumitem
49774 \end_layout
49775
49776 \end_inset
49777
49778 :
49779 \begin_inset Newline newline
49780 \end_inset
49781
49782
49783 \begin_inset Flex URL
49784 status collapsed
49785
49786 \begin_layout Plain Layout
49787
49788 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
49789 \end_layout
49790
49791 \end_inset
49792
49793
49794 \end_layout
49795
49796 \begin_layout Bibliography
49797 \begin_inset CommandInset bibitem
49798 LatexCommand bibitem
49799 key "fancyhdr"
49800 literal "true"
49801
49802 \end_inset
49803
49804
49805 \begin_inset CommandInset href
49806 LatexCommand href
49807 name "Documentation"
49808 target "http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
49809 literal "false"
49810
49811 \end_inset
49812
49813  of the \SpecialChar LaTeX
49814  package 
49815 \series bold
49816 fancyhdr
49817 \series default
49818
49819 \begin_inset Index idx
49820 status collapsed
49821
49822 \begin_layout Plain Layout
49823 \SpecialChar LaTeX
49824  packages ! fancyhdr
49825 \end_layout
49826
49827 \end_inset
49828
49829 :
49830 \begin_inset Newline newline
49831 \end_inset
49832
49833
49834 \begin_inset Flex URL
49835 status collapsed
49836
49837 \begin_layout Plain Layout
49838
49839 http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf
49840 \end_layout
49841
49842 \end_inset
49843
49844
49845 \end_layout
49846
49847 \begin_layout Bibliography
49848 \begin_inset CommandInset bibitem
49849 LatexCommand bibitem
49850 key "hyperref"
49851 literal "true"
49852
49853 \end_inset
49854
49855
49856 \begin_inset CommandInset href
49857 LatexCommand href
49858 name "Documentation"
49859 target "http://www.ctan.org/pkg/hyperref"
49860 literal "false"
49861
49862 \end_inset
49863
49864  of the \SpecialChar LaTeX
49865  package 
49866 \series bold
49867 hyperref
49868 \series default
49869
49870 \begin_inset Index idx
49871 status collapsed
49872
49873 \begin_layout Plain Layout
49874 \SpecialChar LaTeX
49875  packages ! hyperref
49876 \end_layout
49877
49878 \end_inset
49879
49880 :
49881 \begin_inset Newline newline
49882 \end_inset
49883
49884
49885 \begin_inset Flex URL
49886 status collapsed
49887
49888 \begin_layout Plain Layout
49889
49890 http://www.ctan.org/pkg/hyperref
49891 \end_layout
49892
49893 \end_inset
49894
49895
49896 \end_layout
49897
49898 \begin_layout Bibliography
49899 \begin_inset CommandInset bibitem
49900 LatexCommand bibitem
49901 key "microtype"
49902 literal "true"
49903
49904 \end_inset
49905
49906
49907 \begin_inset CommandInset href
49908 LatexCommand href
49909 name "Documentation"
49910 target "http://mirrors.ctan.org/macros/latex/contrib/microtype/microtype.pdf"
49911 literal "false"
49912
49913 \end_inset
49914
49915  of the \SpecialChar LaTeX
49916  package 
49917 \series bold
49918 microtpye
49919 \series default
49920
49921 \begin_inset Index idx
49922 status collapsed
49923
49924 \begin_layout Plain Layout
49925 \SpecialChar LaTeX
49926  packages ! microtpye
49927 \end_layout
49928
49929 \end_inset
49930
49931 :
49932 \begin_inset Newline newline
49933 \end_inset
49934
49935
49936 \begin_inset Flex URL
49937 status collapsed
49938
49939 \begin_layout Plain Layout
49940
49941 http://mirrors.ctan.org/macros/latex/contrib/microtype/microtype.pdf
49942 \end_layout
49943
49944 \end_inset
49945
49946
49947 \end_layout
49948
49949 \begin_layout Bibliography
49950 \begin_inset CommandInset bibitem
49951 LatexCommand bibitem
49952 key "nomencl"
49953 literal "true"
49954
49955 \end_inset
49956
49957
49958 \begin_inset CommandInset href
49959 LatexCommand href
49960 name "Documentation"
49961 target "http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
49962 literal "false"
49963
49964 \end_inset
49965
49966  of the \SpecialChar LaTeX
49967  package 
49968 \series bold
49969 nomencl
49970 \series default
49971
49972 \begin_inset Index idx
49973 status collapsed
49974
49975 \begin_layout Plain Layout
49976 \SpecialChar LaTeX
49977  packages ! nomencl
49978 \end_layout
49979
49980 \end_inset
49981
49982 :
49983 \begin_inset Newline newline
49984 \end_inset
49985
49986
49987 \begin_inset Flex URL
49988 status collapsed
49989
49990 \begin_layout Plain Layout
49991
49992 http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
49993 \end_layout
49994
49995 \end_inset
49996
49997
49998 \end_layout
49999
50000 \begin_layout Bibliography
50001 \begin_inset CommandInset bibitem
50002 LatexCommand bibitem
50003 key "prettyref"
50004 literal "true"
50005
50006 \end_inset
50007
50008
50009 \begin_inset CommandInset href
50010 LatexCommand href
50011 name "Documentation"
50012 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
50013 literal "false"
50014
50015 \end_inset
50016
50017  of the \SpecialChar LaTeX
50018  package 
50019 \series bold
50020 prettyref
50021 \series default
50022
50023 \begin_inset Index idx
50024 status collapsed
50025
50026 \begin_layout Plain Layout
50027 \SpecialChar LaTeX
50028  packages ! prettyref
50029 \end_layout
50030
50031 \end_inset
50032
50033 :
50034 \begin_inset Newline newline
50035 \end_inset
50036
50037
50038 \begin_inset Flex URL
50039 status collapsed
50040
50041 \begin_layout Plain Layout
50042
50043 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
50044 \end_layout
50045
50046 \end_inset
50047
50048
50049 \end_layout
50050
50051 \begin_layout Bibliography
50052 \begin_inset CommandInset bibitem
50053 LatexCommand bibitem
50054 key "refstyle"
50055 literal "true"
50056
50057 \end_inset
50058
50059
50060 \begin_inset CommandInset href
50061 LatexCommand href
50062 name "Documentation"
50063 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50064 literal "false"
50065
50066 \end_inset
50067
50068  of the \SpecialChar LaTeX
50069  package 
50070 \series bold
50071 refstyle
50072 \series default
50073
50074 \begin_inset Index idx
50075 status collapsed
50076
50077 \begin_layout Plain Layout
50078 \SpecialChar LaTeX
50079  packages ! refstyle
50080 \end_layout
50081
50082 \end_inset
50083
50084 :
50085 \begin_inset Newline newline
50086 \end_inset
50087
50088
50089 \begin_inset Flex URL
50090 status collapsed
50091
50092 \begin_layout Plain Layout
50093
50094 http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf
50095 \end_layout
50096
50097 \end_inset
50098
50099
50100 \end_layout
50101
50102 \begin_layout Bibliography
50103 \begin_inset CommandInset bibitem
50104 LatexCommand bibitem
50105 key "Arabic"
50106 literal "true"
50107
50108 \end_inset
50109
50110
50111 \begin_inset CommandInset href
50112 LatexCommand href
50113 name "Wiki-page"
50114 target "http://wiki.lyx.org/Windows/Arabic"
50115 literal "false"
50116
50117 \end_inset
50118
50119  how to set up \SpecialChar LyX
50120  for Arabic:
50121 \begin_inset Newline newline
50122 \end_inset
50123
50124
50125 \begin_inset Flex URL
50126 status collapsed
50127
50128 \begin_layout Plain Layout
50129
50130 http://wiki.lyx.org/Windows/Arabic
50131 \end_layout
50132
50133 \end_inset
50134
50135
50136 \end_layout
50137
50138 \begin_layout Bibliography
50139 \begin_inset CommandInset bibitem
50140 LatexCommand bibitem
50141 key "Armenian"
50142 literal "true"
50143
50144 \end_inset
50145
50146
50147 \begin_inset CommandInset href
50148 LatexCommand href
50149 name "Wiki-page"
50150 target "http://wiki.lyx.org/Windows/Armenian"
50151 literal "false"
50152
50153 \end_inset
50154
50155  how to set up \SpecialChar LyX
50156  for Armenian:
50157 \begin_inset Newline newline
50158 \end_inset
50159
50160
50161 \begin_inset Flex URL
50162 status collapsed
50163
50164 \begin_layout Plain Layout
50165
50166 http://wiki.lyx.org/Windows/Armenian
50167 \end_layout
50168
50169 \end_inset
50170
50171
50172 \end_layout
50173
50174 \begin_layout Bibliography
50175 \begin_inset CommandInset bibitem
50176 LatexCommand bibitem
50177 key "Cyrillic"
50178 literal "true"
50179
50180 \end_inset
50181
50182
50183 \begin_inset CommandInset href
50184 LatexCommand href
50185 name "Wiki-page"
50186 target "http://wiki.lyx.org/Windows/Cyrillic"
50187 literal "false"
50188
50189 \end_inset
50190
50191  how to set up \SpecialChar LyX
50192  for Cyrillic languages:
50193 \begin_inset Newline newline
50194 \end_inset
50195
50196
50197 \begin_inset Flex URL
50198 status collapsed
50199
50200 \begin_layout Plain Layout
50201
50202 http://wiki.lyx.org/Windows/Cyrillic
50203 \end_layout
50204
50205 \end_inset
50206
50207
50208 \end_layout
50209
50210 \begin_layout Bibliography
50211 \begin_inset CommandInset bibitem
50212 LatexCommand bibitem
50213 key "Farsi"
50214 literal "true"
50215
50216 \end_inset
50217
50218
50219 \begin_inset CommandInset href
50220 LatexCommand href
50221 name "Wiki-page"
50222 target "http://wiki.lyx.org/Windows/Farsi"
50223 literal "false"
50224
50225 \end_inset
50226
50227  how to set up \SpecialChar LyX
50228  for Farsi:
50229 \begin_inset Newline newline
50230 \end_inset
50231
50232
50233 \begin_inset Flex URL
50234 status collapsed
50235
50236 \begin_layout Plain Layout
50237
50238 http://wiki.lyx.org/Windows/Farsi
50239 \end_layout
50240
50241 \end_inset
50242
50243
50244 \end_layout
50245
50246 \begin_layout Bibliography
50247 \begin_inset CommandInset bibitem
50248 LatexCommand bibitem
50249 key "Hebrew"
50250 literal "true"
50251
50252 \end_inset
50253
50254
50255 \begin_inset CommandInset href
50256 LatexCommand href
50257 name "Wiki-page"
50258 target "http://wiki.lyx.org/Windows/Hebrew"
50259 literal "false"
50260
50261 \end_inset
50262
50263  how to set up \SpecialChar LyX
50264  for Hebrew:
50265 \begin_inset Newline newline
50266 \end_inset
50267
50268
50269 \begin_inset Flex URL
50270 status collapsed
50271
50272 \begin_layout Plain Layout
50273
50274 http://wiki.lyx.org/Windows/Hebrew
50275 \end_layout
50276
50277 \end_inset
50278
50279
50280 \end_layout
50281
50282 \begin_layout Bibliography
50283 \begin_inset CommandInset bibitem
50284 LatexCommand bibitem
50285 key "Japanese"
50286 literal "true"
50287
50288 \end_inset
50289
50290
50291 \begin_inset CommandInset href
50292 LatexCommand href
50293 name "Wiki-page"
50294 target "http://wiki.lyx.org/Windows/Japanese"
50295 literal "false"
50296
50297 \end_inset
50298
50299  how to set up \SpecialChar LyX
50300  for Japanese:
50301 \begin_inset Newline newline
50302 \end_inset
50303
50304
50305 \begin_inset Flex URL
50306 status collapsed
50307
50308 \begin_layout Plain Layout
50309
50310 http://wiki.lyx.org/Windows/Japanese
50311 \end_layout
50312
50313 \end_inset
50314
50315
50316 \end_layout
50317
50318 \begin_layout Standard
50319 \begin_inset Newpage newpage
50320 \end_inset
50321
50322
50323 \begin_inset ERT
50324 status collapsed
50325
50326 \begin_layout Plain Layout
50327
50328
50329 \backslash
50330 let
50331 \backslash
50332 mybibname
50333 \backslash
50334 bibname
50335 \end_layout
50336
50337 \begin_layout Plain Layout
50338
50339
50340 \backslash
50341 renewcommand{
50342 \backslash
50343 bibname}{
50344 \backslash
50345 mybibname
50346 \backslash
50347 ; 2}
50348 \end_layout
50349
50350 \end_inset
50351
50352
50353 \begin_inset Note Note
50354 status collapsed
50355
50356 \begin_layout Plain Layout
50357 The command 
50358 \series bold
50359
50360 \backslash
50361 bibname
50362 \series default
50363  is the name of the bibliography in the current document language.
50364  It is redefined here with the number 2 at the end to state that the following
50365  bibliography is the second one:
50366 \end_layout
50367
50368 \end_inset
50369
50370
50371 \end_layout
50372
50373 \begin_layout Standard
50374 \begin_inset CommandInset bibtex
50375 LatexCommand bibtex
50376 bibfiles "biblio/LyXDocs"
50377 options "biblio/alphadin"
50378
50379 \end_inset
50380
50381
50382 \end_layout
50383
50384 \begin_layout Standard
50385 The above bibliography is created from a Bib\SpecialChar TeX
50386  database.
50387 \end_layout
50388
50389 \begin_layout Standard
50390 \begin_inset ERT
50391 status collapsed
50392
50393 \begin_layout Plain Layout
50394
50395
50396 \backslash
50397 renewcommand*{
50398 \backslash
50399 pagedeclaration}[1]{
50400 \end_layout
50401
50402 \begin_layout Plain Layout
50403
50404  
50405 \backslash
50406 unskip, 
50407 \backslash
50408 hyperlink{page.#1}{page
50409 \backslash
50410 nobreakspace{}#1}}
50411 \end_layout
50412
50413 \end_inset
50414
50415
50416 \begin_inset Note Note
50417 status collapsed
50418
50419 \begin_layout Plain Layout
50420 This command makes the page number a clickable hyperlink, see sec.
50421 \begin_inset space ~
50422 \end_inset
50423
50424
50425 \begin_inset CommandInset ref
50426 LatexCommand ref
50427 reference "subsec:Nomenclature-Options"
50428
50429 \end_inset
50430
50431  for more info.
50432 \end_layout
50433
50434 \end_inset
50435
50436
50437 \end_layout
50438
50439 \begin_layout Standard
50440 \begin_inset CommandInset nomencl_print
50441 LatexCommand printnomenclature
50442 set_width "auto"
50443
50444 \end_inset
50445
50446
50447 \begin_inset CommandInset index_print
50448 LatexCommand printindex
50449 type "idx"
50450 name "Index"
50451 literal "false"
50452
50453 \end_inset
50454
50455
50456 \end_layout
50457
50458 \end_body
50459 \end_document