]> git.lyx.org Git - lyx.git/blob - lib/doc/UserGuide.lyx
UserGuide.lyx: accept and distribute all recent changes (part 3/3)
[lyx.git] / lib / doc / UserGuide.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the User's Guide prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the User's Guide may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % for correct jump positions whe clicking on a link to a float
19 \usepackage[figure]{hypcap}
20
21 % the pages of the TOC is numbered roman
22 % and a pdf-bookmark for the TOC is added
23 \let\myTOC\tableofcontents
24 \renewcommand\tableofcontents{%
25   \frontmatter
26   \pdfbookmark[1]{\contentsname}{}
27   \myTOC
28   \mainmatter }
29
30 % macro for italic page numbers in the index
31 \newcommand{\IndexDef}[1]{\textit{#1}}
32
33 % for customized page headers/footers
34 % only needed because they are only used in one section of the document
35 \usepackage{fancyhdr}
36 % change header rule width
37 \renewcommand{\headrulewidth}{2pt}
38
39 % used to have extra space in table cells
40 \@ifundefined{extrarowheight}
41  {\usepackage{array}}{}
42 \setlength{\extrarowheight}{2pt}
43
44 % workaround for a makeindex bug,
45 % see sec. "Index Entry Order"
46 % only uncomment this when you are using makindex
47 %\let\OrgIndex\index 
48 %\renewcommand*{\index}[1]{\OrgIndex{#1}}
49 \end_preamble
50 \options refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
51 \use_default_options false
52 \begin_modules
53 customHeadersFooters
54 enumitem
55 \end_modules
56 \maintain_unincluded_children false
57 \language english
58 \language_package default
59 \inputencoding auto
60 \fontencoding global
61 \font_roman "lmodern" "default"
62 \font_sans "lmss" "default"
63 \font_typewriter "lmtt" "default"
64 \font_math "auto" "auto"
65 \font_default_family default
66 \use_non_tex_fonts false
67 \font_sc false
68 \font_osf false
69 \font_sf_scale 100 100
70 \font_tt_scale 100 100
71 \use_microtype false
72 \use_dash_ligatures false
73 \graphics default
74 \default_output_format pdf2
75 \output_sync 0
76 \bibtex_command bibtex
77 \index_command default
78 \paperfontsize 12
79 \spacing single
80 \use_hyperref true
81 \pdf_title "The LyX User's Guide"
82 \pdf_author "LyX Team"
83 \pdf_subject "LyX"
84 \pdf_keywords "LyX"
85 \pdf_bookmarks true
86 \pdf_bookmarksnumbered true
87 \pdf_bookmarksopen false
88 \pdf_bookmarksopenlevel 1
89 \pdf_breaklinks false
90 \pdf_pdfborder false
91 \pdf_colorlinks true
92 \pdf_backref false
93 \pdf_pdfusetitle false
94 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
95 \papersize default
96 \use_geometry false
97 \use_package amsmath 1
98 \use_package amssymb 1
99 \use_package cancel 1
100 \use_package esint 1
101 \use_package mathdots 1
102 \use_package mathtools 1
103 \use_package mhchem 1
104 \use_package stackrel 1
105 \use_package stmaryrd 1
106 \use_package undertilde 1
107 \cite_engine basic
108 \cite_engine_type default
109 \biblio_style plain
110 \use_bibtopic false
111 \use_indices false
112 \paperorientation portrait
113 \suppress_date false
114 \justification true
115 \use_refstyle 1
116 \use_minted 0
117 \notefontcolor #0000ff
118 \branch Question
119 \selected 1
120 \filename_suffix 0
121 \color #00ff00
122 \end_branch
123 \branch Answer
124 \selected 0
125 \filename_suffix 0
126 \color #aa55ff
127 \end_branch
128 \index Index
129 \shortcut idx
130 \color #008000
131 \end_index
132 \secnumdepth 3
133 \tocdepth 2
134 \paragraph_separation skip
135 \defskip medskip
136 \is_math_indent 0
137 \math_numbering_side default
138 \quotes_style english
139 \dynamic_quotes 0
140 \papercolumns 1
141 \papersides 2
142 \paperpagestyle default
143 \tracking_changes false
144 \output_changes false
145 \html_math_output 0
146 \html_css_as_file 0
147 \html_be_strict true
148 \end_header
149
150 \begin_body
151
152 \begin_layout Title
153 The \SpecialChar LyX
154  User's Guide
155 \end_layout
156
157 \begin_layout Author
158 by the \SpecialChar LyX
159  Team
160 \begin_inset Foot
161 status collapsed
162
163 \begin_layout Plain Layout
164 \noindent
165 If you have comments on or error corrections to this documentation, please
166  send them to the \SpecialChar LyX
167  Documentation mailing list: 
168 \begin_inset CommandInset href
169 LatexCommand href
170 target "lyx-docs@lists.lyx.org"
171 type "mailto:"
172 literal "false"
173
174 \end_inset
175
176
177 \end_layout
178
179 \end_inset
180
181
182 \begin_inset Newline newline
183 \end_inset
184
185
186 \begin_inset Newline newline
187 \end_inset
188
189 Version 2.3.x
190 \begin_inset Note Note
191 status collapsed
192
193 \begin_layout Plain Layout
194 The latest PDF-version of this document can be found here:
195 \begin_inset Newline newline
196 \end_inset
197
198
199 \series bold
200 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, and 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 \begin_inset VSpace bigskip
13352 \end_inset
13353
13354
13355 \begin_inset Note Greyedout
13356 status open
13357
13358 \begin_layout Plain Layout
13359
13360 \series bold
13361 Note:
13362 \series default
13363  When you choose a new font or font size, \SpecialChar LyX
13364  does 
13365 \emph on
13366 not
13367 \emph default
13368  change the screen font! You will only see a difference in the printed output;
13369  this is part of the WYSIWYM concept.
13370  \SpecialChar LyX
13371 's screen fonts can be adjusted in the 
13372 \family sans
13373 Tools\SpecialChar menuseparator
13374 Preferences
13375 \family default
13376  dialog, see section
13377 \begin_inset space ~
13378 \end_inset
13379
13380
13381 \begin_inset CommandInset ref
13382 LatexCommand ref
13383 reference "subsec:Screen-Fonts"
13384
13385 \end_inset
13386
13387 .
13388 \end_layout
13389
13390 \end_inset
13391
13392
13393 \end_layout
13394
13395 \begin_layout Subsection
13396 Math Fonts
13397 \end_layout
13398
13399 \begin_layout Standard
13400 In \SpecialChar LaTeX
13401  the font used for characters in equations is different from the document
13402  font.
13403  For the case that you use \SpecialChar TeX
13404  fonts for your document, you can explicitly
13405  choose a math font in the dialog 
13406 \family sans
13407 Document\SpecialChar menuseparator
13408 Settings
13409 \family default
13410
13411 \begin_inset Index idx
13412 status collapsed
13413
13414 \begin_layout Plain Layout
13415 Document ! Settings
13416 \end_layout
13417
13418 \end_inset
13419
13420 .
13421  The default setting is that \SpecialChar LyX
13422  automatically selects a math font.
13423  For most cases this will be \SpecialChar LaTeX
13424 's default – the math variant of \SpecialChar LaTeX
13425 's default
13426  font family 
13427 \begin_inset Quotes eld
13428 \end_inset
13429
13430
13431 \family typewriter
13432 Computer
13433 \begin_inset space ~
13434 \end_inset
13435
13436 Modern
13437 \family default
13438
13439 \begin_inset Quotes erd
13440 \end_inset
13441
13442 .
13443  \SpecialChar LyX
13444  will automatically only load another math font if a math variant of the
13445  document font is available.
13446 \end_layout
13447
13448 \begin_layout Standard
13449 Note that the math font will not be used for 
13450 \emph on
13451 mathematical text
13452 \emph default
13453  (which is inserted with the shortcut 
13454 \begin_inset Info
13455 type  "shortcut"
13456 arg   "font-default"
13457 \end_inset
13458
13459  or by the insertion of the command 
13460 \series bold
13461
13462 \backslash
13463 text
13464 \series default
13465  into a formula).
13466  Also note that some math fonts are sans
13467 \begin_inset space ~
13468 \end_inset
13469
13470 serif.
13471  Your document might therefore look strange when the document text has serifs
13472  while the math characters do not.
13473  Sans
13474 \begin_inset space ~
13475 \end_inset
13476
13477 serif math fonts make therefore in most cases only sense if you select 
13478 \family sans
13479 Sans
13480 \begin_inset space ~
13481 \end_inset
13482
13483 Serif
13484 \family default
13485  for the 
13486 \family sans
13487 Default
13488 \begin_inset space ~
13489 \end_inset
13490
13491 family
13492 \family default
13493  in the document font settings.
13494 \end_layout
13495
13496 \begin_layout Standard
13497 If you use non-\SpecialChar TeX
13498  fonts for the document, you can only choose for math to
13499  use either the document's class default \SpecialChar TeX
13500  font (in most cases 
13501 \begin_inset Quotes eld
13502 \end_inset
13503
13504
13505 \family typewriter
13506 Computer
13507 \begin_inset space ~
13508 \end_inset
13509
13510 Modern
13511 \family default
13512
13513 \begin_inset Quotes erd
13514 \end_inset
13515
13516 ) or to use the non-\SpecialChar TeX
13517  variant of the document's class default font (in most
13518  cases 
13519 \begin_inset Quotes eld
13520 \end_inset
13521
13522
13523 \family typewriter
13524 Latin
13525 \begin_inset space ~
13526 \end_inset
13527
13528 Modern
13529 \family default
13530
13531 \begin_inset Quotes erd
13532 \end_inset
13533
13534 ).
13535 \end_layout
13536
13537 \begin_layout Subsection
13538 Using Different Character Styles
13539 \begin_inset Index idx
13540 status collapsed
13541
13542 \begin_layout Plain Layout
13543 Character Styles
13544 \end_layout
13545
13546 \end_inset
13547
13548
13549 \begin_inset Index idx
13550 status collapsed
13551
13552 \begin_layout Plain Layout
13553 Text Style
13554 \end_layout
13555
13556 \end_inset
13557
13558
13559 \end_layout
13560
13561 \begin_layout Standard
13562 As we've already seen, \SpecialChar LyX
13563  automatically changes the character style for certain
13564  paragraph environments.
13565  \SpecialChar LyX
13566  supports two character styles, 
13567 \family sans
13568 Emphasized
13569 \family default
13570  and 
13571 \family sans
13572 Noun
13573 \family default
13574 .
13575  You can activate both of these styles via key bindings, the menus, and
13576  the toolbar.
13577 \end_layout
13578
13579 \begin_layout Standard
13580 To activate the 
13581 \family sans
13582 Noun
13583 \family default
13584  style, do one of the following:
13585 \end_layout
13586
13587 \begin_layout Itemize
13588 click on the toolbar button 
13589 \begin_inset Info
13590 type  "icon"
13591 arg   "font-noun"
13592 \end_inset
13593
13594
13595 \end_layout
13596
13597 \begin_layout Itemize
13598 use the key binding 
13599 \begin_inset Info
13600 type  "shortcut"
13601 arg   "font-noun"
13602 \end_inset
13603
13604
13605 \end_layout
13606
13607 \begin_layout Standard
13608 These commands are all toggles.
13609  That is, if 
13610 \family sans
13611 Noun
13612 \family default
13613  style is already active, they deactivate it.
13614 \end_layout
13615
13616 \begin_layout Standard
13617 One typically uses the 
13618 \family sans
13619 Noun
13620 \family default
13621  style for proper names.
13622  For example: 
13623 \begin_inset Quotes eld
13624 \end_inset
13625
13626
13627 \noun on
13628 Matthias Ettrich
13629 \noun default
13630  is the original author of \SpecialChar LyX
13631 .
13632 \begin_inset Quotes erd
13633 \end_inset
13634
13635
13636 \end_layout
13637
13638 \begin_layout Standard
13639 A more widely used character style is the 
13640 \family sans
13641 Emphasized
13642 \family default
13643  style.
13644  You can activate (or deactivate — it's also a toggle) the 
13645 \family sans
13646 Emphasized
13647 \family default
13648  style by:
13649 \end_layout
13650
13651 \begin_layout Itemize
13652 clicking on the toolbar button 
13653 \begin_inset Info
13654 type  "icon"
13655 arg   "font-emph"
13656 \end_inset
13657
13658
13659 \end_layout
13660
13661 \begin_layout Itemize
13662 using the keybindings 
13663 \begin_inset Info
13664 type  "shortcut"
13665 arg   "font-emph"
13666 \end_inset
13667
13668
13669 \end_layout
13670
13671 \begin_layout Standard
13672 Normally the 
13673 \family sans
13674 Emphasized
13675 \family default
13676  style is equivalent to an italic font but some document classes or \SpecialChar LaTeX
13677 -packages
13678  use a different font.
13679 \end_layout
13680
13681 \begin_layout Standard
13682 We've been using the 
13683 \family sans
13684 Emphasized
13685 \family default
13686  style all over the place in this document.
13687  Here's one more example:
13688 \end_layout
13689
13690 \begin_layout Quotation
13691
13692 \emph on
13693 Do not overuse character styles!
13694 \end_layout
13695
13696 \begin_layout Standard
13697 It's also a warning in addition to an example.
13698  One's writing should parallel ordinary conversation.
13699  Since we don't all constantly scream at each other, we should also avoid
13700  the common tendency to overuse character styles.
13701  
13702 \end_layout
13703
13704 \begin_layout Standard
13705 You can always reset to the default font using the key binding 
13706 \begin_inset Info
13707 type  "shortcut"
13708 arg   "font-default"
13709 \end_inset
13710
13711  or the dialog 
13712 \family sans
13713 Edit\SpecialChar menuseparator
13714 Text
13715 \begin_inset space ~
13716 \end_inset
13717
13718 Style\SpecialChar menuseparator
13719 Customized
13720 \family default
13721  (
13722 \begin_inset Info
13723 type  "icon"
13724 arg   "dialog-show character"
13725 \end_inset
13726
13727 ).
13728 \end_layout
13729
13730 \begin_layout Subsection
13731 Fine-Tuning with the 
13732 \family sans
13733 Text Style
13734 \family default
13735  dialog
13736 \begin_inset CommandInset label
13737 LatexCommand label
13738 name "subsec:Fine-Tuning-with-the"
13739
13740 \end_inset
13741
13742
13743 \begin_inset Index idx
13744 status collapsed
13745
13746 \begin_layout Plain Layout
13747 Text Style
13748 \end_layout
13749
13750 \end_inset
13751
13752
13753 \end_layout
13754
13755 \begin_layout Standard
13756 There are always occasions when you will need to do some fine-tuning; so
13757  \SpecialChar LyX
13758  gives you a way to create a custom character style.
13759  For example, an academic journal or a corporation may have a style sheet
13760  requiring a sans-serif font be used in certain situations.
13761  Also, writers sometimes use a different font to offset a character's thoughts
13762  from ordinary dialog.
13763 \end_layout
13764
13765 \begin_layout Standard
13766 Before we document how to use custom character style, we want to issue a
13767  warning yet again: Don't overuse character styles! 
13768 \begin_inset Newline newline
13769 \end_inset
13770
13771 Documents that overuse different fonts and sizes are not easy to read and
13772  tend to look as if someone has knocked huge holes in them.
13773 \end_layout
13774
13775 \begin_layout Standard
13776 To use custom character styles, open the 
13777 \family sans
13778 Edit\SpecialChar menuseparator
13779 Text
13780 \begin_inset space ~
13781 \end_inset
13782
13783 Style\SpecialChar menuseparator
13784 Customized
13785 \family default
13786  dialog or press the toolbar button 
13787 \begin_inset Info
13788 type  "icon"
13789 arg   "dialog-show character"
13790 \end_inset
13791
13792 .
13793  There are several boxes in this dialog, each corresponding to a different
13794  font property that you can choose.
13795  You can choose an option for one of these properties, or select 
13796 \family sans
13797 No
13798 \begin_inset space ~
13799 \end_inset
13800
13801 change
13802 \family default
13803 , which keeps the current state of that property.
13804  The item 
13805 \family sans
13806 Reset
13807 \family default
13808  will reset the property to whatever is the default.
13809  You can use this to reset attributes across a bunch of different paragraph
13810  environments all at once.
13811 \end_layout
13812
13813 \begin_layout Standard
13814 The font properties, and their options (in addition to 
13815 \family sans
13816 No
13817 \begin_inset space ~
13818 \end_inset
13819
13820 change
13821 \family default
13822  and 
13823 \family sans
13824 Reset
13825 \family default
13826 ) are:
13827 \end_layout
13828
13829 \begin_layout Labeling
13830 \labelwidthstring 00.00.0000
13831
13832 \family sans
13833 Family
13834 \family default
13835  The 
13836 \begin_inset Quotes eld
13837 \end_inset
13838
13839 overall look
13840 \begin_inset Quotes erd
13841 \end_inset
13842
13843  of the font.
13844  The possible options are:
13845 \end_layout
13846
13847 \begin_deeper
13848 \begin_layout Labeling
13849 \labelwidthstring 00.00.0000
13850
13851 \family sans
13852 Roman
13853 \family default
13854  This is the Roman font family.
13855  Normally a serif font.
13856  It's also the default family.
13857  (key binding 
13858 \begin_inset Info
13859 type  "shortcut"
13860 arg   "font-roman"
13861 \end_inset
13862
13863 )
13864 \end_layout
13865
13866 \begin_layout Labeling
13867 \labelwidthstring 00.00.0000
13868
13869 \family sans
13870 Sans
13871 \begin_inset space ~
13872 \end_inset
13873
13874 Serif
13875 \family default
13876  
13877 \family sans
13878 This is the Sans Serif font family.
13879
13880 \family default
13881  (key binding 
13882 \begin_inset Info
13883 type  "shortcut"
13884 arg   "font-sans"
13885 \end_inset
13886
13887 )
13888 \end_layout
13889
13890 \begin_layout Labeling
13891 \labelwidthstring 00.00.0000
13892
13893 \family sans
13894 Typewriter
13895 \family default
13896  
13897 \family typewriter
13898 This is the Typewriter font family.
13899
13900 \family default
13901  (key binding 
13902 \begin_inset Info
13903 type  "shortcut"
13904 arg   "font-typewriter"
13905 \end_inset
13906
13907
13908 \family sans
13909 )
13910 \end_layout
13911
13912 \end_deeper
13913 \begin_layout Labeling
13914 \labelwidthstring 00.00.0000
13915
13916 \family sans
13917 Series
13918 \family default
13919  This corresponds to the print weight.
13920  Options are:
13921 \end_layout
13922
13923 \begin_deeper
13924 \begin_layout Labeling
13925 \labelwidthstring 00.00.0000
13926
13927 \family sans
13928 Medium
13929 \family default
13930  This is the Medium font series.
13931  It's also the default series.
13932 \end_layout
13933
13934 \begin_layout Labeling
13935 \labelwidthstring 00.00.0000
13936
13937 \family sans
13938 Bold
13939 \family default
13940  
13941 \series bold
13942 This is the Bold font series.
13943
13944 \series default
13945  (key binding 
13946 \begin_inset Info
13947 type  "shortcut"
13948 arg   "font-bold"
13949 \end_inset
13950
13951 )
13952 \end_layout
13953
13954 \end_deeper
13955 \begin_layout Labeling
13956 \labelwidthstring 00.00.0000
13957
13958 \family sans
13959 Shape
13960 \family default
13961  As the name implies.
13962  Options are:
13963 \end_layout
13964
13965 \begin_deeper
13966 \begin_layout Labeling
13967 \labelwidthstring 00.00.0000
13968
13969 \family sans
13970 Upright
13971 \family default
13972  This is the Upright font shape.
13973  It's also the default shape.
13974 \end_layout
13975
13976 \begin_layout Labeling
13977 \labelwidthstring 00.00.0000
13978
13979 \family sans
13980 Italic
13981 \family default
13982  
13983 \shape italic
13984 This
13985 \shape default
13986  
13987 \family sans
13988 \shape italic
13989 i
13990 \family default
13991 s the Italic font shape
13992 \shape default
13993 \emph on
13994 .
13995 \end_layout
13996
13997 \begin_layout Labeling
13998 \labelwidthstring 00.00.0000
13999
14000 \family sans
14001 Slanted
14002 \family default
14003  
14004 \shape slanted
14005 This is the Slanted font shape
14006 \shape default
14007  (although it might not be visible in \SpecialChar LyX
14008 , this is different from italic).
14009 \end_layout
14010
14011 \begin_layout Labeling
14012 \labelwidthstring 00.00.0000
14013
14014 \family sans
14015 Small
14016 \begin_inset space ~
14017 \end_inset
14018
14019 Caps
14020 \family default
14021  
14022 \shape smallcaps
14023 This is the Small caps font shape
14024 \shape default
14025 \noun on
14026 .
14027 \end_layout
14028
14029 \end_deeper
14030 \begin_layout Labeling
14031 \labelwidthstring 00.00.0000
14032
14033 \family sans
14034 Color
14035 \family default
14036  Alters the text color.
14037  Note that not all DVI-viewers are able to display colors.
14038  Besides 
14039 \family sans
14040 No
14041 \begin_inset space ~
14042 \end_inset
14043
14044 color
14045 \family default
14046 , which means that the document default color set in 
14047 \family sans
14048 Document\SpecialChar menuseparator
14049 Settings\SpecialChar menuseparator
14050 Color
14051 \family default
14052  for 
14053 \family sans
14054 Main
14055 \begin_inset space ~
14056 \end_inset
14057
14058 text
14059 \family default
14060  is used, you can choose between 
14061 \family sans
14062 Black
14063 \family default
14064
14065 \family sans
14066 White
14067 \family default
14068
14069 \family sans
14070 Red
14071 \family default
14072
14073 \family sans
14074 Green
14075 \family default
14076
14077 \family sans
14078 Blue
14079 \family default
14080
14081 \family sans
14082 Cyan
14083 \family default
14084
14085 \family sans
14086 Magenta
14087 \family default
14088
14089 \family sans
14090 Yellow
14091 \family default
14092
14093 \family sans
14094 Brown
14095 \family default
14096
14097 \family sans
14098 Darkgray
14099 \family default
14100
14101 \family sans
14102 Gray
14103 \family default
14104
14105 \family sans
14106 Lightgray
14107 \family default
14108
14109 \family sans
14110 Lime
14111 \family default
14112
14113 \family sans
14114 Orange
14115 \family default
14116
14117 \family sans
14118 Olive
14119 \family default
14120
14121 \family sans
14122 Pink
14123 \family default
14124
14125 \family sans
14126 Purple
14127 \family default
14128
14129 \family sans
14130 Teal
14131 \family default
14132  and 
14133 \family sans
14134 Violet
14135 \family default
14136  text.
14137 \begin_inset Index idx
14138 status collapsed
14139
14140 \begin_layout Plain Layout
14141 Color ! Text
14142 \end_layout
14143
14144 \end_inset
14145
14146  
14147 \end_layout
14148
14149 \begin_layout Labeling
14150 \labelwidthstring 00.00.0000
14151
14152 \family sans
14153 Language
14154 \family default
14155  This is used to mark regions of text as having a different language from
14156  the language of the document.
14157  Text marked in this way will be underlined in blue to indicate the change
14158  (only within \SpecialChar LyX
14159 ).
14160 \begin_inset Newline newline
14161 \end_inset
14162
14163 If you have for example, an extract of German text in a non-German document,
14164  \SpecialChar LaTeX
14165  respects the German hyphenation rules automatically.
14166  When using the spell checking (see section
14167 \begin_inset space ~
14168 \end_inset
14169
14170
14171 \begin_inset CommandInset ref
14172 LatexCommand ref
14173 reference "sec:Spellchecking"
14174
14175 \end_inset
14176
14177 ) the German-marked text will be checked according to the German dictionary.
14178 \end_layout
14179
14180 \begin_layout Labeling
14181 \labelwidthstring 00.00.0000
14182
14183 \family sans
14184 Size
14185 \family default
14186  Alters the size of the font.
14187  You will find no numerical values here; all possible sizes are actually
14188  proportional to the document font size.
14189  Once again, you don't feed \SpecialChar LyX
14190  the details, but a general description of what
14191  you want to do.
14192  The options are:
14193 \end_layout
14194
14195 \begin_deeper
14196 \begin_layout Labeling
14197 \labelwidthstring 00.00.0000
14198
14199 \family sans
14200 Tiny
14201 \family default
14202  
14203 \size tiny
14204 This is the 
14205 \begin_inset Quotes eld
14206 \end_inset
14207
14208 Tiny
14209 \begin_inset Quotes erd
14210 \end_inset
14211
14212  font size.
14213
14214 \size default
14215  (key bindings 
14216 \begin_inset Info
14217 type  "shortcuts"
14218 arg   "font-size tiny"
14219 \end_inset
14220
14221 )
14222 \end_layout
14223
14224 \begin_layout Labeling
14225 \labelwidthstring 00.00.0000
14226
14227 \family sans
14228 Smallest
14229 \family default
14230  
14231 \size scriptsize
14232 This is the 
14233 \begin_inset Quotes eld
14234 \end_inset
14235
14236 Smallest
14237 \begin_inset Quotes erd
14238 \end_inset
14239
14240  font size
14241 \size default
14242 .
14243  (key binding 
14244 \begin_inset Info
14245 type  "shortcut"
14246 arg   "font-size scriptsize"
14247 \end_inset
14248
14249 )
14250 \end_layout
14251
14252 \begin_layout Labeling
14253 \labelwidthstring 00.00.0000
14254
14255 \family sans
14256 Smaller
14257 \family default
14258  
14259 \size footnotesize
14260 This is the 
14261 \begin_inset Quotes eld
14262 \end_inset
14263
14264 Smaller
14265 \begin_inset Quotes erd
14266 \end_inset
14267
14268  font size.
14269
14270 \size default
14271  (key bindings 
14272 \begin_inset Info
14273 type  "shortcuts"
14274 arg   "font-size footnotesize"
14275 \end_inset
14276
14277 )
14278 \end_layout
14279
14280 \begin_layout Labeling
14281 \labelwidthstring 00.00.0000
14282
14283 \family sans
14284 Small
14285 \family default
14286  
14287 \size small
14288 This is the 
14289 \begin_inset Quotes eld
14290 \end_inset
14291
14292 Small
14293 \begin_inset Quotes erd
14294 \end_inset
14295
14296  font size.
14297
14298 \size default
14299  (key bindings 
14300 \begin_inset Info
14301 type  "shortcuts"
14302 arg   "font-size small"
14303 \end_inset
14304
14305 )
14306 \end_layout
14307
14308 \begin_layout Labeling
14309 \labelwidthstring 00.00.0000
14310
14311 \family sans
14312 Normal
14313 \family default
14314  This is the 
14315 \begin_inset Quotes eld
14316 \end_inset
14317
14318 Normal
14319 \begin_inset Quotes erd
14320 \end_inset
14321
14322  font size.
14323  It's also the default size.
14324  (key bindings 
14325 \begin_inset Info
14326 type  "shortcuts"
14327 arg   "font-size normal"
14328 \end_inset
14329
14330 )
14331 \end_layout
14332
14333 \begin_layout Labeling
14334 \labelwidthstring 00.00.0000
14335
14336 \family sans
14337 Large
14338 \family default
14339  
14340 \size large
14341 This is the 
14342 \begin_inset Quotes eld
14343 \end_inset
14344
14345 Large
14346 \begin_inset Quotes erd
14347 \end_inset
14348
14349  font size.
14350
14351 \size default
14352  (key bindings 
14353 \begin_inset Info
14354 type  "shortcuts"
14355 arg   "font-size large"
14356 \end_inset
14357
14358 )
14359 \end_layout
14360
14361 \begin_layout Labeling
14362 \labelwidthstring 00.00.0000
14363
14364 \family sans
14365 Larger
14366 \family default
14367  
14368 \size larger
14369 This is the 
14370 \begin_inset Quotes eld
14371 \end_inset
14372
14373 Larger
14374 \begin_inset Quotes erd
14375 \end_inset
14376
14377  font size.
14378
14379 \size default
14380  (key bindings 
14381 \begin_inset Info
14382 type  "shortcuts"
14383 arg   "font-size larger"
14384 \end_inset
14385
14386 )
14387 \end_layout
14388
14389 \begin_layout Labeling
14390 \labelwidthstring 00.00.0000
14391
14392 \family sans
14393 Largest
14394 \family default
14395  
14396 \size largest
14397 This is the 
14398 \begin_inset Quotes eld
14399 \end_inset
14400
14401 Largest
14402 \begin_inset Quotes erd
14403 \end_inset
14404
14405  font size.
14406
14407 \size default
14408  (key binding 
14409 \begin_inset Info
14410 type  "shortcut"
14411 arg   "font-size largest"
14412 \end_inset
14413
14414 )
14415 \end_layout
14416
14417 \begin_layout Labeling
14418 \labelwidthstring 00.00.0000
14419
14420 \family sans
14421 Huge
14422 \family default
14423  
14424 \size huge
14425 This is the 
14426 \begin_inset Quotes eld
14427 \end_inset
14428
14429 Huge
14430 \begin_inset Quotes erd
14431 \end_inset
14432
14433  font size.
14434
14435 \size default
14436  (key bindings 
14437 \begin_inset Info
14438 type  "shortcuts"
14439 arg   "font-size huge"
14440 \end_inset
14441
14442 )
14443 \end_layout
14444
14445 \begin_layout Labeling
14446 \labelwidthstring 00.00.0000
14447
14448 \family sans
14449 Huger
14450 \family default
14451  
14452 \size giant
14453 This is the 
14454 \begin_inset Quotes eld
14455 \end_inset
14456
14457 Huger
14458 \begin_inset Quotes erd
14459 \end_inset
14460
14461  font size.
14462
14463 \size default
14464  (key bindings 
14465 \begin_inset Info
14466 type  "shortcuts"
14467 arg   "font-size giant"
14468 \end_inset
14469
14470 )
14471 \end_layout
14472
14473 \begin_layout Labeling
14474 \labelwidthstring 00.00.0000
14475
14476 \family sans
14477 Increase
14478 \family default
14479  This increases the size by one step (for instance, from 
14480 \begin_inset Quotes eld
14481 \end_inset
14482
14483 Largest
14484 \begin_inset Quotes erd
14485 \end_inset
14486
14487  to 
14488 \begin_inset Quotes eld
14489 \end_inset
14490
14491 Huge
14492 \begin_inset Quotes erd
14493 \end_inset
14494
14495 ).
14496  (key binding 
14497 \begin_inset Info
14498 type  "shortcut"
14499 arg   "font-size increase"
14500 \end_inset
14501
14502 )
14503 \end_layout
14504
14505 \begin_layout Labeling
14506 \labelwidthstring 00.00.0000
14507
14508 \family sans
14509 Decrease
14510 \family default
14511  This decreases the size by one step (for instance, from 
14512 \begin_inset Quotes eld
14513 \end_inset
14514
14515 Normal
14516 \begin_inset Quotes erd
14517 \end_inset
14518
14519  to 
14520 \begin_inset Quotes eld
14521 \end_inset
14522
14523 Small
14524 \begin_inset Quotes erd
14525 \end_inset
14526
14527 ).
14528  (key binding 
14529 \begin_inset Info
14530 type  "shortcut"
14531 arg   "font-size decrease"
14532 \end_inset
14533
14534 )
14535 \end_layout
14536
14537 \end_deeper
14538 \begin_layout Standard
14539 We warn you 
14540 \emph on
14541 yet again
14542 \emph default
14543 : don't go crazy with this feature.
14544  You should almost never need to change the font size.
14545  \SpecialChar LyX
14546  automatically changes the font size for different paragraph environments
14547  — use those instead.
14548  This is here for fine-tuning only!
14549 \end_layout
14550
14551 \begin_layout Labeling
14552 \labelwidthstring 00.00.0000
14553
14554 \family sans
14555 Misc
14556 \family default
14557  Here you can change a few other things at the character level.
14558  Options are:
14559 \end_layout
14560
14561 \begin_deeper
14562 \begin_layout Labeling
14563 \labelwidthstring 00.00.0000
14564
14565 \family sans
14566 Emph
14567 \family default
14568  
14569 \emph on
14570 This is text with emphasize on
14571 \emph default
14572 .
14573  This might seem like the same as 
14574 \shape italic
14575 Italic
14576 \shape default
14577 , but it is actually a bit different.
14578  Emphasized is a 
14579 \emph on
14580 logical
14581 \emph default
14582  attribute.
14583  That means every document class can define its own font used for emphasized
14584  text.
14585  Normally this font is equal to italic.
14586 \end_layout
14587
14588 \begin_layout Labeling
14589 \labelwidthstring 00.00.0000
14590
14591 \family sans
14592 Underbar
14593 \family default
14594  
14595 \bar under
14596 This is text with Underbar on.
14597
14598 \bar default
14599  (key binding 
14600 \begin_inset Info
14601 type  "shortcuts"
14602 arg   "font-underline"
14603 \end_inset
14604
14605
14606 \family sans
14607 )
14608 \begin_inset Newline newline
14609 \end_inset
14610
14611
14612 \family default
14613 Avoid using underbar if you can! It is a hangover from the typewriter days,
14614  when you could not change fonts.
14615  One no longer needs to emphasize text by underscoring characters.
14616  This is only possible in \SpecialChar LyX
14617  because some people 
14618 \emph on
14619 may
14620 \emph default
14621  need it in order to follow style sheets for journal submissions.
14622 \end_layout
14623
14624 \begin_layout Labeling
14625 \labelwidthstring 00.00.0000
14626
14627 \family sans
14628 Double
14629 \begin_inset space ~
14630 \end_inset
14631
14632 underbar
14633 \family default
14634  
14635 \uuline on
14636 This is text with Double underbar on.
14637
14638 \uuline default
14639  (key binding 
14640 \begin_inset Info
14641 type  "shortcut"
14642 arg   "font-underunderline"
14643 \end_inset
14644
14645 )
14646 \begin_inset Newline newline
14647 \end_inset
14648
14649 As we just warned you against using underbar, you can imagine what we think
14650  about double underbar.
14651 \end_layout
14652
14653 \begin_layout Labeling
14654 \labelwidthstring 00.00.0000
14655
14656 \family sans
14657 Wavy
14658 \begin_inset space ~
14659 \end_inset
14660
14661 underbar
14662 \family default
14663  
14664 \uwave on
14665 This is text with Wavy underbar on.
14666
14667 \uwave default
14668  (key binding 
14669 \begin_inset Info
14670 type  "shortcut"
14671 arg   "font-underwave"
14672 \end_inset
14673
14674 )
14675 \begin_inset Newline newline
14676 \end_inset
14677
14678 Use this only if a journal absolutely insists on it.
14679  Keep antinausea pills handy.
14680 \end_layout
14681
14682 \begin_layout Labeling
14683 \labelwidthstring 00.00.0000
14684
14685 \family sans
14686 Strikeout
14687 \family default
14688  
14689 \strikeout on
14690 This is text with Strikeout on.
14691
14692 \strikeout default
14693  (key binding 
14694 \begin_inset Info
14695 type  "shortcut"
14696 arg   "font-strikeout"
14697 \end_inset
14698
14699 )
14700 \begin_inset Newline newline
14701 \end_inset
14702
14703 This is frequently used to indicate an older version of text that has been
14704  changed in the meantime.
14705 \end_layout
14706
14707 \begin_layout Labeling
14708 \labelwidthstring 00.00.0000
14709
14710 \family sans
14711 Noun
14712 \family default
14713  
14714 \noun on
14715 This is text with Noun on.
14716
14717 \noun default
14718  Like 
14719 \family sans
14720 Emph
14721 \family default
14722 , this is a logical attribute.
14723  Normally it's equivalent to 
14724 \family sans
14725 Small
14726 \begin_inset space ~
14727 \end_inset
14728
14729 Caps
14730 \family default
14731 .
14732 \end_layout
14733
14734 \end_deeper
14735 \begin_layout Standard
14736 So you have a huge number of combinations to choose from.
14737  Once you have chosen a new character style via the 
14738 \family sans
14739 Edit\SpecialChar menuseparator
14740 Text
14741 \begin_inset space ~
14742 \end_inset
14743
14744 Style\SpecialChar menuseparator
14745 Customized
14746 \family default
14747  (
14748 \begin_inset Info
14749 type  "icon"
14750 arg   "dialog-show character"
14751 \end_inset
14752
14753 ) dialog, the settings are saved.
14754  You can activate them by using the toolbar button 
14755 \begin_inset Info
14756 type  "icon"
14757 arg   "textstyle-apply"
14758 \end_inset
14759
14760 .
14761  The button lets you apply your custom character style even when the dialog
14762  isn't visible.
14763 \end_layout
14764
14765 \begin_layout Standard
14766 To completely reset the character style to the default, use 
14767 \begin_inset Info
14768 type  "shortcut"
14769 arg   "font-default"
14770 \end_inset
14771
14772 .
14773  If you want to toggle only those properties that you have just changed
14774  (suppose you just set the shape to 
14775 \begin_inset Quotes eld
14776 \end_inset
14777
14778 slanted
14779 \begin_inset Quotes erd
14780 \end_inset
14781
14782  and the series to 
14783 \begin_inset Quotes eld
14784 \end_inset
14785
14786 bold
14787 \begin_inset Quotes erd
14788 \end_inset
14789
14790 ), set the 
14791 \family sans
14792 Toggle
14793 \begin_inset space ~
14794 \end_inset
14795
14796 all
14797 \family default
14798  switch and press 
14799 \family sans
14800 Apply
14801 \family default
14802 .
14803 \end_layout
14804
14805 \begin_layout Standard
14806 You should also know something about the differences between the three main
14807  font types 
14808 \family sans
14809 serif
14810 \family default
14811
14812 \family sans
14813 sans
14814 \begin_inset space ~
14815 \end_inset
14816
14817 serif
14818 \family default
14819 , and 
14820 \family sans
14821 typewriter
14822 \family default
14823 :
14824 \end_layout
14825
14826 \begin_layout Itemize
14827
14828 \family sans
14829 Typewriter
14830 \family default
14831  is a so called 
14832 \begin_inset Quotes eld
14833 \end_inset
14834
14835 monospaced
14836 \begin_inset Quotes erd
14837 \end_inset
14838
14839  font, which means every character has the same width; the 
14840 \begin_inset Quotes eld
14841 \end_inset
14842
14843 i
14844 \begin_inset Quotes erd
14845 \end_inset
14846
14847  is as wide as the 
14848 \begin_inset Quotes eld
14849 \end_inset
14850
14851 m
14852 \begin_inset Quotes erd
14853 \end_inset
14854
14855 .
14856  Here is an example
14857 \begin_inset Newline newline
14858 \end_inset
14859
14860
14861 \begin_inset Phantom HPhantom
14862 status open
14863
14864 \begin_layout Plain Layout
14865 no 
14866 \end_layout
14867
14868 \end_inset
14869
14870
14871 \family typewriter
14872 typewriter text
14873 \family default
14874
14875 \begin_inset Note Note
14876 status collapsed
14877
14878 \begin_layout Plain Layout
14879 For more on phantoms see section
14880 \begin_inset space ~
14881 \end_inset
14882
14883
14884 \begin_inset CommandInset ref
14885 LatexCommand ref
14886 reference "subsec:Phantom-Space"
14887
14888 \end_inset
14889
14890 .
14891 \end_layout
14892
14893 \end_inset
14894
14895
14896 \begin_inset Newline newline
14897 \end_inset
14898
14899 no typewriter text
14900 \end_layout
14901
14902 \begin_layout Itemize
14903
14904 \family sans
14905 Serif
14906 \family default
14907  fonts use characters with serifs.
14908  These are the small 
14909 \begin_inset Quotes eld
14910 \end_inset
14911
14912 appendices
14913 \begin_inset Quotes erd
14914 \end_inset
14915
14916  at the ends of the strokes that form the character.
14917  The following example shows the difference:
14918 \begin_inset Newline newline
14919 \end_inset
14920
14921 text with serifs
14922 \begin_inset Newline newline
14923 \end_inset
14924
14925
14926 \family sans
14927 text without serifs
14928 \family default
14929
14930 \begin_inset Newline newline
14931 \end_inset
14932
14933 Serifs facilitate quick and easy reading.
14934  These fonts are therefore used as default (named 
14935 \family sans
14936 roman
14937 \family default
14938 ).
14939 \end_layout
14940
14941 \begin_layout Itemize
14942
14943 \family sans
14944 Sans serif
14945 \family default
14946  is not recommended for use as a base type.
14947  This font type is therefore often only used for headings and short texts.
14948  We use it in this document to highlight menu names.
14949 \end_layout
14950
14951 \begin_layout Standard
14952 \begin_inset Quotes eld
14953 \end_inset
14954
14955 Toggling
14956 \begin_inset Quotes erd
14957 \end_inset
14958
14959  refers to applying or removing font properties.
14960  When a property is marked for toggling in the 
14961 \family sans
14962 Text
14963 \begin_inset space ~
14964 \end_inset
14965
14966 Style
14967 \family default
14968  dialog, applying the style to text that already has the property will cause
14969  the property to be removed.
14970  If you, for example, apply a style with properties A, B and C to text that
14971  currently has font properties B, C, F and G, and if B is set to toggle
14972  and C is set not to toggle, the text ends up with properties A, C, F and
14973  G.
14974  
14975 \begin_inset Quotes eld
14976 \end_inset
14977
14978 Never toggled
14979 \begin_inset Quotes erd
14980 \end_inset
14981
14982  and 
14983 \begin_inset Quotes eld
14984 \end_inset
14985
14986 always toggled
14987 \begin_inset Quotes erd
14988 \end_inset
14989
14990  mean that you do not control the toggling behavior.
14991  For the properties on the left side of the dialog (
14992 \begin_inset Quotes eld
14993 \end_inset
14994
14995 Family
14996 \begin_inset Quotes erd
14997 \end_inset
14998
14999  etc.), toggling behavior is up to you.
15000  If 
15001 \family sans
15002 Toggle
15003 \begin_inset space ~
15004 \end_inset
15005
15006 all
15007 \family default
15008  is checked, all of the left side properties are toggled; by default, none
15009  of them are.
15010  Finally, 
15011 \begin_inset Quotes eld
15012 \end_inset
15013
15014 Reset
15015 \begin_inset Quotes erd
15016 \end_inset
15017
15018  is never toggled.
15019  If you, for example, set 
15020 \begin_inset Quotes eld
15021 \end_inset
15022
15023 Series
15024 \begin_inset Quotes erd
15025 \end_inset
15026
15027  to 
15028 \begin_inset Quotes eld
15029 \end_inset
15030
15031 Reset
15032 \begin_inset Quotes erd
15033 \end_inset
15034
15035  and select 
15036 \family sans
15037 Toggle
15038 \begin_inset space ~
15039 \end_inset
15040
15041 all
15042 \family default
15043 , then apply the style to bold face text, the text will revert to the default
15044  series (
15045 \begin_inset Quotes eld
15046 \end_inset
15047
15048 Medium
15049 \begin_inset Quotes erd
15050 \end_inset
15051
15052 ), no matter how many times you apply the style.
15053 \end_layout
15054
15055 \begin_layout Standard
15056 We conclude with the same warning once again: Do not overuse the fonts!
15057  They are, more often than not, a kludge and a bad substitute for good writing.
15058 \end_layout
15059
15060 \begin_layout Section
15061 Printing and Previewing
15062 \end_layout
15063
15064 \begin_layout Subsection
15065 Overview
15066 \end_layout
15067
15068 \begin_layout Standard
15069 Now that we have covered some of the basic features of document preparation
15070  using \SpecialChar LyX
15071 , you probably want to know how to print out your masterpiece.
15072  Before we tell you that, we want to give you a quick explanation of what
15073  goes on behind-the-scenes.
15074  We cover this information in much greater detail in the 
15075 \emph on
15076 Additional Features
15077 \emph default
15078  manual as well.
15079 \end_layout
15080
15081 \begin_layout Standard
15082 \SpecialChar LyX
15083  uses the program \SpecialChar LaTeX
15084  as its backend.
15085  \SpecialChar LaTeX
15086  is just a macro package for the \SpecialChar TeX
15087  typesetting system, but to prevent confusion,
15088  we will only refer to \SpecialChar LaTeX
15089 .
15090  \SpecialChar LyX
15091  is what you use to do your actual writing.
15092  Then, \SpecialChar LyX
15093  calls \SpecialChar LaTeX
15094  to turn your writing into printable output.
15095  This happens in two stages:
15096 \end_layout
15097
15098 \begin_layout Enumerate
15099 First, \SpecialChar LyX
15100  converts your document to a series of text commands for \SpecialChar LaTeX
15101 , generating
15102  a file with the extension, 
15103 \begin_inset Quotes eld
15104 \end_inset
15105
15106
15107 \family typewriter
15108 .tex
15109 \family default
15110
15111 \begin_inset Quotes erd
15112 \end_inset
15113
15114 .
15115 \end_layout
15116
15117 \begin_layout Enumerate
15118 Next, \SpecialChar LyX
15119  calls \SpecialChar LaTeX
15120  to use the commands in the 
15121 \family typewriter
15122 .tex
15123 \family default
15124  file to produce printable output.
15125 \end_layout
15126
15127 \begin_layout Subsection
15128 Output file formats
15129 \begin_inset Index idx
15130 status collapsed
15131
15132 \begin_layout Plain Layout
15133 File formats
15134 \end_layout
15135
15136 \end_inset
15137
15138
15139 \begin_inset CommandInset label
15140 LatexCommand label
15141 name "subsec:Output-file-formats"
15142
15143 \end_inset
15144
15145
15146 \end_layout
15147
15148 \begin_layout Subsubsection
15149 Simple text (ASCII)
15150 \begin_inset Index idx
15151 status collapsed
15152
15153 \begin_layout Plain Layout
15154 File formats ! ASCII
15155 \end_layout
15156
15157 \end_inset
15158
15159
15160 \end_layout
15161
15162 \begin_layout Standard
15163 This file type has the extension 
15164 \begin_inset Quotes eld
15165 \end_inset
15166
15167
15168 \family typewriter
15169 .txt
15170 \family default
15171
15172 \begin_inset Quotes erd
15173 \end_inset
15174
15175 .
15176  It contains your document as plain text following the rules of the 
15177 \begin_inset Quotes eld
15178 \end_inset
15179
15180 American Standard Code for Information Interchange
15181 \begin_inset Quotes erd
15182 \end_inset
15183
15184  (ASCII).
15185 \end_layout
15186
15187 \begin_layout Standard
15188 You can export your document to ASCII with the menu 
15189 \family sans
15190 File\SpecialChar menuseparator
15191 Export\SpecialChar menuseparator
15192 Plain
15193 \begin_inset space ~
15194 \end_inset
15195
15196 text
15197 \family default
15198 .
15199  However, this will not export any externally generated material such as
15200  a Bib\SpecialChar TeX
15201  bibliography (section
15202 \begin_inset space ~
15203 \end_inset
15204
15205
15206 \begin_inset CommandInset ref
15207 LatexCommand ref
15208 reference "subsec:Bibliography-databases"
15209
15210 \end_inset
15211
15212 ).
15213  If your document includes such material, use 
15214 \family sans
15215 File\SpecialChar menuseparator
15216 Export\SpecialChar menuseparator
15217 More
15218 \begin_inset space ~
15219 \end_inset
15220
15221 Formats
15222 \begin_inset space ~
15223 \end_inset
15224
15225 &
15226 \begin_inset space ~
15227 \end_inset
15228
15229 Options
15230 \family default
15231  and then select 
15232 \family sans
15233 Plain
15234 \begin_inset space ~
15235 \end_inset
15236
15237 text
15238 \begin_inset space ~
15239 \end_inset
15240
15241 (ps2ascii)
15242 \family default
15243 .
15244  This will first internally export your document to PostScript (generating
15245  thereby the external material) and then do the conversion to ASCII.
15246 \end_layout
15247
15248 \begin_layout Subsubsection
15249 \SpecialChar LaTeX
15250
15251 \begin_inset Index idx
15252 status collapsed
15253
15254 \begin_layout Plain Layout
15255 File formats ! \SpecialChar LaTeX
15256
15257 \end_layout
15258
15259 \end_inset
15260
15261
15262 \end_layout
15263
15264 \begin_layout Standard
15265 This file type has the extension 
15266 \begin_inset Quotes eld
15267 \end_inset
15268
15269
15270 \family typewriter
15271 .tex
15272 \family default
15273
15274 \begin_inset Quotes erd
15275 \end_inset
15276
15277  and contains all commands that are necessary for the \SpecialChar LaTeX
15278  program to process
15279  your document.
15280  If you know \SpecialChar LaTeX
15281 , you can use it to find out \SpecialChar LaTeX
15282 -Errors or to process it manually
15283  with console commands.
15284  The \SpecialChar LaTeX
15285 -file is automatically created in \SpecialChar LyX
15286 's temporary directory whenever you
15287  view or export your document.
15288 \end_layout
15289
15290 \begin_layout Standard
15291 You can export your document as a \SpecialChar LaTeX
15292 -file using the menu 
15293 \family sans
15294 File\SpecialChar menuseparator
15295 Export\SpecialChar menuseparator
15296 LaTeX
15297 \family default
15298 .
15299  The different \SpecialChar LaTeX
15300  export variants are explained in section
15301 \begin_inset space ~
15302 \end_inset
15303
15304
15305 \begin_inset CommandInset ref
15306 LatexCommand ref
15307 reference "subsec:Export"
15308
15309 \end_inset
15310
15311 .
15312 \end_layout
15313
15314 \begin_layout Subsubsection
15315 DVI
15316 \begin_inset Index idx
15317 status collapsed
15318
15319 \begin_layout Plain Layout
15320 File formats ! DVI
15321 \end_layout
15322
15323 \end_inset
15324
15325
15326 \end_layout
15327
15328 \begin_layout Standard
15329 This file type has the extension 
15330 \begin_inset Quotes eld
15331 \end_inset
15332
15333
15334 \family typewriter
15335 .dvi
15336 \family default
15337
15338 \begin_inset Quotes erd
15339 \end_inset
15340
15341 .
15342  It is called 
15343 \begin_inset Quotes eld
15344 \end_inset
15345
15346 device-independent
15347 \begin_inset Quotes erd
15348 \end_inset
15349
15350  (DVI), because it is completely portable; you can move them from one machine
15351  to another without needing to do any sort of conversion.
15352  DVIs are used for quick previews and as a pre-stage for other output formats,
15353  like PostScript.
15354 \end_layout
15355
15356 \begin_layout Standard
15357 DVI files do not contain images, they only link to them.
15358  So don't forget to deliver the images together with your DVIs.
15359  Because the DVI-viewer has to convert the images in the background to make
15360  them visible when you scroll the DVI, this can slow down your computer
15361  when you view the DVI.
15362  So we recommend using PDF for files with many images.
15363 \end_layout
15364
15365 \begin_layout Standard
15366 You can export your document to DVI by the menus 
15367 \family sans
15368 File\SpecialChar menuseparator
15369 Export\SpecialChar menuseparator
15370 DVI
15371 \family default
15372  or 
15373 \family sans
15374 File\SpecialChar menuseparator
15375 Export\SpecialChar menuseparator
15376 DVI
15377 \begin_inset space ~
15378 \end_inset
15379
15380 (LuaTeX).
15381
15382 \family default
15383  The latter option uses the program 
15384 \family typewriter
15385 Lua\SpecialChar TeX
15386
15387 \family default
15388 .
15389  
15390 \family typewriter
15391 Lua\SpecialChar TeX
15392
15393 \family default
15394  is an engine that provides direct Unicode support and support for direct
15395  font access (see section
15396 \begin_inset space ~
15397 \end_inset
15398
15399
15400 \begin_inset CommandInset ref
15401 LatexCommand ref
15402 reference "subsec:LaTeX-font-support"
15403
15404 \end_inset
15405
15406 ).
15407  Lua\SpecialChar TeX
15408  is still a work in progress, but it might develop into the next standard
15409  \SpecialChar TeX
15410  processor.
15411 \end_layout
15412
15413 \begin_layout Subsubsection
15414 PostScript
15415 \begin_inset Index idx
15416 status collapsed
15417
15418 \begin_layout Plain Layout
15419 File formats ! PostScript
15420 \end_layout
15421
15422 \end_inset
15423
15424
15425 \end_layout
15426
15427 \begin_layout Standard
15428 This file type has the extension 
15429 \begin_inset Quotes eld
15430 \end_inset
15431
15432
15433 \family typewriter
15434 .ps
15435 \family default
15436
15437 \begin_inset Quotes erd
15438 \end_inset
15439
15440 .
15441  PostScript was developed by the company 
15442 \family typewriter
15443 Adobe
15444 \family default
15445  as a printer language.
15446  The file therefore contains commands that the printer uses to print the
15447  file.
15448  PostScript can be seen as a 
15449 \begin_inset Quotes eld
15450 \end_inset
15451
15452 programming language
15453 \begin_inset Quotes erd
15454 \end_inset
15455
15456 ; you can calculate with it and draw diagrams and images.
15457 \begin_inset Foot
15458 status collapsed
15459
15460 \begin_layout Plain Layout
15461 If you are interested in learning more about this, have a look at the \SpecialChar LaTeX
15462 -package
15463  
15464 \series bold
15465 pstricks
15466 \series default
15467
15468 \begin_inset Index idx
15469 status collapsed
15470
15471 \begin_layout Plain Layout
15472 \SpecialChar LaTeX
15473  packages ! pstricks
15474 \end_layout
15475
15476 \end_inset
15477
15478 .
15479 \end_layout
15480
15481 \end_inset
15482
15483  As a result of this, the files are often bigger than PDFs.
15484 \end_layout
15485
15486 \begin_layout Standard
15487 PostScript can only contain images in the format 
15488 \begin_inset Quotes eld
15489 \end_inset
15490
15491 Encapsulated PostScript
15492 \begin_inset Quotes erd
15493 \end_inset
15494
15495  (EPS, file extension 
15496 \begin_inset Quotes eld
15497 \end_inset
15498
15499
15500 \family typewriter
15501 .eps
15502 \family default
15503
15504 \begin_inset Quotes erd
15505 \end_inset
15506
15507 ).
15508  As \SpecialChar LyX
15509  allows you to use any known image format in your document, it has to
15510  convert them in the background to EPS.
15511  If, for example, you have 50
15512 \begin_inset space ~
15513 \end_inset
15514
15515 images in your document, \SpecialChar LyX
15516  has to do 50
15517 \begin_inset space ~
15518 \end_inset
15519
15520 conversions when you view or export your document the first time.
15521  This might slow down your workflow with \SpecialChar LyX
15522 .
15523  So if you plan to use PostScript, you can insert your images directly as
15524  EPS to avoid this problem.
15525 \end_layout
15526
15527 \begin_layout Standard
15528 You can export to PostScript using the menu 
15529 \family sans
15530 File\SpecialChar menuseparator
15531 Export\SpecialChar menuseparator
15532 PostScript
15533 \family default
15534 .
15535 \end_layout
15536
15537 \begin_layout Subsubsection
15538 PDF
15539 \begin_inset Index idx
15540 status collapsed
15541
15542 \begin_layout Plain Layout
15543 File formats ! PDF
15544 \end_layout
15545
15546 \end_inset
15547
15548
15549 \begin_inset Index idx
15550 status collapsed
15551
15552 \begin_layout Plain Layout
15553 PDF
15554 \end_layout
15555
15556 \end_inset
15557
15558
15559 \end_layout
15560
15561 \begin_layout Standard
15562 This file type has the extension 
15563 \begin_inset Quotes eld
15564 \end_inset
15565
15566
15567 \family typewriter
15568 .pdf
15569 \family default
15570
15571 \begin_inset Quotes erd
15572 \end_inset
15573
15574 .
15575  The 
15576 \begin_inset Quotes eld
15577 \end_inset
15578
15579 Portable Document Format
15580 \begin_inset Quotes erd
15581 \end_inset
15582
15583  (PDF) developed by 
15584 \family typewriter
15585 Adobe
15586 \family default
15587  was derived from PostScript.
15588  It is more compressed and it uses fewer commands than PostScript.
15589  As the name 
15590 \begin_inset Quotes eld
15591 \end_inset
15592
15593 portable
15594 \begin_inset Quotes erd
15595 \end_inset
15596
15597  implies, it can be processed on any computer system and the printed output
15598  looks exactly the same.
15599 \end_layout
15600
15601 \begin_layout Standard
15602 PDF can contain images in its own PDF format and in the formats 
15603 \begin_inset Quotes eld
15604 \end_inset
15605
15606 Joint Photographic Experts Group
15607 \begin_inset Quotes erd
15608 \end_inset
15609
15610  (JPG, file extension 
15611 \begin_inset Quotes eld
15612 \end_inset
15613
15614
15615 \family typewriter
15616 .jpg
15617 \family default
15618
15619 \begin_inset Quotes erd
15620 \end_inset
15621
15622  or 
15623 \begin_inset Quotes eld
15624 \end_inset
15625
15626
15627 \family typewriter
15628 .jpeg
15629 \family default
15630
15631 \begin_inset Quotes erd
15632 \end_inset
15633
15634 ) and 
15635 \begin_inset Quotes eld
15636 \end_inset
15637
15638 Portable Network Graphics
15639 \begin_inset Quotes erd
15640 \end_inset
15641
15642  (PNG, file extension 
15643 \begin_inset Quotes eld
15644 \end_inset
15645
15646
15647 \family typewriter
15648 .png
15649 \family default
15650
15651 \begin_inset Quotes erd
15652 \end_inset
15653
15654 ).
15655  You can also use any other image format, because \SpecialChar LyX
15656  converts them in the
15657  background to one of these formats.
15658  But as described in the section about PostScript, the image conversion
15659  will slow down your workflow.
15660  So we recommend using images in one of the three formats mentioned above.
15661 \end_layout
15662
15663 \begin_layout Standard
15664 You can export your document to PDF via the menu 
15665 \family sans
15666 File\SpecialChar menuseparator
15667 Export
15668 \family default
15669  in different ways:
15670 \end_layout
15671
15672 \begin_layout Description
15673 PDF
15674 \begin_inset space ~
15675 \end_inset
15676
15677 (pdflatex) This uses the program 
15678 \family typewriter
15679 pdftex
15680 \family default
15681  which converts your file directly to PDF.
15682 \end_layout
15683
15684 \begin_layout Description
15685 PDF
15686 \begin_inset space ~
15687 \end_inset
15688
15689 (Lua
15690 \family sans
15691 TeX
15692 \family default
15693 ) This uses the program 
15694 \family typewriter
15695 Lua\SpecialChar TeX
15696
15697 \family default
15698  which converts your file directly to PDF.
15699  
15700 \family typewriter
15701 Lua\SpecialChar TeX
15702
15703 \family default
15704  is a new engine, derived from 
15705 \family typewriter
15706 pdflatex
15707 \family default
15708 , that also provides direct Unicode support and support for direct font
15709  access (see section
15710 \begin_inset space ~
15711 \end_inset
15712
15713
15714 \begin_inset CommandInset ref
15715 LatexCommand ref
15716 reference "subsec:LaTeX-font-support"
15717
15718 \end_inset
15719
15720 ).
15721  Lua\SpecialChar TeX
15722  is still a work in progress, but it might develop into the next standard
15723  \SpecialChar TeX
15724  processor.
15725 \end_layout
15726
15727 \begin_layout Description
15728 PDF
15729 \begin_inset space ~
15730 \end_inset
15731
15732 (Xe
15733 \family sans
15734 TeX
15735 \family default
15736 ) This uses the program 
15737 \family typewriter
15738 Xe\SpecialChar TeX
15739
15740 \family default
15741  that converts your file directly to PDF.
15742  
15743 \family typewriter
15744 Xe\SpecialChar TeX
15745
15746 \family default
15747  is a new engine that provides direct Unicode support and support for direct
15748  font access (see section
15749 \begin_inset space ~
15750 \end_inset
15751
15752
15753 \begin_inset CommandInset ref
15754 LatexCommand ref
15755 reference "subsec:LaTeX-font-support"
15756
15757 \end_inset
15758
15759 ).
15760  It is particularly good at typesetting different scripts, for example,
15761  vertically written Japanese.
15762 \end_layout
15763
15764 \begin_layout Description
15765 PDF
15766 \begin_inset space ~
15767 \end_inset
15768
15769 (cropped) This is the same as 
15770 \family sans
15771 PDF
15772 \begin_inset space ~
15773 \end_inset
15774
15775 (pdflatex)
15776 \family default
15777  but the result is a PDF with cropped page margins.
15778  This is for example useful if you want to use \SpecialChar LyX
15779  to generate good-looking
15780  formulas to use them in other programs like for presentations.
15781 \end_layout
15782
15783 \begin_layout Description
15784 PDF
15785 \begin_inset space ~
15786 \end_inset
15787
15788 (dvipdfm) This uses the program 
15789 \family typewriter
15790 dvipdfm
15791 \family default
15792  that converts your file in the background to DVI and in a second step to
15793  PDF.
15794 \end_layout
15795
15796 \begin_layout Description
15797 PDF
15798 \begin_inset space ~
15799 \end_inset
15800
15801 (ps2pdf) This uses the program 
15802 \family typewriter
15803 ps2pdf
15804 \family default
15805  that creates a PDF from a PostScript-version of your file.
15806  The PostScript-version is produced by the program 
15807 \family typewriter
15808 dvips
15809 \family default
15810  which uses a DVI-version as intermediate step.
15811  So this export variant consists of three conversions.
15812 \end_layout
15813
15814 \begin_layout Standard
15815 We recommend using 
15816 \family sans
15817 PDF
15818 \begin_inset space ~
15819 \end_inset
15820
15821 (pdflatex)
15822 \family default
15823  because 
15824 \family typewriter
15825 pdftex
15826 \family default
15827  supports all the features of actual PDF-versions, is quick, stable, and
15828  works without problems.
15829  If you rely on multiscript support and\SpecialChar breakableslash
15830 or specific OpenType fonts, you might
15831  want to try out 
15832 \family sans
15833 PDF
15834 \begin_inset space ~
15835 \end_inset
15836
15837 (XeTeX)
15838 \family default
15839  or 
15840 \family sans
15841 PDF
15842 \begin_inset space ~
15843 \end_inset
15844
15845 (LuaTeX)
15846 \family default
15847  instead, bearing in mind that these two programs are not yet as mature
15848  as 
15849 \family typewriter
15850 pdflatex
15851 \family default
15852 .
15853 \end_layout
15854
15855 \begin_layout Subsubsection
15856 XHTML
15857 \begin_inset Index idx
15858 status collapsed
15859
15860 \begin_layout Plain Layout
15861 FileFormats ! XHTML
15862 \end_layout
15863
15864 \end_inset
15865
15866
15867 \begin_inset Index idx
15868 status collapsed
15869
15870 \begin_layout Plain Layout
15871 HTML
15872 \end_layout
15873
15874 \end_inset
15875
15876
15877 \end_layout
15878
15879 \begin_layout Standard
15880 This file type has the extension 
15881 \begin_inset Quotes eld
15882 \end_inset
15883
15884
15885 \family typewriter
15886 .xhtml
15887 \family default
15888
15889 \begin_inset Quotes erd
15890 \end_inset
15891
15892 .
15893  It is a file suitable for viewing in web browsers.
15894  It does not itself contain images and the like but only links to them.
15895  When \SpecialChar LyX
15896  produces XHTML, it also generates corresponding images in formats
15897  suitable for the purpose.
15898  For the math output you can choose in the menu 
15899 \family sans
15900 Document\SpecialChar menuseparator
15901 Settings\SpecialChar menuseparator
15902 Output
15903 \family default
15904  between different formats, which are described in section 
15905 \emph on
15906 Math Output in XHTML
15907 \emph default
15908  of the 
15909 \emph on
15910 Additional
15911 \begin_inset space ~
15912 \end_inset
15913
15914 Features
15915 \emph default
15916  manual.
15917 \end_layout
15918
15919 \begin_layout Standard
15920 XHTML output remains 
15921 \begin_inset Quotes eld
15922 \end_inset
15923
15924 under development
15925 \begin_inset Quotes erd
15926 \end_inset
15927
15928 , and not all \SpecialChar LyX
15929  features are supported yet.
15930  See the chapter 
15931 \emph on
15932 \SpecialChar LyX
15933  and the World Wide Web
15934 \emph default
15935 , in the 
15936 \emph on
15937 Additional Features
15938 \emph default
15939  manual, for more information.
15940 \end_layout
15941
15942 \begin_layout Standard
15943 You can export your document as an XHTML file using the menu item 
15944 \family sans
15945 File\SpecialChar menuseparator
15946 Export\SpecialChar menuseparator
15947 LyXHTML
15948 \family default
15949 .
15950 \end_layout
15951
15952 \begin_layout Subsection
15953 Previewing
15954 \begin_inset Index idx
15955 status collapsed
15956
15957 \begin_layout Plain Layout
15958 Document ! Preview 
15959 \end_layout
15960
15961 \end_inset
15962
15963
15964 \end_layout
15965
15966 \begin_layout Standard
15967 To get a look at the final version of your document, with all of the page
15968  breaks in place, the footnotes correctly numbered, and so on, use the menu
15969  
15970 \family sans
15971 Document
15972 \family default
15973  and choose 
15974 \family sans
15975 View
15976 \family default
15977  or use the toolbar button 
15978 \begin_inset Info
15979 type  "icon"
15980 arg   "buffer-view"
15981 \end_inset
15982
15983 .
15984  A viewing program will pop up showing the output in the defined default
15985  output format, which is globally set in the preferences (see section
15986 \begin_inset space ~
15987 \end_inset
15988
15989
15990 \begin_inset CommandInset ref
15991 LatexCommand ref
15992 reference "sec:File-Formats"
15993
15994 \end_inset
15995
15996 ) and can also be altered for single documents in the document settings
15997  (see section
15998 \begin_inset space ~
15999 \end_inset
16000
16001
16002 \begin_inset CommandInset ref
16003 LatexCommand ref
16004 reference "sec:Doc-Formats"
16005
16006 \end_inset
16007
16008 ).
16009  Further output formats can be selected via 
16010 \family sans
16011 Document\SpecialChar menuseparator
16012 View (Other Formats)
16013 \family default
16014  or the toolbar button 
16015 \begin_inset Info
16016 type  "icon"
16017 arg   "view-others"
16018 \end_inset
16019
16020 .
16021 \end_layout
16022
16023 \begin_layout Standard
16024 If you have changed your document, you can refresh the output in the same
16025  viewer window using the menu 
16026 \family sans
16027 Document\SpecialChar menuseparator
16028 Update
16029 \family default
16030  or 
16031 \family sans
16032 Document\SpecialChar menuseparator
16033 Update (Other Formats)
16034 \family default
16035 , respectively.
16036 \end_layout
16037
16038 \begin_layout Standard
16039 When you preview a file, the output file is only generated in \SpecialChar LyX
16040 's temporary
16041  directory.
16042  To have a real output, export your document.
16043 \end_layout
16044
16045 \begin_layout Section
16046 A few Words about Typography
16047 \begin_inset Index idx
16048 status collapsed
16049
16050 \begin_layout Plain Layout
16051 Typography
16052 \end_layout
16053
16054 \end_inset
16055
16056
16057 \end_layout
16058
16059 \begin_layout Subsection
16060 Hyphens, Dashes and Minus Signs
16061 \begin_inset Index idx
16062 status collapsed
16063
16064 \begin_layout Plain Layout
16065 Hyphens
16066 \end_layout
16067
16068 \end_inset
16069
16070
16071 \begin_inset Index idx
16072 status collapsed
16073
16074 \begin_layout Plain Layout
16075 Dashes
16076 \end_layout
16077
16078 \end_inset
16079
16080
16081 \end_layout
16082
16083 \begin_layout Standard
16084 In \SpecialChar LyX
16085 , the 
16086 \begin_inset Quotes eld
16087 \end_inset
16088
16089
16090 \family typewriter
16091 -
16092 \family default
16093
16094 \begin_inset Quotes erd
16095 \end_inset
16096
16097  character comes in four variants: the 
16098 \emph on
16099 hyphen
16100 \emph default
16101 , the 
16102 \emph on
16103 en dash
16104 \emph default
16105 , the 
16106 \emph on
16107 em dash
16108 \emph default
16109 , and the 
16110 \emph on
16111 minus sign
16112 \emph default
16113 :
16114 \begin_inset VSpace defskip
16115 \end_inset
16116
16117
16118 \end_layout
16119
16120 \begin_layout Standard
16121 \begin_inset Box Frameless
16122 position "t"
16123 hor_pos "c"
16124 has_inner_box 1
16125 inner_pos "t"
16126 use_parbox 0
16127 use_makebox 0
16128 width "100col%"
16129 special "none"
16130 height "1in"
16131 height_special "totalheight"
16132 thickness "0.4pt"
16133 separation "3pt"
16134 shadowsize "4pt"
16135 framecolor "black"
16136 backgroundcolor "none"
16137 status open
16138
16139 \begin_layout Plain Layout
16140 \begin_inset Tabular
16141 <lyxtabular version="3" rows="5" columns="3">
16142 <features tabularvalignment="middle">
16143 <column alignment="left" valignment="top" width="0pt">
16144 <column alignment="left" valignment="top">
16145 <column alignment="left" valignment="top">
16146 <row interlinespace="3mm">
16147 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
16148 \begin_inset Text
16149
16150 \begin_layout Plain Layout
16151 name
16152 \end_layout
16153
16154 \end_inset
16155 </cell>
16156 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16157 \begin_inset Text
16158
16159 \begin_layout Plain Layout
16160 output
16161 \end_layout
16162
16163 \end_inset
16164 </cell>
16165 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16166 \begin_inset Text
16167
16168 \begin_layout Plain Layout
16169 inserted with
16170 \end_layout
16171
16172 \end_inset
16173 </cell>
16174 </row>
16175 <row interlinespace="3mm">
16176 <cell alignment="left" valignment="top" usebox="none">
16177 \begin_inset Text
16178
16179 \begin_layout Plain Layout
16180 hyphen
16181 \end_layout
16182
16183 \end_inset
16184 </cell>
16185 <cell alignment="center" valignment="top" usebox="none">
16186 \begin_inset Text
16187
16188 \begin_layout Plain Layout
16189 -
16190 \end_layout
16191
16192 \end_inset
16193 </cell>
16194 <cell alignment="center" valignment="top" usebox="none">
16195 \begin_inset Text
16196
16197 \begin_layout Plain Layout
16198 \begin_inset Quotes eld
16199 \end_inset
16200
16201
16202 \family typewriter
16203 -
16204 \family default
16205
16206 \begin_inset Quotes erd
16207 \end_inset
16208
16209  in text
16210 \end_layout
16211
16212 \end_inset
16213 </cell>
16214 </row>
16215 <row interlinespace="3mm">
16216 <cell alignment="left" valignment="top" usebox="none">
16217 \begin_inset Text
16218
16219 \begin_layout Plain Layout
16220 en dash
16221 \end_layout
16222
16223 \end_inset
16224 </cell>
16225 <cell alignment="center" valignment="top" usebox="none">
16226 \begin_inset Text
16227
16228 \begin_layout Plain Layout
16229
16230 \end_layout
16231
16232 \end_inset
16233 </cell>
16234 <cell alignment="center" valignment="top" usebox="none">
16235 \begin_inset Text
16236
16237 \begin_layout Plain Layout
16238 system key combination
16239 \begin_inset Foot
16240 status collapsed
16241
16242 \begin_layout Plain Layout
16243 On Mac and Linux, the en dash is entered with 
16244 \family sans
16245 Option-hyphen
16246 \family default
16247  and the em dash with 
16248 \family sans
16249 Shift-Option-hyphen
16250 \family default
16251  (
16252 \family sans
16253 Option
16254 \family default
16255  is the Mac label for the right 
16256 \family sans
16257 Alt
16258 \family default
16259  
16260 \family sans
16261 / AltGr 
16262 \family default
16263 key).
16264  Alternatively, dashes can be inserted with 
16265 \family sans
16266 Insert\SpecialChar menuseparator
16267 Special
16268 \begin_inset space ~
16269 \end_inset
16270
16271 Character\SpecialChar menuseparator
16272 Symbols
16273 \family default
16274  or with the 
16275 \begin_inset Quotes eld
16276 \end_inset
16277
16278 unicode-insert
16279 \begin_inset Quotes erd
16280 \end_inset
16281
16282  \SpecialChar LyX
16283  function with the Unicode code as argument (2013 for the em dash and 2014
16284  for the en dash).
16285 \end_layout
16286
16287 \end_inset
16288
16289  or 
16290 \begin_inset Quotes eld
16291 \end_inset
16292
16293 --
16294 \begin_inset Quotes erd
16295 \end_inset
16296
16297  in text
16298 \end_layout
16299
16300 \end_inset
16301 </cell>
16302 </row>
16303 <row interlinespace="3mm">
16304 <cell alignment="left" valignment="top" usebox="none">
16305 \begin_inset Text
16306
16307 \begin_layout Plain Layout
16308 em dash
16309 \end_layout
16310
16311 \end_inset
16312 </cell>
16313 <cell alignment="center" valignment="top" usebox="none">
16314 \begin_inset Text
16315
16316 \begin_layout Plain Layout
16317
16318 \end_layout
16319
16320 \end_inset
16321 </cell>
16322 <cell alignment="center" valignment="top" usebox="none">
16323 \begin_inset Text
16324
16325 \begin_layout Plain Layout
16326 system key combination or 
16327 \begin_inset Quotes eld
16328 \end_inset
16329
16330 ---
16331 \begin_inset Quotes erd
16332 \end_inset
16333
16334  in text
16335 \end_layout
16336
16337 \end_inset
16338 </cell>
16339 </row>
16340 <row>
16341 <cell alignment="left" valignment="top" usebox="none">
16342 \begin_inset Text
16343
16344 \begin_layout Plain Layout
16345 minus sign
16346 \end_layout
16347
16348 \end_inset
16349 </cell>
16350 <cell alignment="center" valignment="top" usebox="none">
16351 \begin_inset Text
16352
16353 \begin_layout Plain Layout
16354 \begin_inset Formula $-$
16355 \end_inset
16356
16357
16358 \end_layout
16359
16360 \end_inset
16361 </cell>
16362 <cell alignment="center" valignment="top" usebox="none">
16363 \begin_inset Text
16364
16365 \begin_layout Plain Layout
16366 \begin_inset Quotes eld
16367 \end_inset
16368
16369
16370 \family typewriter
16371 -
16372 \family default
16373
16374 \begin_inset Quotes erd
16375 \end_inset
16376
16377  in math mode
16378 \end_layout
16379
16380 \end_inset
16381 </cell>
16382 </row>
16383 </lyxtabular>
16384
16385 \end_inset
16386
16387
16388 \end_layout
16389
16390 \end_inset
16391
16392
16393 \begin_inset VSpace defskip
16394 \end_inset
16395
16396
16397 \end_layout
16398
16399 \begin_layout Standard
16400 Hyphen and dashes are distinct from the minus sign, which appears in math
16401  mode and has a length of its own.
16402  Here are some examples:
16403 \end_layout
16404
16405 \begin_layout Enumerate
16406 line- and page-breaks
16407 \begin_inset space \hfill{}
16408 \end_inset
16409
16410 (
16411 \emph on
16412 hyphen
16413 \emph default
16414 )
16415 \end_layout
16416
16417 \begin_layout Enumerate
16418 From A–Z; pages
16419 \begin_inset space ~
16420 \end_inset
16421
16422 369–378
16423 \begin_inset space \hfill{}
16424 \end_inset
16425
16426 (
16427 \emph on
16428 en dash
16429 \emph default
16430 )
16431 \end_layout
16432
16433 \begin_layout Enumerate
16434 Dashes indicate interruptions, performing a function related to – but subtly
16435  different from – parentheses.
16436 \begin_inset space \hfill{}
16437 \end_inset
16438
16439 (
16440 \emph on
16441 en dash
16442 \emph default
16443 )
16444 \end_layout
16445
16446 \begin_deeper
16447 \begin_layout Standard
16448 The em dash is used without spaces: Oh—there's a dash.
16449 \begin_inset space \hfill{}
16450 \end_inset
16451
16452 (
16453 \emph on
16454 em dash
16455 \emph default
16456 )
16457 \end_layout
16458
16459 \end_deeper
16460 \begin_layout Enumerate
16461 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
16462 \end_inset
16463
16464
16465 \begin_inset space \hfill{}
16466 \end_inset
16467
16468 (
16469 \emph on
16470 minus sign
16471 \emph default
16472 )
16473 \end_layout
16474
16475 \begin_layout Standard
16476 See also the 
16477 \begin_inset CommandInset href
16478 LatexCommand href
16479 name "Wikipedia entry on dashes"
16480 target "https://en.wikipedia.org/wiki/Dash"
16481 literal "false"
16482
16483 \end_inset
16484
16485 .
16486 \end_layout
16487
16488 \begin_layout Subsection
16489 Dashes and line breaks
16490 \begin_inset CommandInset label
16491 LatexCommand label
16492 name "subsec:Dashes-and-line-breaks"
16493
16494 \end_inset
16495
16496
16497 \end_layout
16498
16499 \begin_layout Standard
16500 Whether line breaks before or after dashes are allowed depends on the use
16501  case and locale:
16502 \end_layout
16503
16504 \begin_layout Itemize
16505 No line breaks are allowed in ranges of values like A–Z or 1975–1982.
16506 \end_layout
16507
16508 \begin_layout Itemize
16509 In English, lines may break after dashes used to set off parenthetical statement
16510 s.
16511 \end_layout
16512
16513 \begin_layout Itemize
16514 In French and Spanish, dashes around parenthetical statements are treated
16515  similar to quote signs and line breaks are not allowed on the left side.
16516 \end_layout
16517
16518 \begin_layout Standard
16519 When using spaced en dashes
16520 \begin_inset space ~
16521 \end_inset
16522
16523 - common in British English
16524 \begin_inset space ~
16525 \end_inset
16526
16527 - line breaks before the dash with protected spaces are not allowed.
16528 \end_layout
16529
16530 \begin_layout Standard
16531 When using em dashes without spaces—\SpecialChar allowbreak
16532 common in American English—\SpecialChar allowbreak
16533 one can insert
16534  optional line breaks with the menu 
16535 \family sans
16536 Insert\SpecialChar menuseparator
16537 Formatting\SpecialChar menuseparator
16538 Optional line break
16539 \family default
16540 .
16541 \end_layout
16542
16543 \begin_layout Standard
16544 For documents containing many em dashes, you may consider to select the
16545  option 
16546 \family sans
16547 Document\SpecialChar menuseparator
16548 Settings\SpecialChar menuseparator
16549 Fonts\SpecialChar menuseparator
16550 Output en- and em-dashes as ligatures.
16551  
16552 \family default
16553 This forces the output of dashes as 
16554 \begin_inset Quotes eld
16555 \end_inset
16556
16557 --
16558 \begin_inset Quotes erd
16559 \end_inset
16560
16561  and 
16562 \begin_inset Quotes eld
16563 \end_inset
16564
16565 ---
16566 \begin_inset Quotes erd
16567 \end_inset
16568
16569  when exporting to \SpecialChar LaTeX
16570 .
16571  The \SpecialChar TeX
16572  font ligature mechanism converts them to dash characters followed
16573  by an optional line break.
16574 \end_layout
16575
16576 \begin_layout Standard
16577 Subtleties:
16578 \end_layout
16579
16580 \begin_layout Enumerate
16581 This results in optional line breaks after 
16582 \series bold
16583 all
16584 \series default
16585  en and em dashes.
16586  Incorrect line breaks must be prevented by wrapping in a makebox
16587 \begin_inset Foot
16588 status collapsed
16589
16590 \begin_layout Plain Layout
16591 See section 
16592 \emph on
16593 Prevent Hyphenation
16594 \emph default
16595  of the 
16596 \emph on
16597 Embedded
16598 \begin_inset space ~
16599 \end_inset
16600
16601 Objects
16602 \emph default
16603  manual.
16604 \end_layout
16605
16606 \end_inset
16607
16608  or preceding with 
16609 \series bold
16610
16611 \backslash
16612 nobreakdash
16613 \series default
16614  in \SpecialChar TeX
16615  code:
16616 \end_layout
16617
16618 \begin_deeper
16619 \begin_layout Itemize
16620 Pages
16621 \begin_inset space ~
16622 \end_inset
16623
16624
16625 \begin_inset Box Frameless
16626 position "t"
16627 hor_pos "c"
16628 has_inner_box 1
16629 inner_pos "t"
16630 use_parbox 0
16631 use_makebox 1
16632 width ""
16633 special "none"
16634 height "1in"
16635 height_special "totalheight"
16636 thickness "0.4pt"
16637 separation "3pt"
16638 shadowsize "4pt"
16639 framecolor "black"
16640 backgroundcolor "none"
16641 status open
16642
16643 \begin_layout Plain Layout
16644 369–378
16645 \end_layout
16646
16647 \end_inset
16648
16649
16650 \end_layout
16651
16652 \begin_layout Itemize
16653
16654 \lang french
16655 Les incises 
16656 \begin_inset Box Frameless
16657 position "t"
16658 hor_pos "c"
16659 has_inner_box 1
16660 inner_pos "t"
16661 use_parbox 0
16662 use_makebox 1
16663 width ""
16664 special "none"
16665 height "1in"
16666 height_special "totalheight"
16667 thickness "0.4pt"
16668 separation "3pt"
16669 shadowsize "4pt"
16670 framecolor "black"
16671 backgroundcolor "none"
16672 status open
16673
16674 \begin_layout Plain Layout
16675
16676 \lang french
16677
16678 \begin_inset space ~
16679 \end_inset
16680
16681 même
16682 \end_layout
16683
16684 \end_inset
16685
16686  si tout le monde ne les aime pas
16687 \begin_inset space ~
16688 \end_inset
16689
16690 – sont très utiles.
16691 \end_layout
16692
16693 \begin_layout Itemize
16694
16695 \lang spanish
16696 En una frase 
16697 \begin_inset ERT
16698 status collapsed
16699
16700 \begin_layout Plain Layout
16701
16702
16703 \backslash
16704 nobreakdash
16705 \end_layout
16706
16707 \end_inset
16708
16709 —un inciso con rayas— se escribe así.
16710 \end_layout
16711
16712 \begin_layout Standard
16713 An incorrect line break is easily overlooked because
16714 \begin_inset space ~
16715 \end_inset
16716
16717 – in contrast to an overfull line
16718 \begin_inset space ~
16719 \end_inset
16720
16721 – it does not trigger a warning in the \SpecialChar LaTeX
16722  log.
16723 \end_layout
16724
16725 \end_deeper
16726 \begin_layout Enumerate
16727 The setting is ignored for documents using non-\SpecialChar TeX
16728  fonts.
16729 \end_layout
16730
16731 \begin_deeper
16732 \begin_layout Standard
16733 Xe\SpecialChar TeX
16734  provides the 
16735 \series bold
16736
16737 \backslash
16738 XeTeXdashbreakstate
16739 \series default
16740  setting.
16741  The default,
16742 \begin_inset Newline newline
16743 \end_inset
16744
16745
16746 \series bold
16747
16748 \backslash
16749 XeTeXdashbreakstate=1
16750 \series default
16751  causes literal dashes to behave like ligature dashes.
16752 \end_layout
16753
16754 \end_deeper
16755 \begin_layout Enumerate
16756 Em dashes in 
16757 \family typewriter
16758 typewriter
16759 \family default
16760  fonts become 
16761 \family typewriter
16762 –-
16763 \family default
16764  or 
16765 \family typewriter
16766 ---
16767 \family default
16768  in the output.
16769 \end_layout
16770
16771 \begin_layout Enumerate
16772 Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
16773 \end_layout
16774
16775 \begin_layout Standard
16776 In \SpecialChar LyX
16777
16778 \begin_inset space ~
16779 \end_inset
16780
16781 2.2 -- and --- were in \SpecialChar LyX
16782
16783 \begin_inset space ~
16784 \end_inset
16785
16786 2.3 output as -{}- and -{}-{}- to prevent ligation to dashes.
16787 \begin_inset Foot
16788 status collapsed
16789
16790 \begin_layout Plain Layout
16791 Up to \SpecialChar LyX
16792
16793 \begin_inset space ~
16794 \end_inset
16795
16796 2.1 -- and --- in \SpecialChar LyX
16797  was output unchanged which led to different look in the
16798  within \SpecialChar LyX
16799 , text export, HTML export and the PDF export.
16800 \end_layout
16801
16802 \end_inset
16803
16804  Occurrences in older documents are converted to literal Unicode dashes.
16805  This lead to problems like different line breaks.
16806  Since \SpecialChar LyX
16807
16808 \begin_inset space ~
16809 \end_inset
16810
16811 2.3 there is the option 
16812 \family sans
16813 Output en- and em-dashes as ligatures
16814 \family default
16815  in the menu 
16816 \family sans
16817 Document\SpecialChar menuseparator
16818 Settings\SpecialChar menuseparator
16819 Fonts.
16820
16821 \family default
16822  It is on by default but unselected when opening documents edited with \SpecialChar LyX
16823
16824 \begin_inset space ~
16825 \end_inset
16826
16827 2.2.
16828 \begin_inset Newline newline
16829 \end_inset
16830
16831 Note the following side-effects of the \SpecialChar LyX
16832  dash handling:
16833 \end_layout
16834
16835 \begin_layout Itemize
16836 If you used literal em- and en dashes in pre-\SpecialChar LyX
16837
16838 \begin_inset space ~
16839 \end_inset
16840
16841 2.2 documents, you must manually unselect the option to ensure unchanged
16842  behavior.
16843 \end_layout
16844
16845 \begin_layout Itemize
16846 Zero-width space (ZWSP) characters in older \SpecialChar LyX
16847  documents that follow literal
16848  em- and en-dashes are removed during the conversion to the format of \SpecialChar LyX
16849
16850 \begin_inset space ~
16851 \end_inset
16852
16853 2.3.
16854  If you used them as optional line breaks after dashes, convert them to
16855  space insets before opening your document with \SpecialChar LyX
16856
16857 \begin_inset space ~
16858 \end_inset
16859
16860 2.3 or the optional line breaks will be lost!
16861 \end_layout
16862
16863 \begin_layout Subsection
16864 Hyphenation
16865 \begin_inset Index idx
16866 status collapsed
16867
16868 \begin_layout Plain Layout
16869 Hyphenation
16870 \end_layout
16871
16872 \end_inset
16873
16874
16875 \begin_inset CommandInset label
16876 LatexCommand label
16877 name "subsec:Hyphenation"
16878
16879 \end_inset
16880
16881
16882 \end_layout
16883
16884 \begin_layout Standard
16885 Words are not hyphenated within \SpecialChar LyX
16886  but automatically in the output.
16887  Hyphenation is done by the \SpecialChar LaTeX
16888 -package 
16889 \series bold
16890 babel
16891 \series default
16892
16893 \begin_inset Index idx
16894 status collapsed
16895
16896 \begin_layout Plain Layout
16897 \SpecialChar LaTeX
16898  packages ! babel
16899 \end_layout
16900
16901 \end_inset
16902
16903  following the rules of the document language.
16904 \end_layout
16905
16906 \begin_layout Standard
16907 \SpecialChar LaTeX
16908  hyphenates almost perfectly; it only has problems with text in the 
16909 \family sans
16910 typewriter
16911 \family default
16912  font and with unusual constructs, like 
16913 \begin_inset Quotes eld
16914 \end_inset
16915
16916 h3knix/m0n0wall
16917 \begin_inset Quotes erd
16918 \end_inset
16919
16920 .
16921  If \SpecialChar LaTeX
16922  cannot break a word correctly, you can set hyphenation points manually.
16923  This is done with the menu 
16924 \family sans
16925 Insert\SpecialChar menuseparator
16926 Formatting\SpecialChar menuseparator
16927 Hyphenation
16928 \begin_inset space ~
16929 \end_inset
16930
16931 Point
16932 \family default
16933 .
16934  These extra hyphenation points are only recommendations to \SpecialChar LaTeX
16935 .
16936  If no hyphenation is necessary, \SpecialChar LaTeX
16937  will ignore them.
16938 \end_layout
16939
16940 \begin_layout Standard
16941 Sometimes you want to prevent words or constructs from being hyphenated.
16942  Imagine that you are describing keybindings/shortcuts in your document
16943  in the form 
16944 \begin_inset Quotes eld
16945 \end_inset
16946
16947 A-b c
16948 \begin_inset Quotes erd
16949 \end_inset
16950
16951 .
16952  \SpecialChar LaTeX
16953  would then see the hyphen 
16954 \begin_inset Quotes eld
16955 \end_inset
16956
16957 -
16958 \begin_inset Quotes erd
16959 \end_inset
16960
16961  as a hyphenation possibility.
16962  Hyphenating at this point would look ugly.
16963  To prevent the shortcut from being hyphenated, you can use a protected
16964  hyphen (
16965 \family sans
16966 Insert\SpecialChar menuseparator
16967 Formatting\SpecialChar menuseparator
16968 Protected Hyphen
16969 \family default
16970 ) or put it into a makebox as described in section 
16971 \emph on
16972 Prevent Hyphenation
16973 \emph default
16974  of the 
16975 \emph on
16976 Embedded
16977 \begin_inset space ~
16978 \end_inset
16979
16980 Objects
16981 \emph default
16982  manual.
16983 \end_layout
16984
16985 \begin_layout Subsection
16986 Punctuation Marks
16987 \begin_inset Index idx
16988 status collapsed
16989
16990 \begin_layout Plain Layout
16991 Punctuation marks
16992 \end_layout
16993
16994 \end_inset
16995
16996
16997 \end_layout
16998
16999 \begin_layout Subsubsection
17000 Abbreviations and End of Sentence
17001 \begin_inset CommandInset label
17002 LatexCommand label
17003 name "subsec:Abbreviations"
17004
17005 \end_inset
17006
17007
17008 \end_layout
17009
17010 \begin_layout Standard
17011 When \SpecialChar LyX
17012  calls \SpecialChar LaTeX
17013  to generate the final version of your document, \SpecialChar LaTeX
17014  automatically
17015  distinguishes between words, sentences, and abbreviations.
17016  \SpecialChar LaTeX
17017  then adds the 
17018 \begin_inset Quotes eld
17019 \end_inset
17020
17021 appropriate amount of space.
17022 \begin_inset Quotes erd
17023 \end_inset
17024
17025  That means sentences get a little bit more space between the period and
17026  the next word.
17027  Abbreviations get the same amount of space after the period that a word
17028  gets after another word.
17029 \end_layout
17030
17031 \begin_layout Standard
17032 Unfortunately, the algorithm for figuring out what's an abbreviation does
17033  not work in all cases.
17034  If a 
17035 \begin_inset Quotes eld
17036 \end_inset
17037
17038
17039 \family typewriter
17040 .
17041 \family default
17042
17043 \begin_inset Quotes erd
17044 \end_inset
17045
17046  is at the end of a lowercase letter, it's the end of a sentence; if it's
17047  at the end of a capitalized letter, it's an abbreviation.
17048 \end_layout
17049
17050 \begin_layout Standard
17051 Here are some examples of 
17052 \emph on
17053 correct
17054 \emph default
17055  abbreviations and of the end of a sentence:
17056 \end_layout
17057
17058 \begin_layout Itemize
17059 M.
17060  Butterfly
17061 \end_layout
17062
17063 \begin_layout Itemize
17064 Don't worry.
17065  Be happy.
17066 \end_layout
17067
17068 \begin_layout Standard
17069 And here is an example of the algorithm going wrong:
17070 \end_layout
17071
17072 \begin_layout Itemize
17073 e.
17074 \begin_inset space \thinspace{}
17075 \end_inset
17076
17077 g.
17078  this is too much space!
17079 \end_layout
17080
17081 \begin_layout Itemize
17082 This is I.
17083  It's okay.
17084 \end_layout
17085
17086 \begin_layout Standard
17087 You will not see anything wrong until you view a final version of your document.
17088 \end_layout
17089
17090 \begin_layout Standard
17091 To fix this problem, use one of the following:
17092 \end_layout
17093
17094 \begin_layout Enumerate
17095 Use an 
17096 \family sans
17097 Inter-word
17098 \begin_inset space ~
17099 \end_inset
17100
17101 Space
17102 \family default
17103  after lowercase abbreviations (see section
17104 \begin_inset space ~
17105 \end_inset
17106
17107
17108 \begin_inset CommandInset ref
17109 LatexCommand ref
17110 reference "subsec:Inter-word-Space"
17111
17112 \end_inset
17113
17114 ).
17115 \begin_inset Index idx
17116 status collapsed
17117
17118 \begin_layout Plain Layout
17119 Spaces ! inter-word
17120 \end_layout
17121
17122 \end_inset
17123
17124
17125 \end_layout
17126
17127 \begin_layout Enumerate
17128 Use a 
17129 \family sans
17130 Thin
17131 \begin_inset space ~
17132 \end_inset
17133
17134 Space
17135 \family default
17136  between two tokens of an abbreviation (see section
17137 \begin_inset space ~
17138 \end_inset
17139
17140
17141 \begin_inset CommandInset ref
17142 LatexCommand ref
17143 reference "subsec:Thin-Space"
17144
17145 \end_inset
17146
17147 ).
17148 \begin_inset Index idx
17149 status collapsed
17150
17151 \begin_layout Plain Layout
17152 Spaces ! thin
17153 \end_layout
17154
17155 \end_inset
17156
17157
17158 \end_layout
17159
17160 \begin_layout Enumerate
17161 Use an 
17162 \family sans
17163 End
17164 \begin_inset space ~
17165 \end_inset
17166
17167 of
17168 \begin_inset space ~
17169 \end_inset
17170
17171 sentence
17172 \begin_inset space ~
17173 \end_inset
17174
17175 period
17176 \family default
17177  found under the 
17178 \family sans
17179 Insert\SpecialChar menuseparator
17180 Special
17181 \begin_inset space ~
17182 \end_inset
17183
17184 Character
17185 \family default
17186  menu to force the use of inter-sentence spacing.
17187  This function is also bound to 
17188 \begin_inset Info
17189 type  "shortcut"
17190 arg   "specialchar-insert end-of-sentence"
17191 \end_inset
17192
17193  for easy access.
17194 \end_layout
17195
17196 \begin_layout Standard
17197 With the corrections, our earlier examples look like this:
17198 \end_layout
17199
17200 \begin_layout Itemize
17201 e.
17202 \begin_inset space \thinspace{}
17203 \end_inset
17204
17205 g.
17206 \begin_inset space \space{}
17207 \end_inset
17208
17209 this is too much space!
17210 \end_layout
17211
17212 \begin_layout Itemize
17213 This is I\SpecialChar endofsentence
17214  It's okay.
17215 \end_layout
17216
17217 \begin_layout Standard
17218 Some languages don't use extra spacing between sentences.
17219  If your language is such a language, you don't need to worry, because \SpecialChar LaTeX
17220
17221  will take care of this.
17222 \end_layout
17223
17224 \begin_layout Standard
17225 For those that do need to bother, there is help to catch those sneaky errors:
17226  Check out the 
17227 \family sans
17228 Check
17229 \begin_inset space ~
17230 \end_inset
17231
17232 \SpecialChar TeX
17233
17234 \family default
17235  feature described in the section 
17236 \emph on
17237 Checking \SpecialChar TeX
17238
17239 \emph default
17240  of the 
17241 \emph on
17242 Additional Features
17243 \emph default
17244  manual.
17245 \end_layout
17246
17247 \begin_layout Subsubsection
17248 Quotation Marks
17249 \begin_inset Index idx
17250 status collapsed
17251
17252 \begin_layout Plain Layout
17253 Typography ! Quotation marks
17254 \end_layout
17255
17256 \end_inset
17257
17258
17259 \begin_inset Index idx
17260 status collapsed
17261
17262 \begin_layout Plain Layout
17263 Quotation marks | see
17264 \begin_inset ERT
17265 status collapsed
17266
17267 \begin_layout Plain Layout
17268
17269 {
17270 \end_layout
17271
17272 \end_inset
17273
17274 Typography
17275 \begin_inset ERT
17276 status collapsed
17277
17278 \begin_layout Plain Layout
17279
17280 }
17281 \end_layout
17282
17283 \end_inset
17284
17285
17286 \end_layout
17287
17288 \end_inset
17289
17290
17291 \end_layout
17292
17293 \begin_layout Standard
17294 \SpecialChar LyX
17295  usually sets quotation marks correctly.
17296  Specifically, it will insert an opening mark at the beginning of quoted
17297  text, and use a closing mark at the end.
17298  For example, 
17299 \begin_inset Quotes eld
17300 \end_inset
17301
17302 open close
17303 \begin_inset Quotes erd
17304 \end_inset
17305
17306 .
17307  The keyboard character, 
17308 \family sans
17309 "
17310 \family default
17311 , generates this automatically.
17312 \end_layout
17313
17314 \begin_layout Standard
17315 You can specify what character the 
17316 \family sans
17317 "
17318 \family default
17319  key produces by using the submenu 
17320 \family sans
17321 Language
17322 \family default
17323  of the 
17324 \family sans
17325 Document\SpecialChar menuseparator
17326 Settings
17327 \family default
17328
17329 \begin_inset Index idx
17330 status collapsed
17331
17332 \begin_layout Plain Layout
17333 Document ! Settings
17334 \end_layout
17335
17336 \end_inset
17337
17338  dialog and switching the 
17339 \family sans
17340 Quote Style
17341 \family default
17342  (note that \SpecialChar LyX
17343  makes a sensible proposal for the selected main language).
17344  There are 14
17345 \begin_inset space ~
17346 \end_inset
17347
17348 choices:
17349 \end_layout
17350
17351 \begin_layout Labeling
17352 \labelwidthstring <<Outer>> and <<inner>>:
17353 \noindent
17354
17355 \family sans
17356 \begin_inset Quotes eld
17357 \end_inset
17358
17359 Outer
17360 \begin_inset Quotes erd
17361 \end_inset
17362
17363
17364 \begin_inset space ~
17365 \end_inset
17366
17367 and
17368 \begin_inset space ~
17369 \end_inset
17370
17371
17372 \begin_inset Quotes els
17373 \end_inset
17374
17375 inner
17376 \begin_inset Quotes ers
17377 \end_inset
17378
17379
17380 \family default
17381  Produces 
17382 \begin_inset Quotes eld
17383 \end_inset
17384
17385 these outer
17386 \begin_inset Quotes erd
17387 \end_inset
17388
17389  and 
17390 \begin_inset Quotes els
17391 \end_inset
17392
17393 these inner
17394 \begin_inset Quotes ers
17395 \end_inset
17396
17397  quotation marks (as common, e.
17398 \begin_inset space \thinspace{}
17399 \end_inset
17400
17401 g., in the US)
17402 \end_layout
17403
17404 \begin_layout Labeling
17405 \labelwidthstring <<Outer>> and <<inner>>:
17406
17407 \family sans
17408 \begin_inset Quotes sld
17409 \end_inset
17410
17411 Outer
17412 \begin_inset Quotes sld
17413 \end_inset
17414
17415
17416 \begin_inset space ~
17417 \end_inset
17418
17419 and
17420 \begin_inset space ~
17421 \end_inset
17422
17423
17424 \begin_inset Quotes sls
17425 \end_inset
17426
17427 inner
17428 \begin_inset Quotes srs
17429 \end_inset
17430
17431
17432 \family default
17433  Produces 
17434 \begin_inset Quotes sld
17435 \end_inset
17436
17437 these outer
17438 \begin_inset Quotes sld
17439 \end_inset
17440
17441  and 
17442 \begin_inset Quotes sls
17443 \end_inset
17444
17445 these inner
17446 \begin_inset Quotes srs
17447 \end_inset
17448
17449  quotation marks (as common, e.
17450 \begin_inset space \thinspace{}
17451 \end_inset
17452
17453 g., in Sweden)
17454 \end_layout
17455
17456 \begin_layout Labeling
17457 \labelwidthstring <<Outer>> and <<inner>>:
17458
17459 \family sans
17460 \begin_inset Quotes gld
17461 \end_inset
17462
17463 Outer
17464 \begin_inset Quotes grd
17465 \end_inset
17466
17467
17468 \begin_inset space ~
17469 \end_inset
17470
17471 and
17472 \begin_inset space ~
17473 \end_inset
17474
17475
17476 \begin_inset Quotes gls
17477 \end_inset
17478
17479 inner
17480 \begin_inset Quotes grs
17481 \end_inset
17482
17483
17484 \family default
17485  Produces 
17486 \begin_inset Quotes gld
17487 \end_inset
17488
17489 these outer
17490 \begin_inset Quotes grd
17491 \end_inset
17492
17493  and 
17494 \begin_inset Quotes gls
17495 \end_inset
17496
17497 these inner
17498 \begin_inset Quotes grs
17499 \end_inset
17500
17501  quotation marks (as common, e.
17502 \begin_inset space \thinspace{}
17503 \end_inset
17504
17505 g., in Germany)
17506 \end_layout
17507
17508 \begin_layout Labeling
17509 \labelwidthstring <<Outer>> and <<inner>>:
17510
17511 \family sans
17512 \begin_inset Quotes pld
17513 \end_inset
17514
17515 Outer
17516 \begin_inset Quotes prd
17517 \end_inset
17518
17519
17520 \begin_inset space ~
17521 \end_inset
17522
17523 and
17524 \begin_inset space ~
17525 \end_inset
17526
17527
17528 \begin_inset Quotes pls
17529 \end_inset
17530
17531 inner
17532 \begin_inset Quotes prs
17533 \end_inset
17534
17535
17536 \family default
17537  Produces 
17538 \begin_inset Quotes pld
17539 \end_inset
17540
17541 these outer
17542 \begin_inset Quotes prd
17543 \end_inset
17544
17545  and 
17546 \begin_inset Quotes pls
17547 \end_inset
17548
17549 these inner
17550 \begin_inset Quotes prs
17551 \end_inset
17552
17553  quotation marks (as common, e.
17554 \begin_inset space \thinspace{}
17555 \end_inset
17556
17557 g., in Poland)
17558 \end_layout
17559
17560 \begin_layout Labeling
17561 \labelwidthstring <<Outer>> and <<inner>>:
17562
17563 \family sans
17564 \begin_inset Quotes cld
17565 \end_inset
17566
17567 Outer
17568 \begin_inset Quotes crd
17569 \end_inset
17570
17571
17572 \begin_inset space ~
17573 \end_inset
17574
17575 and
17576 \begin_inset space ~
17577 \end_inset
17578
17579
17580 \begin_inset Quotes cls
17581 \end_inset
17582
17583 inner
17584 \begin_inset Quotes crs
17585 \end_inset
17586
17587
17588 \family default
17589  Produces 
17590 \begin_inset Quotes cld
17591 \end_inset
17592
17593 these outer
17594 \begin_inset Quotes crd
17595 \end_inset
17596
17597  and 
17598 \begin_inset Quotes cls
17599 \end_inset
17600
17601 these inner
17602 \begin_inset Quotes crs
17603 \end_inset
17604
17605  quotation marks (as common, e.
17606 \begin_inset space \thinspace{}
17607 \end_inset
17608
17609 g., in Switzerland)
17610 \end_layout
17611
17612 \begin_layout Labeling
17613 \labelwidthstring <<Outer>> and <<inner>>:
17614
17615 \family sans
17616 \begin_inset Quotes ald
17617 \end_inset
17618
17619 Outer
17620 \begin_inset Quotes ard
17621 \end_inset
17622
17623
17624 \begin_inset space ~
17625 \end_inset
17626
17627 and
17628 \begin_inset space ~
17629 \end_inset
17630
17631
17632 \begin_inset Quotes als
17633 \end_inset
17634
17635 inner
17636 \begin_inset Quotes ars
17637 \end_inset
17638
17639
17640 \family default
17641  Produces 
17642 \begin_inset Quotes ald
17643 \end_inset
17644
17645 these outer
17646 \begin_inset Quotes ard
17647 \end_inset
17648
17649  and 
17650 \begin_inset Quotes als
17651 \end_inset
17652
17653 these inner
17654 \begin_inset Quotes ars
17655 \end_inset
17656
17657  quotation marks (as common, e.
17658 \begin_inset space \thinspace{}
17659 \end_inset
17660
17661 g., in Denmark)
17662 \end_layout
17663
17664 \begin_layout Labeling
17665 \labelwidthstring <<Outer>> and <<inner>>:
17666
17667 \family sans
17668 \begin_inset Quotes qrd
17669 \end_inset
17670
17671 Outer
17672 \begin_inset Quotes qrd
17673 \end_inset
17674
17675
17676 \begin_inset space ~
17677 \end_inset
17678
17679 and
17680 \begin_inset space ~
17681 \end_inset
17682
17683
17684 \begin_inset Quotes qls
17685 \end_inset
17686
17687 inner
17688 \begin_inset Quotes qls
17689 \end_inset
17690
17691
17692 \family default
17693  Produces 
17694 \begin_inset Quotes qrd
17695 \end_inset
17696
17697 these outer
17698 \begin_inset Quotes qrd
17699 \end_inset
17700
17701  and 
17702 \begin_inset Quotes qls
17703 \end_inset
17704
17705 these inner
17706 \begin_inset Quotes qls
17707 \end_inset
17708
17709  quotation marks (so-called plain or non-typographical quotation marks)
17710 \end_layout
17711
17712 \begin_layout Labeling
17713 \labelwidthstring <<Outer>> and <<inner>>:
17714
17715 \family sans
17716 \begin_inset Quotes bld
17717 \end_inset
17718
17719 Outer
17720 \begin_inset Quotes brd
17721 \end_inset
17722
17723
17724 \begin_inset space ~
17725 \end_inset
17726
17727 and
17728 \begin_inset space ~
17729 \end_inset
17730
17731
17732 \begin_inset Quotes bls
17733 \end_inset
17734
17735 inner
17736 \begin_inset Quotes brs
17737 \end_inset
17738
17739
17740 \family default
17741  Produces 
17742 \begin_inset Quotes bld
17743 \end_inset
17744
17745 these outer
17746 \begin_inset Quotes brd
17747 \end_inset
17748
17749  and 
17750 \begin_inset Quotes bls
17751 \end_inset
17752
17753 these inner
17754 \begin_inset Quotes brs
17755 \end_inset
17756
17757  quotation marks (as common, e.
17758 \begin_inset space \thinspace{}
17759 \end_inset
17760
17761 g., in Great Britain)
17762 \end_layout
17763
17764 \begin_layout Labeling
17765 \labelwidthstring <<Outer>> and <<inner>>:
17766
17767 \family sans
17768 \begin_inset Quotes fld
17769 \end_inset
17770
17771 Outer
17772 \begin_inset Quotes frd
17773 \end_inset
17774
17775
17776 \begin_inset space ~
17777 \end_inset
17778
17779 and
17780 \begin_inset space ~
17781 \end_inset
17782
17783
17784 \begin_inset Quotes fls
17785 \end_inset
17786
17787 inner
17788 \begin_inset Quotes frs
17789 \end_inset
17790
17791
17792 \family default
17793  Produces 
17794 \begin_inset Quotes fld
17795 \end_inset
17796
17797 these outer
17798 \begin_inset Quotes frd
17799 \end_inset
17800
17801  and 
17802 \begin_inset Quotes fls
17803 \end_inset
17804
17805 these inner
17806 \begin_inset Quotes frs
17807 \end_inset
17808
17809  quotation marks (as common, e.
17810 \begin_inset space \thinspace{}
17811 \end_inset
17812
17813 g., in France)
17814 \end_layout
17815
17816 \begin_layout Labeling
17817 \labelwidthstring <<Outer>> and <<inner>>:
17818
17819 \family sans
17820 \begin_inset Quotes ild
17821 \end_inset
17822
17823 Outer
17824 \begin_inset Quotes ird
17825 \end_inset
17826
17827
17828 \begin_inset space ~
17829 \end_inset
17830
17831 and
17832 \begin_inset space ~
17833 \end_inset
17834
17835
17836 \begin_inset Quotes ils
17837 \end_inset
17838
17839 inner
17840 \begin_inset Quotes irs
17841 \end_inset
17842
17843
17844 \family default
17845  Produces 
17846 \begin_inset Quotes ild
17847 \end_inset
17848
17849 these outer
17850 \begin_inset Quotes ird
17851 \end_inset
17852
17853  and 
17854 \begin_inset Quotes ils
17855 \end_inset
17856
17857 these inner
17858 \begin_inset Quotes irs
17859 \end_inset
17860
17861  quotation marks (another style common in France)
17862 \begin_inset Foot
17863 status collapsed
17864
17865 \begin_layout Plain Layout
17866 Maybe you wonder why one does not simply use only outer marks in this case,
17867  since these look identical to the inner marks.
17868  The answer is that you cannot easily switch to another style then (where
17869  the inner marks differ).
17870 \end_layout
17871
17872 \end_inset
17873
17874
17875 \end_layout
17876
17877 \begin_layout Labeling
17878 \labelwidthstring <<Outer>> and <<inner>>:
17879
17880 \family sans
17881 \begin_inset Quotes rld
17882 \end_inset
17883
17884 Outer
17885 \begin_inset Quotes rrd
17886 \end_inset
17887
17888
17889 \begin_inset space ~
17890 \end_inset
17891
17892 and
17893 \begin_inset space ~
17894 \end_inset
17895
17896
17897 \begin_inset Quotes rls
17898 \end_inset
17899
17900 inner
17901 \begin_inset Quotes rrs
17902 \end_inset
17903
17904
17905 \family default
17906  Produces 
17907 \begin_inset Quotes rld
17908 \end_inset
17909
17910 these outer
17911 \begin_inset Quotes rrd
17912 \end_inset
17913
17914  and 
17915 \begin_inset Quotes rls
17916 \end_inset
17917
17918 these inner
17919 \begin_inset Quotes rrs
17920 \end_inset
17921
17922  quotation marks (as common, e.
17923 \begin_inset space \thinspace{}
17924 \end_inset
17925
17926 g., in Russia)
17927 \end_layout
17928
17929 \begin_layout Labeling
17930 \labelwidthstring <<Outer>> and <<inner>>:
17931
17932 \family sans
17933 \begin_inset Quotes wld
17934 \end_inset
17935
17936 Outer
17937 \begin_inset Quotes wrd
17938 \end_inset
17939
17940
17941 \begin_inset space ~
17942 \end_inset
17943
17944 and
17945 \begin_inset space ~
17946 \end_inset
17947
17948
17949 \begin_inset Quotes wls
17950 \end_inset
17951
17952 inner
17953 \begin_inset Quotes wrs
17954 \end_inset
17955
17956
17957 \family default
17958  Produces 
17959 \begin_inset Quotes wld
17960 \end_inset
17961
17962 these outer
17963 \begin_inset Quotes wrd
17964 \end_inset
17965
17966  and 
17967 \begin_inset Quotes wls
17968 \end_inset
17969
17970 these inner
17971 \begin_inset Quotes wrs
17972 \end_inset
17973
17974  quotation marks (another style common in Sweden)
17975 \end_layout
17976
17977 \begin_layout Labeling
17978 \labelwidthstring <<Outer>> and <<inner>>:
17979 \begin_inset Quotes jld
17980 \end_inset
17981
17982
17983 \family sans
17984 Outer
17985 \family default
17986
17987 \begin_inset Quotes jrd
17988 \end_inset
17989
17990
17991 \family sans
17992
17993 \begin_inset space ~
17994 \end_inset
17995
17996 and
17997 \begin_inset space ~
17998 \end_inset
17999
18000
18001 \family default
18002
18003 \begin_inset Quotes jls
18004 \end_inset
18005
18006
18007 \family sans
18008 inner
18009 \family default
18010
18011 \begin_inset Quotes jrs
18012 \end_inset
18013
18014  Produces 
18015 \begin_inset Quotes jld
18016 \end_inset
18017
18018 these outer
18019 \begin_inset Quotes jrd
18020 \end_inset
18021
18022  and 
18023 \begin_inset Quotes jls
18024 \end_inset
18025
18026 these inner
18027 \begin_inset Quotes jrs
18028 \end_inset
18029
18030  quotation marks (as common, e.
18031 \begin_inset space \thinspace{}
18032 \end_inset
18033
18034 g., in Japan)
18035 \begin_inset Foot
18036 status collapsed
18037
18038 \begin_layout Plain Layout
18039 Note that these characters are just emulated with similar-looking math symbols
18040  in many encodings that do not cover these glyphs.
18041 \end_layout
18042
18043 \end_inset
18044
18045
18046 \end_layout
18047
18048 \begin_layout Labeling
18049 \labelwidthstring <<Outer>> and <<inner>>:
18050 \begin_inset Quotes kld
18051 \end_inset
18052
18053
18054 \family sans
18055 Outer
18056 \family default
18057
18058 \begin_inset Quotes krd
18059 \end_inset
18060
18061
18062 \family sans
18063
18064 \begin_inset space ~
18065 \end_inset
18066
18067 and
18068 \begin_inset space ~
18069 \end_inset
18070
18071
18072 \family default
18073
18074 \begin_inset Quotes kls
18075 \end_inset
18076
18077
18078 \family sans
18079 inner
18080 \family default
18081
18082 \begin_inset Quotes krs
18083 \end_inset
18084
18085  Produces 
18086 \begin_inset Quotes kld
18087 \end_inset
18088
18089 these outer
18090 \begin_inset Quotes krd
18091 \end_inset
18092
18093  and 
18094 \begin_inset Quotes kls
18095 \end_inset
18096
18097 these inner
18098 \begin_inset Quotes krs
18099 \end_inset
18100
18101  quotation marks (as common, e.
18102 \begin_inset space \thinspace{}
18103 \end_inset
18104
18105 g., in North Korea and China)
18106 \begin_inset Foot
18107 status collapsed
18108
18109 \begin_layout Plain Layout
18110 Note that these characters are just emulated with similar-looking math symbols
18111  in many encodings that do not cover these glyphs.
18112 \end_layout
18113
18114 \end_inset
18115
18116
18117 \end_layout
18118
18119 \begin_layout Standard
18120 Inner quotation marks
18121 \begin_inset Foot
18122 status collapsed
18123
18124 \begin_layout Plain Layout
18125 In many writing cultures, these are single quotation marks.
18126  But as the British and French styles show, this is not necessarily the
18127  case (and specifically the British style shows that 
18128 \begin_inset Quotes eld
18129 \end_inset
18130
18131 outer
18132 \begin_inset Quotes erd
18133 \end_inset
18134
18135  does not necessarily mean 
18136 \begin_inset Quotes eld
18137 \end_inset
18138
18139 double
18140 \begin_inset Quotes erd
18141 \end_inset
18142
18143 ).
18144  This is why we call them 
18145 \begin_inset Quotes els
18146 \end_inset
18147
18148 inner
18149 \begin_inset Quotes ers
18150 \end_inset
18151
18152  as opposed to 
18153 \begin_inset Quotes eld
18154 \end_inset
18155
18156 outer
18157 \begin_inset Quotes erd
18158 \end_inset
18159
18160  quotation marks.
18161 \end_layout
18162
18163 \end_inset
18164
18165  for quotations inside quotations (and other tasks in some languages, such
18166  as 
18167 \begin_inset Quotes els
18168 \end_inset
18169
18170 scare quotes
18171 \begin_inset Quotes ers
18172 \end_inset
18173
18174 ) can be obtained by means of the shortcut 
18175 \begin_inset Info
18176 type  "shortcut"
18177 arg   "quote-insert inner"
18178 \end_inset
18179
18180  and via the 
18181 \family sans
18182 Insert\SpecialChar menuseparator
18183 Special Characters
18184 \family default
18185  menu.
18186 \end_layout
18187
18188 \begin_layout Standard
18189 By default, the quotation mark styles are persistent.
18190  That is to say, a quotation mark maintains the style that was current when
18191  it was inserted, even if the document-wide style changes.
18192  This allows you to enter marks of different style.
18193  If you check the setting 
18194 \family sans
18195 Use dynamic quotation marks
18196 \family default
18197  in 
18198 \family sans
18199 Document\SpecialChar menuseparator
18200 Settings\SpecialChar menuseparator
18201 Language
18202 \family default
18203 , however, special quotation marks will be inserted (in the LyX window,
18204  they appear in a special color).
18205  These marks will automatically adapt to the main style (and its changes).
18206  Such quotation marks make it easy to alter the quotation mark style in
18207  one step (e.
18208 \begin_inset space \thinspace{}
18209 \end_inset
18210
18211 g., if your publisher requests a different style).
18212 \end_layout
18213
18214 \begin_layout Standard
18215 Individual quotation marks (i.
18216 \begin_inset space \thinspace{}
18217 \end_inset
18218
18219 e., their level [inner, outer], side [opening, closing], and style) can be
18220  easily switched by a context menu that pops up if you right-click on a
18221  mark.
18222 \end_layout
18223
18224 \begin_layout Subsection
18225 Ligatures
18226 \begin_inset Index idx
18227 status collapsed
18228
18229 \begin_layout Plain Layout
18230 Typography ! Ligatures
18231 \end_layout
18232
18233 \end_inset
18234
18235
18236 \begin_inset Index idx
18237 status collapsed
18238
18239 \begin_layout Plain Layout
18240 Ligatures | see
18241 \begin_inset ERT
18242 status collapsed
18243
18244 \begin_layout Plain Layout
18245
18246 {
18247 \end_layout
18248
18249 \end_inset
18250
18251 Typography
18252 \begin_inset ERT
18253 status collapsed
18254
18255 \begin_layout Plain Layout
18256
18257 }
18258 \end_layout
18259
18260 \end_inset
18261
18262
18263 \end_layout
18264
18265 \end_inset
18266
18267
18268 \begin_inset CommandInset label
18269 LatexCommand label
18270 name "subsec:Ligatures"
18271
18272 \end_inset
18273
18274
18275 \end_layout
18276
18277 \begin_layout Standard
18278 It is standard typesetting practice to group certain letters together and
18279  print them as single characters.
18280  These groups are known as 
18281 \emph on
18282 ligatures
18283 \emph default
18284 .
18285  Since \SpecialChar LaTeX
18286  knows about ligatures, your documents will contain them too in the
18287  output.
18288  Here are the standard ligatures:
18289 \end_layout
18290
18291 \begin_layout Itemize
18292 ff
18293 \end_layout
18294
18295 \begin_layout Itemize
18296 fi
18297 \end_layout
18298
18299 \begin_layout Itemize
18300 fl
18301 \end_layout
18302
18303 \begin_layout Itemize
18304 ffi
18305 \end_layout
18306
18307 \begin_layout Itemize
18308 ffl
18309 \end_layout
18310
18311 \begin_layout Standard
18312 Some languages uses other ligatures if the document font supports them.
18313 \end_layout
18314
18315 \begin_layout Standard
18316 Sometimes, you don't want a ligature in a word.
18317  While a ligature may be okay in the word, 
18318 \begin_inset Quotes eld
18319 \end_inset
18320
18321 graffiti,
18322 \begin_inset Quotes erd
18323 \end_inset
18324
18325  it looks really weird in compound words, such as 
18326 \begin_inset Quotes eld
18327 \end_inset
18328
18329 cufflink
18330 \begin_inset Quotes erd
18331 \end_inset
18332
18333  or the German 
18334 \begin_inset Quotes eld
18335 \end_inset
18336
18337 Dorffest.
18338 \begin_inset Quotes erd
18339 \end_inset
18340
18341  To break a ligature, use 
18342 \family sans
18343 Insert\SpecialChar menuseparator
18344 Formatting\SpecialChar menuseparator
18345 Ligature
18346 \begin_inset space ~
18347 \end_inset
18348
18349 Break.
18350
18351 \family default
18352  This changes 
18353 \begin_inset Quotes eld
18354 \end_inset
18355
18356 cufflinks
18357 \begin_inset Quotes erd
18358 \end_inset
18359
18360  to 
18361 \begin_inset Quotes eld
18362 \end_inset
18363
18364 cuff\SpecialChar ligaturebreak
18365 links
18366 \begin_inset Quotes erd
18367 \end_inset
18368
18369  and 
18370 \begin_inset Quotes eld
18371 \end_inset
18372
18373 Dorffest
18374 \begin_inset Quotes erd
18375 \end_inset
18376
18377  to 
18378 \begin_inset Quotes eld
18379 \end_inset
18380
18381 Dorf\SpecialChar ligaturebreak
18382 fest
18383 \begin_inset Quotes erd
18384 \end_inset
18385
18386 .
18387 \end_layout
18388
18389 \begin_layout Subsection
18390 \SpecialChar LyX
18391  and \SpecialChar LaTeX
18392  Logos
18393 \begin_inset Index idx
18394 status collapsed
18395
18396 \begin_layout Plain Layout
18397 \SpecialChar LyX
18398  ! Proper names
18399 \end_layout
18400
18401 \end_inset
18402
18403
18404 \begin_inset CommandInset label
18405 LatexCommand label
18406 name "subsec:LyX's-Proper-Names"
18407
18408 \end_inset
18409
18410
18411 \end_layout
18412
18413 \begin_layout Standard
18414 Via 
18415 \family sans
18416 Insert\SpecialChar menuseparator
18417 Special Characters\SpecialChar menuseparator
18418 Logos
18419 \family default
18420 , \SpecialChar LyX
18421  provides the following program logos with special formatting:
18422 \end_layout
18423
18424 \begin_layout Description
18425 \SpecialChar LyX
18426  The name of the game.
18427 \end_layout
18428
18429 \begin_layout Description
18430 \SpecialChar TeX
18431  The typesetting engine used by \SpecialChar LyX
18432 .
18433 \end_layout
18434
18435 \begin_layout Description
18436 \SpecialChar LaTeX
18437  The \SpecialChar TeX
18438  macro collection used by \SpecialChar LyX
18439 .
18440 \end_layout
18441
18442 \begin_layout Description
18443 \SpecialChar LaTeX2e
18444  The current version of \SpecialChar LaTeX
18445 .
18446 \end_layout
18447
18448 \begin_layout Standard
18449 You might wonder why the \SpecialChar LaTeX
18450  version is 
18451 \begin_inset Quotes eld
18452 \end_inset
18453
18454 2
18455 \begin_inset Formula $\epsilon$
18456 \end_inset
18457
18458
18459 \begin_inset Quotes erd
18460 \end_inset
18461
18462 .
18463  It is an old tradition in the \SpecialChar TeX
18464  world to give programs geek version numbers.
18465  For example the version number of \SpecialChar TeX
18466  converges to the number 
18467 \begin_inset Formula $\pi$
18468 \end_inset
18469
18470 : The actual version is 
18471 \begin_inset Quotes eld
18472 \end_inset
18473
18474 \SpecialChar TeX
18475 -3.141592
18476 \begin_inset Quotes erd
18477 \end_inset
18478
18479 , the previous one was 
18480 \begin_inset Quotes eld
18481 \end_inset
18482
18483 \SpecialChar TeX
18484 -3.14159
18485 \begin_inset Quotes erd
18486 \end_inset
18487
18488 .
18489 \end_layout
18490
18491 \begin_layout Subsection
18492 Units
18493 \begin_inset Index idx
18494 status collapsed
18495
18496 \begin_layout Plain Layout
18497 Typography ! Units
18498 \end_layout
18499
18500 \end_inset
18501
18502
18503 \end_layout
18504
18505 \begin_layout Standard
18506 Generally the space between units and the number is smaller than the normal
18507  space between two words.
18508  As you can see in the example below, it looks better when the space is
18509  smaller.
18510  To get such a 
18511 \begin_inset Quotes eld
18512 \end_inset
18513
18514 half space
18515 \begin_inset Quotes erd
18516 \end_inset
18517
18518  for units use the menu 
18519 \family sans
18520 Insert\SpecialChar menuseparator
18521 Formatting\SpecialChar menuseparator
18522 Thin
18523 \begin_inset space ~
18524 \end_inset
18525
18526 Space
18527 \family default
18528  (shortcut 
18529 \begin_inset Info
18530 type  "shortcuts"
18531 arg   "space-insert thin"
18532 \end_inset
18533
18534 ).
18535 \end_layout
18536
18537 \begin_layout Standard
18538 Here is an example to show the differences:
18539 \end_layout
18540
18541 \begin_layout Standard
18542 \begin_inset Tabular
18543 <lyxtabular version="3" rows="2" columns="2">
18544 <features tabularvalignment="middle">
18545 <column alignment="left" valignment="top">
18546 <column alignment="left" valignment="top">
18547 <row>
18548 <cell alignment="center" valignment="top" usebox="none">
18549 \begin_inset Text
18550
18551 \begin_layout Plain Layout
18552 24
18553 \begin_inset space ~
18554 \end_inset
18555
18556 kW
18557 \begin_inset Formula $\cdot$
18558 \end_inset
18559
18560 h
18561 \end_layout
18562
18563 \end_inset
18564 </cell>
18565 <cell alignment="center" valignment="top" usebox="none">
18566 \begin_inset Text
18567
18568 \begin_layout Plain Layout
18569 space between number and unit
18570 \end_layout
18571
18572 \end_inset
18573 </cell>
18574 </row>
18575 <row>
18576 <cell alignment="center" valignment="top" usebox="none">
18577 \begin_inset Text
18578
18579 \begin_layout Plain Layout
18580 24
18581 \begin_inset space \thinspace{}
18582 \end_inset
18583
18584 kW
18585 \begin_inset Formula $\cdot$
18586 \end_inset
18587
18588 h
18589 \end_layout
18590
18591 \end_inset
18592 </cell>
18593 <cell alignment="center" valignment="top" usebox="none">
18594 \begin_inset Text
18595
18596 \begin_layout Plain Layout
18597 half space between number and unit
18598 \end_layout
18599
18600 \end_inset
18601 </cell>
18602 </row>
18603 </lyxtabular>
18604
18605 \end_inset
18606
18607
18608 \end_layout
18609
18610 \begin_layout Subsection
18611 Widows and Orphans
18612 \begin_inset Index idx
18613 status collapsed
18614
18615 \begin_layout Plain Layout
18616 Typography ! Widows and orphans
18617 \end_layout
18618
18619 \end_inset
18620
18621
18622 \end_layout
18623
18624 \begin_layout Standard
18625 In the early days of word processors, page breaks went wherever the page
18626  happened to end.
18627  There was no regard for what was actually going on in the text.
18628  For example the heading for a new section was printed at the very bottom
18629  of the page, the first line of a new paragraph all alone at the bottom
18630  of a page, or the last line of a paragraph at the top of a new page.
18631  These bits of text became known as 
18632 \emph on
18633 widows
18634 \emph default
18635  and 
18636 \emph on
18637 orphans
18638 \emph default
18639 .
18640 \end_layout
18641
18642 \begin_layout Standard
18643 Clearly, \SpecialChar LyX
18644  can avoid breaking pages after a section heading.
18645  That's part of the advantage of paragraph environments.
18646  But what about widows and orphans, where the page breaks leave one line
18647  of a paragraph all alone at the top or bottom of a page? There are rules
18648  built into \SpecialChar LaTeX
18649  governing page breaks, and some of those rules are there specifical
18650 ly to prevent widows and orphans.
18651  If they appear nevertheless and you don't like them, you can add the commands
18652 \begin_inset Newline newline
18653 \end_inset
18654
18655
18656 \series bold
18657
18658 \backslash
18659 widowpenalty=10000
18660 \begin_inset Newline newline
18661 \end_inset
18662
18663
18664 \backslash
18665 clubpenalty=10000
18666 \series default
18667
18668 \begin_inset Newline newline
18669 \end_inset
18670
18671 to the \SpecialChar LaTeX
18672  preamble of your document to avoid them.
18673  Some \SpecialChar LaTeX
18674  books (such as
18675 \begin_inset space ~
18676 \end_inset
18677
18678
18679 \begin_inset CommandInset citation
18680 LatexCommand cite
18681 key "latexcompanion"
18682 literal "true"
18683
18684 \end_inset
18685
18686  or
18687 \begin_inset space ~
18688 \end_inset
18689
18690
18691 \begin_inset CommandInset citation
18692 LatexCommand cite
18693 key "latexguide"
18694 literal "true"
18695
18696 \end_inset
18697
18698 ) have more information about the technical details of \SpecialChar LaTeX
18699 's page break mechanism.
18700 \end_layout
18701
18702 \begin_layout Chapter
18703 Notes, Graphics, Tables and Floats
18704 \begin_inset CommandInset label
18705 LatexCommand label
18706 name "chap:Floats-and-Notes"
18707
18708 \end_inset
18709
18710
18711 \end_layout
18712
18713 \begin_layout Standard
18714 The issues of this chapter are described in detail in the 
18715 \emph on
18716 Embedded
18717 \begin_inset space ~
18718 \end_inset
18719
18720 Objects
18721 \emph default
18722  manual.
18723  There you will also find tips and tricks for special cases.
18724 \end_layout
18725
18726 \begin_layout Section
18727 Notes
18728 \begin_inset Index idx
18729 status collapsed
18730
18731 \begin_layout Plain Layout
18732 Notes
18733 \end_layout
18734
18735 \end_inset
18736
18737
18738 \begin_inset CommandInset label
18739 LatexCommand label
18740 name "sec:Notes"
18741
18742 \end_inset
18743
18744
18745 \end_layout
18746
18747 \begin_layout Standard
18748 \SpecialChar LyX
18749  offers you a few types of notes to add to your document:
18750 \end_layout
18751
18752 \begin_layout Description
18753 \SpecialChar LyX
18754
18755 \begin_inset space ~
18756 \end_inset
18757
18758 Note This note type is for internal notes that will not appear in the output.
18759 \begin_inset Newline newline
18760 \end_inset
18761
18762
18763 \begin_inset Note Note
18764 status open
18765
18766 \begin_layout Plain Layout
18767 This is text in a note box that doesn't appear in the output.
18768 \end_layout
18769
18770 \end_inset
18771
18772
18773 \end_layout
18774
18775 \begin_layout Description
18776 Comment This note also doesn't appear in the output but it does appear as
18777  a \SpecialChar LaTeX
18778 -comment when you export the document to \SpecialChar LaTeX
18779  via the menu 
18780 \family sans
18781 File\SpecialChar menuseparator
18782 Export\SpecialChar menuseparator
18783 LaTeX
18784 \begin_inset space ~
18785 \end_inset
18786
18787 (xxx)
18788 \family default
18789 .
18790 \begin_inset Newline newline
18791 \end_inset
18792
18793
18794 \begin_inset Note Comment
18795 status open
18796
18797 \begin_layout Plain Layout
18798 This is text in a note box that only appears as a comment in \SpecialChar LaTeX
18799 -files.
18800 \end_layout
18801
18802 \end_inset
18803
18804
18805 \end_layout
18806
18807 \begin_layout Description
18808 Greyed
18809 \begin_inset space ~
18810 \end_inset
18811
18812 Out This note will appear in the output as text in a color which you can
18813  set in the document settings under 
18814 \family sans
18815 Colors\SpecialChar menuseparator
18816 Greyed-out
18817 \begin_inset space ~
18818 \end_inset
18819
18820 notes
18821 \family default
18822 .
18823 \begin_inset Newline newline
18824 \end_inset
18825
18826
18827 \begin_inset Newline newline
18828 \end_inset
18829
18830
18831 \begin_inset Note Greyedout
18832 status open
18833
18834 \begin_layout Plain Layout
18835 This is the text
18836 \begin_inset Foot
18837 status collapsed
18838
18839 \begin_layout Plain Layout
18840 This is an example footnote within a greyed out note.
18841  In this document the color of this note type is set to blue.
18842 \end_layout
18843
18844 \end_inset
18845
18846  of a comment that appears in the output.
18847 \end_layout
18848
18849 \end_inset
18850
18851
18852 \begin_inset Newline newline
18853 \end_inset
18854
18855
18856 \begin_inset Newline newline
18857 \end_inset
18858
18859 As you can see in the example, greyed out notes can have footnotes.
18860 \end_layout
18861
18862 \begin_layout Standard
18863 Notes are inserted with the toolbar button 
18864 \begin_inset Info
18865 type  "icon"
18866 arg   "note-insert"
18867 \end_inset
18868
18869  or the menu 
18870 \family sans
18871 Insert\SpecialChar menuseparator
18872 Note
18873 \family default
18874 .
18875  Right-click on the note box that appears to select the note type.
18876 \end_layout
18877
18878 \begin_layout Section
18879 Footnotes
18880 \begin_inset Index idx
18881 status collapsed
18882
18883 \begin_layout Plain Layout
18884 Footnotes
18885 \end_layout
18886
18887 \end_inset
18888
18889
18890 \begin_inset CommandInset label
18891 LatexCommand label
18892 name "sec:Footnotes"
18893
18894 \end_inset
18895
18896
18897 \end_layout
18898
18899 \begin_layout Standard
18900 \SpecialChar LyX
18901  uses boxes to display footnotes: When you insert a footnote using the menu
18902  
18903 \family sans
18904 Insert\SpecialChar menuseparator
18905 Footnote
18906 \family default
18907  or the toolbar button 
18908 \begin_inset Info
18909 type  "icon"
18910 arg   "footnote-insert"
18911 \end_inset
18912
18913
18914 \family roman
18915 \series medium
18916 \bar no
18917 you will see
18918 \family default
18919 \series default
18920 \bar default
18921  a box like this: 
18922 \begin_inset Graphics
18923         filename clipart/footnote.png
18924         scale 95
18925
18926 \end_inset
18927
18928
18929 \family roman
18930 \series medium
18931 \bar no
18932  This box is \SpecialChar LyX
18933 's representation of your footnote.
18934  If you
18935 \family default
18936 \series default
18937 \bar default
18938  left-click on 
18939 \family roman
18940 \series medium
18941 \bar no
18942 the 
18943 \begin_inset Quotes eld
18944 \end_inset
18945
18946
18947 \family sans
18948 foot
18949 \family roman
18950
18951 \begin_inset Quotes erd
18952 \end_inset
18953
18954
18955 \family default
18956 \series default
18957 \bar default
18958  
18959 \family roman
18960 \series medium
18961 \bar no
18962 label, the box will
18963 \family default
18964 \series default
18965 \bar default
18966  be opened and you can enter the footnote text into it.
18967  Clicking on the box label again will close 
18968 \family roman
18969 \series medium
18970 \bar no
18971 the
18972 \family default
18973 \series default
18974 \bar default
18975  box
18976 \family roman
18977 \series medium
18978 \bar no
18979 .
18980  If you want to turn existing text into a footnote, simply highlight it
18981  and click on the footnote
18982 \family default
18983 \series default
18984 \bar default
18985  toolbar 
18986 \family roman
18987 \series medium
18988 \bar no
18989 button
18990 \family default
18991 \series default
18992 \bar default
18993 .
18994 \end_layout
18995
18996 \begin_layout Standard
18997 Here is an example footnote:
18998 \family roman
18999 \series medium
19000 \bar no
19001
19002 \begin_inset Foot
19003 status collapsed
19004
19005 \begin_layout Plain Layout
19006 To close a footnote, click on the footnote box label.
19007 \end_layout
19008
19009 \end_inset
19010
19011
19012 \end_layout
19013
19014 \begin_layout Standard
19015 The footnote will appear in the output as a superscript number at the text
19016  position where the footnote box is placed.
19017  The footnote text is placed at the bottom of the current page.
19018  The footnote number is calculated by \SpecialChar LyX
19019  according to the document class.
19020  \SpecialChar LyX
19021  does not yet support a particular numbering scheme, but you can get other
19022  schemes using special \SpecialChar LaTeX
19023 -commands.
19024  T
19025 \family roman
19026 h
19027 \family default
19028 ey are described in the 
19029 \emph on
19030 Embedded
19031 \begin_inset space ~
19032 \end_inset
19033
19034 Objects
19035 \emph default
19036  manual.
19037 \end_layout
19038
19039 \begin_layout Section
19040 Marginal Notes
19041 \begin_inset Index idx
19042 status collapsed
19043
19044 \begin_layout Plain Layout
19045 Marginal notes
19046 \end_layout
19047
19048 \end_inset
19049
19050
19051 \begin_inset CommandInset label
19052 LatexCommand label
19053 name "sec:Marginal-Notes"
19054
19055 \end_inset
19056
19057
19058 \end_layout
19059
19060 \begin_layout Standard
19061 Marginal notes look and behave just like footnotes in \SpecialChar LyX
19062 .
19063  When you insert a margin note via the menu 
19064 \family sans
19065 Insert\SpecialChar menuseparator
19066 Marginal
19067 \begin_inset space ~
19068 \end_inset
19069
19070 Note
19071 \family default
19072  or the toolbar button 
19073 \begin_inset Info
19074 type  "icon"
19075 arg   "marginalnote-insert"
19076 \end_inset
19077
19078 , you will see 
19079 \family roman
19080 \series medium
19081 a
19082 \family default
19083 \series default
19084  
19085 \family roman
19086 \series medium
19087 box with the
19088 \family default
19089 \series default
19090  
19091 \family roman
19092 \series medium
19093 label 
19094 \begin_inset Quotes eld
19095 \end_inset
19096
19097 margin
19098 \begin_inset Quotes erd
19099 \end_inset
19100
19101  appearing within your text.
19102  This box is \SpecialChar LyX
19103 's representation of your margin
19104 \family default
19105 \series default
19106 al 
19107 \family roman
19108 \series medium
19109 note.
19110 \end_layout
19111
19112 \begin_layout Standard
19113 At the side of this sentence is an example marginal note.
19114 \family roman
19115 \series medium
19116
19117 \begin_inset Marginal
19118 status open
19119
19120 \begin_layout Plain Layout
19121 \align left
19122 This is a marginal note.
19123 \end_layout
19124
19125 \end_inset
19126
19127
19128 \end_layout
19129
19130 \begin_layout Standard
19131 Marginal notes appear at the right side in single-sided documents.
19132  In double-sided documents they appear in the outer margin – left on even
19133  pages, right on odd pages.
19134 \end_layout
19135
19136 \begin_layout Standard
19137 For further information about marginal notes see the section 
19138 \emph on
19139 Margin
19140 \begin_inset space ~
19141 \end_inset
19142
19143 Notes
19144 \emph default
19145  in the 
19146 \emph on
19147 Embedded
19148 \begin_inset space ~
19149 \end_inset
19150
19151 Objects
19152 \emph default
19153  manual.
19154 \end_layout
19155
19156 \begin_layout Section
19157 Graphics and Images
19158 \begin_inset Index idx
19159 status collapsed
19160
19161 \begin_layout Plain Layout
19162 Images
19163 \end_layout
19164
19165 \end_inset
19166
19167
19168 \begin_inset Index idx
19169 status collapsed
19170
19171 \begin_layout Plain Layout
19172 Graphics
19173 \end_layout
19174
19175 \end_inset
19176
19177
19178 \begin_inset CommandInset label
19179 LatexCommand label
19180 name "sec:Graphics"
19181
19182 \end_inset
19183
19184
19185 \end_layout
19186
19187 \begin_layout Standard
19188 To insert an image in your document, place the cursor at the text position
19189  you want and click on the toolbar icon 
19190 \begin_inset Info
19191 type  "icon"
19192 arg   "dialog-show-new-inset graphics"
19193 \end_inset
19194
19195  or select 
19196 \family sans
19197 Insert\SpecialChar menuseparator
19198 Graphics
19199 \family default
19200  from the menu.
19201  Then a dialog will appear to choose the file to load.
19202 \end_layout
19203
19204 \begin_layout Standard
19205 This dialog has numerous mostly self-explanatory parameters.
19206  The 
19207 \family sans
19208 Graphics
19209 \family default
19210  tab allows you to choose your image file.
19211  The image can be transformed by setting a rotation angle and a scaling
19212  factor.
19213  The scaling units are explained in Appendix
19214 \begin_inset space ~
19215 \end_inset
19216
19217
19218 \begin_inset CommandInset ref
19219 LatexCommand ref
19220 reference "chap:Units-available-in"
19221
19222 \end_inset
19223
19224 .
19225 \end_layout
19226
19227 \begin_layout Standard
19228 In the tab 
19229 \family sans
19230 Clipping
19231 \family default
19232  it is possible to set image coordinates to adjust the height and width
19233  of the image in the output.
19234  The coordinates can also be calculated automatically by pressing the button
19235  
19236 \family sans
19237 Get
19238 \begin_inset space ~
19239 \end_inset
19240
19241 from
19242 \begin_inset space ~
19243 \end_inset
19244
19245 file
19246 \family default
19247 .
19248  The option 
19249 \family sans
19250 Clip
19251 \begin_inset space ~
19252 \end_inset
19253
19254 to
19255 \begin_inset space ~
19256 \end_inset
19257
19258 bounding
19259 \begin_inset space ~
19260 \end_inset
19261
19262 box
19263 \family default
19264  will only print the image region within the given coordinates.
19265  Normally you don't need to take care about image coordinates and can ignore
19266  the tab 
19267 \family sans
19268 Clipping
19269 \family default
19270 .
19271 \end_layout
19272
19273 \begin_layout Standard
19274 In the 
19275 \family sans
19276 LaTeX
19277 \begin_inset space ~
19278 \end_inset
19279
19280 and
19281 \begin_inset space ~
19282 \end_inset
19283
19284 LyX options
19285 \family default
19286  tab \SpecialChar LaTeX
19287  experts can specify additional \SpecialChar LaTeX
19288  options.
19289  In this tab you can also specify the appearance of the image inside \SpecialChar LyX
19290 .
19291  The option 
19292 \family sans
19293 Draft
19294 \begin_inset space ~
19295 \end_inset
19296
19297 mode
19298 \family default
19299  has the effect that the image doesn't appear in the output, only a frame
19300  with the image size is printed.
19301 \end_layout
19302
19303 \begin_layout Standard
19304 The graphics dialog can be called at any time by clicking on an image.
19305  Images will appear in the output exactly at the position where they are
19306  in the text.
19307  This is an example image within a separate, horizontally centered paragraph:
19308 \end_layout
19309
19310 \begin_layout Standard
19311 \align center
19312 \begin_inset Graphics
19313         filename clipart/mobius.eps
19314         scale 70
19315
19316 \end_inset
19317
19318
19319 \end_layout
19320
19321 \begin_layout Standard
19322 If you need image captions or want to reference images, you have to put
19323  the image into a float, see section
19324 \begin_inset space ~
19325 \end_inset
19326
19327
19328 \begin_inset CommandInset ref
19329 LatexCommand ref
19330 reference "subsec:Figure-Floats"
19331
19332 \end_inset
19333
19334 .
19335 \end_layout
19336
19337 \begin_layout Subsection
19338 Image Formats
19339 \begin_inset Index idx
19340 status collapsed
19341
19342 \begin_layout Plain Layout
19343 Images ! Formats
19344 \end_layout
19345
19346 \end_inset
19347
19348
19349 \begin_inset CommandInset label
19350 LatexCommand label
19351 name "subsec:Image-Formats"
19352
19353 \end_inset
19354
19355
19356 \end_layout
19357
19358 \begin_layout Standard
19359 You can insert images in any known file format.
19360  But as we explained in section
19361 \begin_inset space ~
19362 \end_inset
19363
19364
19365 \begin_inset CommandInset ref
19366 LatexCommand ref
19367 reference "subsec:Output-file-formats"
19368
19369 \end_inset
19370
19371 , every output document format allows only a few image formats.
19372  \SpecialChar LyX
19373  therefore uses the program 
19374 \family typewriter
19375 ImageMagick
19376 \family default
19377  in the background to convert the images to the right format.
19378  To increase your workflow by avoiding these conversions in the background,
19379  use only the image formats listed in the subsections of section
19380 \begin_inset space ~
19381 \end_inset
19382
19383
19384 \begin_inset CommandInset ref
19385 LatexCommand ref
19386 reference "subsec:Output-file-formats"
19387
19388 \end_inset
19389
19390 .
19391 \end_layout
19392
19393 \begin_layout Standard
19394 Similar to fonts there are two types of image formats:
19395 \end_layout
19396
19397 \begin_layout Description
19398 Bitmap
19399 \begin_inset space ~
19400 \end_inset
19401
19402 images consist of pixel values, often in a compressed form.
19403  They are therefore not fully scalable and look pixelated in large zooms.
19404  Well-known bitmap image formats are 
19405 \begin_inset Quotes eld
19406 \end_inset
19407
19408 Graphics Interchange Format
19409 \begin_inset Quotes erd
19410 \end_inset
19411
19412  (GIF, file extension 
19413 \begin_inset Quotes eld
19414 \end_inset
19415
19416
19417 \family typewriter
19418 .gif
19419 \family default
19420
19421 \begin_inset Quotes erd
19422 \end_inset
19423
19424 )
19425 \begin_inset Index idx
19426 status collapsed
19427
19428 \begin_layout Plain Layout
19429 GIF|see
19430 \begin_inset ERT
19431 status collapsed
19432
19433 \begin_layout Plain Layout
19434
19435 {
19436 \end_layout
19437
19438 \end_inset
19439
19440 Image formats
19441 \begin_inset ERT
19442 status collapsed
19443
19444 \begin_layout Plain Layout
19445
19446 }
19447 \end_layout
19448
19449 \end_inset
19450
19451
19452 \end_layout
19453
19454 \end_inset
19455
19456
19457 \begin_inset Quotes eld
19458 \end_inset
19459
19460 Portable Network Graphics
19461 \begin_inset Quotes erd
19462 \end_inset
19463
19464  (PNG, file extension 
19465 \begin_inset Quotes eld
19466 \end_inset
19467
19468
19469 \family typewriter
19470 .png
19471 \family default
19472
19473 \begin_inset Quotes erd
19474 \end_inset
19475
19476 )
19477 \begin_inset Index idx
19478 status collapsed
19479
19480 \begin_layout Plain Layout
19481 PNG|see
19482 \begin_inset ERT
19483 status collapsed
19484
19485 \begin_layout Plain Layout
19486
19487 {
19488 \end_layout
19489
19490 \end_inset
19491
19492 Image formats
19493 \begin_inset ERT
19494 status collapsed
19495
19496 \begin_layout Plain Layout
19497
19498 }
19499 \end_layout
19500
19501 \end_inset
19502
19503
19504 \end_layout
19505
19506 \end_inset
19507
19508 , and 
19509 \begin_inset Quotes eld
19510 \end_inset
19511
19512 Joint Photographic Experts Group
19513 \begin_inset Quotes erd
19514 \end_inset
19515
19516  (JPG, file extension 
19517 \begin_inset Quotes eld
19518 \end_inset
19519
19520
19521 \family typewriter
19522 .jpg
19523 \family default
19524
19525 \begin_inset Quotes erd
19526 \end_inset
19527
19528  or 
19529 \begin_inset Quotes eld
19530 \end_inset
19531
19532
19533 \family typewriter
19534 .jpeg
19535 \family default
19536
19537 \begin_inset Quotes erd
19538 \end_inset
19539
19540 )
19541 \begin_inset Index idx
19542 status collapsed
19543
19544 \begin_layout Plain Layout
19545 JPG|see
19546 \begin_inset ERT
19547 status collapsed
19548
19549 \begin_layout Plain Layout
19550
19551 {
19552 \end_layout
19553
19554 \end_inset
19555
19556 Image formats
19557 \begin_inset ERT
19558 status collapsed
19559
19560 \begin_layout Plain Layout
19561
19562 }
19563 \end_layout
19564
19565 \end_inset
19566
19567
19568 \end_layout
19569
19570 \end_inset
19571
19572 .
19573 \end_layout
19574
19575 \begin_layout Description
19576 Scalable
19577 \begin_inset space ~
19578 \end_inset
19579
19580 images consist of vectors and can therefore be scaled to any size without
19581  data loss.
19582  The scaling ability is desired if you want to create presentations, because
19583  presentations are always scaled by the beamer.
19584  Scaling is also useful for online documents to let the user zoom into diagrams.
19585 \begin_inset Newline newline
19586 \end_inset
19587
19588 Scalable image formats can be 
19589 \begin_inset Quotes eld
19590 \end_inset
19591
19592 Scalable Vector Graphics
19593 \begin_inset Quotes erd
19594 \end_inset
19595
19596  (SVG, file extension 
19597 \begin_inset Quotes eld
19598 \end_inset
19599
19600
19601 \family typewriter
19602 .svg
19603 \family default
19604
19605 \begin_inset Quotes erd
19606 \end_inset
19607
19608 )
19609 \begin_inset Index idx
19610 status collapsed
19611
19612 \begin_layout Plain Layout
19613 SVG|see
19614 \begin_inset ERT
19615 status collapsed
19616
19617 \begin_layout Plain Layout
19618
19619 {
19620 \end_layout
19621
19622 \end_inset
19623
19624 Image formats
19625 \begin_inset ERT
19626 status collapsed
19627
19628 \begin_layout Plain Layout
19629
19630 }
19631 \end_layout
19632
19633 \end_inset
19634
19635
19636 \end_layout
19637
19638 \end_inset
19639
19640
19641 \begin_inset Quotes eld
19642 \end_inset
19643
19644 Encapsulated PostScript
19645 \begin_inset Quotes erd
19646 \end_inset
19647
19648  (EPS, file extension 
19649 \begin_inset Quotes eld
19650 \end_inset
19651
19652
19653 \family typewriter
19654 .eps
19655 \family default
19656
19657 \begin_inset Quotes erd
19658 \end_inset
19659
19660 )
19661 \begin_inset Index idx
19662 status collapsed
19663
19664 \begin_layout Plain Layout
19665 EPS|see
19666 \begin_inset ERT
19667 status collapsed
19668
19669 \begin_layout Plain Layout
19670
19671 {
19672 \end_layout
19673
19674 \end_inset
19675
19676 Image formats
19677 \begin_inset ERT
19678 status collapsed
19679
19680 \begin_layout Plain Layout
19681
19682 }
19683 \end_layout
19684
19685 \end_inset
19686
19687
19688 \end_layout
19689
19690 \end_inset
19691
19692 , and 
19693 \begin_inset Quotes eld
19694 \end_inset
19695
19696 Portable Document Format
19697 \begin_inset Quotes erd
19698 \end_inset
19699
19700  (PDF, file extension 
19701 \begin_inset Quotes eld
19702 \end_inset
19703
19704
19705 \family typewriter
19706 .pdf
19707 \family default
19708
19709 \begin_inset Quotes erd
19710 \end_inset
19711
19712 )
19713 \begin_inset Index idx
19714 status collapsed
19715
19716 \begin_layout Plain Layout
19717 PDF
19718 \end_layout
19719
19720 \end_inset
19721
19722 .
19723  We say 
19724 \begin_inset Quotes eld
19725 \end_inset
19726
19727 can be
19728 \begin_inset Quotes erd
19729 \end_inset
19730
19731 , because you can convert any bitmap image format to PDF or EPS and the
19732  result will not be scalable.
19733  In this case only a header with the image properties is added to the original
19734  image.
19735 \begin_inset Foot
19736 status collapsed
19737
19738 \begin_layout Plain Layout
19739 In the case of PDF, the original image is additionally compressed.
19740 \end_layout
19741
19742 \end_inset
19743
19744
19745 \end_layout
19746
19747 \begin_layout Standard
19748 Normally one cannot convert a bitmap image into a scalable one, only 
19749 \emph on
19750 vice versa
19751 \emph default
19752 .
19753 \end_layout
19754
19755 \begin_layout Subsection
19756 Grouping of Image Settings
19757 \begin_inset Index idx
19758 status collapsed
19759
19760 \begin_layout Plain Layout
19761 Images ! Settings grouping
19762 \end_layout
19763
19764 \end_inset
19765
19766
19767 \end_layout
19768
19769 \begin_layout Standard
19770 Each image can define a new group of image settings or join an existing
19771  group.
19772  Images within such a group share their settings, so adjusting one image
19773  of the group automatically also adjusts all other images of the group in
19774  the same way.
19775  So you can for example change the size for a bunch of images without the
19776  need to manually change each of them.
19777  
19778 \end_layout
19779
19780 \begin_layout Standard
19781 A new group can be set by pressing the button 
19782 \family sans
19783 Open
19784 \begin_inset space ~
19785 \end_inset
19786
19787 new
19788 \begin_inset space ~
19789 \end_inset
19790
19791 group
19792 \family default
19793  in the
19794 \family sans
19795  Graphics
19796 \family default
19797  dialog in the 
19798 \family sans
19799 LaTeX
19800 \begin_inset space ~
19801 \end_inset
19802
19803 and
19804 \begin_inset space ~
19805 \end_inset
19806
19807 LyX options
19808 \family default
19809  tab.
19810  Joining an existing group can be done using the context menu of the image
19811  and checking the name of the desired group.
19812 \end_layout
19813
19814 \begin_layout Section
19815 Tables
19816 \begin_inset Index idx
19817 status collapsed
19818
19819 \begin_layout Plain Layout
19820 Tables
19821 \end_layout
19822
19823 \end_inset
19824
19825
19826 \begin_inset CommandInset label
19827 LatexCommand label
19828 name "sec:Tables"
19829
19830 \end_inset
19831
19832
19833 \end_layout
19834
19835 \begin_layout Standard
19836 You can insert a table using either the toolbar button 
19837 \begin_inset Info
19838 type  "icon"
19839 arg   "tabular-insert"
19840 \end_inset
19841
19842  or the menu 
19843 \family sans
19844 Insert\SpecialChar menuseparator
19845 Table
19846 \family default
19847 .
19848  A dialog will appear, asking you for the number of rows and columns.
19849  The default table has lines around any cell and the first row appears separated
19850  from the rest of the table.
19851  This separation appears due to a double line: The cells of the first row
19852  have a line below them and the cells of the second row have a line above
19853  them.
19854  Here is an example table:
19855 \end_layout
19856
19857 \begin_layout Standard
19858 \align center
19859 \begin_inset Tabular
19860 <lyxtabular version="3" rows="4" columns="4">
19861 <features tabularvalignment="middle">
19862 <column alignment="center" valignment="top" width="0pt">
19863 <column alignment="center" valignment="top" width="0pt">
19864 <column alignment="center" valignment="top" width="0in">
19865 <column alignment="center" valignment="top" width="0pt">
19866 <row>
19867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19868 \begin_inset Text
19869
19870 \begin_layout Plain Layout
19871
19872 \end_layout
19873
19874 \end_inset
19875 </cell>
19876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19877 \begin_inset Text
19878
19879 \begin_layout Plain Layout
19880
19881 \family roman
19882 \series medium
19883 \shape up
19884 \size normal
19885 \emph off
19886 \bar no
19887 \noun off
19888 \color none
19889 1
19890 \end_layout
19891
19892 \end_inset
19893 </cell>
19894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19895 \begin_inset Text
19896
19897 \begin_layout Plain Layout
19898 2
19899 \end_layout
19900
19901 \end_inset
19902 </cell>
19903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19904 \begin_inset Text
19905
19906 \begin_layout Plain Layout
19907 3
19908 \end_layout
19909
19910 \end_inset
19911 </cell>
19912 </row>
19913 <row>
19914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19915 \begin_inset Text
19916
19917 \begin_layout Plain Layout
19918
19919 \family roman
19920 \series medium
19921 \shape up
19922 \size normal
19923 \emph off
19924 \bar no
19925 \noun off
19926 \color none
19927 A
19928 \end_layout
19929
19930 \end_inset
19931 </cell>
19932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19933 \begin_inset Text
19934
19935 \begin_layout Plain Layout
19936
19937 \end_layout
19938
19939 \end_inset
19940 </cell>
19941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19942 \begin_inset Text
19943
19944 \begin_layout Plain Layout
19945
19946 \end_layout
19947
19948 \end_inset
19949 </cell>
19950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19951 \begin_inset Text
19952
19953 \begin_layout Plain Layout
19954
19955 \end_layout
19956
19957 \end_inset
19958 </cell>
19959 </row>
19960 <row>
19961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19962 \begin_inset Text
19963
19964 \begin_layout Plain Layout
19965
19966 \family roman
19967 \series medium
19968 \shape up
19969 \size normal
19970 \emph off
19971 \bar no
19972 \noun off
19973 \color none
19974 B
19975 \end_layout
19976
19977 \end_inset
19978 </cell>
19979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19980 \begin_inset Text
19981
19982 \begin_layout Plain Layout
19983
19984 \end_layout
19985
19986 \end_inset
19987 </cell>
19988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19989 \begin_inset Text
19990
19991 \begin_layout Plain Layout
19992
19993 \size normal
19994 \noun off
19995 \color none
19996  
19997 \end_layout
19998
19999 \end_inset
20000 </cell>
20001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20002 \begin_inset Text
20003
20004 \begin_layout Plain Layout
20005
20006 \end_layout
20007
20008 \end_inset
20009 </cell>
20010 </row>
20011 <row>
20012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20013 \begin_inset Text
20014
20015 \begin_layout Plain Layout
20016
20017 \family roman
20018 \series medium
20019 \shape up
20020 \size normal
20021 \emph off
20022 \bar no
20023 \noun off
20024 \color none
20025 C
20026 \end_layout
20027
20028 \end_inset
20029 </cell>
20030 <cell alignment="center" valignment="top" topline="true" bottomline="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" bottomline="true" leftline="true" usebox="none">
20040 \begin_inset Text
20041
20042 \begin_layout Plain Layout
20043
20044 \end_layout
20045
20046 \end_inset
20047 </cell>
20048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20049 \begin_inset Text
20050
20051 \begin_layout Plain Layout
20052
20053 \end_layout
20054
20055 \end_inset
20056 </cell>
20057 </row>
20058 </lyxtabular>
20059
20060 \end_inset
20061
20062
20063 \end_layout
20064
20065 \begin_layout Subsection
20066 Table Dialog
20067 \end_layout
20068
20069 \begin_layout Standard
20070 You can alter a table by clicking on it with the right mouse button and
20071  then choosing 
20072 \family sans
20073 More\SpecialChar menuseparator
20074 Settings
20075 \family default
20076 .
20077  This brings up the table dialog.
20078  Here you can adjust the settings of the cell, row and/or column where the
20079  cursor is placed currently.
20080  Most of the dialog options also work on selections.
20081  This means that if you select more cells, columns or rows the action is
20082  done on all of your selection.
20083 \end_layout
20084
20085 \begin_layout Standard
20086 In addition to the table dialog, the 
20087 \family sans
20088 table
20089 \begin_inset space ~
20090 \end_inset
20091
20092 toolbar
20093 \family default
20094  helps you in setting table properties.
20095  It appears if the cursor is inside a table.
20096 \end_layout
20097
20098 \begin_layout Standard
20099 In the tab 
20100 \family sans
20101 Table
20102 \begin_inset space ~
20103 \end_inset
20104
20105 Settings
20106 \family default
20107  of the table dialog you can set the alignment for the current row.
20108  If you add a row or column, it will be inserted right beside or below the
20109  current cell respectively.
20110  The vertical alignment of a column can only be adjusted when a column width
20111  is given.
20112  A given width will allow the cell to have line breaks and multiple paragraphs
20113  of text, see section
20114 \begin_inset space ~
20115 \end_inset
20116
20117
20118 \begin_inset CommandInset ref
20119 LatexCommand ref
20120 reference "subsec:Table-Cells"
20121
20122 \end_inset
20123
20124 .
20125 \end_layout
20126
20127 \begin_layout Standard
20128 You can mark multiple cells of one row/column as a multicolumn/row cell
20129  using the check box 
20130 \family sans
20131 Multicolumn
20132 \family default
20133  or 
20134 \family sans
20135 Multirow
20136 \family default
20137 .
20138  This will merge the cells to 
20139 \emph on
20140 one
20141 \emph default
20142  cell, spread over more than one column/row.
20143  Multicolumn cells are treated as own rows, so that the alignment, width,
20144  and border settings affect only the multicolumn cell.
20145  Here is an example table with a multicolumn cell in the first row and one
20146  in the last row without the upper border:
20147 \end_layout
20148
20149 \begin_layout Standard
20150 \align center
20151 \begin_inset Tabular
20152 <lyxtabular version="3" rows="3" columns="4">
20153 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
20154 <column alignment="center" valignment="top" width="0pt">
20155 <column alignment="center" valignment="middle">
20156 <column alignment="center" valignment="top" width="0in">
20157 <column alignment="center" valignment="top" width="0pt">
20158 <row>
20159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20160 \begin_inset Text
20161
20162 \begin_layout Plain Layout
20163 abc
20164 \end_layout
20165
20166 \end_inset
20167 </cell>
20168 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
20169 \begin_inset Text
20170
20171 \begin_layout Plain Layout
20172 def ghi
20173 \end_layout
20174
20175 \end_inset
20176 </cell>
20177 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20178 \begin_inset Text
20179
20180 \begin_layout Plain Layout
20181
20182 \end_layout
20183
20184 \end_inset
20185 </cell>
20186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20187 \begin_inset Text
20188
20189 \begin_layout Plain Layout
20190 jkl
20191 \end_layout
20192
20193 \end_inset
20194 </cell>
20195 </row>
20196 <row>
20197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20198 \begin_inset Text
20199
20200 \begin_layout Plain Layout
20201
20202 \family roman
20203 \series medium
20204 \shape up
20205 \size normal
20206 \emph off
20207 \bar no
20208 \noun off
20209 \color none
20210 A
20211 \end_layout
20212
20213 \end_inset
20214 </cell>
20215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20216 \begin_inset Text
20217
20218 \begin_layout Plain Layout
20219 B
20220 \end_layout
20221
20222 \end_inset
20223 </cell>
20224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20225 \begin_inset Text
20226
20227 \begin_layout Plain Layout
20228 C
20229 \end_layout
20230
20231 \end_inset
20232 </cell>
20233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20234 \begin_inset Text
20235
20236 \begin_layout Plain Layout
20237 D
20238 \end_layout
20239
20240 \end_inset
20241 </cell>
20242 </row>
20243 <row>
20244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20245 \begin_inset Text
20246
20247 \begin_layout Plain Layout
20248 1
20249 \end_layout
20250
20251 \end_inset
20252 </cell>
20253 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20254 \begin_inset Text
20255
20256 \begin_layout Plain Layout
20257 2
20258 \end_layout
20259
20260 \end_inset
20261 </cell>
20262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20263 \begin_inset Text
20264
20265 \begin_layout Plain Layout
20266 3
20267 \end_layout
20268
20269 \end_inset
20270 </cell>
20271 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20272 \begin_inset Text
20273
20274 \begin_layout Plain Layout
20275 4
20276 \end_layout
20277
20278 \end_inset
20279 </cell>
20280 </row>
20281 </lyxtabular>
20282
20283 \end_inset
20284
20285
20286 \end_layout
20287
20288 \begin_layout Standard
20289 Adept users can declare special \SpecialChar LaTeX
20290 -arguments for the table.
20291  They are necessary for special table formatting, such as the multirow cells,
20292  explained in the chapter 
20293 \emph on
20294 Tables
20295 \emph default
20296  of the 
20297 \emph on
20298 Embedded
20299 \begin_inset space ~
20300 \end_inset
20301
20302 Objects
20303 \emph default
20304  manual.
20305  You can also rotate the current cell or the whole table.
20306  These rotations are not visible in \SpecialChar LyX
20307  but are visible in the output.
20308 \end_layout
20309
20310 \begin_layout Standard
20311 \begin_inset Note Greyedout
20312 status open
20313
20314 \begin_layout Plain Layout
20315
20316 \series bold
20317 Note:
20318 \series default
20319  Most DVI-viewers are 
20320 \emph on
20321 not
20322 \emph default
20323  able to display rotations.
20324 \end_layout
20325
20326 \end_inset
20327
20328
20329 \end_layout
20330
20331 \begin_layout Standard
20332 The 
20333 \family sans
20334 Borders
20335 \family default
20336  tab allows you to add and delete border lines for the current row/column.
20337  The button 
20338 \family sans
20339 Default
20340 \family default
20341  adds lines for all cell borders.
20342 \end_layout
20343
20344 \begin_layout Subsection
20345 Multi-page Tables
20346 \begin_inset Index idx
20347 status collapsed
20348
20349 \begin_layout Plain Layout
20350 Tables ! Multi-page
20351 \end_layout
20352
20353 \end_inset
20354
20355
20356 \begin_inset Index idx
20357 status collapsed
20358
20359 \begin_layout Plain Layout
20360 Multi-page tables
20361 \end_layout
20362
20363 \end_inset
20364
20365
20366 \end_layout
20367
20368 \begin_layout Standard
20369 If the table is too long to fit on one page, you can use the option 
20370 \family sans
20371 Use
20372 \begin_inset space ~
20373 \end_inset
20374
20375 multi-page
20376 \begin_inset space ~
20377 \end_inset
20378
20379 table
20380 \family default
20381  in the tab 
20382 \family sans
20383 Multi-page
20384 \begin_inset space ~
20385 \end_inset
20386
20387 table
20388 \family default
20389  of the table dialog to split the table automatically over more pages.
20390  Doing this enables some check boxes and you can now define:
20391 \end_layout
20392
20393 \begin_layout Description
20394
20395 \family sans
20396 Header
20397 \family default
20398 : The current row and all rows above, that don't have any special options
20399  defined, are defined to be the header rows of all pages of the longtable.
20400  Except for the first page, if 
20401 \family sans
20402 First
20403 \begin_inset space ~
20404 \end_inset
20405
20406 header
20407 \family default
20408  is defined.
20409 \end_layout
20410
20411 \begin_layout Description
20412
20413 \family sans
20414 First
20415 \begin_inset space ~
20416 \end_inset
20417
20418 header
20419 \family default
20420 : The current row and all rows above, that don't have any special options
20421  defined, are defined to be the header rows of the first page of the longtable.
20422 \end_layout
20423
20424 \begin_layout Description
20425
20426 \family sans
20427 Footer
20428 \family default
20429 : The current row and all rows below, that don't have any special options
20430  defined, are defined to be the footer rows of all pages of the longtable,
20431  except for the last page, if 
20432 \family sans
20433 Last
20434 \begin_inset space ~
20435 \end_inset
20436
20437 footer
20438 \family default
20439  is defined.
20440 \end_layout
20441
20442 \begin_layout Description
20443
20444 \family sans
20445 Last
20446 \begin_inset space ~
20447 \end_inset
20448
20449 footer
20450 \family default
20451 : The current row and all rows below, that don't have any special options
20452  defined, are defined to be the footer rows of the last page of the longtable.
20453 \end_layout
20454
20455 \begin_layout Description
20456 Caption: The first row is reset as a single column.
20457  You can now insert there the table caption via the menu 
20458 \family sans
20459 Insert\SpecialChar menuseparator
20460 Caption
20461 \family default
20462 .
20463  More about multi-page table captions can be found in the 
20464 \emph on
20465 Embedded
20466 \begin_inset space ~
20467 \end_inset
20468
20469 Objects
20470 \emph default
20471  manual.
20472 \end_layout
20473
20474 \begin_layout Standard
20475 You can also specify a row where the table is split.
20476  If you set more than one option in the same table row, you should be aware
20477  that then only the first option is used; the others will be defined as
20478  
20479 \emph on
20480 empty
20481 \emph default
20482 .
20483  In this context, first means first in this order: 
20484 \family sans
20485 Footer, Last
20486 \begin_inset space ~
20487 \end_inset
20488
20489 footer,
20490 \family default
20491  
20492 \family sans
20493 Header,
20494 \family default
20495  
20496 \family sans
20497 First
20498 \begin_inset space ~
20499 \end_inset
20500
20501 header
20502 \family default
20503 ; see the following longtable to see how it works:
20504 \end_layout
20505
20506 \begin_layout Standard
20507 \align center
20508 \begin_inset Tabular
20509 <lyxtabular version="3" rows="69" columns="3">
20510 <features islongtable="true" longtabularalignment="center">
20511 <column alignment="block" valignment="top" width="5cm">
20512 <column alignment="left" valignment="top" width="0pt">
20513 <column alignment="right" valignment="top" width="0pt">
20514 <row endfirsthead="true">
20515 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20516 \begin_inset Text
20517
20518 \begin_layout Plain Layout
20519
20520 \series bold
20521 Example Phone List (ignore the names)
20522 \end_layout
20523
20524 \end_inset
20525 </cell>
20526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20527 \begin_inset Text
20528
20529 \begin_layout Plain Layout
20530
20531 \end_layout
20532
20533 \end_inset
20534 </cell>
20535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20536 \begin_inset Text
20537
20538 \begin_layout Plain Layout
20539
20540 \end_layout
20541
20542 \end_inset
20543 </cell>
20544 </row>
20545 <row endfirsthead="true">
20546 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20547 \begin_inset Text
20548
20549 \begin_layout Plain Layout
20550
20551 \series bold
20552 NAME
20553 \end_layout
20554
20555 \end_inset
20556 </cell>
20557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20558 \begin_inset Text
20559
20560 \begin_layout Plain Layout
20561
20562 \end_layout
20563
20564 \end_inset
20565 </cell>
20566 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20567 \begin_inset Text
20568
20569 \begin_layout Plain Layout
20570
20571 \series bold
20572 TEL.
20573 \end_layout
20574
20575 \end_inset
20576 </cell>
20577 </row>
20578 <row endhead="true">
20579 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20580 \begin_inset Text
20581
20582 \begin_layout Plain Layout
20583  
20584 \series bold
20585 Example Phone List
20586 \end_layout
20587
20588 \end_inset
20589 </cell>
20590 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20591 \begin_inset Text
20592
20593 \begin_layout Plain Layout
20594
20595 \end_layout
20596
20597 \end_inset
20598 </cell>
20599 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20600 \begin_inset Text
20601
20602 \begin_layout Plain Layout
20603
20604 \end_layout
20605
20606 \end_inset
20607 </cell>
20608 </row>
20609 <row endhead="true">
20610 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20611 \begin_inset Text
20612
20613 \begin_layout Plain Layout
20614
20615 \series bold
20616 NAME
20617 \end_layout
20618
20619 \end_inset
20620 </cell>
20621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20622 \begin_inset Text
20623
20624 \begin_layout Plain Layout
20625
20626 \end_layout
20627
20628 \end_inset
20629 </cell>
20630 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20631 \begin_inset Text
20632
20633 \begin_layout Plain Layout
20634
20635 \series bold
20636 TEL.
20637 \end_layout
20638
20639 \end_inset
20640 </cell>
20641 </row>
20642 <row endfoot="true">
20643 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20644 \begin_inset Text
20645
20646 \begin_layout Plain Layout
20647  
20648 \series bold
20649 continue ...
20650 \end_layout
20651
20652 \end_inset
20653 </cell>
20654 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20655 \begin_inset Text
20656
20657 \begin_layout Plain Layout
20658
20659 \end_layout
20660
20661 \end_inset
20662 </cell>
20663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20664 \begin_inset Text
20665
20666 \begin_layout Plain Layout
20667
20668 \end_layout
20669
20670 \end_inset
20671 </cell>
20672 </row>
20673 <row>
20674 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20675 \begin_inset Text
20676
20677 \begin_layout Plain Layout
20678
20679 \series bold
20680 Annovi
20681 \end_layout
20682
20683 \end_inset
20684 </cell>
20685 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20686 \begin_inset Text
20687
20688 \begin_layout Plain Layout
20689 Silvia
20690 \end_layout
20691
20692 \end_inset
20693 </cell>
20694 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20695 \begin_inset Text
20696
20697 \begin_layout Plain Layout
20698 111
20699 \end_layout
20700
20701 \end_inset
20702 </cell>
20703 </row>
20704 <row>
20705 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20706 \begin_inset Text
20707
20708 \begin_layout Plain Layout
20709
20710 \series bold
20711 Bertoli
20712 \end_layout
20713
20714 \end_inset
20715 </cell>
20716 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20717 \begin_inset Text
20718
20719 \begin_layout Plain Layout
20720 Stefano
20721 \end_layout
20722
20723 \end_inset
20724 </cell>
20725 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20726 \begin_inset Text
20727
20728 \begin_layout Plain Layout
20729 111
20730 \end_layout
20731
20732 \end_inset
20733 </cell>
20734 </row>
20735 <row>
20736 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20737 \begin_inset Text
20738
20739 \begin_layout Plain Layout
20740
20741 \series bold
20742 Bozzi
20743 \end_layout
20744
20745 \end_inset
20746 </cell>
20747 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20748 \begin_inset Text
20749
20750 \begin_layout Plain Layout
20751 Walter
20752 \end_layout
20753
20754 \end_inset
20755 </cell>
20756 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20757 \begin_inset Text
20758
20759 \begin_layout Plain Layout
20760 111
20761 \end_layout
20762
20763 \end_inset
20764 </cell>
20765 </row>
20766 <row>
20767 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20768 \begin_inset Text
20769
20770 \begin_layout Plain Layout
20771
20772 \series bold
20773 Cachia
20774 \end_layout
20775
20776 \end_inset
20777 </cell>
20778 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20779 \begin_inset Text
20780
20781 \begin_layout Plain Layout
20782 Maria
20783 \end_layout
20784
20785 \end_inset
20786 </cell>
20787 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20788 \begin_inset Text
20789
20790 \begin_layout Plain Layout
20791 111
20792 \end_layout
20793
20794 \end_inset
20795 </cell>
20796 </row>
20797 <row>
20798 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20799 \begin_inset Text
20800
20801 \begin_layout Plain Layout
20802
20803 \series bold
20804 Cachia
20805 \end_layout
20806
20807 \end_inset
20808 </cell>
20809 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20810 \begin_inset Text
20811
20812 \begin_layout Plain Layout
20813 Maurizio
20814 \end_layout
20815
20816 \end_inset
20817 </cell>
20818 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20819 \begin_inset Text
20820
20821 \begin_layout Plain Layout
20822 111
20823 \end_layout
20824
20825 \end_inset
20826 </cell>
20827 </row>
20828 <row>
20829 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20830 \begin_inset Text
20831
20832 \begin_layout Plain Layout
20833
20834 \series bold
20835 Cinquemani
20836 \end_layout
20837
20838 \end_inset
20839 </cell>
20840 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20841 \begin_inset Text
20842
20843 \begin_layout Plain Layout
20844 Giusi
20845 \end_layout
20846
20847 \end_inset
20848 </cell>
20849 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20850 \begin_inset Text
20851
20852 \begin_layout Plain Layout
20853 111
20854 \end_layout
20855
20856 \end_inset
20857 </cell>
20858 </row>
20859 <row>
20860 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20861 \begin_inset Text
20862
20863 \begin_layout Plain Layout
20864
20865 \series bold
20866 Colin
20867 \end_layout
20868
20869 \end_inset
20870 </cell>
20871 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20872 \begin_inset Text
20873
20874 \begin_layout Plain Layout
20875 Bernard
20876 \end_layout
20877
20878 \end_inset
20879 </cell>
20880 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20881 \begin_inset Text
20882
20883 \begin_layout Plain Layout
20884 111
20885 \end_layout
20886
20887 \end_inset
20888 </cell>
20889 </row>
20890 <row>
20891 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20892 \begin_inset Text
20893
20894 \begin_layout Plain Layout
20895
20896 \series bold
20897 Concli
20898 \end_layout
20899
20900 \end_inset
20901 </cell>
20902 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20903 \begin_inset Text
20904
20905 \begin_layout Plain Layout
20906 Gianfranco
20907 \end_layout
20908
20909 \end_inset
20910 </cell>
20911 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20912 \begin_inset Text
20913
20914 \begin_layout Plain Layout
20915 111
20916 \end_layout
20917
20918 \end_inset
20919 </cell>
20920 </row>
20921 <row>
20922 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20923 \begin_inset Text
20924
20925 \begin_layout Plain Layout
20926
20927 \series bold
20928 Dal Bosco
20929 \end_layout
20930
20931 \end_inset
20932 </cell>
20933 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20934 \begin_inset Text
20935
20936 \begin_layout Plain Layout
20937 Carolina
20938 \end_layout
20939
20940 \end_inset
20941 </cell>
20942 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20943 \begin_inset Text
20944
20945 \begin_layout Plain Layout
20946 111
20947 \end_layout
20948
20949 \end_inset
20950 </cell>
20951 </row>
20952 <row>
20953 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20954 \begin_inset Text
20955
20956 \begin_layout Plain Layout
20957
20958 \series bold
20959 Dalpiaz
20960 \end_layout
20961
20962 \end_inset
20963 </cell>
20964 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20965 \begin_inset Text
20966
20967 \begin_layout Plain Layout
20968 Annamaria
20969 \end_layout
20970
20971 \end_inset
20972 </cell>
20973 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20974 \begin_inset Text
20975
20976 \begin_layout Plain Layout
20977 111
20978 \end_layout
20979
20980 \end_inset
20981 </cell>
20982 </row>
20983 <row>
20984 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20985 \begin_inset Text
20986
20987 \begin_layout Plain Layout
20988
20989 \series bold
20990 Feliciello
20991 \end_layout
20992
20993 \end_inset
20994 </cell>
20995 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20996 \begin_inset Text
20997
20998 \begin_layout Plain Layout
20999 Domenico
21000 \end_layout
21001
21002 \end_inset
21003 </cell>
21004 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21005 \begin_inset Text
21006
21007 \begin_layout Plain Layout
21008 111
21009 \end_layout
21010
21011 \end_inset
21012 </cell>
21013 </row>
21014 <row>
21015 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21016 \begin_inset Text
21017
21018 \begin_layout Plain Layout
21019
21020 \series bold
21021 Focarelli
21022 \end_layout
21023
21024 \end_inset
21025 </cell>
21026 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21027 \begin_inset Text
21028
21029 \begin_layout Plain Layout
21030 Paola
21031 \end_layout
21032
21033 \end_inset
21034 </cell>
21035 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21036 \begin_inset Text
21037
21038 \begin_layout Plain Layout
21039 111
21040 \end_layout
21041
21042 \end_inset
21043 </cell>
21044 </row>
21045 <row>
21046 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21047 \begin_inset Text
21048
21049 \begin_layout Plain Layout
21050
21051 \series bold
21052 Galletti
21053 \end_layout
21054
21055 \end_inset
21056 </cell>
21057 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21058 \begin_inset Text
21059
21060 \begin_layout Plain Layout
21061 Oreste
21062 \end_layout
21063
21064 \end_inset
21065 </cell>
21066 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21067 \begin_inset Text
21068
21069 \begin_layout Plain Layout
21070 111
21071 \end_layout
21072
21073 \end_inset
21074 </cell>
21075 </row>
21076 <row>
21077 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21078 \begin_inset Text
21079
21080 \begin_layout Plain Layout
21081
21082 \series bold
21083 Gasparini
21084 \end_layout
21085
21086 \end_inset
21087 </cell>
21088 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21089 \begin_inset Text
21090
21091 \begin_layout Plain Layout
21092 Franca
21093 \end_layout
21094
21095 \end_inset
21096 </cell>
21097 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21098 \begin_inset Text
21099
21100 \begin_layout Plain Layout
21101 111
21102 \end_layout
21103
21104 \end_inset
21105 </cell>
21106 </row>
21107 <row>
21108 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21109 \begin_inset Text
21110
21111 \begin_layout Plain Layout
21112
21113 \series bold
21114 Rizzardi
21115 \end_layout
21116
21117 \end_inset
21118 </cell>
21119 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21120 \begin_inset Text
21121
21122 \begin_layout Plain Layout
21123 Paola
21124 \end_layout
21125
21126 \end_inset
21127 </cell>
21128 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21129 \begin_inset Text
21130
21131 \begin_layout Plain Layout
21132 111
21133 \end_layout
21134
21135 \end_inset
21136 </cell>
21137 </row>
21138 <row>
21139 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21140 \begin_inset Text
21141
21142 \begin_layout Plain Layout
21143
21144 \series bold
21145 Lassini
21146 \end_layout
21147
21148 \end_inset
21149 </cell>
21150 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21151 \begin_inset Text
21152
21153 \begin_layout Plain Layout
21154 Giancarlo
21155 \end_layout
21156
21157 \end_inset
21158 </cell>
21159 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21160 \begin_inset Text
21161
21162 \begin_layout Plain Layout
21163 111
21164 \end_layout
21165
21166 \end_inset
21167 </cell>
21168 </row>
21169 <row>
21170 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21171 \begin_inset Text
21172
21173 \begin_layout Plain Layout
21174
21175 \series bold
21176 Malfatti
21177 \end_layout
21178
21179 \end_inset
21180 </cell>
21181 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21182 \begin_inset Text
21183
21184 \begin_layout Plain Layout
21185 Luciano
21186 \end_layout
21187
21188 \end_inset
21189 </cell>
21190 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21191 \begin_inset Text
21192
21193 \begin_layout Plain Layout
21194 111
21195 \end_layout
21196
21197 \end_inset
21198 </cell>
21199 </row>
21200 <row>
21201 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21202 \begin_inset Text
21203
21204 \begin_layout Plain Layout
21205
21206 \series bold
21207 Malfatti
21208 \end_layout
21209
21210 \end_inset
21211 </cell>
21212 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21213 \begin_inset Text
21214
21215 \begin_layout Plain Layout
21216 Valeriano
21217 \end_layout
21218
21219 \end_inset
21220 </cell>
21221 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21222 \begin_inset Text
21223
21224 \begin_layout Plain Layout
21225 111
21226 \end_layout
21227
21228 \end_inset
21229 </cell>
21230 </row>
21231 <row>
21232 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21233 \begin_inset Text
21234
21235 \begin_layout Plain Layout
21236
21237 \series bold
21238 Meneguzzo
21239 \end_layout
21240
21241 \end_inset
21242 </cell>
21243 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21244 \begin_inset Text
21245
21246 \begin_layout Plain Layout
21247 Roberto
21248 \end_layout
21249
21250 \end_inset
21251 </cell>
21252 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21253 \begin_inset Text
21254
21255 \begin_layout Plain Layout
21256 111
21257 \end_layout
21258
21259 \end_inset
21260 </cell>
21261 </row>
21262 <row>
21263 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21264 \begin_inset Text
21265
21266 \begin_layout Plain Layout
21267
21268 \series bold
21269 Mezzadra
21270 \end_layout
21271
21272 \end_inset
21273 </cell>
21274 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21275 \begin_inset Text
21276
21277 \begin_layout Plain Layout
21278 Roberto
21279 \end_layout
21280
21281 \end_inset
21282 </cell>
21283 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21284 \begin_inset Text
21285
21286 \begin_layout Plain Layout
21287 111
21288 \end_layout
21289
21290 \end_inset
21291 </cell>
21292 </row>
21293 <row>
21294 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21295 \begin_inset Text
21296
21297 \begin_layout Plain Layout
21298
21299 \series bold
21300 Pirpamer
21301 \end_layout
21302
21303 \end_inset
21304 </cell>
21305 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21306 \begin_inset Text
21307
21308 \begin_layout Plain Layout
21309 Erich
21310 \end_layout
21311
21312 \end_inset
21313 </cell>
21314 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21315 \begin_inset Text
21316
21317 \begin_layout Plain Layout
21318 111
21319 \end_layout
21320
21321 \end_inset
21322 </cell>
21323 </row>
21324 <row>
21325 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21326 \begin_inset Text
21327
21328 \begin_layout Plain Layout
21329
21330 \series bold
21331 Pochiesa
21332 \end_layout
21333
21334 \end_inset
21335 </cell>
21336 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21337 \begin_inset Text
21338
21339 \begin_layout Plain Layout
21340 Paolo
21341 \end_layout
21342
21343 \end_inset
21344 </cell>
21345 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21346 \begin_inset Text
21347
21348 \begin_layout Plain Layout
21349 111, 222
21350 \end_layout
21351
21352 \end_inset
21353 </cell>
21354 </row>
21355 <row>
21356 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21357 \begin_inset Text
21358
21359 \begin_layout Plain Layout
21360
21361 \series bold
21362 Radina
21363 \end_layout
21364
21365 \end_inset
21366 </cell>
21367 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21368 \begin_inset Text
21369
21370 \begin_layout Plain Layout
21371 Claudio
21372 \end_layout
21373
21374 \end_inset
21375 </cell>
21376 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21377 \begin_inset Text
21378
21379 \begin_layout Plain Layout
21380 111
21381 \end_layout
21382
21383 \end_inset
21384 </cell>
21385 </row>
21386 <row>
21387 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21388 \begin_inset Text
21389
21390 \begin_layout Plain Layout
21391
21392 \series bold
21393 Stuffer
21394 \end_layout
21395
21396 \end_inset
21397 </cell>
21398 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21399 \begin_inset Text
21400
21401 \begin_layout Plain Layout
21402 Oskar
21403 \end_layout
21404
21405 \end_inset
21406 </cell>
21407 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21408 \begin_inset Text
21409
21410 \begin_layout Plain Layout
21411 111
21412 \end_layout
21413
21414 \end_inset
21415 </cell>
21416 </row>
21417 <row>
21418 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21419 \begin_inset Text
21420
21421 \begin_layout Plain Layout
21422
21423 \series bold
21424 Tacchelli
21425 \end_layout
21426
21427 \end_inset
21428 </cell>
21429 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21430 \begin_inset Text
21431
21432 \begin_layout Plain Layout
21433 Ugo
21434 \end_layout
21435
21436 \end_inset
21437 </cell>
21438 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21439 \begin_inset Text
21440
21441 \begin_layout Plain Layout
21442 111
21443 \end_layout
21444
21445 \end_inset
21446 </cell>
21447 </row>
21448 <row>
21449 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21450 \begin_inset Text
21451
21452 \begin_layout Plain Layout
21453
21454 \series bold
21455 Tezzele
21456 \end_layout
21457
21458 \end_inset
21459 </cell>
21460 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21461 \begin_inset Text
21462
21463 \begin_layout Plain Layout
21464 Margit
21465 \end_layout
21466
21467 \end_inset
21468 </cell>
21469 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21470 \begin_inset Text
21471
21472 \begin_layout Plain Layout
21473 111
21474 \end_layout
21475
21476 \end_inset
21477 </cell>
21478 </row>
21479 <row>
21480 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21481 \begin_inset Text
21482
21483 \begin_layout Plain Layout
21484
21485 \series bold
21486 Unterkalmsteiner
21487 \end_layout
21488
21489 \end_inset
21490 </cell>
21491 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21492 \begin_inset Text
21493
21494 \begin_layout Plain Layout
21495 Frieda
21496 \end_layout
21497
21498 \end_inset
21499 </cell>
21500 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21501 \begin_inset Text
21502
21503 \begin_layout Plain Layout
21504 111
21505 \end_layout
21506
21507 \end_inset
21508 </cell>
21509 </row>
21510 <row>
21511 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21512 \begin_inset Text
21513
21514 \begin_layout Plain Layout
21515
21516 \series bold
21517 Vieider
21518 \end_layout
21519
21520 \end_inset
21521 </cell>
21522 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21523 \begin_inset Text
21524
21525 \begin_layout Plain Layout
21526 Hilde
21527 \end_layout
21528
21529 \end_inset
21530 </cell>
21531 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21532 \begin_inset Text
21533
21534 \begin_layout Plain Layout
21535 111
21536 \end_layout
21537
21538 \end_inset
21539 </cell>
21540 </row>
21541 <row>
21542 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21543 \begin_inset Text
21544
21545 \begin_layout Plain Layout
21546
21547 \series bold
21548 Vigna
21549 \end_layout
21550
21551 \end_inset
21552 </cell>
21553 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21554 \begin_inset Text
21555
21556 \begin_layout Plain Layout
21557 Jürgen
21558 \end_layout
21559
21560 \end_inset
21561 </cell>
21562 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21563 \begin_inset Text
21564
21565 \begin_layout Plain Layout
21566 111
21567 \end_layout
21568
21569 \end_inset
21570 </cell>
21571 </row>
21572 <row>
21573 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21574 \begin_inset Text
21575
21576 \begin_layout Plain Layout
21577
21578 \series bold
21579 Weber
21580 \end_layout
21581
21582 \end_inset
21583 </cell>
21584 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21585 \begin_inset Text
21586
21587 \begin_layout Plain Layout
21588 Maurizio
21589 \end_layout
21590
21591 \end_inset
21592 </cell>
21593 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21594 \begin_inset Text
21595
21596 \begin_layout Plain Layout
21597 111
21598 \end_layout
21599
21600 \end_inset
21601 </cell>
21602 </row>
21603 <row>
21604 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21605 \begin_inset Text
21606
21607 \begin_layout Plain Layout
21608
21609 \series bold
21610 Winkler
21611 \end_layout
21612
21613 \end_inset
21614 </cell>
21615 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21616 \begin_inset Text
21617
21618 \begin_layout Plain Layout
21619 Franz
21620 \end_layout
21621
21622 \end_inset
21623 </cell>
21624 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21625 \begin_inset Text
21626
21627 \begin_layout Plain Layout
21628 111
21629 \end_layout
21630
21631 \end_inset
21632 </cell>
21633 </row>
21634 <row>
21635 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21636 \begin_inset Text
21637
21638 \begin_layout Plain Layout
21639  
21640 \end_layout
21641
21642 \end_inset
21643 </cell>
21644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
21645 \begin_inset Text
21646
21647 \begin_layout Plain Layout
21648
21649 \end_layout
21650
21651 \end_inset
21652 </cell>
21653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21654 \begin_inset Text
21655
21656 \begin_layout Plain Layout
21657
21658 \end_layout
21659
21660 \end_inset
21661 </cell>
21662 </row>
21663 <row>
21664 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21665 \begin_inset Text
21666
21667 \begin_layout Plain Layout
21668
21669 \series bold
21670 Annovi
21671 \end_layout
21672
21673 \end_inset
21674 </cell>
21675 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21676 \begin_inset Text
21677
21678 \begin_layout Plain Layout
21679 Silvia
21680 \end_layout
21681
21682 \end_inset
21683 </cell>
21684 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21685 \begin_inset Text
21686
21687 \begin_layout Plain Layout
21688 555
21689 \end_layout
21690
21691 \end_inset
21692 </cell>
21693 </row>
21694 <row>
21695 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21696 \begin_inset Text
21697
21698 \begin_layout Plain Layout
21699
21700 \series bold
21701 Bertoli
21702 \end_layout
21703
21704 \end_inset
21705 </cell>
21706 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21707 \begin_inset Text
21708
21709 \begin_layout Plain Layout
21710 Stefano
21711 \end_layout
21712
21713 \end_inset
21714 </cell>
21715 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21716 \begin_inset Text
21717
21718 \begin_layout Plain Layout
21719 555
21720 \end_layout
21721
21722 \end_inset
21723 </cell>
21724 </row>
21725 <row>
21726 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21727 \begin_inset Text
21728
21729 \begin_layout Plain Layout
21730
21731 \series bold
21732 Bozzi
21733 \end_layout
21734
21735 \end_inset
21736 </cell>
21737 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21738 \begin_inset Text
21739
21740 \begin_layout Plain Layout
21741 Walter
21742 \end_layout
21743
21744 \end_inset
21745 </cell>
21746 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21747 \begin_inset Text
21748
21749 \begin_layout Plain Layout
21750 555
21751 \end_layout
21752
21753 \end_inset
21754 </cell>
21755 </row>
21756 <row>
21757 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21758 \begin_inset Text
21759
21760 \begin_layout Plain Layout
21761
21762 \series bold
21763 Cachia
21764 \end_layout
21765
21766 \end_inset
21767 </cell>
21768 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21769 \begin_inset Text
21770
21771 \begin_layout Plain Layout
21772 Maria
21773 \end_layout
21774
21775 \end_inset
21776 </cell>
21777 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21778 \begin_inset Text
21779
21780 \begin_layout Plain Layout
21781 555
21782 \end_layout
21783
21784 \end_inset
21785 </cell>
21786 </row>
21787 <row>
21788 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21789 \begin_inset Text
21790
21791 \begin_layout Plain Layout
21792
21793 \series bold
21794 Cachia
21795 \end_layout
21796
21797 \end_inset
21798 </cell>
21799 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21800 \begin_inset Text
21801
21802 \begin_layout Plain Layout
21803 Maurizio
21804 \end_layout
21805
21806 \end_inset
21807 </cell>
21808 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21809 \begin_inset Text
21810
21811 \begin_layout Plain Layout
21812 555
21813 \end_layout
21814
21815 \end_inset
21816 </cell>
21817 </row>
21818 <row>
21819 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21820 \begin_inset Text
21821
21822 \begin_layout Plain Layout
21823
21824 \series bold
21825 Cinquemani
21826 \end_layout
21827
21828 \end_inset
21829 </cell>
21830 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21831 \begin_inset Text
21832
21833 \begin_layout Plain Layout
21834 Giusi
21835 \end_layout
21836
21837 \end_inset
21838 </cell>
21839 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21840 \begin_inset Text
21841
21842 \begin_layout Plain Layout
21843 555
21844 \end_layout
21845
21846 \end_inset
21847 </cell>
21848 </row>
21849 <row>
21850 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21851 \begin_inset Text
21852
21853 \begin_layout Plain Layout
21854
21855 \series bold
21856 Colin
21857 \end_layout
21858
21859 \end_inset
21860 </cell>
21861 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21862 \begin_inset Text
21863
21864 \begin_layout Plain Layout
21865 Bernard
21866 \end_layout
21867
21868 \end_inset
21869 </cell>
21870 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21871 \begin_inset Text
21872
21873 \begin_layout Plain Layout
21874 555
21875 \end_layout
21876
21877 \end_inset
21878 </cell>
21879 </row>
21880 <row>
21881 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21882 \begin_inset Text
21883
21884 \begin_layout Plain Layout
21885
21886 \series bold
21887 Concli
21888 \end_layout
21889
21890 \end_inset
21891 </cell>
21892 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21893 \begin_inset Text
21894
21895 \begin_layout Plain Layout
21896 Gianfranco
21897 \end_layout
21898
21899 \end_inset
21900 </cell>
21901 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21902 \begin_inset Text
21903
21904 \begin_layout Plain Layout
21905 555
21906 \end_layout
21907
21908 \end_inset
21909 </cell>
21910 </row>
21911 <row>
21912 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21913 \begin_inset Text
21914
21915 \begin_layout Plain Layout
21916
21917 \series bold
21918 Dal Bosco
21919 \end_layout
21920
21921 \end_inset
21922 </cell>
21923 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21924 \begin_inset Text
21925
21926 \begin_layout Plain Layout
21927 Carolina
21928 \end_layout
21929
21930 \end_inset
21931 </cell>
21932 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21933 \begin_inset Text
21934
21935 \begin_layout Plain Layout
21936 555
21937 \end_layout
21938
21939 \end_inset
21940 </cell>
21941 </row>
21942 <row>
21943 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21944 \begin_inset Text
21945
21946 \begin_layout Plain Layout
21947
21948 \series bold
21949 Dalpiaz
21950 \end_layout
21951
21952 \end_inset
21953 </cell>
21954 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21955 \begin_inset Text
21956
21957 \begin_layout Plain Layout
21958 Annamaria
21959 \end_layout
21960
21961 \end_inset
21962 </cell>
21963 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21964 \begin_inset Text
21965
21966 \begin_layout Plain Layout
21967 555
21968 \end_layout
21969
21970 \end_inset
21971 </cell>
21972 </row>
21973 <row>
21974 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
21975 \begin_inset Text
21976
21977 \begin_layout Plain Layout
21978
21979 \series bold
21980 Feliciello
21981 \end_layout
21982
21983 \end_inset
21984 </cell>
21985 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21986 \begin_inset Text
21987
21988 \begin_layout Plain Layout
21989 Domenico
21990 \end_layout
21991
21992 \end_inset
21993 </cell>
21994 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21995 \begin_inset Text
21996
21997 \begin_layout Plain Layout
21998 555
21999 \end_layout
22000
22001 \end_inset
22002 </cell>
22003 </row>
22004 <row>
22005 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22006 \begin_inset Text
22007
22008 \begin_layout Plain Layout
22009
22010 \series bold
22011 Focarelli
22012 \end_layout
22013
22014 \end_inset
22015 </cell>
22016 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22017 \begin_inset Text
22018
22019 \begin_layout Plain Layout
22020 Paola
22021 \end_layout
22022
22023 \end_inset
22024 </cell>
22025 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22026 \begin_inset Text
22027
22028 \begin_layout Plain Layout
22029 555
22030 \end_layout
22031
22032 \end_inset
22033 </cell>
22034 </row>
22035 <row>
22036 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22037 \begin_inset Text
22038
22039 \begin_layout Plain Layout
22040
22041 \series bold
22042 Galletti
22043 \end_layout
22044
22045 \end_inset
22046 </cell>
22047 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22048 \begin_inset Text
22049
22050 \begin_layout Plain Layout
22051 Oreste
22052 \end_layout
22053
22054 \end_inset
22055 </cell>
22056 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22057 \begin_inset Text
22058
22059 \begin_layout Plain Layout
22060 555
22061 \end_layout
22062
22063 \end_inset
22064 </cell>
22065 </row>
22066 <row>
22067 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22068 \begin_inset Text
22069
22070 \begin_layout Plain Layout
22071
22072 \series bold
22073 Gasparini
22074 \end_layout
22075
22076 \end_inset
22077 </cell>
22078 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22079 \begin_inset Text
22080
22081 \begin_layout Plain Layout
22082 Franca
22083 \end_layout
22084
22085 \end_inset
22086 </cell>
22087 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22088 \begin_inset Text
22089
22090 \begin_layout Plain Layout
22091 555
22092 \end_layout
22093
22094 \end_inset
22095 </cell>
22096 </row>
22097 <row>
22098 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22099 \begin_inset Text
22100
22101 \begin_layout Plain Layout
22102
22103 \series bold
22104 Rizzardi
22105 \end_layout
22106
22107 \end_inset
22108 </cell>
22109 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22110 \begin_inset Text
22111
22112 \begin_layout Plain Layout
22113 Paola
22114 \end_layout
22115
22116 \end_inset
22117 </cell>
22118 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22119 \begin_inset Text
22120
22121 \begin_layout Plain Layout
22122 555
22123 \end_layout
22124
22125 \end_inset
22126 </cell>
22127 </row>
22128 <row>
22129 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22130 \begin_inset Text
22131
22132 \begin_layout Plain Layout
22133
22134 \series bold
22135 Lassini
22136 \end_layout
22137
22138 \end_inset
22139 </cell>
22140 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22141 \begin_inset Text
22142
22143 \begin_layout Plain Layout
22144 Giancarlo
22145 \end_layout
22146
22147 \end_inset
22148 </cell>
22149 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22150 \begin_inset Text
22151
22152 \begin_layout Plain Layout
22153 555
22154 \end_layout
22155
22156 \end_inset
22157 </cell>
22158 </row>
22159 <row>
22160 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22161 \begin_inset Text
22162
22163 \begin_layout Plain Layout
22164
22165 \series bold
22166 Malfatti
22167 \end_layout
22168
22169 \end_inset
22170 </cell>
22171 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22172 \begin_inset Text
22173
22174 \begin_layout Plain Layout
22175 Luciano
22176 \end_layout
22177
22178 \end_inset
22179 </cell>
22180 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22181 \begin_inset Text
22182
22183 \begin_layout Plain Layout
22184 555
22185 \end_layout
22186
22187 \end_inset
22188 </cell>
22189 </row>
22190 <row>
22191 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22192 \begin_inset Text
22193
22194 \begin_layout Plain Layout
22195
22196 \series bold
22197 Malfatti
22198 \end_layout
22199
22200 \end_inset
22201 </cell>
22202 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22203 \begin_inset Text
22204
22205 \begin_layout Plain Layout
22206 Valeriano
22207 \end_layout
22208
22209 \end_inset
22210 </cell>
22211 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22212 \begin_inset Text
22213
22214 \begin_layout Plain Layout
22215 555
22216 \end_layout
22217
22218 \end_inset
22219 </cell>
22220 </row>
22221 <row>
22222 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22223 \begin_inset Text
22224
22225 \begin_layout Plain Layout
22226
22227 \series bold
22228 Meneguzzo
22229 \end_layout
22230
22231 \end_inset
22232 </cell>
22233 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22234 \begin_inset Text
22235
22236 \begin_layout Plain Layout
22237 Roberto
22238 \end_layout
22239
22240 \end_inset
22241 </cell>
22242 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22243 \begin_inset Text
22244
22245 \begin_layout Plain Layout
22246 555
22247 \end_layout
22248
22249 \end_inset
22250 </cell>
22251 </row>
22252 <row>
22253 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22254 \begin_inset Text
22255
22256 \begin_layout Plain Layout
22257
22258 \series bold
22259 Mezzadra
22260 \end_layout
22261
22262 \end_inset
22263 </cell>
22264 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22265 \begin_inset Text
22266
22267 \begin_layout Plain Layout
22268 Roberto
22269 \end_layout
22270
22271 \end_inset
22272 </cell>
22273 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22274 \begin_inset Text
22275
22276 \begin_layout Plain Layout
22277 555
22278 \end_layout
22279
22280 \end_inset
22281 </cell>
22282 </row>
22283 <row>
22284 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22285 \begin_inset Text
22286
22287 \begin_layout Plain Layout
22288
22289 \series bold
22290 Pirpamer
22291 \end_layout
22292
22293 \end_inset
22294 </cell>
22295 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22296 \begin_inset Text
22297
22298 \begin_layout Plain Layout
22299 Erich
22300 \end_layout
22301
22302 \end_inset
22303 </cell>
22304 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22305 \begin_inset Text
22306
22307 \begin_layout Plain Layout
22308 555
22309 \end_layout
22310
22311 \end_inset
22312 </cell>
22313 </row>
22314 <row>
22315 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22316 \begin_inset Text
22317
22318 \begin_layout Plain Layout
22319
22320 \series bold
22321 Pochiesa
22322 \end_layout
22323
22324 \end_inset
22325 </cell>
22326 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22327 \begin_inset Text
22328
22329 \begin_layout Plain Layout
22330 Paolo
22331 \end_layout
22332
22333 \end_inset
22334 </cell>
22335 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22336 \begin_inset Text
22337
22338 \begin_layout Plain Layout
22339 555, 222
22340 \end_layout
22341
22342 \end_inset
22343 </cell>
22344 </row>
22345 <row>
22346 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22347 \begin_inset Text
22348
22349 \begin_layout Plain Layout
22350
22351 \series bold
22352 Radina
22353 \end_layout
22354
22355 \end_inset
22356 </cell>
22357 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22358 \begin_inset Text
22359
22360 \begin_layout Plain Layout
22361 Claudio
22362 \end_layout
22363
22364 \end_inset
22365 </cell>
22366 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22367 \begin_inset Text
22368
22369 \begin_layout Plain Layout
22370 555
22371 \end_layout
22372
22373 \end_inset
22374 </cell>
22375 </row>
22376 <row>
22377 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22378 \begin_inset Text
22379
22380 \begin_layout Plain Layout
22381
22382 \series bold
22383 Stuffer
22384 \end_layout
22385
22386 \end_inset
22387 </cell>
22388 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22389 \begin_inset Text
22390
22391 \begin_layout Plain Layout
22392 Oskar
22393 \end_layout
22394
22395 \end_inset
22396 </cell>
22397 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22398 \begin_inset Text
22399
22400 \begin_layout Plain Layout
22401 555
22402 \end_layout
22403
22404 \end_inset
22405 </cell>
22406 </row>
22407 <row>
22408 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22409 \begin_inset Text
22410
22411 \begin_layout Plain Layout
22412
22413 \series bold
22414 Tacchelli
22415 \end_layout
22416
22417 \end_inset
22418 </cell>
22419 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22420 \begin_inset Text
22421
22422 \begin_layout Plain Layout
22423 Ugo
22424 \end_layout
22425
22426 \end_inset
22427 </cell>
22428 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22429 \begin_inset Text
22430
22431 \begin_layout Plain Layout
22432 555
22433 \end_layout
22434
22435 \end_inset
22436 </cell>
22437 </row>
22438 <row>
22439 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22440 \begin_inset Text
22441
22442 \begin_layout Plain Layout
22443
22444 \series bold
22445 Tezzele
22446 \end_layout
22447
22448 \end_inset
22449 </cell>
22450 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22451 \begin_inset Text
22452
22453 \begin_layout Plain Layout
22454 Margit
22455 \end_layout
22456
22457 \end_inset
22458 </cell>
22459 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22460 \begin_inset Text
22461
22462 \begin_layout Plain Layout
22463 555
22464 \end_layout
22465
22466 \end_inset
22467 </cell>
22468 </row>
22469 <row>
22470 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22471 \begin_inset Text
22472
22473 \begin_layout Plain Layout
22474
22475 \series bold
22476 Unterkalmsteiner
22477 \end_layout
22478
22479 \end_inset
22480 </cell>
22481 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22482 \begin_inset Text
22483
22484 \begin_layout Plain Layout
22485 Frieda
22486 \end_layout
22487
22488 \end_inset
22489 </cell>
22490 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22491 \begin_inset Text
22492
22493 \begin_layout Plain Layout
22494 555
22495 \end_layout
22496
22497 \end_inset
22498 </cell>
22499 </row>
22500 <row>
22501 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22502 \begin_inset Text
22503
22504 \begin_layout Plain Layout
22505
22506 \series bold
22507 Vieider
22508 \end_layout
22509
22510 \end_inset
22511 </cell>
22512 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22513 \begin_inset Text
22514
22515 \begin_layout Plain Layout
22516 Hilde
22517 \end_layout
22518
22519 \end_inset
22520 </cell>
22521 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22522 \begin_inset Text
22523
22524 \begin_layout Plain Layout
22525 555
22526 \end_layout
22527
22528 \end_inset
22529 </cell>
22530 </row>
22531 <row>
22532 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22533 \begin_inset Text
22534
22535 \begin_layout Plain Layout
22536
22537 \series bold
22538 Vigna
22539 \end_layout
22540
22541 \end_inset
22542 </cell>
22543 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22544 \begin_inset Text
22545
22546 \begin_layout Plain Layout
22547 Jürgen
22548 \end_layout
22549
22550 \end_inset
22551 </cell>
22552 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22553 \begin_inset Text
22554
22555 \begin_layout Plain Layout
22556 999
22557 \end_layout
22558
22559 \end_inset
22560 </cell>
22561 </row>
22562 <row>
22563 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22564 \begin_inset Text
22565
22566 \begin_layout Plain Layout
22567
22568 \series bold
22569 Weber
22570 \end_layout
22571
22572 \end_inset
22573 </cell>
22574 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22575 \begin_inset Text
22576
22577 \begin_layout Plain Layout
22578 Maurizio
22579 \end_layout
22580
22581 \end_inset
22582 </cell>
22583 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22584 \begin_inset Text
22585
22586 \begin_layout Plain Layout
22587 555
22588 \end_layout
22589
22590 \end_inset
22591 </cell>
22592 </row>
22593 <row>
22594 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
22595 \begin_inset Text
22596
22597 \begin_layout Plain Layout
22598
22599 \series bold
22600 Winkler
22601 \end_layout
22602
22603 \end_inset
22604 </cell>
22605 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
22606 \begin_inset Text
22607
22608 \begin_layout Plain Layout
22609 Franz
22610 \end_layout
22611
22612 \end_inset
22613 </cell>
22614 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22615 \begin_inset Text
22616
22617 \begin_layout Plain Layout
22618 555
22619 \end_layout
22620
22621 \end_inset
22622 </cell>
22623 </row>
22624 <row endlastfoot="true">
22625 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22626 \begin_inset Text
22627
22628 \begin_layout Plain Layout
22629
22630 \series bold
22631 End
22632 \end_layout
22633
22634 \end_inset
22635 </cell>
22636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
22637 \begin_inset Text
22638
22639 \begin_layout Plain Layout
22640
22641 \end_layout
22642
22643 \end_inset
22644 </cell>
22645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22646 \begin_inset Text
22647
22648 \begin_layout Plain Layout
22649
22650 \end_layout
22651
22652 \end_inset
22653 </cell>
22654 </row>
22655 </lyxtabular>
22656
22657 \end_inset
22658
22659
22660 \end_layout
22661
22662 \begin_layout Subsection
22663 Table Cells
22664 \begin_inset Index idx
22665 status collapsed
22666
22667 \begin_layout Plain Layout
22668 Tables ! Cells
22669 \end_layout
22670
22671 \end_inset
22672
22673
22674 \begin_inset CommandInset label
22675 LatexCommand label
22676 name "subsec:Table-Cells"
22677
22678 \end_inset
22679
22680
22681 \end_layout
22682
22683 \begin_layout Standard
22684 A table cell can contain text, inline equations, a figure, or another table.
22685  All these kinds of objects can be placed in the same cell.
22686  Font sizes and shapes can also be altered.
22687  But you can't put a special environment in a cell (like 
22688 \family sans
22689 Section*
22690 \family default
22691 , etc.), nor set spacing options for the cell's paragraph.
22692 \end_layout
22693
22694 \begin_layout Standard
22695 To have multi-line entries in table cells, you have to declare a fixed width
22696  for the column in the table dialog.
22697  Your text is then automatically split into multiple lines and the cell
22698  is enlarged vertically when the length of the text exceeds the given width.
22699  An example:
22700 \end_layout
22701
22702 \begin_layout Standard
22703 \align center
22704 \begin_inset Tabular
22705 <lyxtabular version="3" rows="4" columns="3">
22706 <features tabularvalignment="middle">
22707 <column alignment="center" valignment="top" width="0pt">
22708 <column alignment="block" valignment="top" width="3cm">
22709 <column alignment="center" valignment="top" width="0pt">
22710 <row>
22711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22712 \begin_inset Text
22713
22714 \begin_layout Plain Layout
22715
22716 \family roman
22717 \series medium
22718 \shape up
22719 \size normal
22720 \emph off
22721 \bar no
22722 \noun off
22723 \color none
22724 1
22725 \end_layout
22726
22727 \end_inset
22728 </cell>
22729 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22730 \begin_inset Text
22731
22732 \begin_layout Plain Layout
22733
22734 \family roman
22735 \series medium
22736 \shape up
22737 \size normal
22738 \emph off
22739 \bar no
22740 \noun off
22741 \color none
22742 2
22743 \end_layout
22744
22745 \end_inset
22746 </cell>
22747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22748 \begin_inset Text
22749
22750 \begin_layout Plain Layout
22751
22752 \family roman
22753 \series medium
22754 \shape up
22755 \size normal
22756 \emph off
22757 \bar no
22758 \noun off
22759 \color none
22760 3
22761 \end_layout
22762
22763 \end_inset
22764 </cell>
22765 </row>
22766 <row>
22767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22768 \begin_inset Text
22769
22770 \begin_layout Plain Layout
22771
22772 \family roman
22773 \series medium
22774 \shape up
22775 \size normal
22776 \emph off
22777 \bar no
22778 \noun off
22779 \color none
22780 4
22781 \end_layout
22782
22783 \end_inset
22784 </cell>
22785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22786 \begin_inset Text
22787
22788 \begin_layout Plain Layout
22789
22790 \family roman
22791 \series medium
22792 \shape up
22793 \size normal
22794 \emph off
22795 \bar no
22796 \noun off
22797 \color none
22798 This is a multi-line entry in a table.
22799 \end_layout
22800
22801 \end_inset
22802 </cell>
22803 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22804 \begin_inset Text
22805
22806 \begin_layout Plain Layout
22807
22808 \family roman
22809 \series medium
22810 \shape up
22811 \size normal
22812 \emph off
22813 \bar no
22814 \noun off
22815 \color none
22816 5
22817 \end_layout
22818
22819 \end_inset
22820 </cell>
22821 </row>
22822 <row>
22823 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22824 \begin_inset Text
22825
22826 \begin_layout Plain Layout
22827
22828 \family roman
22829 \series medium
22830 \shape up
22831 \size normal
22832 \emph off
22833 \bar no
22834 \noun off
22835 \color none
22836 6
22837 \end_layout
22838
22839 \end_inset
22840 </cell>
22841 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22842 \begin_inset Text
22843
22844 \begin_layout Plain Layout
22845
22846 \family roman
22847 \series medium
22848 \shape up
22849 \size normal
22850 \emph off
22851 \bar no
22852 \noun off
22853 \color none
22854 This is longer now.
22855 \end_layout
22856
22857 \end_inset
22858 </cell>
22859 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22860 \begin_inset Text
22861
22862 \begin_layout Plain Layout
22863
22864 \family roman
22865 \series medium
22866 \shape up
22867 \size normal
22868 \emph off
22869 \bar no
22870 \noun off
22871 \color none
22872 7
22873 \end_layout
22874
22875 \end_inset
22876 </cell>
22877 </row>
22878 <row>
22879 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22880 \begin_inset Text
22881
22882 \begin_layout Plain Layout
22883
22884 \family roman
22885 \series medium
22886 \shape up
22887 \size normal
22888 \emph off
22889 \bar no
22890 \noun off
22891 \color none
22892 8
22893 \end_layout
22894
22895 \end_inset
22896 </cell>
22897 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
22898 \begin_inset Text
22899
22900 \begin_layout Plain Layout
22901
22902 \family roman
22903 \series medium
22904 \shape up
22905 \size normal
22906 \emph off
22907 \bar no
22908 \noun off
22909 \color none
22910 This is a multi-line entry in a table.
22911  This is longer now.
22912 \end_layout
22913
22914 \end_inset
22915 </cell>
22916 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
22917 \begin_inset Text
22918
22919 \begin_layout Plain Layout
22920
22921 \family roman
22922 \series medium
22923 \shape up
22924 \size normal
22925 \emph off
22926 \bar no
22927 \noun off
22928 \color none
22929 9
22930 \end_layout
22931
22932 \end_inset
22933 </cell>
22934 </row>
22935 </lyxtabular>
22936
22937 \end_inset
22938
22939
22940 \end_layout
22941
22942 \begin_layout Standard
22943 Cutting and pasting between tables and table cells works reasonably well.
22944  You can even cut and paste more than one row.
22945 \begin_inset Foot
22946 status collapsed
22947
22948 \begin_layout Plain Layout
22949 Note that you cannot paste into a multicell selection because it would not
22950  be clear what to do when pasting a single word in a selected 2×3.
22951  
22952 \end_layout
22953
22954 \end_inset
22955
22956  Selection with the mouse or with 
22957 \family sans
22958 Shift
22959 \family default
22960  plus the arrow keys works as usual.
22961  You can also copy and paste the entire table as a single unit by starting
22962  the selection from outside the table.
22963 \end_layout
22964
22965 \begin_layout Section
22966 Floats
22967 \begin_inset Index idx
22968 status collapsed
22969
22970 \begin_layout Plain Layout
22971 Floats
22972 \end_layout
22973
22974 \end_inset
22975
22976
22977 \begin_inset CommandInset label
22978 LatexCommand label
22979 name "sec:Floats"
22980
22981 \end_inset
22982
22983
22984 \end_layout
22985
22986 \begin_layout Subsection
22987 Introduction
22988 \end_layout
22989
22990 \begin_layout Standard
22991 A float is a block of text associated with some sort of label, which doesn't
22992  have a fixed location.
22993  It can 
22994 \begin_inset Quotes eld
22995 \end_inset
22996
22997 float
22998 \begin_inset Quotes erd
22999 \end_inset
23000
23001  forward or backward a page or two, to wherever it fits best.
23002  
23003 \family sans
23004 Footnotes
23005 \family default
23006  and 
23007 \family sans
23008 Margin
23009 \begin_inset space ~
23010 \end_inset
23011
23012 Notes
23013 \family default
23014  are also floats, because they can float to the next page when there are
23015  too many notes on the current page.
23016 \end_layout
23017
23018 \begin_layout Standard
23019 Floats make it possible to get a high quality layout.
23020  Images and tables can be distributed evenly over the pages to avoid whitespace
23021  and pages without text.
23022  As the floating often destroys the spatial context between the text and
23023  the image/table, every float can be referenced in the text.
23024  Floats are therefore numbered.
23025  Referencing is described in section
23026 \begin_inset space ~
23027 \end_inset
23028
23029
23030 \begin_inset CommandInset ref
23031 LatexCommand ref
23032 reference "sec:Cross-References"
23033
23034 \end_inset
23035
23036 .
23037 \end_layout
23038
23039 \begin_layout Standard
23040 To insert a float, use the menu 
23041 \family sans
23042 Insert\SpecialChar menuseparator
23043 Float
23044 \family default
23045 .
23046  A box with a caption will be inserted into your document.
23047  The label will automatically be translated to the document language in
23048  the output.
23049  After the label you can insert the caption text.
23050 \begin_inset Index idx
23051 status collapsed
23052
23053 \begin_layout Plain Layout
23054 Floats ! Captions
23055 \end_layout
23056
23057 \end_inset
23058
23059  The image or table is inserted above or below the caption in a separate
23060  paragraph within the float.
23061  To keep your \SpecialChar LyX
23062 -document readable, you can open and close the float box by
23063  left-clicking on the box label.
23064  A closed float box looks like this: 
23065 \begin_inset Graphics
23066         filename clipart/float.png
23067         scale 80
23068
23069 \end_inset
23070
23071  – a gray button with a red label.
23072 \end_layout
23073
23074 \begin_layout Standard
23075 You should insert floats in a separate paragraph to avoid possible \SpecialChar LaTeX
23076 -errors
23077  that can occur when the surrounding text is specially formatted.
23078 \end_layout
23079
23080 \begin_layout Subsection
23081 Figure Floats
23082 \begin_inset CommandInset label
23083 LatexCommand label
23084 name "subsec:Figure-Floats"
23085
23086 \end_inset
23087
23088
23089 \begin_inset Index idx
23090 status collapsed
23091
23092 \begin_layout Plain Layout
23093 Floats ! Figure floats
23094 \end_layout
23095
23096 \end_inset
23097
23098
23099 \end_layout
23100
23101 \begin_layout Standard
23102 Figure
23103 \begin_inset space ~
23104 \end_inset
23105
23106
23107 \begin_inset CommandInset ref
23108 LatexCommand ref
23109 reference "fig:Platypus-distorted"
23110
23111 \end_inset
23112
23113  was created using the menu 
23114 \family sans
23115 Insert\SpecialChar menuseparator
23116 Float\SpecialChar menuseparator
23117 Figure
23118 \family default
23119  (toolbar button 
23120 \begin_inset Info
23121 type  "icon"
23122 arg   "float-insert figure"
23123 \end_inset
23124
23125 ).
23126  The image was inserted by setting the cursor above the caption label and
23127  using the menu 
23128 \family sans
23129 Insert\SpecialChar menuseparator
23130 Graphics
23131 \family default
23132  (toolbar button 
23133 \begin_inset Info
23134 type  "icon"
23135 arg   "dialog-show-new-inset graphics"
23136 \end_inset
23137
23138 ).
23139  The image in the float was horizontally centered by putting the cursor
23140  to the left or right of the image and using the menu 
23141 \family sans
23142 Edit\SpecialChar menuseparator
23143 Paragraph
23144 \begin_inset space ~
23145 \end_inset
23146
23147 Settings
23148 \family default
23149  (toolbar button 
23150 \begin_inset Info
23151 type  "icon"
23152 arg   "layout-paragraph"
23153 \end_inset
23154
23155 ).
23156 \end_layout
23157
23158 \begin_layout Standard
23159 \begin_inset Float figure
23160 wide false
23161 sideways false
23162 status collapsed
23163
23164 \begin_layout Plain Layout
23165 \align center
23166 \begin_inset Graphics
23167         filename clipart/platypus.eps
23168         lyxscale 50
23169         width 50col%
23170
23171 \end_inset
23172
23173
23174 \end_layout
23175
23176 \begin_layout Plain Layout
23177 \begin_inset Caption Standard
23178
23179 \begin_layout Plain Layout
23180 \begin_inset CommandInset label
23181 LatexCommand label
23182 name "fig:Platypus-distorted"
23183
23184 \end_inset
23185
23186 A severely distorted platypus in a float.
23187 \end_layout
23188
23189 \end_inset
23190
23191
23192 \end_layout
23193
23194 \end_inset
23195
23196
23197 \end_layout
23198
23199 \begin_layout Standard
23200 This figure float also shows how to set a label and create a cross-reference
23201  to it: Insert a label into the caption using the menu 
23202 \family sans
23203 Insert\SpecialChar menuseparator
23204 Label
23205 \family default
23206  (toolbar button 
23207 \begin_inset Info
23208 type  "icon"
23209 arg   "label-insert"
23210 \end_inset
23211
23212 ) and refer to it using the menu 
23213 \family sans
23214 Insert\SpecialChar menuseparator
23215 Cross-Reference
23216 \family default
23217  (toolbar button 
23218 \begin_inset Info
23219 type  "icon"
23220 arg   "dialog-show-new-inset ref"
23221 \end_inset
23222
23223 ).
23224  It is important to use cross-references to figure floats rather than using
23225  vague references like 
23226 \begin_inset Quotes eld
23227 \end_inset
23228
23229 the figure above
23230 \begin_inset Quotes erd
23231 \end_inset
23232
23233 , because, as \SpecialChar LaTeX
23234  will reposition the floats in the final document, it might
23235  not be 
23236 \begin_inset Quotes eld
23237 \end_inset
23238
23239 above
23240 \begin_inset Quotes erd
23241 \end_inset
23242
23243  at all.
23244  For more about cross-references, see section
23245 \begin_inset space ~
23246 \end_inset
23247
23248
23249 \begin_inset CommandInset ref
23250 LatexCommand ref
23251 reference "sec:Cross-References"
23252
23253 \end_inset
23254
23255 .
23256 \end_layout
23257
23258 \begin_layout Standard
23259 Normally only one image is inserted in a figure float, but sometimes you
23260  might want to use two images with separate subcaptions.
23261  This can be done by inserting image floats into existing image floats.
23262  Note that only the main caption of the float is added to the List of Figures
23263  as described in section
23264 \begin_inset space ~
23265 \end_inset
23266
23267
23268 \begin_inset CommandInset ref
23269 LatexCommand ref
23270 reference "subsec:List-of-Figures"
23271
23272 \end_inset
23273
23274 .
23275  Figure
23276 \begin_inset space ~
23277 \end_inset
23278
23279
23280 \begin_inset CommandInset ref
23281 LatexCommand ref
23282 reference "fig:Two-distorted-images"
23283
23284 \end_inset
23285
23286  is an example of a figure float with two images set side by side.
23287  You can also set the images one below the other.
23288  Figure
23289 \begin_inset space ~
23290 \end_inset
23291
23292
23293 \begin_inset CommandInset ref
23294 LatexCommand ref
23295 reference "fig:Undefinable"
23296
23297 \end_inset
23298
23299  and 
23300 \begin_inset CommandInset ref
23301 LatexCommand ref
23302 reference "fig:Platypus"
23303
23304 \end_inset
23305
23306  are the subfigures.
23307 \end_layout
23308
23309 \begin_layout Standard
23310 \begin_inset Float figure
23311 wide false
23312 sideways false
23313 status open
23314
23315 \begin_layout Plain Layout
23316 \begin_inset space \hfill{}
23317 \end_inset
23318
23319
23320 \begin_inset Float figure
23321 wide false
23322 sideways false
23323 status collapsed
23324
23325 \begin_layout Plain Layout
23326 \begin_inset Caption Standard
23327
23328 \begin_layout Plain Layout
23329 \begin_inset CommandInset label
23330 LatexCommand label
23331 name "fig:Undefinable"
23332
23333 \end_inset
23334
23335 Undefinable
23336 \end_layout
23337
23338 \end_inset
23339
23340
23341 \end_layout
23342
23343 \begin_layout Plain Layout
23344 \begin_inset Graphics
23345         filename clipart/escher-lsd.eps
23346         width 45col%
23347
23348 \end_inset
23349
23350
23351 \end_layout
23352
23353 \end_inset
23354
23355
23356 \begin_inset space \hfill{}
23357 \end_inset
23358
23359
23360 \begin_inset Float figure
23361 wide false
23362 sideways false
23363 status collapsed
23364
23365 \begin_layout Plain Layout
23366 \begin_inset Caption Standard
23367
23368 \begin_layout Plain Layout
23369 \begin_inset CommandInset label
23370 LatexCommand label
23371 name "fig:Platypus"
23372
23373 \end_inset
23374
23375 Platypus
23376 \end_layout
23377
23378 \end_inset
23379
23380
23381 \end_layout
23382
23383 \begin_layout Plain Layout
23384 \begin_inset Graphics
23385         filename clipart/platypus.eps
23386         lyxscale 60
23387         width 45col%
23388
23389 \end_inset
23390
23391
23392 \end_layout
23393
23394 \end_inset
23395
23396
23397 \begin_inset space \hfill{}
23398 \end_inset
23399
23400
23401 \end_layout
23402
23403 \begin_layout Plain Layout
23404 \begin_inset Caption Standard
23405
23406 \begin_layout Plain Layout
23407 \begin_inset CommandInset label
23408 LatexCommand label
23409 name "fig:Two-distorted-images"
23410
23411 \end_inset
23412
23413 Two distorted images.
23414 \end_layout
23415
23416 \end_inset
23417
23418
23419 \end_layout
23420
23421 \end_inset
23422
23423
23424 \end_layout
23425
23426 \begin_layout Subsection
23427 Table Floats
23428 \begin_inset Index idx
23429 status collapsed
23430
23431 \begin_layout Plain Layout
23432 Floats ! Table floats
23433 \end_layout
23434
23435 \end_inset
23436
23437
23438 \end_layout
23439
23440 \begin_layout Standard
23441 Table floats can be inserted using the menu 
23442 \family sans
23443 Insert\SpecialChar menuseparator
23444 Float\SpecialChar menuseparator
23445 Table
23446 \family default
23447  or the toolbar button 
23448 \begin_inset Info
23449 type  "icon"
23450 arg   "float-insert table"
23451 \end_inset
23452
23453 .
23454  They have the same properties as figure floats except that the table in
23455  the float is normally placed below the caption and not above like for figures
23456  and that the label begins with “tab:”.
23457  Table
23458 \begin_inset space ~
23459 \end_inset
23460
23461
23462 \begin_inset CommandInset ref
23463 LatexCommand ref
23464 reference "tab:Table-float"
23465
23466 \end_inset
23467
23468  is a table float.
23469 \end_layout
23470
23471 \begin_layout Standard
23472 \begin_inset Float table
23473 wide false
23474 sideways false
23475 status open
23476
23477 \begin_layout Plain Layout
23478 \begin_inset Caption Standard
23479
23480 \begin_layout Plain Layout
23481 \begin_inset CommandInset label
23482 LatexCommand label
23483 name "tab:Table-float"
23484
23485 \end_inset
23486
23487 A table float.
23488 \end_layout
23489
23490 \end_inset
23491
23492
23493 \end_layout
23494
23495 \begin_layout Plain Layout
23496 \align center
23497 \begin_inset Tabular
23498 <lyxtabular version="3" rows="3" columns="3">
23499 <features tabularvalignment="middle">
23500 <column alignment="center" valignment="top" width="0pt">
23501 <column alignment="center" valignment="top" width="0pt">
23502 <column alignment="center" valignment="top" width="0pt">
23503 <row>
23504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23505 \begin_inset Text
23506
23507 \begin_layout Plain Layout
23508
23509 \family roman
23510 \series medium
23511 \shape up
23512 \size normal
23513 \emph off
23514 \bar no
23515 \noun off
23516 \color none
23517 1
23518 \end_layout
23519
23520 \end_inset
23521 </cell>
23522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23523 \begin_inset Text
23524
23525 \begin_layout Plain Layout
23526
23527 \family roman
23528 \series medium
23529 \shape up
23530 \size normal
23531 \emph off
23532 \bar no
23533 \noun off
23534 \color none
23535 2
23536 \end_layout
23537
23538 \end_inset
23539 </cell>
23540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23541 \begin_inset Text
23542
23543 \begin_layout Plain Layout
23544
23545 \family roman
23546 \series medium
23547 \shape up
23548 \size normal
23549 \emph off
23550 \bar no
23551 \noun off
23552 \color none
23553 3
23554 \end_layout
23555
23556 \end_inset
23557 </cell>
23558 </row>
23559 <row>
23560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23561 \begin_inset Text
23562
23563 \begin_layout Plain Layout
23564
23565 \family roman
23566 \series medium
23567 \shape up
23568 \size normal
23569 \emph off
23570 \bar no
23571 \noun off
23572 \color none
23573 Joe
23574 \end_layout
23575
23576 \end_inset
23577 </cell>
23578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23579 \begin_inset Text
23580
23581 \begin_layout Plain Layout
23582
23583 \family roman
23584 \series medium
23585 \shape up
23586 \size normal
23587 \emph off
23588 \bar no
23589 \noun off
23590 \color none
23591 Mary
23592 \end_layout
23593
23594 \end_inset
23595 </cell>
23596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23597 \begin_inset Text
23598
23599 \begin_layout Plain Layout
23600
23601 \family roman
23602 \series medium
23603 \shape up
23604 \size normal
23605 \emph off
23606 \bar no
23607 \noun off
23608 \color none
23609 Ted
23610 \end_layout
23611
23612 \end_inset
23613 </cell>
23614 </row>
23615 <row>
23616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23617 \begin_inset Text
23618
23619 \begin_layout Plain Layout
23620
23621 \family roman
23622 \series medium
23623 \shape up
23624 \size normal
23625 \emph off
23626 \bar no
23627 \noun off
23628 \color none
23629 \begin_inset Formula $\int x^{2}dx$
23630 \end_inset
23631
23632
23633 \end_layout
23634
23635 \end_inset
23636 </cell>
23637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23638 \begin_inset Text
23639
23640 \begin_layout Plain Layout
23641
23642 \family roman
23643 \series medium
23644 \shape up
23645 \size normal
23646 \emph off
23647 \bar no
23648 \noun off
23649 \color none
23650 \begin_inset Formula $\left[\begin{array}{cc}
23651 a & b\\
23652 c & d
23653 \end{array}\right]$
23654 \end_inset
23655
23656
23657 \end_layout
23658
23659 \end_inset
23660 </cell>
23661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23662 \begin_inset Text
23663
23664 \begin_layout Plain Layout
23665
23666 \family roman
23667 \series medium
23668 \shape up
23669 \size normal
23670 \emph off
23671 \bar no
23672 \noun off
23673 \color none
23674 \begin_inset Formula $1+1=2$
23675 \end_inset
23676
23677
23678 \end_layout
23679
23680 \end_inset
23681 </cell>
23682 </row>
23683 </lyxtabular>
23684
23685 \end_inset
23686
23687
23688 \end_layout
23689
23690 \end_inset
23691
23692
23693 \end_layout
23694
23695 \begin_layout Subsection
23696 More Information
23697 \begin_inset Index idx
23698 status collapsed
23699
23700 \begin_layout Plain Layout
23701 Floats ! Details
23702 \end_layout
23703
23704 \end_inset
23705
23706
23707 \end_layout
23708
23709 \begin_layout Standard
23710 \SpecialChar LyX
23711  offers you further float types as well as rotated floats.
23712  It also allows you to change the float numbering scheme, to control the
23713  float placement and to change the formatting and placement of the float
23714  caption.
23715  All these features are explained in detail with many examples in the chapter
23716  
23717 \emph on
23718 Floats
23719 \emph default
23720  in the 
23721 \emph on
23722 Embedded
23723 \begin_inset space ~
23724 \end_inset
23725
23726 Objects
23727 \emph default
23728  manual.
23729 \end_layout
23730
23731 \begin_layout Section
23732 Minipages
23733 \begin_inset Index idx
23734 status collapsed
23735
23736 \begin_layout Plain Layout
23737 Minipages
23738 \end_layout
23739
23740 \end_inset
23741
23742
23743 \end_layout
23744
23745 \begin_layout Standard
23746 \SpecialChar LaTeX
23747  provides a mechanism essentially to produce a page within a page, called
23748  a minipage.
23749  Within a minipage, all the usual rules of indentation, line wrapping, etc.
23750 \begin_inset space \space{}
23751 \end_inset
23752
23753 apply.
23754  
23755 \end_layout
23756
23757 \begin_layout Standard
23758 Minipages in \SpecialChar LyX
23759  have their own collapsible box inserted via the menu 
23760 \family sans
23761 Insert\SpecialChar menuseparator
23762 Box
23763 \family default
23764 .
23765  Right-clicking on the box label allows you to alter the width of the minipage
23766  and its alignment within the page.
23767 \end_layout
23768
23769 \begin_layout Standard
23770 \align center
23771 \begin_inset Box Frameless
23772 position "t"
23773 hor_pos "c"
23774 has_inner_box 1
23775 inner_pos "t"
23776 use_parbox 0
23777 use_makebox 0
23778 width "30col%"
23779 special "none"
23780 height "1pt"
23781 height_special "totalheight"
23782 thickness "0.4pt"
23783 separation "3pt"
23784 shadowsize "4pt"
23785 framecolor "black"
23786 backgroundcolor "none"
23787 status collapsed
23788
23789 \begin_layout Plain Layout
23790
23791 \shape italic
23792 This is a minipage.
23793  The text is set in an italic style.
23794 \end_layout
23795
23796 \begin_layout Plain Layout
23797
23798 \shape italic
23799 Minipages are often used for text in another language or text that needs
23800  another formatting.
23801 \end_layout
23802
23803 \end_inset
23804
23805
23806 \end_layout
23807
23808 \begin_layout Standard
23809 \begin_inset VSpace medskip
23810 \end_inset
23811
23812 If you place two minipages side-by-side, you can use 
23813 \family sans
23814 Horizontal Fills
23815 \family default
23816  as described in section
23817 \begin_inset space ~
23818 \end_inset
23819
23820
23821 \begin_inset CommandInset ref
23822 LatexCommand ref
23823 reference "subsec:Horizontal-Space"
23824
23825 \end_inset
23826
23827 :
23828 \begin_inset VSpace medskip
23829 \end_inset
23830
23831
23832 \end_layout
23833
23834 \begin_layout Standard
23835 \begin_inset Box Frameless
23836 position "t"
23837 hor_pos "c"
23838 has_inner_box 1
23839 inner_pos "t"
23840 use_parbox 0
23841 use_makebox 0
23842 width "1.5in"
23843 special "none"
23844 height "1pt"
23845 height_special "totalheight"
23846 thickness "0.4pt"
23847 separation "3pt"
23848 shadowsize "4pt"
23849 framecolor "black"
23850 backgroundcolor "none"
23851 status open
23852
23853 \begin_layout Plain Layout
23854 This is a minipage with some stupid dummy text.
23855  This dummy text is used to increase the size of the minipage.
23856 \end_layout
23857
23858 \end_inset
23859
23860
23861 \begin_inset space \hfill{}
23862 \end_inset
23863
23864
23865 \begin_inset Box Frameless
23866 position "t"
23867 hor_pos "c"
23868 has_inner_box 1
23869 inner_pos "t"
23870 use_parbox 0
23871 use_makebox 0
23872 width "1.5in"
23873 special "none"
23874 height "1pt"
23875 height_special "totalheight"
23876 thickness "0.4pt"
23877 separation "3pt"
23878 shadowsize "4pt"
23879 framecolor "black"
23880 backgroundcolor "none"
23881 status open
23882
23883 \begin_layout Plain Layout
23884 This is a minipage with some stupid dummy text.
23885  This dummy text is used to increase the size of the minipage.
23886 \end_layout
23887
23888 \end_inset
23889
23890
23891 \end_layout
23892
23893 \begin_layout Standard
23894 \begin_inset VSpace bigskip
23895 \end_inset
23896
23897
23898 \end_layout
23899
23900 \begin_layout Standard
23901 When you right-click on a minipage box, you can transform the box to another
23902  box type.
23903  All box types and their settings are explained in detail in chapter 
23904 \emph on
23905 Boxes
23906 \emph default
23907  of the 
23908 \emph on
23909 Embedded
23910 \begin_inset space ~
23911 \end_inset
23912
23913 Objects
23914 \emph default
23915  manual.
23916 \end_layout
23917
23918 \begin_layout Chapter
23919 Mathematical Formulas
23920 \begin_inset Index idx
23921 status collapsed
23922
23923 \begin_layout Plain Layout
23924 Math
23925 \end_layout
23926
23927 \end_inset
23928
23929
23930 \begin_inset Index idx
23931 status collapsed
23932
23933 \begin_layout Plain Layout
23934 Formulas | see
23935 \begin_inset ERT
23936 status collapsed
23937
23938 \begin_layout Plain Layout
23939
23940 {
23941 \end_layout
23942
23943 \end_inset
23944
23945 Math
23946 \begin_inset ERT
23947 status collapsed
23948
23949 \begin_layout Plain Layout
23950
23951 }
23952 \end_layout
23953
23954 \end_inset
23955
23956
23957 \end_layout
23958
23959 \end_inset
23960
23961
23962 \begin_inset CommandInset label
23963 LatexCommand label
23964 name "chap:Mathematical-Formulas"
23965
23966 \end_inset
23967
23968
23969 \end_layout
23970
23971 \begin_layout Standard
23972 The issues of this chapter are described in detail in the 
23973 \emph on
23974 Math
23975 \emph default
23976  manual.
23977  There you will also find tips and tricks for special cases.
23978 \end_layout
23979
23980 \begin_layout Section
23981 Basic Math Editing
23982 \begin_inset Index idx
23983 status collapsed
23984
23985 \begin_layout Plain Layout
23986 Math ! Basics
23987 \end_layout
23988
23989 \end_inset
23990
23991
23992 \end_layout
23993
23994 \begin_layout Standard
23995 To create a math formula, you can just click on the toolbar icon 
23996 \begin_inset Info
23997 type  "icon"
23998 arg   "math-mode on"
23999 \end_inset
24000
24001  (shortcut 
24002 \begin_inset Info
24003 type  "shortcut"
24004 arg   "math-mode"
24005 \end_inset
24006
24007 ).
24008  That will create a little blue rectangle, with purple markers around its
24009  corners.
24010  That blue rectangle is the formula itself; the purple markers indicate
24011  what level of nesting within the formula you are at.
24012  You can also choose a particular formula type to insert via the 
24013 \family sans
24014 Insert\SpecialChar menuseparator
24015 Math
24016 \family default
24017  menu.
24018 \end_layout
24019
24020 \begin_layout Standard
24021 Editing the parameters of a formula and adding math constructs can be done
24022  with the 
24023 \family sans
24024 math
24025 \begin_inset space ~
24026 \end_inset
24027
24028 toolbar
24029 \family default
24030 , that appears if the cursor is in a formula.
24031 \end_layout
24032
24033 \begin_layout Standard
24034 There are two main types of formulas, inline formulas and display formulas.
24035  Inline formulas appear within a text line, like this one:
24036 \end_layout
24037
24038 \begin_layout Standard
24039 This is a line with an inline formula 
24040 \begin_inset Formula $A=B$
24041 \end_inset
24042
24043  in it.
24044 \end_layout
24045
24046 \begin_layout Standard
24047 Displayed formulas appear outside the text like if they were in a separate
24048  paragraph, like this one:
24049 \begin_inset Formula 
24050 \[
24051 A=B
24052 \]
24053
24054 \end_inset
24055
24056 You can only number and reference displayed formulas.
24057 \end_layout
24058
24059 \begin_layout Standard
24060 \SpecialChar LyX
24061  also supports many \SpecialChar LaTeX
24062  math commands.
24063  For example, typing 
24064 \begin_inset Quotes eld
24065 \end_inset
24066
24067
24068 \series bold
24069
24070 \backslash
24071 alpha
24072 \series default
24073
24074 \begin_inset Quotes erd
24075 \end_inset
24076
24077 , followed by a space, in a formula will create the Greek letter 
24078 \begin_inset Formula $\alpha$
24079 \end_inset
24080
24081 .
24082  Typing commands might sometimes be faster than using the 
24083 \family sans
24084 Math
24085 \begin_inset space ~
24086 \end_inset
24087
24088 Panel
24089 \family default
24090 .
24091 \end_layout
24092
24093 \begin_layout Subsection
24094 Navigating in Formulas
24095 \begin_inset Index idx
24096 status collapsed
24097
24098 \begin_layout Plain Layout
24099 Math ! Navigating
24100 \end_layout
24101
24102 \end_inset
24103
24104
24105 \end_layout
24106
24107 \begin_layout Standard
24108 The best control over the cursor position within an existing formula is
24109  achieved with the arrow keys.
24110  \SpecialChar LyX
24111  uses small rectangles to indicate places where something can be inserted.
24112  The arrow keys can be used to navigate between parts of a formula.
24113  Pressing 
24114 \family sans
24115 Space
24116 \family default
24117  will leave a formula construct (a square root 
24118 \begin_inset Formula $\sqrt{2}$
24119 \end_inset
24120
24121 , or parentheses 
24122 \begin_inset Formula $\left(f\right)$
24123 \end_inset
24124
24125 , or a matrix 
24126 \begin_inset Formula $\left[\begin{array}{cc}
24127 1 & 2\\
24128 3 & 4
24129 \end{array}\right]$
24130 \end_inset
24131
24132 ).
24133  Pressing 
24134 \family sans
24135 Escape
24136 \family default
24137  will leave the formula, placing the cursor after the formula.
24138  
24139 \family sans
24140 Tab
24141 \family default
24142  can be used to move horizontally in a formula; for example, through the
24143  cells of a matrix or the positions in a multi-line equation.
24144 \end_layout
24145
24146 \begin_layout Standard
24147
24148 \family sans
24149 Space
24150 \family default
24151 , printed in this document as 
24152 \begin_inset Quotes eld
24153 \end_inset
24154
24155
24156 \begin_inset space \textvisiblespace{}
24157 \end_inset
24158
24159
24160 \begin_inset Quotes erd
24161 \end_inset
24162
24163 , seems to do nothing in a formula, since it does not add a space between
24164  characters, but it does exit a nested structure.
24165  For this reason, you have to be careful about using 
24166 \family sans
24167 Space
24168 \family default
24169 .
24170  For example, if you want 
24171 \begin_inset Formula $\sqrt{2x+1}$
24172 \end_inset
24173
24174 , type 
24175 \series bold
24176
24177 \backslash
24178 sqrt
24179 \begin_inset space \textvisiblespace{}
24180 \end_inset
24181
24182 2x+1
24183 \series default
24184  and not 
24185 \series bold
24186
24187 \backslash
24188 sqrt
24189 \begin_inset space \textvisiblespace{}
24190 \end_inset
24191
24192 2x
24193 \begin_inset space \textvisiblespace{}
24194 \end_inset
24195
24196 +1
24197 \series default
24198 , since in the latter case only the 
24199 \family typewriter
24200
24201 \begin_inset Formula $2x$
24202 \end_inset
24203
24204
24205 \family default
24206  will be under the square root sign: 
24207 \begin_inset Formula $\sqrt{2x}+1$
24208 \end_inset
24209
24210 .
24211 \end_layout
24212
24213 \begin_layout Standard
24214 You can leave many parts of a formula, like this matrix, partially filled
24215  in, such as:
24216 \begin_inset Formula 
24217 \[
24218 \left(\begin{array}{ccc}
24219 \lambda_{1}\\
24220  & \ddots\\
24221  &  & \lambda_{n}
24222 \end{array}\right)
24223 \]
24224
24225 \end_inset
24226
24227 If you leave a fraction only partially filled in, or a subscript with nothing
24228  in it, the results will be unpredictable, but most constructs don't mind.
24229 \end_layout
24230
24231 \begin_layout Subsection
24232 Selecting Text
24233 \end_layout
24234
24235 \begin_layout Standard
24236 You can select text within a formula in two different ways.
24237  Place the cursor at one end of the string of text you want, and press 
24238 \family sans
24239 Shift
24240 \family default
24241  and a cursor movement key to select text.
24242  It will be highlighted as with regular text selection.
24243  Alternatively, you can select text with the mouse in the usual way.
24244  That text can then be cut or copied, and then pasted within any formula,
24245  but not in a normal text region in \SpecialChar LyX
24246 .
24247 \end_layout
24248
24249 \begin_layout Subsection
24250 Exponents and Subscripts
24251 \begin_inset Index idx
24252 status collapsed
24253
24254 \begin_layout Plain Layout
24255 Math ! Exponents
24256 \end_layout
24257
24258 \end_inset
24259
24260
24261 \begin_inset Index idx
24262 status collapsed
24263
24264 \begin_layout Plain Layout
24265 Math ! Subscripts
24266 \end_layout
24267
24268 \end_inset
24269
24270
24271 \end_layout
24272
24273 \begin_layout Standard
24274 You can use the math panel to add super- or subscripts (buttons 
24275 \begin_inset Info
24276 type  "icon"
24277 arg   "math-superscript"
24278 \end_inset
24279
24280  and 
24281 \begin_inset Info
24282 type  "icon"
24283 arg   "math-subscript"
24284 \end_inset
24285
24286 ), but it is often much easier to use a command.
24287  To get 
24288 \begin_inset Formula $x^{2}$
24289 \end_inset
24290
24291 , type in a formula 
24292 \series bold
24293 x^2
24294 \begin_inset space \textvisiblespace{}
24295 \end_inset
24296
24297
24298 \series default
24299 .
24300  The final 
24301 \family sans
24302 Space
24303 \family default
24304  puts the cursor back down on the base line of the expression.
24305  If you type 
24306 \series bold
24307 x^2y
24308 \series default
24309 , you will get 
24310 \begin_inset Formula $x^{2y}$
24311 \end_inset
24312
24313 , to get 
24314 \begin_inset Formula $x^{2}y$
24315 \end_inset
24316
24317 , type 
24318 \series bold
24319 x^2
24320 \begin_inset space \textvisiblespace{}
24321 \end_inset
24322
24323 y
24324 \series default
24325 .
24326  If you use characters in the superscript, that could be accented with the
24327  circumflex 
24328 \begin_inset Quotes eld
24329 \end_inset
24330
24331 ^
24332 \begin_inset Quotes erd
24333 \end_inset
24334
24335 , you have to use an extra 
24336 \family sans
24337 Space
24338 \family default
24339  to separate the circumflex and the character.
24340  For example, if you want 
24341 \begin_inset Formula $x^{a}$
24342 \end_inset
24343
24344 , type 
24345 \series bold
24346 x^
24347 \begin_inset space \textvisiblespace{}
24348 \end_inset
24349
24350 a
24351 \series default
24352 .
24353  Subscripts are similar: To get 
24354 \begin_inset Formula $a_{1}$
24355 \end_inset
24356
24357 , type 
24358 \series bold
24359 a_1
24360 \begin_inset space \textvisiblespace{}
24361 \end_inset
24362
24363
24364 \series default
24365 .
24366 \end_layout
24367
24368 \begin_layout Subsection
24369 Fractions
24370 \begin_inset Index idx
24371 status collapsed
24372
24373 \begin_layout Plain Layout
24374 Math ! Fractions
24375 \end_layout
24376
24377 \end_inset
24378
24379
24380 \end_layout
24381
24382 \begin_layout Standard
24383 Create a fraction either with the command 
24384 \series bold
24385
24386 \backslash
24387 frac
24388 \series default
24389  or by using the icon 
24390 \begin_inset Info
24391 type  "icon"
24392 arg   "math-insert \\frac"
24393 \end_inset
24394
24395  in the 
24396 \family sans
24397 Math
24398 \begin_inset space ~
24399 \end_inset
24400
24401 Panel
24402 \family default
24403 .
24404  You will be presented with an empty fraction.
24405  The cursor is above the fraction line.
24406  To move it to the bottom, simply press 
24407 \family sans
24408 Down
24409 \family default
24410 .
24411  To move back up, press 
24412 \family sans
24413 Up
24414 \family default
24415 .
24416  Any math structure can be placed in a fraction, as this example shows:
24417 \begin_inset Formula 
24418 \[
24419 \left[\frac{1}{\left(\begin{array}{cc}
24420 2 & 3\\
24421 4 & 5
24422 \end{array}\right)}\right]
24423 \]
24424
24425 \end_inset
24426
24427
24428 \end_layout
24429
24430 \begin_layout Subsection
24431 Roots
24432 \begin_inset Index idx
24433 status collapsed
24434
24435 \begin_layout Plain Layout
24436 Math ! Roots
24437 \end_layout
24438
24439 \end_inset
24440
24441
24442 \end_layout
24443
24444 \begin_layout Standard
24445 Roots can be created using the 
24446 \family sans
24447 Math
24448 \begin_inset space ~
24449 \end_inset
24450
24451 Panel
24452 \family default
24453  buttons 
24454 \begin_inset Info
24455 type  "icon"
24456 arg   "math-insert \\sqrt"
24457 \end_inset
24458
24459  or 
24460 \begin_inset Info
24461 type  "icon"
24462 arg   "math-insert \\root"
24463 \end_inset
24464
24465  or the commands 
24466 \series bold
24467
24468 \backslash
24469 sqrt
24470 \series default
24471  or 
24472 \series bold
24473
24474 \backslash
24475 root
24476 \series default
24477 .
24478  With the command 
24479 \series bold
24480
24481 \backslash
24482 root
24483 \series default
24484  you can produce roots of higher orders, like cube roots, while 
24485 \series bold
24486
24487 \backslash
24488 sqrt
24489 \series default
24490  always produces a square root.
24491 \end_layout
24492
24493 \begin_layout Subsection
24494 Operators with Limits
24495 \begin_inset Index idx
24496 status collapsed
24497
24498 \begin_layout Plain Layout
24499 Math ! Sums
24500 \end_layout
24501
24502 \end_inset
24503
24504
24505 \begin_inset Index idx
24506 status collapsed
24507
24508 \begin_layout Plain Layout
24509 Math ! Integrals
24510 \end_layout
24511
24512 \end_inset
24513
24514
24515 \begin_inset CommandInset label
24516 LatexCommand label
24517 name "subsec:Operators-with-Limits"
24518
24519 \end_inset
24520
24521
24522 \end_layout
24523
24524 \begin_layout Standard
24525 Sum (
24526 \begin_inset Formula $\sum$
24527 \end_inset
24528
24529 ) and integral (
24530 \begin_inset Formula $\int$
24531 \end_inset
24532
24533 ) operators are very often decorated with limits.
24534  These limits can be entered in \SpecialChar LyX
24535  by entering them as you would enter a super-
24536  or subscript, directly after the symbol.
24537  The sum operator will automatically place its 
24538 \begin_inset Quotes eld
24539 \end_inset
24540
24541 limits
24542 \begin_inset Quotes erd
24543 \end_inset
24544
24545  over and under the symbol in displayed formulas, and to the side in inline
24546  formulas, as in 
24547 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
24548 \end_inset
24549
24550 , versus
24551 \begin_inset Formula 
24552 \[
24553 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
24554 \]
24555
24556 \end_inset
24557
24558 Integral signs, however, will place the limits to the side in both formula
24559  types.
24560 \end_layout
24561
24562 \begin_layout Standard
24563 All operators with limits will be automatically re-sized when placed in
24564  display mode.
24565  The placement of the limits can be changed by placing the cursor directly
24566  behind the operator and using the menu 
24567 \family sans
24568 Edit\SpecialChar menuseparator
24569 Math\SpecialChar menuseparator
24570 Change
24571 \begin_inset space ~
24572 \end_inset
24573
24574 Limits
24575 \begin_inset space ~
24576 \end_inset
24577
24578 Type
24579 \family default
24580  or entering 
24581 \begin_inset Info
24582 type  "shortcut"
24583 arg   "math-limits"
24584 \end_inset
24585
24586 .
24587 \end_layout
24588
24589 \begin_layout Standard
24590 Certain other mathematical expressions also have this 
24591 \begin_inset Quotes eld
24592 \end_inset
24593
24594 moving limits
24595 \begin_inset Quotes erd
24596 \end_inset
24597
24598  feature, such as
24599 \begin_inset Index idx
24600 status collapsed
24601
24602 \begin_layout Plain Layout
24603 Math ! Limits
24604 \end_layout
24605
24606 \end_inset
24607
24608
24609 \begin_inset Formula 
24610 \[
24611 \lim_{x\rightarrow\infty}f(x),
24612 \]
24613
24614 \end_inset
24615
24616 which will place the 
24617 \begin_inset Formula $x\rightarrow\infty$
24618 \end_inset
24619
24620  underneath the 
24621 \begin_inset Quotes eld
24622 \end_inset
24623
24624 lim
24625 \begin_inset Quotes erd
24626 \end_inset
24627
24628  in display mode.
24629  In inline formulas it looks like this: 
24630 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
24631 \end_inset
24632
24633 .
24634 \end_layout
24635
24636 \begin_layout Standard
24637 Note that the lim-function was entered as the function macro 
24638 \series bold
24639
24640 \backslash
24641 lim
24642 \series default
24643 .
24644  Have a look at section
24645 \begin_inset space ~
24646 \end_inset
24647
24648
24649 \begin_inset CommandInset ref
24650 LatexCommand ref
24651 reference "subsec:Functions"
24652
24653 \end_inset
24654
24655  for an explanation of function macros.
24656 \end_layout
24657
24658 \begin_layout Subsection
24659 Math Symbols
24660 \begin_inset Index idx
24661 status collapsed
24662
24663 \begin_layout Plain Layout
24664 Math ! Symbols
24665 \end_layout
24666
24667 \end_inset
24668
24669
24670 \end_layout
24671
24672 \begin_layout Standard
24673 Most math symbols can be found in the 
24674 \family sans
24675 Math
24676 \begin_inset space ~
24677 \end_inset
24678
24679 Panel
24680 \family default
24681  under one of several categories; including 
24682 \family sans
24683 Greek
24684 \family default
24685
24686 \family sans
24687 Operators
24688 \family default
24689
24690 \family sans
24691 Relations
24692 \family default
24693
24694 \family sans
24695 Arrows
24696 \family default
24697 .
24698  There are also the additional symbols provided by the American Mathematical
24699  Society (AMS).
24700 \end_layout
24701
24702 \begin_layout Standard
24703 If you know the \SpecialChar LaTeX
24704 -command for a construct or symbol you wish to use, you
24705  don't have to use the 
24706 \family sans
24707 Math
24708 \begin_inset space ~
24709 \end_inset
24710
24711 Panel
24712 \family default
24713 ; you can type the command directly into the formula.
24714  \SpecialChar LyX
24715  will convert it to the corresponding symbol or construct.
24716 \end_layout
24717
24718 \begin_layout Subsection
24719 Altering Spacing
24720 \begin_inset Index idx
24721 status collapsed
24722
24723 \begin_layout Plain Layout
24724 Math ! Spaces
24725 \end_layout
24726
24727 \end_inset
24728
24729
24730 \end_layout
24731
24732 \begin_layout Standard
24733 You may want to create spaces that differ from the standard spacing that
24734  \SpecialChar LaTeX
24735  provides.
24736  To do this, press 
24737 \begin_inset Info
24738 type  "shortcut"
24739 arg   "command-alternatives math-space ; space-insert protected"
24740 \end_inset
24741
24742  or use the 
24743 \family sans
24744 Math
24745 \begin_inset space ~
24746 \end_inset
24747
24748 Panel
24749 \family default
24750  button 
24751 \begin_inset Info
24752 type  "icon"
24753 arg   "math-insert \\space"
24754 \end_inset
24755
24756 .
24757  This generates a small space, and shows a small marker on the screen.
24758  For example, the sequence 
24759 \series bold
24760 a Ctrl+Space b
24761 \series default
24762
24763 \begin_inset Formula $a\,b$
24764 \end_inset
24765
24766  appears in \SpecialChar LyX
24767  as 
24768 \begin_inset Graphics
24769         filename clipart/SpaceMarker.png
24770
24771 \end_inset
24772
24773 .
24774  You can change the space to different sizes when you set the cursor behind
24775  the space marker and enter space again several times.
24776  With every space enter the size will be changed.
24777  Some markers for the space size appear red in \SpecialChar LyX
24778 , because they are negative
24779  spaces.
24780  Here are two examples:
24781 \end_layout
24782
24783 \begin_layout Standard
24784
24785 \series bold
24786 a Ctrl+Space b
24787 \series default
24788  and 3×
24789 \family sans
24790 Space
24791 \family default
24792
24793 \begin_inset Formula $a\quad b$
24794 \end_inset
24795
24796
24797 \end_layout
24798
24799 \begin_layout Standard
24800
24801 \series bold
24802 a Ctrl+Space b
24803 \series default
24804  and 5×
24805 \family sans
24806 Space
24807 \family default
24808
24809 \begin_inset Formula $a\!b$
24810 \end_inset
24811
24812
24813 \end_layout
24814
24815 \begin_layout Subsection
24816 Functions
24817 \begin_inset Index idx
24818 status collapsed
24819
24820 \begin_layout Plain Layout
24821 Math ! Functions
24822 \end_layout
24823
24824 \end_inset
24825
24826
24827 \begin_inset CommandInset label
24828 LatexCommand label
24829 name "subsec:Functions"
24830
24831 \end_inset
24832
24833
24834 \end_layout
24835
24836 \begin_layout Standard
24837 The 
24838 \family sans
24839 Math
24840 \begin_inset space ~
24841 \end_inset
24842
24843 Panel
24844 \family default
24845  contains under the button 
24846 \begin_inset Info
24847 type  "icon"
24848 arg   "math-insert \\functions"
24849 \end_inset
24850
24851  a number of function macros, such as 
24852 \begin_inset Formula $\sin$
24853 \end_inset
24854
24855
24856 \begin_inset Formula $\lim$
24857 \end_inset
24858
24859
24860 \emph on
24861 etc
24862 \emph default
24863 .
24864  (you can also insert them in a formula by typing 
24865 \series bold
24866
24867 \backslash
24868 sin
24869 \series default
24870  etc.).
24871  Standard mathematical practice is that functions are printed upright to
24872  avoid confusions, because 
24873 \begin_inset Formula $sin$
24874 \end_inset
24875
24876  does normally mean 
24877 \begin_inset Formula $s\cdot i\cdot n$
24878 \end_inset
24879
24880 .
24881 \end_layout
24882
24883 \begin_layout Standard
24884 Using the function macros will also produce correct spacing around the function:
24885  
24886 \begin_inset Formula $a\sin x$
24887 \end_inset
24888
24889  is different from 
24890 \begin_inset Formula $asinx$
24891 \end_inset
24892
24893 .
24894 \end_layout
24895
24896 \begin_layout Standard
24897 For some mathematical objects, like limits, the macro changes where subscripts
24898  are placed, as described in section
24899 \begin_inset space ~
24900 \end_inset
24901
24902
24903 \begin_inset CommandInset ref
24904 LatexCommand ref
24905 reference "subsec:Operators-with-Limits"
24906
24907 \end_inset
24908
24909 .
24910 \end_layout
24911
24912 \begin_layout Subsection
24913 Accents
24914 \begin_inset Index idx
24915 status collapsed
24916
24917 \begin_layout Plain Layout
24918 Math ! Accents
24919 \end_layout
24920
24921 \end_inset
24922
24923
24924 \end_layout
24925
24926 \begin_layout Standard
24927 In a formula you can insert accented characters in the same way as in text
24928  mode.
24929  This may depend on your keyboard, or the bindings file you use.
24930  You can also use \SpecialChar LaTeX
24931  commands, for example, to enter 
24932 \begin_inset Formula $\hat{a}$
24933 \end_inset
24934
24935  even if your keyboard doesn't have the circumflex enabled.
24936  Our example is entered by typing 
24937 \series bold
24938
24939 \backslash
24940 hat
24941 \begin_inset space \textvisiblespace{}
24942 \end_inset
24943
24944 a
24945 \series default
24946  in a formula.
24947  Table
24948 \begin_inset space ~
24949 \end_inset
24950
24951
24952 \begin_inset CommandInset ref
24953 LatexCommand ref
24954 reference "tab:Accent-names-and"
24955
24956 \end_inset
24957
24958  shows the equivalences between the accent names and the commands.
24959 \end_layout
24960
24961 \begin_layout Standard
24962 \begin_inset Float table
24963 wide false
24964 sideways false
24965 status open
24966
24967 \begin_layout Plain Layout
24968 \begin_inset Caption Standard
24969
24970 \begin_layout Plain Layout
24971 \begin_inset CommandInset label
24972 LatexCommand label
24973 name "tab:Accent-names-and"
24974
24975 \end_inset
24976
24977 Accent names and the corresponding commands.
24978 \end_layout
24979
24980 \end_inset
24981
24982
24983 \end_layout
24984
24985 \begin_layout Plain Layout
24986 \align center
24987 \begin_inset Tabular
24988 <lyxtabular version="3" rows="11" columns="3">
24989 <features tabularvalignment="middle">
24990 <column alignment="center" valignment="top" width="0pt">
24991 <column alignment="center" valignment="top" width="0pt">
24992 <column alignment="center" valignment="top" width="0pt">
24993 <row>
24994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24995 \begin_inset Text
24996
24997 \begin_layout Plain Layout
24998 Name
24999 \end_layout
25000
25001 \end_inset
25002 </cell>
25003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25004 \begin_inset Text
25005
25006 \begin_layout Plain Layout
25007 Command
25008 \end_layout
25009
25010 \end_inset
25011 </cell>
25012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25013 \begin_inset Text
25014
25015 \begin_layout Plain Layout
25016 E
25017 \family roman
25018 \series medium
25019 \shape up
25020 \size normal
25021 \emph off
25022 \bar no
25023 \noun off
25024 \color none
25025 xample
25026 \end_layout
25027
25028 \end_inset
25029 </cell>
25030 </row>
25031 <row>
25032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25033 \begin_inset Text
25034
25035 \begin_layout Plain Layout
25036
25037 \family roman
25038 \series medium
25039 \shape up
25040 \size normal
25041 \emph off
25042 \bar no
25043 \noun off
25044 \color none
25045 circumflex
25046 \end_layout
25047
25048 \end_inset
25049 </cell>
25050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25051 \begin_inset Text
25052
25053 \begin_layout Plain Layout
25054
25055 \series bold
25056
25057 \backslash
25058 hat
25059 \end_layout
25060
25061 \end_inset
25062 </cell>
25063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25064 \begin_inset Text
25065
25066 \begin_layout Plain Layout
25067
25068 \family roman
25069 \series medium
25070 \shape up
25071 \size normal
25072 \emph off
25073 \bar no
25074 \noun off
25075 \color none
25076 \begin_inset Formula $\hat{a}$
25077 \end_inset
25078
25079
25080 \end_layout
25081
25082 \end_inset
25083 </cell>
25084 </row>
25085 <row>
25086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25087 \begin_inset Text
25088
25089 \begin_layout Plain Layout
25090
25091 \family roman
25092 \series medium
25093 \shape up
25094 \size normal
25095 \emph off
25096 \bar no
25097 \noun off
25098 \color none
25099 grave
25100 \end_layout
25101
25102 \end_inset
25103 </cell>
25104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25105 \begin_inset Text
25106
25107 \begin_layout Plain Layout
25108
25109 \series bold
25110
25111 \backslash
25112 grave
25113 \end_layout
25114
25115 \end_inset
25116 </cell>
25117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25118 \begin_inset Text
25119
25120 \begin_layout Plain Layout
25121
25122 \family roman
25123 \series medium
25124 \shape up
25125 \size normal
25126 \emph off
25127 \bar no
25128 \noun off
25129 \color none
25130 \begin_inset Formula $\grave{a}$
25131 \end_inset
25132
25133
25134 \end_layout
25135
25136 \end_inset
25137 </cell>
25138 </row>
25139 <row>
25140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25141 \begin_inset Text
25142
25143 \begin_layout Plain Layout
25144
25145 \family roman
25146 \series medium
25147 \shape up
25148 \size normal
25149 \emph off
25150 \bar no
25151 \noun off
25152 \color none
25153 acute
25154 \end_layout
25155
25156 \end_inset
25157 </cell>
25158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25159 \begin_inset Text
25160
25161 \begin_layout Plain Layout
25162
25163 \series bold
25164
25165 \backslash
25166 acute
25167 \end_layout
25168
25169 \end_inset
25170 </cell>
25171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25172 \begin_inset Text
25173
25174 \begin_layout Plain Layout
25175
25176 \family roman
25177 \series medium
25178 \shape up
25179 \size normal
25180 \emph off
25181 \bar no
25182 \noun off
25183 \color none
25184 \begin_inset Formula $\acute{a}$
25185 \end_inset
25186
25187
25188 \end_layout
25189
25190 \end_inset
25191 </cell>
25192 </row>
25193 <row>
25194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25195 \begin_inset Text
25196
25197 \begin_layout Plain Layout
25198
25199 \family roman
25200 \series medium
25201 \shape up
25202 \size normal
25203 \emph off
25204 \bar no
25205 \noun off
25206 \color none
25207 umlaut
25208 \end_layout
25209
25210 \end_inset
25211 </cell>
25212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25213 \begin_inset Text
25214
25215 \begin_layout Plain Layout
25216
25217 \series bold
25218
25219 \backslash
25220 ddot
25221 \end_layout
25222
25223 \end_inset
25224 </cell>
25225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25226 \begin_inset Text
25227
25228 \begin_layout Plain Layout
25229
25230 \family roman
25231 \series medium
25232 \shape up
25233 \size normal
25234 \emph off
25235 \bar no
25236 \noun off
25237 \color none
25238 \begin_inset Formula $\ddot{a}$
25239 \end_inset
25240
25241
25242 \end_layout
25243
25244 \end_inset
25245 </cell>
25246 </row>
25247 <row>
25248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25249 \begin_inset Text
25250
25251 \begin_layout Plain Layout
25252
25253 \family roman
25254 \series medium
25255 \shape up
25256 \size normal
25257 \emph off
25258 \bar no
25259 \noun off
25260 \color none
25261 tilde
25262 \end_layout
25263
25264 \end_inset
25265 </cell>
25266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25267 \begin_inset Text
25268
25269 \begin_layout Plain Layout
25270
25271 \series bold
25272
25273 \backslash
25274 tilde
25275 \end_layout
25276
25277 \end_inset
25278 </cell>
25279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25280 \begin_inset Text
25281
25282 \begin_layout Plain Layout
25283
25284 \family roman
25285 \series medium
25286 \shape up
25287 \size normal
25288 \emph off
25289 \bar no
25290 \noun off
25291 \color none
25292 \begin_inset Formula $\tilde{a}$
25293 \end_inset
25294
25295
25296 \end_layout
25297
25298 \end_inset
25299 </cell>
25300 </row>
25301 <row>
25302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25303 \begin_inset Text
25304
25305 \begin_layout Plain Layout
25306
25307 \family roman
25308 \series medium
25309 \shape up
25310 \size normal
25311 \emph off
25312 \bar no
25313 \noun off
25314 \color none
25315 dot
25316 \end_layout
25317
25318 \end_inset
25319 </cell>
25320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25321 \begin_inset Text
25322
25323 \begin_layout Plain Layout
25324
25325 \series bold
25326
25327 \backslash
25328 dot
25329 \end_layout
25330
25331 \end_inset
25332 </cell>
25333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25334 \begin_inset Text
25335
25336 \begin_layout Plain Layout
25337
25338 \family roman
25339 \series medium
25340 \shape up
25341 \size normal
25342 \emph off
25343 \bar no
25344 \noun off
25345 \color none
25346 \begin_inset Formula $\dot{a}$
25347 \end_inset
25348
25349
25350 \end_layout
25351
25352 \end_inset
25353 </cell>
25354 </row>
25355 <row>
25356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25357 \begin_inset Text
25358
25359 \begin_layout Plain Layout
25360
25361 \family roman
25362 \series medium
25363 \shape up
25364 \size normal
25365 \emph off
25366 \bar no
25367 \noun off
25368 \color none
25369 breve
25370 \end_layout
25371
25372 \end_inset
25373 </cell>
25374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25375 \begin_inset Text
25376
25377 \begin_layout Plain Layout
25378
25379 \series bold
25380
25381 \backslash
25382 breve
25383 \end_layout
25384
25385 \end_inset
25386 </cell>
25387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25388 \begin_inset Text
25389
25390 \begin_layout Plain Layout
25391
25392 \family roman
25393 \series medium
25394 \shape up
25395 \size normal
25396 \emph off
25397 \bar no
25398 \noun off
25399 \color none
25400 \begin_inset Formula $\breve{a}$
25401 \end_inset
25402
25403
25404 \end_layout
25405
25406 \end_inset
25407 </cell>
25408 </row>
25409 <row>
25410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25411 \begin_inset Text
25412
25413 \begin_layout Plain Layout
25414
25415 \family roman
25416 \series medium
25417 \shape up
25418 \size normal
25419 \emph off
25420 \bar no
25421 \noun off
25422 \color none
25423 caron
25424 \end_layout
25425
25426 \end_inset
25427 </cell>
25428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25429 \begin_inset Text
25430
25431 \begin_layout Plain Layout
25432
25433 \series bold
25434
25435 \backslash
25436 check
25437 \end_layout
25438
25439 \end_inset
25440 </cell>
25441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25442 \begin_inset Text
25443
25444 \begin_layout Plain Layout
25445
25446 \family roman
25447 \series medium
25448 \shape up
25449 \size normal
25450 \emph off
25451 \bar no
25452 \noun off
25453 \color none
25454 \begin_inset Formula $\check{a}$
25455 \end_inset
25456
25457
25458 \end_layout
25459
25460 \end_inset
25461 </cell>
25462 </row>
25463 <row>
25464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25465 \begin_inset Text
25466
25467 \begin_layout Plain Layout
25468
25469 \family roman
25470 \series medium
25471 \shape up
25472 \size normal
25473 \emph off
25474 \bar no
25475 \noun off
25476 \color none
25477 macron
25478 \end_layout
25479
25480 \end_inset
25481 </cell>
25482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25483 \begin_inset Text
25484
25485 \begin_layout Plain Layout
25486
25487 \series bold
25488
25489 \backslash
25490 bar
25491 \end_layout
25492
25493 \end_inset
25494 </cell>
25495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25496 \begin_inset Text
25497
25498 \begin_layout Plain Layout
25499
25500 \family roman
25501 \series medium
25502 \shape up
25503 \size normal
25504 \emph off
25505 \bar no
25506 \noun off
25507 \color none
25508 \begin_inset Formula $\bar{a}$
25509 \end_inset
25510
25511
25512 \end_layout
25513
25514 \end_inset
25515 </cell>
25516 </row>
25517 <row>
25518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25519 \begin_inset Text
25520
25521 \begin_layout Plain Layout
25522 vector
25523 \end_layout
25524
25525 \end_inset
25526 </cell>
25527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25528 \begin_inset Text
25529
25530 \begin_layout Plain Layout
25531
25532 \series bold
25533
25534 \backslash
25535 vec
25536 \end_layout
25537
25538 \end_inset
25539 </cell>
25540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25541 \begin_inset Text
25542
25543 \begin_layout Plain Layout
25544
25545 \family roman
25546 \series medium
25547 \shape up
25548 \size normal
25549 \emph off
25550 \bar no
25551 \noun off
25552 \color none
25553 \begin_inset Formula $\vec{a}$
25554 \end_inset
25555
25556
25557 \end_layout
25558
25559 \end_inset
25560 </cell>
25561 </row>
25562 </lyxtabular>
25563
25564 \end_inset
25565
25566
25567 \end_layout
25568
25569 \end_inset
25570
25571
25572 \end_layout
25573
25574 \begin_layout Standard
25575 You can choose one of the accents by selecting an item from the 
25576 \family sans
25577 Frame
25578 \begin_inset space ~
25579 \end_inset
25580
25581 decorations
25582 \family default
25583  symbol set button 
25584 \begin_inset Info
25585 type  "icon"
25586 arg   "math-insert \\hat"
25587 \end_inset
25588
25589  in the math panel; this will apply to any selection you have made within
25590  a formula too.
25591 \end_layout
25592
25593 \begin_layout Section
25594 Brackets and Delimiters
25595 \begin_inset Index idx
25596 status collapsed
25597
25598 \begin_layout Plain Layout
25599 Math ! Brackets
25600 \end_layout
25601
25602 \end_inset
25603
25604
25605 \begin_inset Index idx
25606 status collapsed
25607
25608 \begin_layout Plain Layout
25609 Math ! Delimiters
25610 \end_layout
25611
25612 \end_inset
25613
25614
25615 \begin_inset CommandInset label
25616 LatexCommand label
25617 name "sec:Brackets-and-Delimiters"
25618
25619 \end_inset
25620
25621
25622 \end_layout
25623
25624 \begin_layout Standard
25625 There are several brackets available through \SpecialChar LyX
25626 .
25627  For some purposes, using just the keys 
25628 \family typewriter
25629 []{}()|<>
25630 \family default
25631  should suffice.
25632  But if you want to surround a large structure, like a matrix or a fraction,
25633  or if you have several layers of brackets, it is better to use the math
25634  toolbar delimiter icon 
25635 \begin_inset Info
25636 type  "icon"
25637 arg   "dialog-show mathdelimiter"
25638 \end_inset
25639
25640 .
25641  For example, if you construct the brackets around a matrix in this way:
25642 \begin_inset Formula 
25643 \[
25644 \left[\begin{array}{cc}
25645 1 & 2\\
25646 3 & 4
25647 \end{array}\right]
25648 \]
25649
25650 \end_inset
25651
25652 it makes it easier to see the layers of parentheses.
25653  Below, the expression on the left was entered using the delimiter icon
25654  
25655 \begin_inset Info
25656 type  "icon"
25657 arg   "dialog-show mathdelimiter"
25658 \end_inset
25659
25660  and the expression on the right was entered using the 
25661 \family typewriter
25662 ()
25663 \family default
25664  keys.
25665  
25666 \begin_inset Formula 
25667 \[
25668 \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})}))}
25669 \]
25670
25671 \end_inset
25672
25673
25674 \end_layout
25675
25676 \begin_layout Standard
25677 If you use the delimiter icon, the parentheses, and other brackets from
25678  that menu will automatically re-size to accommodate the size of what is
25679  inside.
25680 \end_layout
25681
25682 \begin_layout Standard
25683 To construct brackets click on the button for the bracket you want on the
25684  left side and right side.
25685  If you use the option 
25686 \family sans
25687 Keep
25688 \begin_inset space ~
25689 \end_inset
25690
25691 matched
25692 \family default
25693 , the selected bracket type will be used for the left and the right side.
25694  The selection will be shown as \SpecialChar TeX
25695  code.
25696  If you want one side not to have a bracket, use 
25697 \family sans
25698 (none)
25699 \family default
25700 .
25701  It will appear in \SpecialChar LyX
25702  with a dotted line, but nothing will be printed.
25703 \end_layout
25704
25705 \begin_layout Standard
25706 If you want to place brackets around existing math structures, like a square
25707  root, you can do so by first highlighting (selecting) the structure that
25708  is to go inside the brackets.
25709  Then choose the appropriate brackets for left and right and click on 
25710 \family sans
25711 Insert
25712 \family default
25713 .
25714  The most common bracket combinations (parentheses, square brackets, and
25715  braces, on both sides) can be entered more quickly using keyboard shortcuts.
25716  For example, to insert a pair of parentheses, select the structure and
25717  enter 
25718 \begin_inset Info
25719 type  "shortcut"
25720 arg   "math-delim ( )"
25721 \end_inset
25722
25723 .
25724 \end_layout
25725
25726 \begin_layout Section
25727 Arrays and Multi-line Equations
25728 \begin_inset Index idx
25729 status collapsed
25730
25731 \begin_layout Plain Layout
25732 Math ! Arrays
25733 \end_layout
25734
25735 \end_inset
25736
25737
25738 \begin_inset Index idx
25739 status collapsed
25740
25741 \begin_layout Plain Layout
25742 Math ! Matrices
25743 \end_layout
25744
25745 \end_inset
25746
25747
25748 \begin_inset Index idx
25749 status collapsed
25750
25751 \begin_layout Plain Layout
25752 Math ! Multi-line Equations
25753 \end_layout
25754
25755 \end_inset
25756
25757
25758 \end_layout
25759
25760 \begin_layout Standard
25761 Matrices are entered in \SpecialChar LyX
25762  using the 
25763 \family sans
25764 Math
25765 \begin_inset space ~
25766 \end_inset
25767
25768 Panel
25769 \family default
25770  matrix button 
25771 \begin_inset Info
25772 type  "icon"
25773 arg   "dialog-show mathmatrix"
25774 \end_inset
25775
25776 .
25777  It will open a dialog for you to choose the number of rows/columns.
25778  Here is an example:
25779 \begin_inset Formula 
25780 \[
25781 \left(\begin{array}{ccc}
25782 1 & 2 & 3\\
25783 4 & 5 & 6\\
25784 7 & 8 & 9
25785 \end{array}\right)
25786 \]
25787
25788 \end_inset
25789
25790 The parentheses aren't automatic, but you can add them as described in section
25791 \begin_inset space ~
25792 \end_inset
25793
25794
25795 \begin_inset CommandInset ref
25796 LatexCommand ref
25797 reference "sec:Brackets-and-Delimiters"
25798
25799 \end_inset
25800
25801 .
25802  When you construct the matrix, you can decide whether the column entries
25803  will be left-, right-, or center-justified.
25804  This alignment is set in the box 
25805 \family sans
25806 Horizontal
25807 \family default
25808  with the letters 
25809 \begin_inset Quotes eld
25810 \end_inset
25811
25812
25813 \family sans
25814 l
25815 \family default
25816
25817 \begin_inset Quotes erd
25818 \end_inset
25819
25820
25821 \begin_inset Quotes eld
25822 \end_inset
25823
25824
25825 \family sans
25826 r
25827 \family default
25828
25829 \begin_inset Quotes erd
25830 \end_inset
25831
25832 , and 
25833 \begin_inset Quotes eld
25834 \end_inset
25835
25836
25837 \family sans
25838 c
25839 \family default
25840
25841 \begin_inset Quotes erd
25842 \end_inset
25843
25844 .
25845  \SpecialChar LyX
25846  proposes a 
25847 \begin_inset Quotes eld
25848 \end_inset
25849
25850
25851 \family sans
25852 c
25853 \family default
25854
25855 \begin_inset Quotes erd
25856 \end_inset
25857
25858  for every column as default.
25859  For example, the sequence 
25860 \begin_inset Quotes eld
25861 \end_inset
25862
25863
25864 \family sans
25865 lcr
25866 \family default
25867
25868 \begin_inset Quotes erd
25869 \end_inset
25870
25871  means that the first column will be left-justified, the second will be
25872  centered, and the third column will be right-justified, because each letter
25873  corresponds to the relevant column.
25874  The result will look like this:
25875 \begin_inset Formula 
25876 \[
25877 \begin{array}{lcr}
25878 this & this\,column & this\,column\\
25879 column & has & has\,right\\
25880 has\,left\,alignment & center\,alignment & alignment
25881 \end{array}.
25882 \]
25883
25884 \end_inset
25885
25886
25887 \end_layout
25888
25889 \begin_layout Standard
25890 You can add more rows to an existing matrix by entering 
25891 \begin_inset Info
25892 type  "shortcut"
25893 arg   "newline-insert newline"
25894 \end_inset
25895
25896  while the cursor is in the matrix.
25897  Adding or deleting columns can be done via the menu 
25898 \family sans
25899 Edit\SpecialChar menuseparator
25900 Math
25901 \family default
25902  or the math toolbar.
25903 \end_layout
25904
25905 \begin_layout Standard
25906 There are other arrays used in formulas, such as distinctions of cases.
25907  It can be created with the menu 
25908 \family sans
25909 Insert\SpecialChar menuseparator
25910 Math\SpecialChar menuseparator
25911 Cases
25912 \begin_inset space ~
25913 \end_inset
25914
25915 Environment
25916 \family default
25917  or the command 
25918 \series bold
25919
25920 \backslash
25921 cases
25922 \series default
25923 .
25924  Here is an example: 
25925 \begin_inset Formula 
25926 \[
25927 f(x)=\begin{cases}
25928 -1 & x<0\\
25929 0 & x=0\\
25930 1 & x>0
25931 \end{cases}
25932 \]
25933
25934 \end_inset
25935
25936
25937 \end_layout
25938
25939 \begin_layout Standard
25940 \begin_inset VSpace bigskip
25941 \end_inset
25942
25943 Multi-line formulas are created when you press 
25944 \begin_inset Info
25945 type  "shortcut"
25946 arg   "newline-insert newline"
25947 \end_inset
25948
25949  within a formula.
25950  In an empty formula you can see that three blue boxes appear, one for each
25951  column.
25952  When you press 
25953 \begin_inset Info
25954 type  "shortcut"
25955 arg   "newline-insert newline"
25956 \end_inset
25957
25958  in a non-empty formula, the part before the relation sign (equal sign 
25959 \begin_inset Quotes eld
25960 \end_inset
25961
25962 =
25963 \begin_inset Quotes erd
25964 \end_inset
25965
25966  etc.) will be inserted automatically in the first column, the relation sign
25967  is in the second column, and the rest in the third column.
25968  A new row is created by every further entry of 
25969 \begin_inset Info
25970 type  "shortcut"
25971 arg   "newline-insert newline"
25972 \end_inset
25973
25974 .
25975  Multi-line formulas are always displayed formulas.
25976  Here is an example:
25977 \begin_inset Formula 
25978 \begin{eqnarray}
25979 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
25980 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
25981 \end{eqnarray}
25982
25983 \end_inset
25984
25985 Note that the middle column is designed for relation signs so structures
25986  in this column will be printed in a smaller size:
25987 \begin_inset Formula 
25988 \begin{eqnarray*}
25989 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
25990 \end{eqnarray*}
25991
25992 \end_inset
25993
25994
25995 \end_layout
25996
25997 \begin_layout Standard
25998 The multi-line formula type described here is called 
25999 \family typewriter
26000 \series medium
26001 eqnarray
26002 \family default
26003 \series default
26004 .
26005  There are other multi-line types more suitable for certain situations,
26006  for example if you want a better inter-line spacing than in formula 
26007 \begin_inset CommandInset ref
26008 LatexCommand eqref
26009 reference "eq:asquared"
26010
26011 \end_inset
26012
26013 .
26014  The other types are described in section
26015 \begin_inset space ~
26016 \end_inset
26017
26018
26019 \begin_inset CommandInset ref
26020 LatexCommand ref
26021 reference "subsec:AMS-Formula-Types"
26022
26023 \end_inset
26024
26025 .
26026 \end_layout
26027
26028 \begin_layout Section
26029 Formula Numbering and Referencing
26030 \begin_inset Index idx
26031 status collapsed
26032
26033 \begin_layout Plain Layout
26034 Math ! Formula numbering
26035 \end_layout
26036
26037 \end_inset
26038
26039
26040 \begin_inset Index idx
26041 status collapsed
26042
26043 \begin_layout Plain Layout
26044 Math ! Referencing formulas
26045 \end_layout
26046
26047 \end_inset
26048
26049
26050 \begin_inset CommandInset label
26051 LatexCommand label
26052 name "sec:Formula-Numbering-and"
26053
26054 \end_inset
26055
26056
26057 \end_layout
26058
26059 \begin_layout Standard
26060 To number a formula, set the cursor in the formula and use the menu 
26061 \family sans
26062 Edit\SpecialChar menuseparator
26063 Math\SpecialChar menuseparator
26064 Number
26065 \begin_inset space ~
26066 \end_inset
26067
26068 Whole
26069 \begin_inset space ~
26070 \end_inset
26071
26072 Formula
26073 \family default
26074  or the shortcut 
26075 \begin_inset Info
26076 type  "shortcut"
26077 arg   "math-number-toggle"
26078 \end_inset
26079
26080 .
26081  The formula number appears in \SpecialChar LyX
26082  within parentheses.
26083  The number shown is temporary and may be different when the output is generated.
26084  The placement and format of the formula number in the output depends on
26085  the document class.
26086  In this document the number is printed together with the chapter number,
26087  separated by a dot:
26088 \begin_inset Formula 
26089 \begin{equation}
26090 1+1=2
26091 \end{equation}
26092
26093 \end_inset
26094
26095 Using 
26096 \begin_inset Info
26097 type  "shortcut"
26098 arg   "math-number-toggle"
26099 \end_inset
26100
26101  in a numbered formula will switch off the numbering.
26102  You can only number displayed formulas.
26103 \end_layout
26104
26105 \begin_layout Standard
26106 Multi-line formulas can be numbered line by line: Using the menu 
26107 \family sans
26108 Edit\SpecialChar menuseparator
26109 Math\SpecialChar menuseparator
26110 Number
26111 \begin_inset space ~
26112 \end_inset
26113
26114 This
26115 \begin_inset space ~
26116 \end_inset
26117
26118 Line
26119 \family default
26120  or the shortcut 
26121 \begin_inset Info
26122 type  "shortcut"
26123 arg   "math-number-line-toggle"
26124 \end_inset
26125
26126  will only toggle the numbering of the line where the cursor is:
26127 \begin_inset Formula 
26128 \begin{eqnarray}
26129 1 & = & 3-2\\
26130 2 & = & 4-2\nonumber \\
26131 4 & \leq & 7
26132 \end{eqnarray}
26133
26134 \end_inset
26135
26136 To number all lines use the shortcut 
26137 \begin_inset Info
26138 type  "shortcut"
26139 arg   "math-number-toggle"
26140 \end_inset
26141
26142 .
26143 \end_layout
26144
26145 \begin_layout Standard
26146 \begin_inset VSpace bigskip
26147 \end_inset
26148
26149 Every displayed formula can be referenced by its number using a label.
26150  A label is inserted with the menu 
26151 \family sans
26152 Insert\SpecialChar menuseparator
26153 Label
26154 \family default
26155  (toolbar button 
26156 \begin_inset Info
26157 type  "icon"
26158 arg   "label-insert"
26159 \end_inset
26160
26161 ) when the cursor is in the formula.
26162  This opens a dialog to enter the label.
26163  It is recommended that you use the suggested 
26164 \begin_inset Quotes eld
26165 \end_inset
26166
26167
26168 \family sans
26169 eq:
26170 \family default
26171
26172 \begin_inset Quotes erd
26173 \end_inset
26174
26175  as the first part of the label, because this helps later to identify the
26176  label type when you have many labels in your document.
26177  We inserted in the following example the label 
26178 \begin_inset Quotes eld
26179 \end_inset
26180
26181 eq:tanhExp
26182 \begin_inset Quotes erd
26183 \end_inset
26184
26185  in the second line:
26186 \begin_inset Formula 
26187 \begin{eqnarray}
26188 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
26189  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
26190 \end{eqnarray}
26191
26192 \end_inset
26193
26194 Every labeled line is automatically numbered.
26195  Therefore the label is shown behind the formula number.
26196  You can reference a labeled formula using the menu 
26197 \family sans
26198 Insert\SpecialChar menuseparator
26199 Cross
26200 \begin_inset space ~
26201 \end_inset
26202
26203 Reference
26204 \family default
26205  (toolbar button 
26206 \begin_inset Info
26207 type  "icon"
26208 arg   "dialog-show-new-inset ref"
26209 \end_inset
26210
26211 ).
26212  A dialog appears to choose a label you want to refer to.
26213  The reference appears in \SpecialChar LyX
26214  as a gray cross-reference box and in the output
26215  as the formula number:
26216 \end_layout
26217
26218 \begin_layout Standard
26219 This is a cross-reference to equation (
26220 \begin_inset CommandInset ref
26221 LatexCommand ref
26222 reference "eq:tanhExp"
26223
26224 \end_inset
26225
26226 ).
26227 \end_layout
26228
26229 \begin_layout Standard
26230 The properties of \SpecialChar LyX
26231 's cross-reference box are described in section
26232 \begin_inset space ~
26233 \end_inset
26234
26235
26236 \begin_inset CommandInset ref
26237 LatexCommand ref
26238 reference "sec:Cross-References"
26239
26240 \end_inset
26241
26242 .
26243  To delete a label, set the cursor at the end in the labeled formula and
26244  press 
26245 \family sans
26246 Del
26247 \family default
26248 .
26249 \end_layout
26250
26251 \begin_layout Section
26252 User defined math macros
26253 \begin_inset Index idx
26254 status collapsed
26255
26256 \begin_layout Plain Layout
26257 Math ! Macros
26258 \end_layout
26259
26260 \end_inset
26261
26262
26263 \end_layout
26264
26265 \begin_layout Standard
26266 \SpecialChar LyX
26267  allows you to define macros for formulas which is very useful when you
26268  have equations of the same form in a document several times.
26269  Math macros are explained in section 
26270 \emph on
26271 Math
26272 \begin_inset space ~
26273 \end_inset
26274
26275 Macros
26276 \emph default
26277  of the 
26278 \emph on
26279 Math
26280 \emph default
26281  manual.
26282 \end_layout
26283
26284 \begin_layout Section
26285 Fine-Tuning
26286 \end_layout
26287
26288 \begin_layout Subsection
26289 Typefaces
26290 \begin_inset Index idx
26291 status collapsed
26292
26293 \begin_layout Plain Layout
26294 Math ! Typefaces
26295 \end_layout
26296
26297 \end_inset
26298
26299
26300 \end_layout
26301
26302 \begin_layout Standard
26303 The standard font for text is italic, for numbers the standard is roman.
26304  To set a font in a formula, use the 
26305 \family sans
26306 Math
26307 \begin_inset space ~
26308 \end_inset
26309
26310 Panel
26311 \family default
26312  button 
26313 \begin_inset Info
26314 type  "icon"
26315 arg   "math-insert \\font"
26316 \end_inset
26317
26318 , or enter its command, listed in table
26319 \begin_inset space ~
26320 \end_inset
26321
26322
26323 \begin_inset CommandInset ref
26324 LatexCommand ref
26325 reference "tab:Typefaces-and-the"
26326
26327 \end_inset
26328
26329 , directly.
26330 \end_layout
26331
26332 \begin_layout Standard
26333 \begin_inset Float table
26334 wide false
26335 sideways false
26336 status open
26337
26338 \begin_layout Plain Layout
26339 \begin_inset Caption Standard
26340
26341 \begin_layout Plain Layout
26342 \begin_inset CommandInset label
26343 LatexCommand label
26344 name "tab:Typefaces-and-the"
26345
26346 \end_inset
26347
26348 Typefaces and the corresponding commands.
26349 \end_layout
26350
26351 \end_inset
26352
26353
26354 \end_layout
26355
26356 \begin_layout Plain Layout
26357 \align center
26358 \begin_inset Tabular
26359 <lyxtabular version="3" rows="9" columns="2">
26360 <features tabularvalignment="middle">
26361 <column alignment="center" valignment="top" width="0pt">
26362 <column alignment="center" valignment="top" width="0pt">
26363 <row>
26364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26365 \begin_inset Text
26366
26367 \begin_layout Plain Layout
26368 Font
26369 \end_layout
26370
26371 \end_inset
26372 </cell>
26373 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26374 \begin_inset Text
26375
26376 \begin_layout Plain Layout
26377 Command
26378 \end_layout
26379
26380 \end_inset
26381 </cell>
26382 </row>
26383 <row>
26384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26385 \begin_inset Text
26386
26387 \begin_layout Plain Layout
26388
26389 \shape up
26390 \size normal
26391 \bar no
26392 \noun off
26393 \color none
26394 \begin_inset Formula $\mathrm{Roman}$
26395 \end_inset
26396
26397
26398 \end_layout
26399
26400 \end_inset
26401 </cell>
26402 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26403 \begin_inset Text
26404
26405 \begin_layout Plain Layout
26406
26407 \series bold
26408
26409 \backslash
26410 mathrm
26411 \end_layout
26412
26413 \end_inset
26414 </cell>
26415 </row>
26416 <row>
26417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26418 \begin_inset Text
26419
26420 \begin_layout Plain Layout
26421 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
26422 \end_inset
26423
26424
26425 \end_layout
26426
26427 \end_inset
26428 </cell>
26429 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26430 \begin_inset Text
26431
26432 \begin_layout Plain Layout
26433
26434 \series bold
26435
26436 \backslash
26437 mathbf
26438 \end_layout
26439
26440 \end_inset
26441 </cell>
26442 </row>
26443 <row>
26444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26445 \begin_inset Text
26446
26447 \begin_layout Plain Layout
26448 \begin_inset Formula $\mathit{Italic}$
26449 \end_inset
26450
26451
26452 \end_layout
26453
26454 \end_inset
26455 </cell>
26456 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26457 \begin_inset Text
26458
26459 \begin_layout Plain Layout
26460
26461 \series bold
26462
26463 \backslash
26464 mathit
26465 \end_layout
26466
26467 \end_inset
26468 </cell>
26469 </row>
26470 <row>
26471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26472 \begin_inset Text
26473
26474 \begin_layout Plain Layout
26475
26476 \shape up
26477 \size normal
26478 \bar no
26479 \noun off
26480 \color none
26481 \begin_inset Formula $\mathtt{Typewriter}$
26482 \end_inset
26483
26484
26485 \end_layout
26486
26487 \end_inset
26488 </cell>
26489 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26490 \begin_inset Text
26491
26492 \begin_layout Plain Layout
26493
26494 \series bold
26495
26496 \backslash
26497 mathtt
26498 \end_layout
26499
26500 \end_inset
26501 </cell>
26502 </row>
26503 <row>
26504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26505 \begin_inset Text
26506
26507 \begin_layout Plain Layout
26508 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
26509 \end_inset
26510
26511
26512 \end_layout
26513
26514 \end_inset
26515 </cell>
26516 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26517 \begin_inset Text
26518
26519 \begin_layout Plain Layout
26520
26521 \series bold
26522
26523 \backslash
26524 mathbb
26525 \end_layout
26526
26527 \end_inset
26528 </cell>
26529 </row>
26530 <row>
26531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26532 \begin_inset Text
26533
26534 \begin_layout Plain Layout
26535 \begin_inset Formula $\mathfrak{Fraktur}$
26536 \end_inset
26537
26538
26539 \end_layout
26540
26541 \end_inset
26542 </cell>
26543 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26544 \begin_inset Text
26545
26546 \begin_layout Plain Layout
26547
26548 \series bold
26549
26550 \backslash
26551 mathfrak
26552 \end_layout
26553
26554 \end_inset
26555 </cell>
26556 </row>
26557 <row>
26558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26559 \begin_inset Text
26560
26561 \begin_layout Plain Layout
26562
26563 \shape up
26564 \size normal
26565 \emph on
26566 \bar no
26567 \noun off
26568 \color none
26569 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
26570 \end_inset
26571
26572
26573 \end_layout
26574
26575 \end_inset
26576 </cell>
26577 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
26578 \begin_inset Text
26579
26580 \begin_layout Plain Layout
26581
26582 \series bold
26583
26584 \backslash
26585 mathcal
26586 \end_layout
26587
26588 \end_inset
26589 </cell>
26590 </row>
26591 <row>
26592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26593 \begin_inset Text
26594
26595 \begin_layout Plain Layout
26596 \begin_inset Formula $\mathsf{SansSerif}$
26597 \end_inset
26598
26599
26600 \end_layout
26601
26602 \end_inset
26603 </cell>
26604 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
26605 \begin_inset Text
26606
26607 \begin_layout Plain Layout
26608
26609 \series bold
26610
26611 \backslash
26612 mathsf
26613 \end_layout
26614
26615 \end_inset
26616 </cell>
26617 </row>
26618 </lyxtabular>
26619
26620 \end_inset
26621
26622
26623 \end_layout
26624
26625 \end_inset
26626
26627
26628 \end_layout
26629
26630 \begin_layout Standard
26631 \begin_inset Note Greyedout
26632 status open
26633
26634 \begin_layout Plain Layout
26635
26636 \series bold
26637 Note:
26638 \series default
26639  You can only print capital letters in the typefaces 
26640 \family sans
26641 Blackboard
26642 \family default
26643  and 
26644 \family sans
26645 Calligraphic
26646 \family default
26647 .
26648 \end_layout
26649
26650 \end_inset
26651
26652
26653 \end_layout
26654
26655 \begin_layout Standard
26656 When you use a typeface, a blue box is inserted in the formula.
26657  Every character in this box will be printed in this typeface.
26658  Pressing 
26659 \family sans
26660 Space
26661 \family default
26662  within the box will set the cursor outside, so that you have to use a protected
26663  space when you need a space in the box.
26664  Here is an example where 
26665 \begin_inset Quotes eld
26666 \end_inset
26667
26668 N
26669 \begin_inset Quotes erd
26670 \end_inset
26671
26672  in 
26673 \family sans
26674 Blackboard
26675 \family default
26676  denotes the set of numbers:
26677 \begin_inset Formula 
26678 \[
26679 f(x)=\sqrt{x}\:;\:x\in\mathbb{N}
26680 \]
26681
26682 \end_inset
26683
26684
26685 \end_layout
26686
26687 \begin_layout Standard
26688 The typefaces are nestable, which can cause confusion.
26689  You can, for example, put a character in 
26690 \family sans
26691 Fraktur
26692 \family default
26693  in a box for 
26694 \family sans
26695 Typewriter
26696 \family default
26697
26698 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
26699 \end_inset
26700
26701  
26702 \begin_inset Newline newline
26703 \end_inset
26704
26705 So it is better not to use this feature.
26706 \end_layout
26707
26708 \begin_layout Standard
26709 The typefaces have no effect on Greek letters: 
26710 \begin_inset Formula $\mathfrak{abc\delta e}$
26711 \end_inset
26712
26713
26714 \begin_inset Newline newline
26715 \end_inset
26716
26717 You can only print them emboldened using the command 
26718 \series bold
26719
26720 \backslash
26721 boldsymbol
26722 \series default
26723 , which works like the other typeface commands: 
26724 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
26725 \end_inset
26726
26727
26728 \end_layout
26729
26730 \begin_layout Standard
26731
26732 \series bold
26733
26734 \backslash
26735 boldsymbol
26736 \series default
26737  works for all symbols, letters, and numbers.
26738 \end_layout
26739
26740 \begin_layout Standard
26741 A number of other font options are available as well, in the menu 
26742 \family sans
26743 Edit\SpecialChar menuseparator
26744 Math\SpecialChar menuseparator
26745 Text
26746 \begin_inset space ~
26747 \end_inset
26748
26749 Style
26750 \family default
26751 .
26752 \end_layout
26753
26754 \begin_layout Subsection
26755 Math Text
26756 \begin_inset Index idx
26757 status collapsed
26758
26759 \begin_layout Plain Layout
26760 Math ! Text
26761 \end_layout
26762
26763 \end_inset
26764
26765
26766 \end_layout
26767
26768 \begin_layout Standard
26769 Typefaces are useful for entering some characters in some given font, but
26770  not for text.
26771  For typing longer pieces of text use the math text, which is obtained using
26772  the entry 
26773 \family sans
26774 Normal
26775 \begin_inset space ~
26776 \end_inset
26777
26778 text
26779 \begin_inset space ~
26780 \end_inset
26781
26782 mode
26783 \family default
26784  of the 
26785 \family sans
26786 Math
26787 \begin_inset space ~
26788 \end_inset
26789
26790 Panel
26791 \family default
26792  button 
26793 \begin_inset Info
26794 type  "icon"
26795 arg   "math-insert \\font"
26796 \end_inset
26797
26798 .
26799  Math text appears in \SpecialChar LyX
26800  in black instead of blue.
26801  You can use spaces and accents in math text as in normal text.
26802  Here is an example:
26803 \begin_inset Formula 
26804 \[
26805 f(x)=\begin{cases}
26806 x & \mbox{if I say so}\\
26807 -x & \mbox{under Umständen}
26808 \end{cases}
26809 \]
26810
26811 \end_inset
26812
26813
26814 \end_layout
26815
26816 \begin_layout Subsection
26817 Font Sizes
26818 \begin_inset Index idx
26819 status collapsed
26820
26821 \begin_layout Plain Layout
26822 Math ! Font sizes
26823 \end_layout
26824
26825 \end_inset
26826
26827
26828 \end_layout
26829
26830 \begin_layout Standard
26831 There are four font styles (relative sizes) used in math-mode, which are
26832  automatically chosen in most situations.
26833  These are called 
26834 \family sans
26835 textstyle
26836 \family default
26837
26838 \family sans
26839 displaystyle
26840 \family default
26841
26842 \family sans
26843 scriptstyle
26844 \family default
26845 , and 
26846 \family sans
26847 scriptscriptstyle
26848 \family default
26849 .
26850  For most characters, 
26851 \family sans
26852 textstyle
26853 \family default
26854  and 
26855 \family sans
26856 displaystyle
26857 \family default
26858  are actually the same size, but fractions, superscripts and subscripts,
26859  and certain other structures, are set larger in 
26860 \family sans
26861 displaystyle
26862 \family default
26863 .
26864  Except for some operators, which resize themselves to accommodate various
26865  situations, all text will be set in the styles that \SpecialChar LaTeX
26866  thinks are appropriate.
26867  These choices can be overridden by using the math panel button 
26868 \begin_inset Info
26869 type  "icon"
26870 arg   "math-insert \\style"
26871 \end_inset
26872
26873 .
26874  A box for the size will be created in which you can insert the math structure.
26875  For example, you can set 
26876 \begin_inset Formula $\frac{1}{2}$
26877 \end_inset
26878
26879 , which is normally in 
26880 \family sans
26881 textstyle
26882 \family default
26883 , larger in 
26884 \family sans
26885 displaystyle
26886 \family default
26887
26888 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
26889 \end_inset
26890
26891 .
26892  The four styles are used in the following example:
26893 \end_layout
26894
26895 \begin_layout Standard
26896 \begin_inset Formula $displaystyle$
26897 \end_inset
26898
26899
26900 \begin_inset Formula ${\textstyle textstyle}$
26901 \end_inset
26902
26903
26904 \begin_inset Formula ${\scriptstyle scriptstyle}$
26905 \end_inset
26906
26907
26908 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
26909 \end_inset
26910
26911 .
26912 \end_layout
26913
26914 \begin_layout Standard
26915 All these math-mode font sizes are relative so that if the whole math inset
26916  is set in a particular size with the menu 
26917 \family sans
26918 Edit\SpecialChar menuseparator
26919 Text
26920 \begin_inset space ~
26921 \end_inset
26922
26923 Style
26924 \family default
26925 , all sizes in the formula will be adjusted relative to this size.
26926  Similarly, if the base font size of the document is changed, all fonts
26927  will be adjusted to correspond.
26928  As an example here is a formula in the font size 
26929 \begin_inset Quotes eld
26930 \end_inset
26931
26932 largest
26933 \begin_inset Quotes erd
26934 \end_inset
26935
26936 :
26937 \end_layout
26938
26939 \begin_layout Standard
26940
26941 \family roman
26942 \size largest
26943 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
26944 \end_inset
26945
26946
26947 \end_layout
26948
26949 \begin_layout Section
26950 AMS-\SpecialChar LaTeX
26951
26952 \begin_inset Index idx
26953 status collapsed
26954
26955 \begin_layout Plain Layout
26956 AMS math
26957 \end_layout
26958
26959 \end_inset
26960
26961
26962 \begin_inset Index idx
26963 status collapsed
26964
26965 \begin_layout Plain Layout
26966 Math ! AMS
26967 \end_layout
26968
26969 \end_inset
26970
26971
26972 \end_layout
26973
26974 \begin_layout Standard
26975 \SpecialChar LyX
26976  supports the packages provided by the American Mathematical Society (AMS)
26977  that are in common use.
26978 \end_layout
26979
26980 \begin_layout Subsection
26981 Enabling AMS-Support
26982 \end_layout
26983
26984 \begin_layout Standard
26985 You can make the facilities of the AMS-packages explicitly available in
26986  the document by selecting the checkbox 
26987 \family sans
26988 Use
26989 \begin_inset space ~
26990 \end_inset
26991
26992 AMS
26993 \begin_inset space ~
26994 \end_inset
26995
26996 math
26997 \begin_inset space ~
26998 \end_inset
26999
27000 package
27001 \family default
27002  in the 
27003 \family sans
27004 Document\SpecialChar menuseparator
27005 Settings
27006 \family default
27007
27008 \begin_inset Index idx
27009 status collapsed
27010
27011 \begin_layout Plain Layout
27012 Document ! Settings
27013 \end_layout
27014
27015 \end_inset
27016
27017  dialog under 
27018 \family sans
27019 Math
27020 \begin_inset space ~
27021 \end_inset
27022
27023 Options
27024 \family default
27025 .
27026  AMS is needed for many math-constructs; so when you get \SpecialChar LaTeX
27027 -errors in formulas,
27028  ensure that you have enabled AMS.
27029 \end_layout
27030
27031 \begin_layout Subsection
27032 AMS-Formula Types
27033 \begin_inset CommandInset label
27034 LatexCommand label
27035 name "subsec:AMS-Formula-Types"
27036
27037 \end_inset
27038
27039
27040 \begin_inset Index idx
27041 status collapsed
27042
27043 \begin_layout Plain Layout
27044 Math ! Multi-line Equations
27045 \end_layout
27046
27047 \end_inset
27048
27049
27050 \end_layout
27051
27052 \begin_layout Standard
27053 AMS-\SpecialChar LaTeX
27054  provides a selection of different formula types.
27055  \SpecialChar LyX
27056  allows you to choose between 
27057 \family typewriter
27058 align
27059 \family default
27060
27061 \family typewriter
27062 alignat
27063 \family default
27064
27065 \family typewriter
27066 flalign
27067 \family default
27068
27069 \family typewriter
27070 gather
27071 \family default
27072 , and 
27073 \family typewriter
27074 multline
27075 \family default
27076 .
27077  We refer you to the AMS-documentation, 
27078 \begin_inset CommandInset citation
27079 LatexCommand cite
27080 key "AMS"
27081 literal "true"
27082
27083 \end_inset
27084
27085 , for an explanation of these formula types.
27086 \end_layout
27087
27088 \begin_layout Chapter
27089 More Tools
27090 \end_layout
27091
27092 \begin_layout Section
27093 Cross-References
27094 \begin_inset Index idx
27095 status collapsed
27096
27097 \begin_layout Plain Layout
27098 Cross references
27099 \end_layout
27100
27101 \end_inset
27102
27103
27104 \begin_inset CommandInset label
27105 LatexCommand label
27106 name "sec:Cross-References"
27107
27108 \end_inset
27109
27110
27111 \end_layout
27112
27113 \begin_layout Standard
27114 One of \SpecialChar LyX
27115 's strengths is cross-references.
27116  You can reference every section, float, footnote, formula, and list in
27117  the document.
27118  To reference a document part, you have to insert a label into it.
27119  The label is used as an anchor and a name for the reference.
27120  We want for example to refer to the second item of the following list:
27121 \end_layout
27122
27123 \begin_layout Enumerate
27124 First item
27125 \end_layout
27126
27127 \begin_layout Enumerate
27128 \begin_inset CommandInset label
27129 LatexCommand label
27130 name "enu:Second-item"
27131
27132 \end_inset
27133
27134 Second item
27135 \end_layout
27136
27137 \begin_layout Enumerate
27138 Third item
27139 \end_layout
27140
27141 \begin_layout Standard
27142 First we insert a label into the second item with the menu 
27143 \family sans
27144 Insert\SpecialChar menuseparator
27145 Label
27146 \family default
27147  or by pressing the toolbar button 
27148 \begin_inset Info
27149 type  "icon"
27150 arg   "label-insert"
27151 \end_inset
27152
27153 .
27154  A gray label box like this: 
27155 \begin_inset Graphics
27156         filename clipart/label.png
27157
27158 \end_inset
27159
27160  is inserted and the label window pops up asking for the label text.
27161  \SpecialChar LyX
27162  offers as text the first words of the item with a prefix, in our case
27163  the text 
27164 \begin_inset Quotes eld
27165 \end_inset
27166
27167
27168 \family sans
27169 enu:Second-item
27170 \family default
27171
27172 \begin_inset Quotes erd
27173 \end_inset
27174
27175 .
27176  The prefix 
27177 \begin_inset Quotes eld
27178 \end_inset
27179
27180
27181 \family sans
27182 enu:
27183 \family default
27184
27185 \begin_inset Quotes erd
27186 \end_inset
27187
27188  stands for 
27189 \begin_inset Quotes eld
27190 \end_inset
27191
27192 enumerate
27193 \begin_inset Quotes erd
27194 \end_inset
27195
27196 .
27197  The prefix depends on the document part where the label is inserted; for
27198  example, if you insert a label into a section heading, the suggested prefix
27199  will be 
27200 \begin_inset Quotes eld
27201 \end_inset
27202
27203
27204 \family sans
27205 sec:
27206 \family default
27207
27208 \begin_inset Quotes erd
27209 \end_inset
27210
27211 .
27212 \end_layout
27213
27214 \begin_layout Standard
27215 To reference the item, we refer to its label using the menu 
27216 \family sans
27217 Insert\SpecialChar menuseparator
27218 Cross-Reference
27219 \family default
27220  or the toolbar button 
27221 \begin_inset Info
27222 type  "icon"
27223 arg   "dialog-show-new-inset ref"
27224 \end_inset
27225
27226 .
27227  A gray cross-reference box like this: 
27228 \begin_inset Graphics
27229         filename clipart/reference.png
27230
27231 \end_inset
27232
27233  is inserted and the cross-reference window appears showing all the labels
27234  in the document.
27235  We can now sort the labels alphabetically and then choose the entry 
27236 \begin_inset Quotes eld
27237 \end_inset
27238
27239
27240 \family sans
27241 enu:Second-item
27242 \family default
27243
27244 \begin_inset Quotes erd
27245 \end_inset
27246
27247 .
27248  At the position of the cross-reference box the item number will appear
27249  in the output.
27250 \end_layout
27251
27252 \begin_layout Standard
27253 As an alternative to 
27254 \family sans
27255 Insert\SpecialChar menuseparator
27256 Cross-Reference
27257 \family default
27258 , you can right-click on a label and in the popup menu select 
27259 \family sans
27260 Copy as Reference
27261 \family default
27262 .
27263  The cross-reference to this label is now in the clipboard and can be pasted
27264  to the actual cursor position via the menu 
27265 \family sans
27266 Edit\SpecialChar menuseparator
27267 Paste
27268 \family default
27269  (shortcut 
27270 \begin_inset Info
27271 type  "shortcut"
27272 arg   "paste"
27273 \end_inset
27274
27275 ).
27276 \end_layout
27277
27278 \begin_layout Standard
27279 Here is our cross-reference: Item
27280 \begin_inset space ~
27281 \end_inset
27282
27283
27284 \begin_inset CommandInset ref
27285 LatexCommand ref
27286 reference "enu:Second-item"
27287
27288 \end_inset
27289
27290
27291 \end_layout
27292
27293 \begin_layout Standard
27294 It is recommended to use a protected space
27295 \begin_inset Foot
27296 status collapsed
27297
27298 \begin_layout Plain Layout
27299 described in section
27300 \begin_inset space ~
27301 \end_inset
27302
27303
27304 \begin_inset CommandInset ref
27305 LatexCommand ref
27306 reference "subsec:Protected-Space"
27307
27308 \end_inset
27309
27310
27311 \end_layout
27312
27313 \end_inset
27314
27315  between the cross-reference name and the cross-reference to avoid ugly
27316  line breaks between them.
27317 \end_layout
27318
27319 \begin_layout Standard
27320 There are eight formats of cross-references:
27321 \end_layout
27322
27323 \begin_layout Description
27324 <reference>: prints the number, this is the default: 
27325 \begin_inset CommandInset ref
27326 LatexCommand ref
27327 reference "fig:Two-distorted-images"
27328
27329 \end_inset
27330
27331
27332 \end_layout
27333
27334 \begin_layout Description
27335 (<reference>): prints the number within two parentheses, this is the style
27336  normally used to reference formulas, especially when the reference name
27337  
27338 \begin_inset Quotes eld
27339 \end_inset
27340
27341 Equation
27342 \begin_inset Quotes erd
27343 \end_inset
27344
27345  is omitted: 
27346 \begin_inset CommandInset ref
27347 LatexCommand eqref
27348 reference "eq:tanhExp"
27349
27350 \end_inset
27351
27352
27353 \end_layout
27354
27355 \begin_layout Description
27356 <page>: prints the page number: Page
27357 \begin_inset space ~
27358 \end_inset
27359
27360
27361 \begin_inset CommandInset ref
27362 LatexCommand pageref
27363 reference "fig:Two-distorted-images"
27364
27365 \end_inset
27366
27367
27368 \end_layout
27369
27370 \begin_layout Description
27371 on
27372 \begin_inset space ~
27373 \end_inset
27374
27375 page
27376 \begin_inset space ~
27377 \end_inset
27378
27379 <page>: prints the text “on page” and the page number: 
27380 \begin_inset CommandInset ref
27381 LatexCommand vpageref
27382 reference "fig:Two-distorted-images"
27383
27384 \end_inset
27385
27386
27387 \begin_inset Newline newline
27388 \end_inset
27389
27390 If the label is on the same page, it prints “on this page”; if the label
27391  is on a facing page in a two-sided document, it prints “on the facing page”;
27392  if it is on the previous page which is not a facing page, it prints “on
27393  the previous page”; if it is on the next page which is not a facing page,
27394  it prints “on the next page”.
27395  The wording of the printed text also depends on the used document class.
27396 \end_layout
27397
27398 \begin_layout Description
27399 <reference>
27400 \begin_inset space ~
27401 \end_inset
27402
27403 on
27404 \begin_inset space ~
27405 \end_inset
27406
27407 page
27408 \begin_inset space ~
27409 \end_inset
27410
27411 <page>: prints the number, the text “on page” and the page number: 
27412 \begin_inset CommandInset ref
27413 LatexCommand vref
27414 reference "fig:Two-distorted-images"
27415
27416 \end_inset
27417
27418
27419 \begin_inset Newline newline
27420 \end_inset
27421
27422 If the label is on the same page, this format behaves like 
27423 \family sans
27424 \series bold
27425 <reference>
27426 \family default
27427 \series default
27428 ; otherwise it behaves like 
27429 \family sans
27430 \series bold
27431 on
27432 \begin_inset space ~
27433 \end_inset
27434
27435 page
27436 \begin_inset space ~
27437 \end_inset
27438
27439 <page>
27440 \family default
27441 \series default
27442 .
27443 \end_layout
27444
27445 \begin_layout Description
27446 Formatted
27447 \begin_inset space ~
27448 \end_inset
27449
27450 reference: prints a self defined cross-reference format.
27451 \begin_inset Newline newline
27452 \end_inset
27453
27454
27455 \begin_inset Note Greyedout
27456 status open
27457
27458 \begin_layout Plain Layout
27459
27460 \series bold
27461 Note:
27462 \series default
27463  This feature is only available when you have the \SpecialChar LaTeX
27464 -package 
27465 \series bold
27466 prettyref
27467 \series default
27468  or 
27469 \series bold
27470 refstyle
27471 \series default
27472
27473 \begin_inset Index idx
27474 status collapsed
27475
27476 \begin_layout Plain Layout
27477 \SpecialChar LaTeX
27478  packages ! prettyref
27479 \end_layout
27480
27481 \end_inset
27482
27483
27484 \begin_inset Index idx
27485 status collapsed
27486
27487 \begin_layout Plain Layout
27488 \SpecialChar LaTeX
27489  packages ! refstyle
27490 \end_layout
27491
27492 \end_inset
27493
27494  installed.
27495 \end_layout
27496
27497 \end_inset
27498
27499
27500 \begin_inset Newline newline
27501 \end_inset
27502
27503 You can select which \SpecialChar LaTeX
27504 -package should be used for this feature by setting
27505  the option 
27506 \family sans
27507 Use refstyle (not prettyref) for cross-references
27508 \family default
27509  in the menu 
27510 \family sans
27511 Document\SpecialChar menuseparator
27512 Settings\SpecialChar menuseparator
27513 Document Class
27514 \family default
27515 .
27516  The package 
27517 \series bold
27518 refstyle
27519 \series default
27520  is the default and preferred because 
27521 \series bold
27522 prettyref
27523 \series default
27524  supports only English documents.
27525  The format is specified by using the command 
27526 \series bold
27527
27528 \backslash
27529 newrefformat
27530 \series default
27531  (prettyref) or 
27532 \series bold
27533
27534 \backslash
27535 newref
27536 \series default
27537  (refstyle) in the \SpecialChar LaTeX
27538  preamble of the document.
27539  For example redefining all references to figures (which have the label
27540  shortcut 
27541 \begin_inset Quotes eld
27542 \end_inset
27543
27544
27545 \family sans
27546 fig
27547 \family default
27548
27549 \begin_inset Quotes erd
27550 \end_inset
27551
27552 ) can be done for 
27553 \series bold
27554 refstyle
27555 \series default
27556  with this command:
27557 \begin_inset Newline newline
27558 \end_inset
27559
27560
27561 \series bold
27562
27563 \backslash
27564 newref{fig}{refcmd={Image on page 
27565 \backslash
27566 pageref{#1}}}
27567 \series default
27568
27569 \begin_inset Newline newline
27570 \end_inset
27571
27572 Note that neither 
27573 \series bold
27574 prettyref
27575 \series default
27576  nor 
27577 \series bold
27578 refstyle 
27579 \series default
27580 predefines reference formats for all available types.
27581  This is especially true for the wide variety of mathematical `theorem'
27582  environments.
27583  So if you want to make formatted references to, say, Propositions, then
27584  you will need to define the relevant format yourself.
27585  For 
27586 \series bold
27587 prettyref
27588 \series default
27589 , you might do so as follows:
27590 \begin_inset Newline newline
27591 \end_inset
27592
27593
27594 \series bold
27595
27596 \backslash
27597 newrefformat{prop}{Proposition 
27598 \backslash
27599 ref{#1}}
27600 \series default
27601
27602 \begin_inset Newline newline
27603 \end_inset
27604
27605 For more information about defining formatted references, have a look at
27606  the package documentation 
27607 \begin_inset CommandInset citation
27608 LatexCommand cite
27609 key "prettyref,refstyle"
27610 literal "true"
27611
27612 \end_inset
27613
27614 .
27615 \begin_inset Newline newline
27616 \end_inset
27617
27618 The options 
27619 \family sans
27620 Plural
27621 \family default
27622  and 
27623 \family sans
27624 Capitalized
27625 \family default
27626  will be available with formatted references only if you are using the 
27627 \series bold
27628 refstyle
27629 \series default
27630  package.
27631 \end_layout
27632
27633 \begin_layout Description
27634 Textual
27635 \begin_inset space ~
27636 \end_inset
27637
27638 reference: prints the caption or the name of the reference: 
27639 \begin_inset CommandInset ref
27640 LatexCommand nameref
27641 reference "fig:Two-distorted-images"
27642
27643 \end_inset
27644
27645
27646 \end_layout
27647
27648 \begin_layout Description
27649 Label
27650 \begin_inset space ~
27651 \end_inset
27652
27653 only: prints only the \SpecialChar LaTeX
27654  label for the reference: 
27655 \begin_inset CommandInset ref
27656 LatexCommand labelonly
27657 reference "fig:Two-distorted-images"
27658
27659 \end_inset
27660
27661
27662 \begin_inset Newline newline
27663 \end_inset
27664
27665 This allows for customization, using \SpecialChar TeX
27666  Code, if you want to issue a command
27667  that \SpecialChar LyX
27668  does not support.
27669  If you are using 
27670 \series bold
27671 refstyle
27672 \series default
27673 , then you may want to use the 
27674 \family sans
27675 No
27676 \begin_inset space ~
27677 \end_inset
27678
27679 Prefix
27680 \family default
27681  option, which will output only the part of the reference following the
27682  
27683 \begin_inset Quotes eld
27684 \end_inset
27685
27686 :
27687 \begin_inset Quotes erd
27688 \end_inset
27689
27690  separator.
27691  This is the form needed for e.
27692 \begin_inset space \thinspace{}
27693 \end_inset
27694
27695 g.
27696 \begin_inset space \space{}
27697 \end_inset
27698
27699
27700 \series bold
27701 refstyle
27702 \series default
27703 's range commands.The number and current page of the referenced document
27704  part in the output is automatically calculated by \SpecialChar LaTeX
27705 .
27706  The varieties are adjusted in the field 
27707 \family sans
27708 Format
27709 \family default
27710  of the cross-reference window, that appears when you click on the cross-referen
27711 ce.
27712 \end_layout
27713
27714 \begin_layout Standard
27715 You can only use the style 
27716 \family sans
27717 <reference>
27718 \family default
27719  to reference numbered document parts, while the reference style 
27720 \family sans
27721 <page>
27722 \family default
27723  is always possible.
27724 \end_layout
27725
27726 \begin_layout Standard
27727 If you want to reference a section, put the label in the section heading;
27728  for floats put the label in the caption; for footnotes put the label in
27729  it.
27730  Referencing formulas is explained in section
27731 \begin_inset space ~
27732 \end_inset
27733
27734
27735 \begin_inset CommandInset ref
27736 LatexCommand ref
27737 reference "sec:Formula-Numbering-and"
27738
27739 \end_inset
27740
27741 .
27742 \end_layout
27743
27744 \begin_layout Standard
27745 Right-clicking on a cross-reference opens a context menu.
27746  The entry 
27747 \family sans
27748 Go
27749 \begin_inset space ~
27750 \end_inset
27751
27752 to
27753 \begin_inset space ~
27754 \end_inset
27755
27756 Label
27757 \family default
27758  sets the cursor before the referenced label.
27759  This entry will be renamed in the context menu of the label to 
27760 \family sans
27761 Go
27762 \begin_inset space ~
27763 \end_inset
27764
27765 Back
27766 \family default
27767  so that you can use it to set the cursor back to the cross-reference.
27768  You can also go back with the toolbar button 
27769 \begin_inset Info
27770 type  "icon"
27771 arg   "bookmark-goto 0"
27772 \end_inset
27773
27774 .
27775 \end_layout
27776
27777 \begin_layout Standard
27778 You can change labels at any time.
27779  References to the changed label will automatically be updated so that you
27780  do not need to think about this.
27781 \end_layout
27782
27783 \begin_layout Standard
27784 If a cross-reference refers to a non-existent label, you will see in \SpecialChar LyX
27785  “BROKEN”
27786  in the cross-reference label and two question marks in the output instead
27787  of the reference.
27788 \end_layout
27789
27790 \begin_layout Standard
27791 References are described in detail in the section
27792 \begin_inset space ~
27793 \end_inset
27794
27795
27796 \emph on
27797 Referencing Floats
27798 \emph default
27799  of the 
27800 \emph on
27801 Embedded
27802 \begin_inset space ~
27803 \end_inset
27804
27805 Objects
27806 \emph default
27807  manual.
27808 \end_layout
27809
27810 \begin_layout Section
27811 Table of Contents and other Listings
27812 \begin_inset Index idx
27813 status collapsed
27814
27815 \begin_layout Plain Layout
27816 Table of contents
27817 \end_layout
27818
27819 \end_inset
27820
27821
27822 \begin_inset Index idx
27823 status collapsed
27824
27825 \begin_layout Plain Layout
27826 Navigating ! Outline
27827 \end_layout
27828
27829 \end_inset
27830
27831
27832 \begin_inset Index idx
27833 status collapsed
27834
27835 \begin_layout Plain Layout
27836 Outline
27837 \end_layout
27838
27839 \end_inset
27840
27841
27842 \begin_inset CommandInset label
27843 LatexCommand label
27844 name "sec:toc"
27845
27846 \end_inset
27847
27848
27849 \end_layout
27850
27851 \begin_layout Subsection
27852 Table of Contents
27853 \begin_inset CommandInset label
27854 LatexCommand label
27855 name "subsec:Table-of-Contents"
27856
27857 \end_inset
27858
27859
27860 \end_layout
27861
27862 \begin_layout Standard
27863 The Table of Contents (TOC) is inserted with the menu 
27864 \family sans
27865 Insert\SpecialChar menuseparator
27866 List/TOC\SpecialChar menuseparator
27867 Table
27868 \begin_inset space ~
27869 \end_inset
27870
27871 of
27872 \begin_inset space ~
27873 \end_inset
27874
27875 Contents
27876 \family default
27877 .
27878  It is displayed in \SpecialChar LyX
27879  as a gray box.
27880  If you click on it, the 
27881 \family sans
27882 Outline
27883 \family default
27884  window appears, showing you the TOC entries as outline, which allows you
27885  to move and rearrange sections in your documents.
27886  So this operation is an alternative to the menu 
27887 \family sans
27888 View\SpecialChar menuseparator
27889 Outline
27890 \begin_inset space ~
27891 \end_inset
27892
27893 Pane
27894 \family default
27895  that is described in section
27896 \begin_inset space ~
27897 \end_inset
27898
27899
27900 \begin_inset CommandInset ref
27901 LatexCommand ref
27902 reference "subsec:The-Outliner"
27903
27904 \end_inset
27905
27906 .
27907 \end_layout
27908
27909 \begin_layout Standard
27910 The TOC in the document output lists every numbered section automatically.
27911  If you have declared a short title for a section heading, as described
27912  in section
27913 \begin_inset space ~
27914 \end_inset
27915
27916
27917 \begin_inset CommandInset ref
27918 LatexCommand ref
27919 reference "sec:Short-Titles"
27920
27921 \end_inset
27922
27923 , it will be used in the TOC instead of the section heading.
27924  Section
27925 \begin_inset space ~
27926 \end_inset
27927
27928
27929 \begin_inset CommandInset ref
27930 LatexCommand ref
27931 reference "subsec:Numbering-depth"
27932
27933 \end_inset
27934
27935  describes how the level is adjusted that defines which section types are
27936  listed in the TOC.
27937  Unnumbered sections are not listed in the TOC.
27938 \end_layout
27939
27940 \begin_layout Subsection
27941 List of Figures, Tables, Listings and Algorithms
27942 \begin_inset CommandInset label
27943 LatexCommand label
27944 name "subsec:List-of-Figures"
27945
27946 \end_inset
27947
27948
27949 \end_layout
27950
27951 \begin_layout Standard
27952 Table, figure, listings and algorithm lists are very much like the table
27953  of contents.
27954  You can insert them via the 
27955 \family sans
27956 Insert\SpecialChar menuseparator
27957 List/TOC
27958 \family default
27959  submenus.
27960  The list entries are the float captions and the float number.
27961 \end_layout
27962
27963 \begin_layout Section
27964 URLs and Hyperlinks
27965 \begin_inset Index idx
27966 status collapsed
27967
27968 \begin_layout Plain Layout
27969 URLs
27970 \end_layout
27971
27972 \end_inset
27973
27974
27975 \begin_inset Index idx
27976 status collapsed
27977
27978 \begin_layout Plain Layout
27979 Hyperlinks
27980 \end_layout
27981
27982 \end_inset
27983
27984
27985 \end_layout
27986
27987 \begin_layout Subsection
27988 URLs
27989 \begin_inset CommandInset label
27990 LatexCommand label
27991 name "subsec:URLs"
27992
27993 \end_inset
27994
27995
27996 \end_layout
27997
27998 \begin_layout Standard
27999 Links to web pages or email addresses can be inserted via the menu 
28000 \family sans
28001 Insert\SpecialChar menuseparator
28002 URL
28003 \family default
28004 .
28005 \end_layout
28006
28007 \begin_layout Standard
28008 Here is an example URL: \SpecialChar LyX
28009 's homepage: 
28010 \begin_inset Flex URL
28011 status collapsed
28012
28013 \begin_layout Plain Layout
28014
28015 http://www.lyx.org
28016 \end_layout
28017
28018 \end_inset
28019
28020
28021 \end_layout
28022
28023 \begin_layout Standard
28024 You cannot change the style of the link text, the URL text will always be
28025  in the style 
28026 \family typewriter
28027 Typewriter
28028 \family default
28029 .
28030  To be able to format the URL text, use hyperlinks as explained in the next
28031  subsection.
28032 \end_layout
28033
28034 \begin_layout Standard
28035 \begin_inset Note Greyedout
28036 status open
28037
28038 \begin_layout Plain Layout
28039
28040 \series bold
28041 Note:
28042 \series default
28043  URLs must not end with a backslash, otherwise you get \SpecialChar LaTeX
28044  errors.
28045 \end_layout
28046
28047 \end_inset
28048
28049
28050 \end_layout
28051
28052 \begin_layout Subsection
28053 Hyperlinks
28054 \begin_inset CommandInset label
28055 LatexCommand label
28056 name "subsec:Hyperlinks"
28057
28058 \end_inset
28059
28060
28061 \end_layout
28062
28063 \begin_layout Standard
28064 Hyperlinks can be inserted with the menu 
28065 \family sans
28066 Insert\SpecialChar menuseparator
28067 Hyperlink
28068 \family default
28069  or with the toolbar button 
28070 \begin_inset Info
28071 type  "icon"
28072 arg   "href-insert"
28073 \end_inset
28074
28075 .
28076  The appearing dialog has two fields: 
28077 \family sans
28078 Target
28079 \family default
28080  and 
28081 \family sans
28082 Name
28083 \family default
28084 .
28085  The name is the printed text for the hyperlink.
28086  The hyperlink type can be a weblink like this: 
28087 \begin_inset CommandInset href
28088 LatexCommand href
28089 name "LyX's homepage"
28090 target "http://www.lyx.org"
28091 literal "false"
28092
28093 \end_inset
28094
28095 , an Email address like this: 
28096 \begin_inset CommandInset href
28097 LatexCommand href
28098 name "lyx-docs mailing list"
28099 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
28100 type "mailto:"
28101 literal "false"
28102
28103 \end_inset
28104
28105 , or a link to a file.
28106 \end_layout
28107
28108 \begin_layout Standard
28109 You can start applications via a hyperlink when you insert a weblink by
28110  adding the prefix 
28111 \begin_inset Quotes eld
28112 \end_inset
28113
28114
28115 \family sans
28116 run:
28117 \family default
28118
28119 \begin_inset Quotes erd
28120 \end_inset
28121
28122  to the link target.
28123 \end_layout
28124
28125 \begin_layout Standard
28126 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
28127  and become clickable in the DVI and PDF-output.
28128  To set the format of the link text, highlight the hyperlink inset and use
28129  the text style dialog.
28130  This is for example a hyperlink with bold sans serif text: 
28131 \family sans
28132 \series bold
28133
28134 \begin_inset CommandInset href
28135 LatexCommand href
28136 name "LyX's homepage"
28137 target "http://www.lyx.org"
28138 literal "false"
28139
28140 \end_inset
28141
28142
28143 \end_layout
28144
28145 \begin_layout Standard
28146 The link text color can be changed, when the option 
28147 \family sans
28148 Color links
28149 \family default
28150  is set in the PDF Properties dialog (menu 
28151 \family sans
28152 Document\SpecialChar menuseparator
28153 Settings\SpecialChar menuseparator
28154 PDF Properties
28155 \family default
28156 ).
28157  The link text is for example set in this document to blue by adding the
28158  option
28159 \begin_inset Newline newline
28160 \end_inset
28161
28162
28163 \series bold
28164 urlcolor=blue
28165 \series default
28166
28167 \begin_inset Newline newline
28168 \end_inset
28169
28170 to the field 
28171 \family sans
28172 Additional options
28173 \family default
28174  in the PDF Properties dialog.
28175 \end_layout
28176
28177 \begin_layout Section
28178 Appendices
28179 \begin_inset Index idx
28180 status collapsed
28181
28182 \begin_layout Plain Layout
28183 Appendix
28184 \end_layout
28185
28186 \end_inset
28187
28188
28189 \begin_inset CommandInset label
28190 LatexCommand label
28191 name "sec:Appendices"
28192
28193 \end_inset
28194
28195
28196 \end_layout
28197
28198 \begin_layout Standard
28199 Appendices are created with the menu 
28200 \family sans
28201 Document\SpecialChar menuseparator
28202 Start
28203 \begin_inset space ~
28204 \end_inset
28205
28206 Appendix
28207 \begin_inset space ~
28208 \end_inset
28209
28210 Here
28211 \family default
28212 .
28213  This menu sets the document from the current cursor position to the end
28214  as the appendix part of the book.
28215  This part is marked with a red borderline.
28216 \end_layout
28217
28218 \begin_layout Standard
28219 Every chapter (or section) within the appendix part is treated as an appendix,
28220  numbered with a capital Latin letter.
28221  The appendix subsections are numbered with this letter followed by a dot
28222  and the subsection number.
28223  All appendix sections can be referenced as if they were normal sections,
28224  here two examples:
28225 \end_layout
28226
28227 \begin_layout Standard
28228 Appendix
28229 \begin_inset space ~
28230 \end_inset
28231
28232
28233 \begin_inset CommandInset ref
28234 LatexCommand ref
28235 reference "chap:Credits"
28236
28237 \end_inset
28238
28239 ; Appendix
28240 \begin_inset space ~
28241 \end_inset
28242
28243
28244 \begin_inset CommandInset ref
28245 LatexCommand ref
28246 reference "subsec:Export"
28247
28248 \end_inset
28249
28250
28251 \end_layout
28252
28253 \begin_layout Section
28254 Bibliography
28255 \begin_inset Index idx
28256 status collapsed
28257
28258 \begin_layout Plain Layout
28259 Bibliography
28260 \end_layout
28261
28262 \end_inset
28263
28264
28265 \begin_inset CommandInset label
28266 LatexCommand label
28267 name "sec:Bibliography"
28268
28269 \end_inset
28270
28271
28272 \end_layout
28273
28274 \begin_layout Standard
28275 There are two ways of generating the bibliography in a \SpecialChar LyX
28276  document.
28277  You can include a bibliography database, which is explained in sec.
28278 \begin_inset space ~
28279 \end_inset
28280
28281
28282 \begin_inset CommandInset ref
28283 LatexCommand ref
28284 reference "subsec:Bibliography-databases"
28285 plural "false"
28286 caps "false"
28287 noprefix "false"
28288
28289 \end_inset
28290
28291 , or you can insert the bibliography manually, using the paragraph environment
28292  
28293 \family sans
28294 Bibliography
28295 \family default
28296 , which is described in the following section (but see also sec.
28297 \begin_inset space ~
28298 \end_inset
28299
28300
28301 \begin_inset CommandInset ref
28302 LatexCommand ref
28303 reference "subsec:Biblio_environment"
28304
28305 \end_inset
28306
28307 ).
28308  If you want anything other than the numerical citations that are used in
28309  this document, such as author-year citations, and if you have more than
28310  a handful of references, then you should seriously consider
28311 \emph on
28312  
28313 \emph default
28314 using a bibliography database.
28315 \end_layout
28316
28317 \begin_layout Standard
28318 In order to demonstrate the difference between these two approaches, we
28319  use two bibliographies in this document, a 
28320 \family sans
28321 Bibliography
28322 \family default
28323  environment and a database-generated bibliography.
28324  As you can see, the bibliography that is created from a database lists
28325  only the database entries that are referenced in the document.
28326  In other words, the database approach relieves you, amongst other things,
28327  from the burden to check which entries you have actually cited.
28328 \end_layout
28329
28330 \begin_layout Subsection
28331 The Bibliography Environment
28332 \begin_inset CommandInset label
28333 LatexCommand label
28334 name "subsec:The-Bibliography-Environment"
28335
28336 \end_inset
28337
28338
28339 \end_layout
28340
28341 \begin_layout Standard
28342 Within the 
28343 \family sans
28344 Bibliography
28345 \family default
28346  environment, every paragraph begins with a gray bibliography box labeled
28347  with a number.
28348  If you click on it, you will get a dialog in which you can set a 
28349 \family sans
28350 Key
28351 \family default
28352  and a 
28353 \family sans
28354 Label
28355 \family default
28356 .
28357  The key is the symbolic name by which you will refer to this bibliography
28358  entry.
28359  Each entry needs to be given a unique key, which is one word consisting
28360  of ASCII characters only.
28361 \begin_inset Foot
28362 status collapsed
28363
28364 \begin_layout Plain Layout
28365 ASCII means 
28366 \begin_inset CommandInset href
28367 LatexCommand href
28368 name "this set"
28369 target "https://en.wikipedia.org/wiki/ASCII#Character_set"
28370 literal "false"
28371
28372 \end_inset
28373
28374  of characters:
28375 \begin_inset Newline newline
28376 \end_inset
28377
28378
28379 \begin_inset Flex URL
28380 status open
28381
28382 \begin_layout Plain Layout
28383
28384 https://en.wikipedia.org/wiki/ASCII
28385 \backslash
28386 #Character_set
28387 \end_layout
28388
28389 \end_inset
28390
28391
28392 \end_layout
28393
28394 \end_inset
28395
28396  For example, our second entry in the bibliography is a book about \SpecialChar LaTeX
28397  and
28398  we used 
28399 \begin_inset Quotes eld
28400 \end_inset
28401
28402 latexcompanion
28403 \begin_inset Quotes erd
28404 \end_inset
28405
28406 , a short form of its title, as the key.
28407 \end_layout
28408
28409 \begin_layout Standard
28410 You can cross-reference a bibliography entry using the menu 
28411 \family sans
28412 Insert\SpecialChar menuseparator
28413 Citation
28414 \family default
28415  or the toolbar button 
28416 \begin_inset Info
28417 type  "icon"
28418 arg   "dialog-show-new-inset citation"
28419 \end_inset
28420
28421 .
28422  A citation reference box is inserted and a citation window will appear
28423  containing the available citations.
28424  Select one or more keys from the list and 
28425 \family sans
28426 Add
28427 \family default
28428  them.
28429  Then press 
28430 \family sans
28431 OK
28432 \family default
28433 .
28434  The citation reference box will be labeled with the referenced key(s).
28435  If you click on the box, the citation window will appear and you can change
28436  the reference.
28437 \end_layout
28438
28439 \begin_layout Standard
28440 Citation references appear in the output as the number of the bibliography
28441  entry with surrounding brackets.
28442  If you set a 
28443 \family sans
28444 Label
28445 \family default
28446  for the entry, the label will appear instead of the number.
28447  Here are two examples; the first without a label, the second with the label
28448  
28449 \begin_inset Quotes eld
28450 \end_inset
28451
28452 Credits
28453 \begin_inset Quotes erd
28454 \end_inset
28455
28456 :
28457 \end_layout
28458
28459 \begin_layout Standard
28460 Have a look at the 
28461 \family sans
28462 \SpecialChar LaTeX
28463  Companion Second Edition
28464 \family default
28465
28466 \begin_inset CommandInset citation
28467 LatexCommand cite
28468 key "latexcompanion"
28469 literal "true"
28470
28471 \end_inset
28472
28473
28474 \end_layout
28475
28476 \begin_layout Standard
28477 The \SpecialChar LyX
28478 -Team members are listed in the Credits: 
28479 \begin_inset CommandInset citation
28480 LatexCommand cite
28481 key "lyxcredit"
28482 literal "true"
28483
28484 \end_inset
28485
28486
28487 \end_layout
28488
28489 \begin_layout Standard
28490 You can also produce author-year or author-number citations, using the \SpecialChar LaTeX
28491
28492  package 
28493 \series bold
28494 natbib
28495 \series default
28496
28497 \begin_inset Index idx
28498 status collapsed
28499
28500 \begin_layout Plain Layout
28501 \SpecialChar LaTeX
28502  packages ! natbib
28503 \end_layout
28504
28505 \end_inset
28506
28507 .
28508  In order to do so, the label needs to be given the form 
28509 \begin_inset Quotes eld
28510 \end_inset
28511
28512 Author(Year)
28513 \begin_inset Quotes erd
28514 \end_inset
28515
28516  or 
28517 \begin_inset Quotes eld
28518 \end_inset
28519
28520 Author A and Author B(Year)
28521 \begin_inset Quotes erd
28522 \end_inset
28523
28524  
28525 \emph on
28526 without
28527 \emph default
28528  a blank between the author(s) and the opening parenthesis that delimits
28529  the year.
28530  Then, if you select 
28531 \family sans
28532 Natbib
28533 \begin_inset space ~
28534 \end_inset
28535
28536 (BibTeX)
28537 \family default
28538  in the document settings
28539 \begin_inset Index idx
28540 status collapsed
28541
28542 \begin_layout Plain Layout
28543 Document ! Settings
28544 \end_layout
28545
28546 \end_inset
28547
28548  dialog under 
28549 \family sans
28550 Bibliography\SpecialChar menuseparator
28551 Style
28552 \begin_inset space ~
28553 \end_inset
28554
28555 format
28556 \family default
28557  (see 
28558 \begin_inset CommandInset ref
28559 LatexCommand ref
28560 reference "subsec:Citation-Format"
28561 plural "false"
28562 caps "false"
28563 noprefix "false"
28564
28565 \end_inset
28566
28567 ), you can select between different author-year or author-number styles.
28568 \end_layout
28569
28570 \begin_layout Standard
28571 To align all entries in the bibliography environment you can set a longest
28572  label via the menu 
28573 \family sans
28574 Edit\SpecialChar menuseparator
28575 Paragraph
28576 \begin_inset space ~
28577 \end_inset
28578
28579 Settings
28580 \family default
28581  (toolbar button 
28582 \begin_inset Info
28583 type  "icon"
28584 arg   "layout-paragraph"
28585 \end_inset
28586
28587 ).
28588  All entries are then indented in the output by the width of the given label.
28589 \end_layout
28590
28591 \begin_layout Subsection
28592 Bibliography databases
28593 \begin_inset Index idx
28594 status collapsed
28595
28596 \begin_layout Plain Layout
28597 Bibliography ! Databases
28598 \end_layout
28599
28600 \end_inset
28601
28602
28603 \begin_inset CommandInset label
28604 LatexCommand label
28605 name "subsec:Bibliography-databases"
28606
28607 \end_inset
28608
28609
28610 \end_layout
28611
28612 \begin_layout Standard
28613 Bibliography databases are useful if you use the same references in different
28614  documents.
28615 \begin_inset Foot
28616 status collapsed
28617
28618 \begin_layout Plain Layout
28619 They are also useful for keeping a database of articles and notes concerning
28620  them.
28621  Most of the database programs mentioned below allow you to store annotations
28622  and reviews along with bibliographical information.
28623 \end_layout
28624
28625 \end_inset
28626
28627  It also makes it very easy to have a uniform layout for all bibliography
28628  entries.
28629  You can collect the bibliography of all relevant books and articles of
28630  your working field in a database.
28631  This database can be used for different documents, and by default only
28632  the entries cited in a particular document will appear in the bibliography
28633  list for that document.
28634  This relieves you of the need to keep track of which articles and books
28635  you have cited.
28636 \end_layout
28637
28638 \begin_layout Standard
28639 The database is a text file with the file extension 
28640 \begin_inset Quotes eld
28641 \end_inset
28642
28643
28644 \family sans
28645 .bib
28646 \family default
28647
28648 \begin_inset Quotes erd
28649 \end_inset
28650
28651 , containing the bibliography in a special format.
28652  The format is explained in 
28653 \begin_inset CommandInset citation
28654 LatexCommand cite
28655 key "BibTeX-2"
28656 literal "true"
28657
28658 \end_inset
28659
28660  and in the \SpecialChar LaTeX
28661  books (
28662 \begin_inset CommandInset citation
28663 LatexCommand cite
28664 key "Mittelbach,Kopka,Lamport"
28665 literal "true"
28666
28667 \end_inset
28668
28669 ).
28670  The file can be created using any text editor, but normally one uses a
28671  special program to create and edit the entries in the database.
28672  A list of such programs is maintained on the \SpecialChar LyX
28673  Wiki at 
28674 \begin_inset Flex URL
28675 status collapsed
28676
28677 \begin_layout Plain Layout
28678
28679 http://wiki.lyx.org/BibTeX/Programs
28680 \end_layout
28681
28682 \end_inset
28683
28684 .
28685 \end_layout
28686
28687 \begin_layout Standard
28688 \SpecialChar LyX
28689  supports two different approaches to use bibliography databases in a document.
28690  Bib\SpecialChar TeX
28691  is the classic technique that has been the only way to use such databases
28692  for a long time.
28693  It is quite established and mature and there is a huge range of existing
28694  styles available.
28695  But it has its drawbacks, especially when it comes to more complex bibliographi
28696 c needs and support for specific languages and scripts.
28697  Those are addressed by 
28698 \series bold
28699 biblatex
28700 \series default
28701
28702 \begin_inset Index idx
28703 status collapsed
28704
28705 \begin_layout Plain Layout
28706 \SpecialChar LaTeX
28707  packages ! biblatex
28708 \end_layout
28709
28710 \end_inset
28711
28712 .
28713  It reads the same database format than Bib\SpecialChar TeX
28714  (although it has been significantly
28715  extended beyond Bib\SpecialChar TeX
28716 's scope)
28717 \begin_inset Foot
28718 status collapsed
28719
28720 \begin_layout Plain Layout
28721 Meaning: While 
28722 \noun on
28723 Biblatex
28724 \noun default
28725  can handle any classic Bib\SpecialChar TeX
28726  database, Bib\SpecialChar TeX
28727  might conversely fail to correctly
28728  handle databases that use specific 
28729 \noun on
28730 Biblatex
28731 \noun default
28732  features.
28733 \end_layout
28734
28735 \end_inset
28736
28737 , but it uses a different framework to generate citations and references
28738  from it.
28739 \end_layout
28740
28741 \begin_layout Standard
28742 To select if Bib\SpecialChar TeX
28743  or 
28744 \series bold
28745 biblatex
28746 \series default
28747  should be used, set in the document settings (menu 
28748 \family sans
28749 Document\SpecialChar menuseparator
28750 Settings
28751 \family default
28752 )
28753 \begin_inset Index idx
28754 status collapsed
28755
28756 \begin_layout Plain Layout
28757 Document ! Settings
28758 \end_layout
28759
28760 \end_inset
28761
28762  under 
28763 \family sans
28764 Bibliography
28765 \family default
28766  the 
28767 \family sans
28768 Style
28769 \begin_inset space ~
28770 \end_inset
28771
28772 format
28773 \family default
28774  to a Bib\SpecialChar TeX
28775  or a 
28776 \family sans
28777 Biblatex
28778 \family default
28779  format.
28780 \end_layout
28781
28782 \begin_layout Subsubsection
28783 Bib\SpecialChar TeX
28784
28785 \begin_inset Index idx
28786 status collapsed
28787
28788 \begin_layout Plain Layout
28789 Bibliography ! Bib\SpecialChar TeX
28790
28791 \end_layout
28792
28793 \end_inset
28794
28795
28796 \end_layout
28797
28798 \begin_layout Standard
28799 To access a database via Bib\SpecialChar TeX
28800 , use the menu 
28801 \family sans
28802 Insert\SpecialChar menuseparator
28803 List
28804 \family default
28805 /
28806 \family sans
28807 TOC\SpecialChar menuseparator
28808 Bib(la)TeX
28809 \begin_inset space ~
28810 \end_inset
28811
28812 Bibliography
28813 \family default
28814 .
28815  A window will appear in which you can add one or more databases and select
28816  a Bib\SpecialChar TeX
28817
28818 \family sans
28819  style
28820 \family default
28821  file.
28822  The option 
28823 \family sans
28824 Add bibliography to TOC
28825 \family default
28826  adds a table of contents entry for the bibliography.
28827  In the 
28828 \family sans
28829 Content
28830 \family default
28831  drop box you can select whether to include all the entries in the database
28832  in the document or just the cited references.
28833 \end_layout
28834
28835 \begin_layout Standard
28836 The Bib\SpecialChar TeX
28837  style file is a text file with the file extension 
28838 \begin_inset Quotes eld
28839 \end_inset
28840
28841
28842 \family sans
28843 .bst
28844 \family default
28845
28846 \begin_inset Quotes erd
28847 \end_inset
28848
28849  that controls how the bibliography entries will appear.
28850  Your \SpecialChar LaTeX
28851  distribution should provide several of these, and many publishers
28852  provide their own style files, so that you don't have to take care of the
28853  layout.
28854  It is of course possible to write your own style file, but this is something
28855  for experts.
28856 \begin_inset Foot
28857 status collapsed
28858
28859 \begin_layout Plain Layout
28860 For information on how this is done, have a look at
28861 \begin_inset Newline newline
28862 \end_inset
28863
28864
28865 \begin_inset CommandInset href
28866 LatexCommand href
28867 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
28868 literal "false"
28869
28870 \end_inset
28871
28872 .
28873 \end_layout
28874
28875 \end_inset
28876
28877  In this document we used the Bib\SpecialChar TeX
28878  style 
28879 \family sans
28880 alphadin.bst
28881 \family default
28882 , which provides an alpha-numeric style in accordance with the German Standards
28883  Institute (DIN).
28884 \end_layout
28885
28886 \begin_layout Standard
28887 Inserting a citation reference works as described in the previous section.
28888 \end_layout
28889
28890 \begin_layout Subsubsection
28891 Biblatex
28892 \begin_inset Index idx
28893 status collapsed
28894
28895 \begin_layout Plain Layout
28896 Bibliography ! Biblatex
28897 \end_layout
28898
28899 \end_inset
28900
28901
28902 \begin_inset Index idx
28903 status collapsed
28904
28905 \begin_layout Plain Layout
28906 \SpecialChar LaTeX
28907  packages ! biblatex
28908 \end_layout
28909
28910 \end_inset
28911
28912
28913 \end_layout
28914
28915 \begin_layout Standard
28916 Accessing a database via 
28917 \series bold
28918 biblatex
28919 \series default
28920  is almost identical to Bib\SpecialChar TeX
28921 : Use the menu 
28922 \family sans
28923 Insert\SpecialChar menuseparator
28924 List
28925 \family default
28926 /
28927 \family sans
28928 TOC\SpecialChar menuseparator
28929 Bib(la)TeX
28930 \begin_inset space ~
28931 \end_inset
28932
28933 Bibliography
28934 \family default
28935 .
28936  In contrary to Bib\SpecialChar TeX
28937  you cannot select a 
28938 \family sans
28939 style
28940 \family default
28941  file.
28942  The other dialog options are the same as with Bib\SpecialChar TeX
28943 .
28944 \end_layout
28945
28946 \begin_layout Standard
28947
28948 \series bold
28949 biblatex
28950 \series default
28951  has two different style files: a bibliography style file (text file with
28952  the file extension 
28953 \begin_inset Quotes eld
28954 \end_inset
28955
28956
28957 \family sans
28958 .bbx
28959 \family default
28960
28961 \begin_inset Quotes erd
28962 \end_inset
28963
28964 ) controls how the bibliography entries will look like and a citation style
28965  file (text file with the file extension 
28966 \begin_inset Quotes eld
28967 \end_inset
28968
28969
28970 \family sans
28971 .cbx
28972 \family default
28973
28974 \begin_inset Quotes erd
28975 \end_inset
28976
28977 ) controls the look of the citation references in the text.
28978  Usually such style files come in pairs and it makes sense to use matching
28979  styles.
28980  It is nevertheless possible to mix any citation style with any bibliography
28981  style.
28982 \end_layout
28983
28984 \begin_layout Standard
28985
28986 \series bold
28987 biblatex
28988 \series default
28989  styles are not set in the 
28990 \family sans
28991 Bib(la)TeX
28992 \begin_inset space ~
28993 \end_inset
28994
28995 Bibliography
28996 \family default
28997  dialog, but in the document settings.
28998 \begin_inset Index idx
28999 status collapsed
29000
29001 \begin_layout Plain Layout
29002 Document ! Settings
29003 \end_layout
29004
29005 \end_inset
29006
29007  However, in the dialog in the 
29008 \family sans
29009 Options
29010 \family default
29011  field, which is only visible if you use 
29012 \series bold
29013 biblatex
29014 \series default
29015 , you can enter options that determine how the bibliography is printed (for
29016  example how its heading will appear).
29017  These options are deescribed in detail in the 
29018 \series bold
29019 biblatex
29020 \series default
29021  manual, 
29022 \begin_inset CommandInset citation
29023 LatexCommand cite
29024 key "Biblatex"
29025 literal "true"
29026
29027 \end_inset
29028
29029 .
29030 \end_layout
29031
29032 \begin_layout Standard
29033 Inserting a citation reference works as described in section
29034 \begin_inset space ~
29035 \end_inset
29036
29037
29038 \begin_inset CommandInset ref
29039 LatexCommand ref
29040 reference "subsec:The-Bibliography-Environment"
29041 plural "false"
29042 caps "false"
29043 noprefix "false"
29044
29045 \end_inset
29046
29047 .
29048 \end_layout
29049
29050 \begin_layout Subsubsection
29051 Bibliography Processors
29052 \end_layout
29053
29054 \begin_layout Standard
29055 To generate the bibliography from a database, \SpecialChar LyX
29056  uses a bibliography processor,
29057  that is an external program that reads the database, sorts the citations
29058  and processes the data in a way it can be included in the document.
29059  The classic program is called Bib\SpecialChar TeX
29060 .
29061  It has the advantage that it is very mature and widespread, but the disadvantag
29062 e that it has severe limitations, due to its age.
29063 \end_layout
29064
29065 \begin_layout Standard
29066 Meanwhile, some alternatives have been developed that address some of these
29067  limitations.
29068  LyX natively supports some of them and lets you select a custom processor.
29069  You can do this on a general level in 
29070 \family sans
29071 Tools\SpecialChar menuseparator
29072 Preferences\SpecialChar menuseparator
29073 Output\SpecialChar menuseparator
29074 LaTeX
29075 \family default
29076  or for individual documents in 
29077 \family sans
29078 Document\SpecialChar menuseparator
29079 Settings\SpecialChar menuseparator
29080 Bibliography
29081 \family default
29082 .
29083  The following variants are available by default:
29084 \end_layout
29085
29086 \begin_layout Description
29087 biber a specific, modern processor
29088 \begin_inset Index idx
29089 status collapsed
29090
29091 \begin_layout Plain Layout
29092 \SpecialChar LaTeX
29093  packages ! biber
29094 \end_layout
29095
29096 \end_inset
29097
29098  developed exclusively for 
29099 \series bold
29100 biblatex
29101 \series default
29102  (it does not work with Bib\SpecialChar TeX
29103 !).
29104  
29105 \series bold
29106 biber
29107 \series default
29108  provides full Unicode support, unlimited memory and many specific features
29109  
29110 \series bold
29111 biblatex
29112 \series default
29113  makes use of; if you use the 
29114 \series bold
29115 biblatex
29116 \series default
29117  approach, it is strongly recommended to use 
29118 \series bold
29119 biber
29120 \series default
29121 .
29122 \end_layout
29123
29124 \begin_layout Description
29125 bibtex the standard; does not allow special characters in bibliography entries
29126  that are not possible to encode in a 7-bit encoding, limited memory, works
29127  with all bibliography packages, although it will probably fail with 
29128 \series bold
29129 biblatex
29130 \series default
29131  bibliographies due to the limited memory.
29132 \end_layout
29133
29134 \begin_layout Description
29135 bibtex8 allows all characters that are possible to encode in an 8-bit encoding
29136  (but no Unicode support), larger memory than 
29137 \family sans
29138 bibtex
29139 \family default
29140 , works with all bibliography packages, although more complex 
29141 \series bold
29142 biblatex
29143 \series default
29144  bibliographies will exceed its limits, and not all 
29145 \series bold
29146 biblatex
29147 \series default
29148  features are supported.
29149 \end_layout
29150
29151 \begin_layout Standard
29152 By default (with the 
29153 \family sans
29154 Processor
29155 \family default
29156  set in 
29157 \family sans
29158 Document\SpecialChar menuseparator
29159 Settings\SpecialChar menuseparator
29160 Bibliography
29161 \family default
29162  and with 
29163 \family sans
29164 Automatic
29165 \family default
29166  as setting for the 
29167 \family sans
29168 Processor
29169 \family default
29170  in 
29171 \family sans
29172 Tools\SpecialChar menuseparator
29173 Preferences\SpecialChar menuseparator
29174 Output\SpecialChar menuseparator
29175 LaTeX
29176 \family default
29177 ), \SpecialChar LyX
29178  selects an appropriate (available) processor for the current bibliography
29179  approach (
29180 \series bold
29181 biber
29182 \series default
29183  for 
29184 \series bold
29185 biblatex
29186 \series default
29187
29188 \family sans
29189 bibtex
29190 \family default
29191  for Bib\SpecialChar TeX
29192 -based bibliography styles).
29193  This should suit most needs.
29194 \end_layout
29195
29196 \begin_layout Standard
29197 In Japanese documents, a specific processor is used.
29198  By default this is pBib\SpecialChar TeX
29199  (in \SpecialChar LyX
29200  
29201 \family sans
29202 pbibtex
29203 \family default
29204 ), a Bib\SpecialChar TeX
29205  variant specifically aimed at Japanese.
29206  You can adjust it in 
29207 \family sans
29208 Tools\SpecialChar menuseparator
29209 Preferences\SpecialChar menuseparator
29210 Output\SpecialChar menuseparator
29211 LaTeX
29212 \family default
29213 .
29214 \end_layout
29215
29216 \begin_layout Standard
29217 Selected bibliography processors can be controlled with options that you
29218  can add below the selection.
29219  Before adding options, it is strongly recommended that you read the manual
29220  of Bib\SpecialChar TeX
29221  or 
29222 \series bold
29223 biber
29224 \series default
29225
29226 \begin_inset CommandInset citation
29227 LatexCommand cite
29228 key "BibTeX,biber"
29229 literal "true"
29230
29231 \end_inset
29232
29233 .
29234 \end_layout
29235
29236 \begin_layout Subsubsection
29237 Customizing
29238 \end_layout
29239
29240 \begin_layout Standard
29241 \SpecialChar LyX
29242  supports some specific tasks such as sectioned bibliographies and multiple
29243  bibliographies.
29244  These are explained in detail in section 
29245 \emph on
29246 Customizing Bibliographies
29247 \emph default
29248  
29249 \emph on
29250 with Bib\SpecialChar TeX
29251  or Biblatex
29252 \emph default
29253  of the 
29254 \emph on
29255 Additional Features
29256 \emph default
29257  manual.
29258 \end_layout
29259
29260 \begin_layout Subsection
29261 Citation Format
29262 \begin_inset Index idx
29263 status collapsed
29264
29265 \begin_layout Plain Layout
29266 Bibliography ! Citation format
29267 \end_layout
29268
29269 \end_inset
29270
29271
29272 \begin_inset CommandInset label
29273 LatexCommand label
29274 name "subsec:Citation-Format"
29275
29276 \end_inset
29277
29278
29279 \end_layout
29280
29281 \begin_layout Standard
29282 Many different citation formats are common, e.
29283 \begin_inset space \thinspace{}
29284 \end_inset
29285
29286 g.
29287 \begin_inset space \space{}
29288 \end_inset
29289
29290 numerical citation (as 
29291 \begin_inset Quotes eld
29292 \end_inset
29293
29294 1
29295 \begin_inset Quotes erd
29296 \end_inset
29297
29298  like in this document), alpha-numerical citations (as 
29299 \begin_inset Quotes eld
29300 \end_inset
29301
29302 Mil08
29303 \begin_inset Quotes erd
29304 \end_inset
29305
29306 ) or author-year citations (as 
29307 \begin_inset Quotes eld
29308 \end_inset
29309
29310 Miller (2008a)
29311 \begin_inset Quotes erd
29312 \end_inset
29313
29314 ).
29315  \SpecialChar LyX
29316  supports these formats via specific citation packages and their style
29317  files.
29318 \end_layout
29319
29320 \begin_layout Standard
29321 By default a simple numeric citation style is used.
29322  In 
29323 \family sans
29324 Document\SpecialChar menuseparator
29325 Settings\SpecialChar menuseparator
29326 Bibliography
29327 \family default
29328
29329 \begin_inset Index idx
29330 status collapsed
29331
29332 \begin_layout Plain Layout
29333 Document ! Settings
29334 \end_layout
29335
29336 \end_inset
29337
29338  you have a range of other options, depending on your preferred bibliography
29339  approach.
29340  With the 
29341 \family sans
29342 Bibliography
29343 \family default
29344  environment your only choice besides manual formatting of the bibliography
29345  labels, is there to use 
29346 \family sans
29347 Natbib
29348 \begin_inset space ~
29349 \end_inset
29350
29351 (BibTeX)
29352 \family default
29353 \series bold
29354  
29355 \series default
29356 as 
29357 \family sans
29358 Style
29359 \begin_inset space ~
29360 \end_inset
29361
29362 format
29363 \family default
29364  which gives you author-year and author-numerical citations (see above 
29365 \begin_inset CommandInset ref
29366 LatexCommand ref
29367 reference "subsec:The-Bibliography-Environment"
29368
29369 \end_inset
29370
29371  for details).
29372 \end_layout
29373
29374 \begin_layout Standard
29375 With a bibliography database (see 
29376 \begin_inset CommandInset ref
29377 LatexCommand ref
29378 reference "subsec:Bibliography-databases"
29379 plural "false"
29380 caps "false"
29381 noprefix "false"
29382
29383 \end_inset
29384
29385 ) one has in contrary to the 
29386 \family sans
29387 Bibliography
29388 \family default
29389  environment full access to the formatting styles.
29390  These style formats are available:
29391 \end_layout
29392
29393 \begin_layout Description
29394 Basic
29395 \begin_inset space ~
29396 \end_inset
29397
29398 (BibTeX) the default Bib\SpecialChar TeX
29399 -based approached without any additional packages
29400  (simple numeric citations).
29401 \end_layout
29402
29403 \begin_layout Description
29404 Biblatex loads the package 
29405 \series bold
29406 biblatex
29407 \series default
29408
29409 \begin_inset Index idx
29410 status collapsed
29411
29412 \begin_layout Plain Layout
29413 \SpecialChar LaTeX
29414  packages ! biblatex
29415 \end_layout
29416
29417 \end_inset
29418
29419  and lets you select a style in the dropdown boxes 
29420 \family sans
29421 Biblatex citation style
29422 \family default
29423  and 
29424 \family sans
29425 Biblatex bibliography style
29426 \family default
29427  below.
29428  Options to the package 
29429 \series bold
29430 biblatex
29431 \series default
29432  can be entered in the 
29433 \family sans
29434 Options
29435 \family default
29436  field.
29437 \end_layout
29438
29439 \begin_layout Description
29440 Biblatex
29441 \begin_inset space ~
29442 \end_inset
29443
29444 (natbib
29445 \begin_inset space ~
29446 \end_inset
29447
29448 mode) loads the package 
29449 \series bold
29450 biblatex
29451 \series default
29452  with the natbib compatibility mode.
29453  This is a specific variant for users who switch an existing document that
29454  uses 
29455 \series bold
29456 natbib
29457 \series default
29458  or want to emulate 
29459 \family sans
29460 the 
29461 \family default
29462 \series bold
29463 natbib
29464 \series default
29465  behavior very closely.
29466  Compared to normal 
29467 \family sans
29468 Biblatex
29469 \family default
29470  this option has some additional styles.
29471  All 
29472 \series bold
29473 biblatex
29474 \series default
29475  styles are also supported by this variant.
29476 \end_layout
29477
29478 \begin_layout Description
29479 Jurabib
29480 \begin_inset space ~
29481 \end_inset
29482
29483 (BibTeX) loads the package 
29484 \series bold
29485 jurabib
29486 \series default
29487
29488 \begin_inset Index idx
29489 status collapsed
29490
29491 \begin_layout Plain Layout
29492 \SpecialChar LaTeX
29493  packages ! jurabib
29494 \end_layout
29495
29496 \end_inset
29497
29498  which provides author-year styles particularly suited for law studies.
29499 \end_layout
29500
29501 \begin_layout Description
29502 Natbib
29503 \begin_inset space ~
29504 \end_inset
29505
29506 (BibTeX) loads the package 
29507 \series bold
29508 natbib
29509 \series default
29510
29511 \begin_inset Index idx
29512 status collapsed
29513
29514 \begin_layout Plain Layout
29515 \SpecialChar LaTeX
29516  packages ! natbib
29517 \end_layout
29518
29519 \end_inset
29520
29521  which provides citation styles particularly suited for the humanities.
29522 \end_layout
29523
29524 \begin_layout Standard
29525 The 
29526 \family sans
29527 Biblatex
29528 \family default
29529  and 
29530 \family sans
29531 Natbib
29532 \family default
29533  style formats provide the choice between author-year and author-numerical
29534  citation styles.
29535  You have to select one style in the dropdown box 
29536 \family sans
29537 Variant
29538 \family default
29539 .
29540  Note that for the 
29541 \family sans
29542 Biblatex
29543 \family default
29544  formats, this only affects the appearance in the \SpecialChar LyX
29545  workarea.
29546  Whether the output uses numerical, author-year or another format such as
29547  alpha-numerical depends only on the selected 
29548 \family sans
29549 Biblatex citation style
29550 \family default
29551 .
29552  However, when switching between Author-year and Author-number, a suitable
29553  style is proposed.
29554  With 
29555 \family sans
29556 Natbib
29557 \family default
29558 , on the other hand, the dialog selection will ultimately determine the
29559  style.
29560 \end_layout
29561
29562 \begin_layout Standard
29563 For any author-year and author-numerical selection, multiple style variants
29564  are available in the 
29565 \family sans
29566 Citation
29567 \family default
29568  dialog.
29569  Some selections also provide further options like the option to uppercase
29570  a name prefix such as 
29571 \begin_inset Quotes eld
29572 \end_inset
29573
29574 van Beethoven
29575 \begin_inset Quotes erd
29576 \end_inset
29577
29578  (to 
29579 \begin_inset Quotes eld
29580 \end_inset
29581
29582 Van Beethoven
29583 \begin_inset Quotes erd
29584 \end_inset
29585
29586 ) or to expand or reduce the number of displayed others (i.
29587 \begin_inset space \thinspace{}
29588 \end_inset
29589
29590 e.
29591 \begin_inset space \space{}
29592 \end_inset
29593
29594 use or don't use 
29595 \begin_inset Quotes eld
29596 \end_inset
29597
29598 et al.
29599 \begin_inset Quotes erd
29600 \end_inset
29601
29602 ).
29603  
29604 \end_layout
29605
29606 \begin_layout Standard
29607 In the citation dialog you can also set text to appear after a citation
29608  reference, e.
29609 \begin_inset space \thinspace{}
29610 \end_inset
29611
29612 g.
29613  page numbers, which will then be formatted according to the style's needs
29614  (e.
29615 \begin_inset space \thinspace{}
29616 \end_inset
29617
29618 g.
29619  with or without 
29620 \begin_inset Quotes eld
29621 \end_inset
29622
29623 pp.
29624 \begin_inset Quotes erd
29625 \end_inset
29626
29627 ).
29628  Here is a simple example where the text 
29629 \begin_inset Quotes eld
29630 \end_inset
29631
29632 Chapter
29633 \begin_inset space ~
29634 \end_inset
29635
29636 3
29637 \begin_inset Quotes erd
29638 \end_inset
29639
29640  appears after the reference:
29641 \end_layout
29642
29643 \begin_layout Quote
29644 Have a look at 
29645 \begin_inset CommandInset citation
29646 LatexCommand cite
29647 after "Chapter 3"
29648 key "latexcompanion"
29649 literal "true"
29650
29651 \end_inset
29652
29653 .
29654 \end_layout
29655
29656 \begin_layout Standard
29657 All styles except for 
29658 \family sans
29659 Basic (BibTeX)
29660 \family default
29661  also provide the feature to add text that precedes the reference (such
29662  as 
29663 \begin_inset Quotes eld
29664 \end_inset
29665
29666 cf.
29667 \begin_inset Quotes erd
29668 \end_inset
29669
29670 ).
29671  This text is then also included in the parentheses, if the style requires
29672  this.
29673 \end_layout
29674
29675 \begin_layout Standard
29676 Note that these pre- and postnotes apply to the whole citation.
29677  So if you refer to multiple references at once, the prenote will precede
29678  the first citation in the list, the postnote will follow the last.
29679  Some 
29680 \family sans
29681 Biblatex
29682 \family default
29683  styles allow to add pre- and postnotes to any individual reference in a
29684  multi-citation (so-called 
29685 \begin_inset Quotes eld
29686 \end_inset
29687
29688 qualified citation lists
29689 \begin_inset Quotes erd
29690 \end_inset
29691
29692 ).
29693  \SpecialChar LyX
29694  supports this.
29695  If you use such a style and if the current reference includes multiple
29696  items the 
29697 \family sans
29698 Citation
29699 \family default
29700  dialog will display three columns in the field 
29701 \family sans
29702 Selected Citations
29703 \family default
29704
29705 \family sans
29706 Text
29707 \begin_inset space ~
29708 \end_inset
29709
29710 before
29711 \family default
29712
29713 \family sans
29714 Cite
29715 \begin_inset space ~
29716 \end_inset
29717
29718 key
29719 \family default
29720  and 
29721 \family sans
29722 Text
29723 \begin_inset space ~
29724 \end_inset
29725
29726 after
29727 \family default
29728 .
29729  If you double-click on an item's 
29730 \family sans
29731 Text
29732 \begin_inset space ~
29733 \end_inset
29734
29735 before
29736 \family default
29737  or 
29738 \family sans
29739 Text
29740 \begin_inset space ~
29741 \end_inset
29742
29743 after
29744 \family default
29745  field, you can add such individual pre- and postnotes.
29746  In the 
29747 \family sans
29748 General text before
29749 \family default
29750  and 
29751 \family sans
29752 General text after
29753 \family default
29754  fields you can add pre- and postnotes that apply to the whole list.
29755 \end_layout
29756
29757 \begin_layout Section
29758 Index
29759 \begin_inset Index idx
29760 status collapsed
29761
29762 \begin_layout Plain Layout
29763 Index generation
29764 \end_layout
29765
29766 \end_inset
29767
29768
29769 \begin_inset CommandInset label
29770 LatexCommand label
29771 name "sec:Index"
29772
29773 \end_inset
29774
29775
29776 \end_layout
29777
29778 \begin_layout Standard
29779 An index entry is created if you use the menu 
29780 \family sans
29781 Insert\SpecialChar menuseparator
29782 Index
29783 \begin_inset space ~
29784 \end_inset
29785
29786 Entry
29787 \family default
29788  or the toolbar button 
29789 \begin_inset Info
29790 type  "icon"
29791 arg   "index-insert"
29792 \end_inset
29793
29794 .
29795  A box is inserted containing the text that appears in the index.
29796  The word where the cursor is in or the currently highlighted text is proposed
29797  by \SpecialChar LyX
29798  as the index entry.
29799 \end_layout
29800
29801 \begin_layout Standard
29802 The index list is inserted in the document with the menu 
29803 \family sans
29804 Insert\SpecialChar menuseparator
29805 List/TOC\SpecialChar menuseparator
29806 Index
29807 \begin_inset space ~
29808 \end_inset
29809
29810 List
29811 \family default
29812 .
29813  A light blue box labeled 
29814 \begin_inset Quotes eld
29815 \end_inset
29816
29817
29818 \family sans
29819 Index
29820 \family default
29821
29822 \begin_inset Quotes erd
29823 \end_inset
29824
29825  will show the place where the index is printed in the output.
29826  The index list box is not clickable like other \SpecialChar LyX
29827 -boxes.
29828 \end_layout
29829
29830 \begin_layout Standard
29831 We give a short overview of the index commands in the next subsections.
29832  For a detailed description of \SpecialChar LaTeX
29833 's index mechanism, have a look at one of
29834  the \SpecialChar LaTeX
29835  books 
29836 \begin_inset CommandInset citation
29837 LatexCommand cite
29838 key "latexcompanion,latexguide,latexbook"
29839 literal "true"
29840
29841 \end_inset
29842
29843 .
29844 \end_layout
29845
29846 \begin_layout Subsection
29847 Grouping Index Entries
29848 \begin_inset Index idx
29849 status collapsed
29850
29851 \begin_layout Plain Layout
29852 Index ! Grouping
29853 \end_layout
29854
29855 \end_inset
29856
29857
29858 \end_layout
29859
29860 \begin_layout Standard
29861 Index entries are often grouped to offer the reader a fast search in the
29862  index.
29863  We want to group for example the index entries for itemized and enumerated
29864  lists under the entry 
29865 \begin_inset Quotes eld
29866 \end_inset
29867
29868 Lists
29869 \begin_inset Quotes erd
29870 \end_inset
29871
29872 .
29873  First we create the entry 
29874 \begin_inset Quotes eld
29875 \end_inset
29876
29877 Lists
29878 \begin_inset Quotes erd
29879 \end_inset
29880
29881  in section
29882 \begin_inset space ~
29883 \end_inset
29884
29885
29886 \begin_inset CommandInset ref
29887 LatexCommand ref
29888 reference "subsec:Lists"
29889
29890 \end_inset
29891
29892 .
29893  In the text field for the itemized list index entry in section
29894 \begin_inset space ~
29895 \end_inset
29896
29897
29898 \begin_inset CommandInset ref
29899 LatexCommand ref
29900 reference "sec:Itemize"
29901
29902 \end_inset
29903
29904 , we insert the command
29905 \end_layout
29906
29907 \begin_layout Standard
29908
29909 \series bold
29910 Lists ! Itemize
29911 \end_layout
29912
29913 \begin_layout Standard
29914 and the command
29915 \end_layout
29916
29917 \begin_layout Standard
29918
29919 \series bold
29920 Lists ! Enumerate
29921 \end_layout
29922
29923 \begin_layout Standard
29924 for the enumerated list in section
29925 \begin_inset space ~
29926 \end_inset
29927
29928
29929 \begin_inset CommandInset ref
29930 LatexCommand ref
29931 reference "sec:Enumerate"
29932
29933 \end_inset
29934
29935 .
29936 \end_layout
29937
29938 \begin_layout Standard
29939 The exclamation mark 
29940 \begin_inset Quotes eld
29941 \end_inset
29942
29943 !
29944 \begin_inset Quotes erd
29945 \end_inset
29946
29947  marks the grouping levels.
29948  You can have three levels; every index level is indented a bit more.
29949  An index entry for the higher levels is not required.
29950  If we don't have an index entry for 
29951 \begin_inset Quotes eld
29952 \end_inset
29953
29954 Lists
29955 \begin_inset Quotes erd
29956 \end_inset
29957
29958 , it will be printed anyway, but without a page number.
29959 \end_layout
29960
29961 \begin_layout Subsection
29962 Page Ranges
29963 \begin_inset Index idx
29964 status collapsed
29965
29966 \begin_layout Plain Layout
29967 Index ! Page ranges
29968 \end_layout
29969
29970 \end_inset
29971
29972
29973 \end_layout
29974
29975 \begin_layout Standard
29976 Normally an index entry will appear with the page number of the indexed
29977  section.
29978  But sometimes you want to index more pages under the same entry.
29979  For example, if we want to index the paragraph environments, we create
29980  an index entry in section
29981 \begin_inset space ~
29982 \end_inset
29983
29984
29985 \begin_inset CommandInset ref
29986 LatexCommand ref
29987 reference "sec:Paragraph-Environments"
29988
29989 \end_inset
29990
29991  with the command
29992 \end_layout
29993
29994 \begin_layout Standard
29995
29996 \series bold
29997 Paragraph environments|(
29998 \end_layout
29999
30000 \begin_layout Standard
30001 and another entry at the end of section
30002 \begin_inset space ~
30003 \end_inset
30004
30005
30006 \begin_inset CommandInset ref
30007 LatexCommand ref
30008 reference "subsec:LyX-Code"
30009
30010 \end_inset
30011
30012  with the command
30013 \end_layout
30014
30015 \begin_layout Standard
30016
30017 \series bold
30018 Paragraph environments|)
30019 \end_layout
30020
30021 \begin_layout Standard
30022 The commands 
30023 \begin_inset Quotes eld
30024 \end_inset
30025
30026
30027 \series bold
30028 |(
30029 \series default
30030
30031 \begin_inset Quotes erd
30032 \end_inset
30033
30034  and 
30035 \begin_inset Quotes eld
30036 \end_inset
30037
30038
30039 \series bold
30040 |)
30041 \series default
30042
30043 \begin_inset Quotes erd
30044 \end_inset
30045
30046  respectively start and end the index range.
30047  You can also add the same index entry at different places in the document.
30048  They appear in the output under one entry with a comma separated list of
30049  the pages of the indexed document parts.
30050  An example is the index entry 
30051 \begin_inset Quotes eld
30052 \end_inset
30053
30054 Document ! Settings
30055 \begin_inset Quotes erd
30056 \end_inset
30057
30058 .
30059 \end_layout
30060
30061 \begin_layout Subsection
30062 Cross referencing
30063 \begin_inset Index idx
30064 status collapsed
30065
30066 \begin_layout Plain Layout
30067 Index ! Cross referencing
30068 \end_layout
30069
30070 \end_inset
30071
30072
30073 \end_layout
30074
30075 \begin_layout Standard
30076 It is also possible to refer to another index entry.
30077  We referred for example in the index entry 
30078 \begin_inset Quotes eld
30079 \end_inset
30080
30081 GIF
30082 \begin_inset Quotes erd
30083 \end_inset
30084
30085  (in section
30086 \begin_inset space ~
30087 \end_inset
30088
30089
30090 \begin_inset CommandInset ref
30091 LatexCommand ref
30092 reference "subsec:Image-Formats"
30093
30094 \end_inset
30095
30096 ) to the index entry 
30097 \begin_inset Quotes eld
30098 \end_inset
30099
30100 Image formats
30101 \begin_inset Quotes erd
30102 \end_inset
30103
30104  in the same section using the entry
30105 \end_layout
30106
30107 \begin_layout Standard
30108
30109 \series bold
30110 GIF|see{Image formats}
30111 \end_layout
30112
30113 \begin_layout Standard
30114 where the braces have to be inserted as \SpecialChar TeX
30115  Code.
30116  The text within the braces is the referenced entry.
30117  The reference will appear in the output without a page number.
30118 \end_layout
30119
30120 \begin_layout Subsection
30121 Index Entry Order
30122 \begin_inset Index idx
30123 status collapsed
30124
30125 \begin_layout Plain Layout
30126 Index ! Entry order
30127 \end_layout
30128
30129 \end_inset
30130
30131
30132 \end_layout
30133
30134 \begin_layout Standard
30135 If you use accented characters in the index entry the entries might not
30136  follow the rules for the index order.
30137  The index entries are sorted alphabetically but \SpecialChar LaTeX
30138
30139 \begin_inset Foot
30140 status collapsed
30141
30142 \begin_layout Plain Layout
30143 The index generating is done in the background by an extra program, see
30144  section
30145 \begin_inset space ~
30146 \end_inset
30147
30148
30149 \begin_inset CommandInset ref
30150 LatexCommand ref
30151 reference "subsec:Index-Program"
30152
30153 \end_inset
30154
30155 .
30156 \end_layout
30157
30158 \end_inset
30159
30160  does not know how to sort accents in different languages.
30161  We have created as an example the three dummy index entries 
30162 \begin_inset Quotes eld
30163 \end_inset
30164
30165 maison
30166 \begin_inset Quotes erd
30167 \end_inset
30168
30169
30170 \begin_inset Quotes eld
30171 \end_inset
30172
30173 maïs
30174 \begin_inset Quotes erd
30175 \end_inset
30176
30177 , and 
30178 \begin_inset Quotes eld
30179 \end_inset
30180
30181 maître
30182 \begin_inset Quotes erd
30183 \end_inset
30184
30185 .
30186 \begin_inset Index idx
30187 status collapsed
30188
30189 \begin_layout Plain Layout
30190 Dummy entries ! maïs
30191 \end_layout
30192
30193 \end_inset
30194
30195
30196 \begin_inset Index idx
30197 status collapsed
30198
30199 \begin_layout Plain Layout
30200 Dummy entries ! maître
30201 \end_layout
30202
30203 \end_inset
30204
30205
30206 \begin_inset Index idx
30207 status collapsed
30208
30209 \begin_layout Plain Layout
30210 Dummy entries ! maïs@maison
30211 \end_layout
30212
30213 \end_inset
30214
30215  They will be sorted in the order maïs, maître, maison but we want the order
30216  maïs, maison, maître.
30217  To achieve this, we use the command
30218 \end_layout
30219
30220 \begin_layout Standard
30221
30222 \series bold
30223 previous entry@current entry
30224 \end_layout
30225
30226 \begin_layout Standard
30227 In our case we want to have 
30228 \begin_inset Quotes eld
30229 \end_inset
30230
30231 maison
30232 \begin_inset Quotes erd
30233 \end_inset
30234
30235  after 
30236 \begin_inset Quotes eld
30237 \end_inset
30238
30239 maïs
30240 \begin_inset Quotes erd
30241 \end_inset
30242
30243  and write therefore for the index entry of maison:
30244 \end_layout
30245
30246 \begin_layout Standard
30247
30248 \series bold
30249 maïs@maison
30250 \end_layout
30251
30252 \begin_layout Standard
30253 The previous entry need not be a real existing entry.
30254  You can also use another word to tell \SpecialChar LaTeX
30255  the entry order.
30256  See the next subsection for an example.
30257 \end_layout
30258
30259 \begin_layout Standard
30260 \begin_inset VSpace bigskip
30261 \end_inset
30262
30263
30264 \end_layout
30265
30266 \begin_layout Standard
30267 In some cases the index entry order is not correct when you are using the
30268  program 
30269 \family sans
30270 makeindex 
30271 \family default
30272 to generate the index (see section
30273 \begin_inset space ~
30274 \end_inset
30275
30276
30277 \begin_inset CommandInset ref
30278 LatexCommand ref
30279 reference "subsec:Index-Program"
30280
30281 \end_inset
30282
30283 ).
30284  
30285 \family sans
30286 makeindex
30287 \family default
30288  would for example print the index entry for the \SpecialChar LaTeX
30289 -package aeguill in section
30290 \begin_inset space ~
30291 \end_inset
30292
30293
30294 \begin_inset CommandInset ref
30295 LatexCommand ref
30296 reference "subsec:Document-Font"
30297
30298 \end_inset
30299
30300  after the index entries of the other \SpecialChar LaTeX
30301 -packages although all these index
30302  commands start with 
30303 \begin_inset Quotes eld
30304 \end_inset
30305
30306
30307 \series bold
30308 \SpecialChar LaTeX
30309 -packages !
30310 \series default
30311  
30312 \begin_inset Quotes erd
30313 \end_inset
30314
30315 .
30316  The reason is that the index entry for aeguill is in a footnote.
30317  To fix this 
30318 \family sans
30319 makeindex
30320 \family default
30321  bug, add these commands to the preamble of your document:
30322 \end_layout
30323
30324 \begin_layout Standard
30325
30326 \series bold
30327
30328 \backslash
30329 let
30330 \backslash
30331 OrgIndex
30332 \backslash
30333 index
30334 \end_layout
30335
30336 \begin_layout Standard
30337
30338 \series bold
30339
30340 \backslash
30341 renewcommand*{
30342 \backslash
30343 index}[1]{
30344 \backslash
30345 OrgIndex{#1}}
30346 \end_layout
30347
30348 \begin_layout Subsection
30349 Index Entry Layout
30350 \begin_inset Index idx
30351 status collapsed
30352
30353 \begin_layout Plain Layout
30354 Index ! Entry layout
30355 \end_layout
30356
30357 \end_inset
30358
30359
30360 \end_layout
30361
30362 \begin_layout Standard
30363 You can change the appearance of index entries via the text style dialog.
30364 \begin_inset Index idx
30365 status open
30366
30367 \begin_layout Plain Layout
30368 Dummy entries ! 
30369 \shape italic
30370 This is an italic dummy entry
30371 \end_layout
30372
30373 \end_inset
30374
30375  You can also format the page number using the character 
30376 \begin_inset Quotes eld
30377 \end_inset
30378
30379 |
30380 \begin_inset Quotes erd
30381 \end_inset
30382
30383  followed by a \SpecialChar LaTeX
30384 -command without a backslash.
30385  We can write for example
30386 \end_layout
30387
30388 \begin_layout Standard
30389
30390 \series bold
30391 italic page number:|textit
30392 \end_layout
30393
30394 \begin_layout Standard
30395 to get the page number in italic.
30396 \begin_inset Index idx
30397 status open
30398
30399 \begin_layout Plain Layout
30400 Dummy entries ! italic page number:|textit
30401 \end_layout
30402
30403 \end_inset
30404
30405  Normally all \SpecialChar LaTeX
30406 -commands begin with a backslash, but in this special case
30407  
30408 \begin_inset Quotes eld
30409 \end_inset
30410
30411
30412 \series bold
30413 |command
30414 \series default
30415
30416 \begin_inset Quotes erd
30417 \end_inset
30418
30419  means 
30420 \series bold
30421
30422 \backslash
30423 command{page
30424 \begin_inset space ~
30425 \end_inset
30426
30427 number}
30428 \series default
30429 .
30430  Have a look at section
30431 \begin_inset space ~
30432 \end_inset
30433
30434
30435 \begin_inset CommandInset ref
30436 LatexCommand ref
30437 reference "subsec:LaTeX-Syntax"
30438
30439 \end_inset
30440
30441  to learn more about the \SpecialChar LaTeX
30442 -syntax.
30443 \end_layout
30444
30445 \begin_layout Standard
30446 \begin_inset Note Greyedout
30447 status open
30448
30449 \begin_layout Plain Layout
30450
30451 \series bold
30452 Note:
30453 \series default
30454  Formatting single index entries only works when you use the program 
30455 \family sans
30456 makeindex 
30457 \family default
30458 to generate the index, see section
30459 \begin_inset space ~
30460 \end_inset
30461
30462
30463 \begin_inset CommandInset ref
30464 LatexCommand ref
30465 reference "subsec:Index-Program"
30466
30467 \end_inset
30468
30469 .
30470  If you use 
30471 \family sans
30472 xindy
30473 \family default
30474 , this will not work for anything other than bold or italic text.
30475  This is because 
30476 \family sans
30477 xindy
30478 \family default
30479  requires you to define semantic elements before they can be used, see 
30480 \begin_inset CommandInset citation
30481 LatexCommand cite
30482 after "p. 678 ff."
30483 key "latexcompanion"
30484 literal "true"
30485
30486 \end_inset
30487
30488  for details.
30489 \end_layout
30490
30491 \end_inset
30492
30493
30494 \end_layout
30495
30496 \begin_layout Standard
30497 In general, we encourage you to not format page numbers directly as shown
30498  above.
30499  Instead, you should define a macro in the preamble and use that.
30500  Maybe you want all page references italic that refer to a definition of
30501  the indexed term, so that users can easily find definitions.
30502  If so, put the following in the preamble
30503 \end_layout
30504
30505 \begin_layout Standard
30506
30507 \series bold
30508
30509 \backslash
30510 newcommand{
30511 \backslash
30512 IndexDef}[1]{
30513 \backslash
30514 textit{#1}}
30515 \end_layout
30516
30517 \begin_layout Standard
30518 and write
30519 \end_layout
30520
30521 \begin_layout Standard
30522
30523 \series bold
30524 my entry|IndexDef
30525 \end_layout
30526
30527 \begin_layout Standard
30528 in the index entry.
30529 \begin_inset Index idx
30530 status open
30531
30532 \begin_layout Plain Layout
30533 Dummy entries ! my entry|IndexDef
30534 \end_layout
30535
30536 \end_inset
30537
30538  The advantage is that, if you change your mind later or if your publisher
30539  insists that definitions must not be italic but bold, you just need to
30540  change the macro in the preamble, not every single index entry.
30541 \end_layout
30542
30543 \begin_layout Standard
30544 You can also change the layout for the whole index.
30545  For example, we marked the index list box of this document as bold to get
30546  a bold font for all index entries.
30547  For more advanced tasks you have to set up a so-called 
30548 \emph on
30549 Index Style File
30550 \emph default
30551 , see the 
30552 \family sans
30553 makeindex
30554 \family default
30555  or 
30556 \family sans
30557 xindy
30558 \family default
30559  documentation for details, 
30560 \begin_inset CommandInset citation
30561 LatexCommand cite
30562 key "makeindex,xindy"
30563 literal "true"
30564
30565 \end_inset
30566
30567 .
30568 \end_layout
30569
30570 \begin_layout Subsection
30571 Index Program
30572 \begin_inset Index idx
30573 status collapsed
30574
30575 \begin_layout Plain Layout
30576 Index ! Program
30577 \end_layout
30578
30579 \end_inset
30580
30581
30582 \begin_inset CommandInset label
30583 LatexCommand label
30584 name "subsec:Index-Program"
30585
30586 \end_inset
30587
30588
30589 \end_layout
30590
30591 \begin_layout Standard
30592 If the index generation program 
30593 \family sans
30594 xindy
30595 \family default
30596  is installed, \SpecialChar LyX
30597  uses it for index generation; otherwise the program 
30598 \family sans
30599 makeindex
30600 \family default
30601 , the program that is part of every \SpecialChar LaTeX
30602  distribution, is used.
30603 \begin_inset Foot
30604 status collapsed
30605
30606 \begin_layout Plain Layout
30607
30608 \family sans
30609 Makeindex
30610 \family default
30611  is very old, no longer under development and has many pitfalls, notably
30612  that it was developed with only the English language in mind.
30613  So it fails to sort anything other than a monolingual English text correctly.
30614  We have shown above how to fix this sorting.
30615  However, if you are writing in another than the English language, consider
30616  to use 
30617 \family sans
30618 xindy
30619 \family default
30620 .
30621 \end_layout
30622
30623 \end_inset
30624
30625  Both programs can be controlled by options that can be set in \SpecialChar LyX
30626 's preferences
30627  dialog, see section
30628 \begin_inset space ~
30629 \end_inset
30630
30631
30632 \begin_inset CommandInset ref
30633 LatexCommand ref
30634 reference "subsec:LaTeX-settings"
30635
30636 \end_inset
30637
30638 .
30639  The available options are listed and explained in 
30640 \begin_inset CommandInset citation
30641 LatexCommand cite
30642 key "makeindex-man,xindy"
30643 literal "true"
30644
30645 \end_inset
30646
30647 .
30648  In this dialog, you can also specify an alternative program to generate
30649  the index.
30650 \end_layout
30651
30652 \begin_layout Standard
30653 If you need specific options or an alternative index program only for a
30654  given document, you can define the program and\SpecialChar breakableslash
30655 or the options in 
30656 \family sans
30657 Document\SpecialChar menuseparator
30658 Settings\SpecialChar menuseparator
30659 Indexes
30660 \family default
30661 .
30662  This is especially useful if you need to pass language-specific options
30663  to the index program or if you need a specific layout style.
30664 \end_layout
30665
30666 \begin_layout Subsection
30667 Multiple Indexes
30668 \end_layout
30669
30670 \begin_layout Standard
30671 In many fields it is common to have more than one index.
30672  For instance, you might need to set up a separate 
30673 \begin_inset Quotes eld
30674 \end_inset
30675
30676 Index of Names
30677 \begin_inset Quotes erd
30678 \end_inset
30679
30680  next to the standard index.
30681  \SpecialChar LaTeX
30682  does not provide this possibility out of the box, but there are packages
30683  that add this feature.
30684  \SpecialChar LyX
30685  uses the 
30686 \series bold
30687 splitidx
30688 \series default
30689
30690 \begin_inset Index idx
30691 status collapsed
30692
30693 \begin_layout Plain Layout
30694 \SpecialChar LaTeX
30695  packages ! splitidx
30696 \end_layout
30697
30698 \end_inset
30699
30700  package to generate multiple indexes.
30701  The package is included in all recent \SpecialChar LaTeX
30702  distributions.
30703 \begin_inset Foot
30704 status collapsed
30705
30706 \begin_layout Plain Layout
30707 If yours does not ship it, consult the \SpecialChar TeX
30708  catalogue, 
30709 \begin_inset CommandInset citation
30710 LatexCommand cite
30711 key "TeXCatalogue"
30712 literal "true"
30713
30714 \end_inset
30715
30716 .
30717  Note that the package does not only consist of a \SpecialChar LaTeX
30718  style, but it also includes
30719  specific preprocessor programs that need to be installed as well.
30720  Please consult the package's manual for details.
30721 \end_layout
30722
30723 \end_inset
30724
30725
30726 \end_layout
30727
30728 \begin_layout Standard
30729 To set up \SpecialChar LyX
30730  for the use of multiple indexes, go to 
30731 \family sans
30732 Document\SpecialChar menuseparator
30733 Settings\SpecialChar menuseparator
30734 Indexes
30735 \family default
30736  and select the option 
30737 \family sans
30738 Use multiple Indexes
30739 \family default
30740 .
30741  Note that the list 
30742 \family sans
30743 Available Indexes
30744 \family default
30745  already contains the standard index 
30746 \begin_inset Quotes eld
30747 \end_inset
30748
30749 Index
30750 \begin_inset Quotes erd
30751 \end_inset
30752
30753 .
30754  To add further indexes, add the name of the index (in the form that should
30755  also appear as a heading) to the 
30756 \family sans
30757 New
30758 \family default
30759  input field and press the 
30760 \family sans
30761 Add
30762 \family default
30763  button.
30764  The new index now also appears in the list.
30765  If you like, you can attribute an alternative \SpecialChar LyX
30766  label color to the new index.
30767 \end_layout
30768
30769 \begin_layout Standard
30770 Once the document changes have been applied, you can find the new index
30771  list in 
30772 \family sans
30773 Insert\SpecialChar menuseparator
30774 List/TOC
30775 \family default
30776  and the 
30777 \family sans
30778 Insert
30779 \family default
30780  menu has a separate entry for each of the defined indexes.
30781  The workflow is basically the same as for the default index, but there
30782  are additional features:
30783 \end_layout
30784
30785 \begin_layout Itemize
30786 If you want to change the attribution of a specific index entry, right-clicking
30787  on the entry's label will open a dialog where you can do that.
30788 \end_layout
30789
30790 \begin_layout Itemize
30791 By right-clicking on an index, you can change its type.
30792  Furthermore, you can specify an index to be a 
30793 \begin_inset Quotes eld
30794 \end_inset
30795
30796 Subindex.
30797 \begin_inset Quotes erd
30798 \end_inset
30799
30800  If you do that, the heading of that list will be decreased by one level.
30801  For example, if you use a book class, where the standard index heading
30802  is defined as a chapter, subindexes will be defined as sections and can
30803  thus be nested to the non-subindexes.
30804 \end_layout
30805
30806 \begin_layout Section
30807 Nomenclature/Glossary 
30808 \begin_inset Index idx
30809 status collapsed
30810
30811 \begin_layout Plain Layout
30812 Nomenclature
30813 \end_layout
30814
30815 \end_inset
30816
30817
30818 \begin_inset Index idx
30819 status collapsed
30820
30821 \begin_layout Plain Layout
30822 Glossary|see
30823 \begin_inset ERT
30824 status collapsed
30825
30826 \begin_layout Plain Layout
30827
30828 {
30829 \end_layout
30830
30831 \end_inset
30832
30833 Nomenclature
30834 \begin_inset ERT
30835 status collapsed
30836
30837 \begin_layout Plain Layout
30838
30839 }
30840 \end_layout
30841
30842 \end_inset
30843
30844
30845 \end_layout
30846
30847 \end_inset
30848
30849
30850 \begin_inset CommandInset label
30851 LatexCommand label
30852 name "sec:Nomenclature"
30853
30854 \end_inset
30855
30856
30857 \end_layout
30858
30859 \begin_layout Standard
30860 Sometimes you need to provide a list of technical terms or symbols that
30861  are mentioned in your document with a brief explanation of them – a so
30862  called nomenclature or glossary.
30863 \end_layout
30864
30865 \begin_layout Standard
30866 To be able to create nomenclatures or glossaries, you need the \SpecialChar LaTeX
30867  package
30868  
30869 \series bold
30870 nomencl
30871 \series default
30872
30873 \begin_inset Index idx
30874 status collapsed
30875
30876 \begin_layout Plain Layout
30877 \SpecialChar LaTeX
30878  packages ! nomencl
30879 \end_layout
30880
30881 \end_inset
30882
30883  installed.
30884  You find it in the \SpecialChar TeX
30885  catalogue, 
30886 \begin_inset CommandInset citation
30887 LatexCommand cite
30888 key "TeXCatalogue"
30889 literal "true"
30890
30891 \end_inset
30892
30893  or in the package manager of your \SpecialChar LaTeX
30894 -system.
30895 \end_layout
30896
30897 \begin_layout Standard
30898 A nomenclature entry is created if you place the cursor after a symbol entry
30899  and then use the menu 
30900 \family sans
30901 Insert\SpecialChar menuseparator
30902
30903 \family default
30904 N
30905 \family sans
30906 omenclature
30907 \begin_inset space ~
30908 \end_inset
30909
30910 Entry
30911 \family default
30912  or the toolbar button 
30913 \begin_inset Info
30914 type  "icon"
30915 arg   "nomencl-insert"
30916 \end_inset
30917
30918 .
30919  A gray box labeled 
30920 \begin_inset Quotes eld
30921 \end_inset
30922
30923
30924 \family sans
30925 Nom
30926 \family default
30927
30928 \begin_inset Quotes erd
30929 \end_inset
30930
30931  is inserted and a window pops up asking for the nomenclature entry.
30932 \end_layout
30933
30934 \begin_layout Standard
30935 A nomenclature entry consists of two main entries.
30936  The first is the term or 
30937 \family sans
30938 Symbol
30939 \family default
30940  that you wish to define.
30941  The second is the 
30942 \family sans
30943 Description
30944 \family default
30945  of the term or symbol.
30946 \end_layout
30947
30948 \begin_layout Standard
30949 \begin_inset Note Greyedout
30950 status open
30951
30952 \begin_layout Plain Layout
30953
30954 \series bold
30955 Note:
30956 \series default
30957  You have to enter valid \SpecialChar LaTeX
30958 -code for all fields of the nomenclature dialog.
30959 \end_layout
30960
30961 \end_inset
30962
30963
30964 \end_layout
30965
30966 \begin_layout Subsection
30967 Nomenclature Definition and Layout
30968 \begin_inset Index idx
30969 status collapsed
30970
30971 \begin_layout Plain Layout
30972 Nomenclature ! Layout
30973 \end_layout
30974
30975 \end_inset
30976
30977
30978 \end_layout
30979
30980 \begin_layout Standard
30981 If you have symbols in formulas, you have to define them in the 
30982 \family sans
30983 Symbol
30984 \family default
30985  field as \SpecialChar LaTeX
30986 -formulas.
30987  For example to get 
30988 \begin_inset Quotes eld
30989 \end_inset
30990
30991
30992 \begin_inset Formula $\sigma$
30993 \end_inset
30994
30995
30996 \begin_inset Quotes erd
30997 \end_inset
30998
30999 , insert this:
31000 \begin_inset Newline newline
31001 \end_inset
31002
31003
31004 \series bold
31005 $
31006 \backslash
31007 sigma$
31008 \begin_inset Newline newline
31009 \end_inset
31010
31011
31012 \series default
31013 The 
31014 \begin_inset Quotes eld
31015 \end_inset
31016
31017 $
31018 \begin_inset Quotes erd
31019 \end_inset
31020
31021  character starts/ends the formula.
31022  The \SpecialChar LaTeX
31023 -command for the Greek letter is the name of the letter beginning with
31024  a backslash 
31025 \begin_inset Quotes eld
31026 \end_inset
31027
31028
31029 \backslash
31030
31031 \begin_inset Quotes erd
31032 \end_inset
31033
31034 .
31035  For capital Greek letters, start the command also with a capital letter,
31036  like 
31037 \series bold
31038
31039 \backslash
31040 Sigma
31041 \series default
31042 .
31043 \end_layout
31044
31045 \begin_layout Standard
31046 (A short introduction to the \SpecialChar LaTeX
31047 -syntax is given in section
31048 \begin_inset space ~
31049 \end_inset
31050
31051
31052 \begin_inset CommandInset ref
31053 LatexCommand ref
31054 reference "subsec:LaTeX-Syntax"
31055
31056 \end_inset
31057
31058 .)
31059 \end_layout
31060
31061 \begin_layout Standard
31062 You cannot use the 
31063 \family sans
31064 Text
31065 \begin_inset space ~
31066 \end_inset
31067
31068 Style
31069 \family default
31070  dialog to format the description text; you have to use \SpecialChar LaTeX
31071 -commands.
31072  For example the description of the nomenclature entry for the 
31073 \begin_inset Quotes eld
31074 \end_inset
31075
31076
31077 \begin_inset Formula $\sigma$
31078 \end_inset
31079
31080
31081 \begin_inset Quotes erd
31082 \end_inset
31083
31084  in this document is:
31085 \begin_inset Newline newline
31086 \end_inset
31087
31088
31089 \series bold
31090 dummy entry for the character 
31091 \backslash
31092 textsf{sigma}
31093 \series default
31094
31095 \begin_inset Newline newline
31096 \end_inset
31097
31098 The command 
31099 \series bold
31100
31101 \backslash
31102 textsf
31103 \series default
31104  sets the fonts to 
31105 \family sans
31106 sans
31107 \begin_inset space ~
31108 \end_inset
31109
31110 serif
31111 \family default
31112 .
31113  To get 
31114 \series bold
31115 bold
31116 \series default
31117  font use the command 
31118 \series bold
31119
31120 \backslash
31121 textbf
31122 \series default
31123 , for 
31124 \family typewriter
31125 typewriter
31126 \family default
31127  use 
31128 \series bold
31129
31130 \backslash
31131 texttt
31132 \series default
31133 , for 
31134 \emph on
31135 emphasized
31136 \emph default
31137  use 
31138 \series bold
31139
31140 \backslash
31141 emph
31142 \series default
31143 .
31144 \end_layout
31145
31146 \begin_layout Standard
31147 To customize the appearance of all symbols add e.
31148 \begin_inset space \thinspace{}
31149 \end_inset
31150
31151 g.
31152 \begin_inset space \space{}
31153 \end_inset
31154
31155 the command
31156 \begin_inset Newline newline
31157 \end_inset
31158
31159
31160 \series bold
31161
31162 \backslash
31163 renewcommand{
31164 \backslash
31165 nomlabel}[1]{
31166 \backslash
31167 textsf{
31168 \backslash
31169 textbf{#1}}}
31170 \series default
31171
31172 \begin_inset Newline newline
31173 \end_inset
31174
31175 to the LaTeX preamble in the document settings.
31176  This command will make the font of all symbols 
31177 \series bold
31178 bold
31179 \series default
31180  and 
31181 \family sans
31182 sans
31183 \begin_inset space ~
31184 \end_inset
31185
31186 serif
31187 \family default
31188 .
31189 \end_layout
31190
31191 \begin_layout Standard
31192 If the characters |
31193 \begin_inset space \space{}
31194 \end_inset
31195
31196 ,
31197 \begin_inset space \space{}
31198 \end_inset
31199
31200 !
31201 \begin_inset space \space{}
31202 \end_inset
31203
31204 , @ and
31205 \begin_inset space \space{}
31206 \end_inset
31207
31208 "
31209 \begin_inset space \space{}
31210 \end_inset
31211
31212 should appear in nomenclature entries they need to be escaped by adding
31213  a quote character in front of them.
31214 \begin_inset CommandInset nomenclature
31215 LatexCommand nomenclature
31216 symbol "\"@, \"|, \"!, \"\""
31217 description "The quote sign is output by writing ‘ \"\"\"\" '"
31218 literal "false"
31219
31220 \end_inset
31221
31222
31223 \end_layout
31224
31225 \begin_layout Subsection
31226 Sort Order of Nomenclature Entries
31227 \begin_inset Index idx
31228 status collapsed
31229
31230 \begin_layout Plain Layout
31231 Nomenclature ! Sort order
31232 \end_layout
31233
31234 \end_inset
31235
31236
31237 \end_layout
31238
31239 \begin_layout Standard
31240 The nomenclature entries are sorted alphabetically by the \SpecialChar LaTeX
31241 -code of the symbol
31242  definition.
31243  This leads to undesired results when you, for example, have symbols in
31244  formulas.
31245  Suppose you have nomenclature entries for the symbols 
31246 \emph on
31247 a
31248 \begin_inset CommandInset nomenclature
31249 LatexCommand nomenclature
31250 symbol "a"
31251 description "dummy entry for the character \"a\""
31252 literal "false"
31253
31254 \end_inset
31255
31256
31257 \emph default
31258  and 
31259 \begin_inset Formula $\sigma$
31260 \end_inset
31261
31262
31263 \begin_inset CommandInset nomenclature
31264 LatexCommand nomenclature
31265 prefix "sigma"
31266 symbol "$\\sigma$"
31267 description "dummy entry for the character \\textsf{sigma}"
31268 literal "false"
31269
31270 \end_inset
31271
31272 .
31273  They will be sorted by 
31274 \begin_inset Quotes eld
31275 \end_inset
31276
31277
31278 \family sans
31279 a
31280 \family default
31281
31282 \begin_inset Quotes erd
31283 \end_inset
31284
31285  and 
31286 \begin_inset Quotes eld
31287 \end_inset
31288
31289
31290 \family typewriter
31291 $
31292 \backslash
31293 sigma$
31294 \family default
31295
31296 \begin_inset Quotes erd
31297 \end_inset
31298
31299  – the 
31300 \begin_inset Formula $\sigma$
31301 \end_inset
31302
31303  will be sorted before the 
31304 \emph on
31305 a
31306 \emph default
31307  since the character 
31308 \begin_inset Quotes eld
31309 \end_inset
31310
31311 $
31312 \begin_inset Quotes erd
31313 \end_inset
31314
31315  is considered in sorting.
31316 \end_layout
31317
31318 \begin_layout Standard
31319 To control the sort order, you can edit the 
31320 \family sans
31321 Sort
31322 \begin_inset space ~
31323 \end_inset
31324
31325 as
31326 \family default
31327  field of the nomenclature dialog.
31328  Then the nomenclature entry will be sorted by this entry and not the symbol
31329  definition.
31330  For the example given, you can insert 
31331 \family typewriter
31332 sigma
31333 \family default
31334  in this field for the 
31335 \begin_inset Formula $\sigma$
31336 \end_inset
31337
31338 , then 
31339 \emph on
31340 a
31341 \emph default
31342  will be located before 
31343 \begin_inset Formula $\sigma$
31344 \end_inset
31345
31346 .
31347 \end_layout
31348
31349 \begin_layout Standard
31350 For subgrouping and tips for using sort entries see the 
31351 \series bold
31352 nomencl
31353 \series default
31354  documentation, 
31355 \begin_inset CommandInset citation
31356 LatexCommand cite
31357 key "nomencl"
31358 literal "true"
31359
31360 \end_inset
31361
31362 .
31363 \end_layout
31364
31365 \begin_layout Subsection
31366 Nomenclature Options
31367 \begin_inset Index idx
31368 status collapsed
31369
31370 \begin_layout Plain Layout
31371 Nomenclature ! Options
31372 \end_layout
31373
31374 \end_inset
31375
31376
31377 \end_layout
31378
31379 \begin_layout Standard
31380 The 
31381 \series bold
31382 nomencl
31383 \series default
31384  package offers some options to adjust the appearance of the nomenclature.
31385  Here are some of its options; for more have a look at its documentation:
31386 \end_layout
31387
31388 \begin_layout Description
31389 refeq Appends the phrase 
31390 \begin_inset Quotes eld
31391 \end_inset
31392
31393
31394 \family sans
31395 , see equation (
31396 \emph on
31397 eq
31398 \emph default
31399 )
31400 \family default
31401
31402 \begin_inset Quotes erd
31403 \end_inset
31404
31405  to every nomenclature entry, where 
31406 \family sans
31407 \emph on
31408 eq
31409 \family default
31410 \emph default
31411  is the number of the last equation in front of the nomenclature entry
31412 \end_layout
31413
31414 \begin_layout Description
31415 refpage Appends the phrase 
31416 \begin_inset Quotes eld
31417 \end_inset
31418
31419
31420 \family sans
31421 , page (
31422 \emph on
31423 page
31424 \emph default
31425 )
31426 \family default
31427
31428 \begin_inset Quotes erd
31429 \end_inset
31430
31431  to every nomenclature entry, where 
31432 \family sans
31433 \emph on
31434 page
31435 \family default
31436 \emph default
31437  is the number of the page on which the nomenclature entry appeared
31438 \end_layout
31439
31440 \begin_layout Description
31441 intoc Inserts the nomenclature in the Table of Contents
31442 \end_layout
31443
31444 \begin_layout Standard
31445 To use one or more of the options, add them to the comma-separated document
31446  class options list in the 
31447 \family sans
31448 Document\SpecialChar menuseparator
31449 Settings
31450 \family default
31451  dialog.
31452  In this document the options 
31453 \series bold
31454 refpage, intoc
31455 \series default
31456  are used.
31457 \end_layout
31458
31459 \begin_layout Standard
31460 \begin_inset VSpace bigskip
31461 \end_inset
31462
31463
31464 \end_layout
31465
31466 \begin_layout Standard
31467 You can also use the first two options above only for certain nomenclature
31468  entries when you add one of the following commands as last entry to the
31469  
31470 \family sans
31471 Description
31472 \family default
31473  field in the nomenclature dialog:
31474 \end_layout
31475
31476 \begin_layout Description
31477
31478 \backslash
31479 nomrefeq Like the 
31480 \series bold
31481 refeq
31482 \series default
31483  option
31484 \end_layout
31485
31486 \begin_layout Description
31487
31488 \backslash
31489 nomrefpage Like the 
31490 \series bold
31491 refpage
31492 \series default
31493  option
31494 \end_layout
31495
31496 \begin_layout Description
31497
31498 \backslash
31499 nomrefeqpage Short notation of 
31500 \series bold
31501
31502 \backslash
31503 nomrefeq
31504 \backslash
31505 nomrefpage
31506 \end_layout
31507
31508 \begin_layout Description
31509
31510 \backslash
31511 nomnorefeq,
31512 \begin_inset space ~
31513 \end_inset
31514
31515
31516 \backslash
31517 nomnorefpage,
31518 \begin_inset space ~
31519 \end_inset
31520
31521
31522 \backslash
31523 nomnorefeqpage Turns off the corresponding options
31524 \end_layout
31525
31526 \begin_layout Standard
31527 Words like 
31528 \begin_inset Quotes eld
31529 \end_inset
31530
31531 page
31532 \begin_inset Quotes erd
31533 \end_inset
31534
31535  are automatically translated for some document languages.
31536  If not, add these lines to your \SpecialChar LaTeX
31537  preamble:
31538 \end_layout
31539
31540 \begin_layout Standard
31541 \noindent
31542
31543 \series bold
31544
31545 \backslash
31546 renewcommand{
31547 \backslash
31548 eqdeclaration}[1]{, see equation
31549 \backslash
31550 nobreakspace(#1)}
31551 \begin_inset Newline newline
31552 \end_inset
31553
31554
31555 \backslash
31556 renewcommand{
31557 \backslash
31558 pagedeclaration}[1]{, page
31559 \backslash
31560 nobreakspace{}#1}
31561 \series default
31562
31563 \begin_inset Newline newline
31564 \end_inset
31565
31566 and replace 
31567 \begin_inset Quotes eld
31568 \end_inset
31569
31570 see equation
31571 \begin_inset Quotes erd
31572 \end_inset
31573
31574  and 
31575 \begin_inset Quotes eld
31576 \end_inset
31577
31578 page
31579 \begin_inset Quotes erd
31580 \end_inset
31581
31582  by their translation.
31583 \end_layout
31584
31585 \begin_layout Subsection
31586 Printing the Nomenclature
31587 \begin_inset Index idx
31588 status collapsed
31589
31590 \begin_layout Plain Layout
31591 Nomenclature ! Printing
31592 \end_layout
31593
31594 \end_inset
31595
31596
31597 \end_layout
31598
31599 \begin_layout Standard
31600 To print the nomenclature, use the menu 
31601 \family sans
31602 Insert\SpecialChar menuseparator
31603 Lists/TOC\SpecialChar menuseparator
31604 Nomenclature
31605 \family default
31606 .
31607  A box labeled 
31608 \begin_inset Quotes eld
31609 \end_inset
31610
31611
31612 \family sans
31613 Nomenclature
31614 \family default
31615
31616 \begin_inset Quotes erd
31617 \end_inset
31618
31619  will show the place where the nomenclature is printed in the output.
31620  By right-clicking on it, the amount of space for symbols can be altered.
31621  You can choose between these settings:
31622 \end_layout
31623
31624 \begin_layout Description
31625 Default a space of 1
31626 \begin_inset space \thinspace{}
31627 \end_inset
31628
31629 cm is used
31630 \end_layout
31631
31632 \begin_layout Description
31633 Longest
31634 \begin_inset space ~
31635 \end_inset
31636
31637 label
31638 \begin_inset space ~
31639 \end_inset
31640
31641 width the width of the widest symbol of all nomenclature entries is used
31642 \end_layout
31643
31644 \begin_layout Description
31645 Custom custom space
31646 \end_layout
31647
31648 \begin_layout Standard
31649 In the printed output the title of the nomenclature appears as 
31650 \begin_inset Quotes eld
31651 \end_inset
31652
31653 Nomenclature
31654 \begin_inset Quotes erd
31655 \end_inset
31656
31657 .
31658  If you are not happy with the name, you can change it by redefining the
31659  command 
31660 \series bold
31661
31662 \backslash
31663 nomname
31664 \series default
31665  in the preamble.
31666  For example, in order to change the name to 
31667 \emph on
31668 List of Symbols
31669 \emph default
31670 , add the following line to the preamble:
31671 \end_layout
31672
31673 \begin_layout Standard
31674
31675 \family roman
31676 \series bold
31677
31678 \backslash
31679 renewcommand{
31680 \backslash
31681 nomname}{List of Symbols}
31682 \end_layout
31683
31684 \begin_layout Subsection
31685 Nomenclature Program
31686 \begin_inset Index idx
31687 status collapsed
31688
31689 \begin_layout Plain Layout
31690 Nomenclature ! Program
31691 \end_layout
31692
31693 \end_inset
31694
31695
31696 \begin_inset CommandInset label
31697 LatexCommand label
31698 name "subsec:Nomenclature-Program"
31699
31700 \end_inset
31701
31702
31703 \end_layout
31704
31705 \begin_layout Standard
31706 \SpecialChar LyX
31707  uses the program 
31708 \family sans
31709 makeindex
31710 \family default
31711 , that is part of every \SpecialChar LaTeX
31712  distribution, to generate the nomenclature.
31713  \SpecialChar LyX
31714 's preferences dialog allows you to specify another program or to control
31715  
31716 \family sans
31717 makeindex
31718 \family default
31719  by adding options, see section
31720 \begin_inset space ~
31721 \end_inset
31722
31723
31724 \begin_inset CommandInset ref
31725 LatexCommand ref
31726 reference "subsec:LaTeX-settings"
31727
31728 \end_inset
31729
31730 .
31731  The available options are listed and explained in 
31732 \begin_inset CommandInset citation
31733 LatexCommand cite
31734 key "nomencl,makeindex"
31735 literal "true"
31736
31737 \end_inset
31738
31739 .
31740 \end_layout
31741
31742 \begin_layout Section
31743 Branches
31744 \begin_inset Index idx
31745 status collapsed
31746
31747 \begin_layout Plain Layout
31748 Branches
31749 \end_layout
31750
31751 \end_inset
31752
31753
31754 \begin_inset Index idx
31755 status collapsed
31756
31757 \begin_layout Plain Layout
31758 Document ! Branches
31759 \end_layout
31760
31761 \end_inset
31762
31763
31764 \begin_inset CommandInset label
31765 LatexCommand label
31766 name "sec:Branches"
31767
31768 \end_inset
31769
31770
31771 \end_layout
31772
31773 \begin_layout Standard
31774 Sometimes it is useful to hide some document parts in the output.
31775  For example a teacher who is setting an exam obviously doesn't want the
31776  pupils to see the answers, but having questions and answers in the same
31777  document will make the life of the markers of that exam much easier.
31778 \end_layout
31779
31780 \begin_layout Standard
31781 For these cases \SpecialChar LyX
31782  allows you to put text into branches.
31783  The text will then only appear in the output when its branch is activated.
31784  To create a branch, either select the menu 
31785 \family sans
31786 Insert\SpecialChar menuseparator
31787 Branch\SpecialChar menuseparator
31788 Insert New Branch
31789 \family default
31790  (if you just want to specify a new branch) or go in the 
31791 \family sans
31792 Document\SpecialChar menuseparator
31793 Settings
31794 \family default
31795  dialog to 
31796 \family sans
31797 Branches
31798 \family default
31799 , where you can specify and change the name of the branch, its activation
31800  state (whether the content of the branch is shown in the output or not),
31801  its background color inside \SpecialChar LyX
31802  and whether the name of the branch should
31803  be appended to the document file name on export if the branch is active
31804  (see below for an example).
31805  Furthermore, the dialog lets you merge two branches (just rename one branch
31806  to the name of the other) and to add 
31807 \begin_inset Quotes eld
31808 \end_inset
31809
31810 unknown branches
31811 \begin_inset Quotes erd
31812 \end_inset
31813
31814  (i.
31815 \begin_inset space \thinspace{}
31816 \end_inset
31817
31818 e.
31819 \begin_inset space ~
31820 \end_inset
31821
31822 branches that were added to the document via copy and paste from other documents
31823 , without having been defined) to the document's branch list.
31824 \end_layout
31825
31826 \begin_layout Standard
31827 Text that should be in a branch is set into branch inset boxes.
31828  These boxes are inserted via the menu 
31829 \family sans
31830 Insert\SpecialChar menuseparator
31831 Branch
31832 \family default
31833  where you can choose a branch.
31834  You can later change the activation state of the branch by right-clicking
31835  on them.
31836 \end_layout
31837
31838 \begin_layout Standard
31839 Here is an example, where only the question text appears, the answer branch
31840  is deactivated and therefore does not appear in the output:
31841 \end_layout
31842
31843 \begin_layout Standard
31844 \begin_inset Branch Question
31845 inverted 0
31846 status open
31847
31848 \begin_layout Standard
31849
31850 \series bold
31851 Question:
31852 \series default
31853  Who was the first physics Nobel prize winner?
31854 \end_layout
31855
31856 \end_inset
31857
31858
31859 \end_layout
31860
31861 \begin_layout Standard
31862 \begin_inset Branch Answer
31863 inverted 0
31864 status collapsed
31865
31866 \begin_layout Standard
31867
31868 \series bold
31869 Answer:
31870 \series default
31871  Wilhelm Conrad Röntgen
31872 \end_layout
31873
31874 \end_inset
31875
31876
31877 \end_layout
31878
31879 \begin_layout Standard
31880 If you activate 
31881 \family sans
31882 Filename Suffix
31883 \family default
31884  in 
31885 \family sans
31886 Document\SpecialChar menuseparator
31887 Settings\SpecialChar menuseparator
31888 Branches
31889 \family default
31890 , the name of the active branches will be appended to the file name at export.
31891  Consider for example a file 
31892 \begin_inset Quotes eld
31893 \end_inset
31894
31895 Exam.lyx
31896 \begin_inset Quotes erd
31897 \end_inset
31898
31899  which has the above branches.
31900  If 
31901 \begin_inset Quotes eld
31902 \end_inset
31903
31904 Filename Suffix
31905 \begin_inset Quotes erd
31906 \end_inset
31907
31908  is active, the PDF export file would be called 
31909 \begin_inset Quotes eld
31910 \end_inset
31911
31912 Exam.pdf
31913 \begin_inset Quotes erd
31914 \end_inset
31915
31916  if both the 
31917 \begin_inset Quotes eld
31918 \end_inset
31919
31920 Question
31921 \begin_inset Quotes erd
31922 \end_inset
31923
31924  and 
31925 \begin_inset Quotes eld
31926 \end_inset
31927
31928 Answer
31929 \begin_inset Quotes erd
31930 \end_inset
31931
31932  branch were inactive, 
31933 \begin_inset Quotes eld
31934 \end_inset
31935
31936 Exam-Question.pdf
31937 \begin_inset Quotes erd
31938 \end_inset
31939
31940  if only the 
31941 \begin_inset Quotes eld
31942 \end_inset
31943
31944 Question
31945 \begin_inset Quotes erd
31946 \end_inset
31947
31948  branch was active, likewise 
31949 \begin_inset Quotes eld
31950 \end_inset
31951
31952 Exam-Answer.pdf
31953 \begin_inset Quotes erd
31954 \end_inset
31955
31956  if only the 
31957 \begin_inset Quotes eld
31958 \end_inset
31959
31960 Answer
31961 \begin_inset Quotes erd
31962 \end_inset
31963
31964  branch was active, and 
31965 \begin_inset Quotes eld
31966 \end_inset
31967
31968 Exam-Question-Answer.pdf
31969 \begin_inset Quotes erd
31970 \end_inset
31971
31972  if both branches were active.
31973  This helps you to export different versions of your document easily.
31974 \begin_inset VSpace bigskip
31975 \end_inset
31976
31977
31978 \end_layout
31979
31980 \begin_layout Standard
31981 There are also inverted branch insets, whose content is output just in case
31982  the branch is 
31983 \emph on
31984 not
31985 \emph default
31986  activated.
31987  This make it easy to add alternative text for different versions of a document.
31988  To control whether a particular inset is inverted, right-click on the inset
31989  button and choose 
31990 \family sans
31991 Invert
31992 \begin_inset space ~
31993 \end_inset
31994
31995 Inset
31996 \family default
31997 .
31998 \end_layout
31999
32000 \begin_layout Standard
32001 \begin_inset Branch Answer
32002 inverted 1
32003 status open
32004
32005 \begin_layout Standard
32006
32007 \series bold
32008 No answer:
32009 \series default
32010  Because the 
32011 \begin_inset Quotes eld
32012 \end_inset
32013
32014 Answer
32015 \begin_inset Quotes erd
32016 \end_inset
32017
32018  branch is deactivated.
32019 \end_layout
32020
32021 \end_inset
32022
32023
32024 \begin_inset VSpace bigskip
32025 \end_inset
32026
32027
32028 \end_layout
32029
32030 \begin_layout Standard
32031 To use conditional output inside places where you cannot insert branch insets,
32032  like inside equations, you can code special \SpecialChar LaTeX
32033  definitions for each branch.
32034  For example you can define for the question branch
32035 \begin_inset Foot
32036 status collapsed
32037
32038 \begin_layout Plain Layout
32039 For an introduction to the \SpecialChar LaTeX
32040 -syntax, see section
32041 \begin_inset space ~
32042 \end_inset
32043
32044
32045 \begin_inset CommandInset ref
32046 LatexCommand ref
32047 reference "subsec:LaTeX-Syntax"
32048
32049 \end_inset
32050
32051 .
32052 \end_layout
32053
32054 \end_inset
32055
32056
32057 \end_layout
32058
32059 \begin_layout Standard
32060
32061 \series bold
32062
32063 \backslash
32064 newcommand{
32065 \backslash
32066 question}[1]{#1}
32067 \end_layout
32068
32069 \begin_layout Standard
32070
32071 \series bold
32072
32073 \backslash
32074 newcommand{
32075 \backslash
32076 answer}[1]{}
32077 \end_layout
32078
32079 \begin_layout Standard
32080 and for the answer branch
32081 \end_layout
32082
32083 \begin_layout Standard
32084
32085 \series bold
32086
32087 \backslash
32088 newcommand{
32089 \backslash
32090 question}[1]{}
32091 \end_layout
32092
32093 \begin_layout Standard
32094
32095 \series bold
32096
32097 \backslash
32098 newcommand{
32099 \backslash
32100 answer}[1]{#1}
32101 \end_layout
32102
32103 \begin_layout Standard
32104 \begin_inset Branch Question
32105 inverted 0
32106 status open
32107
32108 \begin_layout Standard
32109 \begin_inset ERT
32110 status open
32111
32112 \begin_layout Plain Layout
32113
32114
32115 \backslash
32116 newcommand{
32117 \backslash
32118 question}[1]{#1}
32119 \end_layout
32120
32121 \begin_layout Plain Layout
32122
32123
32124 \backslash
32125 newcommand{
32126 \backslash
32127 answer}[1]{}
32128 \end_layout
32129
32130 \end_inset
32131
32132
32133 \end_layout
32134
32135 \end_inset
32136
32137
32138 \end_layout
32139
32140 \begin_layout Standard
32141 \begin_inset Branch Answer
32142 inverted 0
32143 status collapsed
32144
32145 \begin_layout Standard
32146 \begin_inset ERT
32147 status open
32148
32149 \begin_layout Plain Layout
32150
32151
32152 \backslash
32153 newcommand{
32154 \backslash
32155 question}[1]{}
32156 \end_layout
32157
32158 \begin_layout Plain Layout
32159
32160
32161 \backslash
32162 newcommand{
32163 \backslash
32164 answer}[1]{#1}
32165 \end_layout
32166
32167 \end_inset
32168
32169
32170 \end_layout
32171
32172 \end_inset
32173
32174
32175 \end_layout
32176
32177 \begin_layout Standard
32178 Now it is possible to use the 
32179 \series bold
32180
32181 \backslash
32182 question{\SpecialChar ldots
32183 }
32184 \series default
32185  and 
32186 \series bold
32187
32188 \backslash
32189 answer{\SpecialChar ldots
32190 }
32191 \series default
32192  commands to obtain conditional output.
32193  Here is an example formula where only the 
32194 \series bold
32195
32196 \backslash
32197 question
32198 \series default
32199  part appears:
32200 \begin_inset Formula 
32201 \[
32202 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
32203 \]
32204
32205 \end_inset
32206
32207
32208 \end_layout
32209
32210 \begin_layout Standard
32211 Inside math, the same effect can be achieved using math macros, see the
32212  
32213 \emph on
32214 Math
32215 \emph default
32216  manual.
32217 \end_layout
32218
32219 \begin_layout Standard
32220 Each type of branch is allowed to have its specific style defined in layout
32221  files (e.
32222 \begin_inset space \thinspace{}
32223 \end_inset
32224
32225 g.
32226 \begin_inset space \space{}
32227 \end_inset
32228
32229 any branch inset can be automatically wrapped by your own \SpecialChar LaTeX
32230  commands.).
32231  For this advanced usage, see the 
32232 \emph on
32233 Customization
32234 \emph default
32235  manual, section 
32236 \emph on
32237 Flex insets and InsetLayout
32238 \emph default
32239 ).
32240 \end_layout
32241
32242 \begin_layout Section
32243 PDF Properties
32244 \begin_inset CommandInset label
32245 LatexCommand label
32246 name "sec:PDF-Properties"
32247
32248 \end_inset
32249
32250
32251 \begin_inset Index idx
32252 status collapsed
32253
32254 \begin_layout Plain Layout
32255 PDF properties
32256 \end_layout
32257
32258 \end_inset
32259
32260
32261 \end_layout
32262
32263 \begin_layout Standard
32264 The 
32265 \family sans
32266 Document\SpecialChar menuseparator
32267 Settings\SpecialChar menuseparator
32268 PDF Properties
32269 \family default
32270  dialog allows you to set up special options for the PDF output of your
32271  document.
32272  All these options are provided by the \SpecialChar LaTeX
32273 -package 
32274 \series bold
32275 hyperref
32276 \series default
32277
32278 \begin_inset Index idx
32279 status collapsed
32280
32281 \begin_layout Plain Layout
32282 \SpecialChar LaTeX
32283  packages ! hyperref
32284 \end_layout
32285
32286 \end_inset
32287
32288  which will link all cross-references in the DVI- and PDF-output.
32289  This means that the reader of your document will be able to click on a
32290  table of contents entry or on a reference to move to the cross-referenced
32291  part of the document.
32292  
32293 \end_layout
32294
32295 \begin_layout Standard
32296 The header information in the dialog tab 
32297 \family sans
32298 General
32299 \family default
32300  is saved together with the PDF as file properties.
32301  Many programs are able to extract this information, for example, automatically
32302  to recognize who the author is and what the PDF is about.
32303  This is very useful to sort, classify or use PDFs for bibliography issues.
32304  When the option 
32305 \family sans
32306 Automatically
32307 \begin_inset space ~
32308 \end_inset
32309
32310 fill
32311 \begin_inset space ~
32312 \end_inset
32313
32314 header
32315 \family default
32316  is set, \SpecialChar LyX
32317  tries to extract the header information from your document title
32318  and author entries.
32319  The option 
32320 \family sans
32321 Load
32322 \begin_inset space ~
32323 \end_inset
32324
32325 in
32326 \begin_inset space ~
32327 \end_inset
32328
32329 fullscreen
32330 \begin_inset space ~
32331 \end_inset
32332
32333 mode
32334 \family default
32335  will open the PDF in fullscreen mode, which is useful for presentations.
32336 \end_layout
32337
32338 \begin_layout Standard
32339 You can specify in the dialog tab 
32340 \family sans
32341 Hyperlinks
32342 \family default
32343  how the links will look and if links for bibliographical backreferences
32344  are created.
32345  The 
32346 \family sans
32347 Break
32348 \begin_inset space ~
32349 \end_inset
32350
32351 links
32352 \begin_inset space ~
32353 \end_inset
32354
32355 over
32356 \begin_inset space ~
32357 \end_inset
32358
32359 lines
32360 \family default
32361  option allows long links to be split; 
32362 \family sans
32363 No
32364 \begin_inset space ~
32365 \end_inset
32366
32367 frames
32368 \begin_inset space ~
32369 \end_inset
32370
32371 around
32372 \begin_inset space ~
32373 \end_inset
32374
32375 links
32376 \family default
32377  and 
32378 \family sans
32379 Color
32380 \begin_inset space ~
32381 \end_inset
32382
32383 links
32384 \family default
32385  both turn off the default behavior of enclosing all links in frames; 
32386 \family sans
32387 Color
32388 \begin_inset space ~
32389 \end_inset
32390
32391 links
32392 \family default
32393  colors the different links.
32394  The default colors are:
32395 \end_layout
32396
32397 \begin_layout Labeling
32398 \labelwidthstring 00.00.0000
32399
32400 \color magenta
32401 magenta
32402 \color inherit
32403  for hyperlinks and URLs
32404 \end_layout
32405
32406 \begin_layout Labeling
32407 \labelwidthstring 00.00.0000
32408
32409 \color red
32410 red
32411 \color inherit
32412  for links
32413 \end_layout
32414
32415 \begin_layout Labeling
32416 \labelwidthstring 00.00.0000
32417
32418 \color green
32419 green
32420 \color inherit
32421  for citations
32422 \end_layout
32423
32424 \begin_layout Standard
32425 but you can change these in the field 
32426 \family sans
32427 Additional options
32428 \family default
32429 .
32430  For example, in this document they were changed with the additional options:
32431 \end_layout
32432
32433 \begin_layout Standard
32434
32435 \series bold
32436 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
32437 \end_layout
32438
32439 \begin_layout Standard
32440 If the option 
32441 \family sans
32442 Backreferences
32443 \family default
32444  is set, the hyperlinks will appear in the bibliography after the different
32445  entries, showing, depending on the option selected, the number of the section,
32446  slide or page where the entry is referenced.
32447 \end_layout
32448
32449 \begin_layout Standard
32450 In the dialog tab 
32451 \family sans
32452 Bookmarks
32453 \family default
32454  you can specify if PDF-bookmarks should be created for every section of
32455  your document to make it easier for readers to navigate through the document.
32456  You can decide if the bookmarks should be numbered like your document sections
32457  or not.
32458  With the 
32459 \family sans
32460 Open bookmarks
32461 \family default
32462  
32463 \family sans
32464 Level
32465 \family default
32466  you can specify what sectioning level should be displayed in the bookmarks
32467  when opening the PDF.
32468  For example level
32469 \begin_inset space ~
32470 \end_inset
32471
32472 2 will display all sections and subsections, while level
32473 \begin_inset space ~
32474 \end_inset
32475
32476 1 will only display the sections.
32477 \end_layout
32478
32479 \begin_layout Standard
32480 PDF properties are also used in this document.
32481  When you look in its document settings, you can see that some additional
32482  
32483 \series bold
32484 hyperref
32485 \series default
32486  options are used.
32487  For an explanation of all them we refer you to the hyperref manual 
32488 \begin_inset CommandInset citation
32489 LatexCommand cite
32490 key "hyperref"
32491 literal "true"
32492
32493 \end_inset
32494
32495 .
32496 \end_layout
32497
32498 \begin_layout Section
32499 \SpecialChar TeX
32500  Code and the \SpecialChar LaTeX
32501  Syntax
32502 \begin_inset CommandInset label
32503 LatexCommand label
32504 name "sec:TeX-Code"
32505
32506 \end_inset
32507
32508
32509 \end_layout
32510
32511 \begin_layout Subsection
32512 \SpecialChar TeX
32513  Code Boxes
32514 \begin_inset Index idx
32515 status collapsed
32516
32517 \begin_layout Plain Layout
32518 \SpecialChar TeX
32519  Code
32520 \end_layout
32521
32522 \end_inset
32523
32524
32525 \begin_inset CommandInset label
32526 LatexCommand label
32527 name "subsec:TeX-Code-Boxes"
32528
32529 \end_inset
32530
32531
32532 \end_layout
32533
32534 \begin_layout Standard
32535 As \SpecialChar LyX
32536  uses \SpecialChar LaTeX
32537  in the background, it supports many \SpecialChar LaTeX
32538  commands and constructs,
32539  but not all.
32540  \SpecialChar LaTeX
32541  contains hundreds of packages that provide different commands.
32542  All the time packages are being updated and new ones added.
32543  This has the advantage that you can typeset nearly everything as there
32544  is a \SpecialChar LaTeX
32545 -package for every problem, though \SpecialChar LyX
32546  cannot support all packages and
32547  their commands.
32548 \end_layout
32549
32550 \begin_layout Standard
32551 But don't worry, you can use any \SpecialChar LaTeX
32552 -command directly in \SpecialChar LyX
32553  inside the \SpecialChar TeX
32554  Code
32555  box.
32556  A \SpecialChar TeX
32557  Code box is created by the menu 
32558 \family sans
32559 Insert\SpecialChar menuseparator
32560 TeX
32561 \begin_inset space ~
32562 \end_inset
32563
32564 Code
32565 \family default
32566  or by the toolbar button 
32567 \begin_inset Info
32568 type  "icon"
32569 arg   "ert-insert"
32570 \end_inset
32571
32572  (shortcut 
32573 \begin_inset Info
32574 type  "shortcut"
32575 arg   "ert-insert"
32576 \end_inset
32577
32578 ).
32579  The box can be opened by left-clicking and closed by right-clicking on
32580  it and selecting 
32581 \family sans
32582 Close Inset
32583 \family default
32584 .
32585 \end_layout
32586
32587 \begin_layout Standard
32588 You can insert complete or incomplete commands as \SpecialChar TeX
32589  Code.
32590  Incomplete means that the command argument can be Standard \SpecialChar LyX
32591  text.
32592  For example, if you want to draw a frame around a word
32593 \begin_inset Foot
32594 status collapsed
32595
32596 \begin_layout Plain Layout
32597 The LyX way would be to use a framed box.
32598 \end_layout
32599
32600 \end_inset
32601
32602  and are therefore using the \SpecialChar LaTeX
32603 -command 
32604 \series bold
32605
32606 \backslash
32607 fbox
32608 \series default
32609 , you can write the command part 
32610 \series bold
32611
32612 \backslash
32613 fbox{
32614 \series default
32615  in a \SpecialChar TeX
32616  Code box before the word and the closing brace 
32617 \series bold
32618 }
32619 \series default
32620  in a second \SpecialChar TeX
32621  Code box behind the word.
32622  The word between the two \SpecialChar TeX
32623  Code boxes is then the argument as it is in the
32624  following example:
32625 \end_layout
32626
32627 \begin_layout Standard
32628 \begin_inset Graphics
32629         filename clipart/ERT.png
32630         scale 95
32631
32632 \end_inset
32633
32634
32635 \end_layout
32636
32637 \begin_layout Standard
32638 gives
32639 \end_layout
32640
32641 \begin_layout Standard
32642 This is a line with a 
32643 \begin_inset ERT
32644 status collapsed
32645
32646 \begin_layout Plain Layout
32647
32648
32649 \backslash
32650 fbox{
32651 \end_layout
32652
32653 \end_inset
32654
32655 framed
32656 \begin_inset ERT
32657 status collapsed
32658
32659 \begin_layout Plain Layout
32660
32661 }
32662 \end_layout
32663
32664 \end_inset
32665
32666  word.
32667 \end_layout
32668
32669 \begin_layout Standard
32670 \begin_inset Note Greyedout
32671 status open
32672
32673 \begin_layout Plain Layout
32674
32675 \series bold
32676 Note:
32677 \series default
32678  At the end of \SpecialChar LaTeX
32679 -commands without parameters, you have to insert a space
32680  to let \SpecialChar LaTeX
32681  know that the command is finished.
32682 \end_layout
32683
32684 \end_inset
32685
32686
32687 \end_layout
32688
32689 \begin_layout Subsection
32690 A Short Introduction to the \SpecialChar LaTeX
32691  Syntax
32692 \begin_inset Argument 1
32693 status collapsed
32694
32695 \begin_layout Plain Layout
32696 The \SpecialChar LaTeX
32697  Syntax
32698 \end_layout
32699
32700 \end_inset
32701
32702
32703 \begin_inset Index idx
32704 status collapsed
32705
32706 \begin_layout Plain Layout
32707 \SpecialChar LaTeX
32708  Syntax
32709 \end_layout
32710
32711 \end_inset
32712
32713
32714 \begin_inset CommandInset label
32715 LatexCommand label
32716 name "subsec:LaTeX-Syntax"
32717
32718 \end_inset
32719
32720
32721 \end_layout
32722
32723 \begin_layout Standard
32724 When you write larger documents or books, you will need to know something
32725  about the \SpecialChar LaTeX
32726 -commands that \SpecialChar LyX
32727  uses in the background.
32728  Because \SpecialChar LaTeX
32729  is based on commands, you can 
32730 \begin_inset Quotes eld
32731 \end_inset
32732
32733 program
32734 \begin_inset Quotes erd
32735 \end_inset
32736
32737  your text.
32738  This has the advantage that the layout of the document can be changed at
32739  any time if you know the right commands.
32740  For example, imagine you have to write a manual for a product and the deadline
32741  is the end of the day.
32742  Your boss has just complimented you for your good work but wants to have
32743  all caption labels bold.
32744  But you have over a hundred figure and table captions with non-bold labels
32745  in your manual.
32746  Of course it is impossible to change all caption labels manually in one
32747  day.
32748 \end_layout
32749
32750 \begin_layout Standard
32751 Now \SpecialChar LaTeX
32752  comes into play.
32753  As mentioned above, for every problem there exists a \SpecialChar LaTeX
32754 -package.
32755  First you have to find out which and therefore look in the \SpecialChar LaTeX
32756  package database,
32757  
32758 \begin_inset CommandInset citation
32759 LatexCommand cite
32760 key "Catalogue"
32761 literal "true"
32762
32763 \end_inset
32764
32765 .
32766 \end_layout
32767
32768 \begin_layout Standard
32769 As result you find that the package 
32770 \series bold
32771 caption
32772 \series default
32773
32774 \begin_inset Index idx
32775 status collapsed
32776
32777 \begin_layout Plain Layout
32778 \SpecialChar LaTeX
32779  packages ! caption
32780 \end_layout
32781
32782 \end_inset
32783
32784  is what you need.
32785  To use a package, you have to load it in the document preamble (menu 
32786 \family sans
32787 Document\SpecialChar menuseparator
32788 Settings
32789 \family default
32790 \SpecialChar menuseparator
32791
32792 \family sans
32793 LaTeX
32794 \begin_inset space ~
32795 \end_inset
32796
32797 Preamble
32798 \family default
32799 ) with the command
32800 \end_layout
32801
32802 \begin_layout Standard
32803
32804 \series bold
32805
32806 \backslash
32807 usepackage[options]{package name}
32808 \end_layout
32809
32810 \begin_layout Standard
32811 All \SpecialChar LaTeX
32812  commands begin with a backslash, the command argument is set within
32813  two braces and the options are set within two brackets.
32814  Note that not all commands have an argument and options.
32815 \end_layout
32816
32817 \begin_layout Standard
32818 In your case the package name is 
32819 \series bold
32820 caption
32821 \series default
32822 .
32823  After a look in the documentation of the package, you know that the option
32824  
32825 \series bold
32826 labelfont=bf
32827 \series default
32828  will change the font of all caption labels to bold.
32829  So you add the command
32830 \end_layout
32831
32832 \begin_layout Standard
32833
32834 \series bold
32835
32836 \backslash
32837 usepackage[labelfont=bf]{caption}
32838 \end_layout
32839
32840 \begin_layout Standard
32841 to the preamble and the problem is solved.
32842 \begin_inset Foot
32843 status collapsed
32844
32845 \begin_layout Plain Layout
32846 For more commands provided by the 
32847 \series bold
32848 caption
32849 \series default
32850  package, have a look at its documentation, 
32851 \begin_inset CommandInset citation
32852 LatexCommand cite
32853 key "caption"
32854 literal "true"
32855
32856 \end_inset
32857
32858 .
32859 \end_layout
32860
32861 \end_inset
32862
32863
32864 \end_layout
32865
32866 \begin_layout Standard
32867 Note that some document classes have built-in solutions for well-known problems
32868  like your case.
32869  For example if you use a 
32870 \family sans
32871 KOMA-Script
32872 \family default
32873  class, you don't need the package 
32874 \series bold
32875 caption
32876 \series default
32877 , you can instead write
32878 \end_layout
32879
32880 \begin_layout Standard
32881
32882 \series bold
32883
32884 \backslash
32885 setkomafont{captionlabel}{
32886 \backslash
32887 bfseries}
32888 \end_layout
32889
32890 \begin_layout Standard
32891 in the preamble and the problem is solved.
32892  So if you plan to write a large document, you should have a look at the
32893  documentation of the document class you want to use.
32894  (
32895 \series bold
32896
32897 \backslash
32898 setkomafont
32899 \series default
32900  is an example of a command with more than one argument.)
32901 \end_layout
32902
32903 \begin_layout Standard
32904 Commands in the preamble affect the whole document, while commands in the
32905  text affect only the text after the command or only the text used as command
32906  argument.
32907  To insert a \SpecialChar LaTeX
32908 -command in text, use the \SpecialChar TeX
32909  Code box as described in the previous
32910  section.
32911 \end_layout
32912
32913 \begin_layout Standard
32914 If you want to learn more about \SpecialChar LaTeX
32915  and its syntax, have a look at the \SpecialChar LaTeX
32916 -books
32917  
32918 \begin_inset CommandInset citation
32919 LatexCommand cite
32920 key "latexcompanion,latexguide"
32921 literal "true"
32922
32923 \end_inset
32924
32925 .
32926 \end_layout
32927
32928 \begin_layout Standard
32929 \begin_inset Newpage clearpage
32930 \end_inset
32931
32932
32933 \end_layout
32934
32935 \begin_layout Standard
32936 \begin_inset ERT
32937 status collapsed
32938
32939 \begin_layout Plain Layout
32940
32941
32942 \backslash
32943 pagestyle{fancy}
32944 \end_layout
32945
32946 \end_inset
32947
32948
32949 \begin_inset Note Note
32950 status collapsed
32951
32952 \begin_layout Plain Layout
32953 switches temporarily to a page style with custom header and footer line
32954 \end_layout
32955
32956 \end_inset
32957
32958
32959 \end_layout
32960
32961 \begin_layout Left Header
32962 \begin_inset Argument 1
32963 status collapsed
32964
32965 \begin_layout Plain Layout
32966
32967 \end_layout
32968
32969 \end_inset
32970
32971
32972 \begin_inset ERT
32973 status collapsed
32974
32975 \begin_layout Plain Layout
32976
32977
32978 \backslash
32979 rightmark
32980 \end_layout
32981
32982 \end_inset
32983
32984
32985 \begin_inset Note Note
32986 status collapsed
32987
32988 \begin_layout Plain Layout
32989 defines the header line as described below
32990 \end_layout
32991
32992 \end_inset
32993
32994
32995 \end_layout
32996
32997 \begin_layout Center Header
32998 \begin_inset Argument 1
32999 status collapsed
33000
33001 \begin_layout Plain Layout
33002
33003 \end_layout
33004
33005 \end_inset
33006
33007
33008 \end_layout
33009
33010 \begin_layout Right Header
33011 \begin_inset Argument 1
33012 status collapsed
33013
33014 \begin_layout Plain Layout
33015 \begin_inset ERT
33016 status collapsed
33017
33018 \begin_layout Plain Layout
33019
33020
33021 \backslash
33022 leftmark
33023 \end_layout
33024
33025 \end_inset
33026
33027
33028 \end_layout
33029
33030 \end_inset
33031
33032
33033 \end_layout
33034
33035 \begin_layout Left Footer
33036 \begin_inset Argument 1
33037 status collapsed
33038
33039 \begin_layout Plain Layout
33040 \begin_inset ERT
33041 status collapsed
33042
33043 \begin_layout Plain Layout
33044
33045
33046 \backslash
33047 thepage
33048 \end_layout
33049
33050 \end_inset
33051
33052
33053 \end_layout
33054
33055 \end_inset
33056
33057
33058 \end_layout
33059
33060 \begin_layout Center Footer
33061 \begin_inset Argument 1
33062 status collapsed
33063
33064 \begin_layout Plain Layout
33065
33066 \family sans
33067 \series bold
33068 \color red
33069 \SpecialChar LyX
33070 's user guide
33071 \end_layout
33072
33073 \end_inset
33074
33075 Magic code:
33076 \begin_inset Newline newline
33077 \end_inset
33078
33079
33080 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
33081 \end_inset
33082
33083
33084 \end_layout
33085
33086 \begin_layout Right Footer
33087 \begin_inset Argument 1
33088 status collapsed
33089
33090 \begin_layout Plain Layout
33091
33092 \end_layout
33093
33094 \end_inset
33095
33096
33097 \begin_inset ERT
33098 status collapsed
33099
33100 \begin_layout Plain Layout
33101
33102
33103 \backslash
33104 Roman{page}
33105 \end_layout
33106
33107 \end_inset
33108
33109
33110 \end_layout
33111
33112 \begin_layout Section
33113 Customized Page Headers and Footers
33114 \begin_inset CommandInset label
33115 LatexCommand label
33116 name "sec:Customized-Page-Headers"
33117
33118 \end_inset
33119
33120
33121 \begin_inset Index idx
33122 status collapsed
33123
33124 \begin_layout Plain Layout
33125 Document ! Header/Footer line
33126 \end_layout
33127
33128 \end_inset
33129
33130
33131 \begin_inset Index idx
33132 status collapsed
33133
33134 \begin_layout Plain Layout
33135 Header/Footer line
33136 \end_layout
33137
33138 \end_inset
33139
33140
33141 \end_layout
33142
33143 \begin_layout Standard
33144 To define a custom page header and footer line for your document, you need
33145  to set the 
33146 \family sans
33147 Page
33148 \begin_inset space ~
33149 \end_inset
33150
33151 style
33152 \family default
33153  to 
33154 \family sans
33155 Fancy
33156 \family default
33157  in the 
33158 \family sans
33159 Document\SpecialChar menuseparator
33160 Settings
33161 \family default
33162  dialog under 
33163 \family sans
33164 Page
33165 \begin_inset space ~
33166 \end_inset
33167
33168 Layout
33169 \family default
33170 .
33171  As a second step add in the menu 
33172 \family sans
33173 Document\SpecialChar menuseparator
33174 Settings\SpecialChar menuseparator
33175 Modules
33176 \family default
33177  the module 
33178 \begin_inset Quotes eld
33179 \end_inset
33180
33181
33182 \emph on
33183 Custom Header/Footerlines
33184 \emph default
33185
33186 \begin_inset Quotes erd
33187 \end_inset
33188
33189 .
33190  This module offers the following 6
33191 \begin_inset space ~
33192 \end_inset
33193
33194 environments:
33195 \end_layout
33196
33197 \begin_layout Description
33198 Left
33199 \begin_inset space ~
33200 \end_inset
33201
33202 Header,
33203 \begin_inset space ~
33204 \end_inset
33205
33206 Center
33207 \begin_inset space ~
33208 \end_inset
33209
33210 Header,
33211 \begin_inset space ~
33212 \end_inset
33213
33214 Right
33215 \begin_inset space ~
33216 \end_inset
33217
33218 Header
33219 \end_layout
33220
33221 \begin_layout Description
33222 Left
33223 \begin_inset space ~
33224 \end_inset
33225
33226 Footer,
33227 \begin_inset space ~
33228 \end_inset
33229
33230 Center
33231 \begin_inset space ~
33232 \end_inset
33233
33234 Footer,
33235 \begin_inset space ~
33236 \end_inset
33237
33238 Right
33239 \begin_inset space ~
33240 \end_inset
33241
33242 Footer
33243 \end_layout
33244
33245 \begin_layout Standard
33246 for the different positions in the header/footer.
33247  These environments can be selected in the environment pull-down box.
33248 \end_layout
33249
33250 \begin_layout Standard
33251 Normally, headers and footers are set up at the beginning of the document.
33252  But you can change them anywhere you want to.
33253  Figure
33254 \begin_inset space ~
33255 \end_inset
33256
33257
33258 \begin_inset CommandInset ref
33259 LatexCommand ref
33260 reference "fig:Page-layout"
33261
33262 \end_inset
33263
33264  shows the page layout and where the header/footer styles will appear.
33265 \end_layout
33266
33267 \begin_layout Standard
33268 \begin_inset Float figure
33269 placement h
33270 wide false
33271 sideways false
33272 status open
33273
33274 \begin_layout Plain Layout
33275 \noindent
33276 \align center
33277 \begin_inset Tabular
33278 <lyxtabular version="3" rows="5" columns="3">
33279 <features tabularvalignment="middle">
33280 <column alignment="left" valignment="top" width="30line%">
33281 <column alignment="center" valignment="top" width="30line%">
33282 <column alignment="right" valignment="top" width="30line%">
33283 <row>
33284 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
33285 \begin_inset Text
33286
33287 \begin_layout Plain Layout
33288 Left Header
33289 \end_layout
33290
33291 \end_inset
33292 </cell>
33293 <cell alignment="center" valignment="top" topline="true" usebox="none">
33294 \begin_inset Text
33295
33296 \begin_layout Plain Layout
33297 Center Header
33298 \end_layout
33299
33300 \end_inset
33301 </cell>
33302 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
33303 \begin_inset Text
33304
33305 \begin_layout Plain Layout
33306 Right Header
33307 \end_layout
33308
33309 \end_inset
33310 </cell>
33311 </row>
33312 <row>
33313 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33314 \begin_inset Text
33315
33316 \begin_layout Plain Layout
33317
33318 \end_layout
33319
33320 \end_inset
33321 </cell>
33322 <cell alignment="center" valignment="top" usebox="none">
33323 \begin_inset Text
33324
33325 \begin_layout Plain Layout
33326
33327 \end_layout
33328
33329 \end_inset
33330 </cell>
33331 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33332 \begin_inset Text
33333
33334 \begin_layout Plain Layout
33335
33336 \end_layout
33337
33338 \end_inset
33339 </cell>
33340 </row>
33341 <row>
33342 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
33343 \begin_inset Text
33344
33345 \begin_layout Plain Layout
33346 The normal text on the page goes here.
33347  The running header is above the text, and the footer is below (including
33348  footnotes).
33349  Headers/footers typically contain things like the page number, title of
33350  the chapter, company logo but you can use almost anything, except of floats.
33351 \end_layout
33352
33353 \end_inset
33354 </cell>
33355 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
33356 \begin_inset Text
33357
33358 \begin_layout Plain Layout
33359
33360 \end_layout
33361
33362 \end_inset
33363 </cell>
33364 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
33365 \begin_inset Text
33366
33367 \begin_layout Plain Layout
33368
33369 \end_layout
33370
33371 \end_inset
33372 </cell>
33373 </row>
33374 <row>
33375 <cell alignment="left" valignment="top" leftline="true" usebox="none">
33376 \begin_inset Text
33377
33378 \begin_layout Plain Layout
33379
33380 \end_layout
33381
33382 \end_inset
33383 </cell>
33384 <cell alignment="center" valignment="top" usebox="none">
33385 \begin_inset Text
33386
33387 \begin_layout Plain Layout
33388
33389 \end_layout
33390
33391 \end_inset
33392 </cell>
33393 <cell alignment="right" valignment="top" rightline="true" usebox="none">
33394 \begin_inset Text
33395
33396 \begin_layout Plain Layout
33397
33398 \end_layout
33399
33400 \end_inset
33401 </cell>
33402 </row>
33403 <row>
33404 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
33405 \begin_inset Text
33406
33407 \begin_layout Plain Layout
33408 Left Footer
33409 \end_layout
33410
33411 \end_inset
33412 </cell>
33413 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
33414 \begin_inset Text
33415
33416 \begin_layout Plain Layout
33417 Center Footer
33418 \end_layout
33419
33420 \end_inset
33421 </cell>
33422 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
33423 \begin_inset Text
33424
33425 \begin_layout Plain Layout
33426 Right Footer
33427 \end_layout
33428
33429 \end_inset
33430 </cell>
33431 </row>
33432 </lyxtabular>
33433
33434 \end_inset
33435
33436
33437 \end_layout
33438
33439 \begin_layout Plain Layout
33440 \begin_inset Caption Standard
33441
33442 \begin_layout Plain Layout
33443 \begin_inset CommandInset label
33444 LatexCommand label
33445 name "fig:Page-layout"
33446
33447 \end_inset
33448
33449 Page layout with custom header and footer line.
33450 \end_layout
33451
33452 \end_inset
33453
33454
33455 \end_layout
33456
33457 \end_inset
33458
33459
33460 \end_layout
33461
33462 \begin_layout Standard
33463 \begin_inset Note Greyedout
33464 status open
33465
33466 \begin_layout Plain Layout
33467
33468 \series bold
33469 Note
33470 \series default
33471 : some document classes implement their own customized page headers and
33472  footers if 
33473 \family sans
33474 Page
33475 \begin_inset space ~
33476 \end_inset
33477
33478 style
33479 \family default
33480  is set to “Default”.
33481  Check what these are before you specify your own customized page headers
33482  and footers.
33483 \end_layout
33484
33485 \end_inset
33486
33487
33488 \end_layout
33489
33490 \begin_layout Subsection
33491 Definition
33492 \end_layout
33493
33494 \begin_layout Standard
33495 To define your header line, add all three header environments.
33496  The things you add to each environment appear on odd numbered pages, the
33497  things in the optional arguments on even numbered pages.
33498  For single-sided documents, the optional arguments will not be used and
33499  can be omitted.
33500  If you leave a header environment or its argument empty, nothing appears
33501  in the output.
33502  Defining the footer line works similarly.
33503 \end_layout
33504
33505 \begin_layout Standard
33506 For the definition, you will need some \SpecialChar LaTeX
33507 -commands that are inserted as \SpecialChar TeX
33508  code
33509  (menu 
33510 \family sans
33511 Insert\SpecialChar menuseparator
33512 TeX
33513 \begin_inset space ~
33514 \end_inset
33515
33516 Code
33517 \family default
33518 ):
33519 \end_layout
33520
33521 \begin_layout Description
33522
33523 \backslash
33524 thepage prints the current page number
33525 \end_layout
33526
33527 \begin_layout Description
33528
33529 \backslash
33530 Roman{page} prints the current page number with capital roman numerals
33531 \end_layout
33532
33533 \begin_layout Description
33534
33535 \backslash
33536 roman{page} prints the current page number with small roman numerals
33537 \end_layout
33538
33539 \begin_layout Description
33540
33541 \backslash
33542 leftmark prints the current section number and title.
33543  If the document has chapters, it prints the current chapter number and
33544  title instead.
33545  It is called 
33546 \begin_inset Quotes eld
33547 \end_inset
33548
33549 leftmark
33550 \begin_inset Quotes prd
33551 \end_inset
33552
33553  because it usually goes in a left header.
33554 \end_layout
33555
33556 \begin_layout Description
33557
33558 \backslash
33559 rightmark prints the current subsection number and title.
33560  If the document has chapters, it prints the current section number and
33561  title instead.
33562  It is normally used in the right header.
33563 \end_layout
33564
33565 \begin_layout Subsection
33566 Default header/footer
33567 \end_layout
33568
33569 \begin_layout Standard
33570 The custom header/footer is not empty by default.
33571  The default header contains the chapter and section title and the center
33572  footer has the page number.
33573  In order to remove unwanted entries from the header/footer, include the
33574  relevant header/footer style in your document, but leave it blank.
33575  So, if you do not want a page number in the footer, include a blank 
33576 \family sans
33577 Center
33578 \begin_inset space ~
33579 \end_inset
33580
33581 Footer
33582 \family default
33583  style.
33584 \end_layout
33585
33586 \begin_layout Subsection
33587 Appearance
33588 \end_layout
33589
33590 \begin_layout Standard
33591 The header and footer will appear on normal pages.
33592  Some pages are different.
33593  The title page has a header/footer environment of its own, and so does
33594  any page that starts a new part or chapter in your book.
33595  Such pages will not have the custom headers/footers, but that is normal.
33596  There is for example no need to print a header with the chapter name on
33597  the chapter page where the chapter heading is in big bold letters anyway.
33598 \end_layout
33599
33600 \begin_layout Subsubsection
33601 Header and footer decoration line
33602 \end_layout
33603
33604 \begin_layout Standard
33605 By default, you get a 0.4
33606 \begin_inset space \thinspace{}
33607 \end_inset
33608
33609 pt thick line below the header and no footer line.
33610  This can be changed in the document preamble with the commands 
33611 \series bold
33612
33613 \backslash
33614 headrulewidth
33615 \series default
33616  and 
33617 \series bold
33618
33619 \backslash
33620 footrulewidth
33621 \series default
33622  in the following way:
33623 \end_layout
33624
33625 \begin_layout Standard
33626
33627 \series bold
33628
33629 \backslash
33630 renewcommand{
33631 \backslash
33632 headrulewidth}{thickness}
33633 \end_layout
33634
33635 \begin_layout Standard
33636 where thickness is a size in standard units like 
33637 \family sans
33638 \emph on
33639 pt
33640 \family default
33641 \emph default
33642  or 
33643 \family sans
33644 \emph on
33645 mm
33646 \family default
33647 \emph default
33648 .
33649  If you don't want a line, set the thickness to 0
33650 \begin_inset space \thinspace{}
33651 \end_inset
33652
33653 pt.
33654 \end_layout
33655
33656 \begin_layout Standard
33657 The lines can also be colored, but this requires more knowledge of \SpecialChar LaTeX
33658 .
33659  If you really need this, have a look at the Internet or in section
33660 \begin_inset space ~
33661 \end_inset
33662
33663 4.4 of the book 
33664 \begin_inset CommandInset citation
33665 LatexCommand cite
33666 key "Mittelbach"
33667 literal "true"
33668
33669 \end_inset
33670
33671 .
33672 \end_layout
33673
33674 \begin_layout Subsubsection
33675 Several header/footer lines
33676 \end_layout
33677
33678 \begin_layout Standard
33679 In case you need more than one text line as a header/footer, you can do
33680  this by adding a ragged line break in the style definition.
33681  However, the default height of the header/footer is only the height of
33682  one text line.
33683  To expand the height, redefine the \SpecialChar LaTeX
33684  length 
33685 \series bold
33686
33687 \backslash
33688 headheight
33689 \series default
33690  or 
33691 \series bold
33692
33693 \backslash
33694 footheight
33695 \series default
33696  with this entry in 
33697 \family sans
33698 Document\SpecialChar menuseparator
33699 Settings\SpecialChar menuseparator
33700 LaTeX
33701 \begin_inset space ~
33702 \end_inset
33703
33704 Preamble
33705 \family default
33706 :
33707 \end_layout
33708
33709 \begin_layout Standard
33710
33711 \series bold
33712
33713 \backslash
33714 setlength{
33715 \backslash
33716 headheight}{height}
33717 \end_layout
33718
33719 \begin_layout Standard
33720 where 
33721 \series bold
33722 height
33723 \series default
33724  is a size in standard units (e.
33725 \begin_inset space \thinspace{}
33726 \end_inset
33727
33728 g.
33729 \begin_inset space \space{}
33730 \end_inset
33731
33732
33733 \series bold
33734 1cm
33735 \series default
33736 ).
33737  If you don't know how much space is needed for the height, define your
33738  header/footer and preview your document as a PDF.
33739  Then open the \SpecialChar LaTeX
33740  logfile with the menu 
33741 \family sans
33742 Document\SpecialChar menuseparator
33743 LaTeX
33744 \begin_inset space ~
33745 \end_inset
33746
33747 Log
33748 \family default
33749  and use the button 
33750 \family sans
33751 Next
33752 \begin_inset space ~
33753 \end_inset
33754
33755 Warning
33756 \family default
33757  to see if you can find a warning about the package 
33758 \series bold
33759 fancyhdr
33760 \series default
33761
33762 \begin_inset Index idx
33763 status collapsed
33764
33765 \begin_layout Plain Layout
33766 \SpecialChar LaTeX
33767  packages ! fancyhdr
33768 \end_layout
33769
33770 \end_inset
33771
33772 .
33773  If there is such a warning, it contains the space that you need at least
33774  for your header/footer.
33775 \end_layout
33776
33777 \begin_layout Subsection
33778 This example
33779 \end_layout
33780
33781 \begin_layout Standard
33782 This example demonstrates what can be done with custom header/footers.
33783  Don't use it for your document as it is just an example.
33784  This example consists of the following definition:
33785 \end_layout
33786
33787 \begin_layout Description
33788 Left
33789 \begin_inset space ~
33790 \end_inset
33791
33792 Header 
33793 \series bold
33794
33795 \backslash
33796 rightmark
33797 \series default
33798 , empty optional argument
33799 \end_layout
33800
33801 \begin_layout Description
33802 Center
33803 \begin_inset space ~
33804 \end_inset
33805
33806 Header empty, empty optional argument
33807 \end_layout
33808
33809 \begin_layout Description
33810 Right
33811 \begin_inset space ~
33812 \end_inset
33813
33814 Header empty, 
33815 \series bold
33816
33817 \backslash
33818 leftmark
33819 \series default
33820  in the optional argument
33821 \end_layout
33822
33823 \begin_layout Description
33824 Left
33825 \begin_inset space ~
33826 \end_inset
33827
33828 Footer empty, 
33829 \series bold
33830
33831 \backslash
33832 thepage
33833 \series default
33834  in the optional argument
33835 \end_layout
33836
33837 \begin_layout Description
33838 Center
33839 \begin_inset space ~
33840 \end_inset
33841
33842 Footer 
33843 \family sans
33844 \series bold
33845 \color red
33846 \SpecialChar LyX
33847 's user guide
33848 \family default
33849 \series default
33850 \color inherit
33851
33852 \begin_inset Quotes eld
33853 \end_inset
33854
33855 Magic code:
33856 \begin_inset Newline newline
33857 \end_inset
33858
33859
33860 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
33861 \end_inset
33862
33863
33864 \begin_inset Quotes erd
33865 \end_inset
33866
33867  in the optional argument
33868 \end_layout
33869
33870 \begin_layout Description
33871 Right
33872 \begin_inset space ~
33873 \end_inset
33874
33875 Footer 
33876 \series bold
33877
33878 \backslash
33879 Roman{page}
33880 \series default
33881 , empty optional argument
33882 \end_layout
33883
33884 \begin_layout Description
33885
33886 \backslash
33887 headrulewidth set to 2
33888 \begin_inset space \thinspace{}
33889 \end_inset
33890
33891 pt
33892 \end_layout
33893
33894 \begin_layout Standard
33895 In principle you can use almost everything in headers/footers, except floats.
33896  For more specialized features, for example, thumb-indexes, see the manual
33897  of the 
33898 \series bold
33899 fancyhdr
33900 \series default
33901  package, 
33902 \begin_inset CommandInset citation
33903 LatexCommand cite
33904 key "fancyhdr"
33905 literal "true"
33906
33907 \end_inset
33908
33909 .
33910 \end_layout
33911
33912 \begin_layout Standard
33913 \begin_inset Newpage clearpage
33914 \end_inset
33915
33916
33917 \end_layout
33918
33919 \begin_layout Standard
33920 \begin_inset ERT
33921 status open
33922
33923 \begin_layout Plain Layout
33924
33925
33926 \backslash
33927 pagestyle{headings}
33928 \end_layout
33929
33930 \end_inset
33931
33932
33933 \begin_inset Note Note
33934 status collapsed
33935
33936 \begin_layout Plain Layout
33937 switches back to page style with the default headings
33938 \end_layout
33939
33940 \end_inset
33941
33942
33943 \end_layout
33944
33945 \begin_layout Section
33946 Previewing Snippets of your Document
33947 \begin_inset CommandInset label
33948 LatexCommand label
33949 name "sec:Previewing-snippets-of"
33950
33951 \end_inset
33952
33953
33954 \begin_inset Index idx
33955 status collapsed
33956
33957 \begin_layout Plain Layout
33958 Instant preview
33959 \end_layout
33960
33961 \end_inset
33962
33963
33964 \begin_inset Index idx
33965 status collapsed
33966
33967 \begin_layout Plain Layout
33968 Document ! Preview
33969 \end_layout
33970
33971 \end_inset
33972
33973
33974 \end_layout
33975
33976 \begin_layout Standard
33977 \SpecialChar LyX
33978  allows you to generate previews of sections of your document on the fly
33979  so you can see how they will look in the final document without having
33980  to break your train of thought with viewing the output.
33981 \end_layout
33982
33983 \begin_layout Subsection
33984 Prerequisites
33985 \end_layout
33986
33987 \begin_layout Standard
33988 To get previews working, you need the \SpecialChar LaTeX
33989  package 
33990 \series bold
33991 preview-latex
33992 \series default
33993
33994 \begin_inset Index idx
33995 status collapsed
33996
33997 \begin_layout Plain Layout
33998 \SpecialChar LaTeX
33999  packages ! preview-latex
34000 \end_layout
34001
34002 \end_inset
34003
34004  (on some systems named simply 
34005 \series bold
34006 preview
34007 \series default
34008 ) installed.
34009  If it is not already installed, you will find it in the \SpecialChar TeX
34010 -catalogue, 
34011 \begin_inset CommandInset citation
34012 LatexCommand cite
34013 key "TeXCatalogue"
34014 literal "true"
34015
34016 \end_inset
34017
34018  or in the package manager of your \SpecialChar LaTeX
34019 -system.
34020  You obtain prettier results if you install the program 
34021 \family typewriter
34022 pnmcrop
34023 \family default
34024  from the 
34025 \family typewriter
34026 netpbm
34027 \family default
34028  package; for \SpecialChar LyX
34029  on Windows this program and also the \SpecialChar LaTeX
34030 -package are automatically
34031  installed together with \SpecialChar LyX
34032 .
34033 \end_layout
34034
34035 \begin_layout Subsection
34036 Enabling previews
34037 \end_layout
34038
34039 \begin_layout Standard
34040 If you would for example like to see in \SpecialChar LyX
34041  your math formulas typeset by \SpecialChar LaTeX
34042 ,
34043  activate the option 
34044 \family sans
34045 Display
34046 \begin_inset space ~
34047 \end_inset
34048
34049 Graphics
34050 \family default
34051  in the 
34052 \family sans
34053 Tools\SpecialChar menuseparator
34054 Preferences 
34055 \family default
34056 dialog under 
34057 \family sans
34058 Look
34059 \begin_inset space ~
34060 \end_inset
34061
34062 and
34063 \begin_inset space ~
34064 \end_inset
34065
34066 feel\SpecialChar menuseparator
34067 Display
34068 \family default
34069 .
34070  Then set 
34071 \family sans
34072 Instant
34073 \begin_inset space ~
34074 \end_inset
34075
34076 Preview
34077 \family default
34078  to 
34079 \family sans
34080 On
34081 \family default
34082 .
34083  The 
34084 \family sans
34085 Preview
34086 \begin_inset space ~
34087 \end_inset
34088
34089 Size
34090 \family default
34091  is the multiplication factor for the size.
34092 \end_layout
34093
34094 \begin_layout Standard
34095 If you would like to see everything but your math formulas typeset by \SpecialChar LaTeX
34096 ,
34097  set 
34098 \family sans
34099 Instant
34100 \begin_inset space ~
34101 \end_inset
34102
34103 Preview
34104 \family default
34105  to 
34106 \family sans
34107 No
34108 \begin_inset space ~
34109 \end_inset
34110
34111 math
34112 \family default
34113 .
34114 \end_layout
34115
34116 \begin_layout Standard
34117 Previews are generated when you load a document into \SpecialChar LyX
34118  and when you finish
34119  editing an inset.
34120 \end_layout
34121
34122 \begin_layout Standard
34123 \begin_inset Note Greyedout
34124 status open
34125
34126 \begin_layout Plain Layout
34127
34128 \series bold
34129 Note:
34130 \series default
34131  Previews of an already loaded document are not in every case immediately
34132  generated by activating the option 
34133 \family sans
34134 Display
34135 \begin_inset space ~
34136 \end_inset
34137
34138 Graphics
34139 \family default
34140 .
34141  Reopening the document will fix such problems.
34142 \end_layout
34143
34144 \end_inset
34145
34146
34147 \end_layout
34148
34149 \begin_layout Subsection
34150 Selected document parts
34151 \end_layout
34152
34153 \begin_layout Standard
34154 Besides math there are other cases where you might like to see a preview,
34155  for example things that \SpecialChar LyX
34156  cannot render like rotated parts or things that
34157  are not yet supported by \SpecialChar LyX
34158 .
34159  To do this, insert a preview inset via the menu 
34160 \family sans
34161 Insert\SpecialChar menuseparator
34162 Preview
34163 \family default
34164 .
34165  Insert or paste the stuff that you want to preview into this inset.
34166  The preview will be generated when the cursor is outside the preview inset.
34167  If you click on the preview, you can edit the previewed stuff.
34168 \end_layout
34169
34170 \begin_layout Standard
34171 An example: To create rotated boxes, you use the \SpecialChar LaTeX
34172  command 
34173 \series bold
34174
34175 \backslash
34176 rotatebox
34177 \series default
34178  which is not yet supported by \SpecialChar LyX
34179 .
34180 \begin_inset Foot
34181 status collapsed
34182
34183 \begin_layout Plain Layout
34184
34185 \series bold
34186
34187 \backslash
34188 rotatebox
34189 \series default
34190  is explained in section 
34191 \emph on
34192 Rotated and Scaled Boxes
34193 \emph default
34194  of the 
34195 \emph on
34196 Embedded
34197 \begin_inset space ~
34198 \end_inset
34199
34200 Objects
34201 \emph default
34202  manual.
34203 \end_layout
34204
34205 \end_inset
34206
34207  Instead of the \SpecialChar TeX
34208  Code boxes you want to see in \SpecialChar LyX
34209  the final rotated boxes,
34210  for example to adjust the rotation angle to fit with the surrounding text.
34211  Therefore you create a preview inset and copy the text with the rotated
34212  boxes into it.
34213  Here is the result:
34214 \end_layout
34215
34216 \begin_layout Standard
34217 \begin_inset Preview
34218
34219 \begin_layout Standard
34220 This is a line
34221 \begin_inset ERT
34222 status collapsed
34223
34224 \begin_layout Plain Layout
34225
34226
34227 \backslash
34228 rotatebox[origin=r]{-60}{
34229 \end_layout
34230
34231 \end_inset
34232
34233
34234 \begin_inset Box Doublebox
34235 position "c"
34236 hor_pos "c"
34237 has_inner_box 0
34238 inner_pos "c"
34239 use_parbox 0
34240 use_makebox 0
34241 width "1in"
34242 special "width"
34243 height "1in"
34244 height_special "totalheight"
34245 thickness "0.4pt"
34246 separation "3pt"
34247 shadowsize "4pt"
34248 framecolor "black"
34249 backgroundcolor "none"
34250 status collapsed
34251
34252 \begin_layout Plain Layout
34253 with rotated
34254 \end_layout
34255
34256 \end_inset
34257
34258
34259 \begin_inset ERT
34260 status collapsed
34261
34262 \begin_layout Plain Layout
34263
34264 }
34265 \end_layout
34266
34267 \end_inset
34268
34269  framed text 
34270 \begin_inset ERT
34271 status collapsed
34272
34273 \begin_layout Plain Layout
34274
34275
34276 \backslash
34277 rotatebox[origin=lb]{60}{
34278 \end_layout
34279
34280 \end_inset
34281
34282
34283 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34284 \end_inset
34285
34286
34287 \begin_inset ERT
34288 status collapsed
34289
34290 \begin_layout Plain Layout
34291
34292 }
34293 \end_layout
34294
34295 \end_inset
34296
34297  and a formula.
34298 \end_layout
34299
34300 \end_inset
34301
34302
34303 \end_layout
34304
34305 \begin_layout Standard
34306 Previewing works also for colors.
34307  In this example a special framed, colored box was created using the \SpecialChar LaTeX
34308  command
34309  
34310 \series bold
34311
34312 \backslash
34313 fcolorbox
34314 \series default
34315 :
34316 \begin_inset Foot
34317 status collapsed
34318
34319 \begin_layout Plain Layout
34320
34321 \series bold
34322
34323 \backslash
34324 fcolorbox
34325 \series default
34326  is explained in section 
34327 \emph on
34328 Colored Boxes
34329 \emph default
34330  of the 
34331 \emph on
34332 Embedded
34333 \begin_inset space ~
34334 \end_inset
34335
34336 Objects
34337 \emph default
34338  manual.
34339 \end_layout
34340
34341 \end_inset
34342
34343
34344 \end_layout
34345
34346 \begin_layout Standard
34347 \begin_inset Preview
34348
34349 \begin_layout Standard
34350 \begin_inset ERT
34351 status collapsed
34352
34353 \begin_layout Plain Layout
34354
34355
34356 \backslash
34357 fboxrule 1mm 
34358 \backslash
34359 fboxsep 1mm
34360 \end_layout
34361
34362 \end_inset
34363
34364
34365 \begin_inset ERT
34366 status collapsed
34367
34368 \begin_layout Plain Layout
34369
34370
34371 \backslash
34372 fcolorbox{cyan}{magenta}{
34373 \end_layout
34374
34375 \end_inset
34376
34377 This is text within a colored, framed box.
34378 \begin_inset ERT
34379 status collapsed
34380
34381 \begin_layout Plain Layout
34382
34383 }
34384 \end_layout
34385
34386 \end_inset
34387
34388
34389 \end_layout
34390
34391 \end_inset
34392
34393
34394 \end_layout
34395
34396 \begin_layout Standard
34397 \begin_inset VSpace medskip
34398 \end_inset
34399
34400
34401 \end_layout
34402
34403 \begin_layout Standard
34404 If \SpecialChar LyX
34405  does not show a preview, make sure that you enabled previews as described
34406  above and also make sure that \SpecialChar TeX
34407  Code in the preview inset is valid and that
34408  you loaded the \SpecialChar LaTeX
34409  packages in your document preamble that are required by
34410  the \SpecialChar TeX
34411  Code.
34412  If \SpecialChar LyX
34413  cannot create a preview, you will in most cases also not be able to
34414  view your document due to \SpecialChar LaTeX
34415  errors.
34416  So if you have to use some \SpecialChar TeX
34417  Code and don't know if it is correct, the preview
34418  inset is a nice method to check it without the need to view the whole document.
34419 \end_layout
34420
34421 \begin_layout Subsection
34422 \SpecialChar LaTeX
34423  source code
34424 \end_layout
34425
34426 \begin_layout Standard
34427 You can preview the \SpecialChar LaTeX
34428  source of the whole document or parts of it.
34429  Use the menu 
34430 \family sans
34431 View\SpecialChar menuseparator
34432 Source
34433 \begin_inset space ~
34434 \end_inset
34435
34436 Pane
34437 \family default
34438  and a window will be shown where you can see the \SpecialChar LaTeX
34439 -source code.
34440  The window shows the source of the whole paragraph in which the cursor
34441  currently sits.
34442  You can also select document parts in \SpecialChar LyX
34443 's main window, then only this selection
34444  (when it is more than one paragraph) is shown as source code.
34445  To view the whole document as source, enable the corresponding option in
34446  the source view window.
34447  If you check 
34448 \family sans
34449 Automatic update
34450 \family default
34451 , you can see the changes as you make them in \SpecialChar LyX
34452 ; but note that if you have
34453  several documents open, this will slow things down as \SpecialChar LyX
34454  updates them all,
34455  not just the one which is open at the time.
34456 \end_layout
34457
34458 \begin_layout Section
34459 Advanced Find and Replace
34460 \begin_inset CommandInset label
34461 LatexCommand label
34462 name "sec:Advanced-Find-and"
34463
34464 \end_inset
34465
34466
34467 \begin_inset Index idx
34468 status collapsed
34469
34470 \begin_layout Plain Layout
34471 Replace
34472 \end_layout
34473
34474 \end_inset
34475
34476
34477 \begin_inset Index idx
34478 status collapsed
34479
34480 \begin_layout Plain Layout
34481 Find
34482 \end_layout
34483
34484 \end_inset
34485
34486
34487 \end_layout
34488
34489 \begin_layout Subsection
34490 Introduction
34491 \end_layout
34492
34493 \begin_layout Standard
34494 The advanced find and replace feature of \SpecialChar LyX
34495  allows for searching of complex,
34496  format-sensitive text segments and mathematics contents within \SpecialChar LyX
34497  documents.
34498  It is an enhancement of the standard (quick) find and replace feature.
34499  The key-features are:
34500 \end_layout
34501
34502 \begin_layout Itemize
34503 Both searching of text and of mathematical formulas is allowed, where the
34504  latter is done by entering mathematics in the usual way; not only entire
34505  mathematical formulas are found, but also parts occurring within more complex
34506  formulas
34507 \end_layout
34508
34509 \begin_layout Itemize
34510 Search may be format-insensitive, so that the searched text is found in
34511  any context/style (standard text, section headings, notes, and even mathematics
34512 ), or it may be format-sensitive, so that, for example, a word entered with
34513  a section heading will only be found within section headings
34514 \end_layout
34515
34516 \begin_layout Itemize
34517 Search may be restricted to mathematics environments only; this is useful
34518  for remangling math notation where one does not want to match any text
34519  outside of mathematics environments
34520 \end_layout
34521
34522 \begin_layout Itemize
34523 Search may be widened to a specific 
34524 \emph on
34525 scope
34526 \emph default
34527 , i.
34528 \begin_inset space \thinspace{}
34529 \end_inset
34530
34531 e.
34532 \begin_inset space ~
34533 \end_inset
34534
34535 a set of files which may be all the children of the document being edited,
34536  all the open files, or all the manuals available from the 
34537 \family sans
34538 Help
34539 \family default
34540  menu
34541 \end_layout
34542
34543 \begin_layout Itemize
34544 Replace may optionally preserve capitalization, so that the replaced text
34545  capitalization is adapted to the matching text (i.
34546 \begin_inset space \thinspace{}
34547 \end_inset
34548
34549 e.
34550 \begin_inset space ~
34551 \end_inset
34552
34553 all lowercase, all uppercase, first letter uppercase followed by lowercase)
34554 \end_layout
34555
34556 \begin_layout Subsection
34557 Basic usage
34558 \end_layout
34559
34560 \begin_layout Standard
34561 The advanced find and replace feature is activated through the menu 
34562 \family sans
34563 Edit\SpecialChar menuseparator
34564 Find & Replace
34565 \noun on
34566  (
34567 \noun default
34568 Advanced
34569 \noun on
34570 )
34571 \family default
34572 \noun default
34573  (shortcut 
34574 \begin_inset Info
34575 type  "shortcut"
34576 arg   "dialog-show findreplaceadv"
34577 \end_inset
34578
34579 ) or the toolbar button 
34580 \begin_inset Info
34581 type  "icon"
34582 arg   "dialog-toggle findreplaceadv"
34583 \end_inset
34584
34585 .
34586  This opens the 
34587 \family sans
34588 Advanced Find and Replace
34589 \family default
34590  dialog.
34591 \end_layout
34592
34593 \begin_layout Subsubsection
34594 Searching for text
34595 \end_layout
34596
34597 \begin_layout Standard
34598 Enter into the 
34599 \family sans
34600 Find
34601 \family default
34602  \SpecialChar LyX
34603  mini-editor a simple word, and search for occurrences of it by clicking
34604  on the 
34605 \family sans
34606 Find
34607 \begin_inset space ~
34608 \end_inset
34609
34610 Next
34611 \family default
34612  button at the bottom of the dialog (or just press the 
34613 \begin_inset Info
34614 type  "shortcut"
34615 arg   "paragraph-break"
34616 \end_inset
34617
34618  key).
34619  The entered word is found both in text mode and in math mode, and in emphasized
34620 , bold or normal face, and in both in section titles and in standard text.
34621  Pressing 
34622 \begin_inset Info
34623 type  "shortcut"
34624 arg   "paragraph-break"
34625 \end_inset
34626
34627  repeatedly keeps searching forward while pressing 
34628 \family sans
34629 Shift+Return
34630 \family default
34631  searches backwards.
34632 \end_layout
34633
34634 \begin_layout Standard
34635 The 
34636 \family sans
34637 Case
34638 \begin_inset space ~
34639 \end_inset
34640
34641 sensitive
34642 \family default
34643  option allows matches to occur only with the same case as entered in the
34644  
34645 \family sans
34646 Find
34647 \family default
34648  editor.
34649  The 
34650 \family sans
34651 Whole
34652 \begin_inset space ~
34653 \end_inset
34654
34655 words
34656 \family default
34657  option allows matches to occur only at word boundaries.
34658 \end_layout
34659
34660 \begin_layout Subsubsection
34661 Searching for mathematics
34662 \end_layout
34663
34664 \begin_layout Standard
34665 Mathematical formulas, such as 
34666 \begin_inset Formula $x^{2}$
34667 \end_inset
34668
34669  or something more complex like 
34670 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
34671 \end_inset
34672
34673 , may be searched for by typing them in the 
34674 \family sans
34675 Find
34676 \family default
34677  editor.
34678  When searching for a formula, it is found both when it is alone and when
34679  it occurs in sub-formulas and nested parts of sub-formulas.
34680  For example the mentioned segments would be found in something like 
34681 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
34682 \end_inset
34683
34684 .
34685 \end_layout
34686
34687 \begin_layout Subsubsection
34688 Style-aware search
34689 \end_layout
34690
34691 \begin_layout Standard
34692 It is also possible to search for text with specific styles.
34693  This is done by switching to the 
34694 \family sans
34695 Settings
34696 \family default
34697  tab of the dialog and unchecking the 
34698 \family sans
34699 Ignore format
34700 \family default
34701  option.
34702  This way, entering in the 
34703 \family sans
34704 Find
34705 \family default
34706  editor
34707 \end_layout
34708
34709 \begin_layout Itemize
34710 a normal word and searching for it would not find instances of the word
34711  occurring in emphasized or boldface.
34712 \end_layout
34713
34714 \begin_layout Itemize
34715 an emphasized or boldface word and searching for it would find the respective
34716  instances with the same face only, and within the same text style only.
34717 \end_layout
34718
34719 \begin_layout Itemize
34720 a normal word in a section heading, and searching for it, would find occurrences
34721  of it only within section headings.
34722  Also, if the text to search is given an emphasized or bold face, in addition
34723  to a section style, then it is found only when occurring with the same
34724  style.
34725 \end_layout
34726
34727 \begin_layout Itemize
34728 a displayed formula will only find instances of this formula that are also
34729  displayed formulas (and not inline formulas).
34730 \end_layout
34731
34732 \begin_layout Subsubsection
34733 Replace
34734 \end_layout
34735
34736 \begin_layout Standard
34737 The entries made in the 
34738 \family sans
34739 Find
34740 \family default
34741  editor can be replaced with entries made in the 
34742 \family sans
34743 Replace
34744 \begin_inset space ~
34745 \end_inset
34746
34747 with
34748 \family default
34749  editor.
34750  In order to find the next occurrence and replace it, click on the 
34751 \family sans
34752 Replace
34753 \family default
34754  button or alternatively press 
34755 \begin_inset Info
34756 type  "shortcut"
34757 arg   "paragraph-break"
34758 \end_inset
34759
34760  or 
34761 \family sans
34762 Shift+Return
34763 \family default
34764  while the cursor is in the 
34765 \family sans
34766 Replace
34767 \begin_inset space ~
34768 \end_inset
34769
34770 with
34771 \family default
34772  editor.
34773 \end_layout
34774
34775 \begin_layout Standard
34776 You can replace with fully-featured formatted \SpecialChar LyX
34777  entries.
34778  Typical scenarios in which to use this capability might be (just to mention
34779  two):
34780 \end_layout
34781
34782 \begin_layout Itemize
34783 replacing occurrences of a word with a customized formatted version of the
34784  same word, for example replacing occurrences of a name like 
34785 \begin_inset Quotes eld
34786 \end_inset
34787
34788 func()
34789 \begin_inset Quotes erd
34790 \end_inset
34791
34792  with its typewriter version 
34793 \begin_inset Quotes eld
34794 \end_inset
34795
34796
34797 \family typewriter
34798 func()
34799 \family default
34800
34801 \begin_inset Quotes erd
34802 \end_inset
34803
34804
34805 \end_layout
34806
34807 \begin_layout Itemize
34808 performing a notation rework of mathematical symbols, for example replacing
34809  occurrences of 
34810 \begin_inset Quotes eld
34811 \end_inset
34812
34813
34814 \begin_inset Formula $R$
34815 \end_inset
34816
34817
34818 \begin_inset Quotes erd
34819 \end_inset
34820
34821  with 
34822 \begin_inset Quotes eld
34823 \end_inset
34824
34825
34826 \begin_inset Formula $\mathbb{R}$
34827 \end_inset
34828
34829
34830 \begin_inset Quotes erd
34831 \end_inset
34832
34833  (you may want to enable the 
34834 \family sans
34835 Whole
34836 \begin_inset space ~
34837 \end_inset
34838
34839 words
34840 \family default
34841  and 
34842 \family sans
34843 Case
34844 \begin_inset space ~
34845 \end_inset
34846
34847 sensitive
34848 \family default
34849  options and disable the 
34850 \family sans
34851 Ignore format
34852 \family default
34853  option in the 
34854 \family sans
34855 Settings
34856 \family default
34857  tab, in order to avoid replacing all 
34858 \begin_inset Quotes eld
34859 \end_inset
34860
34861 R
34862 \begin_inset Quotes erd
34863 \end_inset
34864
34865  letters occurring in normal text), or occurrences of 
34866 \begin_inset Formula $x_{j}^{i}$
34867 \end_inset
34868
34869  with 
34870 \begin_inset Formula $x_{i,\,j}$
34871 \end_inset
34872
34873 , or occurrences of 
34874 \begin_inset Formula $x[k]$
34875 \end_inset
34876
34877  with 
34878 \begin_inset Formula $x_{k}$
34879 \end_inset
34880
34881 .
34882 \end_layout
34883
34884 \begin_layout Subsection
34885 Advanced usage
34886 \end_layout
34887
34888 \begin_layout Standard
34889 There is a regular expression (regexp) based searching facility.
34890 \begin_inset Foot
34891 status collapsed
34892
34893 \begin_layout Plain Layout
34894 A good explanation of regular expressions is given in this Wikipedia entry:
34895  
34896 \begin_inset CommandInset href
34897 LatexCommand href
34898 target "http://en.wikipedia.org/wiki/Regular_expression"
34899 literal "false"
34900
34901 \end_inset
34902
34903 .
34904 \end_layout
34905
34906 \end_inset
34907
34908  You can search for a regular expression by inserting a regexp inset into
34909  the 
34910 \family sans
34911 Find
34912 \family default
34913  editor.
34914  This is done with the context menu 
34915 \family sans
34916 Insert\SpecialChar menuseparator
34917 Insert Regular Expression
34918 \family default
34919  while the cursor is in the 
34920 \family sans
34921 Find
34922 \family default
34923  editor.
34924  Characters entered within regexp insets are matched according to the regular
34925  expression matching rules
34926 \begin_inset Foot
34927 status collapsed
34928
34929 \begin_layout Plain Layout
34930 Under the constraint that any (sub)expression must match a well-formed \SpecialChar LyX
34931
34932  segment, i.
34933 \begin_inset space \thinspace{}
34934 \end_inset
34935
34936 e.
34937 \begin_inset space ~
34938 \end_inset
34939
34940 when matching \SpecialChar LaTeX
34941  code, no segments with unbalanced {} braces are allowed to
34942  match expressions.
34943 \end_layout
34944
34945 \end_inset
34946
34947 , while text entered outside regexp insets is matched exactly against the
34948  same text in the document.
34949  You can cut and paste regexp-mode insets.
34950  Examples of using such a feature may be:
34951 \end_layout
34952
34953 \begin_layout Enumerate
34954 Searching for all fractions with a given denominator: for example, entering
34955  in the 
34956 \family sans
34957 Find
34958 \family default
34959  editor the fraction 
34960 \begin_inset Formula $\frac{.*}{1+x^{2}}$
34961 \end_inset
34962
34963  (where the 
34964 \begin_inset Formula $.*$
34965 \end_inset
34966
34967  on the numerator is the match-everything regular expression) finds all
34968  fractions with the given denominator.
34969 \end_layout
34970
34971 \begin_layout Enumerate
34972 Searching for all text with a given style: for example, after unchecking
34973  the 
34974 \family sans
34975 Ignore format
34976 \family default
34977  option from the 
34978 \family sans
34979 Settings
34980 \family default
34981  tab, entering a 
34982 \series bold
34983
34984 \begin_inset Formula $.*$
34985 \end_inset
34986
34987
34988 \series default
34989  regular expression and giving it an emphasized or bold face, finds all
34990  emphasized or bold face text respectively.
34991  Also, by inserting a 
34992 \begin_inset Formula $.*$
34993 \end_inset
34994
34995  regular expression in a bullet or enumerated list or a section heading,
34996  you can find all bullet or enumerated lists or section headings.
34997 \end_layout
34998
34999 \begin_layout Standard
35000 Finally, references to (sub)expressions in regexp may be used as usual:
35001  Enclosing parts of the expression within round braces 
35002 \begin_inset Formula $()$
35003 \end_inset
35004
35005 , and referring back to them through 
35006 \begin_inset Formula $\backslash1$
35007 \end_inset
35008
35009
35010 \begin_inset Formula $\backslash2$
35011 \end_inset
35012
35013 , etc..
35014  For example, try searching with the regexp
35015 \begin_inset Newline newline
35016 \end_inset
35017
35018 [[:space:]]([[:alpha:]]+)[[:space:]]
35019 \backslash
35020 1[[:space:]]
35021 \begin_inset Newline newline
35022 \end_inset
35023
35024 in order to find word repetitions, if there are any.
35025 \end_layout
35026
35027 \begin_layout Standard
35028 The usage of back references in the replaced text is not (yet) implemented.
35029 \end_layout
35030
35031 \begin_layout Standard
35032 \begin_inset Note Greyedout
35033 status open
35034
35035 \begin_layout Plain Layout
35036
35037 \series bold
35038 Note:
35039 \series default
35040  Back references work both when occurring within the same regexp, and when
35041  occurring in multiple different regexps, where the numbering of back-referenced
35042  sub-expressions is absolute.
35043  That is,
35044 \begin_inset space ~
35045 \end_inset
35046
35047
35048 \begin_inset Formula $\backslash1$
35049 \end_inset
35050
35051  always refers to the first occurrence of 
35052 \begin_inset Formula $()$
35053 \end_inset
35054
35055  in all entered regexps.
35056 \end_layout
35057
35058 \end_inset
35059
35060
35061 \end_layout
35062
35063 \begin_layout Section
35064 Spell Checking
35065 \begin_inset CommandInset label
35066 LatexCommand label
35067 name "sec:Spellchecking"
35068
35069 \end_inset
35070
35071
35072 \begin_inset Index idx
35073 status collapsed
35074
35075 \begin_layout Plain Layout
35076 Spell checking
35077 \end_layout
35078
35079 \end_inset
35080
35081
35082 \end_layout
35083
35084 \begin_layout Standard
35085 \SpecialChar LyX
35086  has a built-in spell checker.
35087  The menu
35088 \family sans
35089  Tools\SpecialChar menuseparator
35090 Spellchecker
35091 \family default
35092 , the 
35093 \family sans
35094 F7
35095 \family default
35096  key or the toolbar button 
35097 \begin_inset Info
35098 type  "icon"
35099 arg   "dialog-show spellchecker"
35100 \end_inset
35101
35102  start the spell checking from either the current cursor position or the
35103  beginning of the currently selected text.
35104  A sidebar will appear showing any incorrect (or unknown) word found, allowing
35105  you to edit and replace it in a second line.
35106  Whenever an unknown word is found, the word is highlighted and the text
35107  scrolled so that it is visible.
35108  In the spellchecker sidebar, there is a box showing suggestions for a correctio
35109 n, if any could be found.
35110  Clicking on one of the corrections will copy it to the 
35111 \family sans
35112 Replacement
35113 \family default
35114  field, double-clicking directly invokes the replacement.
35115  Unknown but correctly typed words can be added to the personal dictionary.
35116 \end_layout
35117
35118 \begin_layout Standard
35119 By default, the dictionary file used is determined by the document language
35120  that is set in the 
35121 \family sans
35122 Document\SpecialChar menuseparator
35123 Settings
35124 \family default
35125  dialog.
35126  You can specify the language of a word in the spellchecker dialog by choosing
35127  a different one at the top of the dialog.
35128  \SpecialChar LyX
35129  can correctly spell check documents containing multiple languages.
35130  This works if you have set the language of the text parts using the 
35131 \family sans
35132 Text
35133 \begin_inset space ~
35134 \end_inset
35135
35136 Style
35137 \family default
35138  dialog (
35139 \begin_inset Info
35140 type  "icon"
35141 arg   "dialog-show character"
35142 \end_inset
35143
35144 ) and have the spell checker dictionaries installed.
35145  \SpecialChar LyX
35146  automatically switches to the appropriate dictionary file.
35147 \end_layout
35148
35149 \begin_layout Standard
35150 All spell-checker dictionaries supported by \SpecialChar LyX
35151  can be downloaded from here:
35152 \begin_inset Newline newline
35153 \end_inset
35154
35155
35156 \begin_inset Flex URL
35157 status collapsed
35158
35159 \begin_layout Plain Layout
35160
35161 http://sourceforge.net/projects/lyxwininstaller/files/hunspell/
35162 \end_layout
35163
35164 \end_inset
35165
35166
35167 \begin_inset Newline newline
35168 \end_inset
35169
35170 There are 2
35171 \begin_inset space ~
35172 \end_inset
35173
35174 files for each language.
35175  To install a dictionary on Windows, copy the 2
35176 \begin_inset space ~
35177 \end_inset
35178
35179 files into \SpecialChar LyX
35180 's installation subfolder 
35181 \family sans
35182 ~
35183 \backslash
35184 Resources
35185 \backslash
35186 dicts
35187 \family default
35188  and restart \SpecialChar LyX
35189 .
35190 \begin_inset Newline newline
35191 \end_inset
35192
35193 With Linux one needs to install the packages for the desired language.
35194  The number of these packages vary depending on the Linux distribution,
35195  but in most cases these are 
35196 \family typewriter
35197 aspell-xx
35198 \family default
35199
35200 \family typewriter
35201 hunspell-xx
35202 \family default
35203 ,
35204 \family typewriter
35205  myspell-xx
35206 \family default
35207 , etc., where 
35208 \family sans
35209 xx
35210 \family default
35211  is the language code.
35212 \end_layout
35213
35214 \begin_layout Subsection
35215 Further Settings
35216 \end_layout
35217
35218 \begin_layout Standard
35219 In the menu 
35220 \family sans
35221 Tools\SpecialChar menuseparator
35222 Preferences\SpecialChar menuseparator
35223 Language
35224 \begin_inset space ~
35225 \end_inset
35226
35227 Settings\SpecialChar menuseparator
35228 Spellchecker
35229 \family default
35230  you can set the following things:
35231 \end_layout
35232
35233 \begin_layout Description
35234 Spellchecker
35235 \begin_inset space ~
35236 \end_inset
35237
35238 engine Select the library \SpecialChar LyX
35239  should use for spell checking.
35240  Depending on your platform, 
35241 \family typewriter
35242 aspell
35243 \family default
35244
35245 \family typewriter
35246 hunspell
35247 \family default
35248  or 
35249 \family typewriter
35250 enchant
35251 \begin_inset Foot
35252 status collapsed
35253
35254 \begin_layout Plain Layout
35255 Enchant itself is a wrapper library having different configurable back-ends.
35256  Please consult the documentation or man-page of it to learn more.
35257 \end_layout
35258
35259 \end_inset
35260
35261
35262 \family default
35263  are available.
35264  On Windows only 
35265 \family typewriter
35266 hunspell
35267 \family default
35268  is available.
35269  \SpecialChar LyX
35270  on Mac
35271 \begin_inset space ~
35272 \end_inset
35273
35274 OS can also use Mac's own spellchecker and will use it by default.
35275 \end_layout
35276
35277 \begin_layout Description
35278 Alternative
35279 \begin_inset space ~
35280 \end_inset
35281
35282 language If this field is not empty, \SpecialChar LyX
35283  will always use the given language
35284  for the spell checking, no matter what the document language is.
35285 \end_layout
35286
35287 \begin_layout Description
35288 Escape
35289 \begin_inset space ~
35290 \end_inset
35291
35292 characters Allows you to add non-standard characters that the spell checker
35293  should escape, e.
35294 \begin_inset space \thinspace{}
35295 \end_inset
35296
35297 g.
35298 \begin_inset space \space{}
35299 \end_inset
35300
35301 German umlauts.
35302  This should normally not be needed.
35303 \end_layout
35304
35305 \begin_layout Description
35306 Accept
35307 \begin_inset space ~
35308 \end_inset
35309
35310 compound
35311 \begin_inset space ~
35312 \end_inset
35313
35314 words Prevents the spell checker from complaining about compounded words
35315  like 
35316 \begin_inset Quotes eld
35317 \end_inset
35318
35319 passthrough
35320 \begin_inset Quotes erd
35321 \end_inset
35322
35323 .
35324 \end_layout
35325
35326 \begin_layout Description
35327 Spellcheck
35328 \begin_inset space ~
35329 \end_inset
35330
35331 continuously Checks the spelling of your document as you type it.
35332  Misspelled words get underlined with a dotted red line.
35333  By right-clicking on an underlined word, suggestions from the spellchecker
35334  appear in a context menu.
35335  Choosing one of them will replace the misspelled word with the suggested
35336  word.
35337 \end_layout
35338
35339 \begin_layout Description
35340 Spellcheck
35341 \begin_inset space ~
35342 \end_inset
35343
35344 notes
35345 \begin_inset space ~
35346 \end_inset
35347
35348 and
35349 \begin_inset space ~
35350 \end_inset
35351
35352 comments If enabled, the spelling of non-printed document content is checked
35353  as well.
35354 \end_layout
35355
35356 \begin_layout Section
35357 Thesaurus
35358 \begin_inset Index idx
35359 status collapsed
35360
35361 \begin_layout Plain Layout
35362 Thesaurus
35363 \end_layout
35364
35365 \end_inset
35366
35367
35368 \begin_inset CommandInset label
35369 LatexCommand label
35370 name "sec:Thesaurus"
35371
35372 \end_inset
35373
35374
35375 \end_layout
35376
35377 \begin_layout Standard
35378 \SpecialChar LyX
35379  provides a multilingual thesaurus.
35380  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
35381  (namely the 
35382 \family sans
35383 MyThes
35384 \family default
35385
35386 \begin_inset Foot
35387 status collapsed
35388
35389 \begin_layout Plain Layout
35390 \begin_inset CommandInset href
35391 LatexCommand href
35392 target "http://lingucomponent.openoffice.org/thesaurus.html"
35393 literal "false"
35394
35395 \end_inset
35396
35397
35398 \end_layout
35399
35400 \end_inset
35401
35402  thesaurus library, which is included in \SpecialChar LyX
35403 ).
35404  Therefore, \SpecialChar LyX
35405  is able to directly access OpenOffice thesaurus dictionaries,
35406  which are available for many languages.
35407 \end_layout
35408
35409 \begin_layout Standard
35410 This section describes how new dictionaries are installed and set up for
35411  the use with \SpecialChar LyX
35412 .
35413 \end_layout
35414
35415 \begin_layout Subsection
35416 Setting up the thesaurus
35417 \end_layout
35418
35419 \begin_layout Standard
35420 The 
35421 \family sans
35422 MyThes
35423 \emph on
35424 /
35425 \emph default
35426 OpenOffice
35427 \family default
35428  thesauri consist of two files per language: A file with the suffix 
35429 \emph on
35430 *.dat
35431 \emph default
35432  containing the data and an index file with the suffix 
35433 \emph on
35434 *.idx
35435 \emph default
35436 .
35437  The standardized file names include the language code for the given language
35438  (e.
35439 \begin_inset space \thinspace{}
35440 \end_inset
35441
35442 g.
35443 \begin_inset space ~
35444 \end_inset
35445
35446
35447 \family sans
35448 en_US
35449 \family default
35450  for US English).
35451  For instance, the US English files are named:
35452 \end_layout
35453
35454 \begin_layout Itemize
35455 th_en_EN_v2.idx
35456 \end_layout
35457
35458 \begin_layout Itemize
35459 th_en_EN_v2.dat
35460 \end_layout
35461
35462 \begin_layout Standard
35463 If you have 
35464 \family sans
35465 LibreOffice
35466 \family default
35467  or 
35468 \family sans
35469 OpenOffice
35470 \family default
35471  and its thesaurus installed, these files should be already on your system
35472  and you just need to point \SpecialChar LyX
35473  (in 
35474 \family sans
35475 Tools\SpecialChar menuseparator
35476 Preferences\SpecialChar menuseparator
35477 Paths\SpecialChar menuseparator
35478 Thesaurus
35479 \begin_inset space ~
35480 \end_inset
35481
35482 dictionaries
35483 \family default
35484 ) to the path where they are installed.
35485 \begin_inset Foot
35486 status collapsed
35487
35488 \begin_layout Plain Layout
35489 On Linux, depending on your distribution and the way you installed the dictionar
35490 ies, typical locations are 
35491 \family typewriter
35492 /usr/share/mythes/
35493 \family default
35494
35495 \family typewriter
35496 /usr/share/myspell/dicts/
35497 \family default
35498
35499 \family typewriter
35500 /usr/share/ooo/thesaurus/
35501 \family default
35502 ,
35503 \family typewriter
35504  ~/.config/libreoffice/<version>/user/
35505 \family default
35506  or alike.
35507  On Windows, dictionaries are to be found at 
35508 \family typewriter
35509 ~
35510 \backslash
35511 Program Files
35512 \backslash
35513 LibreOffice-<Version>
35514 \backslash
35515 share
35516 \backslash
35517 extensions 
35518 \family default
35519 or similar.
35520  On the Mac, the default location is 
35521 \family typewriter
35522 /Users\SpecialChar breakableslash
35523 <user name>\SpecialChar breakableslash
35524 Library\SpecialChar breakableslash
35525 Application Support\SpecialChar breakableslash
35526 libreoffice\SpecialChar breakableslash
35527 <version>\SpecialChar breakableslash
35528 user
35529 \family default
35530 /.
35531 \end_layout
35532
35533 \end_inset
35534
35535  On Windows, you can alternatively also select dictionaries for installation
35536  during the \SpecialChar LyX
35537  installation process, which will then be installed in the correct
35538  place right away.
35539 \end_layout
35540
35541 \begin_layout Standard
35542 If you want to install new\SpecialChar breakableslash
35543 further thesaurus dictionaries, you can downloaded
35544  them from here:
35545 \end_layout
35546
35547 \begin_layout Itemize
35548 \begin_inset Flex URL
35549 status open
35550
35551 \begin_layout Plain Layout
35552
35553 http://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk/thes/
35554 \end_layout
35555
35556 \end_inset
35557
35558
35559 \end_layout
35560
35561 \begin_layout Standard
35562 To install a new dictionary, download the two files for this dictionary
35563  into the thesaurus path (which is set in 
35564 \family sans
35565 Tools\SpecialChar menuseparator
35566 Preferences\SpecialChar menuseparator
35567 Paths\SpecialChar menuseparator
35568 Thesaurus
35569 \begin_inset space ~
35570 \end_inset
35571
35572 dictionaries
35573 \family default
35574 ) and restart \SpecialChar LyX
35575 .
35576  If this path is not defined yet, you can use a dictionary of your choice
35577  and point \SpecialChar LyX
35578  there.
35579 \end_layout
35580
35581 \begin_layout Standard
35582 Alternatively, you can also install new dictionaries via 
35583 \family sans
35584 LibreOffice\SpecialChar breakableslash
35585 OpenOffice
35586 \family default
35587  or, on Linux, via your package manager (look for 
35588 \emph on
35589 mythes-*
35590 \emph default
35591  or 
35592 \emph on
35593 libreoffice-thesaurus-*
35594 \emph default
35595  packages).
35596  If you do this, make sure that \SpecialChar LyX
35597  is able to find the installed dictionaries,
35598  i.
35599 \begin_inset space \thinspace{}
35600 \end_inset
35601
35602 e.
35603  that 
35604 \family sans
35605 Tools\SpecialChar menuseparator
35606 Preferences\SpecialChar menuseparator
35607 Paths\SpecialChar menuseparator
35608 Thesaurus
35609 \begin_inset space ~
35610 \end_inset
35611
35612 dictionaries
35613 \family default
35614  points to the path where you installed these dictionaries.
35615 \end_layout
35616
35617 \begin_layout Subsection
35618 Using the thesaurus
35619 \end_layout
35620
35621 \begin_layout Standard
35622 To start the thesaurus, use the menu 
35623 \family sans
35624 Tools\SpecialChar menuseparator
35625 Thesaurus
35626 \family default
35627  or the toolbar button 
35628 \begin_inset Info
35629 type  "icon"
35630 arg   "thesaurus-entry"
35631 \end_inset
35632
35633  while the cursor is at the word you want to look up or while a word is
35634  selected.
35635  A dialog pops up showing you probably related words that you can use as
35636  a replacement.
35637  The suggestions are grouped into categories.
35638  Note that, for some languages (such as English), the thesaurus does not
35639  only show equivalent words (synonyms), but also generic terms (such as
35640  
35641 \emph on
35642 organism
35643 \emph default
35644  for 
35645 \emph on
35646 plant
35647 \emph default
35648 ), related terms (such as 
35649 \emph on
35650 political
35651 \begin_inset space ~
35652 \end_inset
35653
35654 theory
35655 \emph default
35656  for 
35657 \emph on
35658 anarchistic
35659 \emph default
35660 ), compounds (such as 
35661 \emph on
35662 tree
35663 \begin_inset space ~
35664 \end_inset
35665
35666 diagram
35667 \emph default
35668 , if you look for 
35669 \emph on
35670 tree
35671 \emph default
35672 ) and opposites (antonyms) (such as 
35673 \emph on
35674 girl
35675 \emph default
35676  for 
35677 \emph on
35678 boy
35679 \emph default
35680 ).
35681  Generic terms, related terms and antonyms are marked as such.
35682 \end_layout
35683
35684 \begin_layout Standard
35685 The language is automatically chosen from the language at the cursor, but
35686  you can also switch it in the dialog, as you can enter new words to look
35687  up directly there.
35688 \end_layout
35689
35690 \begin_layout Standard
35691 Note that the thesaurus cannot handle phrases (only compounds that are in
35692  the dictionary, such as the above 
35693 \emph on
35694 tree diagram
35695 \emph default
35696 ), and you have to use the so called lemma form, i.
35697 \begin_inset space \thinspace{}
35698 \end_inset
35699
35700 e.
35701 \begin_inset space \space{}
35702 \end_inset
35703
35704 the form that is used in the dictionaries (for many languages: first person
35705  singular indicative active for nouns, infinitive for verbs).
35706  For example, looking up the word form 
35707 \emph on
35708 reporting
35709 \emph default
35710  yields no results, while results are shown for the word form 
35711 \emph on
35712 report
35713 \emph default
35714 .
35715  Your best bet is to highlight only the relevant part of such a word (e.
35716 \begin_inset space \thinspace{}
35717 \end_inset
35718
35719 g.
35720 \begin_inset space \space{}
35721 \end_inset
35722
35723
35724 \emph on
35725 report
35726 \emph default
35727  in 
35728 \emph on
35729 report
35730 \emph default
35731 s); then you will get suggestions without needing to adjust the query in
35732  the dialog, and also the replacement will probably be correct (as only
35733  the highlighted part will be replaced; thus the ending remains).
35734 \end_layout
35735
35736 \begin_layout Section
35737 Change Tracking
35738 \begin_inset Index idx
35739 status collapsed
35740
35741 \begin_layout Plain Layout
35742 Change Tracking
35743 \end_layout
35744
35745 \end_inset
35746
35747
35748 \begin_inset Index idx
35749 status collapsed
35750
35751 \begin_layout Plain Layout
35752 Document ! Change Tracking
35753 \end_layout
35754
35755 \end_inset
35756
35757
35758 \begin_inset CommandInset label
35759 LatexCommand label
35760 name "sec:Change-Tracking"
35761
35762 \end_inset
35763
35764
35765 \end_layout
35766
35767 \begin_layout Standard
35768 When you work on a document collaboratively it is extremely useful to be
35769  able to see changes that others have made highlighted in the document.
35770  You can then decide if you want to accept a change or not.
35771  This can be achieved by turning on change tracking in the menu 
35772 \family sans
35773 Document\SpecialChar menuseparator
35774 Change
35775 \begin_inset space ~
35776 \end_inset
35777
35778 Tracking\SpecialChar menuseparator
35779 Track
35780 \begin_inset space ~
35781 \end_inset
35782
35783 Changes
35784 \family default
35785 .
35786 \end_layout
35787
35788 \begin_layout Standard
35789 Changes made in the document will then be highlighted by strokes and colors:
35790  
35791 \bar under
35792 \color blue
35793 underlined text
35794 \bar default
35795 \color inherit
35796  is an addition, 
35797 \strikeout on
35798 \color blue
35799 canceled text
35800 \strikeout default
35801 \color inherit
35802  is a deletion.
35803  The color depends on the author that made the change.
35804  You can change the color in 
35805 \family sans
35806 Tools\SpecialChar menuseparator
35807 Preferences\SpecialChar menuseparator
35808 Look
35809 \begin_inset space ~
35810 \end_inset
35811
35812 &
35813 \begin_inset space ~
35814 \end_inset
35815
35816 feel
35817 \family default
35818 \SpecialChar menuseparator
35819
35820 \family sans
35821 Colors
35822 \family default
35823 .
35824 \begin_inset Index idx
35825 status collapsed
35826
35827 \begin_layout Plain Layout
35828 Color ! Change tracking
35829 \end_layout
35830
35831 \end_inset
35832
35833  The author and the date of the change are shown in \SpecialChar LyX
35834 's status bar when the
35835  cursor is in changed text.
35836  The same information is shown when you use the toolbar button 
35837 \begin_inset Info
35838 type  "icon"
35839 arg   "changes-merge"
35840 \end_inset
35841
35842 .
35843 \end_layout
35844
35845 \begin_layout Standard
35846 When change tracking is activated, you will see the review toolbar in \SpecialChar LyX
35847 :
35848 \begin_inset Index idx
35849 status collapsed
35850
35851 \begin_layout Plain Layout
35852 Toolbar ! Review
35853 \end_layout
35854
35855 \end_inset
35856
35857
35858 \end_layout
35859
35860 \begin_layout Standard
35861 \begin_inset VSpace defskip
35862 \end_inset
35863
35864
35865 \end_layout
35866
35867 \begin_layout Standard
35868 \begin_inset Graphics
35869         filename clipart/ChangesToolbar.png
35870         scale 90
35871
35872 \end_inset
35873
35874
35875 \end_layout
35876
35877 \begin_layout Standard
35878 \begin_inset VSpace defskip
35879 \end_inset
35880
35881
35882 \end_layout
35883
35884 \begin_layout Standard
35885 The review toolbar as shown above contains the following buttons:
35886 \end_layout
35887
35888 \begin_layout Standard
35889 \begin_inset VSpace defskip
35890 \end_inset
35891
35892
35893 \end_layout
35894
35895 \begin_layout Standard
35896 \begin_inset Tabular
35897 <lyxtabular version="3" rows="10" columns="2">
35898 <features islongtable="true" longtabularalignment="center">
35899 <column alignment="left" valignment="top">
35900 <column alignment="left" valignment="top">
35901 <row interlinespace="2.5mm">
35902 <cell alignment="center" valignment="top" usebox="none">
35903 \begin_inset Text
35904
35905 \begin_layout Plain Layout
35906
35907 \family sans
35908 \begin_inset Info
35909 type  "icon"
35910 arg   "changes-track"
35911 \end_inset
35912
35913
35914 \end_layout
35915
35916 \end_inset
35917 </cell>
35918 <cell alignment="center" valignment="top" usebox="none">
35919 \begin_inset Text
35920
35921 \begin_layout Plain Layout
35922
35923 \family sans
35924 Document\SpecialChar menuseparator
35925 Change
35926 \begin_inset space ~
35927 \end_inset
35928
35929 Tracking\SpecialChar menuseparator
35930 Track
35931 \begin_inset space ~
35932 \end_inset
35933
35934 Changes
35935 \end_layout
35936
35937 \end_inset
35938 </cell>
35939 </row>
35940 <row interlinespace="2.5mm">
35941 <cell alignment="center" valignment="top" usebox="none">
35942 \begin_inset Text
35943
35944 \begin_layout Plain Layout
35945
35946 \family sans
35947 \begin_inset Info
35948 type  "icon"
35949 arg   "changes-output"
35950 \end_inset
35951
35952
35953 \end_layout
35954
35955 \end_inset
35956 </cell>
35957 <cell alignment="center" valignment="top" usebox="none">
35958 \begin_inset Text
35959
35960 \begin_layout Plain Layout
35961
35962 \family sans
35963 Document\SpecialChar menuseparator
35964 Change
35965 \begin_inset space ~
35966 \end_inset
35967
35968 Tracking\SpecialChar menuseparator
35969 Show
35970 \begin_inset space ~
35971 \end_inset
35972
35973 Changes
35974 \begin_inset space ~
35975 \end_inset
35976
35977 in
35978 \begin_inset space ~
35979 \end_inset
35980
35981 Output
35982 \end_layout
35983
35984 \end_inset
35985 </cell>
35986 </row>
35987 <row interlinespace="2.5mm">
35988 <cell alignment="center" valignment="top" usebox="none">
35989 \begin_inset Text
35990
35991 \begin_layout Plain Layout
35992
35993 \family sans
35994 \begin_inset Info
35995 type  "icon"
35996 arg   "change-next"
35997 \end_inset
35998
35999
36000 \end_layout
36001
36002 \end_inset
36003 </cell>
36004 <cell alignment="center" valignment="top" usebox="none">
36005 \begin_inset Text
36006
36007 \begin_layout Plain Layout
36008 Jumps to the next change
36009 \end_layout
36010
36011 \end_inset
36012 </cell>
36013 </row>
36014 <row interlinespace="2.5mm">
36015 <cell alignment="center" valignment="top" usebox="none">
36016 \begin_inset Text
36017
36018 \begin_layout Plain Layout
36019
36020 \family sans
36021 \begin_inset Info
36022 type  "icon"
36023 arg   "change-accept"
36024 \end_inset
36025
36026
36027 \end_layout
36028
36029 \end_inset
36030 </cell>
36031 <cell alignment="center" valignment="top" usebox="none">
36032 \begin_inset Text
36033
36034 \begin_layout Plain Layout
36035
36036 \family sans
36037 Document\SpecialChar menuseparator
36038 Change
36039 \begin_inset space ~
36040 \end_inset
36041
36042 Tracking\SpecialChar menuseparator
36043 Accept
36044 \begin_inset space ~
36045 \end_inset
36046
36047 Change
36048 \end_layout
36049
36050 \end_inset
36051 </cell>
36052 </row>
36053 <row interlinespace="2.5mm">
36054 <cell alignment="center" valignment="top" usebox="none">
36055 \begin_inset Text
36056
36057 \begin_layout Plain Layout
36058
36059 \family sans
36060 \begin_inset Info
36061 type  "icon"
36062 arg   "change-reject"
36063 \end_inset
36064
36065
36066 \end_layout
36067
36068 \end_inset
36069 </cell>
36070 <cell alignment="center" valignment="top" usebox="none">
36071 \begin_inset Text
36072
36073 \begin_layout Plain Layout
36074
36075 \family sans
36076 Document\SpecialChar menuseparator
36077 Change
36078 \begin_inset space ~
36079 \end_inset
36080
36081 Tracking\SpecialChar menuseparator
36082 Reject
36083 \begin_inset space ~
36084 \end_inset
36085
36086 Change
36087 \end_layout
36088
36089 \end_inset
36090 </cell>
36091 </row>
36092 <row interlinespace="2.5mm">
36093 <cell alignment="center" valignment="top" usebox="none">
36094 \begin_inset Text
36095
36096 \begin_layout Plain Layout
36097
36098 \family sans
36099 \begin_inset Info
36100 type  "icon"
36101 arg   "changes-merge"
36102 \end_inset
36103
36104
36105 \end_layout
36106
36107 \end_inset
36108 </cell>
36109 <cell alignment="center" valignment="top" usebox="none">
36110 \begin_inset Text
36111
36112 \begin_layout Plain Layout
36113
36114 \family sans
36115 Document\SpecialChar menuseparator
36116 Change
36117 \begin_inset space ~
36118 \end_inset
36119
36120 Tracking\SpecialChar menuseparator
36121 Merge
36122 \begin_inset space ~
36123 \end_inset
36124
36125 Changes
36126 \end_layout
36127
36128 \end_inset
36129 </cell>
36130 </row>
36131 <row interlinespace="2.5mm">
36132 <cell alignment="center" valignment="top" usebox="none">
36133 \begin_inset Text
36134
36135 \begin_layout Plain Layout
36136
36137 \family sans
36138 \begin_inset Info
36139 type  "icon"
36140 arg   "all-changes-accept"
36141 \end_inset
36142
36143
36144 \end_layout
36145
36146 \end_inset
36147 </cell>
36148 <cell alignment="center" valignment="top" usebox="none">
36149 \begin_inset Text
36150
36151 \begin_layout Plain Layout
36152
36153 \family sans
36154 Document\SpecialChar menuseparator
36155 Change
36156 \begin_inset space ~
36157 \end_inset
36158
36159 Tracking\SpecialChar menuseparator
36160 Accept
36161 \begin_inset space ~
36162 \end_inset
36163
36164 All
36165 \begin_inset space ~
36166 \end_inset
36167
36168 Changes
36169 \end_layout
36170
36171 \end_inset
36172 </cell>
36173 </row>
36174 <row interlinespace="2.5mm">
36175 <cell alignment="center" valignment="top" usebox="none">
36176 \begin_inset Text
36177
36178 \begin_layout Plain Layout
36179
36180 \family sans
36181 \begin_inset Info
36182 type  "icon"
36183 arg   "all-changes-reject"
36184 \end_inset
36185
36186
36187 \end_layout
36188
36189 \end_inset
36190 </cell>
36191 <cell alignment="center" valignment="top" usebox="none">
36192 \begin_inset Text
36193
36194 \begin_layout Plain Layout
36195
36196 \family sans
36197 Document\SpecialChar menuseparator
36198 Change
36199 \begin_inset space ~
36200 \end_inset
36201
36202 Tracking\SpecialChar menuseparator
36203 Reject
36204 \begin_inset space ~
36205 \end_inset
36206
36207 All
36208 \begin_inset space ~
36209 \end_inset
36210
36211 Changes
36212 \end_layout
36213
36214 \end_inset
36215 </cell>
36216 </row>
36217 <row interlinespace="2.5mm">
36218 <cell alignment="center" valignment="top" usebox="none">
36219 \begin_inset Text
36220
36221 \begin_layout Plain Layout
36222
36223 \family sans
36224 \begin_inset Info
36225 type  "icon"
36226 arg   "note-insert"
36227 \end_inset
36228
36229
36230 \end_layout
36231
36232 \end_inset
36233 </cell>
36234 <cell alignment="center" valignment="top" usebox="none">
36235 \begin_inset Text
36236
36237 \begin_layout Plain Layout
36238
36239 \family sans
36240 Insert\SpecialChar menuseparator
36241 Note\SpecialChar menuseparator
36242 LyX
36243 \begin_inset space ~
36244 \end_inset
36245
36246 Note
36247 \end_layout
36248
36249 \end_inset
36250 </cell>
36251 </row>
36252 <row interlinespace="2.5mm">
36253 <cell alignment="center" valignment="top" usebox="none">
36254 \begin_inset Text
36255
36256 \begin_layout Plain Layout
36257
36258 \family sans
36259 \begin_inset Info
36260 type  "icon"
36261 arg   "note-next"
36262 \end_inset
36263
36264
36265 \end_layout
36266
36267 \end_inset
36268 </cell>
36269 <cell alignment="center" valignment="top" usebox="none">
36270 \begin_inset Text
36271
36272 \begin_layout Plain Layout
36273
36274 \family sans
36275 Navigate\SpecialChar menuseparator
36276 Next
36277 \begin_inset space ~
36278 \end_inset
36279
36280 Note
36281 \end_layout
36282
36283 \end_inset
36284 </cell>
36285 </row>
36286 </lyxtabular>
36287
36288 \end_inset
36289
36290
36291 \end_layout
36292
36293 \begin_layout Standard
36294 \begin_inset VSpace defskip
36295 \end_inset
36296
36297
36298 \end_layout
36299
36300 \begin_layout Standard
36301 Not all changes are (yet) visualized, especially no format changes like
36302  from 
36303 \emph on
36304 normal
36305 \emph default
36306  to 
36307 \emph on
36308 bold
36309 \emph default
36310  font or 
36311 \emph on
36312 Standard
36313 \emph default
36314  to 
36315 \emph on
36316 Description
36317 \emph default
36318  paragraph.
36319 \end_layout
36320
36321 \begin_layout Standard
36322 The review toolbar helps you to accept, reject, or merge changes – highlight
36323  the change and press one of the desired toolbar buttons.
36324  When you merge changes, a window pops up showing you information about
36325  the next change after the current cursor position.
36326  So you don't need to highlight a certain change.
36327  Within the merge window you can decide to accept or reject changes and
36328  step to the next change.
36329  This way you can jump through all the changes in the document.
36330 \end_layout
36331
36332 \begin_layout Standard
36333 The toolbar has two buttons to handle notes because notes are often important
36334  to describe a change.
36335 \end_layout
36336
36337 \begin_layout Standard
36338 To show the changes made in the output you need the \SpecialChar LaTeX
36339  package 
36340 \series bold
36341 dvipost
36342 \series default
36343
36344 \begin_inset Index idx
36345 status collapsed
36346
36347 \begin_layout Plain Layout
36348 \SpecialChar LaTeX
36349  packages ! dvipost
36350 \end_layout
36351
36352 \end_inset
36353
36354  installed.
36355  You will find it in the \SpecialChar TeX
36356  Catalogue, 
36357 \begin_inset CommandInset citation
36358 LatexCommand cite
36359 key "TeXCatalogue"
36360 literal "true"
36361
36362 \end_inset
36363
36364  or in the package manager of your \SpecialChar LaTeX
36365 -system.
36366 \end_layout
36367
36368 \begin_layout Section
36369 Comparison of Documents
36370 \begin_inset CommandInset label
36371 LatexCommand label
36372 name "sec:Comparison-of-Documents"
36373
36374 \end_inset
36375
36376
36377 \begin_inset Index idx
36378 status collapsed
36379
36380 \begin_layout Plain Layout
36381 Comparison of documents
36382 \end_layout
36383
36384 \end_inset
36385
36386
36387 \end_layout
36388
36389 \begin_layout Standard
36390 You can compare two different \SpecialChar LyX
36391  files via the menu 
36392 \family sans
36393 Tools\SpecialChar menuseparator
36394 Compare
36395 \family default
36396 .
36397  The comparison result is a \SpecialChar LyX
36398  file with change tracking enabled showing the
36399  differences.
36400  In the comparison dialog you can select from which document \SpecialChar LyX
36401  should take
36402  the document settings for the resulting difference file with the option
36403  
36404 \family sans
36405 Copy
36406 \begin_inset space ~
36407 \end_inset
36408
36409 Document
36410 \begin_inset space ~
36411 \end_inset
36412
36413 Settings
36414 \begin_inset space ~
36415 \end_inset
36416
36417 from
36418 \family default
36419 .
36420  The option 
36421 \family sans
36422 Enable
36423 \begin_inset space ~
36424 \end_inset
36425
36426 change
36427 \begin_inset space ~
36428 \end_inset
36429
36430 tracking
36431 \begin_inset space ~
36432 \end_inset
36433
36434 features
36435 \begin_inset space ~
36436 \end_inset
36437
36438 in
36439 \begin_inset space ~
36440 \end_inset
36441
36442 the
36443 \begin_inset space ~
36444 \end_inset
36445
36446 output
36447 \family default
36448  enables the change tracking option 
36449 \family sans
36450 Show
36451 \begin_inset space ~
36452 \end_inset
36453
36454 Changes
36455 \begin_inset space ~
36456 \end_inset
36457
36458 in
36459 \begin_inset space ~
36460 \end_inset
36461
36462 Output
36463 \family default
36464  to visualize the differences also in the PDF output of the difference file.
36465 \end_layout
36466
36467 \begin_layout Section
36468 International Support
36469 \begin_inset Index idx
36470 status collapsed
36471
36472 \begin_layout Plain Layout
36473 International support
36474 \end_layout
36475
36476 \end_inset
36477
36478
36479 \end_layout
36480
36481 \begin_layout Standard
36482 This section describes how to use \SpecialChar LyX
36483  with any language you want.
36484  For some languages there are special Wiki-pages that explain how to set
36485  up \SpecialChar LyX
36486  to use them: 
36487 \begin_inset CommandInset citation
36488 LatexCommand cite
36489 key "Arabic,Armenian,Farsi,Hebrew,Latvian,Lithuanian,Mongolian,Vietnamese"
36490 literal "true"
36491
36492 \end_inset
36493
36494
36495 \end_layout
36496
36497 \begin_layout Standard
36498 Besides languages, \SpecialChar LyX
36499  also supports phonetic symbols, see section
36500 \begin_inset space ~
36501 \end_inset
36502
36503
36504 \begin_inset CommandInset ref
36505 LatexCommand ref
36506 reference "subsec:Special-Character"
36507
36508 \end_inset
36509
36510 .
36511 \end_layout
36512
36513 \begin_layout Subsection
36514 Language Options
36515 \begin_inset Index idx
36516 status collapsed
36517
36518 \begin_layout Plain Layout
36519 Language ! Options
36520 \end_layout
36521
36522 \end_inset
36523
36524
36525 \begin_inset Index idx
36526 status collapsed
36527
36528 \begin_layout Plain Layout
36529 Document ! Settings
36530 \end_layout
36531
36532 \end_inset
36533
36534
36535 \begin_inset Index idx
36536 status collapsed
36537
36538 \begin_layout Plain Layout
36539 Document ! Language
36540 \end_layout
36541
36542 \end_inset
36543
36544
36545 \end_layout
36546
36547 \begin_layout Standard
36548 The 
36549 \family sans
36550 Document\SpecialChar menuseparator
36551 Settings\SpecialChar menuseparator
36552 Language
36553 \family default
36554  dialog lets you set 
36555 \family roman
36556 the language, the quote style and character encoding
36557 \family default
36558 .
36559 \end_layout
36560
36561 \begin_layout Standard
36562 Under 
36563 \family sans
36564 Encoding
36565 \family default
36566  you can choose the character encoding map you want to use for \SpecialChar LaTeX
36567  export.
36568  The option 
36569 \family sans
36570 Language
36571 \begin_inset space ~
36572 \end_inset
36573
36574 Default
36575 \family default
36576  is the preferred choice and works well in most cases.
36577  For details about the different encoding options see section
36578 \begin_inset space ~
36579 \end_inset
36580
36581
36582 \begin_inset CommandInset ref
36583 LatexCommand ref
36584 reference "sec:Language-encodings"
36585
36586 \end_inset
36587
36588 .
36589 \end_layout
36590
36591 \begin_layout Subsection
36592 Keyboard mapping configuration
36593 \begin_inset CommandInset label
36594 LatexCommand label
36595 name "subsec:Keyboard-mapping"
36596
36597 \end_inset
36598
36599
36600 \end_layout
36601
36602 \begin_layout Standard
36603 If you have for example a U.
36604 \begin_inset space \thinspace{}
36605 \end_inset
36606
36607 S.-style keyboard and want to write in a language other than English, you
36608  can use an alternate keymap.
36609  For example, if you want to write in Italian, you can configure \SpecialChar LyX
36610  to use
36611  an Italian keymap.
36612  The 
36613 \family sans
36614 Tools\SpecialChar menuseparator
36615 Preferences\SpecialChar menuseparator
36616 Editing\SpecialChar menuseparator
36617 Keyboard/Mouse
36618 \family default
36619  dialog allows you to choose up to two keyboard mappings, see section
36620 \begin_inset space ~
36621 \end_inset
36622
36623
36624 \begin_inset CommandInset ref
36625 LatexCommand ref
36626 reference "subsec:Keyboard-Map"
36627
36628 \end_inset
36629
36630 .
36631  You can choose primary and secondary keyboard languages and then select
36632  which one you want to use.
36633 \end_layout
36634
36635 \begin_layout Standard
36636 Finally, you may just want to change a few key mappings or create an entirely
36637  different keymap (for Vulcan, for instance).
36638  You may, for example, normally write in Italian on a U.
36639 \begin_inset space \thinspace{}
36640 \end_inset
36641
36642 S.-style keyboard but want to include an occasional quotation in German.
36643  In such a case, you can write your own keyboard mapping or modify an existing
36644  one to support the characters you want.
36645  This and many other customizations are explained in the 
36646 \emph on
36647 Customization
36648 \emph default
36649  manual.
36650 \end_layout
36651
36652 \begin_layout Chapter
36653 \start_of_appendix
36654 The User Interface
36655 \begin_inset CommandInset label
36656 LatexCommand label
36657 name "chap:The-User-Interface"
36658
36659 \end_inset
36660
36661
36662 \end_layout
36663
36664 \begin_layout Standard
36665 This appendix lists all the available menus and describes their functionality.
36666  It is designed as a quick reference if you are searching for a special
36667  topic inside the user's guide.
36668 \end_layout
36669
36670 \begin_layout Section
36671 The File Menu
36672 \begin_inset Index idx
36673 status collapsed
36674
36675 \begin_layout Plain Layout
36676 Menu ! File
36677 \end_layout
36678
36679 \end_inset
36680
36681
36682 \end_layout
36683
36684 \begin_layout Standard
36685 Under the 
36686 \family sans
36687 File
36688 \family default
36689  menu are the basic operations in addition to some more advanced operations.
36690 \end_layout
36691
36692 \begin_layout Subsection
36693 New
36694 \end_layout
36695
36696 \begin_layout Standard
36697 Creates a new document.
36698 \end_layout
36699
36700 \begin_layout Subsection
36701 New from Template
36702 \end_layout
36703
36704 \begin_layout Standard
36705 This menu entry prompts you for a template to use.
36706  Selecting a template will automatically set certain layout features for
36707  the document, features you would otherwise need to change manually.
36708 \end_layout
36709
36710 \begin_layout Subsection
36711 Open
36712 \end_layout
36713
36714 \begin_layout Standard
36715 Opens a document.
36716 \end_layout
36717
36718 \begin_layout Subsection
36719 Open Recent
36720 \end_layout
36721
36722 \begin_layout Standard
36723 The submenu shows a list of the recently opened files.
36724  Click there on a file to open it.
36725 \end_layout
36726
36727 \begin_layout Subsection
36728 Close
36729 \end_layout
36730
36731 \begin_layout Standard
36732 Closes the current document.
36733 \end_layout
36734
36735 \begin_layout Subsection
36736 Close All
36737 \end_layout
36738
36739 \begin_layout Standard
36740 Closes all opened documents.
36741 \end_layout
36742
36743 \begin_layout Subsection
36744 Save
36745 \end_layout
36746
36747 \begin_layout Standard
36748 Saves the actual document.
36749 \end_layout
36750
36751 \begin_layout Subsection
36752 Save As
36753 \end_layout
36754
36755 \begin_layout Standard
36756 Saves the actual document under a new name to create a copy.
36757 \end_layout
36758
36759 \begin_layout Subsection
36760 Save All
36761 \end_layout
36762
36763 \begin_layout Standard
36764 Saves all opened documents.
36765 \end_layout
36766
36767 \begin_layout Subsection
36768 Revert to saved
36769 \end_layout
36770
36771 \begin_layout Standard
36772 Reloads the actual document from disk.
36773 \end_layout
36774
36775 \begin_layout Subsection
36776 Version Control
36777 \end_layout
36778
36779 \begin_layout Standard
36780 This is used when multiple people are working on the same document or when
36781  one person wants to keep a careful archive of changes.
36782  It is described in the section 
36783 \emph on
36784 Version Control in \SpecialChar LyX
36785
36786 \emph default
36787  of the 
36788 \emph on
36789 Additional Features
36790 \emph default
36791  manual.
36792 \end_layout
36793
36794 \begin_layout Subsection
36795 Import
36796 \end_layout
36797
36798 \begin_layout Standard
36799 Here you can import files from older \SpecialChar LyX
36800  versions, HTML files, \SpecialChar LaTeX
36801  files, NoWeb
36802  files, plain text files and comma separated, table-like text files (CSV).
36803  The files will be imported as a new \SpecialChar LyX
36804  document.
36805 \end_layout
36806
36807 \begin_layout Standard
36808 When using the menu entry 
36809 \family sans
36810 Plain
36811 \begin_inset space ~
36812 \end_inset
36813
36814 text
36815 \family default
36816 , line breaks in the text will start a new paragraph; when using the menu
36817  entry 
36818 \family sans
36819 Plain
36820 \begin_inset space ~
36821 \end_inset
36822
36823 Text,
36824 \begin_inset space ~
36825 \end_inset
36826
36827 Join
36828 \begin_inset space ~
36829 \end_inset
36830
36831 Lines
36832 \family default
36833 , consecutive lines of text will be imported to one big paragraph.
36834  A new paragraph will begin when there is a blank line in the file.
36835 \end_layout
36836
36837 \begin_layout Subsection
36838 Export
36839 \begin_inset CommandInset label
36840 LatexCommand label
36841 name "subsec:Export"
36842
36843 \end_inset
36844
36845
36846 \end_layout
36847
36848 \begin_layout Standard
36849 You can export your document to various file formats.
36850  The resulting files are placed in the directory of your \SpecialChar LyX
36851  file.
36852  The menu entries are not the same on all installations.
36853  They depend on the programs found by \SpecialChar LyX
36854  during its configuration.
36855 \end_layout
36856
36857 \begin_layout Standard
36858 Here is a list of all available entries; some of them are explained in detail
36859  in section
36860 \begin_inset space ~
36861 \end_inset
36862
36863
36864 \begin_inset CommandInset ref
36865 LatexCommand ref
36866 reference "subsec:Output-file-formats"
36867
36868 \end_inset
36869
36870 :
36871 \end_layout
36872
36873 \begin_layout Description
36874
36875 \family sans
36876 CJK
36877 \family default
36878
36879 \begin_inset space ~
36880 \end_inset
36881
36882 LyX format of the special \SpecialChar LyX
36883
36884 \begin_inset space ~
36885 \end_inset
36886
36887 1.4.x versions for Chinese, Japanese and Korean (CJK)
36888 \begin_inset Newline newline
36889 \end_inset
36890
36891  Since \SpecialChar LyX
36892  1.5.0 CJK support has been fully integrated into \SpecialChar LyX
36893 .
36894 \end_layout
36895
36896 \begin_layout Description
36897 DocBook text file with code in the language SGML that is used for the markup
36898  language 
36899 \family typewriter
36900 DocBook
36901 \end_layout
36902
36903 \begin_layout Description
36904 DocBook
36905 \begin_inset space ~
36906 \end_inset
36907
36908 (XML) text file with code in the language XML that is used for the markup
36909  language 
36910 \family typewriter
36911 DocBook
36912 \end_layout
36913
36914 \begin_layout Description
36915 DraftDVI \SpecialChar LaTeX
36916 's native DVI-format.
36917  This format is not suitable if you have special characters or spaces in
36918  files paths or file names in your document.
36919  \SpecialChar LyX
36920  use this format internally as a pre-stage to export to 
36921 \family sans
36922 DVI
36923 \family default
36924 .
36925 \end_layout
36926
36927 \begin_layout Description
36928 DVI DVI-format that also allows the useage of special characters or spaces
36929  in files paths or file names
36930 \end_layout
36931
36932 \begin_layout Description
36933 DVI
36934 \begin_inset space ~
36935 \end_inset
36936
36937 (Lua
36938 \family sans
36939 TeX
36940 \family default
36941 ) DVI-format using the program 
36942 \family typewriter
36943 Lua\SpecialChar TeX
36944
36945 \family default
36946 ; supports Unicode and the usage of non-\SpecialChar TeX
36947  fonts; 
36948 \series bold
36949
36950 \begin_inset Note Greyedout
36951 status open
36952
36953 \begin_layout Plain Layout
36954
36955 \series bold
36956 Note:
36957 \series default
36958  not all DVI-viewers are currently able to display this output format properly.
36959 \end_layout
36960
36961 \end_inset
36962
36963
36964 \end_layout
36965
36966 \begin_layout Description
36967 EPS
36968 \begin_inset space ~
36969 \end_inset
36970
36971 (cropped) the same as 
36972 \family sans
36973 PostScript
36974 \family default
36975  but with cropped page margins.
36976 \end_layout
36977
36978 \begin_layout Description
36979 Graphviz
36980 \begin_inset space ~
36981 \end_inset
36982
36983 Dot text file with code in the programming language 
36984 \family typewriter
36985 Dot
36986 \family default
36987  which is used to draw visualizations of graphs via the program 
36988 \family typewriter
36989 Graphviz
36990 \end_layout
36991
36992 \begin_layout Description
36993 HTML HTML-format; 
36994 \series bold
36995
36996 \begin_inset Note Greyedout
36997 status open
36998
36999 \begin_layout Plain Layout
37000
37001 \series bold
37002 Note:
37003 \series default
37004  the exported file will be stored in a subdirectory.
37005 \end_layout
37006
37007 \end_inset
37008
37009
37010 \end_layout
37011
37012 \begin_layout Description
37013 HTML
37014 \begin_inset space ~
37015 \end_inset
37016
37017 (MS
37018 \begin_inset space ~
37019 \end_inset
37020
37021 Word) HTML-format specialized so that the result can be imported to 
37022 \family sans
37023 MS Word
37024 \family default
37025 ; as a consequence of this formulas will be embedded as bitmap fonts and
37026  not in the format 
37027 \family sans
37028 MathML
37029 \family default
37030 .
37031 \end_layout
37032
37033 \begin_layout Description
37034
37035 \family sans
37036 LaTeX
37037 \begin_inset space ~
37038 \end_inset
37039
37040 (
37041 \family default
37042 Lua
37043 \family sans
37044 TeX) 
37045 \family default
37046 text file with the \SpecialChar LaTeX
37047  source that is compilable with the program 
37048 \family typewriter
37049 Lua\SpecialChar TeX
37050
37051 \end_layout
37052
37053 \begin_layout Description
37054
37055 \family sans
37056 LaTeX
37057 \begin_inset space ~
37058 \end_inset
37059
37060 (pdflatex)
37061 \family default
37062  text file with the \SpecialChar LaTeX
37063  source, additionally all images used in the document
37064  will be converted to a format that is readable by the 
37065 \family typewriter
37066 pdflatex
37067 \family default
37068  program (GIF, JPG, PDF, PNG)
37069 \end_layout
37070
37071 \begin_layout Description
37072
37073 \family sans
37074 LaTeX
37075 \begin_inset space ~
37076 \end_inset
37077
37078 (plain)
37079 \family default
37080  text file with the \SpecialChar LaTeX
37081  source code, additionally all images used in the document
37082  will be converted to the EPS-format, only this format is readable by the
37083  
37084 \family typewriter
37085 latex
37086 \family default
37087  program
37088 \end_layout
37089
37090 \begin_layout Description
37091
37092 \family sans
37093 LaTeX
37094 \begin_inset space ~
37095 \end_inset
37096
37097 (
37098 \family default
37099 Xe
37100 \family sans
37101 TeX) 
37102 \family default
37103 text file with the \SpecialChar LaTeX
37104  source that is compilable with the program 
37105 \family typewriter
37106 Xe\SpecialChar TeX
37107
37108 \end_layout
37109
37110 \begin_layout Description
37111 LilyPond
37112 \begin_inset space ~
37113 \end_inset
37114
37115 book
37116 \begin_inset space ~
37117 \end_inset
37118
37119 (La
37120 \family sans
37121 TeX
37122 \family default
37123 ) text file with the \SpecialChar LaTeX
37124  source and also code in the syntax of the music notation
37125  software 
37126 \family typewriter
37127 LilyPond
37128 \end_layout
37129
37130 \begin_layout Description
37131 LyX
37132 \begin_inset space ~
37133 \end_inset
37134
37135 z.y.x \SpecialChar LyX
37136 -Document in a format readable by the \SpecialChar LyX
37137  versions z.y.x (e.
37138 \begin_inset space \thinspace{}
37139 \end_inset
37140
37141 g.
37142 \begin_inset space \space{}
37143 \end_inset
37144
37145 "\SpecialChar LyX
37146
37147 \begin_inset space ~
37148 \end_inset
37149
37150 2.1.x"; 
37151 \begin_inset Quotes eld
37152 \end_inset
37153
37154 z
37155 \begin_inset Quotes erd
37156 \end_inset
37157
37158  and 
37159 \begin_inset Quotes eld
37160 \end_inset
37161
37162 y
37163 \begin_inset Quotes erd
37164 \end_inset
37165
37166  represent the version number)
37167 \end_layout
37168
37169 \begin_layout Description
37170 LyX
37171 \begin_inset space ~
37172 \end_inset
37173
37174 Archive
37175 \begin_inset space ~
37176 \end_inset
37177
37178 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
37179  your system) that contains your document and all files that are necessary
37180  to compile it (images, child documents, Bib\SpecialChar TeX
37181  files, etc.)
37182 \end_layout
37183
37184 \begin_layout Description
37185 LyXHTML HTML-format using \SpecialChar LyX
37186 's internal XHTML engine
37187 \end_layout
37188
37189 \begin_layout Description
37190 MS
37191 \begin_inset space ~
37192 \end_inset
37193
37194 Word
37195 \begin_inset space ~
37196 \end_inset
37197
37198 Office
37199 \begin_inset space ~
37200 \end_inset
37201
37202 Open
37203 \begin_inset space ~
37204 \end_inset
37205
37206 XML Office Open XML file, to be opened with 
37207 \family sans
37208 Microsoft Word
37209 \family default
37210 .
37211  For the conversion the program 
37212 \family typewriter
37213 Pandoc
37214 \family default
37215  is used.
37216  
37217 \family typewriter
37218 Pandoc
37219 \family default
37220  is a third-party product and may not work in all cases.
37221 \end_layout
37222
37223 \begin_layout Description
37224 NoWeb text file with code in the format of the literate programming language
37225 \family typewriter
37226  NoWeb
37227 \end_layout
37228
37229 \begin_layout Description
37230 OpenDocument
37231 \begin_inset space ~
37232 \end_inset
37233
37234 (Pandoc) OpenDocument file, to be opened with 
37235 \family sans
37236 LibreOffice, OpenOffice, KOffice, Abiword
37237 \family default
37238 , etc..
37239  For the conversion the program 
37240 \family typewriter
37241 Pandoc
37242 \family default
37243  is used.
37244  
37245 \family typewriter
37246 Pandoc
37247 \family default
37248  is a third-party product and may not work in all cases.
37249 \end_layout
37250
37251 \begin_layout Description
37252 OpenDocument
37253 \begin_inset space ~
37254 \end_inset
37255
37256 (tex4ht) OpenDocument file.
37257  For the conversion the program 
37258 \family typewriter
37259 tex4ht
37260 \family default
37261  is used.
37262  
37263 \family typewriter
37264 tex4ht
37265 \family default
37266  is a third-party product and may not work in all cases.
37267 \end_layout
37268
37269 \begin_layout Description
37270 PDF
37271 \begin_inset space ~
37272 \end_inset
37273
37274 (cropped) the same as 
37275 \family sans
37276 PDF
37277 \begin_inset space ~
37278 \end_inset
37279
37280 (pdflatex)
37281 \family default
37282  but with cropped page margins
37283 \end_layout
37284
37285 \begin_layout Description
37286
37287 \family sans
37288 PDF
37289 \begin_inset space ~
37290 \end_inset
37291
37292 (dvipdfm)
37293 \family default
37294  PDF-format using the program 
37295 \family typewriter
37296 dvipdfm
37297 \family default
37298 , produces internally a DVI-file which is then converted to a PDF-file
37299 \end_layout
37300
37301 \begin_layout Description
37302
37303 \family sans
37304 PDF
37305 \begin_inset space ~
37306 \end_inset
37307
37308 (lower
37309 \begin_inset space ~
37310 \end_inset
37311
37312 resolution)
37313 \family default
37314  the same as 
37315 \family sans
37316 PDF
37317 \begin_inset space ~
37318 \end_inset
37319
37320 (pdflatex)
37321 \family default
37322  but with a reduced pixel resolution of 150
37323 \begin_inset space \thinspace{}
37324 \end_inset
37325
37326 dpi (e.g.
37327 \begin_inset space \space{}
37328 \end_inset
37329
37330 useful for e-books to be read on tablet PCs or for large documents as intermedia
37331 te preview)
37332 \end_layout
37333
37334 \begin_layout Description
37335
37336 \family sans
37337 PDF
37338 \begin_inset space ~
37339 \end_inset
37340
37341 (LuaTeX)
37342 \family default
37343  PDF-format using the program 
37344 \family typewriter
37345 Lua\SpecialChar TeX
37346
37347 \family default
37348 , produces PDF-files directly
37349 \end_layout
37350
37351 \begin_layout Description
37352
37353 \family sans
37354 PDF
37355 \begin_inset space ~
37356 \end_inset
37357
37358 (pdflatex)
37359 \family default
37360  PDF-format using the program 
37361 \family typewriter
37362 pdflatex
37363 \family default
37364 , produces PDF-files directly
37365 \end_layout
37366
37367 \begin_layout Description
37368
37369 \family sans
37370 PDF
37371 \begin_inset space ~
37372 \end_inset
37373
37374 (ps2pdf)
37375 \family default
37376  PDF-format using the program 
37377 \family typewriter
37378 ps2pdf
37379 \family default
37380 , produces internally a PostScript-file which is then converted to a PDF-file
37381 \end_layout
37382
37383 \begin_layout Description
37384
37385 \family sans
37386 PDF
37387 \begin_inset space ~
37388 \end_inset
37389
37390 (XeTeX)
37391 \family default
37392  PDF-format using the program 
37393 \family typewriter
37394 Xe\SpecialChar TeX
37395
37396 \family default
37397 , produces PDF-files directly
37398 \end_layout
37399
37400 \begin_layout Description
37401
37402 \family sans
37403 Plain
37404 \begin_inset space ~
37405 \end_inset
37406
37407 text
37408 \family default
37409  text format
37410 \end_layout
37411
37412 \begin_layout Description
37413
37414 \family sans
37415 Plain
37416 \begin_inset space ~
37417 \end_inset
37418
37419 text
37420 \begin_inset space ~
37421 \end_inset
37422
37423 (ps2ascii)
37424 \family default
37425  text format, the document will first be converted to Postscript format
37426  and then exported as text using the program 
37427 \family sans
37428 ps2ascii
37429 \end_layout
37430
37431 \begin_layout Description
37432
37433 \family sans
37434 Postscript
37435 \family default
37436  PostScript format using the program 
37437 \family typewriter
37438 dvips
37439 \family default
37440 ; for possible 
37441 \family typewriter
37442 dvips
37443 \family default
37444  options see section
37445 \begin_inset space ~
37446 \end_inset
37447
37448
37449 \begin_inset CommandInset ref
37450 LatexCommand ref
37451 reference "subsec:General-output"
37452
37453 \end_inset
37454
37455
37456 \end_layout
37457
37458 \begin_layout Description
37459 Sweave text file with the \SpecialChar LaTeX
37460  source and also code in the statistical programming
37461  language 
37462 \family typewriter
37463 R
37464 \family default
37465 .
37466  Using the 
37467 \family typewriter
37468 R
37469 \family default
37470 -function 
37471 \family typewriter
37472 Sweave
37473 \family default
37474  it is possible to use 
37475 \family typewriter
37476 R
37477 \family default
37478 -commands in \SpecialChar LaTeX
37479
37480 \end_layout
37481
37482 \begin_layout Standard
37483 If one of the menu entries 
37484 \family sans
37485 DVI
37486 \family default
37487
37488 \family sans
37489 PDF
37490 \begin_inset space ~
37491 \end_inset
37492
37493 (pdflatex)
37494 \family default
37495  or 
37496 \family sans
37497 Postscript
37498 \family default
37499  is missing, you need to update your \SpecialChar LaTeX
37500  installation.
37501  After updating you have to reconfigure \SpecialChar LyX
37502 , see section
37503 \begin_inset space ~
37504 \end_inset
37505
37506
37507 \begin_inset CommandInset ref
37508 LatexCommand ref
37509 reference "sec:Basic-LyX-Setup"
37510
37511 \end_inset
37512
37513 .
37514 \begin_inset Index idx
37515 status collapsed
37516
37517 \begin_layout Plain Layout
37518 Reconfiguration of \SpecialChar LyX
37519
37520 \end_layout
37521
37522 \end_inset
37523
37524
37525 \end_layout
37526
37527 \begin_layout Subsection
37528 Fax
37529 \end_layout
37530
37531 \begin_layout Standard
37532 This menu entry will only appear if you have a fax program installed (on
37533  Windows you additionally need to register its program path to \SpecialChar LyX
37534 's PATH prefix,
37535  see section
37536 \begin_inset space ~
37537 \end_inset
37538
37539
37540 \begin_inset CommandInset ref
37541 LatexCommand ref
37542 reference "sec:Paths"
37543
37544 \end_inset
37545
37546 ).
37547  With this menu entry you can send your document to a fax program like 
37548 \family typewriter
37549 hylapex
37550 \family default
37551  or 
37552 \family typewriter
37553 kdeprintfax
37554 \family default
37555 .
37556  The default format of the sent file is PostScript.
37557  The format can be changed in \SpecialChar LyX
37558 's preferences as described in section
37559 \begin_inset space ~
37560 \end_inset
37561
37562
37563 \begin_inset CommandInset ref
37564 LatexCommand ref
37565 reference "subsec:Converters"
37566
37567 \end_inset
37568
37569 .
37570 \end_layout
37571
37572 \begin_layout Subsection
37573 New and Close Window
37574 \end_layout
37575
37576 \begin_layout Standard
37577 Opens or closes a new instance of \SpecialChar LyX
37578 .
37579 \end_layout
37580
37581 \begin_layout Subsection
37582 Exit
37583 \end_layout
37584
37585 \begin_layout Standard
37586 Prompts you to save all unsaved documents and then exits.
37587 \end_layout
37588
37589 \begin_layout Section
37590 The Edit Menu
37591 \begin_inset Index idx
37592 status collapsed
37593
37594 \begin_layout Plain Layout
37595 Menu ! Edit
37596 \end_layout
37597
37598 \end_inset
37599
37600
37601 \end_layout
37602
37603 \begin_layout Subsection
37604 Undo and Redo
37605 \end_layout
37606
37607 \begin_layout Standard
37608 Described in section
37609 \begin_inset space ~
37610 \end_inset
37611
37612
37613 \begin_inset CommandInset ref
37614 LatexCommand ref
37615 reference "sec:Undo-and-Redo"
37616
37617 \end_inset
37618
37619 .
37620 \end_layout
37621
37622 \begin_layout Subsection
37623 Cut, Copy, Paste, Paste Recent, Paste Special
37624 \end_layout
37625
37626 \begin_layout Standard
37627 Described in section
37628 \begin_inset space ~
37629 \end_inset
37630
37631
37632 \begin_inset CommandInset ref
37633 LatexCommand ref
37634 reference "sec:Basic-Editing-Features"
37635
37636 \end_inset
37637
37638 .
37639 \end_layout
37640
37641 \begin_layout Subsection
37642 Select Whole Inset
37643 \end_layout
37644
37645 \begin_layout Standard
37646 Selects the content of the inset in which the cursor currently is.
37647  If the cursor is outside an inset, the whole document will be selected.
37648 \end_layout
37649
37650 \begin_layout Subsection
37651 Select All
37652 \end_layout
37653
37654 \begin_layout Standard
37655 Selects the whole document.
37656 \end_layout
37657
37658 \begin_layout Subsection
37659 Find & Replace (Quick)
37660 \end_layout
37661
37662 \begin_layout Standard
37663 Described in section
37664 \begin_inset space ~
37665 \end_inset
37666
37667
37668 \begin_inset CommandInset ref
37669 LatexCommand ref
37670 reference "sec:Basic-Editing-Features"
37671
37672 \end_inset
37673
37674 .
37675 \end_layout
37676
37677 \begin_layout Subsection
37678 Find & Replace (Advanced)
37679 \end_layout
37680
37681 \begin_layout Standard
37682 Described in section
37683 \begin_inset space ~
37684 \end_inset
37685
37686
37687 \begin_inset CommandInset ref
37688 LatexCommand ref
37689 reference "sec:Advanced-Find-and"
37690
37691 \end_inset
37692
37693 .
37694 \end_layout
37695
37696 \begin_layout Subsection
37697 Move Paragraph Up/Down
37698 \end_layout
37699
37700 \begin_layout Standard
37701 This shifts the paragraph in which the cursor currently is one paragraph
37702  up or down.
37703 \end_layout
37704
37705 \begin_layout Subsection
37706 Text Style
37707 \end_layout
37708
37709 \begin_layout Standard
37710 Described in section
37711 \begin_inset space ~
37712 \end_inset
37713
37714
37715 \begin_inset CommandInset ref
37716 LatexCommand ref
37717 reference "subsec:Fine-Tuning-with-the"
37718
37719 \end_inset
37720
37721 .
37722 \end_layout
37723
37724 \begin_layout Subsection
37725 Paragraph Settings
37726 \begin_inset Index idx
37727 status collapsed
37728
37729 \begin_layout Plain Layout
37730 Paragraph ! Settings
37731 \end_layout
37732
37733 \end_inset
37734
37735
37736 \end_layout
37737
37738 \begin_layout Standard
37739 Enables you to set the paragraph alignment, line spacing and label width.
37740  These settings only affect the paragraph in which the cursor is currently
37741  in.
37742 \end_layout
37743
37744 \begin_layout Standard
37745 You can also prevent the first line of the paragraph being indented if you
37746  have chosen to separate paragraphs with 
37747 \family sans
37748 Indentation
37749 \family default
37750  in the 
37751 \family sans
37752 Document\SpecialChar menuseparator
37753 Settings\SpecialChar menuseparator
37754 Text
37755 \begin_inset space ~
37756 \end_inset
37757
37758 Layout
37759 \family default
37760  dialog.
37761 \end_layout
37762
37763 \begin_layout Subsection
37764 Table and Rows & Columns
37765 \end_layout
37766
37767 \begin_layout Standard
37768 These menus only appear if the cursor is inside a table.
37769  It allows you to create multicolumn and multirow cells, add or remove borders
37770  of a cell and to set the alignment of the cell.
37771 \end_layout
37772
37773 \begin_layout Subsection
37774 Dissolve Inset
37775 \end_layout
37776
37777 \begin_layout Standard
37778 This menu only appears if the cursor is inside an inset.
37779  It will dissolve this inset.
37780  This means that the inset is deleted and its content is left as normal
37781  text.
37782 \end_layout
37783
37784 \begin_layout Subsection
37785 Settings or Math
37786 \end_layout
37787
37788 \begin_layout Standard
37789 This menu is only active if the cursor is inside an inset or a formula.
37790  Here you can change the properties of the inset or the formula.
37791 \end_layout
37792
37793 \begin_layout Subsection
37794 Increase/Decrease List Depth
37795 \end_layout
37796
37797 \begin_layout Standard
37798 These menus are only active if the cursor is in an environment that can
37799  be nested.
37800  They increase/decrease the environment nesting level as explained in section
37801 \begin_inset space ~
37802 \end_inset
37803
37804
37805 \begin_inset CommandInset ref
37806 LatexCommand ref
37807 reference "sec:Nesting"
37808
37809 \end_inset
37810
37811  and 
37812 \begin_inset CommandInset ref
37813 LatexCommand ref
37814 reference "subsec:Numbering-depth"
37815
37816 \end_inset
37817
37818 .
37819 \end_layout
37820
37821 \begin_layout Subsection
37822
37823 \family sans
37824 Start New Environment/Start New Parent Environment
37825 \end_layout
37826
37827 \begin_layout Standard
37828 These menus are only visible if it is possible to have two consecutive environme
37829 nts of the same type.
37830  See section
37831 \begin_inset space ~
37832 \end_inset
37833
37834
37835 \begin_inset CommandInset ref
37836 LatexCommand ref
37837 reference "subsec:Separate-Nestings"
37838
37839 \end_inset
37840
37841  for an explanation.
37842 \end_layout
37843
37844 \begin_layout Section
37845 The View Menu
37846 \begin_inset Index idx
37847 status collapsed
37848
37849 \begin_layout Plain Layout
37850 Menu ! View
37851 \end_layout
37852
37853 \end_inset
37854
37855
37856 \end_layout
37857
37858 \begin_layout Standard
37859 At the bottom of the 
37860 \family sans
37861 View
37862 \family default
37863  menu the opened documents are listed.
37864 \end_layout
37865
37866 \begin_layout Subsection
37867 Open/Close all Insets
37868 \end_layout
37869
37870 \begin_layout Standard
37871 Opens/closes all insets in your document.
37872 \end_layout
37873
37874 \begin_layout Subsection
37875 Unfold/Fold Math Macros
37876 \end_layout
37877
37878 \begin_layout Standard
37879 Unfolds/folds the current math macro.
37880 \end_layout
37881
37882 \begin_layout Standard
37883 Math macros are described in the 
37884 \emph on
37885 Math
37886 \emph default
37887  manual.
37888 \end_layout
37889
37890 \begin_layout Subsection
37891 Outline Pane
37892 \end_layout
37893
37894 \begin_layout Standard
37895 Shows the outline window as described in sections
37896 \begin_inset space ~
37897 \end_inset
37898
37899
37900 \begin_inset CommandInset ref
37901 LatexCommand ref
37902 reference "sec:Navigating"
37903
37904 \end_inset
37905
37906  and 
37907 \begin_inset CommandInset ref
37908 LatexCommand ref
37909 reference "subsec:Table-of-Contents"
37910
37911 \end_inset
37912
37913 .
37914 \end_layout
37915
37916 \begin_layout Subsection
37917 Source Pane
37918 \end_layout
37919
37920 \begin_layout Standard
37921 Opens a window showing the source code of the actual document, as described
37922  in section
37923 \begin_inset space ~
37924 \end_inset
37925
37926
37927 \begin_inset CommandInset ref
37928 LatexCommand ref
37929 reference "sec:Previewing-snippets-of"
37930
37931 \end_inset
37932
37933 .
37934 \end_layout
37935
37936 \begin_layout Subsection
37937 Messages Pane
37938 \end_layout
37939
37940 \begin_layout Standard
37941 Opens a window showing console messages.
37942  This is useful for debugging \SpecialChar LyX
37943  (i.
37944 \begin_inset space \thinspace{}
37945 \end_inset
37946
37947 e., hunt for errors in the program) or to see what is going on in the background
37948  while \SpecialChar LaTeX
37949  is processing the document.
37950 \end_layout
37951
37952 \begin_layout Subsection
37953 Toolbars
37954 \begin_inset CommandInset label
37955 LatexCommand label
37956 name "subsec:Toolbars"
37957
37958 \end_inset
37959
37960
37961 \begin_inset Index idx
37962 status collapsed
37963
37964 \begin_layout Plain Layout
37965 Toolbar
37966 \end_layout
37967
37968 \end_inset
37969
37970
37971 \end_layout
37972
37973 \begin_layout Standard
37974 In this menu entry you can set the appearance of the different toolbars.
37975  All toolbars and the 
37976 \family sans
37977 Command
37978 \begin_inset space ~
37979 \end_inset
37980
37981 Buffer
37982 \family default
37983  can be turned on and off.
37984  The 
37985 \emph on
37986 on
37987 \emph default
37988  state is denoted in the menu with a checkmark.
37989  The 
37990 \family sans
37991 Table
37992 \family default
37993
37994 \family sans
37995 Math,
37996 \family default
37997  
37998 \family sans
37999 Math
38000 \begin_inset space ~
38001 \end_inset
38002
38003 Macros,
38004 \family default
38005  
38006 \family sans
38007 Review
38008 \family default
38009  and 
38010 \family sans
38011 Math
38012 \begin_inset space ~
38013 \end_inset
38014
38015 Panels
38016 \family default
38017  toolbars can additionally be set to the state 
38018 \emph on
38019 automatic
38020 \emph default
38021 , denoted in the menu with the suffix 
38022 \family sans
38023 (auto)
38024 \family default
38025 .
38026 \end_layout
38027
38028 \begin_layout Standard
38029 In the 
38030 \emph on
38031 on
38032 \emph default
38033  state the toolbar is permanently shown; in the 
38034 \emph on
38035 automatic
38036 \emph default
38037  state the toolbar is only shown when the cursor is in a certain environment
38038  or when a certain feature is enabled.
38039  That means that the review toolbar will only be shown if change tracking
38040  is activated, the math and table toolbars are only shown if the cursor
38041  is inside a formula or table respectively.
38042 \end_layout
38043
38044 \begin_layout Standard
38045 \SpecialChar LyX
38046 's toolbars and their buttons are explained in section
38047 \begin_inset space ~
38048 \end_inset
38049
38050
38051 \begin_inset CommandInset ref
38052 LatexCommand ref
38053 reference "sec:Toolbars"
38054
38055 \end_inset
38056
38057 .
38058 \end_layout
38059
38060 \begin_layout Subsection
38061 Split View
38062 \end_layout
38063
38064 \begin_layout Standard
38065
38066 \family sans
38067 Split
38068 \begin_inset space ~
38069 \end_inset
38070
38071 View
38072 \begin_inset space ~
38073 \end_inset
38074
38075 into
38076 \begin_inset space ~
38077 \end_inset
38078
38079 Left
38080 \begin_inset space ~
38081 \end_inset
38082
38083 and
38084 \begin_inset space ~
38085 \end_inset
38086
38087 Right
38088 \begin_inset space ~
38089 \end_inset
38090
38091 Half
38092 \family default
38093  will split \SpecialChar LyX
38094 's main window vertically while 
38095 \family sans
38096 Split
38097 \begin_inset space ~
38098 \end_inset
38099
38100 View
38101 \begin_inset space ~
38102 \end_inset
38103
38104 into
38105 \begin_inset space ~
38106 \end_inset
38107
38108 Upper
38109 \begin_inset space ~
38110 \end_inset
38111
38112 and
38113 \begin_inset space ~
38114 \end_inset
38115
38116 Lower
38117 \begin_inset space ~
38118 \end_inset
38119
38120 Half
38121 \family default
38122  will split it horizontally.
38123  This allows you to view documents at the same time to compare them, or
38124  to view the same document, but at different positions.
38125  You can even split the main window several times to view, for example,
38126  three or more documents at the same time.
38127  To close a split view, use the menu 
38128 \family sans
38129 Close
38130 \begin_inset space ~
38131 \end_inset
38132
38133 Current
38134 \begin_inset space ~
38135 \end_inset
38136
38137 View
38138 \family default
38139 .
38140 \end_layout
38141
38142 \begin_layout Subsection
38143 Close Current View
38144 \end_layout
38145
38146 \begin_layout Standard
38147 Closes a split view.
38148 \end_layout
38149
38150 \begin_layout Subsection
38151 Fullscreen
38152 \end_layout
38153
38154 \begin_layout Standard
38155 Using this menu entry or pressing F11 removes the menu bar and all toolbars
38156  so that you will see nothing but your text.
38157  It furthermore displays \SpecialChar LyX
38158 's main window fullscreen.
38159  To return from fullscreen to the normal view, press F11, or right-click
38160  and turn off the fullscreen mode in the context menu.
38161 \end_layout
38162
38163 \begin_layout Section
38164 The Insert Menu
38165 \begin_inset Index idx
38166 status collapsed
38167
38168 \begin_layout Plain Layout
38169 Menu ! Insert
38170 \end_layout
38171
38172 \end_inset
38173
38174
38175 \end_layout
38176
38177 \begin_layout Subsection
38178 Math
38179 \end_layout
38180
38181 \begin_layout Standard
38182 Inserts math constructs that are explained in chapter
38183 \begin_inset space ~
38184 \end_inset
38185
38186
38187 \begin_inset CommandInset ref
38188 LatexCommand ref
38189 reference "chap:Mathematical-Formulas"
38190
38191 \end_inset
38192
38193  and the 
38194 \emph on
38195 Math
38196 \emph default
38197  manual.
38198 \end_layout
38199
38200 \begin_layout Subsection
38201 Special Character
38202 \begin_inset CommandInset label
38203 LatexCommand label
38204 name "subsec:Special-Character"
38205
38206 \end_inset
38207
38208
38209 \end_layout
38210
38211 \begin_layout Standard
38212 Here you can insert the following characters:
38213 \end_layout
38214
38215 \begin_layout Description
38216 Symbols Opens the 
38217 \family sans
38218 Symbols
38219 \family default
38220  dialog which allows you to insert any character that can be output by your
38221  \SpecialChar LaTeX
38222  system.
38223  By default groups of characters are displayed in character categories;
38224  the available characters depend on the \SpecialChar LaTeX
38225 -packages you have installed.
38226  You can get a complete display by checking 
38227 \family sans
38228 Display
38229 \begin_inset space ~
38230 \end_inset
38231
38232 all
38233 \family default
38234 .
38235 \begin_inset Newline newline
38236 \end_inset
38237
38238  
38239 \begin_inset Note Greyedout
38240 status open
38241
38242 \begin_layout Plain Layout
38243
38244 \series bold
38245 Note:
38246 \series default
38247  Not all characters will be visible in the 
38248 \family sans
38249 Symbols
38250 \family default
38251  dialog because none of the screen fonts that you can set in the preferences
38252  dialog (see section
38253 \begin_inset space ~
38254 \end_inset
38255
38256
38257 \begin_inset CommandInset ref
38258 LatexCommand ref
38259 reference "subsec:Screen-Fonts"
38260
38261 \end_inset
38262
38263 ) can display every character.
38264 \end_layout
38265
38266 \end_inset
38267
38268
38269 \end_layout
38270
38271 \begin_layout Description
38272 Ellipsis Inserts an ellipsis: \SpecialChar ldots
38273
38274 \end_layout
38275
38276 \begin_layout Description
38277 End
38278 \begin_inset space ~
38279 \end_inset
38280
38281 of
38282 \begin_inset space ~
38283 \end_inset
38284
38285 Sentence Inserts an end of sentence period as described in section
38286 \begin_inset space ~
38287 \end_inset
38288
38289
38290 \begin_inset CommandInset ref
38291 LatexCommand ref
38292 reference "subsec:Abbreviations"
38293
38294 \end_inset
38295
38296 .
38297 \end_layout
38298
38299 \begin_layout Description
38300 Ordinary
38301 \begin_inset space ~
38302 \end_inset
38303
38304 Quote Inserts this quote: ", no matter what quote style you selected in
38305  the 
38306 \family sans
38307 Document\SpecialChar menuseparator
38308 Settings\SpecialChar menuseparator
38309 Language
38310 \family default
38311  dialog.
38312 \end_layout
38313
38314 \begin_layout Description
38315 Single
38316 \begin_inset space ~
38317 \end_inset
38318
38319 Quote Inserts a single quote in the quotation marks style selected in the
38320  
38321 \family sans
38322 Document\SpecialChar menuseparator
38323 Settings\SpecialChar menuseparator
38324 Language
38325 \family default
38326  dialog.
38327 \end_layout
38328
38329 \begin_layout Description
38330 Protected
38331 \begin_inset space ~
38332 \end_inset
38333
38334 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar nobreakdash
38335
38336 \end_layout
38337
38338 \begin_layout Description
38339 Breakable
38340 \begin_inset space ~
38341 \end_inset
38342
38343 Slash Inserts a slash where a line break can also occur: \SpecialChar breakableslash
38344
38345 \end_layout
38346
38347 \begin_layout Description
38348 Visible
38349 \begin_inset space ~
38350 \end_inset
38351
38352 Space Inserts a character representing a single space (the one you get when
38353  pressing the 
38354 \family sans
38355 Space
38356 \family default
38357  key): 
38358 \begin_inset space \textvisiblespace{}
38359 \end_inset
38360
38361
38362 \end_layout
38363
38364 \begin_layout Description
38365 Menu
38366 \begin_inset space ~
38367 \end_inset
38368
38369 Separator Inserts the menu separator sign: \SpecialChar menuseparator
38370
38371 \end_layout
38372
38373 \begin_layout Description
38374 Phonetic
38375 \begin_inset space ~
38376 \end_inset
38377
38378 Symbols 
38379 \begin_inset Index idx
38380 status collapsed
38381
38382 \begin_layout Plain Layout
38383 Phonetic symbols
38384 \end_layout
38385
38386 \end_inset
38387
38388
38389 \begin_inset Index idx
38390 status collapsed
38391
38392 \begin_layout Plain Layout
38393 Language ! Phonetic symbols
38394 \end_layout
38395
38396 \end_inset
38397
38398 Inserts a box where you can insert symbols from the International Phonetic
38399  Alphabet (IPA) and opens a toolbar which provides a large set of these
38400  symbols.
38401  To use this feature you must have the \SpecialChar LaTeX
38402 -package 
38403 \series bold
38404 tipa
38405 \series default
38406
38407 \begin_inset Index idx
38408 status collapsed
38409
38410 \begin_layout Plain Layout
38411 \SpecialChar LaTeX
38412  packages ! tipa
38413 \end_layout
38414
38415 \end_inset
38416
38417  installed.
38418 \begin_inset Newline newline
38419 \end_inset
38420
38421 More information about this feature can be found in the 
38422 \emph on
38423 Linguistics
38424 \emph default
38425  manual (
38426 \family sans
38427 Help\SpecialChar menuseparator
38428 Specific Manuals
38429 \family default
38430 ).
38431 \end_layout
38432
38433 \begin_layout Description
38434 Logos Inserts the logos of the programs \SpecialChar LyX
38435 , \SpecialChar TeX
38436 , \SpecialChar LaTeX
38437  and \SpecialChar LaTeX2e
38438 .
38439 \end_layout
38440
38441 \begin_layout Subsection
38442 Formatting
38443 \end_layout
38444
38445 \begin_layout Standard
38446 Opens a submenu with the following options:
38447 \end_layout
38448
38449 \begin_layout Description
38450 Superscript Inserts a superscript: test
38451 \begin_inset script superscript
38452
38453 \begin_layout Plain Layout
38454 a, b
38455 \end_layout
38456
38457 \end_inset
38458
38459
38460 \end_layout
38461
38462 \begin_layout Description
38463 Subscript Inserts a subscript: test
38464 \begin_inset script subscript
38465
38466 \begin_layout Plain Layout
38467 3x
38468 \end_layout
38469
38470 \end_inset
38471
38472
38473 \end_layout
38474
38475 \begin_layout Description
38476 Protected
38477 \begin_inset space ~
38478 \end_inset
38479
38480 Space Inserts a protected space as described in section
38481 \begin_inset space ~
38482 \end_inset
38483
38484
38485 \begin_inset CommandInset ref
38486 LatexCommand ref
38487 reference "subsec:Protected-Space"
38488
38489 \end_inset
38490
38491 .
38492 \end_layout
38493
38494 \begin_layout Description
38495 Interword
38496 \begin_inset space ~
38497 \end_inset
38498
38499 Space Inserts an inter-word space as described in section
38500 \begin_inset space ~
38501 \end_inset
38502
38503
38504 \begin_inset CommandInset ref
38505 LatexCommand ref
38506 reference "subsec:Inter-word-Space"
38507
38508 \end_inset
38509
38510 .
38511 \end_layout
38512
38513 \begin_layout Description
38514 Thin
38515 \begin_inset space ~
38516 \end_inset
38517
38518 Space Inserts a thin space as described in section
38519 \begin_inset space ~
38520 \end_inset
38521
38522
38523 \begin_inset CommandInset ref
38524 LatexCommand ref
38525 reference "subsec:Thin-Space"
38526
38527 \end_inset
38528
38529 .
38530 \end_layout
38531
38532 \begin_layout Description
38533 Visible
38534 \begin_inset space ~
38535 \end_inset
38536
38537 Space Inserts a character to visualize that there is or should be a space.
38538  This is e.
38539 \begin_inset space \thinspace{}
38540 \end_inset
38541
38542 g.
38543 \begin_inset space \space{}
38544 \end_inset
38545
38546 useful if you need to indicate a space in a command sequence.
38547  An example from the \SpecialChar LyX
38548  
38549 \emph on
38550 Math
38551 \emph default
38552  manual: 
38553 \begin_inset Quotes eld
38554 \end_inset
38555
38556 To insert a fraction use the command 
38557 \series bold
38558
38559 \backslash
38560 frac
38561 \begin_inset space \textvisiblespace{}
38562 \end_inset
38563
38564 A
38565 \begin_inset Formula $\downarrow$
38566 \end_inset
38567
38568 B.
38569 \series default
38570
38571 \begin_inset Quotes erd
38572 \end_inset
38573
38574  The visible space is hereby the character before the 
38575 \series bold
38576 A
38577 \series default
38578 .
38579 \end_layout
38580
38581 \begin_layout Description
38582 Horizontal
38583 \begin_inset space ~
38584 \end_inset
38585
38586 Space Inserts horizontal space as described in section
38587 \begin_inset space ~
38588 \end_inset
38589
38590
38591 \begin_inset CommandInset ref
38592 LatexCommand ref
38593 reference "subsec:Horizontal-Space"
38594
38595 \end_inset
38596
38597 .
38598 \end_layout
38599
38600 \begin_layout Description
38601 Horizontal
38602 \begin_inset space ~
38603 \end_inset
38604
38605 Line Inserts a horizontal line as described in section
38606 \begin_inset space ~
38607 \end_inset
38608
38609
38610 \begin_inset CommandInset ref
38611 LatexCommand ref
38612 reference "subsec:Horizontal-Lines"
38613
38614 \end_inset
38615
38616 .
38617 \end_layout
38618
38619 \begin_layout Description
38620 Vertical
38621 \begin_inset space ~
38622 \end_inset
38623
38624 Space Inserts vertical space as described in section
38625 \begin_inset space ~
38626 \end_inset
38627
38628
38629 \begin_inset CommandInset ref
38630 LatexCommand ref
38631 reference "subsec:Vertical-Space"
38632
38633 \end_inset
38634
38635 .
38636 \end_layout
38637
38638 \begin_layout Description
38639 Phantom Inserts a Phantom space as described in section
38640 \begin_inset space ~
38641 \end_inset
38642
38643
38644 \begin_inset CommandInset ref
38645 LatexCommand ref
38646 reference "subsec:Phantom-Space"
38647
38648 \end_inset
38649
38650 .
38651 \end_layout
38652
38653 \begin_layout Description
38654 Hyphenation
38655 \begin_inset space ~
38656 \end_inset
38657
38658 Point Inserts a hyphenation point as described in section
38659 \begin_inset space ~
38660 \end_inset
38661
38662
38663 \begin_inset CommandInset ref
38664 LatexCommand ref
38665 reference "subsec:Hyphenation"
38666
38667 \end_inset
38668
38669 .
38670 \end_layout
38671
38672 \begin_layout Description
38673 Ligature
38674 \begin_inset space ~
38675 \end_inset
38676
38677 Break Inserts a ligature break as described in section
38678 \begin_inset space ~
38679 \end_inset
38680
38681
38682 \begin_inset CommandInset ref
38683 LatexCommand ref
38684 reference "subsec:Ligatures"
38685
38686 \end_inset
38687
38688 .
38689 \end_layout
38690
38691 \begin_layout Description
38692 Optional
38693 \begin_inset space ~
38694 \end_inset
38695
38696 Line
38697 \begin_inset space ~
38698 \end_inset
38699
38700 Break Inserts a line break point (zero-width space character) that is invisible
38701  in the output.
38702  See section
38703 \begin_inset space ~
38704 \end_inset
38705
38706
38707 \begin_inset CommandInset ref
38708 LatexCommand ref
38709 reference "subsec:Dashes-and-line-breaks"
38710 plural "false"
38711 caps "false"
38712 noprefix "false"
38713
38714 \end_inset
38715
38716  for a usage example.
38717 \end_layout
38718
38719 \begin_layout Description
38720 Ragged
38721 \begin_inset space ~
38722 \end_inset
38723
38724 Line
38725 \begin_inset space ~
38726 \end_inset
38727
38728 Break Inserts a forced line break as described in section
38729 \begin_inset space ~
38730 \end_inset
38731
38732
38733 \begin_inset CommandInset ref
38734 LatexCommand ref
38735 reference "subsec:Forced-Line-Breaks"
38736
38737 \end_inset
38738
38739 .
38740 \end_layout
38741
38742 \begin_layout Description
38743 Justified
38744 \begin_inset space ~
38745 \end_inset
38746
38747 Break Inserts a forced line break that right justifies the remaining text
38748  as described in section
38749 \begin_inset space ~
38750 \end_inset
38751
38752
38753 \begin_inset CommandInset ref
38754 LatexCommand ref
38755 reference "subsec:Forced-Line-Breaks"
38756
38757 \end_inset
38758
38759 .
38760 \end_layout
38761
38762 \begin_layout Description
38763 New
38764 \begin_inset space ~
38765 \end_inset
38766
38767 Page Inserts a forced page break as described in section
38768 \begin_inset space ~
38769 \end_inset
38770
38771
38772 \begin_inset CommandInset ref
38773 LatexCommand ref
38774 reference "subsec:Forced-Page-Breaks"
38775
38776 \end_inset
38777
38778 .
38779 \end_layout
38780
38781 \begin_layout Description
38782 Page
38783 \begin_inset space ~
38784 \end_inset
38785
38786 Break Inserts a forced page break that shares the extra space among paragraph
38787  breaks instead of leaving it at the bottom of the page, as described in
38788  section
38789 \begin_inset space ~
38790 \end_inset
38791
38792
38793 \begin_inset CommandInset ref
38794 LatexCommand ref
38795 reference "subsec:Forced-Page-Breaks"
38796
38797 \end_inset
38798
38799 .
38800 \end_layout
38801
38802 \begin_layout Description
38803 Clear
38804 \begin_inset space ~
38805 \end_inset
38806
38807 Page Inserts a clear page break as described in section
38808 \begin_inset space ~
38809 \end_inset
38810
38811
38812 \begin_inset CommandInset ref
38813 LatexCommand ref
38814 reference "subsec:Clear-Page-Breaks"
38815
38816 \end_inset
38817
38818 .
38819 \end_layout
38820
38821 \begin_layout Description
38822 Clear
38823 \begin_inset space ~
38824 \end_inset
38825
38826 Double
38827 \begin_inset space ~
38828 \end_inset
38829
38830 Page Inserts a clear doublepage break as described in section
38831 \begin_inset space ~
38832 \end_inset
38833
38834
38835 \begin_inset CommandInset ref
38836 LatexCommand ref
38837 reference "subsec:Clear-Page-Breaks"
38838
38839 \end_inset
38840
38841 .
38842 \end_layout
38843
38844 \begin_layout Subsection
38845 List/TOC
38846 \end_layout
38847
38848 \begin_layout Standard
38849 Various lists can be inserted with this menu entry.
38850  The 
38851 \family sans
38852 Table
38853 \begin_inset space ~
38854 \end_inset
38855
38856 of Contents
38857 \family default
38858 , the 
38859 \family sans
38860 List of Algorithms
38861 \family default
38862
38863 \family sans
38864 List of Figures,
38865 \family default
38866  
38867 \family sans
38868 List of Tables
38869 \family default
38870  and 
38871 \family sans
38872 List of Listings
38873 \family default
38874  are described in section
38875 \begin_inset space ~
38876 \end_inset
38877
38878
38879 \begin_inset CommandInset ref
38880 LatexCommand ref
38881 reference "sec:toc"
38882
38883 \end_inset
38884
38885 .
38886  The 
38887 \family sans
38888 Index List
38889 \family default
38890  is described in section
38891 \begin_inset space ~
38892 \end_inset
38893
38894
38895 \begin_inset CommandInset ref
38896 LatexCommand ref
38897 reference "sec:Index"
38898
38899 \end_inset
38900
38901 , the 
38902 \family sans
38903 Nomenclature
38904 \family default
38905  is described in section
38906 \begin_inset space ~
38907 \end_inset
38908
38909
38910 \begin_inset CommandInset ref
38911 LatexCommand ref
38912 reference "sec:Nomenclature"
38913
38914 \end_inset
38915
38916  and the 
38917 \family sans
38918 Bib\SpecialChar TeX
38919  Bibliography
38920 \family default
38921  is described in section
38922 \begin_inset space ~
38923 \end_inset
38924
38925
38926 \begin_inset CommandInset ref
38927 LatexCommand ref
38928 reference "subsec:Bibliography-databases"
38929
38930 \end_inset
38931
38932 .
38933 \end_layout
38934
38935 \begin_layout Subsection
38936 Float
38937 \end_layout
38938
38939 \begin_layout Standard
38940 To insert floats, as described in section
38941 \begin_inset space ~
38942 \end_inset
38943
38944
38945 \begin_inset CommandInset ref
38946 LatexCommand ref
38947 reference "sec:Floats"
38948
38949 \end_inset
38950
38951  and in detail the chapter 
38952 \emph on
38953 Floats
38954 \emph default
38955  of the 
38956 \emph on
38957 Embedded
38958 \begin_inset space ~
38959 \end_inset
38960
38961 Objects
38962 \emph default
38963  manual.
38964 \end_layout
38965
38966 \begin_layout Subsection
38967 Note
38968 \end_layout
38969
38970 \begin_layout Standard
38971 To insert notes, described in section
38972 \begin_inset space ~
38973 \end_inset
38974
38975
38976 \begin_inset CommandInset ref
38977 LatexCommand ref
38978 reference "sec:Notes"
38979
38980 \end_inset
38981
38982 .
38983 \end_layout
38984
38985 \begin_layout Subsection
38986 Branch
38987 \end_layout
38988
38989 \begin_layout Standard
38990 Inserts a branch inset, if any, and allowing you to create and insert a
38991  new branch.
38992  Branches are described in section
38993 \begin_inset space ~
38994 \end_inset
38995
38996
38997 \begin_inset CommandInset ref
38998 LatexCommand ref
38999 reference "sec:Branches"
39000
39001 \end_inset
39002
39003 .
39004 \end_layout
39005
39006 \begin_layout Subsection
39007 Custom Insets
39008 \end_layout
39009
39010 \begin_layout Standard
39011 Inserts document class-specific insets.
39012  Such insets only exist if they are defined in the layout file for a certain
39013  document class.
39014  An example is the document class 
39015 \begin_inset Quotes eld
39016 \end_inset
39017
39018 article (Elsevier)
39019 \begin_inset Quotes erd
39020 \end_inset
39021
39022  with three custom insets.
39023  The section 
39024 \emph on
39025 Flex insets and InsetLayout
39026 \emph default
39027  in 
39028 \emph on
39029 Installing New Document Classes, The Layout file format 
39030 \emph default
39031 of the 
39032 \emph on
39033 Customization
39034 \emph default
39035  manual explains how custom insets are defined.
39036 \end_layout
39037
39038 \begin_layout Subsection
39039 File
39040 \begin_inset Index idx
39041 status collapsed
39042
39043 \begin_layout Plain Layout
39044 External Material
39045 \end_layout
39046
39047 \end_inset
39048
39049
39050 \end_layout
39051
39052 \begin_layout Standard
39053 This menu entry allows you to insert or include the contents of other files
39054  in your document.
39055  For more information see chapter 
39056 \emph on
39057 External Document Parts
39058 \emph default
39059  of the Embedded
39060 \begin_inset space ~
39061 \end_inset
39062
39063 Objects manual.
39064 \end_layout
39065
39066 \begin_layout Subsection
39067 Box
39068 \begin_inset Index idx
39069 status collapsed
39070
39071 \begin_layout Plain Layout
39072 Boxes
39073 \end_layout
39074
39075 \end_inset
39076
39077
39078 \end_layout
39079
39080 \begin_layout Standard
39081 Inserts a box in a certain style.
39082  Boxes are described in detail in the chapter 
39083 \emph on
39084 Boxes
39085 \emph default
39086  of the 
39087 \emph on
39088 Embedded
39089 \begin_inset space ~
39090 \end_inset
39091
39092 Objects
39093 \emph default
39094  manual.
39095 \end_layout
39096
39097 \begin_layout Subsection
39098 Citation
39099 \end_layout
39100
39101 \begin_layout Standard
39102 Opens the 
39103 \family sans
39104 Citation
39105 \family default
39106  dialog as described in section
39107 \begin_inset space ~
39108 \end_inset
39109
39110
39111 \begin_inset CommandInset ref
39112 LatexCommand ref
39113 reference "sec:Bibliography"
39114
39115 \end_inset
39116
39117 .
39118 \end_layout
39119
39120 \begin_layout Subsection
39121 Cross-Reference
39122 \end_layout
39123
39124 \begin_layout Standard
39125 Inserts a 
39126 \family sans
39127 cross-reference
39128 \family default
39129  as described in section
39130 \begin_inset space ~
39131 \end_inset
39132
39133
39134 \begin_inset CommandInset ref
39135 LatexCommand ref
39136 reference "sec:Cross-References"
39137
39138 \end_inset
39139
39140 .
39141 \end_layout
39142
39143 \begin_layout Subsection
39144 Label
39145 \end_layout
39146
39147 \begin_layout Standard
39148 Inserts a 
39149 \family sans
39150 label
39151 \family default
39152  as described in section
39153 \begin_inset space ~
39154 \end_inset
39155
39156
39157 \begin_inset CommandInset ref
39158 LatexCommand ref
39159 reference "sec:Cross-References"
39160
39161 \end_inset
39162
39163 .
39164 \end_layout
39165
39166 \begin_layout Subsection
39167 Caption
39168 \begin_inset Index idx
39169 status collapsed
39170
39171 \begin_layout Plain Layout
39172 Captions
39173 \end_layout
39174
39175 \end_inset
39176
39177
39178 \begin_inset Index idx
39179 status collapsed
39180
39181 \begin_layout Plain Layout
39182 Tables ! Multi-page ! Caption
39183 \end_layout
39184
39185 \end_inset
39186
39187
39188 \end_layout
39189
39190 \begin_layout Standard
39191 Inserts a caption in a float or multi-page table.
39192  Floats are described in section
39193 \begin_inset space ~
39194 \end_inset
39195
39196
39197 \begin_inset CommandInset ref
39198 LatexCommand ref
39199 reference "sec:Floats"
39200
39201 \end_inset
39202
39203 ; captions in multi-page tables are described in the section 
39204 \emph on
39205 Multi-page Captions
39206 \emph default
39207  of the 
39208 \emph on
39209 Embedded
39210 \begin_inset space ~
39211 \end_inset
39212
39213 Objects
39214 \emph default
39215  manual.
39216 \end_layout
39217
39218 \begin_layout Subsection
39219 Index Entry
39220 \end_layout
39221
39222 \begin_layout Standard
39223 Inserts an index entry as described in section
39224 \begin_inset space ~
39225 \end_inset
39226
39227
39228 \begin_inset CommandInset ref
39229 LatexCommand ref
39230 reference "sec:Index"
39231
39232 \end_inset
39233
39234 .
39235 \end_layout
39236
39237 \begin_layout Subsection
39238 Nomenclature Entry
39239 \end_layout
39240
39241 \begin_layout Standard
39242 Inserts a nomenclature entry as described in section
39243 \begin_inset space ~
39244 \end_inset
39245
39246
39247 \begin_inset CommandInset ref
39248 LatexCommand ref
39249 reference "sec:Nomenclature"
39250
39251 \end_inset
39252
39253 .
39254 \end_layout
39255
39256 \begin_layout Subsection
39257 Table
39258 \end_layout
39259
39260 \begin_layout Standard
39261 Opens a dialog allowing you to specify the rows and columns of the table.
39262  Tables are described in section
39263 \begin_inset space ~
39264 \end_inset
39265
39266
39267 \begin_inset CommandInset ref
39268 LatexCommand ref
39269 reference "sec:Tables"
39270
39271 \end_inset
39272
39273  and in detail in the chapter 
39274 \emph on
39275 Tables
39276 \emph default
39277  of the 
39278 \emph on
39279 Embedded
39280 \begin_inset space ~
39281 \end_inset
39282
39283 Objects
39284 \emph default
39285  manual.
39286 \end_layout
39287
39288 \begin_layout Subsection
39289 Graphics
39290 \end_layout
39291
39292 \begin_layout Standard
39293 Opens the 
39294 \family sans
39295 Graphics
39296 \family default
39297  dialog.
39298  Graphics are described in section
39299 \begin_inset space ~
39300 \end_inset
39301
39302
39303 \begin_inset CommandInset ref
39304 LatexCommand ref
39305 reference "sec:Graphics"
39306
39307 \end_inset
39308
39309 .
39310 \end_layout
39311
39312 \begin_layout Subsection
39313 URL
39314 \end_layout
39315
39316 \begin_layout Standard
39317 Inserts a URL as described in section
39318 \begin_inset space ~
39319 \end_inset
39320
39321
39322 \begin_inset CommandInset ref
39323 LatexCommand ref
39324 reference "subsec:URLs"
39325
39326 \end_inset
39327
39328 .
39329 \end_layout
39330
39331 \begin_layout Subsection
39332 Hyperlink
39333 \end_layout
39334
39335 \begin_layout Standard
39336 Inserts a hyperlink as described in section
39337 \begin_inset space ~
39338 \end_inset
39339
39340
39341 \begin_inset CommandInset ref
39342 LatexCommand ref
39343 reference "subsec:Hyperlinks"
39344
39345 \end_inset
39346
39347 .
39348 \end_layout
39349
39350 \begin_layout Subsection
39351 Footnote
39352 \end_layout
39353
39354 \begin_layout Standard
39355 Inserts a footnote as described in section
39356 \begin_inset space ~
39357 \end_inset
39358
39359
39360 \begin_inset CommandInset ref
39361 LatexCommand ref
39362 reference "sec:Footnotes"
39363
39364 \end_inset
39365
39366 .
39367 \end_layout
39368
39369 \begin_layout Subsection
39370 Marginal Note
39371 \end_layout
39372
39373 \begin_layout Standard
39374 Inserts a marginal note as described in section
39375 \begin_inset space ~
39376 \end_inset
39377
39378
39379 \begin_inset CommandInset ref
39380 LatexCommand ref
39381 reference "sec:Marginal-Notes"
39382
39383 \end_inset
39384
39385 .
39386 \end_layout
39387
39388 \begin_layout Subsection
39389 Short Title
39390 \end_layout
39391
39392 \begin_layout Standard
39393 Is only visible if the cursor is in front, in or behind a section heading,
39394  title or caption of a float.
39395  Inserts a short title as described in section
39396 \begin_inset space ~
39397 \end_inset
39398
39399
39400 \begin_inset CommandInset ref
39401 LatexCommand ref
39402 reference "sec:Short-Titles"
39403
39404 \end_inset
39405
39406 .
39407 \end_layout
39408
39409 \begin_layout Subsection
39410 \SpecialChar TeX
39411  Code
39412 \end_layout
39413
39414 \begin_layout Standard
39415 Inserts a \SpecialChar TeX
39416  Code box as described in section
39417 \begin_inset space ~
39418 \end_inset
39419
39420
39421 \begin_inset CommandInset ref
39422 LatexCommand ref
39423 reference "subsec:TeX-Code-Boxes"
39424
39425 \end_inset
39426
39427 .
39428 \end_layout
39429
39430 \begin_layout Subsection
39431 Program Listing
39432 \begin_inset Index idx
39433 status collapsed
39434
39435 \begin_layout Plain Layout
39436 Program listings
39437 \end_layout
39438
39439 \end_inset
39440
39441
39442 \end_layout
39443
39444 \begin_layout Standard
39445 Inserts a program listings box.
39446  Program listings are explained in the chapter 
39447 \emph on
39448 Program Code Listings
39449 \emph default
39450  of the 
39451 \emph on
39452 Embedded
39453 \begin_inset space ~
39454 \end_inset
39455
39456 Objects
39457 \emph default
39458  manual.
39459 \end_layout
39460
39461 \begin_layout Subsection
39462 Date
39463 \end_layout
39464
39465 \begin_layout Standard
39466 Inserts the actual date.
39467  The format depends on the date format of the language that is used for
39468  \SpecialChar LyX
39469 's menus.
39470 \end_layout
39471
39472 \begin_layout Subsection
39473 Preview
39474 \end_layout
39475
39476 \begin_layout Standard
39477 Inserts a preview inset as described in section
39478 \begin_inset space ~
39479 \end_inset
39480
39481
39482 \begin_inset CommandInset ref
39483 LatexCommand ref
39484 reference "sec:Previewing-snippets-of"
39485
39486 \end_inset
39487
39488 .
39489 \end_layout
39490
39491 \begin_layout Section
39492 The Navigate Menu
39493 \begin_inset Index idx
39494 status collapsed
39495
39496 \begin_layout Plain Layout
39497 Menu ! Navigate
39498 \end_layout
39499
39500 \end_inset
39501
39502
39503 \end_layout
39504
39505 \begin_layout Standard
39506 This menu lists the existing chapters, sections, figures, tables, etc.
39507 \begin_inset space ~
39508 \end_inset
39509
39510 of the current document.
39511  This allows you to navigate easily through your document.
39512 \end_layout
39513
39514 \begin_layout Subsection
39515 Bookmarks
39516 \end_layout
39517
39518 \begin_layout Standard
39519 With this menu entry you are able to define your own bookmarks.
39520  This is useful when you are working on a large document and often have
39521  to jump, for example, between section
39522 \begin_inset space ~
39523 \end_inset
39524
39525 2.5 and 6.3.
39526  To create bookmarks for this example, go to section
39527 \begin_inset space ~
39528 \end_inset
39529
39530 2.5 and use the submenu 
39531 \family sans
39532 Save
39533 \begin_inset space ~
39534 \end_inset
39535
39536 Bookmark
39537 \begin_inset space ~
39538 \end_inset
39539
39540 1
39541 \family default
39542 .
39543  Then go to section
39544 \begin_inset space ~
39545 \end_inset
39546
39547 6.3 and use 
39548 \family sans
39549 Save
39550 \begin_inset space ~
39551 \end_inset
39552
39553 Bookmark
39554 \begin_inset space ~
39555 \end_inset
39556
39557
39558 \family default
39559 2.
39560  Now you can jump easily between these sections by using the menu or by
39561  the key bindings 
39562 \begin_inset Info
39563 type  "shortcut"
39564 arg   "bookmark-goto 1"
39565 \end_inset
39566
39567  and 
39568 \begin_inset Info
39569 type  "shortcut"
39570 arg   "bookmark-goto 2"
39571 \end_inset
39572
39573 .You can also use bookmarks to jump between several opened documents.
39574 \end_layout
39575
39576 \begin_layout Standard
39577 The saved bookmarks are valid till the document is closed.
39578  The submenu 
39579 \family sans
39580 Clear
39581 \begin_inset space ~
39582 \end_inset
39583
39584 Bookmarks
39585 \family default
39586  allows you to clear bookmarks while the submenu 
39587 \family sans
39588 Navigate
39589 \begin_inset space ~
39590 \end_inset
39591
39592 Back
39593 \family default
39594  jumps to the position in the document where you recently changed something.
39595 \end_layout
39596
39597 \begin_layout Subsection
39598 Next Note, Change, Cross-reference
39599 \end_layout
39600
39601 \begin_layout Standard
39602 Jump to the next note, change, or cross-reference after the current cursor
39603  position.
39604 \end_layout
39605
39606 \begin_layout Subsection
39607 Go to Label
39608 \end_layout
39609
39610 \begin_layout Standard
39611 Only active if the cursor is in front of a cross-reference.
39612  Sets the cursor before the referenced label.
39613  (It is the same as if you right-click on a cross-reference box and use
39614  
39615 \family sans
39616 Go
39617 \begin_inset space ~
39618 \end_inset
39619
39620 to
39621 \begin_inset space ~
39622 \end_inset
39623
39624 Label)
39625 \family default
39626 .
39627 \end_layout
39628
39629 \begin_layout Subsection
39630 Forward Search
39631 \end_layout
39632
39633 \begin_layout Standard
39634 Allows you to jump directly to the corresponding text part in the output,
39635  see section 
39636 \emph on
39637 The \SpecialChar LyX
39638  Server\SpecialChar menuseparator
39639 Forward
39640 \begin_inset space ~
39641 \end_inset
39642
39643 search
39644 \emph default
39645  in the 
39646 \emph on
39647 Additional
39648 \begin_inset space ~
39649 \end_inset
39650
39651 Features
39652 \emph default
39653  manual for a detailed description.
39654 \end_layout
39655
39656 \begin_layout Section
39657 The Document Menu
39658 \begin_inset Index idx
39659 status collapsed
39660
39661 \begin_layout Plain Layout
39662 Menu ! Document
39663 \end_layout
39664
39665 \end_inset
39666
39667
39668 \end_layout
39669
39670 \begin_layout Subsection
39671 Change Tracking
39672 \end_layout
39673
39674 \begin_layout Standard
39675 Change Tracking is described in section
39676 \begin_inset space ~
39677 \end_inset
39678
39679
39680 \begin_inset CommandInset ref
39681 LatexCommand ref
39682 reference "sec:Change-Tracking"
39683
39684 \end_inset
39685
39686 .
39687 \end_layout
39688
39689 \begin_layout Subsection
39690 La
39691 \family sans
39692 TeX
39693 \family default
39694  Log
39695 \end_layout
39696
39697 \begin_layout Standard
39698 After running \SpecialChar LaTeX
39699  by viewing or exporting a document, this menu will be enabled.
39700  It shows the logfile of the \SpecialChar LaTeX
39701 -program used.
39702  You can go to the next error or the next warning, search, copy something
39703  to the clipboard or update the view.
39704 \begin_inset Newline newline
39705 \end_inset
39706
39707 With the help of the logfile, experts can find reasons for \SpecialChar LaTeX
39708 -errors.
39709 \end_layout
39710
39711 \begin_layout Standard
39712 With the button 
39713 \family sans
39714 Open Containing Directory
39715 \family default
39716  one can open \SpecialChar LyX
39717 's temporary folder for the document.
39718  This folder contains all converted and created files to generate the output.
39719  Some of these files might be of interest for experts to solve problems
39720  or for writers who need to supply intermediate files.
39721  For example some journals require to send the 
39722 \family sans
39723 *.bbl
39724 \family default
39725  file (a text file with the used Bib\SpecialChar TeX
39726  references).
39727 \end_layout
39728
39729 \begin_layout Subsection
39730 Start Appendix Here
39731 \end_layout
39732
39733 \begin_layout Standard
39734 Sets the start of the appendices of the document at the current cursor position
39735  as described in section
39736 \begin_inset space ~
39737 \end_inset
39738
39739
39740 \begin_inset CommandInset ref
39741 LatexCommand ref
39742 reference "sec:Appendices"
39743
39744 \end_inset
39745
39746 .
39747 \end_layout
39748
39749 \begin_layout Subsection
39750 View
39751 \begin_inset space ~
39752 \end_inset
39753
39754 [<output format>]
39755 \end_layout
39756
39757 \begin_layout Standard
39758 This menu entry generates the output in the format you have specified as
39759  default output format for the document (menu 
39760 \family sans
39761 Document\SpecialChar menuseparator
39762 Settings\SpecialChar menuseparator
39763 Output\SpecialChar menuseparator
39764 Default
39765 \begin_inset space ~
39766 \end_inset
39767
39768 Output
39769 \begin_inset space ~
39770 \end_inset
39771
39772 Format
39773 \family default
39774 ; see section
39775 \begin_inset space ~
39776 \end_inset
39777
39778
39779 \begin_inset CommandInset ref
39780 LatexCommand ref
39781 reference "sec:Doc-Formats"
39782
39783 \end_inset
39784
39785 ) or in the \SpecialChar LyX
39786  preferences (menu 
39787 \family sans
39788 Tools\SpecialChar menuseparator
39789 Preferences\SpecialChar menuseparator
39790 File
39791 \begin_inset space ~
39792 \end_inset
39793
39794 Handling\SpecialChar menuseparator
39795 File
39796 \begin_inset space ~
39797 \end_inset
39798
39799 Formats\SpecialChar menuseparator
39800 Default
39801 \begin_inset space ~
39802 \end_inset
39803
39804 Output
39805 \begin_inset space ~
39806 \end_inset
39807
39808 Format
39809 \family default
39810 ; see section
39811 \begin_inset space ~
39812 \end_inset
39813
39814
39815 \begin_inset CommandInset ref
39816 LatexCommand ref
39817 reference "sec:File-Formats"
39818
39819 \end_inset
39820
39821 ) and opens it in an appropriate viewer.
39822  The viewer can be set or changed in the preferences (menu 
39823 \family sans
39824 Tools\SpecialChar menuseparator
39825 Preferences\SpecialChar menuseparator
39826 File
39827 \begin_inset space ~
39828 \end_inset
39829
39830 Handling\SpecialChar menuseparator
39831 File
39832 \begin_inset space ~
39833 \end_inset
39834
39835 Formats\SpecialChar menuseparator
39836 Viewer
39837 \family default
39838 ; see section
39839 \begin_inset space ~
39840 \end_inset
39841
39842
39843 \begin_inset CommandInset ref
39844 LatexCommand ref
39845 reference "sec:File-Formats"
39846
39847 \end_inset
39848
39849 ).
39850  The default viewers are set by \SpecialChar LyX
39851  when it is first configured.
39852  The default output format is 
39853 \family sans
39854 PDF
39855 \begin_inset space ~
39856 \end_inset
39857
39858 (pdflatex)
39859 \family default
39860 .
39861 \end_layout
39862
39863 \begin_layout Subsection
39864 View (Other Formats)
39865 \end_layout
39866
39867 \begin_layout Standard
39868 With this menu you can view your document in alternative output formats.
39869  The menu contains a list of available formats in which you can view the
39870  actual document with an external program.
39871  The menu entries are not the same on all installations — it depends on
39872  the \SpecialChar LaTeX
39873  programs that are found when \SpecialChar LyX
39874  was configured.
39875  All possible formats are listed in section
39876 \begin_inset space ~
39877 \end_inset
39878
39879
39880 \begin_inset CommandInset ref
39881 LatexCommand ref
39882 reference "subsec:Export"
39883
39884 \end_inset
39885
39886 .
39887  You should at least see the menu entry 
39888 \family sans
39889 DVI
39890 \family default
39891 .
39892  If it is missing, you need to update or repair your \SpecialChar LaTeX
39893  installation.
39894  After updating you have to reconfigure \SpecialChar LyX
39895  (see section
39896 \begin_inset space ~
39897 \end_inset
39898
39899
39900 \begin_inset CommandInset ref
39901 LatexCommand ref
39902 reference "sec:Basic-LyX-Setup"
39903
39904 \end_inset
39905
39906 .
39907 \begin_inset Index idx
39908 status collapsed
39909
39910 \begin_layout Plain Layout
39911 Reconfiguration of \SpecialChar LyX
39912
39913 \end_layout
39914
39915 \end_inset
39916
39917 )
39918 \end_layout
39919
39920 \begin_layout Standard
39921 Invoking a view menu will start a viewer program.
39922  The viewer can be set or changed in the preferences (menu 
39923 \family sans
39924 Tools\SpecialChar menuseparator
39925 Preferences\SpecialChar menuseparator
39926 File
39927 \begin_inset space ~
39928 \end_inset
39929
39930 Handling\SpecialChar menuseparator
39931 File
39932 \begin_inset space ~
39933 \end_inset
39934
39935 Formats\SpecialChar menuseparator
39936 Viewer
39937 \family default
39938 ; see section
39939 \begin_inset space ~
39940 \end_inset
39941
39942
39943 \begin_inset CommandInset ref
39944 LatexCommand ref
39945 reference "sec:File-Formats"
39946
39947 \end_inset
39948
39949 ).
39950  The default viewers are set by \SpecialChar LyX
39951  when it is first configured.
39952 \end_layout
39953
39954 \begin_layout Subsection
39955 Update
39956 \begin_inset space ~
39957 \end_inset
39958
39959 [<output format>]
39960 \end_layout
39961
39962 \begin_layout Standard
39963 This menu entry allows you to update the view with your latest changes (in
39964  the default output format) without opening a new viewer window.
39965 \end_layout
39966
39967 \begin_layout Subsection
39968 Update (Other Formats)
39969 \end_layout
39970
39971 \begin_layout Standard
39972 With this menu you can update the view of alternative output formats of
39973  your document without opening a new viewer window.
39974 \end_layout
39975
39976 \begin_layout Subsection
39977 View Master Document
39978 \end_layout
39979
39980 \begin_layout Standard
39981 This menu item is only visible if your document is included to another document,
39982  which is then its 
39983 \begin_inset Quotes eld
39984 \end_inset
39985
39986 master
39987 \begin_inset Quotes erd
39988 \end_inset
39989
39990  (see section 
39991 \emph on
39992 Child Documents
39993 \emph default
39994  in the 
39995 \emph on
39996 Embedded
39997 \begin_inset space ~
39998 \end_inset
39999
40000 Objects
40001 \emph default
40002  manual for more information on this topic).
40003  This item allows you to view the master document from within its child.
40004  That is, if you are working on a child document which is a chapter of a
40005  book, 
40006 \family sans
40007 View
40008 \begin_inset space ~
40009 \end_inset
40010
40011 Master
40012 \begin_inset space ~
40013 \end_inset
40014
40015 Document
40016 \family default
40017  generates the output of the whole book, while 
40018 \family sans
40019 View
40020 \family default
40021  will just output the chapter alone.
40022 \end_layout
40023
40024 \begin_layout Standard
40025 The format used by this function is the default output format as specified
40026  in the document settings (menu 
40027 \family sans
40028 Document\SpecialChar menuseparator
40029 Settings\SpecialChar menuseparator
40030 Output\SpecialChar menuseparator
40031 Default
40032 \begin_inset space ~
40033 \end_inset
40034
40035 Output
40036 \begin_inset space ~
40037 \end_inset
40038
40039 Format
40040 \family default
40041 ; see section
40042 \begin_inset space ~
40043 \end_inset
40044
40045
40046 \begin_inset CommandInset ref
40047 LatexCommand ref
40048 reference "sec:Doc-Formats"
40049
40050 \end_inset
40051
40052 ) or in the preferences (menu 
40053 \family sans
40054 Tools\SpecialChar menuseparator
40055 Preferences\SpecialChar menuseparator
40056 File
40057 \begin_inset space ~
40058 \end_inset
40059
40060 Handling\SpecialChar menuseparator
40061 File
40062 \begin_inset space ~
40063 \end_inset
40064
40065 Formats\SpecialChar menuseparator
40066 Default
40067 \begin_inset space ~
40068 \end_inset
40069
40070 Output
40071 \begin_inset space ~
40072 \end_inset
40073
40074 Format
40075 \family default
40076 ; see section
40077 \begin_inset space ~
40078 \end_inset
40079
40080
40081 \begin_inset CommandInset ref
40082 LatexCommand ref
40083 reference "sec:File-Formats"
40084
40085 \end_inset
40086
40087 ).
40088 \end_layout
40089
40090 \begin_layout Subsection
40091 Update Master Document
40092 \end_layout
40093
40094 \begin_layout Standard
40095 This menu item is only visible if your document is included to another document,
40096  which is then its 
40097 \begin_inset Quotes eld
40098 \end_inset
40099
40100 master
40101 \begin_inset Quotes erd
40102 \end_inset
40103
40104  (see section 
40105 \emph on
40106 Child Documents
40107 \emph default
40108  in the 
40109 \emph on
40110 Embedded
40111 \begin_inset space ~
40112 \end_inset
40113
40114 Objects
40115 \emph default
40116  manual for more information on this topic).
40117  This item allows you to update the view of a master document from within
40118  its child without the need to switch to the master document itself.
40119 \end_layout
40120
40121 \begin_layout Standard
40122 The format used by this function is the default output format as specified
40123  in the document settings (menu 
40124 \family sans
40125 Document\SpecialChar menuseparator
40126 Settings\SpecialChar menuseparator
40127 Output\SpecialChar menuseparator
40128 Default
40129 \begin_inset space ~
40130 \end_inset
40131
40132 Output
40133 \begin_inset space ~
40134 \end_inset
40135
40136 Format
40137 \family default
40138 ; see section
40139 \begin_inset space ~
40140 \end_inset
40141
40142
40143 \begin_inset CommandInset ref
40144 LatexCommand ref
40145 reference "sec:Doc-Formats"
40146
40147 \end_inset
40148
40149 ) or in the preferences (menu 
40150 \family sans
40151 Tools\SpecialChar menuseparator
40152 Preferences\SpecialChar menuseparator
40153 File
40154 \begin_inset space ~
40155 \end_inset
40156
40157 Handling\SpecialChar menuseparator
40158 File
40159 \begin_inset space ~
40160 \end_inset
40161
40162 Formats\SpecialChar menuseparator
40163 Default
40164 \begin_inset space ~
40165 \end_inset
40166
40167 Output
40168 \begin_inset space ~
40169 \end_inset
40170
40171 Format
40172 \family default
40173 ; see section
40174 \begin_inset space ~
40175 \end_inset
40176
40177
40178 \begin_inset CommandInset ref
40179 LatexCommand ref
40180 reference "sec:File-Formats"
40181
40182 \end_inset
40183
40184 ).
40185 \end_layout
40186
40187 \begin_layout Subsection
40188 Compressed
40189 \begin_inset CommandInset label
40190 LatexCommand label
40191 name "subsec:Compressed"
40192
40193 \end_inset
40194
40195
40196 \end_layout
40197
40198 \begin_layout Standard
40199 Un/compresses the current document.
40200  For documents under version control it is strongly recommended to disable
40201  compression (see the 
40202 \emph on
40203 Additional Features
40204 \emph default
40205  manual for details).
40206 \end_layout
40207
40208 \begin_layout Subsection
40209 Disable Editing
40210 \end_layout
40211
40212 \begin_layout Standard
40213 Toggles the read-only state for the document.
40214 \end_layout
40215
40216 \begin_layout Subsection
40217 Settings
40218 \end_layout
40219
40220 \begin_layout Standard
40221 The document settings are described in appendix
40222 \begin_inset space ~
40223 \end_inset
40224
40225
40226 \begin_inset CommandInset ref
40227 LatexCommand ref
40228 reference "chap:The-Document-Settings"
40229
40230 \end_inset
40231
40232 .
40233 \end_layout
40234
40235 \begin_layout Section
40236 The Tools Menu
40237 \begin_inset Index idx
40238 status collapsed
40239
40240 \begin_layout Plain Layout
40241 Menu ! Tools
40242 \end_layout
40243
40244 \end_inset
40245
40246
40247 \end_layout
40248
40249 \begin_layout Subsection
40250 Spellchecker
40251 \end_layout
40252
40253 \begin_layout Standard
40254 Spell checking is explained in section
40255 \begin_inset space ~
40256 \end_inset
40257
40258
40259 \begin_inset CommandInset ref
40260 LatexCommand ref
40261 reference "sec:Spellchecking"
40262
40263 \end_inset
40264
40265 .
40266 \end_layout
40267
40268 \begin_layout Subsection
40269 Thesaurus
40270 \end_layout
40271
40272 \begin_layout Standard
40273 The thesaurus is described in section
40274 \begin_inset space ~
40275 \end_inset
40276
40277
40278 \begin_inset CommandInset ref
40279 LatexCommand ref
40280 reference "sec:Thesaurus"
40281
40282 \end_inset
40283
40284 .
40285 \end_layout
40286
40287 \begin_layout Subsection
40288 Statistics
40289 \begin_inset Index idx
40290 status collapsed
40291
40292 \begin_layout Plain Layout
40293 Word count
40294 \end_layout
40295
40296 \end_inset
40297
40298
40299 \begin_inset Index idx
40300 status collapsed
40301
40302 \begin_layout Plain Layout
40303 Character count
40304 \end_layout
40305
40306 \end_inset
40307
40308
40309 \end_layout
40310
40311 \begin_layout Standard
40312 Returns the number of the words and characters in the actual document or
40313  the highlighted document part.
40314 \end_layout
40315
40316 \begin_layout Subsection
40317 Check 
40318 \family sans
40319 TeX
40320 \family default
40321
40322 \begin_inset Index idx
40323 status collapsed
40324
40325 \begin_layout Plain Layout
40326 Chk\SpecialChar TeX
40327
40328 \end_layout
40329
40330 \end_inset
40331
40332
40333 \end_layout
40334
40335 \begin_layout Standard
40336 Generates with the help of the program 
40337 \family typewriter
40338 Chk\SpecialChar TeX
40339
40340 \family default
40341  a log of possible \SpecialChar LaTeX
40342 -errors and displays it in a dialog.
40343  This feature is not available on Windows.
40344 \end_layout
40345
40346 \begin_layout Subsection
40347
40348 \family sans
40349 TeX
40350 \family default
40351  Information
40352 \begin_inset Index idx
40353 status collapsed
40354
40355 \begin_layout Plain Layout
40356 \SpecialChar TeX
40357  Information
40358 \end_layout
40359
40360 \end_inset
40361
40362
40363 \end_layout
40364
40365 \begin_layout Standard
40366 Shows you a list of the document classes and styles installed in your \SpecialChar LaTeX
40367 -system.
40368  Use the option 
40369 \family sans
40370 Show
40371 \begin_inset space ~
40372 \end_inset
40373
40374 path
40375 \family default
40376  to see the full filename paths.
40377 \end_layout
40378
40379 \begin_layout Subsection
40380 Compare
40381 \begin_inset Index idx
40382 status collapsed
40383
40384 \begin_layout Plain Layout
40385 Compare
40386 \end_layout
40387
40388 \end_inset
40389
40390
40391 \end_layout
40392
40393 \begin_layout Standard
40394 Opens a dialog to compare \SpecialChar LyX
40395  files as described in section
40396 \begin_inset space ~
40397 \end_inset
40398
40399
40400 \begin_inset CommandInset ref
40401 LatexCommand ref
40402 reference "sec:Comparison-of-Documents"
40403
40404 \end_inset
40405
40406 .
40407 \end_layout
40408
40409 \begin_layout Subsection
40410 Reconfigure
40411 \begin_inset Index idx
40412 status collapsed
40413
40414 \begin_layout Plain Layout
40415 \SpecialChar LyX
40416  ! Reconfigure|see
40417 \begin_inset ERT
40418 status collapsed
40419
40420 \begin_layout Plain Layout
40421
40422 {
40423 \end_layout
40424
40425 \end_inset
40426
40427 Reconfiguration of \SpecialChar LyX
40428
40429 \begin_inset ERT
40430 status collapsed
40431
40432 \begin_layout Plain Layout
40433
40434 }
40435 \end_layout
40436
40437 \end_inset
40438
40439
40440 \end_layout
40441
40442 \end_inset
40443
40444
40445 \begin_inset Index idx
40446 status collapsed
40447
40448 \begin_layout Plain Layout
40449 Reconfiguration of \SpecialChar LyX
40450
40451 \end_layout
40452
40453 \end_inset
40454
40455
40456 \end_layout
40457
40458 \begin_layout Standard
40459 Reconfigures \SpecialChar LyX
40460 ; that is, \SpecialChar LyX
40461  looks for \SpecialChar LaTeX
40462 -packages and programs it needs; see
40463  also section
40464 \begin_inset space ~
40465 \end_inset
40466
40467
40468 \begin_inset CommandInset ref
40469 LatexCommand ref
40470 reference "sec:Basic-LyX-Setup"
40471
40472 \end_inset
40473
40474 .
40475 \end_layout
40476
40477 \begin_layout Subsection
40478 Preferences
40479 \end_layout
40480
40481 \begin_layout Standard
40482 Opens the 
40483 \family sans
40484 Preferences
40485 \family default
40486  dialog as described in detail in appendix
40487 \begin_inset space ~
40488 \end_inset
40489
40490
40491 \begin_inset CommandInset ref
40492 LatexCommand ref
40493 reference "chap:The-Preferences-dialog"
40494
40495 \end_inset
40496
40497 .
40498 \end_layout
40499
40500 \begin_layout Section
40501 The Help Menu
40502 \begin_inset Index idx
40503 status collapsed
40504
40505 \begin_layout Plain Layout
40506 Menu ! Help
40507 \end_layout
40508
40509 \end_inset
40510
40511
40512 \end_layout
40513
40514 \begin_layout Standard
40515 This menu lists the documentation files of \SpecialChar LyX
40516  in the language of \SpecialChar LyX
40517 's menus.
40518  If a file is not available in this language, the English version will be
40519  listed.
40520 \end_layout
40521
40522 \begin_layout Standard
40523 The menu 
40524 \family sans
40525 LaTeX
40526 \begin_inset space ~
40527 \end_inset
40528
40529 Configuration
40530 \family default
40531  shows a \SpecialChar LyX
40532  document with information about the \SpecialChar LaTeX
40533  packages and classes found
40534  by \SpecialChar LyX
40535  (see also section
40536 \begin_inset space ~
40537 \end_inset
40538
40539
40540 \begin_inset CommandInset ref
40541 LatexCommand ref
40542 reference "sec:LaTeX-Setup"
40543
40544 \end_inset
40545
40546 ).
40547 \end_layout
40548
40549 \begin_layout Standard
40550 The menu 
40551 \family sans
40552 About
40553 \begin_inset space ~
40554 \end_inset
40555
40556 LyX
40557 \family default
40558  gives information about the copyright, the credits and the \SpecialChar LyX
40559  version you
40560  are using.
40561 \end_layout
40562
40563 \begin_layout Section
40564 Toolbars
40565 \begin_inset CommandInset label
40566 LatexCommand label
40567 name "sec:Toolbars"
40568
40569 \end_inset
40570
40571
40572 \end_layout
40573
40574 \begin_layout Standard
40575 How to show or hide toolbars is explained in section
40576 \begin_inset space ~
40577 \end_inset
40578
40579
40580 \begin_inset CommandInset ref
40581 LatexCommand ref
40582 reference "subsec:Toolbars"
40583
40584 \end_inset
40585
40586 .
40587 \end_layout
40588
40589 \begin_layout Standard
40590 It is also possible to define custom toolbars.
40591  This is described in the 
40592 \emph on
40593 Additional Features
40594 \emph default
40595  manual.
40596 \end_layout
40597
40598 \begin_layout Subsection
40599 Standard Toolbar
40600 \begin_inset Index idx
40601 status collapsed
40602
40603 \begin_layout Plain Layout
40604 Toolbar ! Standard
40605 \end_layout
40606
40607 \end_inset
40608
40609
40610 \end_layout
40611
40612 \begin_layout Standard
40613 \begin_inset Graphics
40614         filename clipart/StandardToolbar.png
40615         width 100col%
40616
40617 \end_inset
40618
40619
40620 \end_layout
40621
40622 \begin_layout Standard
40623 \begin_inset VSpace defskip
40624 \end_inset
40625
40626
40627 \end_layout
40628
40629 \begin_layout Standard
40630 The standard toolbar as shown above contains from left to right the following
40631  buttons:
40632 \begin_inset ERT
40633 status collapsed
40634
40635 \begin_layout Plain Layout
40636
40637
40638 \backslash
40639 setlength{
40640 \backslash
40641 LTleft}{0pt}
40642 \end_layout
40643
40644 \end_inset
40645
40646
40647 \begin_inset Note Note
40648 status collapsed
40649
40650 \begin_layout Plain Layout
40651 This is necessary to left align the following longtables.
40652  See the 
40653 \emph on
40654 Embedded Objects
40655 \emph default
40656  manual for more information.
40657 \end_layout
40658
40659 \end_inset
40660
40661
40662 \end_layout
40663
40664 \begin_layout Standard
40665 \begin_inset VSpace defskip
40666 \end_inset
40667
40668
40669 \end_layout
40670
40671 \begin_layout Standard
40672 \begin_inset Tabular
40673 <lyxtabular version="3" rows="1" columns="2">
40674 <features islongtable="true" longtabularalignment="center">
40675 <column alignment="center" valignment="top">
40676 <column alignment="center" valignment="top">
40677 <row>
40678 <cell alignment="center" valignment="top" usebox="none">
40679 \begin_inset Text
40680
40681 \begin_layout Plain Layout
40682 \begin_inset Graphics
40683         filename clipart/ToolbarEnvBox.png
40684         clip
40685
40686 \end_inset
40687
40688
40689 \end_layout
40690
40691 \end_inset
40692 </cell>
40693 <cell alignment="center" valignment="top" usebox="none">
40694 \begin_inset Text
40695
40696 \begin_layout Plain Layout
40697 pull-down box for the environments
40698 \end_layout
40699
40700 \end_inset
40701 </cell>
40702 </row>
40703 </lyxtabular>
40704
40705 \end_inset
40706
40707
40708 \end_layout
40709
40710 \begin_layout Standard
40711 \begin_inset VSpace -10mm
40712 \end_inset
40713
40714
40715 \end_layout
40716
40717 \begin_layout Standard
40718 \align left
40719 \begin_inset Tabular
40720 <lyxtabular version="3" rows="22" columns="2">
40721 <features islongtable="true" longtabularalignment="center">
40722 <column alignment="left" valignment="top">
40723 <column alignment="left" valignment="top">
40724 <row interlinespace="2.5mm">
40725 <cell alignment="center" valignment="top" usebox="none">
40726 \begin_inset Text
40727
40728 \begin_layout Plain Layout
40729
40730 \family sans
40731 \begin_inset Info
40732 type  "icon"
40733 arg   "buffer-new"
40734 \end_inset
40735
40736
40737 \end_layout
40738
40739 \end_inset
40740 </cell>
40741 <cell alignment="center" valignment="top" usebox="none">
40742 \begin_inset Text
40743
40744 \begin_layout Plain Layout
40745
40746 \family sans
40747 File\SpecialChar menuseparator
40748 New
40749 \end_layout
40750
40751 \end_inset
40752 </cell>
40753 </row>
40754 <row interlinespace="2.5mm">
40755 <cell alignment="center" valignment="top" usebox="none">
40756 \begin_inset Text
40757
40758 \begin_layout Plain Layout
40759
40760 \family sans
40761 \begin_inset Info
40762 type  "icon"
40763 arg   "file-open"
40764 \end_inset
40765
40766
40767 \end_layout
40768
40769 \end_inset
40770 </cell>
40771 <cell alignment="center" valignment="top" usebox="none">
40772 \begin_inset Text
40773
40774 \begin_layout Plain Layout
40775
40776 \family sans
40777 File\SpecialChar menuseparator
40778 Open
40779 \end_layout
40780
40781 \end_inset
40782 </cell>
40783 </row>
40784 <row interlinespace="2.5mm">
40785 <cell alignment="center" valignment="top" usebox="none">
40786 \begin_inset Text
40787
40788 \begin_layout Plain Layout
40789
40790 \family sans
40791 \begin_inset Info
40792 type  "icon"
40793 arg   "buffer-write"
40794 \end_inset
40795
40796
40797 \end_layout
40798
40799 \end_inset
40800 </cell>
40801 <cell alignment="center" valignment="top" usebox="none">
40802 \begin_inset Text
40803
40804 \begin_layout Plain Layout
40805
40806 \family sans
40807 File\SpecialChar menuseparator
40808 Save
40809 \end_layout
40810
40811 \end_inset
40812 </cell>
40813 </row>
40814 <row interlinespace="2.5mm">
40815 <cell alignment="center" valignment="top" usebox="none">
40816 \begin_inset Text
40817
40818 \begin_layout Plain Layout
40819
40820 \family sans
40821 \begin_inset Info
40822 type  "icon"
40823 arg   "dialog-show spellchecker"
40824 \end_inset
40825
40826
40827 \end_layout
40828
40829 \end_inset
40830 </cell>
40831 <cell alignment="center" valignment="top" usebox="none">
40832 \begin_inset Text
40833
40834 \begin_layout Plain Layout
40835
40836 \family sans
40837 Tools\SpecialChar menuseparator
40838 Spellchecker
40839 \end_layout
40840
40841 \end_inset
40842 </cell>
40843 </row>
40844 <row interlinespace="2.5mm">
40845 <cell alignment="center" valignment="top" usebox="none">
40846 \begin_inset Text
40847
40848 \begin_layout Plain Layout
40849
40850 \family sans
40851 \begin_inset Info
40852 type  "icon"
40853 arg   "spelling-continuously"
40854 \end_inset
40855
40856
40857 \end_layout
40858
40859 \end_inset
40860 </cell>
40861 <cell alignment="center" valignment="top" usebox="none">
40862 \begin_inset Text
40863
40864 \begin_layout Plain Layout
40865 Spellcheck continuously
40866 \end_layout
40867
40868 \end_inset
40869 </cell>
40870 </row>
40871 <row interlinespace="2.5mm">
40872 <cell alignment="center" valignment="top" usebox="none">
40873 \begin_inset Text
40874
40875 \begin_layout Plain Layout
40876
40877 \family sans
40878 \begin_inset Info
40879 type  "icon"
40880 arg   "undo"
40881 \end_inset
40882
40883
40884 \end_layout
40885
40886 \end_inset
40887 </cell>
40888 <cell alignment="center" valignment="top" usebox="none">
40889 \begin_inset Text
40890
40891 \begin_layout Plain Layout
40892
40893 \family sans
40894 Edit\SpecialChar menuseparator
40895 Undo
40896 \end_layout
40897
40898 \end_inset
40899 </cell>
40900 </row>
40901 <row interlinespace="2.5mm">
40902 <cell alignment="center" valignment="top" usebox="none">
40903 \begin_inset Text
40904
40905 \begin_layout Plain Layout
40906
40907 \family sans
40908 \begin_inset Info
40909 type  "icon"
40910 arg   "redo"
40911 \end_inset
40912
40913
40914 \end_layout
40915
40916 \end_inset
40917 </cell>
40918 <cell alignment="center" valignment="top" usebox="none">
40919 \begin_inset Text
40920
40921 \begin_layout Plain Layout
40922
40923 \family sans
40924 Edit\SpecialChar menuseparator
40925 Redo
40926 \end_layout
40927
40928 \end_inset
40929 </cell>
40930 </row>
40931 <row interlinespace="2.5mm">
40932 <cell alignment="center" valignment="top" usebox="none">
40933 \begin_inset Text
40934
40935 \begin_layout Plain Layout
40936
40937 \family sans
40938 \begin_inset Info
40939 type  "icon"
40940 arg   "cut"
40941 \end_inset
40942
40943
40944 \end_layout
40945
40946 \end_inset
40947 </cell>
40948 <cell alignment="center" valignment="top" usebox="none">
40949 \begin_inset Text
40950
40951 \begin_layout Plain Layout
40952
40953 \family sans
40954 Edit\SpecialChar menuseparator
40955 Cut
40956 \end_layout
40957
40958 \end_inset
40959 </cell>
40960 </row>
40961 <row interlinespace="2.5mm">
40962 <cell alignment="center" valignment="top" usebox="none">
40963 \begin_inset Text
40964
40965 \begin_layout Plain Layout
40966
40967 \family sans
40968 \begin_inset Info
40969 type  "icon"
40970 arg   "copy"
40971 \end_inset
40972
40973
40974 \end_layout
40975
40976 \end_inset
40977 </cell>
40978 <cell alignment="center" valignment="top" usebox="none">
40979 \begin_inset Text
40980
40981 \begin_layout Plain Layout
40982
40983 \family sans
40984 Edit\SpecialChar menuseparator
40985 Copy
40986 \end_layout
40987
40988 \end_inset
40989 </cell>
40990 </row>
40991 <row interlinespace="2.5mm">
40992 <cell alignment="center" valignment="top" usebox="none">
40993 \begin_inset Text
40994
40995 \begin_layout Plain Layout
40996
40997 \family sans
40998 \begin_inset Info
40999 type  "icon"
41000 arg   "paste"
41001 \end_inset
41002
41003
41004 \end_layout
41005
41006 \end_inset
41007 </cell>
41008 <cell alignment="center" valignment="top" usebox="none">
41009 \begin_inset Text
41010
41011 \begin_layout Plain Layout
41012
41013 \family sans
41014 Edit\SpecialChar menuseparator
41015 Paste
41016 \end_layout
41017
41018 \end_inset
41019 </cell>
41020 </row>
41021 <row interlinespace="2.5mm">
41022 <cell alignment="center" valignment="top" usebox="none">
41023 \begin_inset Text
41024
41025 \begin_layout Plain Layout
41026
41027 \family sans
41028 \begin_inset Info
41029 type  "icon"
41030 arg   "dialog-show findreplace"
41031 \end_inset
41032
41033
41034 \end_layout
41035
41036 \end_inset
41037 </cell>
41038 <cell alignment="center" valignment="top" usebox="none">
41039 \begin_inset Text
41040
41041 \begin_layout Plain Layout
41042
41043 \family sans
41044 Edit\SpecialChar menuseparator
41045 Find
41046 \begin_inset space \thinspace{}
41047 \end_inset
41048
41049 &
41050 \begin_inset space \thinspace{}
41051 \end_inset
41052
41053 Replace
41054 \begin_inset space \thinspace{}
41055 \end_inset
41056
41057 (Quick)
41058 \end_layout
41059
41060 \end_inset
41061 </cell>
41062 </row>
41063 <row interlinespace="2.5mm">
41064 <cell alignment="center" valignment="top" usebox="none">
41065 \begin_inset Text
41066
41067 \begin_layout Plain Layout
41068 \begin_inset Info
41069 type  "icon"
41070 arg   "dialog-toggle findreplaceadv"
41071 \end_inset
41072
41073
41074 \end_layout
41075
41076 \end_inset
41077 </cell>
41078 <cell alignment="center" valignment="top" usebox="none">
41079 \begin_inset Text
41080
41081 \begin_layout Plain Layout
41082
41083 \family sans
41084 Edit\SpecialChar menuseparator
41085 Find
41086 \begin_inset space \thinspace{}
41087 \end_inset
41088
41089 &
41090 \begin_inset space \thinspace{}
41091 \end_inset
41092
41093 Replace
41094 \begin_inset space \thinspace{}
41095 \end_inset
41096
41097 (Advanced)
41098 \end_layout
41099
41100 \end_inset
41101 </cell>
41102 </row>
41103 <row interlinespace="2.5mm">
41104 <cell alignment="center" valignment="top" usebox="none">
41105 \begin_inset Text
41106
41107 \begin_layout Plain Layout
41108
41109 \family sans
41110 \begin_inset Info
41111 type  "icon"
41112 arg   "bookmark-goto 0"
41113 \end_inset
41114
41115
41116 \end_layout
41117
41118 \end_inset
41119 </cell>
41120 <cell alignment="center" valignment="top" usebox="none">
41121 \begin_inset Text
41122
41123 \begin_layout Plain Layout
41124
41125 \family sans
41126 Navigate\SpecialChar menuseparator
41127 Bookmarks\SpecialChar menuseparator
41128 Navigate Back
41129 \end_layout
41130
41131 \end_inset
41132 </cell>
41133 </row>
41134 <row interlinespace="2.5mm">
41135 <cell alignment="center" valignment="top" usebox="none">
41136 \begin_inset Text
41137
41138 \begin_layout Plain Layout
41139
41140 \family sans
41141 \begin_inset Info
41142 type  "icon"
41143 arg   "font-emph"
41144 \end_inset
41145
41146
41147 \end_layout
41148
41149 \end_inset
41150 </cell>
41151 <cell alignment="center" valignment="top" usebox="none">
41152 \begin_inset Text
41153
41154 \begin_layout Plain Layout
41155 Emphasize text, function of the 
41156 \family sans
41157 Edit\SpecialChar menuseparator
41158 Text
41159 \begin_inset space ~
41160 \end_inset
41161
41162 Style\SpecialChar menuseparator
41163 Customized
41164 \family default
41165  dialog
41166 \end_layout
41167
41168 \end_inset
41169 </cell>
41170 </row>
41171 <row interlinespace="2.5mm">
41172 <cell alignment="center" valignment="top" usebox="none">
41173 \begin_inset Text
41174
41175 \begin_layout Plain Layout
41176
41177 \family sans
41178 \begin_inset Info
41179 type  "icon"
41180 arg   "font-noun"
41181 \end_inset
41182
41183
41184 \end_layout
41185
41186 \end_inset
41187 </cell>
41188 <cell alignment="center" valignment="top" usebox="none">
41189 \begin_inset Text
41190
41191 \begin_layout Plain Layout
41192 Set text to noun style, function of the 
41193 \family sans
41194 Edit\SpecialChar menuseparator
41195 Text
41196 \begin_inset space ~
41197 \end_inset
41198
41199 Style\SpecialChar menuseparator
41200 Customized
41201 \family default
41202  dialog
41203 \end_layout
41204
41205 \end_inset
41206 </cell>
41207 </row>
41208 <row interlinespace="2.5mm">
41209 <cell alignment="center" valignment="top" usebox="none">
41210 \begin_inset Text
41211
41212 \begin_layout Plain Layout
41213
41214 \family sans
41215 \begin_inset Info
41216 type  "icon"
41217 arg   "textstyle-apply"
41218 \end_inset
41219
41220
41221 \end_layout
41222
41223 \end_inset
41224 </cell>
41225 <cell alignment="center" valignment="top" usebox="none">
41226 \begin_inset Text
41227
41228 \begin_layout Plain Layout
41229 Format text using the current settings in the 
41230 \family sans
41231 Edit\SpecialChar menuseparator
41232 Text
41233 \begin_inset space ~
41234 \end_inset
41235
41236 Style\SpecialChar menuseparator
41237 Customized
41238 \family default
41239  dialog
41240 \end_layout
41241
41242 \end_inset
41243 </cell>
41244 </row>
41245 <row interlinespace="2.5mm">
41246 <cell alignment="center" valignment="top" usebox="none">
41247 \begin_inset Text
41248
41249 \begin_layout Plain Layout
41250
41251 \family sans
41252 \begin_inset Info
41253 type  "icon"
41254 arg   "math-mode"
41255 \end_inset
41256
41257
41258 \end_layout
41259
41260 \end_inset
41261 </cell>
41262 <cell alignment="center" valignment="top" usebox="none">
41263 \begin_inset Text
41264
41265 \begin_layout Plain Layout
41266
41267 \family sans
41268 Insert\SpecialChar menuseparator
41269 Math\SpecialChar menuseparator
41270 Inline
41271 \begin_inset space ~
41272 \end_inset
41273
41274 Formula
41275 \end_layout
41276
41277 \end_inset
41278 </cell>
41279 </row>
41280 <row interlinespace="2.5mm">
41281 <cell alignment="center" valignment="top" usebox="none">
41282 \begin_inset Text
41283
41284 \begin_layout Plain Layout
41285
41286 \family sans
41287 \begin_inset Info
41288 type  "icon"
41289 arg   "dialog-show-new-inset graphics"
41290 \end_inset
41291
41292
41293 \end_layout
41294
41295 \end_inset
41296 </cell>
41297 <cell alignment="center" valignment="top" usebox="none">
41298 \begin_inset Text
41299
41300 \begin_layout Plain Layout
41301
41302 \family sans
41303 Insert\SpecialChar menuseparator
41304 Graphics
41305 \end_layout
41306
41307 \end_inset
41308 </cell>
41309 </row>
41310 <row interlinespace="2.5mm">
41311 <cell alignment="center" valignment="top" usebox="none">
41312 \begin_inset Text
41313
41314 \begin_layout Plain Layout
41315 \begin_inset Info
41316 type  "icon"
41317 arg   "tabular-insert"
41318 \end_inset
41319
41320
41321 \end_layout
41322
41323 \end_inset
41324 </cell>
41325 <cell alignment="center" valignment="top" usebox="none">
41326 \begin_inset Text
41327
41328 \begin_layout Plain Layout
41329
41330 \family sans
41331 Insert\SpecialChar menuseparator
41332 Table
41333 \end_layout
41334
41335 \end_inset
41336 </cell>
41337 </row>
41338 <row interlinespace="2.5mm">
41339 <cell alignment="center" valignment="top" usebox="none">
41340 \begin_inset Text
41341
41342 \begin_layout Plain Layout
41343
41344 \family sans
41345 \begin_inset Info
41346 type  "icon"
41347 arg   "dialog-toggle toc"
41348 \end_inset
41349
41350
41351 \end_layout
41352
41353 \end_inset
41354 </cell>
41355 <cell alignment="center" valignment="top" usebox="none">
41356 \begin_inset Text
41357
41358 \begin_layout Plain Layout
41359 Toggle outline window on/off, 
41360 \family sans
41361 View\SpecialChar menuseparator
41362 Outline
41363 \end_layout
41364
41365 \end_inset
41366 </cell>
41367 </row>
41368 <row interlinespace="2.5mm">
41369 <cell alignment="center" valignment="top" usebox="none">
41370 \begin_inset Text
41371
41372 \begin_layout Plain Layout
41373
41374 \family sans
41375 \begin_inset Info
41376 type  "icon"
41377 arg   "toolbar-toggle math"
41378 \end_inset
41379
41380
41381 \end_layout
41382
41383 \end_inset
41384 </cell>
41385 <cell alignment="center" valignment="top" usebox="none">
41386 \begin_inset Text
41387
41388 \begin_layout Plain Layout
41389 Toggle math toolbar on/off
41390 \end_layout
41391
41392 \end_inset
41393 </cell>
41394 </row>
41395 <row interlinespace="2.5mm">
41396 <cell alignment="center" valignment="top" usebox="none">
41397 \begin_inset Text
41398
41399 \begin_layout Plain Layout
41400
41401 \family sans
41402 \begin_inset Info
41403 type  "icon"
41404 arg   "toolbar-toggle table"
41405 \end_inset
41406
41407
41408 \end_layout
41409
41410 \end_inset
41411 </cell>
41412 <cell alignment="center" valignment="top" usebox="none">
41413 \begin_inset Text
41414
41415 \begin_layout Plain Layout
41416 Toggle table toolbar on/off
41417 \end_layout
41418
41419 \end_inset
41420 </cell>
41421 </row>
41422 </lyxtabular>
41423
41424 \end_inset
41425
41426
41427 \end_layout
41428
41429 \begin_layout Subsection
41430 Extra Toolbar
41431 \begin_inset Index idx
41432 status collapsed
41433
41434 \begin_layout Plain Layout
41435 Toolbar ! Extra
41436 \end_layout
41437
41438 \end_inset
41439
41440
41441 \end_layout
41442
41443 \begin_layout Standard
41444 \begin_inset Graphics
41445         filename clipart/ExtraToolbar.png
41446         width 100col%
41447
41448 \end_inset
41449
41450
41451 \end_layout
41452
41453 \begin_layout Standard
41454 \begin_inset VSpace defskip
41455 \end_inset
41456
41457
41458 \end_layout
41459
41460 \begin_layout Standard
41461 The extra toolbar as shown above contains from left to right the following
41462  buttons:
41463 \end_layout
41464
41465 \begin_layout Standard
41466 \begin_inset VSpace defskip
41467 \end_inset
41468
41469
41470 \end_layout
41471
41472 \begin_layout Standard
41473 \begin_inset Tabular
41474 <lyxtabular version="3" rows="25" columns="2">
41475 <features islongtable="true" longtabularalignment="center">
41476 <column alignment="left" valignment="top">
41477 <column alignment="left" valignment="top">
41478 <row interlinespace="2.5mm">
41479 <cell alignment="center" valignment="top" usebox="none">
41480 \begin_inset Text
41481
41482 \begin_layout Plain Layout
41483
41484 \family sans
41485 \begin_inset Info
41486 type  "icon"
41487 arg   "layout"
41488 \end_inset
41489
41490
41491 \end_layout
41492
41493 \end_inset
41494 </cell>
41495 <cell alignment="center" valignment="top" usebox="none">
41496 \begin_inset Text
41497
41498 \begin_layout Plain Layout
41499 Default
41500 \end_layout
41501
41502 \end_inset
41503 </cell>
41504 </row>
41505 <row interlinespace="2.5mm">
41506 <cell alignment="center" valignment="top" usebox="none">
41507 \begin_inset Text
41508
41509 \begin_layout Plain Layout
41510
41511 \family sans
41512 \begin_inset Info
41513 type  "icon"
41514 arg   "layout Enumerate"
41515 \end_inset
41516
41517
41518 \end_layout
41519
41520 \end_inset
41521 </cell>
41522 <cell alignment="center" valignment="top" usebox="none">
41523 \begin_inset Text
41524
41525 \begin_layout Plain Layout
41526 Numbered list
41527 \end_layout
41528
41529 \end_inset
41530 </cell>
41531 </row>
41532 <row interlinespace="2.5mm">
41533 <cell alignment="center" valignment="top" usebox="none">
41534 \begin_inset Text
41535
41536 \begin_layout Plain Layout
41537
41538 \family sans
41539 \begin_inset Info
41540 type  "icon"
41541 arg   "layout Itemize"
41542 \end_inset
41543
41544
41545 \end_layout
41546
41547 \end_inset
41548 </cell>
41549 <cell alignment="center" valignment="top" usebox="none">
41550 \begin_inset Text
41551
41552 \begin_layout Plain Layout
41553 Itemized list
41554 \end_layout
41555
41556 \end_inset
41557 </cell>
41558 </row>
41559 <row interlinespace="2.5mm">
41560 <cell alignment="center" valignment="top" usebox="none">
41561 \begin_inset Text
41562
41563 \begin_layout Plain Layout
41564
41565 \family sans
41566 \begin_inset Info
41567 type  "icon"
41568 arg   "layout List"
41569 \end_inset
41570
41571
41572 \end_layout
41573
41574 \end_inset
41575 </cell>
41576 <cell alignment="center" valignment="top" usebox="none">
41577 \begin_inset Text
41578
41579 \begin_layout Plain Layout
41580 List
41581 \end_layout
41582
41583 \end_inset
41584 </cell>
41585 </row>
41586 <row interlinespace="2.5mm">
41587 <cell alignment="center" valignment="top" usebox="none">
41588 \begin_inset Text
41589
41590 \begin_layout Plain Layout
41591
41592 \family sans
41593 \begin_inset Info
41594 type  "icon"
41595 arg   "layout Description"
41596 \end_inset
41597
41598
41599 \end_layout
41600
41601 \end_inset
41602 </cell>
41603 <cell alignment="center" valignment="top" usebox="none">
41604 \begin_inset Text
41605
41606 \begin_layout Plain Layout
41607 Description list
41608 \end_layout
41609
41610 \end_inset
41611 </cell>
41612 </row>
41613 <row interlinespace="2.5mm">
41614 <cell alignment="center" valignment="top" usebox="none">
41615 \begin_inset Text
41616
41617 \begin_layout Plain Layout
41618
41619 \family sans
41620 \begin_inset Info
41621 type  "icon"
41622 arg   "depth-increment"
41623 \end_inset
41624
41625
41626 \end_layout
41627
41628 \end_inset
41629 </cell>
41630 <cell alignment="center" valignment="top" usebox="none">
41631 \begin_inset Text
41632
41633 \begin_layout Plain Layout
41634
41635 \family sans
41636 Edit\SpecialChar menuseparator
41637 Increase
41638 \begin_inset space ~
41639 \end_inset
41640
41641 List
41642 \begin_inset space ~
41643 \end_inset
41644
41645 Depth
41646 \end_layout
41647
41648 \end_inset
41649 </cell>
41650 </row>
41651 <row interlinespace="2.5mm">
41652 <cell alignment="center" valignment="top" usebox="none">
41653 \begin_inset Text
41654
41655 \begin_layout Plain Layout
41656
41657 \family sans
41658 \begin_inset Info
41659 type  "icon"
41660 arg   "depth-decrement"
41661 \end_inset
41662
41663
41664 \end_layout
41665
41666 \end_inset
41667 </cell>
41668 <cell alignment="center" valignment="top" usebox="none">
41669 \begin_inset Text
41670
41671 \begin_layout Plain Layout
41672
41673 \family sans
41674 Edit\SpecialChar menuseparator
41675 Decrease
41676 \begin_inset space ~
41677 \end_inset
41678
41679 List
41680 \begin_inset space ~
41681 \end_inset
41682
41683 Depth
41684 \end_layout
41685
41686 \end_inset
41687 </cell>
41688 </row>
41689 <row interlinespace="2.5mm">
41690 <cell alignment="center" valignment="top" usebox="none">
41691 \begin_inset Text
41692
41693 \begin_layout Plain Layout
41694
41695 \family sans
41696 \begin_inset Info
41697 type  "icon"
41698 arg   "float-insert figure"
41699 \end_inset
41700
41701
41702 \end_layout
41703
41704 \end_inset
41705 </cell>
41706 <cell alignment="center" valignment="top" usebox="none">
41707 \begin_inset Text
41708
41709 \begin_layout Plain Layout
41710
41711 \family sans
41712 Insert\SpecialChar menuseparator
41713 Float\SpecialChar menuseparator
41714 Figure
41715 \end_layout
41716
41717 \end_inset
41718 </cell>
41719 </row>
41720 <row interlinespace="2.5mm">
41721 <cell alignment="center" valignment="top" usebox="none">
41722 \begin_inset Text
41723
41724 \begin_layout Plain Layout
41725
41726 \family sans
41727 \begin_inset Info
41728 type  "icon"
41729 arg   "float-insert table"
41730 \end_inset
41731
41732
41733 \end_layout
41734
41735 \end_inset
41736 </cell>
41737 <cell alignment="center" valignment="top" usebox="none">
41738 \begin_inset Text
41739
41740 \begin_layout Plain Layout
41741
41742 \family sans
41743 Insert\SpecialChar menuseparator
41744 Float\SpecialChar menuseparator
41745 Table
41746 \end_layout
41747
41748 \end_inset
41749 </cell>
41750 </row>
41751 <row interlinespace="2.5mm">
41752 <cell alignment="center" valignment="top" usebox="none">
41753 \begin_inset Text
41754
41755 \begin_layout Plain Layout
41756
41757 \family sans
41758 \begin_inset Info
41759 type  "icon"
41760 arg   "label-insert"
41761 \end_inset
41762
41763
41764 \end_layout
41765
41766 \end_inset
41767 </cell>
41768 <cell alignment="center" valignment="top" usebox="none">
41769 \begin_inset Text
41770
41771 \begin_layout Plain Layout
41772
41773 \family sans
41774 Insert\SpecialChar menuseparator
41775 Label
41776 \end_layout
41777
41778 \end_inset
41779 </cell>
41780 </row>
41781 <row interlinespace="2.5mm">
41782 <cell alignment="center" valignment="top" usebox="none">
41783 \begin_inset Text
41784
41785 \begin_layout Plain Layout
41786
41787 \family sans
41788 \begin_inset Info
41789 type  "icon"
41790 arg   "dialog-show-new-inset ref"
41791 \end_inset
41792
41793
41794 \end_layout
41795
41796 \end_inset
41797 </cell>
41798 <cell alignment="center" valignment="top" usebox="none">
41799 \begin_inset Text
41800
41801 \begin_layout Plain Layout
41802
41803 \family sans
41804 Insert\SpecialChar menuseparator
41805 Cross-Reference
41806 \end_layout
41807
41808 \end_inset
41809 </cell>
41810 </row>
41811 <row interlinespace="2.5mm">
41812 <cell alignment="center" valignment="top" usebox="none">
41813 \begin_inset Text
41814
41815 \begin_layout Plain Layout
41816
41817 \family sans
41818 \begin_inset Info
41819 type  "icon"
41820 arg   "dialog-show-new-inset citation"
41821 \end_inset
41822
41823
41824 \end_layout
41825
41826 \end_inset
41827 </cell>
41828 <cell alignment="center" valignment="top" usebox="none">
41829 \begin_inset Text
41830
41831 \begin_layout Plain Layout
41832
41833 \family sans
41834 Insert\SpecialChar menuseparator
41835 Citation
41836 \end_layout
41837
41838 \end_inset
41839 </cell>
41840 </row>
41841 <row interlinespace="2.5mm">
41842 <cell alignment="center" valignment="top" usebox="none">
41843 \begin_inset Text
41844
41845 \begin_layout Plain Layout
41846
41847 \family sans
41848 \begin_inset Info
41849 type  "icon"
41850 arg   "index-insert"
41851 \end_inset
41852
41853
41854 \end_layout
41855
41856 \end_inset
41857 </cell>
41858 <cell alignment="center" valignment="top" usebox="none">
41859 \begin_inset Text
41860
41861 \begin_layout Plain Layout
41862
41863 \family sans
41864 Insert\SpecialChar menuseparator
41865 Index
41866 \begin_inset space ~
41867 \end_inset
41868
41869 Entry
41870 \end_layout
41871
41872 \end_inset
41873 </cell>
41874 </row>
41875 <row interlinespace="2.5mm">
41876 <cell alignment="center" valignment="top" usebox="none">
41877 \begin_inset Text
41878
41879 \begin_layout Plain Layout
41880
41881 \family sans
41882 \begin_inset Info
41883 type  "icon"
41884 arg   "nomencl-insert"
41885 \end_inset
41886
41887
41888 \end_layout
41889
41890 \end_inset
41891 </cell>
41892 <cell alignment="center" valignment="top" usebox="none">
41893 \begin_inset Text
41894
41895 \begin_layout Plain Layout
41896
41897 \family sans
41898 Insert\SpecialChar menuseparator
41899 Nomenclature
41900 \begin_inset space ~
41901 \end_inset
41902
41903 Entry
41904 \end_layout
41905
41906 \end_inset
41907 </cell>
41908 </row>
41909 <row interlinespace="2.5mm">
41910 <cell alignment="center" valignment="top" usebox="none">
41911 \begin_inset Text
41912
41913 \begin_layout Plain Layout
41914
41915 \family sans
41916 \begin_inset Info
41917 type  "icon"
41918 arg   "footnote-insert"
41919 \end_inset
41920
41921
41922 \end_layout
41923
41924 \end_inset
41925 </cell>
41926 <cell alignment="center" valignment="top" usebox="none">
41927 \begin_inset Text
41928
41929 \begin_layout Plain Layout
41930
41931 \family sans
41932 Insert\SpecialChar menuseparator
41933 Footnote
41934 \end_layout
41935
41936 \end_inset
41937 </cell>
41938 </row>
41939 <row interlinespace="2.5mm">
41940 <cell alignment="center" valignment="top" usebox="none">
41941 \begin_inset Text
41942
41943 \begin_layout Plain Layout
41944
41945 \family sans
41946 \begin_inset Info
41947 type  "icon"
41948 arg   "marginalnote-insert"
41949 \end_inset
41950
41951
41952 \end_layout
41953
41954 \end_inset
41955 </cell>
41956 <cell alignment="center" valignment="top" usebox="none">
41957 \begin_inset Text
41958
41959 \begin_layout Plain Layout
41960
41961 \family sans
41962 Insert\SpecialChar menuseparator
41963 Marginal
41964 \begin_inset space ~
41965 \end_inset
41966
41967 Note
41968 \end_layout
41969
41970 \end_inset
41971 </cell>
41972 </row>
41973 <row interlinespace="2.5mm">
41974 <cell alignment="center" valignment="top" usebox="none">
41975 \begin_inset Text
41976
41977 \begin_layout Plain Layout
41978
41979 \family sans
41980 \begin_inset Info
41981 type  "icon"
41982 arg   "note-insert"
41983 \end_inset
41984
41985
41986 \end_layout
41987
41988 \end_inset
41989 </cell>
41990 <cell alignment="center" valignment="top" usebox="none">
41991 \begin_inset Text
41992
41993 \begin_layout Plain Layout
41994
41995 \family sans
41996 Insert\SpecialChar menuseparator
41997 Note\SpecialChar menuseparator
41998 LyX
41999 \begin_inset space ~
42000 \end_inset
42001
42002 Note
42003 \end_layout
42004
42005 \end_inset
42006 </cell>
42007 </row>
42008 <row interlinespace="2.5mm">
42009 <cell alignment="center" valignment="top" usebox="none">
42010 \begin_inset Text
42011
42012 \begin_layout Plain Layout
42013
42014 \family sans
42015 \begin_inset Info
42016 type  "icon"
42017 arg   "box-insert Frameless"
42018 \end_inset
42019
42020
42021 \end_layout
42022
42023 \end_inset
42024 </cell>
42025 <cell alignment="center" valignment="top" usebox="none">
42026 \begin_inset Text
42027
42028 \begin_layout Plain Layout
42029
42030 \family sans
42031 Insert\SpecialChar menuseparator
42032 Box
42033 \end_layout
42034
42035 \end_inset
42036 </cell>
42037 </row>
42038 <row interlinespace="2.5mm">
42039 <cell alignment="center" valignment="top" usebox="none">
42040 \begin_inset Text
42041
42042 \begin_layout Plain Layout
42043
42044 \family sans
42045 \begin_inset Info
42046 type  "icon"
42047 arg   "href-insert"
42048 \end_inset
42049
42050
42051 \end_layout
42052
42053 \end_inset
42054 </cell>
42055 <cell alignment="center" valignment="top" usebox="none">
42056 \begin_inset Text
42057
42058 \begin_layout Plain Layout
42059
42060 \family sans
42061 Insert\SpecialChar menuseparator
42062 Hyperlink
42063 \end_layout
42064
42065 \end_inset
42066 </cell>
42067 </row>
42068 <row interlinespace="2.5mm">
42069 <cell alignment="center" valignment="top" usebox="none">
42070 \begin_inset Text
42071
42072 \begin_layout Plain Layout
42073
42074 \family sans
42075 \begin_inset Info
42076 type  "icon"
42077 arg   "ert-insert"
42078 \end_inset
42079
42080
42081 \end_layout
42082
42083 \end_inset
42084 </cell>
42085 <cell alignment="center" valignment="top" usebox="none">
42086 \begin_inset Text
42087
42088 \begin_layout Plain Layout
42089
42090 \family sans
42091 Insert\SpecialChar menuseparator
42092 TeX
42093 \begin_inset space ~
42094 \end_inset
42095
42096 Code
42097 \end_layout
42098
42099 \end_inset
42100 </cell>
42101 </row>
42102 <row interlinespace="2.5mm">
42103 <cell alignment="center" valignment="top" usebox="none">
42104 \begin_inset Text
42105
42106 \begin_layout Plain Layout
42107
42108 \family sans
42109 \begin_inset Info
42110 type  "icon"
42111 arg   "math-macro newmacroname newcommand"
42112 \end_inset
42113
42114
42115 \end_layout
42116
42117 \end_inset
42118 </cell>
42119 <cell alignment="center" valignment="top" usebox="none">
42120 \begin_inset Text
42121
42122 \begin_layout Plain Layout
42123
42124 \family sans
42125 Insert\SpecialChar menuseparator
42126 Math\SpecialChar menuseparator
42127 Macro
42128 \end_layout
42129
42130 \end_inset
42131 </cell>
42132 </row>
42133 <row interlinespace="2.5mm">
42134 <cell alignment="center" valignment="top" usebox="none">
42135 \begin_inset Text
42136
42137 \begin_layout Plain Layout
42138
42139 \family sans
42140 \begin_inset Info
42141 type  "icon"
42142 arg   "dialog-show-new-inset include"
42143 \end_inset
42144
42145
42146 \end_layout
42147
42148 \end_inset
42149 </cell>
42150 <cell alignment="center" valignment="top" usebox="none">
42151 \begin_inset Text
42152
42153 \begin_layout Plain Layout
42154
42155 \family sans
42156 Insert\SpecialChar menuseparator
42157 File\SpecialChar menuseparator
42158 Child
42159 \begin_inset space ~
42160 \end_inset
42161
42162 Document
42163 \end_layout
42164
42165 \end_inset
42166 </cell>
42167 </row>
42168 <row interlinespace="2.5mm">
42169 <cell alignment="center" valignment="top" usebox="none">
42170 \begin_inset Text
42171
42172 \begin_layout Plain Layout
42173
42174 \family sans
42175 \begin_inset Info
42176 type  "icon"
42177 arg   "dialog-show character"
42178 \end_inset
42179
42180
42181 \end_layout
42182
42183 \end_inset
42184 </cell>
42185 <cell alignment="center" valignment="top" usebox="none">
42186 \begin_inset Text
42187
42188 \begin_layout Plain Layout
42189
42190 \family sans
42191 Edit\SpecialChar menuseparator
42192 Text
42193 \begin_inset space ~
42194 \end_inset
42195
42196 Style\SpecialChar menuseparator
42197 Customized
42198 \end_layout
42199
42200 \end_inset
42201 </cell>
42202 </row>
42203 <row interlinespace="2.5mm">
42204 <cell alignment="center" valignment="top" usebox="none">
42205 \begin_inset Text
42206
42207 \begin_layout Plain Layout
42208
42209 \family sans
42210 \begin_inset Info
42211 type  "icon"
42212 arg   "layout-paragraph"
42213 \end_inset
42214
42215
42216 \end_layout
42217
42218 \end_inset
42219 </cell>
42220 <cell alignment="center" valignment="top" usebox="none">
42221 \begin_inset Text
42222
42223 \begin_layout Plain Layout
42224
42225 \family sans
42226 Edit\SpecialChar menuseparator
42227 Paragraph
42228 \begin_inset space ~
42229 \end_inset
42230
42231 Settings
42232 \end_layout
42233
42234 \end_inset
42235 </cell>
42236 </row>
42237 <row interlinespace="2.5mm">
42238 <cell alignment="center" valignment="top" usebox="none">
42239 \begin_inset Text
42240
42241 \begin_layout Plain Layout
42242
42243 \family sans
42244 \begin_inset Info
42245 type  "icon"
42246 arg   "thesaurus-entry"
42247 \end_inset
42248
42249
42250 \end_layout
42251
42252 \end_inset
42253 </cell>
42254 <cell alignment="center" valignment="top" usebox="none">
42255 \begin_inset Text
42256
42257 \begin_layout Plain Layout
42258
42259 \family sans
42260 Tools\SpecialChar menuseparator
42261 Thesaurus
42262 \end_layout
42263
42264 \end_inset
42265 </cell>
42266 </row>
42267 </lyxtabular>
42268
42269 \end_inset
42270
42271
42272 \end_layout
42273
42274 \begin_layout Subsection
42275 View/Update Toolbar
42276 \begin_inset Index idx
42277 status collapsed
42278
42279 \begin_layout Plain Layout
42280 Toolbar ! View / Update
42281 \end_layout
42282
42283 \end_inset
42284
42285
42286 \end_layout
42287
42288 \begin_layout Standard
42289 \begin_inset Graphics
42290         filename clipart/ViewToolbar.png
42291
42292 \end_inset
42293
42294
42295 \end_layout
42296
42297 \begin_layout Standard
42298 \begin_inset VSpace defskip
42299 \end_inset
42300
42301
42302 \end_layout
42303
42304 \begin_layout Standard
42305 The view/update toolbar as shown above contains from left to right the following
42306  buttons:
42307 \end_layout
42308
42309 \begin_layout Standard
42310 \begin_inset VSpace defskip
42311 \end_inset
42312
42313
42314 \end_layout
42315
42316 \begin_layout Standard
42317 \begin_inset Tabular
42318 <lyxtabular version="3" rows="7" columns="2">
42319 <features islongtable="true" longtabularalignment="center">
42320 <column alignment="left" valignment="top">
42321 <column alignment="left" valignment="top">
42322 <row interlinespace="2.5mm">
42323 <cell alignment="center" valignment="top" usebox="none">
42324 \begin_inset Text
42325
42326 \begin_layout Plain Layout
42327
42328 \family sans
42329 \begin_inset Info
42330 type  "icon"
42331 arg   "buffer-view"
42332 \end_inset
42333
42334
42335 \end_layout
42336
42337 \end_inset
42338 </cell>
42339 <cell alignment="center" valignment="top" usebox="none">
42340 \begin_inset Text
42341
42342 \begin_layout Plain Layout
42343
42344 \family sans
42345 Document\SpecialChar menuseparator
42346 View
42347 \end_layout
42348
42349 \end_inset
42350 </cell>
42351 </row>
42352 <row interlinespace="2.5mm">
42353 <cell alignment="center" valignment="top" usebox="none">
42354 \begin_inset Text
42355
42356 \begin_layout Plain Layout
42357
42358 \family sans
42359 \begin_inset Info
42360 type  "icon"
42361 arg   "buffer-update"
42362 \end_inset
42363
42364
42365 \end_layout
42366
42367 \end_inset
42368 </cell>
42369 <cell alignment="center" valignment="top" usebox="none">
42370 \begin_inset Text
42371
42372 \begin_layout Plain Layout
42373
42374 \family sans
42375 Document\SpecialChar menuseparator
42376 Update
42377 \end_layout
42378
42379 \end_inset
42380 </cell>
42381 </row>
42382 <row interlinespace="2.5mm">
42383 <cell alignment="center" valignment="top" usebox="none">
42384 \begin_inset Text
42385
42386 \begin_layout Plain Layout
42387
42388 \family sans
42389 \begin_inset Info
42390 type  "icon"
42391 arg   "master-buffer-view"
42392 \end_inset
42393
42394
42395 \end_layout
42396
42397 \end_inset
42398 </cell>
42399 <cell alignment="center" valignment="top" usebox="none">
42400 \begin_inset Text
42401
42402 \begin_layout Plain Layout
42403
42404 \family sans
42405 Document\SpecialChar menuseparator
42406 Master
42407 \begin_inset space ~
42408 \end_inset
42409
42410 Document
42411 \end_layout
42412
42413 \end_inset
42414 </cell>
42415 </row>
42416 <row interlinespace="2.5mm">
42417 <cell alignment="center" valignment="top" usebox="none">
42418 \begin_inset Text
42419
42420 \begin_layout Plain Layout
42421
42422 \family sans
42423 \begin_inset Info
42424 type  "icon"
42425 arg   "master-buffer-update"
42426 \end_inset
42427
42428
42429 \end_layout
42430
42431 \end_inset
42432 </cell>
42433 <cell alignment="center" valignment="top" usebox="none">
42434 \begin_inset Text
42435
42436 \begin_layout Plain Layout
42437
42438 \family sans
42439 Document\SpecialChar menuseparator
42440 Update
42441 \begin_inset space ~
42442 \end_inset
42443
42444 Master
42445 \begin_inset space ~
42446 \end_inset
42447
42448 Document
42449 \end_layout
42450
42451 \end_inset
42452 </cell>
42453 </row>
42454 <row interlinespace="2.5mm">
42455 <cell alignment="center" valignment="top" usebox="none">
42456 \begin_inset Text
42457
42458 \begin_layout Plain Layout
42459
42460 \family sans
42461 \begin_inset Info
42462 type  "icon"
42463 arg   "buffer-toggle-output-sync"
42464 \end_inset
42465
42466
42467 \end_layout
42468
42469 \end_inset
42470 </cell>
42471 <cell alignment="center" valignment="top" usebox="none">
42472 \begin_inset Text
42473
42474 \begin_layout Plain Layout
42475
42476 \family sans
42477 Document\SpecialChar menuseparator
42478 Settings\SpecialChar menuseparator
42479 Output\SpecialChar menuseparator
42480 Synchronize with Output
42481 \end_layout
42482
42483 \end_inset
42484 </cell>
42485 </row>
42486 <row interlinespace="2.5mm">
42487 <cell alignment="center" valignment="top" usebox="none">
42488 \begin_inset Text
42489
42490 \begin_layout Plain Layout
42491 \begin_inset Info
42492 type  "icon"
42493 arg   "view-others"
42494 \end_inset
42495
42496
42497 \family sans
42498 *
42499 \end_layout
42500
42501 \end_inset
42502 </cell>
42503 <cell alignment="center" valignment="top" usebox="none">
42504 \begin_inset Text
42505
42506 \begin_layout Plain Layout
42507
42508 \family sans
42509 Document\SpecialChar menuseparator
42510 View (Other Formats)
42511 \end_layout
42512
42513 \end_inset
42514 </cell>
42515 </row>
42516 <row interlinespace="2.5mm">
42517 <cell alignment="center" valignment="top" usebox="none">
42518 \begin_inset Text
42519
42520 \begin_layout Plain Layout
42521 \begin_inset Info
42522 type  "icon"
42523 arg   "update-others"
42524 \end_inset
42525
42526 *
42527 \end_layout
42528
42529 \end_inset
42530 </cell>
42531 <cell alignment="center" valignment="top" usebox="none">
42532 \begin_inset Text
42533
42534 \begin_layout Plain Layout
42535
42536 \family sans
42537 Document\SpecialChar menuseparator
42538 Update (Other Formats)
42539 \end_layout
42540
42541 \end_inset
42542 </cell>
42543 </row>
42544 </lyxtabular>
42545
42546 \end_inset
42547
42548
42549 \end_layout
42550
42551 \begin_layout Standard
42552 * These icons might look different for you if you do not use the default
42553  icon set.
42554 \end_layout
42555
42556 \begin_layout Subsection
42557 Other Toolbars
42558 \end_layout
42559
42560 \begin_layout Standard
42561 The change tracking toolbar is explained in section
42562 \begin_inset space ~
42563 \end_inset
42564
42565
42566 \begin_inset CommandInset ref
42567 LatexCommand ref
42568 reference "sec:Change-Tracking"
42569
42570 \end_inset
42571
42572 , the table toolbar
42573 \begin_inset Index idx
42574 status collapsed
42575
42576 \begin_layout Plain Layout
42577 Toolbar ! Table
42578 \end_layout
42579
42580 \end_inset
42581
42582  in the 
42583 \emph on
42584 Embedded
42585 \begin_inset space ~
42586 \end_inset
42587
42588 Objects
42589 \emph default
42590  manual and the math macro toolbar
42591 \begin_inset Index idx
42592 status collapsed
42593
42594 \begin_layout Plain Layout
42595 Toolbar ! Macro
42596 \end_layout
42597
42598 \end_inset
42599
42600  in the 
42601 \emph on
42602 Math
42603 \emph default
42604  manual.
42605 \end_layout
42606
42607 \begin_layout Chapter
42608 The Document Settings
42609 \begin_inset CommandInset label
42610 LatexCommand label
42611 name "chap:The-Document-Settings"
42612
42613 \end_inset
42614
42615
42616 \begin_inset Index idx
42617 status collapsed
42618
42619 \begin_layout Plain Layout
42620 Document ! Settings
42621 \end_layout
42622
42623 \end_inset
42624
42625
42626 \end_layout
42627
42628 \begin_layout Standard
42629 The 
42630 \family sans
42631 Document
42632 \begin_inset space ~
42633 \end_inset
42634
42635 Setting
42636 \family default
42637 s dialog contains submenus to set properties for the whole document and
42638  is called with the menu
42639 \family sans
42640  Document\SpecialChar menuseparator
42641 Settings
42642 \family default
42643 .
42644  You can save your document settings as default with the
42645 \family sans
42646  Save as Document Defaults
42647 \family default
42648  button in any dialog.
42649  This will create a template named 
42650 \family typewriter
42651 defaults.lyx
42652 \family default
42653  which is automatically loaded by \SpecialChar LyX
42654  when you create a new document without
42655  using a template.
42656 \end_layout
42657
42658 \begin_layout Standard
42659 The button 
42660 \family sans
42661 Use Class Defaults
42662 \family default
42663  resets the document settings to the default of the document class.
42664  This affects mostly class options, the page layout and Numbering & TOC.
42665 \end_layout
42666
42667 \begin_layout Standard
42668 The different submenus of the dialog are explained in the following sections.
42669  There are so many document settings available that it might take a while
42670  to find the one you are looking for.
42671  To find a setting quicker, you can use the search field which is above
42672  the submenus of the dialog.
42673  If you search e.
42674 \begin_inset space \thinspace{}
42675 \end_inset
42676
42677 g.
42678 \begin_inset space \space{}
42679 \end_inset
42680
42681 for 
42682 \begin_inset Quotes eld
42683 \end_inset
42684
42685 page
42686 \begin_inset Quotes erd
42687 \end_inset
42688
42689 , you will see that some submenus will be grayed-out and disabled.
42690  Only the submenus with page settings stay enabled.
42691  The found page settings are labeled red in these submenus.
42692 \end_layout
42693
42694 \begin_layout Section
42695 Document Class
42696 \end_layout
42697
42698 \begin_layout Standard
42699 Here you set the document class, class options, a graphics driver, and a
42700  master document.
42701  Document classes are described in section
42702 \begin_inset space ~
42703 \end_inset
42704
42705
42706 \begin_inset CommandInset ref
42707 LatexCommand ref
42708 reference "sec:Document-Classes"
42709
42710 \end_inset
42711
42712 .
42713  
42714 \end_layout
42715
42716 \begin_layout Standard
42717 With the button 
42718 \family sans
42719 Local
42720 \begin_inset space ~
42721 \end_inset
42722
42723 Layout
42724 \family default
42725  you can load you own layout-file, that is not in \SpecialChar LyX
42726 's 
42727 \emph on
42728 layouts
42729 \emph default
42730  folder and thus not recognized by \SpecialChar LyX
42731  as a layout for a document class.
42732  For more about layout-files, see the chapter 
42733 \emph on
42734 Installing New Document Classes, Types of Layout Files
42735 \emph default
42736  of the 
42737 \emph on
42738 Customization
42739 \emph default
42740  Handbook.
42741 \end_layout
42742
42743 \begin_layout Standard
42744 Some classes use special class options by default.
42745  If this is the case, they are listed in the field 
42746 \family sans
42747 Predefined
42748 \family default
42749  and you can decide to use them or not.
42750  If you do not know exactly what the default class options are for, it is
42751  recommended you leave them untouched.
42752  The 
42753 \family sans
42754 Graphics driver
42755 \family default
42756  is used for \SpecialChar LaTeX
42757 's graphics, color and page layout packages.
42758  If using 
42759 \family sans
42760 Default
42761 \family default
42762 , the default driver for the \SpecialChar LaTeX
42763 -packages is used.
42764  It is recommended that you use the default unless you know what you are
42765  doing.
42766 \begin_inset Foot
42767 status collapsed
42768
42769 \begin_layout Plain Layout
42770 When you want to use one of the following drivers
42771 \begin_inset Newline newline
42772 \end_inset
42773
42774
42775 \family sans
42776 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
42777 \family default
42778
42779 \begin_inset Newline newline
42780 \end_inset
42781
42782 you first have to activate them in your \SpecialChar LaTeX
42783  distribution, see section 
42784 \emph on
42785 Driver support
42786 \emph default
42787  in 
42788 \begin_inset CommandInset href
42789 LatexCommand href
42790 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
42791 literal "false"
42792
42793 \end_inset
42794
42795 .
42796 \end_layout
42797
42798 \end_inset
42799
42800
42801 \end_layout
42802
42803 \begin_layout Standard
42804 Specifying a 
42805 \family sans
42806 Master
42807 \family default
42808  document is necessary if the current document is a child or subdocument.
42809  The master document will be used by \SpecialChar LyX
42810  in the background if the child document
42811  is opened without its master.
42812  This way child documents are always compilable.
42813  More about master and child documents is explained in the section 
42814 \emph on
42815 Child Documents
42816 \emph default
42817  of the 
42818 \emph on
42819 Embedded
42820 \begin_inset space ~
42821 \end_inset
42822
42823 Objects
42824 \emph default
42825  manual.
42826 \end_layout
42827
42828 \begin_layout Standard
42829 There is also an option to suppress the date and one to use the \SpecialChar LaTeX
42830 -package
42831  
42832 \series bold
42833 refstyle
42834 \series default
42835  instead of 
42836 \series bold
42837 prettyref
42838 \series default
42839
42840 \begin_inset Index idx
42841 status collapsed
42842
42843 \begin_layout Plain Layout
42844 \SpecialChar LaTeX
42845  packages ! prettyref
42846 \end_layout
42847
42848 \end_inset
42849
42850
42851 \begin_inset Index idx
42852 status collapsed
42853
42854 \begin_layout Plain Layout
42855 \SpecialChar LaTeX
42856  packages ! refstyle
42857 \end_layout
42858
42859 \end_inset
42860
42861  for cross-references, see section
42862 \begin_inset space ~
42863 \end_inset
42864
42865
42866 \begin_inset CommandInset ref
42867 LatexCommand ref
42868 reference "sec:Cross-References"
42869
42870 \end_inset
42871
42872 .
42873 \end_layout
42874
42875 \begin_layout Section
42876 Child Documents
42877 \end_layout
42878
42879 \begin_layout Standard
42880 This submenu is only visible when your document includes child documents.
42881  Please refer to the section 
42882 \emph on
42883 Child
42884 \begin_inset space ~
42885 \end_inset
42886
42887 Documents
42888 \emph default
42889  of the 
42890 \emph on
42891 Embedded
42892 \begin_inset space ~
42893 \end_inset
42894
42895 Objects
42896 \emph default
42897  manual for details.
42898 \end_layout
42899
42900 \begin_layout Section
42901 Modules
42902 \end_layout
42903
42904 \begin_layout Standard
42905 Modules are explained in section
42906 \begin_inset space ~
42907 \end_inset
42908
42909
42910 \begin_inset CommandInset ref
42911 LatexCommand ref
42912 reference "subsec:Modules"
42913
42914 \end_inset
42915
42916 .
42917 \end_layout
42918
42919 \begin_layout Section
42920 Local Layout
42921 \end_layout
42922
42923 \begin_layout Standard
42924 See section
42925 \begin_inset space ~
42926 \end_inset
42927
42928
42929 \begin_inset CommandInset ref
42930 LatexCommand ref
42931 reference "subsec:Local-Layout"
42932
42933 \end_inset
42934
42935  for a description.
42936 \end_layout
42937
42938 \begin_layout Section
42939 Fonts
42940 \end_layout
42941
42942 \begin_layout Standard
42943 The document font settings are described in section
42944 \begin_inset space ~
42945 \end_inset
42946
42947
42948 \begin_inset CommandInset ref
42949 LatexCommand ref
42950 reference "sec:Fonts-and-Text"
42951
42952 \end_inset
42953
42954 .
42955 \end_layout
42956
42957 \begin_layout Section
42958 Text Layout
42959 \end_layout
42960
42961 \begin_layout Standard
42962 You can specify if paragraphs should be separated by 
42963 \family sans
42964 Indentation
42965 \family default
42966  or by 
42967 \family sans
42968 Vertical space
42969 \family default
42970 .
42971  The 
42972 \family sans
42973 Line
42974 \begin_inset space ~
42975 \end_inset
42976
42977 spacing
42978 \family default
42979  and whether it should be a 
42980 \family sans
42981 Two-column
42982 \begin_inset space ~
42983 \end_inset
42984
42985 document
42986 \family default
42987  can also be specified here.
42988 \end_layout
42989
42990 \begin_layout Standard
42991 Note that \SpecialChar LyX
42992  will not show two columns or the specified line spacing on screen.
42993  That would be impractical, often unreadable, and is not part of the WYSIWYM
42994  concept.
42995  However, it will be as you specified in the output.
42996 \end_layout
42997
42998 \begin_layout Standard
42999 With the option 
43000 \family sans
43001 Use justification in \SpecialChar LyX
43002  work area
43003 \family default
43004  you can decide if \SpecialChar LyX
43005  justifies the text on screen.
43006  This only affects the text inside \SpecialChar LyX
43007  not in the output.
43008 \end_layout
43009
43010 \begin_layout Section
43011 Page Layout
43012 \end_layout
43013
43014 \begin_layout Standard
43015 This dialog is described in sections
43016 \begin_inset space ~
43017 \end_inset
43018
43019
43020 \begin_inset CommandInset ref
43021 LatexCommand ref
43022 reference "subsec:Paper-Size,-Orientation"
43023
43024 \end_inset
43025
43026  and 
43027 \begin_inset CommandInset ref
43028 LatexCommand ref
43029 reference "subsec:Document-Layout"
43030
43031 \end_inset
43032
43033 .
43034 \end_layout
43035
43036 \begin_layout Section
43037 Page Margins
43038 \end_layout
43039
43040 \begin_layout Standard
43041 Here you can adjust the page margins as described in section
43042 \begin_inset space ~
43043 \end_inset
43044
43045
43046 \begin_inset CommandInset ref
43047 LatexCommand ref
43048 reference "subsec:Margins"
43049
43050 \end_inset
43051
43052 .
43053 \end_layout
43054
43055 \begin_layout Section
43056 Language
43057 \begin_inset CommandInset label
43058 LatexCommand label
43059 name "sec:Language-encodings"
43060
43061 \end_inset
43062
43063
43064 \begin_inset Index idx
43065 status collapsed
43066
43067 \begin_layout Plain Layout
43068 Language ! Encoding
43069 \end_layout
43070
43071 \end_inset
43072
43073
43074 \end_layout
43075
43076 \begin_layout Standard
43077 The document language and quote styles are set here.
43078  The encoding specifies how the document content is exported to \SpecialChar LaTeX
43079  (the \SpecialChar LyX
43080  file
43081  is always encoded in utf8).
43082  All characters that cannot be encoded using the specified encoding will
43083  be exported as \SpecialChar LaTeX
43084 -commands (this can fail if a \SpecialChar LaTeX
43085 -command is not known for
43086  a particular character).
43087 \end_layout
43088
43089 \begin_layout Standard
43090 If you use the option 
43091 \family sans
43092 Language Default
43093 \family default
43094 , \SpecialChar LyX
43095  determines the encoding of a text part from the language of this text.
43096  If the document contains text in more than one language you may get more
43097  than one encoding in the \SpecialChar LaTeX
43098  file.
43099  If you do not use this option then the complete document will always use
43100  exactly one encoding.
43101  Checking this option is the preferred setting.
43102 \end_layout
43103
43104 \begin_layout Standard
43105 \SpecialChar LyX
43106  also supports Unicode output, which is particularly useful if you need
43107  lots of special symbols or non-alphabetic scripts, respectively.
43108  If you want to use this (and your \SpecialChar LaTeX
43109  installation supports Unicode), choose
43110  one of the four utf8 variants from the list below.
43111  Unfortunately the Unicode support of standard \SpecialChar LaTeX
43112  is quite incomplete, so
43113  it is not uncommon that a file with lots of Unicode symbols works fine
43114  with 
43115 \family sans
43116 Language Default
43117 \family default
43118  (when \SpecialChar LyX
43119  uses its list of known \SpecialChar LaTeX
43120 -commands), but does not work with a fixed
43121  utf8 encoding (when the list of known \SpecialChar LaTeX
43122 -commands is not used, because all
43123  Unicode symbols can be encoded in utf8).
43124  The situation is much better with Xe\SpecialChar TeX
43125  and Lua\SpecialChar TeX
43126 , two new alternative engines
43127  to standard \SpecialChar LaTeX
43128 .
43129  Both engines support Unicode natively.
43130  \SpecialChar LyX
43131  now also supports these two engines (via the output formats 
43132 \family sans
43133 PDF
43134 \begin_inset space ~
43135 \end_inset
43136
43137 (XeTeX)
43138 \family default
43139
43140 \family sans
43141 PDF
43142 \begin_inset space ~
43143 \end_inset
43144
43145 (LuaTeX)
43146 \family default
43147  and 
43148 \family sans
43149 DVI
43150 \begin_inset space ~
43151 \end_inset
43152
43153 (LuaTeX)
43154 \family default
43155 , see section
43156 \begin_inset space ~
43157 \end_inset
43158
43159
43160 \begin_inset CommandInset ref
43161 LatexCommand ref
43162 reference "subsec:Output-file-formats"
43163
43164 \end_inset
43165
43166 ).
43167  So if you are using many special or accented characters and 
43168 \family sans
43169 Language Default
43170 \family default
43171  fails, you might try out one of these new engines.
43172 \end_layout
43173
43174 \begin_layout Standard
43175 The 
43176 \family sans
43177 Language
43178 \begin_inset space ~
43179 \end_inset
43180
43181 package
43182 \family default
43183  determines the \SpecialChar LaTeX
43184 -package that is used for hyphenation and the translation
43185  of strings like 
43186 \begin_inset Quotes eld
43187 \end_inset
43188
43189 Part
43190 \begin_inset Quotes erd
43191 \end_inset
43192
43193 .
43194  The possible settings are:
43195 \end_layout
43196
43197 \begin_layout Description
43198 Default uses the language package that is selected in
43199 \family sans
43200  Tools\SpecialChar menuseparator
43201 Preferences\SpecialChar menuseparator
43202 Language Settings
43203 \family default
43204  (see section
43205 \begin_inset space ~
43206 \end_inset
43207
43208
43209 \begin_inset CommandInset ref
43210 LatexCommand ref
43211 reference "subsec:Prefs-Language"
43212
43213 \end_inset
43214
43215 ).
43216 \end_layout
43217
43218 \begin_layout Description
43219 Automatic selects the most suitable language package for the view/export
43220  format you will use.
43221  In many cases this will be 
43222 \series bold
43223 babel
43224 \series default
43225
43226 \begin_inset Index idx
43227 status collapsed
43228
43229 \begin_layout Plain Layout
43230 \SpecialChar LaTeX
43231  packages ! babel
43232 \end_layout
43233
43234 \end_inset
43235
43236 .
43237  If the newer package 
43238 \series bold
43239 polyglossia
43240 \series default
43241
43242 \begin_inset Index idx
43243 status collapsed
43244
43245 \begin_layout Plain Layout
43246 \SpecialChar LaTeX
43247  packages ! polyglossia
43248 \end_layout
43249
43250 \end_inset
43251
43252  is more appropriate (is the case when using Xe\SpecialChar TeX
43253  or Lua\SpecialChar TeX
43254  and non-\SpecialChar TeX
43255  fonts),
43256  this package will be used instead of 
43257 \series bold
43258 babel
43259 \series default
43260 .
43261 \end_layout
43262
43263 \begin_layout Description
43264 Always
43265 \begin_inset space ~
43266 \end_inset
43267
43268 Babel uses 
43269 \series bold
43270 babel
43271 \series default
43272  even if 
43273 \series bold
43274 polyglossia
43275 \series default
43276  would be more appropriate.
43277 \end_layout
43278
43279 \begin_layout Description
43280 Custom allows you to specify a language package command of your choice.
43281  For example if you want to use a language-specific package like 
43282 \series bold
43283 ngerman
43284 \series default
43285  (for German texts), type in
43286 \series bold
43287
43288 \begin_inset Newline newline
43289 \end_inset
43290
43291
43292 \backslash
43293 usepackage{ngerman}
43294 \end_layout
43295
43296 \begin_layout Description
43297 None will not use a language package.
43298  This is necessary for some document classes for scientific articles.
43299 \end_layout
43300
43301 \begin_layout Standard
43302 Here is a list with the important encodings:
43303 \end_layout
43304
43305 \begin_layout Description
43306 Language
43307 \begin_inset space ~
43308 \end_inset
43309
43310 Default
43311 \begin_inset space ~
43312 \end_inset
43313
43314 (no
43315 \begin_inset space ~
43316 \end_inset
43317
43318 inputenc) Same as 
43319 \family sans
43320 Language Default
43321 \family default
43322 , but the \SpecialChar LaTeX
43323 -package 
43324 \series bold
43325 inputenc
43326 \series default
43327
43328 \begin_inset Index idx
43329 status collapsed
43330
43331 \begin_layout Plain Layout
43332 \SpecialChar LaTeX
43333  packages ! inputenc
43334 \end_layout
43335
43336 \end_inset
43337
43338  is not used.
43339  When using this, you probably need to load some additional packages manually
43340  in the preamble and specify the used encoding for text parts in foreign
43341  languages in \SpecialChar TeX
43342  code.
43343 \end_layout
43344
43345 \begin_layout Description
43346 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
43347  \SpecialChar LyX
43348  converts all other characters into \SpecialChar LaTeX
43349  commands, which may result in a big
43350  file when lots of \SpecialChar LaTeX
43351 -commands are needed.
43352 \end_layout
43353
43354 \begin_layout Description
43355 Arabic
43356 \begin_inset space ~
43357 \end_inset
43358
43359 (CP
43360 \begin_inset space ~
43361 \end_inset
43362
43363 1256) MS Windows code page for Arabic and Farsi
43364 \end_layout
43365
43366 \begin_layout Description
43367 Arabic
43368 \begin_inset space ~
43369 \end_inset
43370
43371 (ISO
43372 \begin_inset space ~
43373 \end_inset
43374
43375 8859-6) for Arabic and Farsi
43376 \end_layout
43377
43378 \begin_layout Description
43379 Armenian
43380 \begin_inset space ~
43381 \end_inset
43382
43383 (ArmSCII8) for Armenian
43384 \end_layout
43385
43386 \begin_layout Description
43387 Baltic
43388 \begin_inset space ~
43389 \end_inset
43390
43391 (CP
43392 \begin_inset space ~
43393 \end_inset
43394
43395 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
43396  as the ISO-8859-13 encoding
43397 \end_layout
43398
43399 \begin_layout Description
43400 Baltic
43401 \begin_inset space ~
43402 \end_inset
43403
43404 (ISO
43405 \begin_inset space ~
43406 \end_inset
43407
43408 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
43409  encoding
43410 \end_layout
43411
43412 \begin_layout Description
43413 Baltic
43414 \begin_inset space ~
43415 \end_inset
43416
43417 (ISO
43418 \begin_inset space ~
43419 \end_inset
43420
43421 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
43422  ISO-8859-13 encoding
43423 \end_layout
43424
43425 \begin_layout Description
43426 Central
43427 \begin_inset space ~
43428 \end_inset
43429
43430 European
43431 \begin_inset space ~
43432 \end_inset
43433
43434 (CP
43435 \begin_inset space ~
43436 \end_inset
43437
43438 1250) MS Windows code page for ISO
43439 \begin_inset space ~
43440 \end_inset
43441
43442 8859-2 (latin2)
43443 \end_layout
43444
43445 \begin_layout Description
43446 Central
43447 \begin_inset space ~
43448 \end_inset
43449
43450 European
43451 \begin_inset space ~
43452 \end_inset
43453
43454 (ISO
43455 \begin_inset space ~
43456 \end_inset
43457
43458 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
43459  Romanian, Slovak and Slovenian
43460 \end_layout
43461
43462 \begin_layout Description
43463 Chinese
43464 \begin_inset space ~
43465 \end_inset
43466
43467 (simplified)
43468 \begin_inset space ~
43469 \end_inset
43470
43471 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
43472  this encoding is officially replaced by the encoding GB18030, as GB18030
43473  is not available for \SpecialChar LaTeX
43474  you should try to use the encoding Unicode
43475 \begin_inset space ~
43476 \end_inset
43477
43478 (CJK)
43479 \begin_inset space ~
43480 \end_inset
43481
43482 (utf8)
43483 \end_layout
43484
43485 \begin_layout Description
43486 Chinese
43487 \begin_inset space ~
43488 \end_inset
43489
43490 (simplified)
43491 \begin_inset space ~
43492 \end_inset
43493
43494 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
43495  except for the Euro currency sign, since 2001 this encoding is officially
43496  replaced by the encoding GB18030, as GB18030 is not available for \SpecialChar LaTeX
43497  you
43498  should try to use the encoding Unicode
43499 \begin_inset space ~
43500 \end_inset
43501
43502 (CJK)
43503 \begin_inset space ~
43504 \end_inset
43505
43506 (utf8)
43507 \end_layout
43508
43509 \begin_layout Description
43510 Chinese
43511 \begin_inset space ~
43512 \end_inset
43513
43514 (traditional)
43515 \begin_inset space ~
43516 \end_inset
43517
43518 (EUC-TW) for traditional Chinese
43519 \end_layout
43520
43521 \begin_layout Description
43522 Cyrillic
43523 \begin_inset space ~
43524 \end_inset
43525
43526 (CP
43527 \begin_inset space ~
43528 \end_inset
43529
43530 1251) MS Windows code page for Cyrillic
43531 \end_layout
43532
43533 \begin_layout Description
43534 Cyrillic
43535 \begin_inset space ~
43536 \end_inset
43537
43538 (ISO
43539 \begin_inset space ~
43540 \end_inset
43541
43542 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
43543 \end_layout
43544
43545 \begin_layout Description
43546 Cyrillic
43547 \begin_inset space ~
43548 \end_inset
43549
43550 (KOI8-R) standard Cyrillic especially for Russian
43551 \end_layout
43552
43553 \begin_layout Description
43554 Cyrillic
43555 \begin_inset space ~
43556 \end_inset
43557
43558 (KOI8-U) Cyrillic for Ukrainian
43559 \end_layout
43560
43561 \begin_layout Description
43562 Cyrillic
43563 \begin_inset space ~
43564 \end_inset
43565
43566 (pt
43567 \begin_inset space ~
43568 \end_inset
43569
43570 154) Cyrillic for Kazakh
43571 \end_layout
43572
43573 \begin_layout Description
43574 Greek
43575 \begin_inset space ~
43576 \end_inset
43577
43578 (ISO
43579 \begin_inset space ~
43580 \end_inset
43581
43582 8859-7) for Greek
43583 \end_layout
43584
43585 \begin_layout Description
43586 Hebrew
43587 \begin_inset space ~
43588 \end_inset
43589
43590 (CP
43591 \begin_inset space ~
43592 \end_inset
43593
43594 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
43595 \end_layout
43596
43597 \begin_layout Description
43598 Hebrew
43599 \begin_inset space ~
43600 \end_inset
43601
43602 (ISO
43603 \begin_inset space ~
43604 \end_inset
43605
43606 8859-8) for Hebrew
43607 \end_layout
43608
43609 \begin_layout Description
43610 Japanese
43611 \begin_inset space ~
43612 \end_inset
43613
43614 (CJK)
43615 \begin_inset space ~
43616 \end_inset
43617
43618 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43619 -package 
43620 \series bold
43621 CJK
43622 \series default
43623
43624 \begin_inset Index idx
43625 status collapsed
43626
43627 \begin_layout Plain Layout
43628 \SpecialChar LaTeX
43629  packages ! CJK
43630 \end_layout
43631
43632 \end_inset
43633
43634 , when using this, set the document language to 
43635 \family sans
43636 Japanese (CJK)
43637 \end_layout
43638
43639 \begin_layout Description
43640 Japanese
43641 \begin_inset space ~
43642 \end_inset
43643
43644 (CJK)
43645 \begin_inset space ~
43646 \end_inset
43647
43648 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43649 -package 
43650 \series bold
43651 CJK
43652 \series default
43653 , when using this, set the document language to 
43654 \family sans
43655 Japanese
43656 \begin_inset space ~
43657 \end_inset
43658
43659 (CJK)
43660 \end_layout
43661
43662 \begin_layout Description
43663 Japanese
43664 \begin_inset space ~
43665 \end_inset
43666
43667 (non-CJK)
43668 \begin_inset space ~
43669 \end_inset
43670
43671 (EUC-JP) EUC-JP encoding for Japanese, uses the \SpecialChar LaTeX
43672 -package 
43673 \series bold
43674 japanese
43675 \series default
43676
43677 \begin_inset Index idx
43678 status collapsed
43679
43680 \begin_layout Plain Layout
43681 \SpecialChar LaTeX
43682  packages ! japanese
43683 \end_layout
43684
43685 \end_inset
43686
43687 , when using this, set the document language to 
43688 \family sans
43689 Japanese
43690 \end_layout
43691
43692 \begin_layout Description
43693 Japanese
43694 \begin_inset space ~
43695 \end_inset
43696
43697 (non-CJK)
43698 \begin_inset space ~
43699 \end_inset
43700
43701 (JIS) JIS encoding for Japanese, uses the \SpecialChar LaTeX
43702 -package 
43703 \series bold
43704 japanese
43705 \series default
43706 , when using this, set the document language to 
43707 \family sans
43708 Japanese
43709 \end_layout
43710
43711 \begin_layout Description
43712 Japanese
43713 \begin_inset space ~
43714 \end_inset
43715
43716 (non-CJK)
43717 \begin_inset space ~
43718 \end_inset
43719
43720 (SJIS) SJIS encoding for Japanese, uses the \SpecialChar LaTeX
43721 -package 
43722 \series bold
43723 japanese
43724 \series default
43725 , when using this, set the document language to 
43726 \family sans
43727 Japanese
43728 \end_layout
43729
43730 \begin_layout Description
43731 Korean
43732 \begin_inset space ~
43733 \end_inset
43734
43735 (EUC-KR) for Korean
43736 \end_layout
43737
43738 \begin_layout Description
43739 Southern
43740 \begin_inset space ~
43741 \end_inset
43742
43743 European
43744 \begin_inset space ~
43745 \end_inset
43746
43747 (ISO
43748 \begin_inset space ~
43749 \end_inset
43750
43751 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
43752 \end_layout
43753
43754 \begin_layout Description
43755 South-Eastern
43756 \begin_inset space ~
43757 \end_inset
43758
43759 European
43760 \begin_inset space ~
43761 \end_inset
43762
43763 (ISO
43764 \begin_inset space ~
43765 \end_inset
43766
43767 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
43768  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
43769  to cover many languages and characters with diacritics
43770 \end_layout
43771
43772 \begin_layout Description
43773 Thai
43774 \begin_inset space ~
43775 \end_inset
43776
43777 (TIS
43778 \begin_inset space ~
43779 \end_inset
43780
43781 620-0) for Thai
43782 \end_layout
43783
43784 \begin_layout Description
43785 Turkish
43786 \begin_inset space ~
43787 \end_inset
43788
43789 (ISO
43790 \begin_inset space ~
43791 \end_inset
43792
43793 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
43794  Icelandic letters are replaced by Turkish ones
43795 \end_layout
43796
43797 \begin_layout Description
43798 Unicode
43799 \begin_inset space ~
43800 \end_inset
43801
43802 (CJK)
43803 \begin_inset space ~
43804 \end_inset
43805
43806 (utf8) Unicode utf8 with the \SpecialChar LaTeX
43807 -package 
43808 \series bold
43809 CJK
43810 \series default
43811
43812 \begin_inset Index idx
43813 status collapsed
43814
43815 \begin_layout Plain Layout
43816 \SpecialChar LaTeX
43817  packages ! CJK
43818 \end_layout
43819
43820 \end_inset
43821
43822  (for the languages Chinese, Japanese and Korean)
43823 \end_layout
43824
43825 \begin_layout Description
43826 Unicode
43827 \begin_inset space ~
43828 \end_inset
43829
43830 (Xe
43831 \family sans
43832 TeX
43833 \family default
43834 )
43835 \begin_inset space ~
43836 \end_inset
43837
43838 (utf8) Unicode utf8 to be used with 
43839 \family sans
43840 Xe\SpecialChar TeX
43841
43842 \family default
43843  and 
43844 \family sans
43845 Lua\SpecialChar TeX
43846
43847 \family default
43848 , which use Unicode directly, without the help of the \SpecialChar LaTeX
43849 -package 
43850 \series bold
43851 inputenc
43852 \series default
43853 .
43854  \SpecialChar LyX
43855  automatically selects this encoding if you export or preview Xe\SpecialChar TeX
43856  or Lua\SpecialChar TeX
43857 .
43858  Normally you do not need to set this encoding manually.
43859 \end_layout
43860
43861 \begin_layout Description
43862 Unicode
43863 \begin_inset space ~
43864 \end_inset
43865
43866 (ucs-extended)
43867 \begin_inset space ~
43868 \end_inset
43869
43870 (utf8x) Unicode utf8 based on the \SpecialChar LaTeX
43871 -package 
43872 \series bold
43873 ucs
43874 \series default
43875
43876 \begin_inset Index idx
43877 status collapsed
43878
43879 \begin_layout Plain Layout
43880 \SpecialChar LaTeX
43881  packages ! ucs
43882 \end_layout
43883
43884 \end_inset
43885
43886  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
43887 \end_layout
43888
43889 \begin_layout Description
43890 Unicode
43891 \begin_inset space ~
43892 \end_inset
43893
43894 (utf8) Unicode utf8 based on the \SpecialChar LaTeX
43895 -package 
43896 \series bold
43897 inputenc
43898 \series default
43899
43900 \begin_inset Index idx
43901 status collapsed
43902
43903 \begin_layout Plain Layout
43904 \SpecialChar LaTeX
43905  packages ! inputenc
43906 \end_layout
43907
43908 \end_inset
43909
43910 .
43911  Currently only a limited range of characters (mainly for Latin scripts)
43912  is supported.
43913 \end_layout
43914
43915 \begin_layout Description
43916 Western
43917 \begin_inset space ~
43918 \end_inset
43919
43920 European
43921 \begin_inset space ~
43922 \end_inset
43923
43924 (CP
43925 \begin_inset space ~
43926 \end_inset
43927
43928 1252) MS Windows code page for ISO
43929 \begin_inset space ~
43930 \end_inset
43931
43932 8859-1 (latin1)
43933 \end_layout
43934
43935 \begin_layout Description
43936 Western
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-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
43949  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
43950  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
43951  encoding instead
43952 \end_layout
43953
43954 \begin_layout Description
43955 Western
43956 \begin_inset space ~
43957 \end_inset
43958
43959 European
43960 \begin_inset space ~
43961 \end_inset
43962
43963 (ISO
43964 \begin_inset space ~
43965 \end_inset
43966
43967 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
43968  sign, the œ-ligature and some characters used for French and Finnish
43969 \end_layout
43970
43971 \begin_layout Section
43972 Colors
43973 \begin_inset Index idx
43974 status collapsed
43975
43976 \begin_layout Plain Layout
43977 Color ! main text
43978 \end_layout
43979
43980 \end_inset
43981
43982
43983 \begin_inset Index idx
43984 status collapsed
43985
43986 \begin_layout Plain Layout
43987 Color ! background
43988 \end_layout
43989
43990 \end_inset
43991
43992
43993 \begin_inset Index idx
43994 status collapsed
43995
43996 \begin_layout Plain Layout
43997 Color ! Shaded boxes
43998 \end_layout
43999
44000 \end_inset
44001
44002
44003 \begin_inset Index idx
44004 status collapsed
44005
44006 \begin_layout Plain Layout
44007 Color ! Greyed-out notes
44008 \end_layout
44009
44010 \end_inset
44011
44012
44013 \end_layout
44014
44015 \begin_layout Standard
44016 Here you can alter the font color for the 
44017 \family sans
44018 Main text
44019 \family default
44020  (default: black), for 
44021 \family sans
44022 Greyed
44023 \begin_inset space ~
44024 \end_inset
44025
44026 out notes
44027 \family default
44028  (default: light grey)for the background color for the 
44029 \family sans
44030 Page
44031 \family default
44032  (default: white) and for 
44033 \family sans
44034 Shaded
44035 \begin_inset space ~
44036 \end_inset
44037
44038 boxes
44039 \family default
44040  (default: red).
44041  The button 
44042 \family sans
44043 Reset
44044 \family default
44045  sets the color back to the default.
44046 \end_layout
44047
44048 \begin_layout Standard
44049 Clicking any button showing 
44050 \family sans
44051 Default
44052 \family default
44053  or 
44054 \family sans
44055 Change
44056 \family default
44057  opens a dialog enabling you to choose from a selection of colors or from
44058  a color-picker or to specify a color using HSL or RGB values.
44059  In the dialog you can add any color to the custom colors to select them
44060  later more quickly.
44061 \end_layout
44062
44063 \begin_layout Standard
44064 Note, if you change the 
44065 \family sans
44066 Main
44067 \begin_inset space ~
44068 \end_inset
44069
44070 text
44071 \family default
44072  font color and use the option 
44073 \family sans
44074 Color
44075 \begin_inset space ~
44076 \end_inset
44077
44078 links
44079 \family default
44080  in the document settings under 
44081 \family sans
44082 PDF
44083 \begin_inset space ~
44084 \end_inset
44085
44086 properties
44087 \family default
44088 , you probably also need to change the link font color as described in section
44089 \begin_inset space ~
44090 \end_inset
44091
44092
44093 \begin_inset CommandInset ref
44094 LatexCommand ref
44095 reference "sec:PDF-Properties"
44096
44097 \end_inset
44098
44099 .
44100 \end_layout
44101
44102 \begin_layout Standard
44103 \begin_inset VSpace bigskip
44104 \end_inset
44105
44106
44107 \end_layout
44108
44109 \begin_layout Standard
44110 You can adapt the 
44111 \family sans
44112 Main
44113 \begin_inset space ~
44114 \end_inset
44115
44116 text
44117 \family default
44118  font color and the 
44119 \family sans
44120 Page
44121 \family default
44122  background for every page in your document if you use these commands as
44123  \SpecialChar TeX
44124
44125 \begin_inset space ~
44126 \end_inset
44127
44128 Code after a forced page break:
44129 \end_layout
44130
44131 \begin_layout Itemize
44132 For the page color:
44133 \begin_inset Newline newline
44134 \end_inset
44135
44136
44137 \series bold
44138
44139 \backslash
44140 pagecolor{color name}
44141 \end_layout
44142
44143 \begin_layout Itemize
44144 For the text color:
44145 \begin_inset Newline newline
44146 \end_inset
44147
44148
44149 \series bold
44150
44151 \backslash
44152 color{color name}
44153 \end_layout
44154
44155 \begin_layout Standard
44156 You are restricted to one of 
44157 \series bold
44158 black
44159 \series default
44160
44161 \series bold
44162 blue
44163 \series default
44164
44165 \series bold
44166 cyan
44167 \series default
44168
44169 \series bold
44170 green
44171 \series default
44172
44173 \series bold
44174 magenta
44175 \series default
44176
44177 \series bold
44178 red
44179 \series default
44180
44181 \series bold
44182 white
44183 \series default
44184  or 
44185 \series bold
44186 yellow
44187 \series default
44188  for the 
44189 \series bold
44190 color name
44191 \series default
44192  unless you have defined your own color (see the section 
44193 \emph on
44194 Colored Tables
44195 \emph default
44196  of the 
44197 \emph on
44198 Embedded
44199 \begin_inset space ~
44200 \end_inset
44201
44202 Objects
44203 \emph default
44204  Manual).
44205 \begin_inset Newline newline
44206 \end_inset
44207
44208 If you have changed a text or background color, you can use the following
44209  names to refer to them:
44210 \end_layout
44211
44212 \begin_layout Itemize
44213 For the 
44214 \family sans
44215 Page
44216 \family default
44217  background color:
44218 \begin_inset Newline newline
44219 \end_inset
44220
44221
44222 \series bold
44223 page_backgroundcolor
44224 \end_layout
44225
44226 \begin_layout Itemize
44227 For the 
44228 \family sans
44229 Main
44230 \begin_inset space ~
44231 \end_inset
44232
44233 text
44234 \family default
44235  color:
44236 \begin_inset Newline newline
44237 \end_inset
44238
44239
44240 \series bold
44241 document_fontcolor
44242 \end_layout
44243
44244 \begin_layout Itemize
44245 For the 
44246 \family sans
44247 Shaded
44248 \begin_inset space ~
44249 \end_inset
44250
44251 boxes
44252 \family default
44253  background color:
44254 \begin_inset Newline newline
44255 \end_inset
44256
44257
44258 \series bold
44259 shadecolor
44260 \end_layout
44261
44262 \begin_layout Itemize
44263 For the 
44264 \family sans
44265 Greyed
44266 \begin_inset space ~
44267 \end_inset
44268
44269 out notes
44270 \family default
44271  text color:
44272 \begin_inset Newline newline
44273 \end_inset
44274
44275
44276 \series bold
44277 note_fontcolor
44278 \end_layout
44279
44280 \begin_layout Standard
44281 To see how to define and use custom colors, see section 
44282 \emph on
44283 Colored
44284 \begin_inset space ~
44285 \end_inset
44286
44287 Cells
44288 \emph default
44289  of the 
44290 \emph on
44291 Embedded
44292 \begin_inset space ~
44293 \end_inset
44294
44295 Objects
44296 \emph default
44297  manual.
44298 \end_layout
44299
44300 \begin_layout Section
44301 Numbering & TOC
44302 \end_layout
44303
44304 \begin_layout Standard
44305 Here you can adjust the 
44306 \family sans
44307 Numbering
44308 \family default
44309  depth of section headings and the section depth in the 
44310 \family sans
44311 Table of Contents
44312 \family default
44313  as described in section
44314 \begin_inset space ~
44315 \end_inset
44316
44317
44318 \begin_inset CommandInset ref
44319 LatexCommand ref
44320 reference "subsec:Numbering-depth"
44321
44322 \end_inset
44323
44324 .
44325 \end_layout
44326
44327 \begin_layout Section
44328 Bibliography
44329 \end_layout
44330
44331 \begin_layout Standard
44332 Here you can specify if a specific citation style using the \SpecialChar LaTeX
44333  packages 
44334 \series bold
44335 biblatex
44336 \series default
44337
44338 \begin_inset Index idx
44339 status collapsed
44340
44341 \begin_layout Plain Layout
44342 \SpecialChar LaTeX
44343  packages ! biblatex
44344 \end_layout
44345
44346 \end_inset
44347
44348
44349 \series bold
44350 natbib
44351 \series default
44352
44353 \begin_inset Index idx
44354 status collapsed
44355
44356 \begin_layout Plain Layout
44357 \SpecialChar LaTeX
44358  packages ! natbib
44359 \end_layout
44360
44361 \end_inset
44362
44363  or 
44364 \series bold
44365 jurabib
44366 \series default
44367
44368 \begin_inset Index idx
44369 status collapsed
44370
44371 \begin_layout Plain Layout
44372 \SpecialChar LaTeX
44373  packages ! jurabib
44374 \end_layout
44375
44376 \end_inset
44377
44378  should be used.
44379  If you use Bib\SpecialChar TeX
44380 , you can enable a 
44381 \family sans
44382 Sectioned bibliography
44383 \family default
44384  using the \SpecialChar LaTeX
44385  package 
44386 \series bold
44387 bibtopic
44388 \series default
44389
44390 \begin_inset Index idx
44391 status collapsed
44392
44393 \begin_layout Plain Layout
44394 \SpecialChar LaTeX
44395  packages ! bibtopic
44396 \end_layout
44397
44398 \end_inset
44399
44400 .
44401  If you use 
44402 \noun on
44403 Biblatex
44404 \noun default
44405 , you can select the style files and specify further options.
44406  Finally, you can select a document-specific 
44407 \family sans
44408 Processor
44409 \family default
44410  for the generation of the bibliography.
44411  For a further description of these possibilities see section
44412 \begin_inset space ~
44413 \end_inset
44414
44415
44416 \begin_inset CommandInset ref
44417 LatexCommand ref
44418 reference "sec:Bibliography"
44419
44420 \end_inset
44421
44422 .
44423 \end_layout
44424
44425 \begin_layout Section
44426 Indexes
44427 \end_layout
44428
44429 \begin_layout Standard
44430 Here you can define the 
44431 \family sans
44432 Processor
44433 \family default
44434  that will generate your index and you can define additional indexes (see
44435  section
44436 \begin_inset space ~
44437 \end_inset
44438
44439
44440 \begin_inset CommandInset ref
44441 LatexCommand ref
44442 reference "sec:Index"
44443
44444 \end_inset
44445
44446  for details).
44447 \end_layout
44448
44449 \begin_layout Section
44450 PDF Properties
44451 \end_layout
44452
44453 \begin_layout Standard
44454 The PDF properties are explained in section
44455 \begin_inset space ~
44456 \end_inset
44457
44458
44459 \begin_inset CommandInset ref
44460 LatexCommand ref
44461 reference "sec:PDF-Properties"
44462
44463 \end_inset
44464
44465 .
44466 \end_layout
44467
44468 \begin_layout Section
44469 Math Options
44470 \end_layout
44471
44472 \begin_layout Standard
44473 These options will force \SpecialChar LyX
44474  to use the \SpecialChar LaTeX
44475  packages 
44476 \series bold
44477 amsmath
44478 \series default
44479
44480 \begin_inset Index idx
44481 status collapsed
44482
44483 \begin_layout Plain Layout
44484 \SpecialChar LaTeX
44485  packages ! amsmath
44486 \end_layout
44487
44488 \end_inset
44489
44490
44491 \series bold
44492 amssymb
44493 \series default
44494
44495 \begin_inset Index idx
44496 status collapsed
44497
44498 \begin_layout Plain Layout
44499 \SpecialChar LaTeX
44500  packages ! amssymb
44501 \end_layout
44502
44503 \end_inset
44504
44505 ,
44506 \series bold
44507  cancel
44508 \series default
44509
44510 \begin_inset Index idx
44511 status collapsed
44512
44513 \begin_layout Plain Layout
44514 \SpecialChar LaTeX
44515  packages ! cancel
44516 \end_layout
44517
44518 \end_inset
44519
44520 ,
44521 \series bold
44522  esint
44523 \series default
44524
44525 \begin_inset Index idx
44526 status collapsed
44527
44528 \begin_layout Plain Layout
44529 \SpecialChar LaTeX
44530  packages ! esint
44531 \end_layout
44532
44533 \end_inset
44534
44535
44536 \series bold
44537 mathdots
44538 \series default
44539
44540 \begin_inset Index idx
44541 status collapsed
44542
44543 \begin_layout Plain Layout
44544 \SpecialChar LaTeX
44545  packages ! mathdots
44546 \end_layout
44547
44548 \end_inset
44549
44550
44551 \series bold
44552 mathtools
44553 \series default
44554
44555 \begin_inset Index idx
44556 status collapsed
44557
44558 \begin_layout Plain Layout
44559 \SpecialChar LaTeX
44560  packages ! mathtools
44561 \end_layout
44562
44563 \end_inset
44564
44565
44566 \series bold
44567 mhchem
44568 \series default
44569
44570 \begin_inset Index idx
44571 status collapsed
44572
44573 \begin_layout Plain Layout
44574 \SpecialChar LaTeX
44575  packages ! mhchem
44576 \end_layout
44577
44578 \end_inset
44579
44580
44581 \series bold
44582 stackrel
44583 \series default
44584
44585 \begin_inset Index idx
44586 status collapsed
44587
44588 \begin_layout Plain Layout
44589 \SpecialChar LaTeX
44590  packages ! stackrel
44591 \end_layout
44592
44593 \end_inset
44594
44595
44596 \series bold
44597 stmaryrd
44598 \series default
44599
44600 \begin_inset Index idx
44601 status collapsed
44602
44603 \begin_layout Plain Layout
44604 \SpecialChar LaTeX
44605  packages ! stmaryrd
44606 \end_layout
44607
44608 \end_inset
44609
44610  and 
44611 \series bold
44612 undertilde
44613 \series default
44614
44615 \begin_inset Index idx
44616 status collapsed
44617
44618 \begin_layout Plain Layout
44619 \SpecialChar LaTeX
44620  packages ! undertilde
44621 \end_layout
44622
44623 \end_inset
44624
44625 , or to use them automatically when they are needed.
44626 \end_layout
44627
44628 \begin_layout Description
44629 amsmath is needed for many constructs, so when you get \SpecialChar LaTeX
44630 -errors in formulas,
44631  ensure that you have this enabled.
44632 \end_layout
44633
44634 \begin_layout Description
44635 amssymb is needed for some special math symbols like bold or upright Greek
44636  letters, so when you get \SpecialChar LaTeX
44637 -errors in formulas, ensure that you have this
44638  enabled.
44639 \end_layout
44640
44641 \begin_layout Description
44642 cancel is used for canceled formulas, see section 
44643 \emph on
44644 Canceled
44645 \begin_inset space ~
44646 \end_inset
44647
44648 Formulas
44649 \emph default
44650  of the 
44651 \emph on
44652 Math
44653 \emph default
44654  manual.
44655 \end_layout
44656
44657 \begin_layout Description
44658 esint is used for special integral characters, see section 
44659 \emph on
44660 Big
44661 \begin_inset space ~
44662 \end_inset
44663
44664 Operators
44665 \emph default
44666  of the 
44667 \emph on
44668 Math
44669 \emph default
44670  manual.
44671 \end_layout
44672
44673 \begin_layout Description
44674 mathdots is used for special ellipses, see section 
44675 \emph on
44676 Ellipses
44677 \emph default
44678  of the 
44679 \emph on
44680 Math
44681 \emph default
44682  manual.
44683 \end_layout
44684
44685 \begin_layout Description
44686 mathtools is used for the math commands 
44687 \series bold
44688
44689 \backslash
44690 overbracket
44691 \series default
44692
44693 \series bold
44694
44695 \backslash
44696 underbracket
44697 \series default
44698
44699 \series bold
44700
44701 \backslash
44702 smashoperator
44703 \series default
44704
44705 \series bold
44706
44707 \backslash
44708 adjustlimits
44709 \series default
44710
44711 \series bold
44712
44713 \backslash
44714 splitfrac
44715 \series default
44716
44717 \series bold
44718
44719 \backslash
44720 shortintertext
44721 \series default
44722  and labeled arrows, see the corresponding sections in the 
44723 \emph on
44724 Math
44725 \emph default
44726  manual.
44727 \end_layout
44728
44729 \begin_layout Description
44730 mhchem is used for chemical equations, see section 
44731 \emph on
44732 Chemical Symbols and Equations
44733 \emph default
44734  of the 
44735 \emph on
44736 Math
44737 \emph default
44738  manual.
44739 \end_layout
44740
44741 \begin_layout Description
44742 stackrel is used for the math command 
44743 \series bold
44744
44745 \backslash
44746 stackrel
44747 \series default
44748 , see section 
44749 \emph on
44750 Relations 
44751 \emph default
44752 of the 
44753 \emph on
44754 Math
44755 \emph default
44756  manual.
44757 \end_layout
44758
44759 \begin_layout Description
44760 stmaryrd is used for a few special math symbols.
44761 \end_layout
44762
44763 \begin_layout Description
44764 undertilde is used for the math command 
44765 \series bold
44766
44767 \backslash
44768 utilde
44769 \series default
44770 , see section 
44771 \emph on
44772 Accents for one Character 
44773 \emph default
44774 of the 
44775 \emph on
44776 Math
44777 \emph default
44778  manual.
44779 \end_layout
44780
44781 \begin_layout Section
44782 Float Placement
44783 \end_layout
44784
44785 \begin_layout Standard
44786 The float placement options are described in the section 
44787 \emph on
44788 Float
44789 \begin_inset space ~
44790 \end_inset
44791
44792 Placement
44793 \emph default
44794  of the 
44795 \emph on
44796 Embedded
44797 \begin_inset space ~
44798 \end_inset
44799
44800 Objects
44801 \emph default
44802  manual.
44803 \end_layout
44804
44805 \begin_layout Section
44806 Listings
44807 \end_layout
44808
44809 \begin_layout Standard
44810 The listings settings are explained in the chapter 
44811 \emph on
44812 Program Code Listings
44813 \emph default
44814  of the 
44815 \emph on
44816 Embedded
44817 \begin_inset space ~
44818 \end_inset
44819
44820 Objects
44821 \emph default
44822  manual.
44823 \end_layout
44824
44825 \begin_layout Section
44826 Bullets
44827 \end_layout
44828
44829 \begin_layout Standard
44830 Here you can adjust the characters used for the itemize 
44831 \family sans
44832 Level
44833 \family default
44834 s, specify the 
44835 \family sans
44836 Font
44837 \family default
44838  set to be used and set the 
44839 \family sans
44840 Size
44841 \family default
44842  of the bullets.
44843  The itemize environment is described in section
44844 \begin_inset space ~
44845 \end_inset
44846
44847
44848 \begin_inset CommandInset ref
44849 LatexCommand ref
44850 reference "sec:Itemize"
44851
44852 \end_inset
44853
44854 .
44855 \end_layout
44856
44857 \begin_layout Standard
44858 You can furthermore specify a 
44859 \family sans
44860 Custom
44861 \begin_inset space ~
44862 \end_inset
44863
44864 Bullet
44865 \family default
44866  by inserting in this field the \SpecialChar LaTeX
44867  command of the desired character.
44868  For example to use the € sign, you have to insert the command 
44869 \series bold
44870
44871 \backslash
44872 texteuro
44873 \series default
44874 .
44875  For math symbols you additionally need to enclose the command with $ signs.
44876  To use e.
44877 \begin_inset space \thinspace{}
44878 \end_inset
44879
44880 g.
44881 \begin_inset space \space{}
44882 \end_inset
44883
44884 the symbol 
44885 \begin_inset Formula $\circlearrowright$
44886 \end_inset
44887
44888  you need to enter 
44889 \series bold
44890 $
44891 \backslash
44892 circlearrowright$
44893 \series default
44894 .
44895  To find the command for a math symbol, create a formula and hover the mouse
44896  over the desired symbol in the math toolbar.
44897 \end_layout
44898
44899 \begin_layout Standard
44900 \begin_inset Note Greyedout
44901 status open
44902
44903 \begin_layout Plain Layout
44904
44905 \series bold
44906 Note:
44907 \series default
44908  Some characters require to load special \SpecialChar LaTeX
44909 -packages in the preamble (menu
44910  
44911 \family sans
44912 Document\SpecialChar menuseparator
44913 Settings\SpecialChar menuseparator
44914 \SpecialChar LaTeX
44915
44916 \begin_inset space ~
44917 \end_inset
44918
44919 Preamble
44920 \family default
44921 ).
44922  For example for the € sign one needs to add the line 
44923 \series bold
44924
44925 \backslash
44926 usepackage{textcomp}
44927 \series default
44928  to the preamble.
44929  For most math symbols it is sufficient to add the line 
44930 \series bold
44931
44932 \backslash
44933 usepackage{amssymb}
44934 \series default
44935 .
44936 \end_layout
44937
44938 \end_inset
44939
44940
44941 \end_layout
44942
44943 \begin_layout Section
44944 Branches
44945 \end_layout
44946
44947 \begin_layout Standard
44948 Branches are described in section
44949 \begin_inset space ~
44950 \end_inset
44951
44952
44953 \begin_inset CommandInset ref
44954 LatexCommand ref
44955 reference "sec:Branches"
44956
44957 \end_inset
44958
44959 .
44960 \end_layout
44961
44962 \begin_layout Section
44963 Formats
44964 \begin_inset CommandInset label
44965 LatexCommand label
44966 name "sec:Doc-Formats"
44967
44968 \end_inset
44969
44970
44971 \end_layout
44972
44973 \begin_layout Standard
44974 Here you can define some output specifics for the current document:
44975 \end_layout
44976
44977 \begin_layout Description
44978 Default
44979 \begin_inset space ~
44980 \end_inset
44981
44982 Output
44983 \begin_inset space ~
44984 \end_inset
44985
44986 Format: The format that is used when you enter 
44987 \begin_inset Quotes eld
44988 \end_inset
44989
44990 View
44991 \begin_inset Quotes erd
44992 \end_inset
44993
44994
44995 \begin_inset Quotes eld
44996 \end_inset
44997
44998 Update
44999 \begin_inset Quotes erd
45000 \end_inset
45001
45002
45003 \begin_inset Quotes eld
45004 \end_inset
45005
45006 View Master Document
45007 \begin_inset Quotes erd
45008 \end_inset
45009
45010  and 
45011 \begin_inset Quotes eld
45012 \end_inset
45013
45014 Update Master Document
45015 \begin_inset Quotes erd
45016 \end_inset
45017
45018  in the 
45019 \family sans
45020 Document
45021 \family default
45022  menu or the toolbar.
45023  The default is set in 
45024 \family sans
45025 Tools\SpecialChar menuseparator
45026 Preferences\SpecialChar menuseparator
45027 File
45028 \begin_inset space ~
45029 \end_inset
45030
45031 Handling\SpecialChar menuseparator
45032 File Formats
45033 \family default
45034 , see section
45035 \begin_inset space ~
45036 \end_inset
45037
45038
45039 \begin_inset CommandInset ref
45040 LatexCommand ref
45041 reference "sec:File-Formats"
45042
45043 \end_inset
45044
45045 .
45046 \end_layout
45047
45048 \begin_layout Description
45049 Synchronize
45050 \begin_inset space ~
45051 \end_inset
45052
45053 with
45054 \begin_inset space ~
45055 \end_inset
45056
45057 Output settings for the menu 
45058 \family sans
45059 Navigate\SpecialChar menuseparator
45060 Forward
45061 \begin_inset space ~
45062 \end_inset
45063
45064 search
45065 \family default
45066 .
45067  For a detailed description see section 
45068 \emph on
45069 Reverse DVI/PDF search
45070 \emph default
45071  of the 
45072 \emph on
45073 Additional
45074 \begin_inset space ~
45075 \end_inset
45076
45077 Features
45078 \emph default
45079  manual.
45080 \end_layout
45081
45082 \begin_layout Description
45083 XHTML
45084 \begin_inset space ~
45085 \end_inset
45086
45087 Output
45088 \begin_inset space ~
45089 \end_inset
45090
45091 Options offers settings for the export format 
45092 \family sans
45093 LyXHTML
45094 \family default
45095 .
45096  
45097 \family sans
45098 Strict XHTML
45099 \begin_inset space ~
45100 \end_inset
45101
45102 1.1
45103 \family default
45104  will assure that the output follows exactly version
45105 \begin_inset space ~
45106 \end_inset
45107
45108 1.1 of the XHTML standard.
45109  The different 
45110 \family sans
45111 Math
45112 \begin_inset space ~
45113 \end_inset
45114
45115 output
45116 \family default
45117  settings are described in detail in section 
45118 \emph on
45119 Math Output in XHTML
45120 \emph default
45121  of the 
45122 \emph on
45123 Additional
45124 \begin_inset space ~
45125 \end_inset
45126
45127 Features
45128 \emph default
45129  manual.
45130  
45131 \family sans
45132 Math
45133 \begin_inset space ~
45134 \end_inset
45135
45136 image
45137 \begin_inset space ~
45138 \end_inset
45139
45140 scaling
45141 \family default
45142  is used for the size of equations in the output.
45143 \end_layout
45144
45145 \begin_layout Description
45146 LyX
45147 \begin_inset space ~
45148 \end_inset
45149
45150 Format The option 
45151 \family sans
45152 Save transient properties
45153 \family default
45154  controls whether document settings that are frequently switched or that
45155  are specific to the user are saved with the document.
45156  The properties that are affected by option are currently:
45157 \end_layout
45158
45159 \begin_deeper
45160 \begin_layout Itemize
45161 the activation of change tracking
45162 \end_layout
45163
45164 \begin_layout Itemize
45165 the output of tracked changes
45166 \end_layout
45167
45168 \begin_layout Itemize
45169 the recording of the document directory path.
45170 \end_layout
45171
45172 \begin_layout Standard
45173 Disabling the option can prevent issues in collaborative work and/or when
45174  using a version control system (for instance unnecessary merge conflicts).
45175 \end_layout
45176
45177 \end_deeper
45178 \begin_layout Section
45179 La
45180 \family sans
45181 TeX
45182 \family default
45183  Preamble
45184 \end_layout
45185
45186 \begin_layout Standard
45187 In this text field you can enter commands to load special \SpecialChar LaTeX
45188 -packages or to
45189  define \SpecialChar LaTeX
45190 -commands.
45191  The preamble is a thing for \SpecialChar LaTeX
45192 -experts.
45193  You should not enter commands here until you know exactly what you are
45194  doing.
45195 \end_layout
45196
45197 \begin_layout Standard
45198 An introduction to the \SpecialChar LaTeX
45199 -syntax is given in section
45200 \begin_inset space ~
45201 \end_inset
45202
45203
45204 \begin_inset CommandInset ref
45205 LatexCommand ref
45206 reference "subsec:LaTeX-Syntax"
45207
45208 \end_inset
45209
45210 .
45211 \end_layout
45212
45213 \begin_layout Chapter
45214 The 
45215 \family sans
45216 Preferences
45217 \family default
45218  Dialog
45219 \begin_inset CommandInset label
45220 LatexCommand label
45221 name "chap:The-Preferences-dialog"
45222
45223 \end_inset
45224
45225
45226 \begin_inset Index idx
45227 status collapsed
45228
45229 \begin_layout Plain Layout
45230 Preferences
45231 \end_layout
45232
45233 \end_inset
45234
45235
45236 \end_layout
45237
45238 \begin_layout Standard
45239 The preferences dialog is called with the menu 
45240 \family sans
45241 Tools\SpecialChar menuseparator
45242 Preferences
45243 \family default
45244 .
45245  It has the following submenus.
45246 \end_layout
45247
45248 \begin_layout Section
45249 Look and Feel
45250 \end_layout
45251
45252 \begin_layout Subsection
45253 User Interface
45254 \end_layout
45255
45256 \begin_layout Subsubsection
45257 User Interface File
45258 \begin_inset Index idx
45259 status collapsed
45260
45261 \begin_layout Plain Layout
45262 Customization ! of toolbars
45263 \end_layout
45264
45265 \end_inset
45266
45267
45268 \begin_inset Index idx
45269 status collapsed
45270
45271 \begin_layout Plain Layout
45272 Customization ! of menus
45273 \end_layout
45274
45275 \end_inset
45276
45277
45278 \end_layout
45279
45280 \begin_layout Standard
45281 The appearance of the menus and toolbars can be changed by choosing a user
45282  interface (ui) file.
45283  A ui-file is a text file where the toolbars and menus are listed.
45284  The file 
45285 \emph on
45286 default.ui
45287 \emph default
45288  loads three files:
45289 \end_layout
45290
45291 \begin_layout Description
45292 stdmenus.inc
45293 \shape italic
45294  
45295 \emph on
45296 specifies the menu entries for the standard menus
45297 \end_layout
45298
45299 \begin_layout Description
45300 stdcontext.inc 
45301 \shape italic
45302 \emph on
45303 specifies
45304 \shape default
45305 \emph default
45306  the menu entries in popup context menus
45307 \end_layout
45308
45309 \begin_layout Description
45310 stdtoolbars.inc
45311 \shape italic
45312  
45313 \emph on
45314 specifies the toolbar buttons
45315 \end_layout
45316
45317 \begin_layout Standard
45318 To create your own menu and toolbar layout, start with a copy of these files
45319  and edit the entries.
45320 \end_layout
45321
45322 \begin_layout Standard
45323 The syntax of the .inc-files is straightforward: the 
45324 \family sans
45325 Menubar
45326 \family default
45327
45328 \family sans
45329 Menu
45330 \family default
45331  and 
45332 \family sans
45333 Toolbar
45334 \family default
45335  entries must be finished with an explicit 
45336 \family sans
45337 End
45338 \family default
45339 .
45340  They may contain 
45341 \family sans
45342 Submenu
45343 \family default
45344
45345 \family sans
45346 Item
45347 \family default
45348
45349 \family sans
45350 OptItem
45351 \family default
45352
45353 \family sans
45354 Separator
45355 \family default
45356
45357 \family sans
45358 Icon,
45359 \family default
45360  and in the case of the 
45361 \begin_inset Quotes eld
45362 \end_inset
45363
45364 file_lastfiles
45365 \begin_inset Quotes erd
45366 \end_inset
45367
45368  menu a 
45369 \family sans
45370 Lastfiles
45371 \family default
45372  entry.
45373  The syntax for the entries is:
45374 \end_layout
45375
45376 \begin_layout Standard
45377 \begin_inset VSpace smallskip*
45378 \end_inset
45379
45380
45381 \series bold
45382 Item 
45383 \begin_inset Quotes eld
45384 \end_inset
45385
45386 menu 
45387 \series default
45388 or
45389 \series bold
45390  button name
45391 \begin_inset Quotes erd
45392 \end_inset
45393
45394  
45395 \begin_inset Quotes eld
45396 \end_inset
45397
45398 \SpecialChar LyX
45399  function
45400 \begin_inset Quotes erd
45401 \end_inset
45402
45403
45404 \end_layout
45405
45406 \begin_layout Standard
45407 \noindent
45408 \begin_inset VSpace smallskip*
45409 \end_inset
45410
45411 All the \SpecialChar LyX
45412 -functions are listed in the menu 
45413 \family sans
45414 Help\SpecialChar menuseparator
45415 LyX
45416 \begin_inset space ~
45417 \end_inset
45418
45419 Functions
45420 \family default
45421 .
45422 \end_layout
45423
45424 \begin_layout Standard
45425 \begin_inset VSpace medskip
45426 \end_inset
45427
45428
45429 \end_layout
45430
45431 \begin_layout Standard
45432 For example, assuming you use the menu 
45433 \family sans
45434 Navigate\SpecialChar menuseparator
45435 Bookmarks
45436 \family default
45437  quite often and therefore want six available bookmarks, you can add the
45438  line
45439 \end_layout
45440
45441 \begin_layout Standard
45442 \begin_inset VSpace smallskip*
45443 \end_inset
45444
45445
45446 \series bold
45447 Item 
45448 \begin_inset Quotes eld
45449 \end_inset
45450
45451 Save Bookmark 6
45452 \begin_inset Quotes erd
45453 \end_inset
45454
45455  
45456 \begin_inset Quotes eld
45457 \end_inset
45458
45459 bookmark-save 6
45460 \begin_inset Quotes erd
45461 \end_inset
45462
45463
45464 \end_layout
45465
45466 \begin_layout Standard
45467 \noindent
45468 \begin_inset VSpace smallskip*
45469 \end_inset
45470
45471 to the 
45472 \begin_inset Quotes eld
45473 \end_inset
45474
45475 navigate_bookmarks
45476 \begin_inset Quotes erd
45477 \end_inset
45478
45479  menu in 
45480 \emph on
45481 stdmenus.inc
45482 \emph default
45483  to have the sixth bookmark.
45484 \end_layout
45485
45486 \begin_layout Standard
45487
45488 \family sans
45489 Icon
45490 \begin_inset space ~
45491 \end_inset
45492
45493 Set
45494 \family default
45495  allows you to change the appearance of \SpecialChar LyX
45496 's toolbar buttons.
45497  The currently available icon sets are compared in 
45498 \begin_inset CommandInset href
45499 LatexCommand href
45500 name "this image"
45501 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
45502 literal "false"
45503
45504 \end_inset
45505
45506 .
45507 \end_layout
45508
45509 \begin_layout Subsubsection
45510 Context help
45511 \end_layout
45512
45513 \begin_layout Standard
45514 The option 
45515 \family sans
45516 Enable tool tips in main work area
45517 \family default
45518  enables tool tips showing the content of closed insets like index entries
45519  or footnotes.
45520 \end_layout
45521
45522 \begin_layout Subsubsection
45523 Menus
45524 \end_layout
45525
45526 \begin_layout Standard
45527
45528 \family sans
45529 Maximum last files
45530 \family default
45531  is the number of last opened files that \SpecialChar LyX
45532  should display in the menu 
45533 \family sans
45534 File\SpecialChar menuseparator
45535 Open
45536 \begin_inset space ~
45537 \end_inset
45538
45539 Recent
45540 \family default
45541 .
45542 \end_layout
45543
45544 \begin_layout Subsection
45545 Document Handling
45546 \end_layout
45547
45548 \begin_layout Subsubsection
45549 Session handling
45550 \end_layout
45551
45552 \begin_layout Standard
45553 With the option 
45554 \family sans
45555 Restore window layouts and geometries
45556 \family default
45557  \SpecialChar LyX
45558 's main window will be opened with the size and layout that was used in
45559  the last \SpecialChar LyX
45560  session.
45561 \end_layout
45562
45563 \begin_layout Standard
45564 The option 
45565 \family sans
45566 Restore cursor positions
45567 \family default
45568  sets the cursor to the position in the file where it was at the end of
45569  the last session.
45570 \end_layout
45571
45572 \begin_layout Standard
45573 The option 
45574 \family sans
45575 Load opened files from last session
45576 \family default
45577  opens all files that were opened in the last \SpecialChar LyX
45578  session.
45579 \end_layout
45580
45581 \begin_layout Standard
45582 The button 
45583 \family sans
45584 Clear all session information
45585 \family default
45586  deletes all information from previous \SpecialChar LyX
45587  sessions (cursor positions, names
45588  of last opened documents, etc.).
45589 \end_layout
45590
45591 \begin_layout Subsubsection
45592 Backup & saving
45593 \begin_inset CommandInset label
45594 LatexCommand label
45595 name "subsec:Backup documents"
45596
45597 \end_inset
45598
45599
45600 \begin_inset Index idx
45601 status collapsed
45602
45603 \begin_layout Plain Layout
45604 Backup ! Documents
45605 \end_layout
45606
45607 \end_inset
45608
45609
45610 \end_layout
45611
45612 \begin_layout Standard
45613
45614 \family sans
45615 Backup original documents when saving
45616 \family default
45617  creates a backup copy of the file in the state when it was opened or when
45618  it was saved the last time.
45619  It is stored in the 
45620 \family sans
45621 Backup
45622 \begin_inset space ~
45623 \end_inset
45624
45625 directory
45626 \family default
45627  (see section
45628 \begin_inset space ~
45629 \end_inset
45630
45631
45632 \begin_inset CommandInset ref
45633 LatexCommand ref
45634 reference "sec:Paths"
45635
45636 \end_inset
45637
45638 ) or in the same folder as your document if no 
45639 \family sans
45640 Backup
45641 \begin_inset space ~
45642 \end_inset
45643
45644 directory
45645 \family default
45646  is specified.
45647  The backup file has the file extension 
45648 \begin_inset Quotes eld
45649 \end_inset
45650
45651
45652 \family sans
45653 .lyx~
45654 \family default
45655
45656 \begin_inset Quotes erd
45657 \end_inset
45658
45659 .
45660 \end_layout
45661
45662 \begin_layout Standard
45663 With the option 
45664 \family sans
45665 Backup documents, every
45666 \family default
45667 , you can specify the time between backup saves.
45668 \end_layout
45669
45670 \begin_layout Standard
45671
45672 \family sans
45673 Save documents compressed by default
45674 \family default
45675  always saves files in a compressed format (see also section
45676 \begin_inset space ~
45677 \end_inset
45678
45679
45680 \begin_inset CommandInset ref
45681 LatexCommand ref
45682 reference "subsec:Compressed"
45683
45684 \end_inset
45685
45686 ).
45687  This applies to newly created documents only.
45688  The compression status of existing documents is not changed when saving.
45689 \end_layout
45690
45691 \begin_layout Subsubsection
45692 Windows & work area
45693 \end_layout
45694
45695 \begin_layout Standard
45696 If the option 
45697 \family sans
45698 Open documents in tabs
45699 \family default
45700  is not checked, every file will be opened in its own new instance of \SpecialChar LyX
45701 .
45702 \end_layout
45703
45704 \begin_layout Standard
45705 The option 
45706 \family sans
45707 Single instance
45708 \family default
45709  is only active if a \SpecialChar LyX
45710 Server pipe
45711 \begin_inset Foot
45712 status collapsed
45713
45714 \begin_layout Plain Layout
45715 See section
45716 \begin_inset space ~
45717 \end_inset
45718
45719
45720 \begin_inset CommandInset ref
45721 LatexCommand ref
45722 reference "sec:Paths"
45723
45724 \end_inset
45725
45726  for information about \SpecialChar LyX
45727 Server pipes.
45728 \end_layout
45729
45730 \end_inset
45731
45732  is specified.
45733  If it is checked, \SpecialChar LyX
45734  documents will be opened in the same running instance
45735  of \SpecialChar LyX
45736 .
45737  Otherwise a new \SpecialChar LyX
45738  instance is created for each file.
45739 \end_layout
45740
45741 \begin_layout Standard
45742 If the option 
45743 \family sans
45744 Single close-tab button
45745 \family default
45746  is checked, there will only be one close button (
45747 \family sans
45748
45749 \begin_inset Info
45750 type  "icon"
45751 arg   "closetab"
45752 \end_inset
45753
45754
45755 \family default
45756 ) at the right side of the tab bar to close tabs.
45757  Otherwise every document tab has its own close button.
45758  Regardless of this option, one can always close a tab by middle-clicking
45759  it in the tab bar.
45760 \end_layout
45761
45762 \begin_layout Standard
45763 \begin_inset Note Greyedout
45764 status open
45765
45766 \begin_layout Plain Layout
45767
45768 \series bold
45769 Note:
45770 \series default
45771  For this option you have to restart \SpecialChar LyX
45772  before the change takes effect.
45773 \end_layout
45774
45775 \end_inset
45776
45777
45778 \end_layout
45779
45780 \begin_layout Standard
45781 With the setting 
45782 \family sans
45783 Closing last view
45784 \family default
45785  you one can decide if a document is closed or hidden when its tab or view
45786  is closed.
45787  Hidden documents are accessible via the menu 
45788 \family sans
45789 View\SpecialChar menuseparator
45790 Hidden
45791 \family default
45792 .
45793  Not to close documents can be useful if you open files parallel in several
45794  instances of \SpecialChar LyX
45795  and only want to close the view in once instance.
45796 \end_layout
45797
45798 \begin_layout Subsection
45799 Screen Fonts
45800 \begin_inset Index idx
45801 status collapsed
45802
45803 \begin_layout Plain Layout
45804 Font ! Screen
45805 \end_layout
45806
45807 \end_inset
45808
45809
45810 \begin_inset CommandInset label
45811 LatexCommand label
45812 name "subsec:Screen-Fonts"
45813
45814 \end_inset
45815
45816
45817 \end_layout
45818
45819 \begin_layout Standard
45820 These fonts are used to display your documents within \SpecialChar LyX
45821 .
45822 \end_layout
45823
45824 \begin_layout Standard
45825 \begin_inset Note Greyedout
45826 status open
45827
45828 \begin_layout Plain Layout
45829
45830 \series bold
45831 Note:
45832 \series default
45833  This section only deals with the fonts 
45834 \emph on
45835 inside
45836 \emph default
45837  the \SpecialChar LyX
45838  window.
45839  The fonts that appear in the output are independent of these fonts, and
45840  set in the menu 
45841 \family sans
45842 Document\SpecialChar menuseparator
45843 Settings\SpecialChar menuseparator
45844 Fonts
45845 \family default
45846 .
45847 \end_layout
45848
45849 \end_inset
45850
45851
45852 \end_layout
45853
45854 \begin_layout Standard
45855 By default, \SpecialChar LyX
45856  uses 
45857 \family typewriter
45858 Times
45859 \family default
45860  as its 
45861 \family sans
45862 Roman
45863 \family default
45864  (serif) font, 
45865 \family typewriter
45866 Arial
45867 \family default
45868  or 
45869 \family typewriter
45870 Helvetica
45871 \family default
45872  (depends on the system) as its 
45873 \family sans
45874 Sans
45875 \begin_inset space ~
45876 \end_inset
45877
45878 Serif
45879 \family default
45880  font and 
45881 \family typewriter
45882 Courier
45883 \family default
45884  as its 
45885 \family typewriter
45886 Typewriter
45887 \family default
45888  font.
45889 \end_layout
45890
45891 \begin_layout Standard
45892 You can change the font size with the 
45893 \family sans
45894 Zoom
45895 \family default
45896  setting.
45897 \end_layout
45898
45899 \begin_layout Standard
45900 The 
45901 \family sans
45902 Font Sizes
45903 \family default
45904  are calculated as letter height in units of points.
45905  72.27
45906 \begin_inset space \thinspace{}
45907 \end_inset
45908
45909 points have the size of 1
45910 \begin_inset space \thinspace{}
45911 \end_inset
45912
45913 inch, see Appendix
45914 \begin_inset space ~
45915 \end_inset
45916
45917
45918 \begin_inset CommandInset ref
45919 LatexCommand ref
45920 reference "chap:Units-available-in"
45921
45922 \end_inset
45923
45924 .
45925  The default font sizes are the same as if a document font size of 10
45926 \begin_inset space \thinspace{}
45927 \end_inset
45928
45929 pt were used.
45930  The sizes are explained in detail in section
45931 \begin_inset space ~
45932 \end_inset
45933
45934
45935 \begin_inset CommandInset ref
45936 LatexCommand ref
45937 reference "subsec:Document-Font"
45938
45939 \end_inset
45940
45941 .
45942 \end_layout
45943
45944 \begin_layout Standard
45945 With the option 
45946 \family sans
45947 Use pixmap cache to speed up font rendering
45948 \family default
45949  enabled, \SpecialChar LyX
45950  needs to redraw the screen less often.
45951  This results in better performance, especially on slow systems.
45952  On the other hand, the characters might look more fuzzy on screen.
45953  So whether you enable this or not depends on whether you prefer speed over
45954  aesthetics.
45955  Note that the Pixmap Cache is only available and useful under Mac
45956 \begin_inset space ~
45957 \end_inset
45958
45959 OS and Windows.
45960 \end_layout
45961
45962 \begin_layout Subsection
45963 Colors
45964 \begin_inset Index idx
45965 status collapsed
45966
45967 \begin_layout Plain Layout
45968 Color ! \SpecialChar LyX
45969  screen
45970 \end_layout
45971
45972 \end_inset
45973
45974
45975 \begin_inset Index idx
45976 status collapsed
45977
45978 \begin_layout Plain Layout
45979 Settings ! Color
45980 \end_layout
45981
45982 \end_inset
45983
45984
45985 \end_layout
45986
45987 \begin_layout Standard
45988 Here you can change the screen colors used by \SpecialChar LyX
45989  by choosing an item in the
45990  list and selecting the 
45991 \family sans
45992 Alter
45993 \family default
45994  button.
45995 \end_layout
45996
45997 \begin_layout Standard
45998 By checking the option 
45999 \family sans
46000 Use system colors
46001 \family default
46002  the color scheme of your OS or window manager is used.
46003  The colors 
46004 \family sans
46005 cursor, selection, table line, text, URL
46006 \begin_inset space ~
46007 \end_inset
46008
46009 label and URL
46010 \begin_inset space ~
46011 \end_inset
46012
46013 text
46014 \family default
46015  are then not customizable and thus not listed.
46016 \end_layout
46017
46018 \begin_layout Subsection
46019 Display
46020 \begin_inset Index idx
46021 status collapsed
46022
46023 \begin_layout Plain Layout
46024 Settings ! Display
46025 \end_layout
46026
46027 \end_inset
46028
46029
46030 \end_layout
46031
46032 \begin_layout Standard
46033 Here you can specify if graphics are displayed inside \SpecialChar LyX
46034 .
46035 \end_layout
46036
46037 \begin_layout Standard
46038
46039 \family sans
46040 Instant Preview
46041 \family default
46042  enables previewing snippets of your document.
46043  This feature is described in section
46044 \begin_inset space ~
46045 \end_inset
46046
46047
46048 \begin_inset CommandInset ref
46049 LatexCommand ref
46050 reference "sec:Previewing-snippets-of"
46051
46052 \end_inset
46053
46054 .
46055 \end_layout
46056
46057 \begin_layout Standard
46058 Checking the option 
46059 \family sans
46060 Mark
46061 \begin_inset space ~
46062 \end_inset
46063
46064 end
46065 \begin_inset space ~
46066 \end_inset
46067
46068 of
46069 \begin_inset space ~
46070 \end_inset
46071
46072 paragraphs
46073 \family default
46074  displays a pilcrow (¶) at the end of every paragraph.
46075 \end_layout
46076
46077 \begin_layout Section
46078 Editing
46079 \begin_inset Index idx
46080 status collapsed
46081
46082 \begin_layout Plain Layout
46083 Settings ! Editing
46084 \end_layout
46085
46086 \end_inset
46087
46088
46089 \end_layout
46090
46091 \begin_layout Subsection
46092 Control
46093 \end_layout
46094
46095 \begin_layout Subsubsection
46096 Editing
46097 \end_layout
46098
46099 \begin_layout Standard
46100 The option 
46101 \family sans
46102 Cursor follows scrollbar
46103 \family default
46104  sets the cursor to the top of the currently displayed document part when
46105  scrolling.
46106 \end_layout
46107
46108 \begin_layout Standard
46109 You can adjust the width of the cursor.
46110  If you set the value to zero, the thickness of the cursor scales relative
46111  to the zoom value you choose for the screen fonts.
46112 \end_layout
46113
46114 \begin_layout Standard
46115
46116 \family sans
46117 Scroll below end of document
46118 \family default
46119  is self-explanatory.
46120 \end_layout
46121
46122 \begin_layout Standard
46123 In \SpecialChar LyX
46124  one can jump from word to word by pressing 
46125 \family sans
46126 Ctrl+arrow key
46127 \family default
46128 .
46129  With the option
46130 \family sans
46131  Use Mac-style for cursor moving between words
46132 \family default
46133  the cursor jumps from the end of a word to the end of the next word.
46134  Normally it jumps from the beginning to the beginning.
46135 \end_layout
46136
46137 \begin_layout Standard
46138 The option 
46139 \family sans
46140 Sort environments alphabetically
46141 \family default
46142  sorts the entries in the pull-down box for the paragraph environments.
46143 \end_layout
46144
46145 \begin_layout Standard
46146 The option 
46147 \family sans
46148 Group environments by their category
46149 \family default
46150  groups the entries in the pull-down box for the paragraph environments.
46151 \end_layout
46152
46153 \begin_layout Standard
46154 The 
46155 \family sans
46156 Edit math macros
46157 \family default
46158  options determine the editing style for math macros, see the section 
46159 \emph on
46160 Math Macros
46161 \emph default
46162  of the 
46163 \emph on
46164 Math
46165 \emph default
46166  manual.
46167 \end_layout
46168
46169 \begin_layout Subsubsection
46170 Fullscreen
46171 \end_layout
46172
46173 \begin_layout Standard
46174 Here you can specify what is hidden in the fullscreen mode.
46175  With the option 
46176 \family sans
46177 Limit text width
46178 \family default
46179  you can specify the width of the text in fullscreen mode.
46180  This way you can display the text smaller than the screen; the text then
46181  appears centered.
46182 \end_layout
46183
46184 \begin_layout Subsection
46185 Shortcuts
46186 \begin_inset Index idx
46187 status collapsed
46188
46189 \begin_layout Plain Layout
46190 Key Bindings
46191 \end_layout
46192
46193 \end_inset
46194
46195
46196 \begin_inset Index idx
46197 status collapsed
46198
46199 \begin_layout Plain Layout
46200 Settings ! Shortcuts
46201 \end_layout
46202
46203 \end_inset
46204
46205
46206 \end_layout
46207
46208 \begin_layout Standard
46209
46210 \family sans
46211 Bind File
46212 \family default
46213  specifies the file to be used to bind a \SpecialChar LyX
46214  function to a key.
46215  Several binding files are available, among them:
46216 \end_layout
46217
46218 \begin_layout Description
46219 cua.bind a typical set of PC keyboard shortcuts
46220 \end_layout
46221
46222 \begin_layout Description
46223 (x)emacs.bind a set of bindings similar to those used in the editor programs
46224  
46225 \family sans
46226 Emacs
46227 \family default
46228  (
46229 \family sans
46230 XEmacs
46231 \family default
46232 )
46233 \end_layout
46234
46235 \begin_layout Description
46236 mac.bind a set of bindings for 
46237 \family sans
46238 Mac
46239 \begin_inset space \thinspace{}
46240 \end_inset
46241
46242 OS
46243 \family default
46244  systems.
46245 \end_layout
46246
46247 \begin_layout Standard
46248 There are also binding files designed for special document classes, like
46249  
46250 \shape italic
46251 broadway.bind
46252 \shape default
46253 , and binding files for special languages.
46254  The names of language binding files begin with a language code, e.
46255 \begin_inset space \thinspace{}
46256 \end_inset
46257
46258 g.
46259 \begin_inset space \space{}
46260 \end_inset
46261
46262
46263 \begin_inset Quotes eld
46264 \end_inset
46265
46266 pt
46267 \begin_inset Quotes erd
46268 \end_inset
46269
46270  for Portuguese.
46271  If you use \SpecialChar LyX
46272  in a certain language, \SpecialChar LyX
46273  will try to use the appropriate binding
46274  file.
46275 \end_layout
46276
46277 \begin_layout Standard
46278 Some binding files, like 
46279 \shape italic
46280 math.bind
46281 \shape default
46282 , only have a limited scope.
46283  When looking at the end of the file 
46284 \shape italic
46285 cua.bind
46286 \shape default
46287 , you can see that they are included to keep the overview in the bind-file.
46288 \end_layout
46289
46290 \begin_layout Standard
46291 The field 
46292 \family sans
46293 Show
46294 \begin_inset space ~
46295 \end_inset
46296
46297 key-bindings
46298 \begin_inset space ~
46299 \end_inset
46300
46301 containing
46302 \family default
46303  allows you to search for the shortcut provided for a particular function
46304  in the selected key binding file.
46305 \end_layout
46306
46307 \begin_layout Subsubsection
46308 Editing Shortcuts
46309 \begin_inset CommandInset label
46310 LatexCommand label
46311 name "subsec:Editing-Shortcuts"
46312
46313 \end_inset
46314
46315
46316 \begin_inset Index idx
46317 status collapsed
46318
46319 \begin_layout Plain Layout
46320 Key Bindings ! Editing
46321 \end_layout
46322
46323 \end_inset
46324
46325
46326 \end_layout
46327
46328 \begin_layout Standard
46329 To add new or modify existing key bindings to your own taste you can use
46330  the table in the dialog that lists all \SpecialChar LyX
46331  functions and the bound shortcuts.
46332  To find functions easily, they are grouped by categories and the dialog
46333  provides the field 
46334 \family sans
46335 Show key-bindings containing
46336 \family default
46337 .
46338  In this field you can insert a keyword for a function you want to edit.
46339  Insert there for example as keyword 
46340 \begin_inset Quotes eld
46341 \end_inset
46342
46343 paste
46344 \begin_inset Quotes erd
46345 \end_inset
46346
46347  and you get the four different existing shortcuts for the three different
46348  functions that contain 
46349 \begin_inset Quotes eld
46350 \end_inset
46351
46352 paste
46353 \begin_inset Quotes erd
46354 \end_inset
46355
46356  in their name.
46357  As you can see, one function can have more than one shortcut.
46358  All \SpecialChar LyX
46359  functions are also listed in the file 
46360 \family sans
46361 \SpecialChar LyX
46362  Functions
46363 \family default
46364  that you will find in the 
46365 \family sans
46366 Help
46367 \family default
46368  menu.
46369 \end_layout
46370
46371 \begin_layout Standard
46372 For example, to add the shortcut 
46373 \family sans
46374 Alt+Q
46375 \family default
46376  for the function 
46377 \family sans
46378 textstyle-apply
46379 \family default
46380 , select the function and press the 
46381 \family sans
46382 Modify
46383 \family default
46384  button.
46385  A dialog pops up where you can add the shortcut by using it.
46386  So press Alt+Q to define the shortcut.
46387 \end_layout
46388
46389 \begin_layout Standard
46390 Modifying an existing shortcut is done the same way.
46391  You can also bind multiple functions to one shortcut by starting the \SpecialChar LyX
46392  Function
46393  definition with “command alternatives” and following it with the different
46394  function names as a semicolon separated list.
46395  \SpecialChar LyX
46396  will then use the first function that is enabled in the current document
46397  part.
46398  
46399 \end_layout
46400
46401 \begin_layout Standard
46402 If you don't like a particular shortcut, you can remove it.
46403 \end_layout
46404
46405 \begin_layout Standard
46406 Alternatively you can also edit shortcuts by modifying binding files with
46407  a text editor.
46408  The syntax of the entries is:
46409 \end_layout
46410
46411 \begin_layout Standard
46412
46413 \series bold
46414
46415 \backslash
46416 bind 
46417 \begin_inset Quotes eld
46418 \end_inset
46419
46420 key combination
46421 \begin_inset Quotes erd
46422 \end_inset
46423
46424  
46425 \begin_inset Quotes eld
46426 \end_inset
46427
46428 \SpecialChar LyX
46429  function
46430 \begin_inset Quotes erd
46431 \end_inset
46432
46433
46434 \end_layout
46435
46436 \begin_layout Standard
46437 Note, though, that the key combination definition uses a specific syntax.
46438  This applies to the designators of specific modifier keys (e.
46439 \begin_inset space \thinspace{}
46440 \end_inset
46441
46442 g., 
46443 \family typewriter
46444 M
46445 \family default
46446
46447 \family typewriter
46448 S
46449 \family default
46450
46451 \family typewriter
46452 C
46453 \family default
46454  for 
46455 \family sans
46456 Meta/Alt
46457 \family default
46458
46459 \family sans
46460 Shift
46461 \family default
46462
46463 \family sans
46464 Ctrl
46465 \family default
46466 , respectively) as well as to the other keys.
46467  Note particularly that you cannot use non-alphanumeric characters directly
46468  in the definition of the key combination, but must use commands following
46469  the Xlib standard instead (please refer to the existing bind files for
46470  a model).
46471  So if you wanted to bind a command to the key combination 
46472 \family sans
46473 Alt+Shift+:
46474 \family default
46475 , you needed to specify it as 
46476 \family typewriter
46477 M-S-colon
46478 \family default
46479 .
46480  If you use the dialog to edit key bindings, you don't have to care for
46481  these specifics.
46482  \SpecialChar LyX
46483  transforms your input to the correct syntax.
46484 \end_layout
46485
46486 \begin_layout Subsection
46487 Keyboard/Mouse
46488 \begin_inset CommandInset label
46489 LatexCommand label
46490 name "subsec:Keyboard-Map"
46491
46492 \end_inset
46493
46494
46495 \begin_inset Index idx
46496 status collapsed
46497
46498 \begin_layout Plain Layout
46499 Keyboard Map
46500 \end_layout
46501
46502 \end_inset
46503
46504
46505 \begin_inset Index idx
46506 status collapsed
46507
46508 \begin_layout Plain Layout
46509 Settings ! Keyboard Map
46510 \end_layout
46511
46512 \end_inset
46513
46514
46515 \end_layout
46516
46517 \begin_layout Standard
46518 Normally keyboard settings are made in a menu of your operating system.
46519  For the case thatWhere this is not possible, \SpecialChar LyX
46520  provides keyboard maps.
46521  If, for example, you have a Czech keyboard but want to use it as if it
46522  is a Romanian one, you can enable 
46523 \family sans
46524 Use
46525 \begin_inset space ~
46526 \end_inset
46527
46528 keyboard
46529 \begin_inset space ~
46530 \end_inset
46531
46532 map
46533 \family default
46534  and select the keyboard map file named 
46535 \shape italic
46536 romanian.kmap
46537 \shape default
46538 .
46539 \end_layout
46540
46541 \begin_layout Standard
46542 You can specify a 
46543 \family sans
46544 First
46545 \family default
46546  and a 
46547 \family sans
46548 Second
46549 \family default
46550  keyboard map and, if you use the 
46551 \emph on
46552 cua
46553 \emph default
46554  bindings, you can select the first and second with 
46555 \begin_inset Info
46556 type  "shortcut"
46557 arg   "keymap-primary"
46558 \end_inset
46559
46560  and 
46561 \begin_inset Info
46562 type  "shortcut"
46563 arg   "keymap-secondary"
46564 \end_inset
46565
46566  respectively or toggle between them with 
46567 \begin_inset Info
46568 type  "shortcut"
46569 arg   "keymap-toggle"
46570 \end_inset
46571
46572 .
46573 \end_layout
46574
46575 \begin_layout Standard
46576 \begin_inset Note Greyedout
46577 status open
46578
46579 \begin_layout Plain Layout
46580
46581 \series bold
46582 Note:
46583 \series default
46584  Keyboard maps can only provide a makeshift solution and don't work on all
46585  systems.
46586 \end_layout
46587
46588 \end_inset
46589
46590
46591 \end_layout
46592
46593 \begin_layout Standard
46594 You can also specify the mouse 
46595 \family sans
46596 Wheel scrolling speed
46597 \family default
46598 .
46599  The standard value is 1.0; higher values speed up the scrolling, lower ones
46600  slow it down.
46601  With the option 
46602 \family sans
46603 Middle mouse button pasting
46604 \family default
46605  you can determine if pressing the middle mouse button (or the mouse wheel)
46606  inserts the content of the clipboard.
46607 \end_layout
46608
46609 \begin_layout Standard
46610 If you 
46611 \family sans
46612 Enable
46613 \family default
46614  
46615 \family sans
46616 Scroll
46617 \begin_inset space ~
46618 \end_inset
46619
46620 wheel
46621 \begin_inset space ~
46622 \end_inset
46623
46624 zoom,
46625 \family default
46626  you can select a key for zooming.
46627  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
46628 \end_layout
46629
46630 \begin_layout Subsection
46631 Input Completion
46632 \end_layout
46633
46634 \begin_layout Standard
46635 Input completion is described in section
46636 \begin_inset space ~
46637 \end_inset
46638
46639
46640 \begin_inset CommandInset ref
46641 LatexCommand ref
46642 reference "sec:Input-Completion"
46643
46644 \end_inset
46645
46646 .
46647 \end_layout
46648
46649 \begin_layout Section
46650 Paths
46651 \begin_inset CommandInset label
46652 LatexCommand label
46653 name "sec:Paths"
46654
46655 \end_inset
46656
46657
46658 \begin_inset Index idx
46659 status collapsed
46660
46661 \begin_layout Plain Layout
46662 Paths
46663 \end_layout
46664
46665 \end_inset
46666
46667
46668 \begin_inset Index idx
46669 status collapsed
46670
46671 \begin_layout Plain Layout
46672 Settings ! Paths
46673 \end_layout
46674
46675 \end_inset
46676
46677
46678 \end_layout
46679
46680 \begin_layout Standard
46681 The paths to the various resources used by \SpecialChar LyX
46682  are normally determined during
46683  the installation.
46684  But there may be reasons why you might want to modify them.
46685 \end_layout
46686
46687 \begin_layout Description
46688 Working
46689 \begin_inset space ~
46690 \end_inset
46691
46692 directory This is \SpecialChar LyX
46693 's working directory.
46694  It is the default when you 
46695 \family sans
46696 Open
46697 \family default
46698
46699 \family sans
46700 Save
46701 \family default
46702  or 
46703 \family sans
46704 Save
46705 \begin_inset space ~
46706 \end_inset
46707
46708 As
46709 \family default
46710  files.
46711 \end_layout
46712
46713 \begin_layout Description
46714 Document
46715 \begin_inset space ~
46716 \end_inset
46717
46718 templates This directory will be opened when you use the menu 
46719 \family sans
46720 File\SpecialChar menuseparator
46721 New
46722 \begin_inset space ~
46723 \end_inset
46724
46725 from
46726 \begin_inset space ~
46727 \end_inset
46728
46729 Template
46730 \family default
46731 .
46732 \end_layout
46733
46734 \begin_layout Description
46735 Example
46736 \begin_inset space ~
46737 \end_inset
46738
46739 files This directory will be opened when you use the button 
46740 \family sans
46741 Examples
46742 \family default
46743  in the 
46744 \family sans
46745 File\SpecialChar menuseparator
46746 Open
46747 \family default
46748  dialog.
46749 \begin_inset Newline newline
46750 \end_inset
46751
46752
46753 \begin_inset Note Greyedout
46754 status open
46755
46756 \begin_layout Plain Layout
46757
46758 \series bold
46759 Note:
46760 \series default
46761  The 
46762 \family sans
46763 Examples
46764 \family default
46765  button does not exist when using \SpecialChar LyX
46766  on Mac OS and Windows systems.
46767 \end_layout
46768
46769 \end_inset
46770
46771
46772 \end_layout
46773
46774 \begin_layout Description
46775 Backup
46776 \begin_inset space ~
46777 \end_inset
46778
46779 directory
46780 \begin_inset Index idx
46781 status collapsed
46782
46783 \begin_layout Plain Layout
46784 Backup ! Directory
46785 \end_layout
46786
46787 \end_inset
46788
46789  Backup copies will be saved to this directory.
46790  If no directory is given but backups are enabled as described in section
46791 \begin_inset space ~
46792 \end_inset
46793
46794
46795 \begin_inset CommandInset ref
46796 LatexCommand ref
46797 reference "subsec:Backup documents"
46798
46799 \end_inset
46800
46801 , the 
46802 \family sans
46803 Working directory
46804 \family default
46805  will be used to save the backups.
46806 \begin_inset Newline newline
46807 \end_inset
46808
46809 Backup files have the ending 
46810 \begin_inset Quotes eld
46811 \end_inset
46812
46813 .lyx~
46814 \begin_inset Quotes erd
46815 \end_inset
46816
46817 .
46818 \end_layout
46819
46820 \begin_layout Description
46821 LyXServer
46822 \begin_inset space ~
46823 \end_inset
46824
46825 pipe Here you can enter the name of a so-called UNIX-pipe.
46826  This pipe is used to send data from external programs to \SpecialChar LyX
46827 .
46828 \begin_inset Newline newline
46829 \end_inset
46830
46831
46832 \series bold
46833 Example:
46834 \series default
46835  You add a Bib\SpecialChar TeX
46836  database 
46837 \emph on
46838 test.bib
46839 \emph default
46840  to your document.
46841  You can edit this file with the program 
46842 \family typewriter
46843 JabRef
46844 \family default
46845 .
46846  In 
46847 \family typewriter
46848 JabRef
46849 \family default
46850  you have to use the same Unix-Pipe for \SpecialChar LyX
46851  in its preferences under 
46852 \family sans
46853 External
46854 \begin_inset space ~
46855 \end_inset
46856
46857 programs
46858 \family default
46859 .
46860  If you want to get one entry of the database as citation, select it in
46861  
46862 \family typewriter
46863 JabRef
46864 \family default
46865  and click on the \SpecialChar LyX
46866  symbol.
46867  The entry will now be inserted as a citation at the current cursor position
46868  in your \SpecialChar LyX
46869  file.
46870  Of course, 
46871 \family typewriter
46872 JabRef
46873 \family default
46874  and \SpecialChar LyX
46875  need to be running the same time.
46876 \begin_inset Newline newline
46877 \end_inset
46878
46879 The pipe is also used for the 
46880 \family sans
46881 Single instance
46882 \family default
46883  feature, see section
46884 \begin_inset space ~
46885 \end_inset
46886
46887
46888 \begin_inset CommandInset ref
46889 LatexCommand ref
46890 reference "subsec:Backup documents"
46891
46892 \end_inset
46893
46894 .
46895 \begin_inset Newline newline
46896 \end_inset
46897
46898 To use the \SpecialChar LyX
46899 Server-Pipe on Windows, you must use this pipe name:
46900 \begin_inset Newline newline
46901 \end_inset
46902
46903
46904 \series bold
46905
46906 \backslash
46907
46908 \backslash
46909 .
46910 \backslash
46911 pipe
46912 \backslash
46913 lyxpipe
46914 \end_layout
46915
46916 \begin_layout Description
46917 Temporary
46918 \begin_inset space ~
46919 \end_inset
46920
46921 directory Temporary files will be saved in this directory.
46922 \end_layout
46923
46924 \begin_layout Description
46925 Thesaurus
46926 \begin_inset space ~
46927 \end_inset
46928
46929 dictionary Directory where the thesaurus dictionaries are located.
46930  You only need to specify it if the thesaurus does not work or if you want
46931  to use custom/alternative dictionaries.
46932 \end_layout
46933
46934 \begin_layout Description
46935 Hunspell
46936 \begin_inset space ~
46937 \end_inset
46938
46939 dictionary Directory where the dictionaries of the spell checker program
46940  
46941 \family typewriter
46942 Hunspell
46943 \family default
46944  are located.
46945  You only need to specify it if you are using 
46946 \family typewriter
46947 Hunspell
46948 \family default
46949  and spell checking does not work or if you want to use custom/alternative
46950  dictionaries.
46951  For \SpecialChar LyX
46952  on Windows 
46953 \family typewriter
46954 Hunspell
46955 \family default
46956  is the only available spell checker and should work without specifying
46957  a directory.
46958 \end_layout
46959
46960 \begin_layout Description
46961 PATH
46962 \begin_inset space ~
46963 \end_inset
46964
46965 prefix This field contains a list of paths to external programs.
46966  When \SpecialChar LyX
46967  needs to use an external program, it looks in this list to see where
46968  to find it on the system.
46969  The path list is automatically set up on Windows and Mac systems when \SpecialChar LyX
46970
46971  is configured; so you normally don't have to modify it.
46972  On Unix
46973 \begin_inset space \thinspace{}
46974 \end_inset
46975
46976 /
46977 \begin_inset space \thinspace{}
46978 \end_inset
46979
46980 Linux systems, the path list will need to be set only if there are external
46981  programs you wish to use that are not in your normal system path ($PATH).
46982 \end_layout
46983
46984 \begin_layout Description
46985 TEXINPUTS
46986 \begin_inset space ~
46987 \end_inset
46988
46989 prefix The TEXINPUTS environment variable allows you to use external files
46990  which are included in a \SpecialChar LyX
46991  document via commands in \SpecialChar TeX
46992  code or in the document
46993  preamble.
46994  This prefix includes by default the document directory (represented by
46995  a single dot '.').
46996  The prefix can contain any list of paths separated by the default separator
46997  of the OS (':' on UNIX like systems and ';' on Windows).
46998  If files are included, the paths listed in the TEXINPUTS prefix will be
46999  scanned for the input files.
47000  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
47001  to be relative to the directory of your \SpecialChar LyX
47002  file.
47003  It is recommended that you always include '.' as one of the paths; otherwise
47004  compilation may fail for some documents.
47005 \end_layout
47006
47007 \begin_layout Section
47008 Identity
47009 \end_layout
47010
47011 \begin_layout Standard
47012 Here you can insert your 
47013 \family sans
47014 Name
47015 \family default
47016  and 
47017 \family sans
47018 E-mail
47019 \family default
47020  address.
47021  These will be used when you have enabled change tracking, as described
47022  in section
47023 \begin_inset space ~
47024 \end_inset
47025
47026
47027 \begin_inset CommandInset ref
47028 LatexCommand ref
47029 reference "sec:Change-Tracking"
47030
47031 \end_inset
47032
47033 , to mark changes you make as yours.
47034 \end_layout
47035
47036 \begin_layout Section
47037 Language Settings
47038 \begin_inset Index idx
47039 status collapsed
47040
47041 \begin_layout Plain Layout
47042 Language ! Settings
47043 \end_layout
47044
47045 \end_inset
47046
47047
47048 \begin_inset Index idx
47049 status collapsed
47050
47051 \begin_layout Plain Layout
47052 Settings ! Language
47053 \end_layout
47054
47055 \end_inset
47056
47057
47058 \end_layout
47059
47060 \begin_layout Subsection
47061 Language
47062 \begin_inset CommandInset label
47063 LatexCommand label
47064 name "subsec:Prefs-Language"
47065
47066 \end_inset
47067
47068
47069 \end_layout
47070
47071 \begin_layout Description
47072 User
47073 \begin_inset space ~
47074 \end_inset
47075
47076 interface
47077 \begin_inset space ~
47078 \end_inset
47079
47080 language Here you can select the language for \SpecialChar LyX
47081 's menus.
47082  You can find its actual translation status here: 
47083 \begin_inset CommandInset href
47084 LatexCommand href
47085 target "http://www.lyx.org/I18n"
47086 literal "false"
47087
47088 \end_inset
47089
47090
47091 \end_layout
47092
47093 \begin_layout Description
47094 Language
47095 \begin_inset space ~
47096 \end_inset
47097
47098 package determines which \SpecialChar LaTeX
47099  package should be loaded to handle language issues.
47100  Language issues that are handled by this package include proper hyphenation
47101  as well as localization of dates and text strings such as 
47102 \begin_inset Quotes eld
47103 \end_inset
47104
47105 Chapter
47106 \begin_inset Quotes erd
47107 \end_inset
47108
47109  and 
47110 \begin_inset Quotes eld
47111 \end_inset
47112
47113 Table
47114 \begin_inset Quotes erd
47115 \end_inset
47116
47117 .
47118  The most widespread language package is 
47119 \series bold
47120 babel
47121 \series default
47122
47123 \begin_inset Index idx
47124 status collapsed
47125
47126 \begin_layout Plain Layout
47127 \SpecialChar LaTeX
47128  packages ! babel
47129 \end_layout
47130
47131 \end_inset
47132
47133 ; it is the default language package in classic \SpecialChar LaTeX
47134 .
47135  More recent typesetting engines such as Xe\SpecialChar TeX
47136  and Lua\SpecialChar TeX
47137  come with the alternative
47138  language package 
47139 \series bold
47140 polyglossia
47141 \series default
47142
47143 \begin_inset Index idx
47144 status collapsed
47145
47146 \begin_layout Plain Layout
47147 \SpecialChar LaTeX
47148  packages ! polyglossia
47149 \end_layout
47150
47151 \end_inset
47152
47153  that is more suited to the multi-script support of these engines.
47154  Furthermore, there are also specific language packages for languages not
47155  covered by 
47156 \series bold
47157 babel
47158 \series default
47159 .
47160  The available selections are described in section
47161 \begin_inset space ~
47162 \end_inset
47163
47164
47165 \begin_inset CommandInset ref
47166 LatexCommand ref
47167 reference "sec:Language-encodings"
47168
47169 \end_inset
47170
47171 .
47172 \end_layout
47173
47174 \begin_layout Description
47175 Command
47176 \begin_inset space ~
47177 \end_inset
47178
47179 start If a special \SpecialChar LaTeX
47180 -package is needed to write in a certain document language,
47181  you can here specify the command to start the package.
47182  An example is the start command 
47183 \family sans
47184
47185 \backslash
47186 begin{arabtext}
47187 \family default
47188  that is needed to write Arabic using the package 
47189 \series bold
47190 Arab\SpecialChar TeX
47191
47192 \series default
47193 , see 
47194 \begin_inset CommandInset citation
47195 LatexCommand cite
47196 key "Arabic"
47197 literal "true"
47198
47199 \end_inset
47200
47201 .
47202  The default is the 
47203 \series bold
47204 babel
47205 \series default
47206  command 
47207 \family sans
47208
47209 \backslash
47210 selectlanguage{$$lang}
47211 \family default
47212 .
47213 \end_layout
47214
47215 \begin_layout Description
47216 Command
47217 \begin_inset space ~
47218 \end_inset
47219
47220 end Counterpart to 
47221 \family sans
47222 Command start
47223 \family default
47224 .
47225  Some packages, like the default, don't have an end command since the start
47226  command toggles the package on and off.
47227 \end_layout
47228
47229 \begin_layout Description
47230 Default
47231 \begin_inset space ~
47232 \end_inset
47233
47234 decimal
47235 \begin_inset space ~
47236 \end_inset
47237
47238 separator Defines the default decimal point for use in tables (decimal point
47239  alignment).
47240 \end_layout
47241
47242 \begin_layout Description
47243 Default
47244 \begin_inset space ~
47245 \end_inset
47246
47247 length
47248 \begin_inset space ~
47249 \end_inset
47250
47251 unit Defines the unit that is used as default for lengths in \SpecialChar LyX
47252 's dialogs.
47253 \end_layout
47254
47255 \begin_layout Description
47256 Set
47257 \begin_inset space ~
47258 \end_inset
47259
47260 languages
47261 \begin_inset space ~
47262 \end_inset
47263
47264 globally When this option is set, the languages used in the document will
47265  be added as options to the document class options, so that they can be
47266  used by all \SpecialChar LaTeX
47267 -packages.
47268  Otherwise they will only be used as options for the 
47269 \series bold
47270 babel
47271 \series default
47272  package.
47273 \end_layout
47274
47275 \begin_layout Description
47276 Auto
47277 \begin_inset space ~
47278 \end_inset
47279
47280 begin When this option is set, documents start with the chosen document
47281  language.
47282  When this option is not set, the 
47283 \family sans
47284 Command
47285 \begin_inset space ~
47286 \end_inset
47287
47288 start
47289 \family default
47290  is explicitly set to the beginning of the document in the \SpecialChar LaTeX
47291 -output.
47292  This assures that the correct language is used when you use another 
47293 \family sans
47294 Command
47295 \begin_inset space ~
47296 \end_inset
47297
47298 start
47299 \family default
47300  than the default.
47301 \end_layout
47302
47303 \begin_layout Description
47304 Auto
47305 \begin_inset space ~
47306 \end_inset
47307
47308 end Counterpart to 
47309 \family sans
47310 Auto
47311 \begin_inset space ~
47312 \end_inset
47313
47314 begin
47315 \family default
47316 .
47317  When it is not set, the 
47318 \family sans
47319 Command
47320 \begin_inset space ~
47321 \end_inset
47322
47323 end
47324 \family default
47325  is set to the end of the document.
47326 \end_layout
47327
47328 \begin_layout Description
47329 Mark
47330 \begin_inset space ~
47331 \end_inset
47332
47333 foreign
47334 \begin_inset space ~
47335 \end_inset
47336
47337 languages Text marked formatted in a language different from the document
47338  language will be underlined in blue.
47339 \end_layout
47340
47341 \begin_layout Description
47342 Enable
47343 \begin_inset space ~
47344 \end_inset
47345
47346 RTL
47347 \begin_inset space ~
47348 \end_inset
47349
47350 support Enables the use of languages, written from right to left (RTL),
47351  like Arabic, Hebrew or Farsi.
47352 \end_layout
47353
47354 \begin_layout Description
47355 Cursor
47356 \begin_inset space ~
47357 \end_inset
47358
47359 movement When writing RTL, you can define if the left and right arrow keys
47360  move the cursor visually to the left or right, respectively, or logically.
47361  Logical means that the cursor is moved to the left when pressing the right
47362  arrow key and the cursor is inside text in an RTL language.
47363 \end_layout
47364
47365 \begin_layout Subsection
47366 Spellchecker
47367 \end_layout
47368
47369 \begin_layout Standard
47370 The spellchecker settings are explained in section
47371 \begin_inset space ~
47372 \end_inset
47373
47374
47375 \begin_inset CommandInset ref
47376 LatexCommand ref
47377 reference "sec:Spellchecking"
47378
47379 \end_inset
47380
47381 .
47382 \end_layout
47383
47384 \begin_layout Section
47385 Outputs
47386 \end_layout
47387
47388 \begin_layout Subsection
47389 General
47390 \begin_inset CommandInset label
47391 LatexCommand label
47392 name "subsec:General-output"
47393
47394 \end_inset
47395
47396
47397 \end_layout
47398
47399 \begin_layout Description
47400 Forward
47401 \begin_inset space ~
47402 \end_inset
47403
47404 search Commands that will be used for the menu 
47405 \family sans
47406 Navigate\SpecialChar menuseparator
47407 Forward
47408 \begin_inset space ~
47409 \end_inset
47410
47411 search
47412 \family default
47413 .
47414  For a detailed description see section 
47415 \emph on
47416 Reverse DVI/PDF search
47417 \emph default
47418  of the 
47419 \emph on
47420 Additional
47421 \begin_inset space ~
47422 \end_inset
47423
47424 Features
47425 \emph default
47426  manual.
47427 \end_layout
47428
47429 \begin_layout Description
47430 Dvips
47431 \begin_inset space ~
47432 \end_inset
47433
47434 Options Options for the program 
47435 \family typewriter
47436 dvips
47437 \family default
47438  that is used for the export format 
47439 \family sans
47440 Postscript
47441 \family default
47442 , see section
47443 \begin_inset space ~
47444 \end_inset
47445
47446
47447 \begin_inset CommandInset ref
47448 LatexCommand ref
47449 reference "subsec:Export"
47450
47451 \end_inset
47452
47453 .
47454  Possible options are listed in the 
47455 \family typewriter
47456 dvips
47457 \family default
47458  manual:
47459 \begin_inset Newline newline
47460 \end_inset
47461
47462
47463 \begin_inset Flex URL
47464 status collapsed
47465
47466 \begin_layout Plain Layout
47467
47468 https://www.tug.org/texinfohtml/dvips.html
47469 \backslash
47470 #Option-details
47471 \end_layout
47472
47473 \end_inset
47474
47475
47476 \end_layout
47477
47478 \begin_layout Description
47479 Output
47480 \begin_inset space ~
47481 \end_inset
47482
47483 line
47484 \begin_inset space ~
47485 \end_inset
47486
47487 length sets the maximum number of characters printed in one line when using
47488  the menu 
47489 \family sans
47490 File\SpecialChar menuseparator
47491 Export\SpecialChar menuseparator
47492 Plain
47493 \begin_inset space ~
47494 \end_inset
47495
47496 text
47497 \family default
47498 .
47499  Setting the line length to 0 means all text is printed in one endless line.
47500 \end_layout
47501
47502 \begin_layout Description
47503 Date
47504 \begin_inset space ~
47505 \end_inset
47506
47507 format
47508 \begin_inset Index idx
47509 status collapsed
47510
47511 \begin_layout Plain Layout
47512 Date Format
47513 \end_layout
47514
47515 \end_inset
47516
47517
47518 \begin_inset Index idx
47519 status collapsed
47520
47521 \begin_layout Plain Layout
47522 Settings ! Date format
47523 \end_layout
47524
47525 \end_inset
47526
47527  The date format can be one or a mixture of the formats listed here:
47528 \begin_inset Newline newline
47529 \end_inset
47530
47531
47532 \begin_inset Flex URL
47533 status collapsed
47534
47535 \begin_layout Plain Layout
47536
47537 http://man7.org/linux/man-pages/man1/date.1.html
47538 \end_layout
47539
47540 \end_inset
47541
47542
47543 \begin_inset Newline newline
47544 \end_inset
47545
47546 For example the format
47547 \begin_inset Newline newline
47548 \end_inset
47549
47550 %d/%m/%y
47551 \begin_inset Newline newline
47552 \end_inset
47553
47554 prints the date as day/month/year.
47555 \end_layout
47556
47557 \begin_layout Description
47558 Overwrite
47559 \begin_inset space ~
47560 \end_inset
47561
47562 on
47563 \begin_inset space ~
47564 \end_inset
47565
47566 export Setting what \SpecialChar LyX
47567  is allowed to overwrite on export.
47568 \end_layout
47569
47570 \begin_layout Subsection
47571 La
47572 \family sans
47573 TeX
47574 \family default
47575
47576 \begin_inset CommandInset label
47577 LatexCommand label
47578 name "subsec:LaTeX-settings"
47579
47580 \end_inset
47581
47582
47583 \begin_inset Index idx
47584 status collapsed
47585
47586 \begin_layout Plain Layout
47587 Settings ! \SpecialChar LaTeX
47588
47589 \end_layout
47590
47591 \end_inset
47592
47593
47594 \end_layout
47595
47596 \begin_layout Description
47597 Use
47598 \begin_inset space ~
47599 \end_inset
47600
47601 La
47602 \family sans
47603 TeX
47604 \family default
47605
47606 \begin_inset space ~
47607 \end_inset
47608
47609 font
47610 \begin_inset space ~
47611 \end_inset
47612
47613 encoding This is the default encoding of the document font.
47614  
47615 \family sans
47616 T1
47617 \family default
47618  is the default and covers western languages and symbols.
47619  
47620 \family sans
47621 T2A
47622 \family default
47623
47624 \family sans
47625 T2B
47626 \family default
47627
47628 \family sans
47629 T2C
47630 \family default
47631
47632 \family sans
47633 LCY
47634 \family default
47635  and 
47636 \family sans
47637 X2
47638 \family default
47639  are used for Cyrillic.
47640  Combinations of the encodings are possible, like 
47641 \begin_inset Quotes eld
47642 \end_inset
47643
47644
47645 \family sans
47646 T1, T2B
47647 \family default
47648
47649 \begin_inset Quotes erd
47650 \end_inset
47651
47652 .
47653  The font encoding is normally automatically loaded by the language packages
47654  \SpecialChar LyX
47655  sets up in the background.
47656  So there is no need to change the default encoding.
47657 \end_layout
47658
47659 \begin_layout Description
47660 DVI
47661 \begin_inset space ~
47662 \end_inset
47663
47664 viewer
47665 \begin_inset space ~
47666 \end_inset
47667
47668 paper
47669 \begin_inset space ~
47670 \end_inset
47671
47672 size
47673 \begin_inset space ~
47674 \end_inset
47675
47676 options They only have an effect when the program 
47677 \family sans
47678 xdvi
47679 \family default
47680  is used as DVI-viewer, read its manual to find out more.
47681 \end_layout
47682
47683 \begin_layout Standard
47684 Here you can also specify options and commands with parameters for processors.
47685  But before you change something, it is strongly recommended to read the
47686  manuals of the applications.
47687 \end_layout
47688
47689 \begin_layout Description
47690 Bibliography
47691 \begin_inset space ~
47692 \end_inset
47693
47694 generation Settings for the generation of the bibliography, see section
47695 \begin_inset space ~
47696 \end_inset
47697
47698
47699 \begin_inset CommandInset ref
47700 LatexCommand ref
47701 reference "subsec:Bibliography-databases"
47702
47703 \end_inset
47704
47705 .
47706 \end_layout
47707
47708 \begin_layout Description
47709 Index
47710 \begin_inset space ~
47711 \end_inset
47712
47713 generation Settings for the generation of the index, see section
47714 \begin_inset space ~
47715 \end_inset
47716
47717
47718 \begin_inset CommandInset ref
47719 LatexCommand ref
47720 reference "subsec:Index-Program"
47721
47722 \end_inset
47723
47724 .
47725 \end_layout
47726
47727 \begin_layout Description
47728 Nomenclature
47729 \begin_inset space ~
47730 \end_inset
47731
47732 command Command for the program that generates the nomenclature, see section
47733 \begin_inset space ~
47734 \end_inset
47735
47736
47737 \begin_inset CommandInset ref
47738 LatexCommand ref
47739 reference "subsec:Nomenclature-Program"
47740
47741 \end_inset
47742
47743 .
47744 \end_layout
47745
47746 \begin_layout Description
47747 Check
47748 \family sans
47749 TeX
47750 \family default
47751
47752 \begin_inset space ~
47753 \end_inset
47754
47755 command Command for the program 
47756 \family sans
47757 Check\SpecialChar TeX
47758
47759 \family default
47760  that is described in the section 
47761 \emph on
47762 Checking \SpecialChar TeX
47763
47764 \emph default
47765  of the 
47766 \emph on
47767 Additional Features
47768 \emph default
47769  manual.
47770 \end_layout
47771
47772 \begin_layout Standard
47773 There are additionally the following options:
47774 \end_layout
47775
47776 \begin_layout Description
47777 Use
47778 \begin_inset space ~
47779 \end_inset
47780
47781 Windows-style
47782 \begin_inset space ~
47783 \end_inset
47784
47785 paths
47786 \begin_inset space ~
47787 \end_inset
47788
47789 in
47790 \begin_inset space ~
47791 \end_inset
47792
47793 \SpecialChar LaTeX
47794
47795 \begin_inset space ~
47796 \end_inset
47797
47798 files Uses paths in the notation of Windows, that means that 
47799 \begin_inset Quotes eld
47800 \end_inset
47801
47802
47803 \backslash
47804
47805 \begin_inset Quotes erd
47806 \end_inset
47807
47808  is used instead of 
47809 \begin_inset Quotes eld
47810 \end_inset
47811
47812 /
47813 \begin_inset Quotes erd
47814 \end_inset
47815
47816  to separate folders.
47817  This option is enabled by default when you use \SpecialChar LyX
47818  on Windows.
47819 \begin_inset Index idx
47820 status collapsed
47821
47822 \begin_layout Plain Layout
47823 Paths
47824 \end_layout
47825
47826 \end_inset
47827
47828
47829 \begin_inset Index idx
47830 status collapsed
47831
47832 \begin_layout Plain Layout
47833 Settings ! Paths
47834 \end_layout
47835
47836 \end_inset
47837
47838
47839 \end_layout
47840
47841 \begin_layout Description
47842 Reset
47843 \begin_inset space ~
47844 \end_inset
47845
47846 class
47847 \begin_inset space ~
47848 \end_inset
47849
47850 options
47851 \begin_inset space ~
47852 \end_inset
47853
47854 when
47855 \begin_inset space ~
47856 \end_inset
47857
47858 document
47859 \begin_inset space ~
47860 \end_inset
47861
47862 class
47863 \begin_inset space ~
47864 \end_inset
47865
47866 changes Removes all manually set 
47867 \family sans
47868 Class options
47869 \family default
47870  in the 
47871 \family sans
47872 Document\SpecialChar menuseparator
47873 Settings\SpecialChar menuseparator
47874 Document
47875 \begin_inset space ~
47876 \end_inset
47877
47878 Class
47879 \family default
47880  dialog when changing the document class.
47881 \end_layout
47882
47883 \begin_layout Section
47884 File
47885 \begin_inset space ~
47886 \end_inset
47887
47888 Handling
47889 \begin_inset Index idx
47890 status collapsed
47891
47892 \begin_layout Plain Layout
47893 File handling
47894 \end_layout
47895
47896 \end_inset
47897
47898
47899 \end_layout
47900
47901 \begin_layout Subsection
47902 Converters
47903 \begin_inset CommandInset label
47904 LatexCommand label
47905 name "subsec:Converters"
47906
47907 \end_inset
47908
47909
47910 \begin_inset Index idx
47911 status collapsed
47912
47913 \begin_layout Plain Layout
47914 Converters
47915 \end_layout
47916
47917 \end_inset
47918
47919
47920 \end_layout
47921
47922 \begin_layout Standard
47923 Here you find the list of defined converter commands to convert material
47924  from one format to another.
47925  You can modify converters or create new ones.
47926  To modify a converter, select it, change the entry of the 
47927 \family sans
47928 Converter
47929 \family default
47930  and/or 
47931 \family sans
47932 Extra
47933 \begin_inset space ~
47934 \end_inset
47935
47936 flag
47937 \family default
47938  field and press the 
47939 \family sans
47940 Modify
47941 \family default
47942  button.
47943  To create a new converter, select an existing one, select a different format
47944  in the 
47945 \family sans
47946 To
47947 \begin_inset space ~
47948 \end_inset
47949
47950 format
47951 \family default
47952  drop-down list, modify the 
47953 \family sans
47954 Converter
47955 \family default
47956  field and press the 
47957 \family sans
47958 Add
47959 \family default
47960  button.
47961 \end_layout
47962
47963 \begin_layout Standard
47964 If the 
47965 \family sans
47966 Converter File Cache
47967 \family default
47968  is 
47969 \family sans
47970 Enabled
47971 \family default
47972 , conversions will be cached as long as specified in the field 
47973 \family sans
47974 Maximum Age (in days
47975 \family default
47976 ).
47977  This means that images don't need to be converted again when you reopen
47978  a document; the converted images from the cache will be used instead.
47979 \end_layout
47980
47981 \begin_layout Standard
47982 More about converters, like the flags that can be used in the converter
47983  definition, is described in the section 
47984 \emph on
47985 Converters
47986 \emph default
47987  of the 
47988 \emph on
47989 Customization
47990 \emph default
47991  manual.
47992 \end_layout
47993
47994 \begin_layout Subsection
47995 File Formats
47996 \begin_inset CommandInset label
47997 LatexCommand label
47998 name "sec:File-Formats"
47999
48000 \end_inset
48001
48002
48003 \begin_inset Index idx
48004 status collapsed
48005
48006 \begin_layout Plain Layout
48007 File formats
48008 \end_layout
48009
48010 \end_inset
48011
48012
48013 \begin_inset Index idx
48014 status collapsed
48015
48016 \begin_layout Plain Layout
48017 Copiers
48018 \end_layout
48019
48020 \end_inset
48021
48022
48023 \end_layout
48024
48025 \begin_layout Standard
48026 Here you find the list of defined file formats that \SpecialChar LyX
48027  can handle.
48028  You can modify the 
48029 \family sans
48030 Editor
48031 \family default
48032  and 
48033 \family sans
48034 Viewer
48035 \family default
48036  programs that should be used for certain formats.
48037 \end_layout
48038
48039 \begin_layout Standard
48040 You can also define the 
48041 \family sans
48042 Default output format
48043 \family default
48044  that is used when you use 
48045 \family sans
48046 View, Update, View Master Document
48047 \family default
48048  or 
48049 \family sans
48050 Update Master Document
48051 \family default
48052  in the 
48053 \family sans
48054 Document
48055 \family default
48056  menu or the toolbar.
48057 \end_layout
48058
48059 \begin_layout Standard
48060 More about formats and their options is described in the section 
48061 \emph on
48062 Formats
48063 \emph default
48064  of the 
48065 \emph on
48066 Customization
48067 \emph default
48068  manual.
48069 \end_layout
48070
48071 \begin_layout Standard
48072 Since all conversions from one format to another take place in \SpecialChar LyX
48073 's temporary
48074  directory, it is sometimes necessary to modify a file before copying it
48075  to the temporary directory so that the conversion may be performed.
48076  This is done by specifying a 
48077 \family sans
48078 Copier
48079 \family default
48080 .
48081  More about this is described in the section 
48082 \emph on
48083 Copiers
48084 \emph default
48085  of the 
48086 \emph on
48087 Customization
48088 \emph default
48089  manual.
48090 \end_layout
48091
48092 \begin_layout Chapter
48093 Units available in \SpecialChar LyX
48094
48095 \begin_inset Index idx
48096 status collapsed
48097
48098 \begin_layout Plain Layout
48099 Units
48100 \end_layout
48101
48102 \end_inset
48103
48104
48105 \begin_inset CommandInset label
48106 LatexCommand label
48107 name "chap:Units-available-in"
48108
48109 \end_inset
48110
48111
48112 \end_layout
48113
48114 \begin_layout Standard
48115 Table
48116 \begin_inset space ~
48117 \end_inset
48118
48119
48120 \begin_inset CommandInset ref
48121 LatexCommand ref
48122 reference "tab:Units"
48123
48124 \end_inset
48125
48126  explains all the units available in \SpecialChar LyX
48127  and used in this documentation.
48128 \end_layout
48129
48130 \begin_layout Standard
48131 \begin_inset Float table
48132 placement h
48133 wide false
48134 sideways false
48135 status open
48136
48137 \begin_layout Plain Layout
48138 \begin_inset Caption Standard
48139
48140 \begin_layout Plain Layout
48141 \begin_inset CommandInset label
48142 LatexCommand label
48143 name "tab:Units"
48144
48145 \end_inset
48146
48147 Units
48148 \end_layout
48149
48150 \end_inset
48151
48152
48153 \end_layout
48154
48155 \begin_layout Plain Layout
48156 \begin_inset VSpace medskip
48157 \end_inset
48158
48159
48160 \end_layout
48161
48162 \begin_layout Plain Layout
48163 \align center
48164 \begin_inset Tabular
48165 <lyxtabular version="3" rows="20" columns="3">
48166 <features tabularvalignment="middle">
48167 <column alignment="center" valignment="top">
48168 <column alignment="center" valignment="top">
48169 <column alignment="center" valignment="top">
48170 <row>
48171 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48172 \begin_inset Text
48173
48174 \begin_layout Plain Layout
48175 unit
48176 \end_layout
48177
48178 \end_inset
48179 </cell>
48180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48181 \begin_inset Text
48182
48183 \begin_layout Plain Layout
48184 name/description
48185 \end_layout
48186
48187 \end_inset
48188 </cell>
48189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
48190 \begin_inset Text
48191
48192 \begin_layout Plain Layout
48193 \SpecialChar LaTeX
48194  command
48195 \end_layout
48196
48197 \end_inset
48198 </cell>
48199 </row>
48200 <row>
48201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48202 \begin_inset Text
48203
48204 \begin_layout Plain Layout
48205 mm
48206 \end_layout
48207
48208 \end_inset
48209 </cell>
48210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48211 \begin_inset Text
48212
48213 \begin_layout Plain Layout
48214 millimeter
48215 \end_layout
48216
48217 \end_inset
48218 </cell>
48219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48220 \begin_inset Text
48221
48222 \begin_layout Plain Layout
48223 -
48224 \end_layout
48225
48226 \end_inset
48227 </cell>
48228 </row>
48229 <row>
48230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48231 \begin_inset Text
48232
48233 \begin_layout Plain Layout
48234 cm
48235 \end_layout
48236
48237 \end_inset
48238 </cell>
48239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48240 \begin_inset Text
48241
48242 \begin_layout Plain Layout
48243 centimeter
48244 \end_layout
48245
48246 \end_inset
48247 </cell>
48248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48249 \begin_inset Text
48250
48251 \begin_layout Plain Layout
48252 -
48253 \end_layout
48254
48255 \end_inset
48256 </cell>
48257 </row>
48258 <row>
48259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48260 \begin_inset Text
48261
48262 \begin_layout Plain Layout
48263 in
48264 \end_layout
48265
48266 \end_inset
48267 </cell>
48268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48269 \begin_inset Text
48270
48271 \begin_layout Plain Layout
48272 inch
48273 \end_layout
48274
48275 \end_inset
48276 </cell>
48277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48278 \begin_inset Text
48279
48280 \begin_layout Plain Layout
48281 -
48282 \end_layout
48283
48284 \end_inset
48285 </cell>
48286 </row>
48287 <row>
48288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48289 \begin_inset Text
48290
48291 \begin_layout Plain Layout
48292 pt
48293 \end_layout
48294
48295 \end_inset
48296 </cell>
48297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48298 \begin_inset Text
48299
48300 \begin_layout Plain Layout
48301 point (72.27
48302 \begin_inset space \thinspace{}
48303 \end_inset
48304
48305 pt = 1
48306 \begin_inset space \thinspace{}
48307 \end_inset
48308
48309 in)
48310 \end_layout
48311
48312 \end_inset
48313 </cell>
48314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48315 \begin_inset Text
48316
48317 \begin_layout Plain Layout
48318 -
48319 \end_layout
48320
48321 \end_inset
48322 </cell>
48323 </row>
48324 <row>
48325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48326 \begin_inset Text
48327
48328 \begin_layout Plain Layout
48329 pc
48330 \end_layout
48331
48332 \end_inset
48333 </cell>
48334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48335 \begin_inset Text
48336
48337 \begin_layout Plain Layout
48338 pica (1
48339 \begin_inset space \thinspace{}
48340 \end_inset
48341
48342 pc = 12
48343 \begin_inset space \thinspace{}
48344 \end_inset
48345
48346 pt)
48347 \end_layout
48348
48349 \end_inset
48350 </cell>
48351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48352 \begin_inset Text
48353
48354 \begin_layout Plain Layout
48355 -
48356 \end_layout
48357
48358 \end_inset
48359 </cell>
48360 </row>
48361 <row>
48362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48363 \begin_inset Text
48364
48365 \begin_layout Plain Layout
48366 sp
48367 \end_layout
48368
48369 \end_inset
48370 </cell>
48371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48372 \begin_inset Text
48373
48374 \begin_layout Plain Layout
48375 scaled point (65536
48376 \begin_inset space \thinspace{}
48377 \end_inset
48378
48379 sp = 1
48380 \begin_inset space \thinspace{}
48381 \end_inset
48382
48383 pt)
48384 \end_layout
48385
48386 \end_inset
48387 </cell>
48388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48389 \begin_inset Text
48390
48391 \begin_layout Plain Layout
48392 -
48393 \end_layout
48394
48395 \end_inset
48396 </cell>
48397 </row>
48398 <row>
48399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48400 \begin_inset Text
48401
48402 \begin_layout Plain Layout
48403 bp
48404 \end_layout
48405
48406 \end_inset
48407 </cell>
48408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48409 \begin_inset Text
48410
48411 \begin_layout Plain Layout
48412 big point (72
48413 \begin_inset space \thinspace{}
48414 \end_inset
48415
48416 bp = 1
48417 \begin_inset space \thinspace{}
48418 \end_inset
48419
48420 in)
48421 \end_layout
48422
48423 \end_inset
48424 </cell>
48425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48426 \begin_inset Text
48427
48428 \begin_layout Plain Layout
48429 -
48430 \end_layout
48431
48432 \end_inset
48433 </cell>
48434 </row>
48435 <row>
48436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48437 \begin_inset Text
48438
48439 \begin_layout Plain Layout
48440 dd
48441 \end_layout
48442
48443 \end_inset
48444 </cell>
48445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48446 \begin_inset Text
48447
48448 \begin_layout Plain Layout
48449 didot (1
48450 \begin_inset space \thinspace{}
48451 \end_inset
48452
48453 dd 
48454 \begin_inset Formula $\approx$
48455 \end_inset
48456
48457  0.376
48458 \begin_inset space \thinspace{}
48459 \end_inset
48460
48461 mm)
48462 \end_layout
48463
48464 \end_inset
48465 </cell>
48466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48467 \begin_inset Text
48468
48469 \begin_layout Plain Layout
48470 -
48471 \end_layout
48472
48473 \end_inset
48474 </cell>
48475 </row>
48476 <row>
48477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48478 \begin_inset Text
48479
48480 \begin_layout Plain Layout
48481 cc
48482 \end_layout
48483
48484 \end_inset
48485 </cell>
48486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48487 \begin_inset Text
48488
48489 \begin_layout Plain Layout
48490 cicero (1
48491 \begin_inset space \thinspace{}
48492 \end_inset
48493
48494 cc = 12
48495 \begin_inset space \thinspace{}
48496 \end_inset
48497
48498 dd)
48499 \end_layout
48500
48501 \end_inset
48502 </cell>
48503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48504 \begin_inset Text
48505
48506 \begin_layout Plain Layout
48507 -
48508 \end_layout
48509
48510 \end_inset
48511 </cell>
48512 </row>
48513 <row>
48514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48515 \begin_inset Text
48516
48517 \begin_layout Plain Layout
48518 Scale Graphics %
48519 \end_layout
48520
48521 \end_inset
48522 </cell>
48523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48524 \begin_inset Text
48525
48526 \begin_layout Plain Layout
48527 % of original image width
48528 \end_layout
48529
48530 \end_inset
48531 </cell>
48532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48533 \begin_inset Text
48534
48535 \begin_layout Plain Layout
48536
48537 \end_layout
48538
48539 \end_inset
48540 </cell>
48541 </row>
48542 <row>
48543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48544 \begin_inset Text
48545
48546 \begin_layout Plain Layout
48547 Text Width %
48548 \end_layout
48549
48550 \end_inset
48551 </cell>
48552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48553 \begin_inset Text
48554
48555 \begin_layout Plain Layout
48556 % of text width
48557 \end_layout
48558
48559 \end_inset
48560 </cell>
48561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48562 \begin_inset Text
48563
48564 \begin_layout Plain Layout
48565
48566 \backslash
48567 textwidth
48568 \end_layout
48569
48570 \end_inset
48571 </cell>
48572 </row>
48573 <row>
48574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48575 \begin_inset Text
48576
48577 \begin_layout Plain Layout
48578 Column Width %
48579 \end_layout
48580
48581 \end_inset
48582 </cell>
48583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48584 \begin_inset Text
48585
48586 \begin_layout Plain Layout
48587 % of column width
48588 \end_layout
48589
48590 \end_inset
48591 </cell>
48592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48593 \begin_inset Text
48594
48595 \begin_layout Plain Layout
48596
48597 \backslash
48598 columnwidth
48599 \end_layout
48600
48601 \end_inset
48602 </cell>
48603 </row>
48604 <row>
48605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48606 \begin_inset Text
48607
48608 \begin_layout Plain Layout
48609 Page Width %
48610 \end_layout
48611
48612 \end_inset
48613 </cell>
48614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48615 \begin_inset Text
48616
48617 \begin_layout Plain Layout
48618 % of paper width
48619 \end_layout
48620
48621 \end_inset
48622 </cell>
48623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48624 \begin_inset Text
48625
48626 \begin_layout Plain Layout
48627
48628 \backslash
48629 paperwidth
48630 \end_layout
48631
48632 \end_inset
48633 </cell>
48634 </row>
48635 <row>
48636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48637 \begin_inset Text
48638
48639 \begin_layout Plain Layout
48640 Line Width %
48641 \end_layout
48642
48643 \end_inset
48644 </cell>
48645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48646 \begin_inset Text
48647
48648 \begin_layout Plain Layout
48649 % of line width
48650 \end_layout
48651
48652 \end_inset
48653 </cell>
48654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48655 \begin_inset Text
48656
48657 \begin_layout Plain Layout
48658
48659 \backslash
48660 linewidth
48661 \end_layout
48662
48663 \end_inset
48664 </cell>
48665 </row>
48666 <row>
48667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48668 \begin_inset Text
48669
48670 \begin_layout Plain Layout
48671 Text Height %
48672 \end_layout
48673
48674 \end_inset
48675 </cell>
48676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48677 \begin_inset Text
48678
48679 \begin_layout Plain Layout
48680 % of text height
48681 \end_layout
48682
48683 \end_inset
48684 </cell>
48685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48686 \begin_inset Text
48687
48688 \begin_layout Plain Layout
48689
48690 \backslash
48691 textheight
48692 \end_layout
48693
48694 \end_inset
48695 </cell>
48696 </row>
48697 <row>
48698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48699 \begin_inset Text
48700
48701 \begin_layout Plain Layout
48702 Page Height %
48703 \end_layout
48704
48705 \end_inset
48706 </cell>
48707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48708 \begin_inset Text
48709
48710 \begin_layout Plain Layout
48711 % of paper height
48712 \end_layout
48713
48714 \end_inset
48715 </cell>
48716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48717 \begin_inset Text
48718
48719 \begin_layout Plain Layout
48720
48721 \backslash
48722 paperheight
48723 \end_layout
48724
48725 \end_inset
48726 </cell>
48727 </row>
48728 <row>
48729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48730 \begin_inset Text
48731
48732 \begin_layout Plain Layout
48733 ex
48734 \end_layout
48735
48736 \end_inset
48737 </cell>
48738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48739 \begin_inset Text
48740
48741 \begin_layout Plain Layout
48742 height of letter 
48743 \emph on
48744 x
48745 \emph default
48746  in current font
48747 \end_layout
48748
48749 \end_inset
48750 </cell>
48751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48752 \begin_inset Text
48753
48754 \begin_layout Plain Layout
48755 -
48756 \end_layout
48757
48758 \end_inset
48759 </cell>
48760 </row>
48761 <row>
48762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48763 \begin_inset Text
48764
48765 \begin_layout Plain Layout
48766 em
48767 \end_layout
48768
48769 \end_inset
48770 </cell>
48771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
48772 \begin_inset Text
48773
48774 \begin_layout Plain Layout
48775 width of letter 
48776 \emph on
48777 M
48778 \emph default
48779  in current font
48780 \end_layout
48781
48782 \end_inset
48783 </cell>
48784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
48785 \begin_inset Text
48786
48787 \begin_layout Plain Layout
48788 -
48789 \end_layout
48790
48791 \end_inset
48792 </cell>
48793 </row>
48794 <row>
48795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48796 \begin_inset Text
48797
48798 \begin_layout Plain Layout
48799 mu
48800 \end_layout
48801
48802 \end_inset
48803 </cell>
48804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
48805 \begin_inset Text
48806
48807 \begin_layout Plain Layout
48808 math unit (1
48809 \begin_inset space \thinspace{}
48810 \end_inset
48811
48812 mu = 1/18
48813 \begin_inset space \thinspace{}
48814 \end_inset
48815
48816 em)
48817 \end_layout
48818
48819 \end_inset
48820 </cell>
48821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
48822 \begin_inset Text
48823
48824 \begin_layout Plain Layout
48825 -
48826 \end_layout
48827
48828 \end_inset
48829 </cell>
48830 </row>
48831 </lyxtabular>
48832
48833 \end_inset
48834
48835
48836 \end_layout
48837
48838 \end_inset
48839
48840
48841 \end_layout
48842
48843 \begin_layout Chapter
48844 Credits
48845 \begin_inset CommandInset label
48846 LatexCommand label
48847 name "chap:Credits"
48848
48849 \end_inset
48850
48851
48852 \end_layout
48853
48854 \begin_layout Standard
48855 The documentation is a collaborative effort between many different people
48856  (and we would encourage people to contribute!).
48857 \end_layout
48858
48859 \begin_layout Itemize
48860
48861 \noun on
48862 Alejandro Aguilar Sierra
48863 \end_layout
48864
48865 \begin_layout Itemize
48866
48867 \noun on
48868 Amir Karger
48869 \end_layout
48870
48871 \begin_layout Itemize
48872
48873 \noun on
48874 David Johnson
48875 \end_layout
48876
48877 \begin_layout Itemize
48878
48879 \noun on
48880 Hartmut Haase
48881 \end_layout
48882
48883 \begin_layout Itemize
48884
48885 \noun on
48886 Ignacio García
48887 \end_layout
48888
48889 \begin_layout Itemize
48890
48891 \noun on
48892 Ivan Schreter
48893 \end_layout
48894
48895 \begin_layout Itemize
48896
48897 \noun on
48898 John Raithel
48899 \end_layout
48900
48901 \begin_layout Itemize
48902
48903 \noun on
48904 John Weiss
48905 \end_layout
48906
48907 \begin_layout Itemize
48908
48909 \noun on
48910 Lars Gullik Bjønnes
48911 \end_layout
48912
48913 \begin_layout Itemize
48914
48915 \noun on
48916 Matthias Ettrich
48917 \end_layout
48918
48919 \begin_layout Itemize
48920
48921 \noun on
48922 Matthias Zenker
48923 \end_layout
48924
48925 \begin_layout Itemize
48926
48927 \noun on
48928 Rich Fields
48929 \end_layout
48930
48931 \begin_layout Itemize
48932
48933 \noun on
48934 Pascal André
48935 \end_layout
48936
48937 \begin_layout Itemize
48938
48939 \noun on
48940 Paul Evans
48941 \end_layout
48942
48943 \begin_layout Itemize
48944
48945 \noun on
48946 Paul Russel
48947 \end_layout
48948
48949 \begin_layout Itemize
48950
48951 \noun on
48952 Robin Socha
48953 \end_layout
48954
48955 \begin_layout Itemize
48956
48957 \noun on
48958 Uwe Stöhr
48959 \end_layout
48960
48961 \begin_layout Itemize
48962 The \SpecialChar LyX
48963  Team: 
48964 \begin_inset CommandInset citation
48965 LatexCommand cite
48966 key "lyxcredit"
48967 literal "true"
48968
48969 \end_inset
48970
48971
48972 \end_layout
48973
48974 \begin_layout Standard
48975 \begin_inset Newpage newpage
48976 \end_inset
48977
48978 The bibliography on the following page was created with the 
48979 \family sans
48980 Bibliography
48981 \family default
48982  environment.
48983 \end_layout
48984
48985 \begin_layout Bibliography
48986 \begin_inset CommandInset bibitem
48987 LatexCommand bibitem
48988 label "Credits"
48989 key "lyxcredit"
48990 literal "true"
48991
48992 \end_inset
48993
48994 The \SpecialChar LyX
48995  Team: 
48996 \begin_inset CommandInset href
48997 LatexCommand href
48998 name "Credits"
48999 target "http://www.lyx.org/Credits"
49000 literal "false"
49001
49002 \end_inset
49003
49004 :
49005 \begin_inset Newline newline
49006 \end_inset
49007
49008
49009 \begin_inset Flex URL
49010 status collapsed
49011
49012 \begin_layout Plain Layout
49013
49014 http://www.lyx.org/Credits
49015 \end_layout
49016
49017 \end_inset
49018
49019
49020 \end_layout
49021
49022 \begin_layout Bibliography
49023 \begin_inset CommandInset bibitem
49024 LatexCommand bibitem
49025 key "latexcompanion"
49026 literal "true"
49027
49028 \end_inset
49029
49030 Frank Mittelbach and Michel Goossens: 
49031 \emph on
49032 The \SpecialChar LaTeX
49033  Companion Second Edition.
49034
49035 \emph default
49036  Addison-Wesley, 2004
49037 \end_layout
49038
49039 \begin_layout Bibliography
49040 \begin_inset CommandInset bibitem
49041 LatexCommand bibitem
49042 key "latexguide"
49043 literal "true"
49044
49045 \end_inset
49046
49047 Helmut Kopka and Patrick W.
49048  Daly: 
49049 \emph on
49050 A Guide to \SpecialChar LaTeX
49051  Fourth Edition.
49052
49053 \emph default
49054  Addison-Wesley, 2003
49055 \end_layout
49056
49057 \begin_layout Bibliography
49058 \begin_inset CommandInset bibitem
49059 LatexCommand bibitem
49060 key "latexbook"
49061 literal "true"
49062
49063 \end_inset
49064
49065 Leslie Lamport: 
49066 \emph on
49067 \SpecialChar LaTeX
49068 : A Document Preparation System.
49069
49070 \emph default
49071  Addison-Wesley, second edition, 1994
49072 \end_layout
49073
49074 \begin_layout Bibliography
49075 \begin_inset CommandInset bibitem
49076 LatexCommand bibitem
49077 key "texbook"
49078 literal "true"
49079
49080 \end_inset
49081
49082 Donald E.
49083  Knuth.
49084  
49085 \emph on
49086 The \SpecialChar TeX
49087 book.
49088
49089 \emph default
49090  Addison-Wesley, 1984
49091 \end_layout
49092
49093 \begin_layout Bibliography
49094 \begin_inset CommandInset bibitem
49095 LatexCommand bibitem
49096 key "TeXCatalogue"
49097 literal "true"
49098
49099 \end_inset
49100
49101 The \SpecialChar TeX
49102  Catalogue:
49103 \begin_inset Newline newline
49104 \end_inset
49105
49106
49107 \begin_inset Flex URL
49108 status collapsed
49109
49110 \begin_layout Plain Layout
49111
49112 http://mirrors.ctan.org/help/Catalogue/bytopic.html
49113 \end_layout
49114
49115 \end_inset
49116
49117
49118 \end_layout
49119
49120 \begin_layout Bibliography
49121 \begin_inset CommandInset bibitem
49122 LatexCommand bibitem
49123 key "LaTeXFAQ"
49124 literal "true"
49125
49126 \end_inset
49127
49128 The \SpecialChar LaTeX
49129  FAQ:
49130 \begin_inset Newline newline
49131 \end_inset
49132
49133
49134 \begin_inset Flex URL
49135 status collapsed
49136
49137 \begin_layout Plain Layout
49138
49139 http://www.tex.ac.uk/faq/
49140 \end_layout
49141
49142 \end_inset
49143
49144
49145 \end_layout
49146
49147 \begin_layout Bibliography
49148 \begin_inset CommandInset bibitem
49149 LatexCommand bibitem
49150 key "BibTeX"
49151 literal "true"
49152
49153 \end_inset
49154
49155
49156 \begin_inset CommandInset href
49157 LatexCommand href
49158 name "Documentation"
49159 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
49160 literal "false"
49161
49162 \end_inset
49163
49164  of the program 
49165 \family sans
49166 Bib\SpecialChar TeX
49167
49168 \family default
49169 :
49170 \begin_inset Newline newline
49171 \end_inset
49172
49173
49174 \begin_inset Flex URL
49175 status collapsed
49176
49177 \begin_layout Plain Layout
49178
49179 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
49180 \end_layout
49181
49182 \end_inset
49183
49184
49185 \end_layout
49186
49187 \begin_layout Bibliography
49188 \begin_inset CommandInset bibitem
49189 LatexCommand bibitem
49190 key "BibTeX-2"
49191 literal "true"
49192
49193 \end_inset
49194
49195
49196 \begin_inset CommandInset href
49197 LatexCommand href
49198 name "Documentation"
49199 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
49200 literal "false"
49201
49202 \end_inset
49203
49204  how to use the program 
49205 \family sans
49206 Bib\SpecialChar TeX
49207
49208 \family default
49209 :
49210 \begin_inset Newline newline
49211 \end_inset
49212
49213
49214 \begin_inset Flex URL
49215 status collapsed
49216
49217 \begin_layout Plain Layout
49218
49219 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
49220 \end_layout
49221
49222 \end_inset
49223
49224
49225 \end_layout
49226
49227 \begin_layout Bibliography
49228 \begin_inset CommandInset bibitem
49229 LatexCommand bibitem
49230 key "Biblatex"
49231 literal "true"
49232
49233 \end_inset
49234
49235
49236 \begin_inset CommandInset href
49237 LatexCommand href
49238 name "Documentation"
49239 target "http://www.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf"
49240 literal "false"
49241
49242 \end_inset
49243
49244  of the \SpecialChar LaTeX
49245  package 
49246 \series bold
49247 biblatex
49248 \series default
49249
49250 \begin_inset Index idx
49251 status collapsed
49252
49253 \begin_layout Plain Layout
49254 \SpecialChar LaTeX
49255  packages ! biblatex
49256 \end_layout
49257
49258 \end_inset
49259
49260 :
49261 \begin_inset Newline newline
49262 \end_inset
49263
49264
49265 \begin_inset Flex URL
49266 status collapsed
49267
49268 \begin_layout Plain Layout
49269
49270 http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf
49271 \end_layout
49272
49273 \end_inset
49274
49275
49276 \end_layout
49277
49278 \begin_layout Bibliography
49279 \begin_inset CommandInset bibitem
49280 LatexCommand bibitem
49281 key "biber"
49282 literal "true"
49283
49284 \end_inset
49285
49286
49287 \begin_inset CommandInset href
49288 LatexCommand href
49289 name "Documentation"
49290 target "http://mirrors.ctan.org/biblio/biber/documentation/biber.pdf"
49291 literal "false"
49292
49293 \end_inset
49294
49295  of the \SpecialChar LaTeX
49296  package 
49297 \series bold
49298 biber
49299 \series default
49300
49301 \begin_inset Index idx
49302 status collapsed
49303
49304 \begin_layout Plain Layout
49305 \SpecialChar LaTeX
49306  packages ! biber
49307 \end_layout
49308
49309 \end_inset
49310
49311 :
49312 \begin_inset Newline newline
49313 \end_inset
49314
49315
49316 \begin_inset Flex URL
49317 status collapsed
49318
49319 \begin_layout Plain Layout
49320
49321 http://mirrors.ctan.org/biblio/biber/documentation/biber.pdf
49322 \end_layout
49323
49324 \end_inset
49325
49326
49327 \end_layout
49328
49329 \begin_layout Bibliography
49330 \begin_inset CommandInset bibitem
49331 LatexCommand bibitem
49332 key "makeindex"
49333 literal "true"
49334
49335 \end_inset
49336
49337
49338 \begin_inset CommandInset href
49339 LatexCommand href
49340 name "Documentation"
49341 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
49342 literal "false"
49343
49344 \end_inset
49345
49346  of the program 
49347 \family sans
49348 makeindex
49349 \family default
49350 :
49351 \begin_inset Newline newline
49352 \end_inset
49353
49354
49355 \begin_inset Flex URL
49356 status collapsed
49357
49358 \begin_layout Plain Layout
49359
49360 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
49361 \end_layout
49362
49363 \end_inset
49364
49365
49366 \end_layout
49367
49368 \begin_layout Bibliography
49369 \begin_inset CommandInset bibitem
49370 LatexCommand bibitem
49371 key "makeindex-man"
49372 literal "true"
49373
49374 \end_inset
49375
49376
49377 \begin_inset CommandInset href
49378 LatexCommand href
49379 name "Options"
49380 target "http://mirrors.ctan.org/indexing/makeindex/doc/manpages.dvi"
49381 literal "false"
49382
49383 \end_inset
49384
49385  for the program 
49386 \family sans
49387 makeindex
49388 \family default
49389 :
49390 \begin_inset Newline newline
49391 \end_inset
49392
49393
49394 \begin_inset Flex URL
49395 status collapsed
49396
49397 \begin_layout Plain Layout
49398
49399 http://mirrors.ctan.org/indexing/makeindex/doc/manpages.dvi
49400 \end_layout
49401
49402 \end_inset
49403
49404
49405 \end_layout
49406
49407 \begin_layout Bibliography
49408 \begin_inset CommandInset bibitem
49409 LatexCommand bibitem
49410 key "xindy"
49411 literal "true"
49412
49413 \end_inset
49414
49415
49416 \begin_inset CommandInset href
49417 LatexCommand href
49418 name "Documentation"
49419 target "http://www.xindy.org/documentation.html"
49420 literal "false"
49421
49422 \end_inset
49423
49424  of the program 
49425 \family sans
49426 xindy
49427 \family default
49428 :
49429 \begin_inset Newline newline
49430 \end_inset
49431
49432
49433 \begin_inset Flex URL
49434 status collapsed
49435
49436 \begin_layout Plain Layout
49437
49438 http://www.xindy.org/documentation.html
49439 \end_layout
49440
49441 \end_inset
49442
49443
49444 \end_layout
49445
49446 \begin_layout Bibliography
49447 \begin_inset CommandInset bibitem
49448 LatexCommand bibitem
49449 key "AMS"
49450 literal "true"
49451
49452 \end_inset
49453
49454
49455 \begin_inset CommandInset href
49456 LatexCommand href
49457 name "Documentation"
49458 target "http://www.ams.org/publications/authors/tex/amslatex"
49459 literal "false"
49460
49461 \end_inset
49462
49463  of the AMS \SpecialChar LaTeX
49464 -packages:
49465 \begin_inset Newline newline
49466 \end_inset
49467
49468
49469 \begin_inset Flex URL
49470 status collapsed
49471
49472 \begin_layout Plain Layout
49473
49474 http://www.ams.org/publications/authors/tex/amslatex
49475 \end_layout
49476
49477 \end_inset
49478
49479
49480 \end_layout
49481
49482 \begin_layout Bibliography
49483 \begin_inset CommandInset bibitem
49484 LatexCommand bibitem
49485 key "caption"
49486 literal "true"
49487
49488 \end_inset
49489
49490
49491 \begin_inset CommandInset href
49492 LatexCommand href
49493 name "Documentation"
49494 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
49495 literal "false"
49496
49497 \end_inset
49498
49499  of the \SpecialChar LaTeX
49500  package 
49501 \series bold
49502 caption
49503 \series default
49504
49505 \begin_inset Index idx
49506 status collapsed
49507
49508 \begin_layout Plain Layout
49509 \SpecialChar LaTeX
49510  packages ! caption
49511 \end_layout
49512
49513 \end_inset
49514
49515 :
49516 \begin_inset Newline newline
49517 \end_inset
49518
49519
49520 \begin_inset Flex URL
49521 status collapsed
49522
49523 \begin_layout Plain Layout
49524
49525 http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf
49526 \end_layout
49527
49528 \end_inset
49529
49530
49531 \end_layout
49532
49533 \begin_layout Bibliography
49534 \begin_inset CommandInset bibitem
49535 LatexCommand bibitem
49536 key "enumitem"
49537 literal "true"
49538
49539 \end_inset
49540
49541
49542 \begin_inset CommandInset href
49543 LatexCommand href
49544 name "Documentation"
49545 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
49546 literal "false"
49547
49548 \end_inset
49549
49550  of the \SpecialChar LaTeX
49551  package 
49552 \series bold
49553 enumitem
49554 \series default
49555
49556 \begin_inset Index idx
49557 status collapsed
49558
49559 \begin_layout Plain Layout
49560 \SpecialChar LaTeX
49561  packages ! enumitem
49562 \end_layout
49563
49564 \end_inset
49565
49566 :
49567 \begin_inset Newline newline
49568 \end_inset
49569
49570
49571 \begin_inset Flex URL
49572 status collapsed
49573
49574 \begin_layout Plain Layout
49575
49576 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
49577 \end_layout
49578
49579 \end_inset
49580
49581
49582 \end_layout
49583
49584 \begin_layout Bibliography
49585 \begin_inset CommandInset bibitem
49586 LatexCommand bibitem
49587 key "fancyhdr"
49588 literal "true"
49589
49590 \end_inset
49591
49592
49593 \begin_inset CommandInset href
49594 LatexCommand href
49595 name "Documentation"
49596 target "http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
49597 literal "false"
49598
49599 \end_inset
49600
49601  of the \SpecialChar LaTeX
49602  package 
49603 \series bold
49604 fancyhdr
49605 \series default
49606
49607 \begin_inset Index idx
49608 status collapsed
49609
49610 \begin_layout Plain Layout
49611 \SpecialChar LaTeX
49612  packages ! fancyhdr
49613 \end_layout
49614
49615 \end_inset
49616
49617 :
49618 \begin_inset Newline newline
49619 \end_inset
49620
49621
49622 \begin_inset Flex URL
49623 status collapsed
49624
49625 \begin_layout Plain Layout
49626
49627 http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf
49628 \end_layout
49629
49630 \end_inset
49631
49632
49633 \end_layout
49634
49635 \begin_layout Bibliography
49636 \begin_inset CommandInset bibitem
49637 LatexCommand bibitem
49638 key "hyperref"
49639 literal "true"
49640
49641 \end_inset
49642
49643
49644 \begin_inset CommandInset href
49645 LatexCommand href
49646 name "Documentation"
49647 target "http://www.ctan.org/pkg/hyperref"
49648 literal "false"
49649
49650 \end_inset
49651
49652  of the \SpecialChar LaTeX
49653  package 
49654 \series bold
49655 hyperref
49656 \series default
49657
49658 \begin_inset Index idx
49659 status collapsed
49660
49661 \begin_layout Plain Layout
49662 \SpecialChar LaTeX
49663  packages ! hyperref
49664 \end_layout
49665
49666 \end_inset
49667
49668 :
49669 \begin_inset Newline newline
49670 \end_inset
49671
49672
49673 \begin_inset Flex URL
49674 status collapsed
49675
49676 \begin_layout Plain Layout
49677
49678 http://www.ctan.org/pkg/hyperref
49679 \end_layout
49680
49681 \end_inset
49682
49683
49684 \end_layout
49685
49686 \begin_layout Bibliography
49687 \begin_inset CommandInset bibitem
49688 LatexCommand bibitem
49689 key "nomencl"
49690 literal "true"
49691
49692 \end_inset
49693
49694
49695 \begin_inset CommandInset href
49696 LatexCommand href
49697 name "Documentation"
49698 target "http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
49699 literal "false"
49700
49701 \end_inset
49702
49703  of the \SpecialChar LaTeX
49704  package 
49705 \series bold
49706 nomencl
49707 \series default
49708
49709 \begin_inset Index idx
49710 status collapsed
49711
49712 \begin_layout Plain Layout
49713 \SpecialChar LaTeX
49714  packages ! nomencl
49715 \end_layout
49716
49717 \end_inset
49718
49719 :
49720 \begin_inset Newline newline
49721 \end_inset
49722
49723
49724 \begin_inset Flex URL
49725 status collapsed
49726
49727 \begin_layout Plain Layout
49728
49729 http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
49730 \end_layout
49731
49732 \end_inset
49733
49734
49735 \end_layout
49736
49737 \begin_layout Bibliography
49738 \begin_inset CommandInset bibitem
49739 LatexCommand bibitem
49740 key "prettyref"
49741 literal "true"
49742
49743 \end_inset
49744
49745
49746 \begin_inset CommandInset href
49747 LatexCommand href
49748 name "Documentation"
49749 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
49750 literal "false"
49751
49752 \end_inset
49753
49754  of the \SpecialChar LaTeX
49755  package 
49756 \series bold
49757 prettyref
49758 \series default
49759
49760 \begin_inset Index idx
49761 status collapsed
49762
49763 \begin_layout Plain Layout
49764 \SpecialChar LaTeX
49765  packages ! prettyref
49766 \end_layout
49767
49768 \end_inset
49769
49770 :
49771 \begin_inset Newline newline
49772 \end_inset
49773
49774
49775 \begin_inset Flex URL
49776 status collapsed
49777
49778 \begin_layout Plain Layout
49779
49780 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
49781 \end_layout
49782
49783 \end_inset
49784
49785
49786 \end_layout
49787
49788 \begin_layout Bibliography
49789 \begin_inset CommandInset bibitem
49790 LatexCommand bibitem
49791 key "refstyle"
49792 literal "true"
49793
49794 \end_inset
49795
49796
49797 \begin_inset CommandInset href
49798 LatexCommand href
49799 name "Documentation"
49800 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
49801 literal "false"
49802
49803 \end_inset
49804
49805  of the \SpecialChar LaTeX
49806  package 
49807 \series bold
49808 refstyle
49809 \series default
49810
49811 \begin_inset Index idx
49812 status collapsed
49813
49814 \begin_layout Plain Layout
49815 \SpecialChar LaTeX
49816  packages ! refstyle
49817 \end_layout
49818
49819 \end_inset
49820
49821 :
49822 \begin_inset Newline newline
49823 \end_inset
49824
49825
49826 \begin_inset Flex URL
49827 status collapsed
49828
49829 \begin_layout Plain Layout
49830
49831 http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf
49832 \end_layout
49833
49834 \end_inset
49835
49836
49837 \end_layout
49838
49839 \begin_layout Bibliography
49840 \begin_inset CommandInset bibitem
49841 LatexCommand bibitem
49842 key "Arabic"
49843 literal "true"
49844
49845 \end_inset
49846
49847
49848 \begin_inset CommandInset href
49849 LatexCommand href
49850 name "Wiki-page"
49851 target "http://wiki.lyx.org/Windows/Arabic"
49852 literal "false"
49853
49854 \end_inset
49855
49856  how to set up \SpecialChar LyX
49857  for Arabic:
49858 \begin_inset Newline newline
49859 \end_inset
49860
49861
49862 \begin_inset Flex URL
49863 status collapsed
49864
49865 \begin_layout Plain Layout
49866
49867 http://wiki.lyx.org/Windows/Arabic
49868 \end_layout
49869
49870 \end_inset
49871
49872
49873 \end_layout
49874
49875 \begin_layout Bibliography
49876 \begin_inset CommandInset bibitem
49877 LatexCommand bibitem
49878 key "Armenian"
49879 literal "true"
49880
49881 \end_inset
49882
49883
49884 \begin_inset CommandInset href
49885 LatexCommand href
49886 name "Wiki-page"
49887 target "http://wiki.lyx.org/Windows/Armenian"
49888 literal "false"
49889
49890 \end_inset
49891
49892  how to set up \SpecialChar LyX
49893  for Armenian:
49894 \begin_inset Newline newline
49895 \end_inset
49896
49897
49898 \begin_inset Flex URL
49899 status collapsed
49900
49901 \begin_layout Plain Layout
49902
49903 http://wiki.lyx.org/Windows/Armenian
49904 \end_layout
49905
49906 \end_inset
49907
49908
49909 \end_layout
49910
49911 \begin_layout Bibliography
49912 \begin_inset CommandInset bibitem
49913 LatexCommand bibitem
49914 key "Cyrillic"
49915 literal "true"
49916
49917 \end_inset
49918
49919
49920 \begin_inset CommandInset href
49921 LatexCommand href
49922 name "Wiki-page"
49923 target "http://wiki.lyx.org/Windows/Cyrillic"
49924 literal "false"
49925
49926 \end_inset
49927
49928  how to set up \SpecialChar LyX
49929  for Cyrillic languages:
49930 \begin_inset Newline newline
49931 \end_inset
49932
49933
49934 \begin_inset Flex URL
49935 status collapsed
49936
49937 \begin_layout Plain Layout
49938
49939 http://wiki.lyx.org/Windows/Cyrillic
49940 \end_layout
49941
49942 \end_inset
49943
49944
49945 \end_layout
49946
49947 \begin_layout Bibliography
49948 \begin_inset CommandInset bibitem
49949 LatexCommand bibitem
49950 key "Farsi"
49951 literal "true"
49952
49953 \end_inset
49954
49955
49956 \begin_inset CommandInset href
49957 LatexCommand href
49958 name "Wiki-page"
49959 target "http://wiki.lyx.org/Windows/Farsi"
49960 literal "false"
49961
49962 \end_inset
49963
49964  how to set up \SpecialChar LyX
49965  for Farsi:
49966 \begin_inset Newline newline
49967 \end_inset
49968
49969
49970 \begin_inset Flex URL
49971 status collapsed
49972
49973 \begin_layout Plain Layout
49974
49975 http://wiki.lyx.org/Windows/Farsi
49976 \end_layout
49977
49978 \end_inset
49979
49980
49981 \end_layout
49982
49983 \begin_layout Bibliography
49984 \begin_inset CommandInset bibitem
49985 LatexCommand bibitem
49986 key "Hebrew"
49987 literal "true"
49988
49989 \end_inset
49990
49991
49992 \begin_inset CommandInset href
49993 LatexCommand href
49994 name "Wiki-page"
49995 target "http://wiki.lyx.org/Windows/Hebrew"
49996 literal "false"
49997
49998 \end_inset
49999
50000  how to set up \SpecialChar LyX
50001  for Hebrew:
50002 \begin_inset Newline newline
50003 \end_inset
50004
50005
50006 \begin_inset Flex URL
50007 status collapsed
50008
50009 \begin_layout Plain Layout
50010
50011 http://wiki.lyx.org/Windows/Hebrew
50012 \end_layout
50013
50014 \end_inset
50015
50016
50017 \end_layout
50018
50019 \begin_layout Bibliography
50020 \begin_inset CommandInset bibitem
50021 LatexCommand bibitem
50022 key "Japanese"
50023 literal "true"
50024
50025 \end_inset
50026
50027
50028 \begin_inset CommandInset href
50029 LatexCommand href
50030 name "Wiki-page"
50031 target "http://wiki.lyx.org/Windows/Japanese"
50032 literal "false"
50033
50034 \end_inset
50035
50036  how to set up \SpecialChar LyX
50037  for Japanese:
50038 \begin_inset Newline newline
50039 \end_inset
50040
50041
50042 \begin_inset Flex URL
50043 status collapsed
50044
50045 \begin_layout Plain Layout
50046
50047 http://wiki.lyx.org/Windows/Japanese
50048 \end_layout
50049
50050 \end_inset
50051
50052
50053 \end_layout
50054
50055 \begin_layout Bibliography
50056 \begin_inset CommandInset bibitem
50057 LatexCommand bibitem
50058 key "Latvian"
50059 literal "true"
50060
50061 \end_inset
50062
50063
50064 \begin_inset CommandInset href
50065 LatexCommand href
50066 name "Wiki-page"
50067 target "http://wiki.lyx.org/Windows/Latvian"
50068 literal "false"
50069
50070 \end_inset
50071
50072  how to set up \SpecialChar LyX
50073  for Latvian:
50074 \begin_inset Newline newline
50075 \end_inset
50076
50077
50078 \begin_inset Flex URL
50079 status collapsed
50080
50081 \begin_layout Plain Layout
50082
50083 http://wiki.lyx.org/Windows/Latvian
50084 \end_layout
50085
50086 \end_inset
50087
50088
50089 \end_layout
50090
50091 \begin_layout Bibliography
50092 \begin_inset CommandInset bibitem
50093 LatexCommand bibitem
50094 key "Lithuanian"
50095 literal "true"
50096
50097 \end_inset
50098
50099
50100 \begin_inset CommandInset href
50101 LatexCommand href
50102 name "Wiki-page"
50103 target "http://wiki.lyx.org/Windows/Lithuanian"
50104 literal "false"
50105
50106 \end_inset
50107
50108  how to set up \SpecialChar LyX
50109  for Lithuanian:
50110 \begin_inset Newline newline
50111 \end_inset
50112
50113
50114 \begin_inset Flex URL
50115 status collapsed
50116
50117 \begin_layout Plain Layout
50118
50119 http://wiki.lyx.org/Windows/Lithuanian
50120 \end_layout
50121
50122 \end_inset
50123
50124
50125 \end_layout
50126
50127 \begin_layout Bibliography
50128 \begin_inset CommandInset bibitem
50129 LatexCommand bibitem
50130 key "Mongolian"
50131 literal "true"
50132
50133 \end_inset
50134
50135
50136 \begin_inset CommandInset href
50137 LatexCommand href
50138 name "Wiki-page"
50139 target "http://wiki.lyx.org/Windows/Mongolian"
50140 literal "false"
50141
50142 \end_inset
50143
50144  how to set up \SpecialChar LyX
50145  for Mongolian:
50146 \begin_inset Newline newline
50147 \end_inset
50148
50149
50150 \begin_inset Flex URL
50151 status collapsed
50152
50153 \begin_layout Plain Layout
50154
50155 http://wiki.lyx.org/Windows/Mongolian
50156 \end_layout
50157
50158 \end_inset
50159
50160
50161 \end_layout
50162
50163 \begin_layout Bibliography
50164 \begin_inset CommandInset bibitem
50165 LatexCommand bibitem
50166 key "Vietnamese"
50167 literal "true"
50168
50169 \end_inset
50170
50171
50172 \begin_inset CommandInset href
50173 LatexCommand href
50174 name "Wiki-page"
50175 target "http://wiki.lyx.org/Windows/Vietnamese"
50176 literal "false"
50177
50178 \end_inset
50179
50180  how to set up \SpecialChar LyX
50181  for Vietnamese:
50182 \begin_inset Newline newline
50183 \end_inset
50184
50185
50186 \begin_inset Flex URL
50187 status collapsed
50188
50189 \begin_layout Plain Layout
50190
50191 http://wiki.lyx.org/Windows/Vietnamese
50192 \end_layout
50193
50194 \end_inset
50195
50196
50197 \end_layout
50198
50199 \begin_layout Bibliography
50200 \begin_inset CommandInset bibitem
50201 LatexCommand bibitem
50202 key "NewInLyX20"
50203 literal "true"
50204
50205 \end_inset
50206
50207
50208 \begin_inset CommandInset href
50209 LatexCommand href
50210 name "Wiki-page"
50211 target "http://wiki.lyx.org/LyX/NewInLyX20"
50212 literal "false"
50213
50214 \end_inset
50215
50216  about new features in 
50217 \family sans
50218 \SpecialChar LyX
50219  2.0
50220 \family default
50221 :
50222 \begin_inset Newline newline
50223 \end_inset
50224
50225
50226 \begin_inset Flex URL
50227 status collapsed
50228
50229 \begin_layout Plain Layout
50230
50231 http://wiki.lyx.org/LyX/NewInLyX20
50232 \end_layout
50233
50234 \end_inset
50235
50236
50237 \end_layout
50238
50239 \begin_layout Standard
50240 \begin_inset Newpage newpage
50241 \end_inset
50242
50243
50244 \begin_inset ERT
50245 status collapsed
50246
50247 \begin_layout Plain Layout
50248
50249
50250 \backslash
50251 let
50252 \backslash
50253 mybibname
50254 \backslash
50255 bibname
50256 \end_layout
50257
50258 \begin_layout Plain Layout
50259
50260
50261 \backslash
50262 renewcommand{
50263 \backslash
50264 bibname}{
50265 \backslash
50266 mybibname
50267 \backslash
50268 ; 2}
50269 \end_layout
50270
50271 \end_inset
50272
50273
50274 \begin_inset Note Note
50275 status collapsed
50276
50277 \begin_layout Plain Layout
50278 The command 
50279 \series bold
50280
50281 \backslash
50282 bibname
50283 \series default
50284  is the name of the bibliography in the current document language.
50285  It is redefined here with the number 2 at the end to state that the following
50286  bibliography is the second one:
50287 \end_layout
50288
50289 \end_inset
50290
50291
50292 \end_layout
50293
50294 \begin_layout Standard
50295 \begin_inset CommandInset bibtex
50296 LatexCommand bibtex
50297 bibfiles "biblio/LyXDocs"
50298 options "biblio/alphadin"
50299
50300 \end_inset
50301
50302
50303 \end_layout
50304
50305 \begin_layout Standard
50306 The above bibliography is created from a Bib\SpecialChar TeX
50307  database.
50308 \end_layout
50309
50310 \begin_layout Standard
50311 \begin_inset CommandInset nomencl_print
50312 LatexCommand printnomenclature
50313 set_width "auto"
50314
50315 \end_inset
50316
50317
50318 \begin_inset CommandInset index_print
50319 LatexCommand printindex
50320 type "idx"
50321 name "Index"
50322 literal "false"
50323
50324 \end_inset
50325
50326
50327 \end_layout
50328
50329 \end_body
50330 \end_document