]> git.lyx.org Git - lyx.git/blob - lib/doc/Customization.lyx
Document enabling hyphenation for minority languages in LaTeX.
[lyx.git] / lib / doc / Customization.lyx
1 #LyX 1.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 221
3 \textclass book
4 \begin_preamble
5 \usepackage{multicol}
6 \IfFileExists{isolatin.def}
7 {\usepackage[isolatin]{inputenc}}
8 {\usepackage[latin1]{inputenc}}
9 \end_preamble
10 \language english
11 \inputencoding default
12 \fontscheme default
13 \graphics none
14 \paperfontsize default
15 \spacing single 
16 \papersize Default
17 \paperpackage a4
18 \use_geometry 0
19 \use_amsmath 0
20 \use_natbib 0
21 \use_numerical_citations 0
22 \paperorientation portrait
23 \secnumdepth 3
24 \tocdepth 3
25 \paragraph_separation indent
26 \defskip medskip
27 \quotes_language english
28 \quotes_times 2
29 \papercolumns 1
30 \papersides 2
31 \paperpagestyle headings
32
33 \layout Title
34
35 Customizing LyX: Features for the Advanced User
36 \layout Author
37
38 by the LyX Team
39 \begin_inset Foot
40 collapsed true
41
42 \layout Standard
43 \noindent 
44 Principal maintainer of this file is 
45 \noun on 
46 Mike Ressler
47 \noun default 
48 .
49  If you have comments or error corrections, please send them to the LyX
50  Documentation mailing list, <lyx-docs@lists.lyx.org>.
51 \end_inset 
52
53  
54 \layout Standard
55
56
57 \begin_inset LatexCommand \tableofcontents{}
58
59 \end_inset 
60
61
62 \layout Chapter
63
64 Introduction
65 \layout Standard
66
67 This manual covers the customization features present in LyX.
68  In it, we discuss issues like keyboard shortcuts, screen previewing options,
69  printer options, sending commands to LyX via the LyX Server, internationalizati
70 on, installing new LaTeX classes and LyX layouts, etc.
71  We can't possibly hope to touch on everything you can change---our developers
72  add new features faster than we can document them---but we will explain
73  the most common customizations and hopefully point you in the right direction
74  for some of the more obscure ones.
75 \layout Chapter
76
77 LyX configuration files
78 \layout Standard
79
80
81 \begin_inset LatexCommand \label{chap:config}
82
83 \end_inset 
84
85 This chapter aims to help you to find your way through the LyX configuration
86  files.
87  Before continuing to read this chapter, you should find out where your
88  LyX library directory is by using 
89 \family sans 
90 \bar under 
91 H
92 \bar default 
93 elp\SpecialChar \menuseparator
94 About\SpecialChar ~
95 Ly
96 \bar under 
97 X
98 \family default 
99 \bar default 
100 .
101  This directory is the place where LyX places its system-wide configuration
102  files, and we will simply name it 
103 \family typewriter 
104 LyXDir
105 \family default 
106  in the remainder of this document.
107  
108 \layout Section
109
110 What's in 
111 \family typewriter 
112 LyXDir
113 \family default 
114 ?
115 \layout Standard
116
117
118 \family typewriter 
119 LyXDir
120 \family default 
121  and its sub-directories contain a number of files and that can be used
122  to customise LyX's behaviour.
123  You can change many of these files from within LyX itself through the 
124 \family sans 
125 \bar under 
126 T
127 \bar default 
128 ools\SpecialChar \menuseparator
129
130 \bar under 
131 P
132 \bar default 
133 references
134 \family default 
135  dialog.
136  Most customization that you might want to do to LyX is possible through
137  this dialog.
138  However, many other inner aspects of LyX can be customized by modifying
139  the files in 
140 \family typewriter 
141 LyXDir
142 \family default 
143 .
144  They fall in different categories, described in the following subsections.
145 \layout Subsection
146
147 Automatically generated files
148 \layout Standard
149
150 These files are generated when you configure LyX.
151  They contain various default values that are guessed by inspection.
152  In general, it is not a good idea to modify them, since they might be overwritt
153 en at any time.
154 \layout List
155 \labelwidthstring 00.00.0000
156
157
158 \family typewriter 
159 \series medium 
160 lyxrc.defaults
161 \family default 
162 \series default 
163  contains defaults for various commands.
164 \layout List
165 \labelwidthstring 00.00.0000
166
167
168 \family typewriter 
169 \series medium 
170 packages.lst
171 \family default 
172 \series default 
173  contains the list of packages that have been recognized by LyX.
174  It is currently unused by the LyX program itself, but the information extracted
175 , and more, is made available with 
176 \family sans 
177 \bar under 
178 H
179 \bar default 
180 elp\SpecialChar \menuseparator
181 L
182 \bar under 
183 a
184 \bar default 
185 TeX\SpecialChar ~
186 Configuration
187 \family default 
188 .
189 \layout List
190 \labelwidthstring 00.00.0000
191
192
193 \family typewriter 
194 \series medium 
195 textclass.lst
196 \family default 
197 \series default 
198  is the list of text classes that have been found in your 
199 \family typewriter 
200 layout/
201 \family default 
202  directory, along with the associated LaTeX document class and their description.
203 \layout List
204 \labelwidthstring 00.00.0000
205
206
207 \family typewriter 
208 doc/LaTeXConfig.lyx
209 \family default 
210  is automatically generated during configuration from the file 
211 \family typewriter 
212 LaTeXConfig.lyx.in
213 \family default 
214 .
215 \layout Subsection
216
217 Directories
218 \layout List
219 \labelwidthstring 00.00.0000
220
221
222 \family typewriter 
223 \series medium 
224 bind/
225 \family default 
226 \series default 
227  this directory contains files with the extension 
228 \family typewriter 
229 .bind
230 \family default 
231  that define the keybindings used in LyX (see section\SpecialChar ~
232
233 \begin_inset LatexCommand \ref{sec:bindings}
234
235 \end_inset 
236
237 ).
238  If there exists an internationalized version of the bindfile named 
239 \family typewriter 
240 $LANG_xxx.bind
241 \family default 
242 , that will be used first.
243  See Chapter\SpecialChar ~
244
245 \begin_inset LatexCommand \ref{chap:i18n}
246
247 \end_inset 
248
249 , and section 
250 \begin_inset LatexCommand \ref{sec:bindings}
251
252 \end_inset 
253
254 for details.
255 \layout List
256 \labelwidthstring 00.00.0000
257
258
259 \family typewriter 
260 \series medium 
261 clipart/
262 \family default 
263 \series default 
264  contains graphics files that can be included in documents.
265  
266 \layout List
267 \labelwidthstring 00.00.0000
268
269
270 \family typewriter 
271 \series medium 
272 doc/
273 \family default 
274 \series default 
275  contains LyX documentation files (including the one you are currently reading).
276  The file 
277 \family typewriter 
278 LaTeXConfig.lyx
279 \family default 
280  deserves special attention, as noted above.
281  If there exists an internationalized version of the help-document with
282  
283 \family typewriter 
284 $LANG_
285 \family default 
286  prepended to the name, that will be used first.
287  See Chapter\SpecialChar ~
288
289 \begin_inset LatexCommand \ref{chap:i18n}
290
291 \end_inset 
292
293  for details.
294 \layout List
295 \labelwidthstring 00.00.0000
296
297
298 \family typewriter 
299 \series medium 
300 examples/
301 \family default 
302 \series default 
303  contains example files that explain how to use some features.
304  In the file browser, press the 
305 \family sans 
306 Examples
307 \family default 
308  button to get there.
309 \layout List
310 \labelwidthstring 00.00.0000
311
312
313 \family typewriter 
314 images/
315 \family default 
316  contains image files that are used by the 
317 \family sans 
318 Document
319 \family default 
320  dialog.
321  In addition, it also contains the individual icons used in the toolbar
322  and the banners that can be shown when LyX is launched.
323 \layout List
324 \labelwidthstring 00.00.0000
325
326
327 \family typewriter 
328 \series medium 
329 kbd/
330 \family default 
331 \series default 
332  contains keyboard keymapping files.
333  See Chapter\SpecialChar ~
334
335 \begin_inset LatexCommand \ref{sec:keymap}
336
337 \end_inset 
338
339  for details.
340 \layout List
341 \labelwidthstring 00.00.0000
342
343
344 \family typewriter 
345 \series medium 
346 layouts/
347 \family default 
348 \series default 
349  contains the text class files described in Chapter\SpecialChar ~
350
351 \begin_inset LatexCommand \ref{chap:textclass}
352
353 \end_inset 
354
355 .
356 \layout List
357 \labelwidthstring 00.00.0000
358
359
360 \family typewriter 
361 reLyX/
362 \family default 
363  contains lots of files that together make up reLyX, the translator of 
364 \begin_inset Quotes eld
365 \end_inset 
366
367 well behaved
368 \begin_inset Quotes erd
369 \end_inset 
370
371  LaTeX into LyX.
372 \layout List
373 \labelwidthstring 00.00.0000
374
375
376 \family typewriter 
377 scripts/
378 \family default 
379  contains some files that demonstrate the capabilities of the 
380 \family sans 
381 External\SpecialChar ~
382 Template
383 \family default 
384  feature.
385 \layout List
386 \labelwidthstring 00.00.0000
387
388
389 \family typewriter 
390 templates/ 
391 \family default 
392 contains the standard LyX template files described in Chapter\SpecialChar ~
393
394 \begin_inset LatexCommand \ref{sec:templates}
395
396 \end_inset 
397
398 .
399 \layout List
400 \labelwidthstring 00.00.0000
401
402
403 \family typewriter 
404 tex/
405 \family default 
406  contains some LaTeX cls files distributed with LyX.
407 \layout List
408 \labelwidthstring 00.00.0000
409
410
411 \family typewriter 
412 ui/
413 \family default 
414  contains files with the extension 
415 \family typewriter 
416 .ui
417 \family default 
418  that define the user interface to LyX.
419  That is, the files define which items appear in which menus and the items
420  appearing on the toolbar.
421  See Chapter\SpecialChar ~
422
423 \begin_inset LatexCommand \ref{sec:ui}
424
425 \end_inset 
426
427  for details.
428 \layout Subsection
429
430 Files you don't want to modify
431 \layout Standard
432
433 These files are used internally by LyX and you generally do not need to
434  modify them unless you are a developer.
435 \layout List
436 \labelwidthstring 00.00.0000
437
438
439 \family typewriter 
440 \series medium 
441 CREDITS
442 \family default 
443 \series default 
444  this file contains the list of LyX developers.
445  The contents are displayed with the menu entry 
446 \family sans 
447 \bar under 
448 H
449 \bar default 
450 elp\SpecialChar \menuseparator
451 About\SpecialChar ~
452 LyX
453 \family default 
454 .
455 \layout List
456 \labelwidthstring 00.00.0000
457
458
459 \family typewriter 
460 \series medium 
461 chkconfig.ltx
462 \family default 
463 \series default 
464  this is a LaTeX script used during the configuration process.
465  Do not run directly.
466 \layout List
467 \labelwidthstring 00.00.0000
468
469
470 \family typewriter 
471 \series medium 
472 configure
473 \family default 
474 \series default 
475  this is the script that is used to re-configure LyX.
476  It creates configuration files in the directory it was run from.
477 \layout Subsection
478
479 Other files needing a line or two...
480 \layout List
481 \labelwidthstring 00.00.0000
482
483
484 \family typewriter 
485 encodings
486 \family default 
487  this contains tables describing how different character encodings can be
488  mapped to unicode
489 \layout List
490 \labelwidthstring 00.00.0000
491
492
493 \family typewriter 
494 external_templates
495 \family default 
496  this file contains the templates available to the new 
497 \family sans 
498 External\SpecialChar ~
499 Template
500 \family default 
501  feature.
502 \layout List
503 \labelwidthstring 00.00.0000
504
505
506 \family typewriter 
507 languages
508 \family default 
509  this file contains a list of all the languages currently supported by LyX.
510 \layout List
511 \labelwidthstring 00.00.0000
512
513
514 \family typewriter 
515 lyxrc.example
516 \family default 
517  Deprecated and definitely obfuscated.
518  This is the old style preferences file.
519  It will probably disappear in the near future.
520 \layout Section
521
522 Your local configuration directory
523 \layout Standard
524
525 Even if you are using LyX as an unprivileged user, you might want to change
526  LyX configuration for your own use.
527  The 
528 \family typewriter 
529 UserDir
530 \family default 
531  directory contains all your personal configuration files.
532  This is the directory described as 
533 \begin_inset Quotes eld
534 \end_inset 
535
536 user directory
537 \begin_inset Quotes erd
538 \end_inset 
539
540  in 
541 \family sans 
542 \bar under 
543 H
544 \bar default 
545 elp\SpecialChar \menuseparator
546 About\SpecialChar ~
547 LyX
548 \family default 
549 .
550  This directory is used as a mirror of 
551 \family typewriter 
552 LyXDir
553 \family default 
554 , which means that every file in 
555 \family typewriter 
556 UserDir
557 \family default 
558  is a replacement for the corresponding file in 
559 \family typewriter 
560 LyXDir
561 \family default 
562 .
563  Any configuration file described in the above sections can be placed either
564  in the system-wide directory, in which case it will affect all users, or
565  in your local directory for your own use.
566 \layout Standard
567
568 To make things clearer, let's provide a few examples:
569 \layout Itemize
570
571 The preferences set in the 
572 \family sans 
573 \bar under 
574 T
575 \bar default 
576 ools\SpecialChar \menuseparator
577
578 \bar under 
579 P
580 \bar default 
581 references
582 \family default 
583  dialog are saved to a file 
584 \family typewriter 
585 preferences
586 \family default 
587  in 
588 \family typewriter 
589 UserDir
590 \family default 
591 .
592 \layout Itemize
593
594 When you reconfigure using 
595 \family sans 
596 \bar under 
597 T
598 \bar default 
599 ools\SpecialChar \menuseparator
600
601 \bar under 
602 R
603 \bar default 
604 econfigure
605 \family default 
606 , LyX runs 
607 \family typewriter 
608 configure
609 \family default 
610  and the resulting files are written in your local configuration directory
611  (see section\SpecialChar ~
612
613 \begin_inset LatexCommand \ref{sec:autodetected}
614
615 \end_inset 
616
617  to have a list of the 
618 \family typewriter 
619 preferences
620 \family default 
621  settings affected by this section).
622  This means that any additional text class file that you might have added
623  in 
624 \family typewriter 
625 UserDir/layouts
626 \family default 
627  will be added to the list of classes in the 
628 \family sans 
629 \bar under 
630 L
631 \bar default 
632 ayout\SpecialChar \menuseparator
633
634 \bar under 
635 D
636 \bar default 
637 ocument
638 \family default 
639  dialog.
640 \layout Itemize
641
642 Similarly, if you have installed some LaTeX document classes in your home
643  directory, that LaTeX can find with your 
644 \family typewriter 
645 TEXINPUTS
646 \family default 
647  path, they will show up in your list of text classes.
648 \begin_inset Foot
649 collapsed true
650
651 \layout Standard
652
653 as long as LyX or yourself have a 
654 \family typewriter 
655 .layout
656 \family default 
657  file for it, of course.
658 \end_inset 
659
660
661 \layout Itemize
662
663 If you get some updated documentation from LyX ftp site and cannot install
664  it because you do not have sysadmin rights on your system, you can just
665  copy the files in 
666 \family typewriter 
667 UserDir/doc/
668 \family default 
669  and the items in the 
670 \family sans 
671 \bar under 
672 H
673 \bar default 
674 elp
675 \family default 
676  menu will open them!
677 \layout Section
678
679 Running LyX with multiple configurations
680 \layout Standard
681
682 The configuration freedom of the local configuration directory may not suffice
683  if you want to have more than one configuration at your disposal.
684  For example, you may want to be use different key bindings or printer settings
685  at different times.
686  You can achieve this by having several such directories.
687  You then specify which directory to use at run-time.
688 \layout Standard
689
690 Invoking LyX with the command line switch 
691 \family typewriter 
692 -userdir 
693 \family default 
694 \emph on 
695 <some directory>
696 \emph default 
697  instructs the program to read the configuration from that directory, and
698  not from the default directory (you can determine the default directory
699  by running LyX without this switch as described above).
700  If this directory does not exist, LyX offers to create it for you, just
701  like it does for the default directory on the first time you run the program.
702  You can modify the configuration options in this additional 
703 \family typewriter 
704 Userdir
705 \family default 
706  exactly as you would for the default directory.
707  These directories are completely independent (but read on).
708  Note that setting the environment variable 
709 \family typewriter 
710 LYX_USERDIR_13x
711 \family default 
712  to some value has exactly the same effect
713 \family typewriter 
714 .
715 \layout Standard
716
717 Having several configurations also requires more maintenance: if you want
718  to add a new layout to 
719 \family typewriter 
720 Userdir/layouts
721 \family default 
722  which you want available from all your configurations, you must add it
723  to each directory separately.
724  You can avoid this with the following trick: after LyX creates the additional
725  directory, most of the subdirectories (see above) are empty.
726  If you want the new configuration to mirror an existing one, replace the
727  empty subdirectory with a symbolic link to the matching subdirectory in
728  the existing configuration.
729  Take care with the 
730 \family typewriter 
731 \series medium 
732 doc/
733 \family default 
734 \series default 
735  subirectory, however, since it contains a file written by the configuration
736  script (also accessible through 
737 \family sans 
738 \bar under 
739 T
740 \bar default 
741 ools\SpecialChar \menuseparator
742
743 \bar under 
744 R
745 \bar default 
746 econfigure 
747 \begin_inset LatexCommand \ref{sec:autodetected}
748
749 \end_inset 
750
751 )
752 \family default 
753  which is configuration-specific.
754 \layout Chapter
755
756 The 
757 \family sans 
758 \bar under 
759 P
760 \bar default 
761 references
762 \family default 
763  dialog
764 \layout Section
765
766 Using the dialog for the first time
767 \layout Standard
768
769 The 
770 \family typewriter 
771 UserDir/preferences
772 \family default 
773  file will contain only changes that you have made to the default behaviour,
774  some of which is hard-coded into LyX and some of which is contained in
775  the system file 
776 \family typewriter 
777 LyXDir/lyxrc.defaults
778 \family default 
779 .
780  Note that in both files lines beginning with a 
781 \begin_inset Quotes eld
782 \end_inset 
783
784
785 \family typewriter 
786 #
787 \family default 
788
789 \begin_inset Quotes erd
790 \end_inset 
791
792  are just comments and not interpreted.
793  However, only system administrators should edit 
794 \family typewriter 
795 LyXDir/lyxrc
796 \family default 
797 .
798  Users should use the
799 \family sans 
800  
801 \bar under 
802 T
803 \bar default 
804 ools\SpecialChar \menuseparator
805
806 \bar under 
807 P
808 \bar default 
809 references
810 \family default 
811  dialog to create and modify their own 
812 \family typewriter 
813 UserDir/preferences
814 \family default 
815  file.
816 \layout Standard
817
818 We hope that the 
819 \family sans 
820 \bar under 
821 T
822 \bar default 
823 ools\SpecialChar \menuseparator
824
825 \bar under 
826 P
827 \bar default 
828 references
829 \family default 
830  dialog will be largely self-explanatory.
831  Almost all the commands have an associated comment, so you shouldn't have
832  too much trouble modifying it to taste.
833  Before we highlight a few of the more important commands below, however,
834  a word of warning: 
835 \family sans 
836 Apply
837 \family default 
838 ing some of your changes (e.g., screen fonts) will have an instant effect.
839  Others (e.g.
840  changing the bind file) will not.
841  If nothing appears to have changed, just 
842 \family sans 
843 Save
844 \family default 
845  the changes and restart LyX.
846 \layout Section
847
848 On-screen fonts
849 \layout Standard
850
851 The font used to display your documents on the LyX screen is very important,
852  since you'll be reading all your documents with this font.
853  Therefore it is important that the font is as readable and good-looking
854  as possible.
855  The LyX team tried to provide the best possible default font for you, but
856  since practically all X11 systems are different, it's likely that the default
857  fonts will be sub-optimal on your system.
858  Fortunately, you can do something about this.
859  Before we explain how to do this, you should learn a bit more about fonts
860  so that you are better prepared for choosing your fonts, because it is
861  a trade-off that is specific to your preferences and the capabilities of
862  your system.
863 \layout Standard
864
865 Notice that this section only deals with the fonts on the 
866 \emph on 
867 screen
868 \emph default 
869  inside the LyX window.
870  The fonts that appear on the 
871 \emph on 
872 paper
873 \emph default 
874  
875 \emph on 
876 output
877 \emph default 
878  are independent from these fonts, and are determined by the document class.
879  Read the 
880 \emph on 
881 User's Guide
882 \emph default 
883  to learn how to change the font of the printed version of your document.
884 \layout Standard
885
886 Basically, screen fonts come in two different kinds: scalable outline fonts
887  and non-scalable bitmap fonts.
888  This distinction seems a bit arbitrary, since non-scalable fonts are actually
889  scalable in most modern font renderers.
890  The difference lies in the 
891 \emph on 
892 quality
893 \emph default 
894  of the scaling, and the 
895 \emph on 
896 speed
897 \emph default 
898  of display.
899  The most important decision is thus whether you should use non-scalable
900  bitmap fonts or scalable outline fonts.
901 \layout Standard
902
903 The scalable fonts are built from 
904 \emph on 
905 outlines
906 \emph default 
907  of the single glyphs (i.e.
908  characters) in the font.
909  This means that each glyph is defined using mathematical curves that are
910  well suited for scaling to any requested size.
911  This mathematical definition is interpreted by the font renderer and turned
912  into a small picture composed of pixels according to which size and glyph,
913  the programmer requests.
914  This means that scalable fonts will look pretty good in all sizes.
915  Well, almost all sizes.
916  Since scalable fonts are defined in an abstract way, it can be hard to
917  provide a good rendering at small sizes, where each pixel has to be very
918  carefully computed to provide a good image.
919  Technically it is possible to do this from the mathematical definition,
920  but in order to keep the rendering reasonably fast, tradeoffs have to be
921  made, and the result is that scalable fonts can be difficult to read at
922  small sizes.
923 \layout Standard
924
925 Bitmap fonts on the other hand, are defined by bitmap graphics from the
926  start, so they will look good at all the sizes they are meant for.
927  However, they don't scale well, because in order to scale a glyph, each
928  pixel is enlarged into several pixels.
929  It is the same effect that happens if you try to enlarge a picture in 
930 \family typewriter 
931 xv
932 \family default 
933  or any other picture manipulation program.
934  In order to relieve this effect, bitmap fonts are typically provided in
935  several fixed sizes typically from around 8 pixels high up to 34 pixels
936  or so high in steps according to what is believed to be useful.
937  The advantage of bitmap fonts is that no complicated computations are necessary
938  to display each glyph, so bitmap fonts are thus faster displayed than scalable
939  fonts.
940  The disadvantage is that sizes that don't exists as fixed versions have
941  to be scaled by doubling pixels, and thus look bad.
942 \layout Standard
943
944 The net result of all this, is that bitmap fonts are generally best for
945  the small sizes, where they are available, while scalable fonts are generally
946  best for large sizes.
947  The logical conclusion would thus be to use bitmap fonts for the small
948  sizes, and scalable fonts for the large sizes.
949  Unfortunately, this is not a good idea, since bitmap fonts and scalable
950  fonts are not designed to be used together, so the overall look of such
951  a scheme would be bad.
952  The best you can do is thus to try both schemes and decide for yourself
953  what suits you.
954 \layout Standard
955
956 By default, LyX uses non-scalable bitmap fonts (when using the XForms frontend).
957  For serif fonts, 
958 \emph on 
959 times
960 \emph default 
961  is used, for sans serif fonts, 
962 \emph on 
963 helvetica
964 \emph default 
965  is used, while 
966 \emph on 
967 courier
968 \emph default 
969  is used as the monospaced/typewriter font.
970 \layout Standard
971
972 In the following, we will describe what to do if the text does not look
973  good in LyX.
974  We'll start with the most important parameters: DPI and font zoom.
975 \layout Subsection
976
977 DPI setting and Font Zoom
978 \layout Standard
979
980 LyX automatically tries to scale the fonts to look as close as the paper
981  output size as possible, except for the so-called font zoom factor.
982 \layout Standard
983
984 In order for this to work on all systems, it relies on the screen DPI (dots
985  per inch) setting to be correct.
986  The DPI setting for your system is autodetected by LyX using the information
987  the X server can provide.
988  You can check what LyX autodetects the DPI setting to, by running LyX as
989  
990 \family typewriter 
991 lyx -dbg 2
992 \family default 
993 .
994 \layout Standard
995
996 On many systems, X is not set up correctly, so you should check that it
997  is correct by hand.
998  Run 
999 \begin_inset Quotes eld
1000 \end_inset 
1001
1002
1003 \family typewriter 
1004 xdpyinfo | more
1005 \family default 
1006
1007 \begin_inset Quotes erd
1008 \end_inset 
1009
1010  and write down what the DPI is for the resolution you use (this will be
1011  close to the value LyX detects).
1012  It is the number mentioned as 
1013 \begin_inset Quotes eld
1014 \end_inset 
1015
1016 resolution
1017 \begin_inset Quotes erd
1018 \end_inset 
1019
1020 .
1021  Also write down the number of pixels you have in the width (the first number
1022  under 
1023 \begin_inset Quotes eld
1024 \end_inset 
1025
1026 dimensions
1027 \begin_inset Quotes erd
1028 \end_inset 
1029
1030 ).
1031 \layout Standard
1032
1033 Then get the good old ruler out of the closet, and measure the width of
1034  the visible screen-image on your monitor.
1035  Convert this measurement to inches if you used a centimeter ruler by dividing
1036  by 2.54.
1037  Now you can determine the correct DPI setting for your screen by dividing
1038  the number of pixels in the width by the width of the screen-image on the
1039  monitor.
1040  If this number is more than, say, 5 DPI from the detected value, you should
1041  either fix the X setup, or at least tell LyX that the DPI is different
1042  than the detected value.
1043 \layout Standard
1044
1045 If you can't fix the X setup (which of course is best since other programs
1046  than LyX will benefit from this as well), you can tell LyX the correct
1047  DPI using the 
1048 \family sans 
1049 Preferences
1050 \family default 
1051  dialog.
1052 \layout Standard
1053
1054 If the text is too small or too big for your taste, you should fiddle with
1055  the font zoom setting.
1056  This setting is used to scale the point size of the text.
1057  If your DPI setting is correct, and the font zoom setting is set to 100,
1058  this means that LyX will try to display the text exactly the same size
1059  as it will appear on the paper-output.
1060  If you set the zoom factor to 200, the text will try to be 2 times as big
1061  as on paper.
1062  Of course, this will only happen if LyX can find a font that has the appropriat
1063 e size, which you can't count on.
1064  Since LyX is a WYSIWYM system anyways, this limitation isn't much of an
1065  issue.
1066 \layout Standard
1067
1068 The default font zoom setting is 150, since a monitor is typically wider
1069  than a piece of paper, but you should try to fiddle with it through the
1070  
1071 \family sans 
1072 Font\SpecialChar ~
1073
1074 \bar under 
1075 Z
1076 \bar default 
1077 oom
1078 \family default 
1079  setting in the 
1080 \family sans 
1081 Preferences
1082 \family default 
1083  dialog to find a size that you like.
1084  When you've found a setting that seems to work nicely for you (tip: use
1085  the 
1086 \family sans 
1087 \bar under 
1088 A
1089 \bar default 
1090 pply
1091 \family default 
1092  button to keep the dialog open while you experiment), you can make this
1093  setting the default by using the 
1094 \family sans 
1095 \bar under 
1096 S
1097 \bar default 
1098 ave
1099 \family default 
1100  button.
1101 \layout Standard
1102
1103 While it is often possible to find a suitable size for the text on the screen,
1104  this doesn't necessarily mean that the fonts are the best ones available
1105  on your system.
1106  In order to help you get the most out of your system, you can use the font
1107  definition commands to fine-tune the look of the text in greater detail
1108  than merely size.
1109 \layout Subsection
1110
1111 Font definition commands
1112 \layout Standard
1113
1114 As mentioned, LyX uses non-scalable bitmap fonts by default with the XForms
1115  frontend.
1116  For serif fonts, 
1117 \emph on 
1118 times
1119 \emph default 
1120  is used, for sans serif fonts, 
1121 \emph on 
1122 helvetica
1123 \emph default 
1124  is used, while 
1125 \emph on 
1126 courier
1127 \emph default 
1128  is used as the monospaced/typewriter font.
1129 \layout Standard
1130
1131 You can change all of these from within the 
1132 \family sans 
1133 Preferences
1134 \family default 
1135  dialog.
1136  The number of fonts that are available on different systems vary, but the
1137  program 
1138 \family typewriter 
1139 xfontsel
1140 \family default 
1141  should be available everywhere.
1142  Use that program to find candidate fonts.
1143  When you've found a font that you like, try to insert the first two elements
1144  of the name (called 
1145 \begin_inset Quotes eld
1146 \end_inset 
1147
1148 fndry
1149 \begin_inset Quotes erd
1150 \end_inset 
1151
1152  and 
1153 \begin_inset Quotes eld
1154 \end_inset 
1155
1156 fmly
1157 \begin_inset Quotes erd
1158 \end_inset 
1159
1160  in 
1161 \family typewriter 
1162 xfontsel
1163 \family default 
1164 ) in the appropriate field in the 
1165 \family sans 
1166 Preferences
1167 \family default 
1168  dialog and press 
1169 \family sans 
1170 \bar under 
1171 A
1172 \bar default 
1173 pply
1174 \family default 
1175 .
1176  LyX will then reformat your document using the new font, and if you like
1177  the font, you should 
1178 \family sans 
1179 \bar under 
1180 S
1181 \bar default 
1182 ave
1183 \family default 
1184  it.
1185  One place to start for a new font is to see if the scalable font 
1186 \begin_inset Quotes eld
1187 \end_inset 
1188
1189 utopia
1190 \begin_inset Quotes erd
1191 \end_inset 
1192
1193  is available.
1194  Tip: You can see whether a font is a bitmap font or a scalable font by
1195  checking the 
1196 \begin_inset Quotes eld
1197 \end_inset 
1198
1199 resx
1200 \begin_inset Quotes erd
1201 \end_inset 
1202
1203  or 
1204 \begin_inset Quotes eld
1205 \end_inset 
1206
1207 resy
1208 \begin_inset Quotes erd
1209 \end_inset 
1210
1211  fields in 
1212 \family typewriter 
1213 xfontsel
1214 \family default 
1215 .
1216  If the value 0 is available, the font is scalable.
1217  If the value 0 isn't available, the font is a bitmap font.
1218 \layout Standard
1219
1220 Before you go about scrapping a bitmap font because the larger sizes look
1221  
1222 \begin_inset Quotes eld
1223 \end_inset 
1224
1225 blocky
1226 \begin_inset Quotes erd
1227 \end_inset 
1228
1229 , you should toggle the 
1230 \begin_inset Quotes eld
1231 \end_inset 
1232
1233 Use scalable fonts
1234 \begin_inset Quotes erd
1235 \end_inset 
1236
1237  button.
1238  This is only useful if you use bitmap fonts, because only these don't scale
1239  well.
1240  If you define this flag, LyX will only use the fixed font sizes that are
1241  available, and this guarantees that all bitmap fonts look well.
1242  (You can see which individual font sizes are available with the 
1243 \family typewriter 
1244 xlsfonts
1245 \family default 
1246  command.
1247  Try 
1248 \family typewriter 
1249 man xlsfonts
1250 \family default 
1251 .) However, the prize is that the difference between the size of the fonts
1252  on screen and the size of fonts on paper will be larger because LyX will
1253  have to be satisfied with the closest available size, and not try to scale
1254  a size to fit.
1255  Also, you can risk that some logically different sizes, such as 
1256 \family sans 
1257 Large
1258 \family default 
1259  and 
1260 \family sans 
1261 Larger
1262 \family default 
1263 , will be mapped to the same screen font, making it hard for you to see
1264  the difference on screen.
1265  We've decided not to use scalable fonts by default because of these artifacts,
1266  but since LyX is a WYSIWYM system, many people like to use the flag anyways,
1267  well-knowing that the font size on the screen can't be trusted.
1268  But remember that this flag only makes a difference when you use bitmap
1269  fonts.
1270  Scalable fonts won't be affected for reasons you should understand by now.
1271 \layout Standard
1272
1273 One final note regarding this flag: you should know that there is nothing
1274  wrong with using bitmap and scalable fonts at the same time for different
1275  purposes.
1276  For instance, it's common to use the scalable 
1277 \begin_inset Quotes eld
1278 \end_inset 
1279
1280 Utopia
1281 \begin_inset Quotes erd
1282 \end_inset 
1283
1284  for the serif text together with a bitmap version of 
1285 \begin_inset Quotes eld
1286 \end_inset 
1287
1288 Helvetica
1289 \begin_inset Quotes erd
1290 \end_inset 
1291
1292 .
1293  And you can safely select the 
1294 \begin_inset Quotes eld
1295 \end_inset 
1296
1297 Use scalable fonts
1298 \begin_inset Quotes erd
1299 \end_inset 
1300
1301  button without worries: It will only apply to the Helvetica font.
1302 \layout Standard
1303
1304 Sometimes the artifacts introduced by use of the flag can be relieved by
1305  using the fine-detail screen font sizes which defines which point sizes
1306  the different logical font sizes correspond to.
1307  Run LyX as 
1308 \family typewriter 
1309 lyx -dbg 513
1310 \family default 
1311  to see exactly what concrete fonts the logical sizes map to, and try adjusting
1312  the corresponding entries in the 
1313 \family sans 
1314 Preferences
1315 \family default 
1316  dialog until you've managed to hit the nail and get the fonts you want.
1317  This can be hard to do, because LyX uses the DPI setting and the font zoom
1318  settings to calculate which exact screen font size to ask the X server
1319  for, thus obfuscating the mapping.
1320  If you can't make it by trial-and-error, you can make the process more
1321  transparent if you set both the DPI setting and font zoom settings to 100---eve
1322 n when this is known to be wrong.
1323  This will of course make your scalable fonts look weird, so use with care.
1324 \layout Subsection
1325
1326 Font encoding
1327 \layout Standard
1328
1329 By default, LyX will use fonts meant to write Western European text, including
1330  all kinds of English.
1331  This is defined through the so-called 
1332 \emph on 
1333 font
1334 \emph default 
1335  
1336 \emph on 
1337 encoding
1338 \emph default 
1339 .
1340  If you want to use LyX to write for instance Eastern European text, Cyrillic
1341  or any other language not covered by the ISO-8859-1 font encoding, you
1342  can define a different one with the encoding setting.
1343  This requires you to have special fonts installed.
1344  You can use 
1345 \family typewriter 
1346 xfontsel
1347 \family default 
1348  to see whether this is the case: check the 
1349 \begin_inset Quotes eld
1350 \end_inset 
1351
1352 rgstry
1353 \begin_inset Quotes erd
1354 \end_inset 
1355
1356  and 
1357 \begin_inset Quotes eld
1358 \end_inset 
1359
1360 encdng
1361 \begin_inset Quotes erd
1362 \end_inset 
1363
1364  fields for ISO-8859-X values different from ISO-8859-1, and search for
1365  one that contains the national characters of your language.
1366  If you find any, enter this encoding in the dialog.
1367  If not, go searching the Web for appropriate fonts.
1368  For the Qt frontend, it's recommended you use an iso646 font set.
1369 \layout Standard
1370
1371 When you've set LyX up to use a different font encoding, you should also
1372  consider changing the font used by dialog windows in LyX.
1373  For instance, the 
1374 \family sans 
1375 Table\SpecialChar ~
1376 of\SpecialChar ~
1377 Contents
1378 \family default 
1379  dialog will not be understandable unless you tell LyX to use a different
1380  font for this.
1381  By default the menu font is set to 
1382 \family typewriter 
1383 -*-helvetica-medium-r
1384 \family default 
1385 , but often Helvetica is not available in the font encoding you need, so
1386  the dialog allows this to be changed.
1387 \layout Standard
1388
1389 As you can see, there are quite a few options that can be used to fine tune
1390  the look of your fonts.
1391  This should not scare you from fiddling with the settings, because after
1392  all, you will hopefully be using LyX for many hours in the future.
1393  And contrary to real WYSIWYG word processors where you are tied to using
1394  fonts that have to look good both on paper and on screen, LyX gives you
1395  the possibility of using fonts that are designed to look good on the screen
1396  while using a different set of fonts to look good on paper.
1397 \layout Section
1398
1399 Bindings
1400 \begin_inset LatexCommand \label{sec:bindings}
1401
1402 \end_inset 
1403
1404
1405 \layout Standard
1406
1407 Bindings are used to, well, bind a function to a key.
1408  Several prepackaged binding files are available: a CUA set of bindings
1409  (familiar as the typical set of PC and CDE set of keyboard shortcuts),
1410  an Emacs set of bindings, for those of us who follow the One True Way and
1411  refuse to lower our standards,
1412 \begin_inset Foot
1413 collapsed true
1414
1415 \layout Standard
1416
1417 I'm kidding here, of course!
1418 \end_inset 
1419
1420  as well as specialty bindings (broadway and hollywood) and other languages
1421  (French, German, etc.).
1422 \layout Standard
1423
1424 If, however, you'd like to customise the keybindings to your own exacting
1425  tastes, then copy the best-fit file in 
1426 \family typewriter 
1427 LyXDir/bind/
1428 \family default 
1429  to your own 
1430 \family typewriter 
1431 UserDir/bind/
1432 \family default 
1433  and modify that.
1434  Don't forget to load this new file into LyX using the 
1435 \family sans 
1436 Preferences
1437 \family default 
1438  dialog.
1439  (For the moment you'll have to restart LyX for these changes to take effect.)
1440 \layout Standard
1441
1442 LyX supports internationalization of the user interface (see Chapter\SpecialChar ~
1443
1444 \begin_inset LatexCommand \ref{chap:i18n}
1445
1446 \end_inset 
1447
1448 ).
1449  If your 
1450 \emph on 
1451 locale
1452 \emph default 
1453  is set, with the environment variable 
1454 \family typewriter 
1455 $LANG
1456 \family default 
1457 , LyX will try to use bindfiles by prepending 
1458 \family typewriter 
1459 $LANG_
1460 \family default 
1461  to their name.
1462  For example, you can put a translated copy of some standard bind file in
1463  your personal 
1464 \family typewriter 
1465 bind/
1466 \family default 
1467  directory, and LyX will use it automatically.
1468 \layout Standard
1469
1470 The syntax of the 
1471 \family typewriter 
1472 .bind
1473 \family default 
1474  files is straightforward:
1475 \layout Standard
1476
1477
1478 \family typewriter 
1479
1480 \backslash 
1481 bind <key combination> <lyx-function>
1482 \layout Standard
1483
1484 Both key combination and lyx-function (including any arguments) must be
1485  enclosed in "double quotes".
1486  All the LyX functions are listed in the 
1487 \emph on 
1488 Reference Guide
1489 \emph default 
1490 .
1491 \layout Section
1492
1493 User Interface
1494 \begin_inset LatexCommand \label{sec:ui}
1495
1496 \end_inset 
1497
1498
1499 \layout Standard
1500
1501 The appearance of both the menu and toolbar may both be changed using the
1502  
1503 \family sans 
1504 Preferences
1505 \family default 
1506  dialog.
1507  Simply change the 
1508 \family typewriter 
1509 .ui
1510 \family default 
1511  file in 
1512 \family typewriter 
1513 LyXDir/ui/
1514 \family default 
1515 .
1516  For the moment, only one file exists, 
1517 \family typewriter 
1518 default.ui
1519 \family default 
1520 , but feel free to experiment.
1521  Just copy the file to the 
1522 \family typewriter 
1523 UserDir/ui/
1524 \family default 
1525  directory and play! Note that, for the moment, you'll have to restart LyX
1526  for these changes to take effect.
1527 \layout Standard
1528
1529 The syntax of the 
1530 \family typewriter 
1531 .ui
1532 \family default 
1533  files is straightforward: have a look at 
1534 \family typewriter 
1535 default.ui.
1536  The Menubar
1537 \family default 
1538
1539 \family typewriter 
1540 Menu
1541 \family default 
1542  and 
1543 \family typewriter 
1544 Toolbar
1545 \family default 
1546  entries must be ended with an explicit 
1547 \family typewriter 
1548 End
1549 \family default 
1550 .
1551  They may contain 
1552 \family typewriter 
1553 Submenu
1554 \family default 
1555 s, 
1556 \family typewriter 
1557 Item
1558 \family default 
1559 s, 
1560 \family typewriter 
1561 OptItem
1562 \family default 
1563 s, 
1564 \family typewriter 
1565 Separator
1566 \family default 
1567 s, 
1568 \family typewriter 
1569 Icon
1570 \family default 
1571 s and in the case of the 
1572 \begin_inset Quotes eld
1573 \end_inset 
1574
1575 file
1576 \begin_inset Quotes erd
1577 \end_inset 
1578
1579  menus, a 
1580 \family typewriter 
1581 Lastfiles
1582 \family default 
1583  entry.
1584  One small word of warning.
1585  
1586 \family typewriter 
1587 Submenu
1588 \family default 
1589 s may be inserted in a 
1590 \family typewriter 
1591 Menubar
1592 \family default 
1593  or 
1594 \family typewriter 
1595 Menu
1596 \family default 
1597 , but they are defined as 
1598 \family typewriter 
1599 Menu
1600 \family default 
1601 s, not as 
1602 \family typewriter 
1603 Submenu
1604 \family default 
1605 s.
1606 \layout Section
1607
1608 Converters, Formats and Viewers
1609 \layout Standard
1610
1611 LyX has a new and powerful mechanism to convert to and from any file format
1612  using external programs.
1613  Define a pair of formats, e.g.
1614
1615 \family typewriter 
1616  LaTeX
1617 \family default 
1618  and 
1619 \family typewriter 
1620 PDF
1621 \family default 
1622 .
1623  Now define a converter from one format to the other.
1624  In our example, two possible mechanisms exist.
1625 \layout Enumerate
1626
1627 A direct conversion, from LaTeX to PDF using pdflatex
1628 \layout Enumerate
1629
1630 A more convoluted route using intermediate formats and converters: LaTeX
1631  to DVI (using latex) to PostScript® (using dvips) to PDF (using ps2pdf).
1632 \layout Standard
1633
1634 LyX will always choose the shortest possible route, so you must specify
1635  two different Format names for 
1636 \family typewriter 
1637 .pdf
1638 \family default 
1639  files to be able to use either.
1640  Both are included by default in the 
1641 \family sans 
1642 Preferences
1643 \family default 
1644  dialog.
1645  Have a look and then invent your own!
1646 \layout Standard
1647
1648 Moreover, each Format can have a Viewer associated with it.
1649  For example, you might want to use 
1650 \family typewriter 
1651 ghostview
1652 \family default 
1653  to examine PostScript® files, or 
1654 \family typewriter 
1655 xdvi
1656 \family default 
1657  to preview the LaTeX output.
1658  You can alter the viewer to use (and what options to pass to it) via the
1659  
1660 \family sans 
1661 \bar under 
1662 T
1663 \bar default 
1664 ools\SpecialChar \menuseparator
1665
1666 \bar under 
1667 P
1668 \bar default 
1669 references:Converters
1670 \family default 
1671  dialog.
1672  For example, to change the 
1673 \family typewriter 
1674 dvi
1675 \family default 
1676  viewer, select the 
1677 \family typewriter 
1678 DVI
1679 \family default 
1680  format in the dialog, change the viewer to be 
1681 \family typewriter 
1682 kdvi
1683 \family default 
1684  (or whatever), and hit 
1685 \family sans 
1686 \bar under 
1687 M
1688 \bar default 
1689 odify
1690 \family default 
1691 .
1692 \layout Section
1693
1694 BibTeX and makeindex
1695 \layout Standard
1696
1697 Both the bibliography generating command (default 
1698 \family typewriter 
1699 bibtex
1700 \family default 
1701 ) and the index generating command (default 
1702 \family typewriter 
1703 makeindex
1704 \family default 
1705  with options 
1706 \family typewriter 
1707 -c
1708 \family default 
1709  and 
1710 \family typewriter 
1711 -q
1712 \family default 
1713 ) can be changed.
1714  As an alternative for 
1715 \family typewriter 
1716 makeindex
1717 \family default 
1718
1719 \family typewriter 
1720 xindy
1721 \family default 
1722  can be recommended.
1723  
1724 \layout Standard
1725
1726 The command to enter is
1727 \layout Quote
1728
1729
1730 \family typewriter 
1731 makeindex.sh -m $$lang
1732 \layout Standard
1733
1734 where the placeholder 
1735 \family typewriter 
1736 $$lang
1737 \family default 
1738  will be replaced by the chosen document (babel) language.
1739  For this, you must 
1740 \layout Standard
1741
1742 have installed the packages 
1743 \family typewriter 
1744 xindy
1745 \family default 
1746  and 
1747 \family typewriter 
1748 make-rules
1749 \family default 
1750  (
1751 \family typewriter 
1752 xindy-make-rules
1753 \family default 
1754 ).
1755  Type 
1756 \family typewriter 
1757 makeindex.sh
1758 \family default 
1759  at a shell prompt for a help page.
1760 \layout Section
1761
1762 ASCII export options
1763 \layout Standard
1764 \added_space_top bigskip \noindent 
1765 There are a couple of commands that can be used to 
1766 \begin_inset Quotes eld
1767 \end_inset 
1768
1769 clean up
1770 \begin_inset Quotes erd
1771 \end_inset 
1772
1773  exported ASCII text files.
1774  Note that LyX automatically detects and uses the best settings for your
1775  system at installation time, but you can modify them if you disagree with
1776  its interpretation.
1777 \layout Description
1778
1779
1780 \family typewriter 
1781 \series medium 
1782 ASCII\SpecialChar ~
1783 roff
1784 \family default 
1785  
1786 \series default 
1787 This option defines the command used to produce better ASCII tables with
1788  the 
1789 \family typewriter 
1790 groff/troff/nroff
1791 \family default 
1792  UNIX-commands (refer to their manpages for more information about them).
1793  Setting this as empty tells LyX to use the internal (inferior) formatter.
1794 \layout Description
1795
1796
1797 \family typewriter 
1798 \series medium 
1799 ASCII\SpecialChar ~
1800 line\SpecialChar ~
1801 length
1802 \family default 
1803  
1804 \series default 
1805 With this command you can set the default line length of the ASCII output
1806  file.
1807  Setting it to 0 means endless lines.
1808 \layout Section
1809
1810 Printer
1811 \layout Standard
1812
1813 There are a bunch of configuration options that are used for interaction
1814  with the external print command from LyX.
1815  Normally the defaults are fine: if, however, your print command takes different
1816  option names, you can modify them here.
1817 \layout Subsection
1818
1819 Changing Colors
1820 \layout Standard
1821
1822 You can change the colors used by LyX on-screen using the new 
1823 \family sans 
1824 Preferences
1825 \family default 
1826  dialog.
1827  Alternatively, if you're feeling particularly perverse you could use the
1828  
1829 \family typewriter 
1830 set-color
1831 \family default 
1832  bindable function (see the 
1833 \emph on 
1834 Reference Guide
1835 \emph default 
1836 ).
1837  Input would have the format:
1838 \layout Standard
1839
1840
1841 \family typewriter 
1842 set-color LyXName X11Color
1843 \layout Standard
1844
1845 Here is a (partial) list of the functions and default colors:
1846 \layout Standard
1847 \align center 
1848
1849 \begin_inset  Tabular
1850 <lyxtabular version="3" rows="10" columns="3">
1851 <features>
1852 <column alignment="left" valignment="top" leftline="true" width="0pt">
1853 <column alignment="left" valignment="top" leftline="true" width="0pt">
1854 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1855 <row topline="true" bottomline="true">
1856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1857 \begin_inset Text
1858
1859 \layout Standard
1860
1861
1862 \family roman 
1863 \series medium 
1864 \shape up 
1865 \size normal 
1866 \emph off 
1867 \bar no 
1868 \noun off 
1869 \color none
1870 LyX Name
1871 \end_inset 
1872 </cell>
1873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1874 \begin_inset Text
1875
1876 \layout Standard
1877
1878
1879 \family roman 
1880 \series medium 
1881 \shape up 
1882 \size normal 
1883 \emph off 
1884 \bar no 
1885 \noun off 
1886 \color none
1887 Purpose
1888 \end_inset 
1889 </cell>
1890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1891 \begin_inset Text
1892
1893 \layout Standard
1894
1895
1896 \family roman 
1897 \series medium 
1898 \shape up 
1899 \size normal 
1900 \emph off 
1901 \bar no 
1902 \noun off 
1903 \color none
1904 Default Color (X11)
1905 \end_inset 
1906 </cell>
1907 </row>
1908 <row topline="true">
1909 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
1910 \begin_inset Text
1911
1912 \layout Standard
1913
1914
1915 \family roman 
1916 \series medium 
1917 \shape up 
1918 \size normal 
1919 \emph off 
1920 \bar no 
1921 \noun off 
1922 \color none
1923 background
1924 \end_inset 
1925 </cell>
1926 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
1927 \begin_inset Text
1928
1929 \layout Standard
1930
1931
1932 \family roman 
1933 \series medium 
1934 \shape up 
1935 \size normal 
1936 \emph off 
1937 \bar no 
1938 \noun off 
1939 \color none
1940 text background
1941 \end_inset 
1942 </cell>
1943 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1944 \begin_inset Text
1945
1946 \layout Standard
1947
1948
1949 \family roman 
1950 \series medium 
1951 \shape up 
1952 \size normal 
1953 \emph off 
1954 \bar no 
1955 \noun off 
1956 \color none
1957 black
1958 \end_inset 
1959 </cell>
1960 </row>
1961 <row topline="true">
1962 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
1963 \begin_inset Text
1964
1965 \layout Standard
1966
1967
1968 \family roman 
1969 \series medium 
1970 \shape up 
1971 \size normal 
1972 \emph off 
1973 \bar no 
1974 \noun off 
1975 \color none
1976 foreground
1977 \end_inset 
1978 </cell>
1979 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
1980 \begin_inset Text
1981
1982 \layout Standard
1983
1984
1985 \family roman 
1986 \series medium 
1987 \shape up 
1988 \size normal 
1989 \emph off 
1990 \bar no 
1991 \noun off 
1992 \color none
1993 text foreground
1994 \end_inset 
1995 </cell>
1996 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1997 \begin_inset Text
1998
1999 \layout Standard
2000
2001
2002 \family roman 
2003 \series medium 
2004 \shape up 
2005 \size normal 
2006 \emph off 
2007 \bar no 
2008 \noun off 
2009 \color none
2010 linen
2011 \end_inset 
2012 </cell>
2013 </row>
2014 <row topline="true">
2015 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2016 \begin_inset Text
2017
2018 \layout Standard
2019
2020
2021 \family roman 
2022 \series medium 
2023 \shape up 
2024 \size normal 
2025 \emph off 
2026 \bar no 
2027 \noun off 
2028 \color none
2029 latex
2030 \end_inset 
2031 </cell>
2032 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2033 \begin_inset Text
2034
2035 \layout Standard
2036
2037
2038 \family roman 
2039 \series medium 
2040 \shape up 
2041 \size normal 
2042 \emph off 
2043 \bar no 
2044 \noun off 
2045 \color none
2046 LaTeX code
2047 \end_inset 
2048 </cell>
2049 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2050 \begin_inset Text
2051
2052 \layout Standard
2053
2054
2055 \family roman 
2056 \series medium 
2057 \shape up 
2058 \size normal 
2059 \emph off 
2060 \bar no 
2061 \noun off 
2062 \color none
2063 DarkRed
2064 \end_inset 
2065 </cell>
2066 </row>
2067 <row topline="true">
2068 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2069 \begin_inset Text
2070
2071 \layout Standard
2072
2073
2074 \family roman 
2075 \series medium 
2076 \shape up 
2077 \size normal 
2078 \emph off 
2079 \bar no 
2080 \noun off 
2081 \color none
2082 math
2083 \end_inset 
2084 </cell>
2085 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2086 \begin_inset Text
2087
2088 \layout Standard
2089
2090
2091 \family roman 
2092 \series medium 
2093 \shape up 
2094 \size normal 
2095 \emph off 
2096 \bar no 
2097 \noun off 
2098 \color none
2099 Mathed formulae
2100 \end_inset 
2101 </cell>
2102 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2103 \begin_inset Text
2104
2105 \layout Standard
2106
2107
2108 \family roman 
2109 \series medium 
2110 \shape up 
2111 \size normal 
2112 \emph off 
2113 \bar no 
2114 \noun off 
2115 \color none
2116 DarkBlue
2117 \end_inset 
2118 </cell>
2119 </row>
2120 <row topline="true">
2121 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2122 \begin_inset Text
2123
2124 \layout Standard
2125
2126
2127 \family roman 
2128 \series medium 
2129 \shape up 
2130 \size normal 
2131 \emph off 
2132 \bar no 
2133 \noun off 
2134 \color none
2135 mathline
2136 \end_inset 
2137 </cell>
2138 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2139 \begin_inset Text
2140
2141 \layout Standard
2142
2143
2144 \family roman 
2145 \series medium 
2146 \shape up 
2147 \size normal 
2148 \emph off 
2149 \bar no 
2150 \noun off 
2151 \color none
2152 fraction Lines, brackets, etc.
2153 \end_inset 
2154 </cell>
2155 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2156 \begin_inset Text
2157
2158 \layout Standard
2159
2160
2161 \family roman 
2162 \series medium 
2163 \shape up 
2164 \size normal 
2165 \emph off 
2166 \bar no 
2167 \noun off 
2168 \color none
2169 Blue
2170 \end_inset 
2171 </cell>
2172 </row>
2173 <row topline="true">
2174 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2175 \begin_inset Text
2176
2177 \layout Standard
2178
2179
2180 \family roman 
2181 \series medium 
2182 \shape up 
2183 \size normal 
2184 \emph off 
2185 \bar no 
2186 \noun off 
2187 \color none
2188 mathbg
2189 \end_inset 
2190 </cell>
2191 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2192 \begin_inset Text
2193
2194 \layout Standard
2195
2196 \end_inset 
2197 </cell>
2198 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2199 \begin_inset Text
2200
2201 \layout Standard
2202
2203
2204 \family roman 
2205 \series medium 
2206 \shape up 
2207 \size normal 
2208 \emph off 
2209 \bar no 
2210 \noun off 
2211 \color none
2212 AntiqueWhite
2213 \end_inset 
2214 </cell>
2215 </row>
2216 <row topline="true">
2217 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2218 \begin_inset Text
2219
2220 \layout Standard
2221
2222
2223 \family roman 
2224 \series medium 
2225 \shape up 
2226 \size normal 
2227 \emph off 
2228 \bar no 
2229 \noun off 
2230 \color none
2231 mathframe
2232 \end_inset 
2233 </cell>
2234 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2235 \begin_inset Text
2236
2237 \layout Standard
2238
2239 \end_inset 
2240 </cell>
2241 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2242 \begin_inset Text
2243
2244 \layout Standard
2245
2246
2247 \family roman 
2248 \series medium 
2249 \shape up 
2250 \size normal 
2251 \emph off 
2252 \bar no 
2253 \noun off 
2254 \color none
2255 Magenta
2256 \end_inset 
2257 </cell>
2258 </row>
2259 <row topline="true">
2260 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2261 \begin_inset Text
2262
2263 \layout Standard
2264
2265
2266 \family roman 
2267 \series medium 
2268 \shape up 
2269 \size normal 
2270 \emph off 
2271 \bar no 
2272 \noun off 
2273 \color none
2274 mathcursor
2275 \end_inset 
2276 </cell>
2277 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2278 \begin_inset Text
2279
2280 \layout Standard
2281
2282 \end_inset 
2283 </cell>
2284 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2285 \begin_inset Text
2286
2287 \layout Standard
2288
2289
2290 \family roman 
2291 \series medium 
2292 \shape up 
2293 \size normal 
2294 \emph off 
2295 \bar no 
2296 \noun off 
2297 \color none
2298 black
2299 \end_inset 
2300 </cell>
2301 </row>
2302 <row topline="true" bottomline="true">
2303 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2304 \begin_inset Text
2305
2306 \layout Standard
2307
2308
2309 \family roman 
2310 \series medium 
2311 \shape up 
2312 \size normal 
2313 \emph off 
2314 \bar no 
2315 \noun off 
2316 \color none
2317 selection
2318 \end_inset 
2319 </cell>
2320 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2321 \begin_inset Text
2322
2323 \layout Standard
2324
2325
2326 \family roman 
2327 \series medium 
2328 \shape up 
2329 \size normal 
2330 \emph off 
2331 \bar no 
2332 \noun off 
2333 \color none
2334 selection background
2335 \end_inset 
2336 </cell>
2337 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2338 \begin_inset Text
2339
2340 \layout Standard
2341
2342
2343 \family roman 
2344 \series medium 
2345 \shape up 
2346 \size normal 
2347 \emph off 
2348 \bar no 
2349 \noun off 
2350 \color none
2351 LightBlue
2352 \end_inset 
2353 </cell>
2354 </row>
2355 </lyxtabular>
2356
2357 \end_inset 
2358
2359
2360 \layout Section
2361
2362 The autodetected settings
2363 \layout Standard
2364
2365
2366 \begin_inset LatexCommand \label{sec:autodetected}
2367
2368 \end_inset 
2369
2370 There are several items that are detected for you when you run
2371 \family sans 
2372 \bar under 
2373  T
2374 \bar default 
2375 ools
2376 \bar under 
2377 \SpecialChar \menuseparator
2378 R
2379 \bar default 
2380 econfigure
2381 \family default 
2382 .
2383  In this section, we list those which pertain to the user preferences.
2384 \layout Description
2385
2386
2387 \family typewriter 
2388 \series medium 
2389
2390 \backslash 
2391 ascii_roff_command
2392 \family default 
2393 \series default 
2394  uses either 
2395 \family typewriter 
2396 groff
2397 \family default 
2398  or 
2399 \family typewriter 
2400 nroff
2401 \family default 
2402 +
2403 \family typewriter 
2404 tbl
2405 \family default 
2406 , depending on what is available.
2407 \layout Description
2408
2409
2410 \family typewriter 
2411 \series medium 
2412
2413 \backslash 
2414 chktex_command
2415 \family default 
2416 \series default 
2417  is set to 
2418 \family typewriter 
2419 chktex
2420 \family default 
2421  plus a bunch of options.
2422 \layout Description
2423
2424
2425 \family typewriter 
2426 \series medium 
2427
2428 \backslash 
2429 print_spool_command
2430 \family default 
2431 \series default 
2432  is set to 
2433 \family typewriter 
2434 lp
2435 \family default 
2436  on systems (so-called System V) who have this command, and 
2437 \family typewriter 
2438 lpr
2439 \family default 
2440  otherwise (BSD systems).
2441 \layout Description
2442
2443
2444 \family typewriter 
2445 \series medium 
2446
2447 \backslash 
2448 print_spool_printerprefix
2449 \family default 
2450 \series default 
2451  is set to 
2452 \family typewriter 
2453 -d
2454 \family default 
2455  or 
2456 \family typewriter 
2457 -P
2458 \family default 
2459 , depending on whether 
2460 \family typewriter 
2461 lp
2462 \family default 
2463  or 
2464 \family typewriter 
2465 lpr
2466 \family default 
2467  was found.
2468 \layout Description
2469
2470
2471 \family typewriter 
2472 \series medium 
2473
2474 \backslash 
2475 font_encoding
2476 \family default 
2477 \series default 
2478  is set to 
2479 \family typewriter 
2480 T1
2481 \family default 
2482  if the 
2483 \family typewriter 
2484 ec
2485 \family default 
2486  fonts are found and LaTeX has support for these fonts built-in.
2487  You can set it manually if you only have the so-called 
2488 \family typewriter 
2489 dc
2490 \family default 
2491  fonts.
2492 \layout Section
2493
2494 The rest
2495 \layout Standard
2496
2497 There are many other configuration options that can be used to customize
2498  LyX behavior.
2499  We still need to document them here, but again, most should be fairly obvious.
2500  Please ask on the mailing lists if you need some more information; it may
2501  even prompt us to expand this section.
2502 \layout Chapter
2503
2504 Internationalizing LyX
2505 \begin_inset LatexCommand \label{chap:i18n}
2506
2507 \end_inset 
2508
2509
2510 \layout Standard
2511
2512 LyX supports using a translated interface.
2513  Last time we checked, LyX provided text in 14 languages together with the
2514  default English text.
2515  The language of choice is called your 
2516 \emph on 
2517 locale
2518 \emph default 
2519 .
2520  (For further reading on locale settings, see also the documentation for
2521  locale that comes with your operating system.
2522  For Linux, the manual page for locale(5) could be a good place to start).
2523 \layout Standard
2524
2525 Notice that these translations will work, but do contain a few flaws.
2526  In particular, all dialogs have been designed with the English text in
2527  mind, which means that some of the translated text will be too large to
2528  fit within the space allocated.
2529  This is only a display problem and will not cause any harm.
2530  Also, you will find that some of the translations do not define short-cut
2531  keys for everything.
2532  Sometimes, there are simply not enough free letters to do it.
2533  Other times, the translator just hasn't got around to doing it yet.
2534  We'll try to fix these shortcomings in future versions of LyX.
2535 \layout Section
2536
2537 Selecting an alternative language for the user interface
2538 \layout Standard
2539
2540 This feature is disabled by default, meaning that the text will be English.
2541  To enable an alternative language, you have to set an appropriate environment
2542  variable.
2543  Use 
2544 \family typewriter 
2545 "setenv LANG xx"
2546 \family default 
2547  
2548 \family roman 
2549 for csh class shells
2550 \family default 
2551  or 
2552 \family typewriter 
2553 "export LANG=xx"
2554 \family default 
2555  
2556 \family roman 
2557 for sh class shells
2558 \family default 
2559 .
2560  Substitute the 
2561 \family typewriter 
2562 xx
2563 \family default 
2564  with the two letter code for the language you want.
2565  For instance, 
2566 \family typewriter 
2567 no
2568 \family default 
2569  is Norwegian.
2570 \layout Standard
2571
2572 Normally, you'll want to put the appropriate line in 
2573 \family typewriter 
2574 ~/.Xsession
2575 \family default 
2576  or 
2577 \family typewriter 
2578 ~/.xinitrc
2579 \family default 
2580  so that the translation is on by default.
2581  Remember that if LyX is configured and compiled with 
2582 \begin_inset Quotes eld
2583 \end_inset 
2584
2585
2586 \family typewriter 
2587 --disable-nls
2588 \family default 
2589
2590 \begin_inset Quotes erd
2591 \end_inset 
2592
2593 , this will not work.
2594 \layout Section
2595
2596 Translating LyX
2597 \layout Subsection
2598
2599 Translating the graphical user interface (text messages).
2600 \layout Standard
2601
2602 LyX uses the GNU 
2603 \family typewriter 
2604 gettext
2605 \family default 
2606  library to handle the internationalization of the interface.
2607  To have LyX speak your favorite language in all menus and dialogs, you
2608  need a 
2609 \family typewriter 
2610 po
2611 \family default 
2612 -file for that language.
2613  When this is available, you'll have to generate a mo-file from it and install
2614  the 
2615 \family typewriter 
2616 mo
2617 \family default 
2618 -file.
2619  The process of doing all of this is explained in the documentation for
2620  GNU 
2621 \family typewriter 
2622 gettext
2623 \family default 
2624 , but in short, this is what you do (
2625 \series bold 
2626 xx 
2627 \series default 
2628 denotes the language code):
2629 \layout Standard
2630
2631
2632 \begin_inset ERT
2633 status Inlined
2634
2635 \layout Standard
2636
2637 \backslash 
2638 begin{sloppypar}
2639 \end_inset 
2640
2641
2642 \layout Itemize
2643
2644 Copy 
2645 \family typewriter 
2646 LYX-SOURCE-DIR/po/lyx.pot
2647 \family default 
2648  to 
2649 \series bold 
2650 xx
2651 \family typewriter 
2652 \series default 
2653 .po
2654 \family default 
2655  (if 
2656 \family typewriter 
2657 lyx.pot
2658 \family default 
2659  doesn't exist, it can be remade with
2660 \family typewriter 
2661  make lyx.pot
2662 \family default 
2663  in that directory, or you can use an existing po-file for some other language
2664  as a template).
2665 \layout Itemize
2666
2667 Edit 
2668 \family typewriter 
2669 xx.po
2670 \begin_inset Foot
2671 collapsed true
2672
2673 \layout Standard
2674
2675 We recommend that you use Emacs to do this, since the 
2676 \family typewriter 
2677 gettext 
2678 \family default 
2679 distribution includes a nice mode that supports you in doing this.
2680 \end_inset 
2681
2682
2683 \family default 
2684 .
2685  For some menu- and widget-labels, there are also shortcut keys that should
2686  be translated.
2687  Those keys are marked after a `|', and should be translated according to
2688  the words and phrases of the 
2689 \series bold 
2690 xx
2691 \series default 
2692 -language.
2693  There is a tool named 
2694 \family typewriter 
2695 scgen.pl
2696 \family default 
2697  written in Prolog in 
2698 \family typewriter 
2699 LYX-SOURCE-DIR/development/tools/
2700 \family default 
2701  that may be useful to help determine short-cut keys.
2702  Note that XForms (version 0.86 at least) can't handle anything but 7-bit
2703  characters as shortcut keys.
2704  You should also fill also out the information at the beginning of the new
2705  
2706 \family typewriter 
2707 po
2708 \family default 
2709 -file with your email-address, etc., so people know where to reach you with
2710  suggestions and entertaining flames.
2711 \layout Itemize
2712
2713 Generate 
2714 \series bold 
2715 xx
2716 \family typewriter 
2717 \series default 
2718 .mo
2719 \family default 
2720 .
2721  This can be done with
2722 \newline 
2723
2724 \family typewriter 
2725 msgfmt -o 
2726 \family default 
2727 \series bold 
2728 xx
2729 \family typewriter 
2730 \series default 
2731 .mo < 
2732 \family default 
2733 \series bold 
2734 xx
2735 \family typewriter 
2736 \series default 
2737 .po
2738 \layout Itemize
2739
2740 Copy the 
2741 \family typewriter 
2742 mo
2743 \family default 
2744 -file to your locale-tree, at the correct directory for application messages
2745  for the language 
2746 \series bold 
2747 xx
2748 \series default 
2749 , and under the name 
2750 \family typewriter 
2751 lyx.mo
2752 \family default 
2753
2754 \newline 
2755 (e.g.
2756  
2757 \family typewriter 
2758 /usr/local/share/locale/
2759 \family default 
2760 \series bold 
2761 xx
2762 \family typewriter 
2763 \series default 
2764 /LC_MESSAGES/lyx.mo
2765 \family default 
2766 )
2767 \layout Standard
2768
2769
2770 \begin_inset ERT
2771 status Inlined
2772
2773 \layout Standard
2774
2775 \backslash 
2776 end{sloppypar}
2777 \end_inset 
2778
2779
2780 \layout Standard
2781
2782 Adding a new po-file to the 
2783 \emph on 
2784 distribution 
2785 \emph default 
2786 of LyX involves altering the configure scripts and more, but the way 
2787 \family typewriter 
2788 gettext
2789 \family default 
2790  works, you don't actually need the source-code of LyX to translate it---having
2791  
2792 \family typewriter 
2793 lyx.pot
2794 \family default 
2795  (or an existing 
2796 \family typewriter 
2797 po
2798 \family default 
2799 -file) and the 
2800 \family typewriter 
2801 gettext
2802 \family default 
2803  tools suffices.
2804 \layout Standard
2805
2806 If you've written a translation file for a language that LyX does not currently
2807  support, feel free to submit it for inclusion by sending a patch.
2808  In this case, we recommend that you read the 
2809 \family typewriter 
2810 README
2811 \family default 
2812  provided in the 
2813 \family typewriter 
2814 LYX-SOURCE-DIR/po/
2815 \family default 
2816  directory for more instructions.
2817 \layout Subsubsection
2818
2819 Ambigous messages
2820 \layout Standard
2821
2822 Sometimes it turns out that one english message needs to be translated into
2823  different messages in the target language.
2824  One example is the message 
2825 \family typewriter 
2826 To
2827 \family default 
2828  which has the german translation 
2829 \family typewriter 
2830 \lang german
2831 Nach
2832 \family default 
2833 \lang english
2834  or 
2835 \family typewriter 
2836 \lang german
2837 Bis
2838 \family default 
2839 \lang english
2840 .
2841  
2842 \family typewriter 
2843 gettext
2844 \family default 
2845  does not handle such ambigous translations.
2846  Therefore you have to add some context information to the message: Instead
2847  of 
2848 \family typewriter 
2849 To
2850 \family default 
2851  it becomes 
2852 \family typewriter 
2853 To[[as in 'From format x to format y']]
2854 \family default 
2855  and 
2856 \family typewriter 
2857 To[[as in 'From page x to page y']].
2858
2859 \family default 
2860  Now the two occurences of 
2861 \family typewriter 
2862 To
2863 \family default 
2864  are different for 
2865 \family typewriter 
2866 gettext
2867 \family default 
2868  and can be translated correctly to 
2869 \family typewriter 
2870 \lang german
2871 Nach
2872 \family default 
2873 \lang english
2874  and 
2875 \family typewriter 
2876 \lang german
2877 Bis
2878 \family default 
2879 \lang english
2880 , respectively.
2881 \layout Standard
2882
2883 Of course the context information needs to be stripped off the original
2884  message when no translation is used.
2885  Therefore you have to put it in double square brackets at the end of the
2886  message (see the example above).
2887  The translation mechanism of LyX ensures that everything in double square
2888  brackets at the end of messages is removed before displaying the message.
2889 \layout Subsection
2890
2891 Translating the documentation.
2892 \layout Standard
2893
2894 The online documentation (in the 
2895 \family sans 
2896 \bar under 
2897 H
2898 \bar default 
2899 elp
2900 \family default 
2901 -menu) can (and should!) be translated.
2902  If there are translated versions of the documentation available
2903 \begin_inset Foot
2904 collapsed true
2905
2906 \layout Standard
2907
2908 As of February 2003, almost all of the docs have been translated into German
2909  and French.
2910  The 
2911 \emph on 
2912 Tutorial
2913 \emph default 
2914  has been translated into at least 12 other languages, with other translations
2915  in progress.
2916  The library of translated documents is growing rapidly.
2917 \end_inset 
2918
2919 , and the locale is set accordingly, these will be used automagically by
2920  LyX.
2921  LyX looks for translated versions as 
2922 \family typewriter 
2923 LyXDir/doc/
2924 \series bold 
2925 xx
2926 \series default 
2927 _DocName.lyx
2928 \family default 
2929 , where 
2930 \family typewriter 
2931 \series bold 
2932 xx
2933 \family default 
2934 \series default 
2935  denotes the language as set by the environmental variable 
2936 \family typewriter 
2937 $LANG
2938 \family default 
2939 .
2940  If there are none, the default English versions will be displayed.
2941  Note that the translated versions must have the same filenames (
2942 \family typewriter 
2943 DocName
2944 \family default 
2945  above) as the original.
2946  If you feel up to translating the documentation (an excellent way to proof-read
2947  the original documentation BTW!), there are a few things you should do
2948  right away:
2949 \layout Itemize
2950
2951 Read 
2952 \family typewriter 
2953 DocStyle.lyx
2954 \family default 
2955 , the guide to writing LyX documentation.
2956  Pay special attention to the translator's section.
2957 \layout Itemize
2958
2959 Check out the documentation translation web page at 
2960 \begin_inset LatexCommand \url[The LyX Developer's Web Site]{http://www.devel.lyx.org}
2961
2962 \end_inset 
2963
2964 .
2965  That way, you can find out which (if any) documents have already been translate
2966 d into your language.
2967  You can also find out who (if anyone) is organizing the effort to translate
2968  the documentation into your language.
2969  If no one is organizing the effort, please let us know that you're interested.
2970 \layout Standard
2971
2972 Once you get to actually translating, here's a few hints for you that may
2973  save you trouble:
2974 \layout Itemize
2975
2976 Join the documentation team! There is information on how to do that in 
2977 \family typewriter 
2978 Intro.lyx
2979 \family default 
2980  (
2981 \family sans 
2982 \bar under 
2983 H
2984 \bar default 
2985 elp\SpecialChar \menuseparator
2986
2987 \bar under 
2988 I
2989 \bar default 
2990 ntroduction
2991 \family default 
2992 ), which by the way is the first document you should translate.
2993 \layout Itemize
2994
2995 Learn the typographic conventions for the language you are translating to.
2996  Typography is an ancient art and over the centuries, a great variety of
2997  conventions have developed throughout different parts of the world.
2998  Also study the professional terminology amongst typographers in your country.
2999  Inventing your own terminology will only confuse the users.
3000  
3001 \emph on 
3002 (Warning! Typography is addictive!)
3003 \layout Itemize
3004
3005 Make a copy of the document.
3006  This will be your working copy.
3007  You can use this as your personal translated help-file by placing it in
3008  your 
3009 \family typewriter 
3010 ~/.lyx/doc/
3011 \family default 
3012 -directory.
3013 \layout Itemize
3014
3015 Sometimes the original document (from the LyX-team) will be updated.
3016  Use the ViewCVS tool available at 
3017 \begin_inset LatexCommand \htmlurl{http://www.lyx.org/viewcvs.cgi/lyxdoc/}
3018
3019 \end_inset 
3020
3021  to see what has been changed
3022 \begin_inset Foot
3023 collapsed true
3024
3025 \layout Standard
3026
3027 Alternatively, you can keep a copy of the latest version of the English
3028  document which you've translated.
3029 \end_inset 
3030
3031 .
3032  That way you can easily see which parts of the translated document need
3033  to be updated.
3034 \layout Itemize
3035
3036 If you ever find an error in the original document, fix it and notify the
3037  rest of the documentation team of the changes! (You didn't forget to join
3038  the documentation team did you?)
3039 \layout Section
3040
3041 International Keyboard Support
3042 \layout Standard
3043
3044
3045 \emph on 
3046 [Editor's Note: The following section is by 
3047 \shape smallcaps 
3048 Ivan Schreter
3049 \shape default 
3050 .
3051  It needs to be fixed to conform to the new Documentation Style sheet and
3052  to make use of the new v1.0 features.
3053  The whole thing also needs to be merged with the section following it.-jw]
3054 \layout Subsection
3055
3056 Defining Own Keymaps: Keymap File Format
3057 \layout Standard
3058
3059 Let's look at a keyboard definition file a little closer.
3060  It is a plain ASCII file defining
3061 \layout Itemize
3062
3063 key-to-key or key-to-string translations
3064 \layout Itemize
3065
3066 dead keys
3067 \layout Itemize
3068
3069 dead keys exceptions
3070 \layout Standard
3071
3072 To define key-to-key or key-to-string translation, use this command:
3073 \layout Quotation
3074
3075
3076 \family typewriter 
3077
3078 \backslash 
3079 kmap
3080 \family default 
3081  
3082 \family typewriter 
3083 key
3084 \emph on 
3085  
3086 \emph default 
3087 outstring
3088 \layout Standard
3089
3090 where 
3091 \family typewriter 
3092 key
3093 \family default 
3094  is the key to be translated and 
3095 \family typewriter 
3096 outstring
3097 \family default 
3098  is the string to be inserted into the document.
3099  To define dead keys, use:
3100 \layout Quotation
3101
3102
3103 \family typewriter 
3104
3105 \backslash 
3106 kmod
3107 \family default 
3108  
3109 \family typewriter 
3110 key
3111 \family default 
3112  
3113 \family typewriter 
3114 deadkey
3115 \layout Standard
3116
3117 where 
3118 \family typewriter 
3119 key
3120 \family default 
3121  is keyboard key and 
3122 \family typewriter 
3123 deadkey
3124 \family default 
3125  is dead key name.
3126  The following dead keys are supported (shortcut name is in parentheses):
3127 \layout Quotation
3128
3129
3130 \emph on 
3131 Name
3132 \hfill 
3133 Example
3134 \layout Quotation
3135
3136 acute (acu)
3137 \hfill 
3138 áéíóú
3139 \layout Quotation
3140
3141 grave (gra)
3142 \hfill 
3143 àèìòù
3144 \layout Quotation
3145
3146 macron (mac)
3147 \hfill 
3148  \i \={o}
3149
3150 \layout Quotation
3151
3152 tilde (til)
3153 \hfill 
3154 ñÑ
3155 \layout Quotation
3156
3157 underbar (underb)
3158 \hfill 
3159
3160 \begin_inset ERT
3161 status Inlined
3162
3163 \layout Standard
3164
3165 \backslash 
3166 b o
3167 \end_inset 
3168
3169
3170 \layout Quotation
3171
3172 cedilla (ced)
3173 \hfill 
3174 çÇ
3175 \layout Quotation
3176
3177 underdot (underd)
3178 \hfill 
3179
3180 \begin_inset ERT
3181 status Inlined
3182
3183 \layout Standard
3184
3185 \backslash 
3186 d o
3187 \end_inset 
3188
3189
3190 \layout Quotation
3191
3192 circumflex (circu)
3193 \hfill 
3194 âêîôû
3195 \layout Quotation
3196
3197 circle (circl)
3198 \hfill 
3199 Ã…\i \r{u}
3200 \i \r{U}
3201
3202 \layout Quotation
3203
3204 tie (tie)
3205 \hfill 
3206
3207 \begin_inset ERT
3208 status Inlined
3209
3210 \layout Standard
3211
3212 \backslash 
3213 t o
3214 \end_inset 
3215
3216
3217 \layout Quotation
3218
3219 breve (bre)
3220 \hfill 
3221 \i \u{a}
3222
3223 \begin_inset ERT
3224 status Inlined
3225
3226 \layout Standard
3227
3228 \backslash 
3229 u o
3230 \end_inset 
3231
3232
3233 \layout Quotation
3234
3235 caron (car)
3236 \hfill 
3237 \i \v{c}
3238 \i \v{s}
3239 \i \v{z}
3240
3241 \layout Quotation
3242
3243 hungarian umlaut (hug)
3244 \hfill 
3245 \i \H{o}
3246 \i \H{u}
3247
3248 \layout Quotation
3249
3250 umlaut (uml)
3251 \hfill 
3252 äöü
3253 \layout Quotation
3254
3255 dot (dot)
3256 \hfill 
3257 \i \.{z}
3258
3259 \begin_inset ERT
3260 status Inlined
3261
3262 \layout Standard
3263
3264 \backslash 
3265 .s
3266 \end_inset 
3267
3268
3269 \layout Standard
3270
3271 Since in many international keyboards there are exceptions to what some
3272  dead keys should do, you can define them using
3273 \layout Quotation
3274
3275
3276 \family typewriter 
3277
3278 \backslash 
3279 kxmod
3280 \family default 
3281  
3282 \family typewriter 
3283 deadkey key outstring
3284 \layout Standard
3285
3286 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3287 , so you put in
3288 \layout Quotation
3289
3290
3291 \family typewriter 
3292
3293 \backslash 
3294 kxmod
3295 \family default 
3296  
3297 \family typewriter 
3298 caron o "
3299 \backslash 
3300 ^o"
3301 \layout Standard
3302
3303 to make it work correctly.
3304  Also, you have to define as exceptions dead keys over i and j, to remove
3305  the dot from them before inserting an accent mark.
3306  I will change this when the time comes, but so far I haven't had time.
3307 \layout Standard
3308
3309 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3310  double backslash.
3311  Also, quotes and 
3312 \family typewriter 
3313 #
3314 \family default 
3315  have different meaning.
3316  
3317 \family typewriter 
3318 #
3319 \family default 
3320  marks comments, quotes start and end LaTeX-style commands.
3321  To enter quote, you'll need to use 
3322 \family typewriter 
3323
3324 \backslash 
3325 "
3326 \family default 
3327 , to enter 
3328 \family typewriter 
3329 #
3330 \family default 
3331 , use 
3332 \family typewriter 
3333
3334 \backslash 
3335 #
3336 \family default 
3337 .
3338 \layout Standard
3339
3340 If you make a keyboard description file that works for your language, please
3341  mail it to me, so I can include it in the next keymap distribution.
3342 \layout Standard
3343
3344 More keywords will be supported in keymap configuration file in future,
3345  like
3346 \layout Itemize
3347
3348
3349 \family typewriter 
3350
3351 \backslash 
3352 kinclude filename
3353 \family default 
3354 \emph on 
3355
3356 \hfill 
3357
3358 \family typewriter 
3359 \emph default 
3360 include
3361 \family default 
3362  another file
3363 \layout Itemize
3364
3365
3366 \family typewriter 
3367
3368 \backslash 
3369 kprog program
3370 \family default 
3371 \emph on 
3372
3373 \hfill 
3374
3375 \family typewriter 
3376 \emph default 
3377 define
3378 \family default 
3379  an external keymap translation program 
3380 \layout Standard
3381
3382 Also, it should look into 
3383 \family typewriter 
3384 lyxrc
3385 \family default 
3386  file for defaults, too (for example, a 
3387 \family typewriter 
3388
3389 \backslash 
3390 kinclude
3391 \family default 
3392  option to include default keyboard).
3393 \layout Section
3394
3395 International Keymap Stuff
3396 \begin_inset LatexCommand \label{sec:keymap}
3397
3398 \end_inset 
3399
3400
3401 \layout Standard
3402
3403 The next two sections describe the 
3404 \family typewriter 
3405 \shape up 
3406 .kmap
3407 \family default 
3408 \shape default 
3409  and 
3410 \family typewriter 
3411 \shape up 
3412 .cdef
3413 \family default 
3414 \shape default 
3415  file syntax in detail.
3416  These sections should help you design your own key map if the ones provided
3417  do not meet your needs.
3418 \layout Subsection
3419
3420 The .kmap File
3421 \layout Standard
3422
3423
3424 \family sans 
3425 \shape up 
3426 .
3427 \family typewriter 
3428 kmap
3429 \family default 
3430 \shape default 
3431  file maps keystrokes to characters or strings.
3432  As the name suggests it sets a keyboard mapping.
3433  The 
3434 \family typewriter 
3435 .kmap
3436 \family default 
3437  file keywords 
3438 \family typewriter 
3439 \shape up 
3440 kmap
3441 \shape default 
3442 ,
3443 \shape up 
3444 kmod
3445 \shape default 
3446 ,
3447 \shape up 
3448 ksmod
3449 \family default 
3450 \shape default 
3451 , and 
3452 \family typewriter 
3453 \shape up 
3454 kcomb
3455 \family default 
3456 \shape default 
3457  are described in this section.
3458 \layout List
3459 \labelwidthstring 00.00.0000
3460
3461
3462 \family typewriter 
3463 \shape up 
3464 kmap
3465 \family default 
3466 \shape default 
3467  Map a character to a string
3468 \layout LyX-Code
3469
3470
3471 \backslash 
3472 kmap 
3473 \family roman 
3474 \emph on 
3475 char
3476 \emph default 
3477  
3478 \emph on 
3479 string
3480 \layout Standard
3481
3482 This will ma
3483 \family roman 
3484
3485 \emph on 
3486 char 
3487 \emph default 
3488 to 
3489 \emph on 
3490 string
3491 \emph default 
3492 .
3493  Note that in 
3494 \emph on 
3495 string
3496 \emph default 
3497
3498 \shape up 
3499 the double-quote (")
3500 \shape default 
3501  and 
3502 \shape up 
3503 the backslash (
3504 \backslash 
3505
3506 \shape default 
3507 must be escaped with a preceding backslash (
3508 \shape up 
3509
3510 \backslash 
3511
3512 \shape default 
3513 )
3514 \family default 
3515 .
3516 \layout Standard
3517
3518 An example of a 
3519 \family sans 
3520 \shape up 
3521 kmap
3522 \family default 
3523 \shape default 
3524  statement to cause the symbol
3525 \family sans 
3526 \shape up 
3527  / 
3528 \family default 
3529 \shape default 
3530 to be output for the keystroke
3531 \family sans 
3532 \shape up 
3533  & 
3534 \family default 
3535 \shape default 
3536 is:
3537 \layout LyX-Code
3538
3539
3540 \backslash 
3541 kmap & /
3542 \layout List
3543 \labelwidthstring 00.00.0000
3544
3545
3546 \family typewriter 
3547 \shape up 
3548 kmod
3549 \family default 
3550 \shape default 
3551  Specify an accent character
3552 \layout LyX-Code
3553
3554
3555 \backslash 
3556 kmod
3557 \family roman 
3558  
3559 \emph on 
3560 char accent allowed
3561 \layout Standard
3562
3563 This will make the cha
3564 \family roman 
3565 racter 
3566 \emph on 
3567 char
3568 \shape up 
3569  be an accent
3570 \emph default 
3571  on the 
3572 \emph on 
3573 allowed 
3574 \emph default 
3575 cha
3576 \family default 
3577 racter(s).
3578  This is the dead key
3579 \begin_inset Foot
3580 collapsed true
3581
3582 \layout Standard
3583
3584 The term 
3585 \family roman 
3586 \emph on 
3587 dead key
3588 \family default 
3589 \emph default 
3590  refers to a key that does not produce a character by itself, but when followed
3591  with another key, produces the desired accent character.
3592  For example, a German characte
3593 \family roman 
3594 r with an umlaut like 
3595 \emph on 
3596 ä
3597 \emph default 
3598  can be produced in this manner.
3599 \end_inset 
3600
3601  mechanism.
3602  
3603 \layout Standard
3604
3605 If you 
3606 \family roman 
3607 hit 
3608 \emph on 
3609 char 
3610 \emph default 
3611 and then another key not in 
3612 \emph on 
3613 allowed
3614 \emph default 
3615 , you will get a 
3616 \emph on 
3617 char 
3618 \emph default 
3619 followed by the other, unallowed key, as output.
3620  
3621 \family default 
3622 Note that a 
3623 \family sans 
3624 \shape up 
3625 Backspace
3626 \family default 
3627 \shape default 
3628  cancels a dead key, so if 
3629 \family roman 
3630 you hit 
3631 \emph on 
3632 char
3633 \family sans 
3634  
3635 \shape up 
3636 Backspace
3637 \family default 
3638 \emph default 
3639 , the cursor will not go one position backwards but will instead cancel
3640  the effect t
3641 \family roman 
3642 hat 
3643 \emph on 
3644 char
3645 \emph default 
3646  might have had on the next keystroke.
3647  
3648 \layout Standard
3649
3650 The following example specifies that the character ' is to be an acute accent,
3651  allowed on the characters a, e, i, o, u, A, E, I, O, and U:
3652 \layout LyX-Code
3653
3654
3655 \backslash 
3656 kmod ' acute aeiouAEIOU
3657 \layout List
3658 \labelwidthstring 00.00.0000
3659
3660
3661 \family typewriter 
3662 ksmod
3663 \family default 
3664  Specify an exception to the accent character
3665 \layout LyX-Code
3666
3667
3668 \backslash 
3669 kxmod 
3670 \family sans 
3671 \emph on 
3672  
3673 \family roman 
3674 accent char result
3675 \layout Standard
3676
3677 This defines an exce
3678 \family roman 
3679 ption for 
3680 \emph on 
3681 accent 
3682 \emph default 
3683 on 
3684 \emph on 
3685 char
3686 \emph default 
3687 .
3688  T
3689 \shape up 
3690 he
3691 \emph on 
3692  accent 
3693 \emph default 
3694 must 
3695 \family default 
3696 have been assigned a keystroke with a previous 
3697 \family typewriter 
3698
3699 \backslash 
3700 kmo
3701 \shape default 
3702 d
3703 \family default 
3704  declar
3705 \family roman 
3706 ation and 
3707 \emph on 
3708 char 
3709 \emph default 
3710 must not belong in the 
3711 \emph on 
3712 allowed 
3713 \emph default 
3714 set of 
3715 \emph on 
3716 accent
3717 \emph default 
3718 .
3719  When 
3720 \shape up 
3721 you enter the 
3722 \emph on 
3723 accent char 
3724 \emph default 
3725 sequence, 
3726 \emph on 
3727 result
3728 \emph default 
3729   is produced.
3730  If such a declaration does not exist in
3731 \family default 
3732  the
3733 \family sans 
3734  
3735 \family typewriter 
3736 .kmap
3737 \family default 
3738 \shape default 
3739  file and yo
3740 \family roman 
3741 u enter 
3742 \emph on 
3743 accent  char
3744 \emph default 
3745 , you get 
3746 \emph on 
3747 accent_key char 
3748 \emph default 
3749  where 
3750 \emph on 
3751 accent_key 
3752 \emph default 
3753  is the first arg
3754 \family default 
3755 ument of the 
3756 \family typewriter 
3757 \shape up 
3758
3759 \backslash 
3760 kmod
3761 \family default 
3762 \shape default 
3763  declaration.
3764  
3765 \layout Standard
3766
3767 The following command produces causes Ã¤i to be produced when you enter acute-i
3768  ('i):
3769 \layout LyX-Code
3770
3771
3772 \backslash 
3773 kxmod acute i "
3774 \backslash 
3775
3776 \backslash 
3777 '{
3778 \backslash 
3779
3780 \backslash 
3781 i}"
3782 \layout List
3783 \labelwidthstring 00.00.0000
3784
3785
3786 \family typewriter 
3787 kcomb
3788 \family default 
3789  Combine two accent characters
3790 \layout LyX-Code
3791
3792
3793 \backslash 
3794 kcomb 
3795 \family roman 
3796 \emph on 
3797 accent1 accent2 allowed
3798 \layout Standard
3799
3800 This one is getting pretty esoteric.
3801  It allows you to combine the effect
3802 \family roman 
3803  of 
3804 \emph on 
3805 accent1
3806 \emph default 
3807  and 
3808 \emph on 
3809 accent2
3810 \emph default 
3811  (in that order!) on 
3812 \emph on 
3813 allowed
3814 \emph default 
3815  chars.
3816  The keystrokes for 
3817 \emph on 
3818 accent1
3819 \emph default 
3820  and 
3821 \emph on 
3822 accent2
3823 \emph default 
3824  must have be
3825 \family default 
3826 en set with a 
3827 \family typewriter 
3828 \shape up 
3829
3830 \backslash 
3831 kmod
3832 \family default 
3833 \shape default 
3834  command at 
3835 \family roman 
3836
3837 \emph on 
3838 previous
3839 \emph default 
3840  point in the 
3841 \family default 
3842 file.
3843  
3844 \layout Standard
3845
3846 Consider this example from the 
3847 \family typewriter 
3848 \shape up 
3849 greek.kmap
3850 \family default 
3851 \shape default 
3852  file:
3853 \layout LyX-Code
3854
3855
3856 \backslash 
3857 kmod ; acute aeioyvhAEIOYVH 
3858 \backslash 
3859 kmod : umlaut iyIY 
3860 \backslash 
3861 kcomb acute umlaut iyIY
3862 \layout Standard
3863
3864 This allows you to press 
3865 \family sans 
3866 \shape up 
3867 ;:i
3868 \family default 
3869 \shape default 
3870  and get the effect of 
3871 \family typewriter 
3872 \shape up 
3873
3874 \backslash 
3875 '{
3876 \backslash 
3877 "{i}}
3878 \family default 
3879 \shape default 
3880 .
3881  
3882 \family roman 
3883 \shape up 
3884 A backspace 
3885 \family default 
3886 \shape default 
3887 in this case cancels the last dead key, so if you press
3888 \family sans 
3889 \shape up 
3890  ;: Backspace i 
3891 \family default 
3892 \shape default 
3893 you get 
3894 \family typewriter 
3895 \shape up 
3896
3897 \backslash 
3898 '{i}
3899 \family default 
3900 \shape default 
3901 .
3902 \layout Subsection
3903
3904 The .cdef File
3905 \layout Standard
3906
3907 After the 
3908 \family typewriter 
3909 \shape up 
3910 .kmap
3911 \family sans 
3912  
3913 \family default 
3914 \shape default 
3915 mapping is performed, a 
3916 \family typewriter 
3917 \shape up 
3918 .cde
3919 \shape default 
3920 f
3921 \family default 
3922  file maps the strings that the symbols generate to characters in the current
3923  font.
3924  The LyX distribution currently includes at least the 
3925 \family typewriter 
3926 \shape up 
3927 iso8859-1.cdef
3928 \family default 
3929 \shape default 
3930  and 
3931 \family typewriter 
3932 \shape up 
3933 iso8859-2.cdef
3934 \family default 
3935 \shape default 
3936  files.
3937 \layout Standard
3938
3939 In general the 
3940 \family typewriter 
3941 \shape up 
3942 .cdef
3943 \family sans 
3944  
3945 \family default 
3946 \shape default 
3947 file is a sequence of declarations of the form
3948 \layout LyX-Code
3949
3950
3951 \family roman 
3952 \emph on 
3953 char_index_in_set
3954 \emph default 
3955  
3956 \emph on 
3957  string
3958 \layout Standard
3959
3960 For example, in order to map 
3961 \family sans 
3962 \shape up 
3963
3964 \backslash 
3965 '{e}
3966 \family default 
3967 \shape default 
3968  to the corresponding character in the iso-8859-1 set (233), the following
3969  declaration is used
3970 \layout LyX-Code
3971
3972 233 "
3973 \backslash 
3974
3975 \backslash 
3976 '{e}"
3977 \layout Standard
3978
3979 with 
3980 \family typewriter 
3981
3982 \backslash 
3983
3984 \family default 
3985  and 
3986 \family typewriter 
3987 "
3988 \family default 
3989  being escap
3990 \family roman 
3991 ed in 
3992 \emph on 
3993 string
3994 \emph default 
3995 .
3996  Note that 
3997 \family default 
3998 the same character can apply to more than one string.
3999  In the 
4000 \family typewriter 
4001 i
4002 \shape up 
4003 so-8859-7.cdef
4004 \family sans 
4005  
4006 \family default 
4007 \shape default 
4008 file you have
4009 \layout LyX-Code
4010
4011 192 "
4012 \backslash 
4013
4014 \backslash 
4015 '{
4016 \backslash 
4017
4018 \backslash 
4019
4020 \backslash 
4021 "{i}}"
4022 \newline 
4023 192 "
4024 \backslash 
4025
4026 \backslash 
4027
4028 \backslash 
4029 "{
4030 \backslash 
4031
4032 \backslash 
4033 '{i}}"
4034 \layout Standard
4035
4036 If LyX cannot find a mapping for the string produced by the keystroke or
4037  a deadkey sequence, it will check if it looks like an accented char and
4038  try to draw an accent over the character on screen.
4039 \layout Subsection
4040
4041 Dead Keys
4042 \layout Standard
4043
4044 There is a second way to add support for international characters through
4045  so-called dead-keys.
4046  A dead-key works in combination with a letter to produce an accented character.
4047  Here, we'll explain how to create a really simple dead-key to illustrate
4048  how they work.
4049 \layout Standard
4050
4051 Suppose you happen to need the circumflex character, 
4052 \begin_inset Quotes eld
4053 \end_inset 
4054
4055 \i \^{}
4056
4057 \begin_inset Quotes erd
4058 \end_inset 
4059
4060 .
4061  You could bind the 
4062 \family sans 
4063 ^
4064 \family default 
4065 -key [a.k.a.\SpecialChar ~
4066
4067 \family sans 
4068 Shift-6
4069 \family default 
4070 ] to the LyX command 
4071 \family typewriter 
4072 accent-circumflex
4073 \family default 
4074  in your 
4075 \family typewriter 
4076 lyxrc
4077 \family default 
4078  file.
4079  Now, whenever you type the 
4080 \family sans 
4081 ^
4082 \family default 
4083 -key followed by a letter, that letter will have a circumflex accent on
4084  it.
4085  For example, the sequence 
4086 \begin_inset Quotes eld
4087 \end_inset 
4088
4089
4090 \family sans 
4091 ^e
4092 \family default 
4093
4094 \begin_inset Quotes erd
4095 \end_inset 
4096
4097  produces the letter: 
4098 \begin_inset Quotes eld
4099 \end_inset 
4100
4101 ê
4102 \begin_inset Quotes erd
4103 \end_inset 
4104
4105 .
4106  If you tried to type 
4107 \begin_inset Quotes eld
4108 \end_inset 
4109
4110
4111 \family sans 
4112 ^t
4113 \family default 
4114
4115 \begin_inset Quotes erd
4116 \end_inset 
4117
4118 , however, LyX will complain with a beep, since a 
4119 \begin_inset Quotes eld
4120 \end_inset 
4121
4122
4123 \family sans 
4124 t
4125 \family default 
4126
4127 \begin_inset Quotes erd
4128 \end_inset 
4129
4130  never takes a circumflex accent.
4131  Hitting 
4132 \family sans 
4133 Space
4134 \family default 
4135  after a dead-key produces the bare-accent.
4136  Please note this last point! If you bind a key to a dead-key, you'll need
4137  to rebind the character on that key to yet another key.
4138  Binding the 
4139 \family sans 
4140 ,-key
4141 \family default 
4142  to a cedilla is a bad idea, since you'll only get cedillas instead of commas.
4143 \layout Standard
4144
4145 One common way to bind dead-keys is to use 
4146 \family sans 
4147 Meta-
4148 \family default 
4149
4150 \family sans 
4151 Ctrl-
4152 \family default 
4153 , and 
4154 \family sans 
4155 Shift-
4156 \family default 
4157  in combination with an accent, like 
4158 \begin_inset Quotes eld
4159 \end_inset 
4160
4161
4162 \family sans 
4163 ~
4164 \family default 
4165
4166 \begin_inset Quotes erd
4167 \end_inset 
4168
4169  or 
4170 \begin_inset Quotes eld
4171 \end_inset 
4172
4173
4174 \family sans 
4175 ,
4176 \family default 
4177
4178 \begin_inset Quotes erd
4179 \end_inset 
4180
4181  or 
4182 \begin_inset Quotes eld
4183 \end_inset 
4184
4185
4186 \family sans 
4187 ^
4188 \family default 
4189
4190 \begin_inset Quotes erd
4191 \end_inset 
4192
4193 .
4194  Another way involves using 
4195 \family typewriter 
4196 xmodmap
4197 \family default 
4198  and 
4199 \family typewriter 
4200 xkeycaps
4201 \family default 
4202  [remember them from section?] to set up the special 
4203 \family typewriter 
4204 Mode_Switch
4205 \family default 
4206  key.
4207  The 
4208 \family typewriter 
4209 Mode_Switch
4210 \family default 
4211  acts in some ways just like 
4212 \family sans 
4213 Shift
4214 \family default 
4215  and permits you to bind keys to accented characters.
4216  You can also turn keys into dead-keys by binding them to something like
4217  
4218 \family typewriter 
4219 usldead_cedilla
4220 \family default 
4221  and then binding this symbolic key to the corresponding LyX command.
4222 \begin_inset Foot
4223 collapsed true
4224
4225 \layout Standard
4226
4227 Note from 
4228 \noun on 
4229 John Weiss
4230 \noun default 
4231 : This is exactly what I do in my 
4232 \family typewriter 
4233 ~/.lyx/lyxrc
4234 \family default 
4235  and my 
4236 \family typewriter 
4237 ~/.xmodmap
4238 \family default 
4239  files.
4240  I have my 
4241 \family sans 
4242 Scroll\SpecialChar ~
4243 Lock
4244 \family default 
4245  key set up as 
4246 \family typewriter 
4247 Mode_Shift
4248 \family default 
4249  and a bunch of these 
4250 \begin_inset Quotes eld
4251 \end_inset 
4252
4253
4254 \family typewriter 
4255 usldead_*
4256 \family default 
4257
4258 \begin_inset Quotes erd
4259 \end_inset 
4260
4261  symbolic keys bound such things as 
4262 \family sans 
4263 Scroll\SpecialChar ~
4264 Lock-^
4265 \family default 
4266  and 
4267 \family sans 
4268 Scroll\SpecialChar ~
4269 Lock-~
4270 \family default 
4271 .
4272  This is how I produce my accented characters.
4273 \end_inset 
4274
4275  You can make just about anything into the 
4276 \family typewriter 
4277 Mode_Switch
4278 \family default 
4279  key: One of the 
4280 \family sans 
4281 Ctrl-
4282 \family default 
4283  keys, a spare function key, etc.
4284  As for the LyX commands that produce accents, check the entry for 
4285 \family typewriter 
4286 accent-acute
4287 \family default 
4288  in the 
4289 \emph on 
4290 Reference Manual
4291 \emph default 
4292 .
4293  You'll find the complete list there.
4294 \layout Subsection
4295
4296 Saving your Language Configuration
4297 \layout Standard
4298
4299
4300 \begin_inset LatexCommand \label{sec:savlang}
4301
4302 \end_inset 
4303
4304 You can edit your preferences so that your desired language environment
4305  is automatically configured when LyX starts up, via the 
4306 \family sans 
4307 \bar under 
4308 E
4309 \bar default 
4310 dit\SpecialChar \menuseparator
4311
4312 \bar under 
4313 P
4314 \bar default 
4315 references
4316 \family default 
4317  dialog.
4318 \layout Chapter
4319
4320 Installing New Document Classes, Layouts, and Templates 
4321 \begin_inset LatexCommand \label{chap:textclass}
4322
4323 \end_inset 
4324
4325
4326 \begin_inset OptArg
4327 collapsed true
4328
4329 \layout Standard
4330
4331 Installing New Document Classes
4332 \end_inset 
4333
4334
4335 \layout Standard
4336
4337 In this chapter, we describe the procedures for creating and installing
4338  new LyX layout and template files, as well as offer a refresher on correctly
4339  installing new LaTeX document classes.
4340  Some definitions: a document class is a LaTeX file (usually ending in 
4341 \family typewriter 
4342 .cls
4343 \family default 
4344  or 
4345 \family typewriter 
4346 .sty
4347 \family default 
4348 ) which describes the format of a document such as an article, report, journal
4349  preprint, etc.
4350  and all the commands needed to realize that format.
4351  A layout file is a LyX file which corresponds to a LaTeX document class
4352  and which tells LyX how to 
4353 \begin_inset Quotes eld
4354 \end_inset 
4355
4356 draw
4357 \begin_inset Quotes erd
4358 \end_inset 
4359
4360  things on the screen to make the display look something like the final
4361  printed page.
4362  More precisely, a layout file describes a 
4363 \begin_inset Quotes eld
4364 \end_inset 
4365
4366 text class
4367 \begin_inset Quotes erd
4368 \end_inset 
4369
4370  which is the internal construct LyX uses to render the screen display.
4371  
4372 \begin_inset Quotes eld
4373 \end_inset 
4374
4375 Layout
4376 \begin_inset Quotes erd
4377 \end_inset 
4378
4379  and 
4380 \begin_inset Quotes eld
4381 \end_inset 
4382
4383 text class
4384 \begin_inset Quotes erd
4385 \end_inset 
4386
4387  can be used somewhat interchangeably, but it is better to refer to the
4388  file as the layout, and the thing living in LyX's memory as the text class.
4389  A template file is simply a LyX document which contains a set of predefined
4390  entries for a given document class which are generally required for that
4391  class.
4392  Templates are especially useful for things like journal manuscripts which
4393  are to be submitted electronically.
4394 \layout Section
4395
4396 Installing a new LaTeX package
4397 \layout Standard
4398
4399 Some installations may not include a LaTeX package that you would like to
4400  use within LyX.
4401  For example, you might need FoilTeX, a common (and very powerful) package
4402  for preparing slides or viewgraphs for overhead projectors.
4403  Here are the formal steps involved in getting the package up and running
4404  if you are using teTeX or some other web2c based distribution.
4405  
4406 \layout Enumerate
4407
4408 Get the package from CTAN or wherever.
4409 \begin_inset Foot
4410 collapsed true
4411
4412 \layout Standard
4413
4414 See the 
4415 \emph on 
4416 Inventory of your LaTeX configuration
4417 \emph default 
4418  manual for details of what CTAN is and where supported document classes
4419  can be found.
4420 \end_inset 
4421
4422
4423 \layout Enumerate
4424
4425 Read the file 
4426 \family typewriter 
4427 texmf.cnf
4428 \family default 
4429  (this usually lives in the directory 
4430 \family typewriter 
4431 $TEXMF/web2c
4432 \family default 
4433 , though you can run 
4434 \family typewriter 
4435 kpsewhich texmf.cnf
4436 \family default 
4437  to locate it).
4438  It describes how to add a local 
4439 \family typewriter 
4440 texmf
4441 \family default 
4442  directory; follow the instructions.
4443  You need to insert the name of your local 
4444 \family typewriter 
4445 texmf
4446 \family default 
4447  directory in 
4448 \family typewriter 
4449 texmf.cnf
4450 \family default 
4451 .
4452  Under Linux, 
4453 \family typewriter 
4454 /usr/local
4455 \family default 
4456  is a logical place to install software that did not come with your distribution
4457 , so you might use 
4458 \family typewriter 
4459 /usr/local/texmf
4460 \family default 
4461 .
4462  Usually, you will have to modify only two things:
4463 \begin_deeper 
4464 \layout Enumerate
4465
4466 Set 
4467 \family typewriter 
4468 TEXMFLOCAL
4469 \family default 
4470  to the directory you chose; e.g.
4471  
4472 \newline 
4473
4474 \family typewriter 
4475 TEXMFLOCAL = /usr/local/texmf
4476 \layout Enumerate
4477
4478 Make sure 
4479 \family typewriter 
4480 TEXMF
4481 \family default 
4482  includes the 
4483 \family typewriter 
4484 TEXMFLOCAL
4485 \family default 
4486  variable; e.g.
4487  
4488 \newline 
4489
4490 \family typewriter 
4491 TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
4492 \end_deeper 
4493 \layout Enumerate
4494
4495 Create your local 
4496 \family typewriter 
4497 texmf
4498 \family default 
4499  directory (e.g.
4500  
4501 \family typewriter 
4502 /usr/local/texmf
4503 \family default 
4504 ).
4505  You must follow the directory structure of your existing 
4506 \family typewriter 
4507 texmf
4508 \family default 
4509  directory (for example, latex packages should go under 
4510 \family typewriter 
4511 /usr/local/texmf/tex/latex/
4512 \family default 
4513 ).
4514 \layout Enumerate
4515
4516 Install the package.
4517  For example, you would unpack the FoilTeX tarball and create 
4518 \family typewriter 
4519 /usr/local/texmf/tex/latex/foiltex
4520 \family default 
4521 .
4522  The 
4523 \family typewriter 
4524 foiltex
4525 \family default 
4526  directory contains various files.
4527 \layout Enumerate
4528
4529 Run: 
4530 \family typewriter 
4531 texhash
4532 \family default 
4533 .
4534  This should create 
4535 \family typewriter 
4536 /usr/local/texmf/ls-R 
4537 \family default 
4538 amongst others.
4539 \layout Enumerate
4540
4541 From within LyX, do: 
4542 \family sans 
4543 \bar under 
4544 T
4545 \bar default 
4546 ools\SpecialChar \menuseparator
4547
4548 \bar under 
4549 R
4550 \bar default 
4551 econfigure
4552 \family default 
4553 .
4554  Restart LyX.
4555 \layout Standard
4556
4557 Now you should see your new package---for example 
4558 \family sans 
4559 slides (FoilTeX)
4560 \family default 
4561 ---under 
4562 \family sans 
4563 \bar under 
4564 L
4565 \bar default 
4566 ayout\SpecialChar \menuseparator
4567
4568 \bar under 
4569 D
4570 \bar default 
4571 ocument
4572 \family default 
4573 , field 
4574 \family sans 
4575 \bar under 
4576 C
4577 \bar default 
4578 lass
4579 \family default 
4580 .
4581  Note that there are simpler ways of installing packages: you can add a
4582  link to the new package directory in the system LaTeX directory (
4583 \family typewriter 
4584 $TEXMF/tex/latex
4585 \family default 
4586 , don't forget to then run 
4587 \family typewriter 
4588 texconfig
4589 \family default 
4590 ), or sometimes simply set the 
4591 \family typewriter 
4592 $TEXINPUTS
4593 \family default 
4594  environment variable to include the new package.
4595  However, the formal procedure described in 
4596 \family typewriter 
4597 texmf.cnf
4598 \family default 
4599  is guaranteed to work, so you should follow it unless circumstances absolutely
4600  prevent it: such as, when you don't have superuser access.
4601 \layout Section
4602
4603 Layouts
4604 \layout Standard
4605
4606 This section describes how to write and install your own LyX layout files
4607  (also known as text classes) and walks through the 
4608 \family typewriter 
4609 article
4610 \family default 
4611  text class format as an example.
4612  The 
4613 \family typewriter 
4614 .layout
4615 \family default 
4616  files describe what paragraph styles are available for a given document
4617  class and how LyX should display them.
4618  We try to provide a thorough description of the process here; however,
4619  there are so many different types of documents supported by LaTeX classes
4620  we can't hope to cover every different possibility or problem you might
4621  encounter.
4622  
4623 \layout Standard
4624
4625 When you plan to write a new layout, it is extremely helpful to look at
4626  the example layouts distributed with LyX.
4627  If you use a nice LaTeX document class that might be of interest for others,
4628  too, and have a nice corresponding LyX layout, feel free to contribute
4629  the stuff to us, so we may put it into the distribution.
4630 \layout Standard
4631
4632 All the tags described in this chapter are case-insensitive; this means
4633  that 
4634 \family typewriter 
4635 Style
4636 \family default 
4637
4638 \family typewriter 
4639 style
4640 \family default 
4641  and 
4642 \family typewriter 
4643 StYlE
4644 \family default 
4645  are really the same command.
4646  The possible values are printed in brackets after the feature's name.
4647  The default value if a feature isn't specified inside a text class-description
4648  is typeset 
4649 \family typewriter 
4650 \emph on 
4651 emphasized
4652 \family default 
4653 \emph default 
4654 .
4655  If the argument has a datatype like 
4656 \begin_inset Quotes eld
4657 \end_inset 
4658
4659 string
4660 \begin_inset Quotes erd
4661 \end_inset 
4662
4663  or 
4664 \begin_inset Quotes eld
4665 \end_inset 
4666
4667 float
4668 \begin_inset Quotes erd
4669 \end_inset 
4670
4671 , the default is shown like this: 
4672 \family typewriter 
4673 float=
4674 \emph on 
4675 default
4676 \family default 
4677 \emph default 
4678 .
4679 \layout Subsection
4680
4681 Supporting new document classes
4682 \layout Standard
4683
4684 There are two situations you are likely to encounter when wanting to support
4685  a new LaTeX document class, involving LaTeX2e class (
4686 \family typewriter 
4687 .cls
4688 \family default 
4689 ) and style (
4690 \family typewriter 
4691 .sty
4692 \family default 
4693 ) files.
4694 \layout Subsection
4695
4696 A layout for an 
4697 \family sans 
4698 sty
4699 \family default 
4700  file
4701 \layout Standard
4702
4703 If your new document class is provided as a style file that is used in conjuncti
4704 on with an existing, supported document class, start by copying the existing
4705  class's layout file into your local directory.
4706  For the sake of example we'll assume that the style file is called 
4707 \family sans 
4708 myclass.sty
4709 \family default 
4710  and it is meant to be used with 
4711 \family sans 
4712 report.cls
4713 \family default 
4714  which is a standard class.
4715 \layout LyX-Code
4716
4717 cp report.layout ~/.lyx/layouts/myclass.layout
4718 \layout Standard
4719
4720 Then edit 
4721 \family typewriter 
4722 myclass.layout
4723 \family default 
4724  and change the line: 
4725 \layout LyX-Code
4726
4727
4728 \backslash 
4729 DeclareLaTeXClass{report}
4730 \layout Standard
4731
4732 to read
4733 \layout LyX-Code
4734
4735
4736 \backslash 
4737 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
4738 \layout Standard
4739
4740 Then add:
4741 \layout LyX-Code
4742
4743 Preamble 
4744 \newline 
4745     
4746 \backslash 
4747 usepackage{myclass}
4748 \newline 
4749 EndPreamble
4750 \layout Standard
4751
4752 near the top of the file.
4753 \layout Standard
4754
4755 Start LyX and select 
4756 \family sans 
4757 \bar under 
4758 T
4759 \bar default 
4760 ools\SpecialChar \menuseparator
4761
4762 \bar under 
4763 R
4764 \bar default 
4765 econfigure
4766 \family default 
4767 .
4768  Restart LyX and try creating a new document.
4769  You should see "
4770 \family sans 
4771 report (myclass)
4772 \family default 
4773 " as a document class option in the 
4774 \family sans 
4775 \bar under 
4776 D
4777 \bar default 
4778 ocument\SpecialChar \menuseparator
4779
4780 \bar under 
4781 S
4782 \bar default 
4783 ettings
4784 \family default 
4785  dialog.
4786  It is likely that some of the sectioning commands and such will differ
4787  from how the base class
4788 \begin_inset Foot
4789 collapsed true
4790
4791 \layout Standard
4792
4793
4794 \family typewriter 
4795 report
4796 \family default 
4797  in this example
4798 \end_inset 
4799
4800  works, so you can fiddle around with the settings for the different sections
4801  if you wish.
4802  See below for more discussion on this.
4803 \layout Subsection
4804
4805 Layout for a 
4806 \family sans 
4807 cls
4808 \family default 
4809  file
4810 \layout Standard
4811
4812 In this case, you will probably have to 
4813 \begin_inset Quotes eld
4814 \end_inset 
4815
4816 roll your own
4817 \begin_inset Quotes erd
4818 \end_inset 
4819
4820  layout.
4821  We strongly suggest copying an existing layout file which uses a similar
4822  LaTeX class and modifying it if at all possible.
4823  At least use an existing file as a starting point so you can find out what
4824  items you need to worry about.
4825  Again, the specifics are covered below.
4826 \layout Section
4827
4828 Declaring a new text class
4829 \layout Standard
4830
4831 When it's finally time to get your hands dirty and create or edit your own
4832  layout file, the following sections describe what you're up against.
4833  Our advice is to go slowly, save and test often, listen to soothing music,
4834  and enjoy one or two of your favorite adult beverages; more if you are
4835  getting particularly stuck.
4836  It's really not that hard, except that the multitude of options can become
4837  overwhelming if you try to do to much in one sitting.
4838  Go have another adult beverage, just for good measure.
4839 \layout Standard
4840
4841 Here we go!
4842 \layout Standard
4843
4844 Lines in a layout file which begin with a 
4845 \family typewriter 
4846 #
4847 \family default 
4848  are comments.
4849  There is one exception to this rule: all layouts should begin with lines
4850  like:
4851 \layout LyX-Code
4852
4853
4854 \size small 
4855 #% Do not delete the line below; configure depends on this 
4856 \layout LyX-Code
4857
4858
4859 \size small 
4860 #  
4861 \backslash 
4862 DeclareLaTeXClass{article}
4863 \layout Standard
4864
4865 The second line is used when you configure LyX.
4866  The layout file is read by the LaTeX script 
4867 \family typewriter 
4868 chkconfig.ltx
4869 \family default 
4870 , in a special mode where 
4871 \family typewriter 
4872 #
4873 \family default 
4874  is ignored.
4875  The first line is just a LaTeX comment, and the second one contains the
4876  declaration of the text class.
4877  If these lines appear in a file named 
4878 \family typewriter 
4879 article.layout
4880 \family default 
4881 , then they define a text class of name 
4882 \family typewriter 
4883 article
4884 \family default 
4885  (the name of the layout file) which uses the LaTeX document class 
4886 \family typewriter 
4887 article.cls
4888 \family default 
4889  (the default is to use the same name as the layout).
4890  The string 
4891 \begin_inset Quotes eld
4892 \end_inset 
4893
4894 article
4895 \begin_inset Quotes erd
4896 \end_inset 
4897
4898  that appears above is used as a description of the text class in the 
4899 \family sans 
4900 \bar under 
4901 D
4902 \bar default 
4903 ocument\SpecialChar \menuseparator
4904
4905 \bar under 
4906 S
4907 \bar default 
4908 ettings
4909 \family default 
4910  dialog.
4911 \layout Standard
4912
4913 Let's assume that you wrote your own text class that uses the 
4914 \family typewriter 
4915 article.cls
4916 \family default 
4917  documentclass, but where you changed the appearance of the section headings.
4918  If you put it in a file 
4919 \family typewriter 
4920 myarticle.layout
4921 \family default 
4922 , the header of this file should be:
4923 \layout LyX-Code
4924
4925
4926 \size small 
4927 #% Do not delete the line below; configure depends on this 
4928 \layout LyX-Code
4929
4930
4931 \size small 
4932 #  
4933 \backslash 
4934 DeclareLaTeXClass[article]{article (with my own headings)}
4935 \layout Standard
4936
4937 This declares a text class 
4938 \family typewriter 
4939 myarticle
4940 \family default 
4941 , associated with the LaTeX document class 
4942 \family typewriter 
4943 article.cls
4944 \family default 
4945  and described as 
4946 \begin_inset Quotes eld
4947 \end_inset 
4948
4949 article (with my own headings)
4950 \begin_inset Quotes erd
4951 \end_inset 
4952
4953 .
4954  If your text class depends on several packages, you can declare it as:
4955 \layout LyX-Code
4956
4957
4958 \size small 
4959 #% Do not delete the line below; configure depends on this 
4960 \layout LyX-Code
4961
4962
4963 \size small 
4964 #  
4965 \backslash 
4966 DeclareLaTeXClass[article,foo.sty]{article (with my own headings)}
4967 \layout Standard
4968
4969 This indicates that your text class uses the foo.sty package.
4970  Finally, it is also possible to declare classes for SGML and DocBook code.
4971  Typical declarations will look like
4972 \layout LyX-Code
4973
4974
4975 \size small 
4976 #% Do not delete the line below; configure depends on this 
4977 \layout LyX-Code
4978
4979
4980 \size small 
4981
4982 \backslash 
4983 DeclareSGMLClass{SGML (LinuxDoc)}
4984 \layout Standard
4985
4986 or
4987 \layout LyX-Code
4988
4989 #% Do not delete the line below; configure depends on this 
4990 \layout LyX-Code
4991
4992
4993 \backslash 
4994 DeclareDocBookClass[article]{SGML (DocBook article)}
4995 \layout Standard
4996
4997 Note that these declarations can also be given an optional parameter declaring
4998  the name of the document class (but not a list).
4999 \layout Standard
5000
5001 When the text class has been modified to your taste, all you have to do
5002  is to copy it either in 
5003 \family typewriter 
5004 $LyXDir/layouts/
5005 \family default 
5006  or in 
5007 \family typewriter 
5008 $UserDir/layouts
5009 \family default 
5010  and run 
5011 \family sans 
5012 \bar under 
5013 T
5014 \bar default 
5015 ools\SpecialChar \menuseparator
5016
5017 \bar under 
5018 R
5019 \bar default 
5020 econfigure
5021 \family default 
5022 .
5023  Exit LyX and restart it; then your new text class should be available along
5024  with the others.
5025 \layout Subsection
5026
5027 General text class parameters
5028 \layout Standard
5029
5030 These are the general parameters which describe the form of the entire document:
5031 \layout Standard
5032
5033
5034 \begin_inset ERT
5035 status Inlined
5036
5037 \layout Standard
5038
5039 \backslash 
5040 begin{sloppypar}
5041 \end_inset 
5042
5043
5044 \layout Description
5045
5046
5047 \family typewriter 
5048 \series medium 
5049 Columns
5050 \family default 
5051 \series default 
5052  [
5053 \family typewriter 
5054 \emph on 
5055 1
5056 \emph default 
5057 , 2
5058 \family default 
5059 ] Whether the class-default should have one or two columns.
5060  Can be changed in the 
5061 \family sans 
5062 \bar under 
5063 D
5064 \bar default 
5065 ocument\SpecialChar \menuseparator
5066
5067 \bar under 
5068 S
5069 \bar default 
5070 ettings
5071 \family default 
5072 \emph on 
5073  
5074 \emph default 
5075 dialog.
5076  This setting (same goes for 
5077 \family typewriter 
5078 Sides
5079 \family default 
5080 , too) is important: if your text class has two columns by default but you
5081  forget to set it correctly, the 
5082 \family typewriter 
5083 twocolumn
5084 \family default 
5085  LaTeX option will 
5086 \emph on 
5087 not
5088 \emph default 
5089  be output when you select 
5090 \family sans 
5091 Two columns
5092 \family default 
5093  in 
5094 \family sans 
5095 \bar under 
5096 D
5097 \bar default 
5098 ocument\SpecialChar \menuseparator
5099
5100 \bar under 
5101 S
5102 \bar default 
5103 ettings.
5104 \layout Description
5105
5106
5107 \family typewriter 
5108 \series medium 
5109 Sides
5110 \family default 
5111 \series default 
5112  [
5113 \family typewriter 
5114 \emph on 
5115 1
5116 \emph default 
5117 , 2
5118 \family default 
5119 ] Whether the class-default should be printing on one or both sides of the
5120  paper.
5121  Can be changed in the
5122 \emph on 
5123  
5124 \family sans 
5125 \emph default 
5126 \bar under 
5127 D
5128 \bar default 
5129 ocument\SpecialChar \menuseparator
5130
5131 \bar under 
5132 S
5133 \bar default 
5134 ettings
5135 \family default 
5136  dialog.
5137 \layout Description
5138
5139
5140 \family typewriter 
5141 \series medium 
5142 PageStyle
5143 \series default 
5144  
5145 \family default 
5146 [
5147 \family typewriter 
5148 \emph on 
5149 plain
5150 \emph default 
5151 , empty, headings
5152 \family default 
5153 ] The class default pagestyle.
5154  Can be changed in the 
5155 \family sans 
5156 \bar under 
5157 D
5158 \bar default 
5159 ocument\SpecialChar \menuseparator
5160
5161 \bar under 
5162 S
5163 \bar default 
5164 ettings
5165 \family default 
5166 \emph on 
5167  
5168 \emph default 
5169 dialog.
5170 \layout Description
5171
5172
5173 \family typewriter 
5174 \series medium 
5175 MaxCounter
5176 \family default 
5177 \series default 
5178  [
5179 \family typewriter 
5180 \emph on 
5181 Counter_Chapter
5182 \emph default 
5183 , Counter_Section, Counter_Subsection, Counter_Subsubsection, Counter_Paragraph,
5184  
5185 \newline 
5186 Counter_Subparagraph, Counter_EnumI, Counter_EnumII, 
5187 \newline 
5188 Counter_EnumIII, Counter_EnumIV
5189 \family default 
5190 ] The highest level of automatic enumeration.
5191  Useful values are 
5192 \family typewriter 
5193 Counter_Chapter
5194 \family default 
5195  for a book or report and 
5196 \family typewriter 
5197 Counter_Section
5198 \family default 
5199  for an article.
5200  If there is no enumeration needed at all, for example inside a letter class,
5201  
5202 \family typewriter 
5203 MaxCounter
5204 \family default 
5205  should be set to 
5206 \family typewriter 
5207 Counter_EnumI
5208 \family default 
5209 .
5210  
5211 \layout Description
5212
5213
5214 \family typewriter 
5215 \series medium 
5216 ClassOptions\SpecialChar \ldots{}
5217 End
5218 \family default 
5219 \series default 
5220  This section describes various global options supported by the document
5221  class.
5222  See Section\SpecialChar ~
5223
5224 \begin_inset LatexCommand \ref{sec:classoptions}
5225
5226 \end_inset 
5227
5228  for a description.
5229 \layout Description
5230
5231
5232 \family typewriter 
5233 \series medium 
5234 ProvidesAmsmath
5235 \family default 
5236 \series default 
5237  [
5238 \family typewriter 
5239 \emph on 
5240 0
5241 \emph default 
5242 , 1
5243 \family default 
5244 ] Whether the class already loads the 
5245 \family typewriter 
5246 amsmath
5247 \family default 
5248  package.
5249  This is the case of the 
5250 \family typewriter 
5251 amsart
5252 \family default 
5253  and 
5254 \family typewriter 
5255 amsbook
5256 \family default 
5257  document classes.
5258 \layout Description
5259
5260
5261 \family typewriter 
5262 \series medium 
5263 ProvidesMakeidx
5264 \family default 
5265 \series default 
5266  [
5267 \family typewriter 
5268 \emph on 
5269 0
5270 \emph default 
5271 , 1
5272 \family default 
5273 ] Whether the class already provides the functionality of the 
5274 \family typewriter 
5275 makeidx
5276 \family default 
5277  package.
5278  This is the case of the 
5279 \family typewriter 
5280 amsart
5281 \family default 
5282  and 
5283 \family typewriter 
5284 amsbook
5285 \family default 
5286  document classes.
5287 \layout Description
5288
5289
5290 \family typewriter 
5291 \series medium 
5292 ProvidesUrl
5293 \family default 
5294 \series default 
5295  [
5296 \family typewriter 
5297 \emph on 
5298 0
5299 \emph default 
5300 , 1
5301 \family default 
5302 ] Whether the class already provides the functionality of the 
5303 \family typewriter 
5304 url
5305 \family default 
5306  package.
5307  This is the case of the
5308 \family typewriter 
5309  AASTeX 
5310 \family default 
5311 document class.
5312 \layout Description
5313
5314
5315 \family typewriter 
5316 \series medium 
5317 DefaultFont
5318 \family default 
5319 \series default 
5320  This is used to describe the default font of the document.
5321  See Section\SpecialChar ~
5322
5323 \begin_inset LatexCommand \ref{sec:fonts}
5324
5325 \end_inset 
5326
5327  for a description.
5328 \layout Description
5329
5330
5331 \family typewriter 
5332 \series medium 
5333 DefaultStyle
5334 \family default 
5335 \series default 
5336  [
5337 \family typewriter 
5338 string
5339 \family default 
5340 ] This is the style that will be assigned to new paragraphs, usually 
5341 \family sans 
5342 Standard
5343 \family default 
5344 .
5345  This will default to the first defined style if not given, but you are
5346  highly encouraged to use this directive.
5347 \layout Description
5348
5349
5350 \family typewriter 
5351 \series medium 
5352 TitleLatexType
5353 \family default 
5354 \series default 
5355  [
5356 \family typewriter 
5357 \emph on 
5358 CommandAfter
5359 \family default 
5360 \emph default 
5361
5362 \family typewriter 
5363 Environment
5364 \family default 
5365 ] Indicates what kind of markup is used to define the title of a document.
5366  
5367 \family typewriter 
5368 CommandAfter
5369 \family default 
5370  means that the macro with name 
5371 \family typewriter 
5372 TitleLaTeXCommand
5373 \family default 
5374  will be inserted after the last layout which has 
5375 \begin_inset Quotes eld
5376 \end_inset 
5377
5378
5379 \family typewriter 
5380 InTitle 1
5381 \family default 
5382
5383 \begin_inset Quotes erd
5384 \end_inset 
5385
5386 .
5387  
5388 \family typewriter 
5389 Environment
5390 \family default 
5391  corresponds to the case where the block of paragraphs which have 
5392 \begin_inset Quotes eld
5393 \end_inset 
5394
5395
5396 \family typewriter 
5397 InTitle 1
5398 \family default 
5399
5400 \begin_inset Quotes erd
5401 \end_inset 
5402
5403  should be enclosed into the
5404 \family typewriter 
5405  TitleLaTeXCommand 
5406 \family default 
5407 environment
5408 \family typewriter 
5409 .
5410 \layout Description
5411
5412
5413 \family typewriter 
5414 \series medium 
5415 TitleLatexCommand
5416 \family default 
5417 \series default 
5418  [
5419 \family typewriter 
5420 string="maketitle"
5421 \family default 
5422 ] The name of the command/environment mentionned above.
5423 \layout Description
5424
5425
5426 \family typewriter 
5427 \series medium 
5428 Preamble\SpecialChar \ldots{}
5429 EndPreamble
5430 \family default 
5431 \series default 
5432  A set of macro definitions that will be output at the beginning of the
5433  LaTeX files.
5434  Use this for global definitions.
5435 \layout Description
5436
5437
5438 \family typewriter 
5439 \series medium 
5440 Input
5441 \family default 
5442 \series default 
5443  As its name implies, this command allows you to include another layout
5444  definition file within yours to avoid duplicating commands.
5445  Common examples are the standard layout files, for example, 
5446 \family typewriter 
5447 stdclass.inc
5448 \family default 
5449 , which contains most of the basic layouts.
5450 \layout Description
5451
5452
5453 \family typewriter 
5454 \series medium 
5455 Style\SpecialChar \ldots{}
5456 End
5457 \family default 
5458 \series default 
5459  This sequence defines a new style.
5460  See Section\SpecialChar ~
5461
5462 \begin_inset LatexCommand \ref{sec:style}
5463
5464 \end_inset 
5465
5466  for details.
5467 \layout Description
5468
5469
5470 \family typewriter 
5471 \series medium 
5472 NoStyle
5473 \family default 
5474 \series default 
5475  This command deletes an existing style.
5476  This is particularly useful when you want to suppress a style that has
5477  be defined in an input file.
5478 \layout Description
5479
5480
5481 \family typewriter 
5482 \series medium 
5483 Float\SpecialChar \ldots{}
5484 End
5485 \family default 
5486 \series default 
5487  This sequance defines a new float.
5488  See Section\SpecialChar ~
5489
5490 \begin_inset LatexCommand \ref{sec:floats}
5491
5492 \end_inset 
5493
5494  for details.
5495 \layout Description
5496
5497
5498 \family typewriter 
5499 \series medium 
5500 NoFloat
5501 \family default 
5502 \series default 
5503  This command deletes an existing float.
5504  This is particularly useful when you want to suppress a float that has
5505  be defined in an input file.
5506 \layout Description
5507
5508
5509 \family typewriter 
5510 \series medium 
5511 Counter\SpecialChar \ldots{}
5512 End
5513 \family default 
5514 \series default 
5515  This sequence defines a new counter.
5516  See Section\SpecialChar ~
5517
5518 \begin_inset LatexCommand \ref{sec:counter}
5519
5520 \end_inset 
5521
5522  for details.
5523 \layout Standard
5524
5525
5526 \begin_inset ERT
5527 status Inlined
5528
5529 \layout Standard
5530
5531 \backslash 
5532 end{sloppypar}
5533 \end_inset 
5534
5535
5536 \layout Subsection
5537
5538
5539 \family typewriter 
5540 ClassOptions
5541 \family default 
5542  section
5543 \layout Standard
5544
5545
5546 \begin_inset LatexCommand \label{sec:classoptions}
5547
5548 \end_inset 
5549
5550 The 
5551 \family typewriter 
5552 ClassOptions
5553 \family default 
5554  section can contain the following entries:
5555 \layout Description
5556
5557
5558 \family typewriter 
5559 \series medium 
5560 FontSize
5561 \family default 
5562 \series default 
5563  [
5564 \family typewriter 
5565 string="10|11|12"
5566 \family default 
5567 ] The list of available font sizes for the document's main font, separated
5568  by 
5569 \begin_inset Quotes eld
5570 \end_inset 
5571
5572
5573 \family typewriter 
5574 |
5575 \family default 
5576
5577 \begin_inset Quotes erd
5578 \end_inset 
5579
5580 .
5581 \layout Description
5582
5583
5584 \family typewriter 
5585 \series medium 
5586 PageStyle
5587 \family default 
5588 \series default 
5589  [
5590 \family typewriter 
5591 string="empty|plain|headings|fancy"
5592 \family default 
5593 ] The list of available page styles, separated by 
5594 \begin_inset Quotes eld
5595 \end_inset 
5596
5597
5598 \family typewriter 
5599 |
5600 \family default 
5601
5602 \begin_inset Quotes erd
5603 \end_inset 
5604
5605 .
5606 \layout Description
5607
5608
5609 \family typewriter 
5610 \series medium 
5611 Other
5612 \family default 
5613 \series default 
5614  [
5615 \family typewriter 
5616 string=""
5617 \family default 
5618 ] Some document class options, separated by a comma, that will be added
5619  to the optional part of the 
5620 \family typewriter 
5621
5622 \backslash 
5623 documentclass
5624 \family default 
5625  command.
5626 \layout Subsection
5627
5628 Specific Paragraph Layouts
5629 \layout Standard
5630
5631
5632 \begin_inset LatexCommand \label{sec:style}
5633
5634 \end_inset 
5635
5636 A paragraph layout description looks like this
5637 \begin_inset Foot
5638 collapsed true
5639
5640 \layout Standard
5641
5642 Note that this will either define a new layout or modify an existing one.
5643 \end_inset 
5644
5645 :
5646 \layout LyX-Code
5647
5648 Style 
5649 \family roman 
5650 \emph on 
5651 name
5652 \layout LyX-Code
5653
5654  ...
5655 \layout LyX-Code
5656
5657 End
5658 \layout Standard
5659
5660 where the following commands are allowed:
5661 \layout Standard
5662
5663
5664 \begin_inset ERT
5665 status Inlined
5666
5667 \layout Standard
5668
5669 \backslash 
5670 begin{sloppypar}
5671 \end_inset 
5672
5673
5674 \layout Description
5675
5676
5677 \family typewriter 
5678 \series medium 
5679 CopyStyle
5680 \family default 
5681 \series default 
5682  This is used to copy all the features of an existing layout into the current
5683  one.
5684  
5685 \layout Description
5686
5687
5688 \family typewriter 
5689 \series medium 
5690 LatexType
5691 \family default 
5692 \series default 
5693  [
5694 \family typewriter 
5695 \emph on 
5696 Paragraph
5697 \emph default 
5698 , Command, Environment, Item_Environment,
5699 \family default 
5700  
5701 \family typewriter 
5702 List_Environment
5703 \family default 
5704 ] How the layout should be translated into LaTeX.
5705  
5706 \family typewriter 
5707 Paragraph
5708 \family default 
5709  means nothing special.
5710  
5711 \family typewriter 
5712 Command
5713 \family default 
5714  means 
5715 \family typewriter 
5716
5717 \backslash 
5718
5719 \emph on 
5720 LatexName
5721 \emph default 
5722 {\SpecialChar \ldots{}
5723 }
5724 \family default 
5725  and 
5726 \family typewriter 
5727 Environment
5728 \family default 
5729  means 
5730 \family typewriter 
5731
5732 \backslash 
5733 begin{
5734 \emph on 
5735 LatexName
5736 \emph default 
5737 }\SpecialChar \ldots{}
5738
5739 \backslash 
5740 end{
5741 \emph on 
5742 LatexName
5743 \emph default 
5744 }
5745 \family default 
5746 .
5747  
5748 \family typewriter 
5749 Item_Environment
5750 \family default 
5751  is the same as 
5752 \family typewriter 
5753 Environment
5754 \family default 
5755 , except that a 
5756 \family typewriter 
5757
5758 \backslash 
5759 item
5760 \family default 
5761  is generated for each paragraph of this environment.
5762  
5763 \family typewriter 
5764 List_Environment
5765 \family default 
5766  is the same as 
5767 \family typewriter 
5768 Item_Environment
5769 \family default 
5770 , except that 
5771 \family typewriter 
5772 LabelWidthString
5773 \family default 
5774  is passed as an argument to the environment.
5775  
5776 \family typewriter 
5777 LabelWidthString
5778 \family default 
5779  can be defined in the 
5780 \family sans 
5781 \bar under 
5782 L
5783 \bar default 
5784 ayout\SpecialChar \menuseparator
5785
5786 \bar under 
5787 P
5788 \bar default 
5789 aragraph
5790 \family default 
5791  dialog.
5792  
5793 \family typewriter 
5794 \emph on 
5795 LatexName
5796 \family default 
5797 \emph default 
5798  is perhaps a bit misleading, since these rules apply to SGML classes, too.
5799  Visit the SGML class files for specific examples.
5800 \layout Description
5801
5802
5803 \family typewriter 
5804 \series medium 
5805 InTitle
5806 \series default 
5807  [1, 0] 
5808 \family default 
5809 If 1, marks the layout as being part of a title block (see also the
5810 \family typewriter 
5811  TitleLatexType
5812 \family default 
5813  and 
5814 \family typewriter 
5815 TitleLatexCommand
5816 \family default 
5817  global entries)
5818 \layout Description
5819
5820
5821 \family typewriter 
5822 \series medium 
5823 LatexName
5824 \family default 
5825 \series default 
5826  The name of the corresponding LaTeX stuff.
5827  Either the environment or command name.
5828 \layout Description
5829
5830
5831 \family typewriter 
5832 \series medium 
5833 LatexParam
5834 \family default 
5835 \series default 
5836  The optional parameter for the corresponding 
5837 \family typewriter 
5838 \series medium 
5839 LatexName
5840 \family default 
5841 \series default 
5842  stuff.
5843  This parameter cannot be changed from within LyX.
5844 \layout Description
5845
5846
5847 \family typewriter 
5848 \series medium 
5849 OptionalArgs
5850 \family default 
5851 \series default 
5852  [
5853 \family typewriter 
5854 int=0
5855 \family default 
5856 ] The number of optional arguments that can be used with this layout.
5857  This is useful for things like section headings, and only makes sense with
5858  LaTeX.
5859 \layout Description
5860
5861
5862 \family typewriter 
5863 \series medium 
5864 Margin
5865 \family default 
5866 \series default 
5867  [
5868 \family typewriter 
5869 \emph on 
5870 Static
5871 \emph default 
5872 , Manual, Dynamic, First_Dynamic, Right_Address_Box
5873 \family default 
5874
5875 \newline 
5876 The kind of margin that the layout has on the left side.
5877  
5878 \family typewriter 
5879 Static
5880 \family default 
5881  just means a fixed margin.
5882  
5883 \family typewriter 
5884 Manual
5885 \family default 
5886  means that the left margin depends on the string entered in the 
5887 \family sans 
5888 \bar under 
5889 E
5890 \bar default 
5891 dit\SpecialChar \menuseparator
5892
5893 \bar under 
5894 P
5895 \bar default 
5896 aragraph\SpecialChar ~
5897 Settings
5898 \family default 
5899  dialog.
5900  This is used to typeset nice lists without tabulators.
5901  
5902 \family typewriter 
5903 Dynamic
5904 \family default 
5905  means that the margin depends on the size of the label.
5906  This is used for automatic enumerated headlines.
5907  It is obvious that the headline 
5908 \begin_inset Quotes eld
5909 \end_inset 
5910
5911 5.4.3.2.1 Very long headline
5912 \begin_inset Quotes erd
5913 \end_inset 
5914
5915  must have a wider left margin (as wide as 
5916 \begin_inset Quotes eld
5917 \end_inset 
5918
5919 5.4.3.2.1
5920 \begin_inset Quotes erd
5921 \end_inset 
5922
5923  plus the space) than 
5924 \begin_inset Quotes eld
5925 \end_inset 
5926
5927 3.2 Very long headline
5928 \begin_inset Quotes erd
5929 \end_inset 
5930
5931 , even if other word processors are not able to do this.
5932  
5933 \family typewriter 
5934 First_Dynamic
5935 \family default 
5936  is similar, but only the very first row of the paragraph is dynamic, while
5937  the others are static; this is used, for example, for descriptions.
5938  
5939 \family typewriter 
5940 Right_Address_Box
5941 \family default 
5942  means the margin is chosen in a way that the longest row of this paragraph
5943  fits to the right margin.
5944  This is used to typeset an address on the right edge of the page.
5945 \layout Description
5946
5947
5948 \family typewriter 
5949 \series medium 
5950 NextNoIndent
5951 \family default 
5952 \series default 
5953  [
5954 \family typewriter 
5955 1, 
5956 \emph on 
5957 0
5958 \family default 
5959 \emph default 
5960 ] Whether the following Paragraph is allowed to indent its very first row.
5961  
5962 \family typewriter 
5963 1
5964 \family default 
5965  means that it is not allowed to do so, 
5966 \family typewriter 
5967 0
5968 \family default 
5969  means it could do so if it wants to.
5970 \layout Description
5971
5972
5973 \family typewriter 
5974 \series medium 
5975 ParIndent
5976 \family default 
5977 \series default 
5978  [
5979 \family typewriter 
5980 string=""
5981 \family default 
5982 ] The indent of the very first line of a paragraph.
5983  The argument is passed as a string.
5984  For example 
5985 \family typewriter 
5986 "MM"
5987 \family default 
5988  means that the paragraph is indented with the width of 
5989 \family typewriter 
5990 "MM"
5991 \family default 
5992  in 
5993 \family typewriter 
5994 the
5995 \family default 
5996  normal font.
5997  You can get a negative width by prefixing the string with 
5998 \family typewriter 
5999 "-"
6000 \family default 
6001 .
6002  This way was chosen so that the look is the same with each used screen
6003  font.
6004  The 
6005 \family typewriter 
6006 Parindent
6007 \family default 
6008  will be fixed for a certain layout.
6009  The exception is Standard layout, since the indentation of a Standard layout
6010  paragraph can be prohibited with 
6011 \family typewriter 
6012 NextNoIndent
6013 \family default 
6014 .
6015  Also, Standard layout paragraphs inside environments use the 
6016 \family typewriter 
6017 Parindent
6018 \family default 
6019  of the environment, not their native one.
6020  For example, Standard paragraphs inside an enumeration are not indented.
6021 \layout Description
6022
6023
6024 \family typewriter 
6025 \series medium 
6026 Parskip
6027 \family default 
6028 \series default 
6029  [
6030 \family typewriter 
6031 float=0
6032 \family default 
6033 ] LyX allows to choose either 
6034 \begin_inset Quotes eld
6035 \end_inset 
6036
6037 indent
6038 \begin_inset Quotes erd
6039 \end_inset 
6040
6041  or 
6042 \begin_inset Quotes eld
6043 \end_inset 
6044
6045 skip
6046 \begin_inset Quotes erd
6047 \end_inset 
6048
6049  to typeset a document.
6050  When 
6051 \begin_inset Quotes eld
6052 \end_inset 
6053
6054 indent
6055 \begin_inset Quotes erd
6056 \end_inset 
6057
6058  is chosen, this value is completely ignored.
6059  When 
6060 \begin_inset Quotes eld
6061 \end_inset 
6062
6063 skip
6064 \begin_inset Quotes erd
6065 \end_inset 
6066
6067  is chosen, the parindent of a LaTeXtype 
6068 \begin_inset Quotes eld
6069 \end_inset 
6070
6071 Paragraph
6072 \begin_inset Quotes erd
6073 \end_inset 
6074
6075  layout is ignored and all paragraphs are additionally separated by this
6076  parskip argument.
6077  The vertical space is calculated with 
6078 \family typewriter 
6079 value*DefaultHeight()
6080 \family default 
6081  where 
6082 \family typewriter 
6083 DefaultHeight()
6084 \family default 
6085  is the height of a row with the normal font.
6086  This way, the look stays the same with different screen fonts.
6087 \layout Description
6088
6089
6090 \family typewriter 
6091 \series medium 
6092 TopSep
6093 \family default 
6094 \series default 
6095  [
6096 \family typewriter 
6097 float=0
6098 \family default 
6099 ] The vertical space with which the very first of a chain of paragraphs
6100  with this layout is separated from the previous paragraph.
6101  If the previous paragraph has another layout, the separations are not simply
6102  added, but the maximum is taken.
6103 \layout Description
6104
6105
6106 \family typewriter 
6107 \series medium 
6108 BottomSep
6109 \family default 
6110 \series default 
6111  [
6112 \family typewriter 
6113 float=0
6114 \family default 
6115 ] The same as 
6116 \family typewriter 
6117 TopSep
6118 \family default 
6119  for the very last paragraph.
6120 \layout Description
6121
6122
6123 \family typewriter 
6124 \series medium 
6125 Parsep
6126 \family default 
6127 \series default 
6128  [
6129 \family typewriter 
6130 float=0
6131 \family default 
6132 ] The vertical space between two paragraphs of this layout.
6133 \layout Description
6134
6135
6136 \family typewriter 
6137 \series medium 
6138 Itemsep
6139 \family default 
6140 \series default 
6141  [
6142 \family typewriter 
6143 float=0
6144 \family default 
6145 ] This is an extra space between the paragraphs of an environment layout.
6146  If you put other layouts into an environment, each is separated with the
6147  environment's 
6148 \family typewriter 
6149 Parsep
6150 \family default 
6151 .
6152  But the whole items of the environment are additionally separated with
6153  this 
6154 \family typewriter 
6155 Itemsep
6156 \family default 
6157 .
6158  
6159 \layout Description
6160
6161
6162 \family typewriter 
6163 \series medium 
6164 LeftMargin
6165 \family default 
6166 \series default 
6167  [
6168 \family typewriter 
6169 string=""
6170 \family default 
6171 ] If you put layouts into environments, the leftmargins are not simply added,
6172  but added with a factor 
6173 \begin_inset Formula $\frac{4}{depth+4}$
6174 \end_inset 
6175
6176 .
6177  Note that this parameter is also used when the border is defined as 
6178 \family typewriter 
6179 Manual
6180 \family default 
6181  or 
6182 \family typewriter 
6183 Dynamic
6184 \family default 
6185 .
6186  Then it is added to the manual or dynamic border.
6187  This string has the same meaning as for 
6188 \family typewriter 
6189 ParIndent
6190 \family default 
6191 .
6192 \layout Description
6193
6194
6195 \family typewriter 
6196 \series medium 
6197 RightMargin
6198 \family default 
6199 \series default 
6200  [
6201 \family typewriter 
6202 string=""
6203 \family default 
6204 ] Similar to 
6205 \family typewriter 
6206 LeftMargin
6207 \family default 
6208 .
6209 \layout Description
6210
6211
6212 \family typewriter 
6213 \series medium 
6214 Labeltype
6215 \family default 
6216 \series default 
6217  [
6218 \family typewriter 
6219 \emph on 
6220 No_Label
6221 \emph default 
6222 , Manual, Static, Top_Environment, 
6223 \newline 
6224 Centered_Top_Environment, Sensitive, Counter_Chapter, 
6225 \newline 
6226 Counter_Section, Counter_Subsection, Counter_Subsubsection, 
6227 \newline 
6228 Counter_Paragraph, Counter_Subparagraph, Counter_EnumI,
6229 \family default 
6230  
6231 \family typewriter 
6232
6233 \newline 
6234 Counter_EnumII, Counter_EnumIII, Counter_EnumIV
6235 \family default 
6236
6237 \newline 
6238
6239 \family typewriter 
6240 Manual
6241 \family default 
6242  means the label is the very first word (up to the first real blank).
6243  
6244 \family typewriter 
6245 Static
6246 \family default 
6247  means it is defined in the layout (see 
6248 \family typewriter 
6249 LabelString
6250 \family default 
6251 ).
6252  
6253 \family typewriter 
6254 Top_Environment
6255 \family default 
6256  and 
6257 \family typewriter 
6258 Centered_Top_Environment
6259 \family default 
6260  are special cases of 
6261 \family typewriter 
6262 Static
6263 \family default 
6264 .
6265  The label will be printed above the paragraph, but only at the top of an
6266  environment or the top of a chain of paragraphs with this layout.
6267  Usage is for example the 
6268 \family sans 
6269 Abstract
6270 \family default 
6271  layout or the 
6272 \family sans 
6273 Bibliography
6274 \family default 
6275  layout.
6276  This is also the case for 
6277 \family typewriter 
6278 Manual
6279 \family default 
6280  labels with latex type 
6281 \family typewriter 
6282 Environment
6283 \family default 
6284 , in order to make layouts for theorems work correctly.
6285  
6286 \family typewriter 
6287 Sensitive
6288 \family default 
6289  is a special case for the caption-labels 
6290 \begin_inset Quotes eld
6291 \end_inset 
6292
6293 Figure
6294 \begin_inset Quotes erd
6295 \end_inset 
6296
6297  and 
6298 \begin_inset Quotes eld
6299 \end_inset 
6300
6301 Table
6302 \begin_inset Quotes erd
6303 \end_inset 
6304
6305 .
6306  
6307 \family typewriter 
6308 Sensitive
6309 \family default 
6310  means the (hardcoded) label string depends on the kind of float.
6311  The 
6312 \family typewriter 
6313 Counter_xxx
6314 \family default 
6315  label types should be self explanatory.
6316 \layout Description
6317
6318
6319 \family typewriter 
6320 \series medium 
6321 Labelsep
6322 \family default 
6323 \series default 
6324  [
6325 \family typewriter 
6326 string=""
6327 \family default 
6328 ] The horizontal space between the label and the text body.
6329  Only used for labels that are not above the text body.
6330 \layout Description
6331
6332
6333 \family typewriter 
6334 \series medium 
6335 LabelBottomsep
6336 \family default 
6337 \series default 
6338  [float=0] The vertical space between the label and the text body.
6339  Only used for labels that are above the text body (
6340 \family typewriter 
6341 Top_Environment
6342 \family default 
6343
6344 \family typewriter 
6345 Centered_Top_Environment
6346 \family default 
6347 ).
6348 \layout Description
6349
6350
6351 \family typewriter 
6352 \series medium 
6353 LabelString
6354 \family default 
6355 \series default 
6356  [
6357 \family typewriter 
6358 string=""
6359 \family default 
6360 ] The string used for a label with a 
6361 \family typewriter 
6362 Static
6363 \family default 
6364  labeltype.
6365  When the border is 
6366 \family typewriter 
6367 Manual
6368 \family default 
6369  this string is also used as a suggestion for the 
6370 \family typewriter 
6371 LabelWidthString
6372 \family default 
6373  that can be set in the 
6374 \family sans 
6375 \bar under 
6376 E
6377 \bar default 
6378 dit\SpecialChar \menuseparator
6379
6380 \bar under 
6381 P
6382 \bar default 
6383 aragraph\SpecialChar ~
6384 Settings
6385 \family default 
6386  dialog.
6387  When the labeltype is 
6388 \family typewriter 
6389 Counter_
6390 \emph on 
6391 xxx
6392 \family default 
6393 \emph default 
6394 , this string is prepended to the counter.
6395 \layout Description
6396
6397
6398 \family typewriter 
6399 \series medium 
6400 EndLabeltype
6401 \family default 
6402 \series default 
6403  [
6404 \family typewriter 
6405 \emph on 
6406 No_Label
6407 \emph default 
6408 , Box, Filled_Box, Static
6409 \family default 
6410 ] The type of label that stands at the end of the paragraph (or sequence
6411  of paragraphs if 
6412 \family typewriter 
6413 LatexType
6414 \family default 
6415  is 
6416 \family typewriter 
6417 Environment
6418 \family default 
6419
6420 \family typewriter 
6421 Item_Environment
6422 \family default 
6423  or 
6424 \family typewriter 
6425 List_Environment
6426 \family default 
6427 ).
6428  
6429 \family typewriter 
6430 No_Label
6431 \family default 
6432  means 
6433 \begin_inset Quotes eld
6434 \end_inset 
6435
6436 nothing
6437 \begin_inset Quotes erd
6438 \end_inset 
6439
6440
6441 \family typewriter 
6442 Box
6443 \family default 
6444  (resp.
6445 \family typewriter 
6446 \SpecialChar ~
6447 Filled_Box
6448 \family default 
6449 ) is a white (resp.\SpecialChar ~
6450 black) square suitable for end of proof markers, 
6451 \family typewriter 
6452 Static
6453 \family default 
6454  is an explicit text string.
6455 \layout Description
6456
6457
6458 \family typewriter 
6459 \series medium 
6460 EndLabelString
6461 \family default 
6462 \series default 
6463  [
6464 \family typewriter 
6465 string=""
6466 \family default 
6467 ] The string used for a label with a 
6468 \family typewriter 
6469 Static
6470 \family default 
6471  
6472 \family typewriter 
6473 EndLabelType
6474 \family default 
6475 .
6476  
6477 \layout Description
6478
6479
6480 \family typewriter 
6481 \series medium 
6482 Align
6483 \family default 
6484 \series default 
6485  [
6486 \family typewriter 
6487 \emph on 
6488 block
6489 \emph default 
6490 , left, right, center
6491 \family default 
6492 ] Paragraph alignment.
6493 \layout Description
6494
6495
6496 \family typewriter 
6497 \series medium 
6498 AlignPossible
6499 \family default 
6500 \series default 
6501  [
6502 \family typewriter 
6503 \emph on 
6504 block
6505 \emph default 
6506 , left, right, center
6507 \family default 
6508 ] A comma separated 
6509 \emph on 
6510 list
6511 \emph default 
6512  of possible aligns.
6513  Some LaTeX styles prohibit certain alignments, since those wouldn't make
6514  sense.
6515  For example a right-aligned or centered enumeration isn't possible.
6516 \layout Description
6517
6518
6519 \family typewriter 
6520 \series medium 
6521 Fill_Top
6522 \family default 
6523 \series default 
6524  [
6525 \family typewriter 
6526 \emph on 
6527 0
6528 \emph default 
6529 ,1
6530 \family default 
6531 ] With this parameter the 
6532 \family sans 
6533 Fill
6534 \family default 
6535  value of the 
6536 \begin_inset Quotes eld
6537 \end_inset 
6538
6539 Vertical space above
6540 \begin_inset Quotes erd
6541 \end_inset 
6542
6543  list of the 
6544 \family sans 
6545 \bar under 
6546 E
6547 \bar default 
6548 dit\SpecialChar \menuseparator
6549
6550 \bar under 
6551 P
6552 \bar default 
6553 aragraph\SpecialChar ~
6554 Settings
6555 \family default 
6556  dialog can be set when initializing a paragraph with this layout
6557 \begin_inset Foot
6558 collapsed true
6559
6560 \layout Standard
6561
6562
6563 \emph on 
6564 Note from Jean-Marc: 
6565 \emph default 
6566 I'm not sure that this setting has much use, and it should probably be removed
6567  in later versions.
6568 \end_inset 
6569
6570 .
6571  
6572 \layout Description
6573
6574
6575 \family typewriter 
6576 \series medium 
6577 Fill_Bottom
6578 \family default 
6579 \series default 
6580  [
6581 \family typewriter 
6582 \emph on 
6583 0
6584 \emph default 
6585 ,1
6586 \family default 
6587 ] Similar to 
6588 \family typewriter 
6589 Fill_Top
6590 \family default 
6591 .
6592 \layout Description
6593
6594
6595 \family typewriter 
6596 \series medium 
6597 NeedProtect
6598 \family default 
6599 \series default 
6600  [
6601 \family typewriter 
6602 \emph on 
6603 0
6604 \emph default 
6605 ,1
6606 \family default 
6607 ] Whether fragile commands in this layout should be 
6608 \family typewriter 
6609
6610 \backslash 
6611 protect
6612 \family default 
6613 'ed.
6614 \layout Description
6615
6616
6617 \family typewriter 
6618 \series medium 
6619 Newline
6620 \family default 
6621 \series default 
6622  [
6623 \family typewriter 
6624 0, 
6625 \emph on 
6626 1
6627 \family default 
6628 \emph default 
6629 ] Whether newlines are translated into LaTeX newlines (
6630 \family typewriter 
6631
6632 \backslash 
6633
6634 \backslash 
6635
6636 \family default 
6637 ) or not.
6638  The translation can be switched off to allow more comfortable LaTeX editing
6639  inside LyX.
6640 \layout Description
6641
6642
6643 \family typewriter 
6644 \series medium 
6645 PassThru
6646 \family default 
6647 \series default 
6648  [
6649 \family typewriter 
6650 \emph on 
6651 0
6652 \emph default 
6653 , 1
6654 \family default 
6655 ] Whether the contents of this paragraph should be output in raw form, meaning
6656  without special translations that LaTeX would require.
6657  This somehow replaces the older 
6658 \family typewriter 
6659 Latex
6660 \family default 
6661  font property.
6662 \layout Description
6663
6664
6665 \family typewriter 
6666 \series medium 
6667 FreeSpacing
6668 \family default 
6669 \series default 
6670  [
6671 \family typewriter 
6672 \emph on 
6673 0
6674 \emph default 
6675 , 1
6676 \family default 
6677 ] Usually LyX doesn't allow you to insert more than one space between words,
6678  since a space is considered as the separation between two words, not a
6679  character or symbol of its own.
6680  This is a very fine thing but sometimes annoying, for example when typing
6681  program code or plain LaTeX code.
6682  For this reason, 
6683 \family typewriter 
6684 FreeSpacing
6685 \family default 
6686  can be enabled.
6687  Note that LyX will create protected blanks for the additional blanks when
6688  in another mode than LaTeX-mode.
6689 \layout Description
6690
6691
6692 \family typewriter 
6693 \series medium 
6694 KeepEmpty
6695 \family default 
6696 \series default 
6697  [
6698 \family typewriter 
6699 \emph on 
6700 0
6701 \emph default 
6702 , 1
6703 \family default 
6704 ] Usually LyX does not allow you to leave a paragraph empty, since it would
6705  lead to empty LaTeX output.
6706  There are some cases where this could be desirable however: in a letter
6707  template, the required fields can be provided as empty fields, so that
6708  people do not forget them; in some special classes, a layout can be used
6709  as some kind of break, which does not contain actual text.
6710 \layout Description
6711
6712
6713 \family typewriter 
6714 \series medium 
6715 Spacing
6716 \family default 
6717 \series default 
6718  [
6719 \family typewriter 
6720 \emph on 
6721 single
6722 \emph default 
6723 , onehalf, double, other 
6724 \family default 
6725 \emph on 
6726 value
6727 \emph default 
6728 ] This defines what the default spacing should be in the layout.
6729  The arguments 
6730 \family typewriter 
6731 single
6732 \family default 
6733
6734 \family typewriter 
6735 onehalf
6736 \family default 
6737  and 
6738 \family typewriter 
6739 double
6740 \family default 
6741  correspond respectively to a multiplier value of 1, 1.25 and 1.667.
6742  If you specify the argument 
6743 \family typewriter 
6744 other
6745 \family default 
6746 , then you should also provide a numerical argument which will be the actual
6747  multiplier value.
6748  Note that, contrary to other parameters, 
6749 \family typewriter 
6750 Spacing
6751 \family default 
6752  implies the generation of specific LaTeX code, using the package 
6753 \family typewriter 
6754 setspace.sty
6755 \family roman 
6756 .
6757 \layout Description
6758
6759
6760 \family typewriter 
6761 \series medium 
6762 Font 
6763 \series default 
6764 [
6765 \family default 
6766  The font used for both the text body 
6767 \emph on 
6768 and
6769 \emph default 
6770  the label.
6771  See section\SpecialChar ~
6772
6773 \begin_inset LatexCommand \ref{sec:fonts}
6774
6775 \end_inset 
6776
6777 .
6778  Note that defining this font automatically defines the 
6779 \family typewriter 
6780 LabelFont
6781 \family default 
6782  to the same value.
6783 \layout Description
6784
6785
6786 \family typewriter 
6787 \series medium 
6788 TextFont
6789 \family default 
6790 \series default 
6791  The font used for the text body .
6792  See section\SpecialChar ~
6793
6794 \begin_inset LatexCommand \ref{sec:fonts}
6795
6796 \end_inset 
6797
6798 .
6799 \layout Description
6800
6801
6802 \family typewriter 
6803 \series medium 
6804 LabelFont
6805 \family default 
6806 \series default 
6807  The font used for the label.
6808  See section\SpecialChar ~
6809
6810 \begin_inset LatexCommand \ref{sec:fonts}
6811
6812 \end_inset 
6813
6814 .
6815 \layout Description
6816
6817
6818 \family typewriter 
6819 \series medium 
6820 Preamble\SpecialChar \ldots{}
6821 EndPreamble
6822 \family default 
6823 \series default 
6824  A set of macro definitions that will be output at the beginning of the
6825  LaTeX files when the layout is used.
6826  Use this to define the macros needed by this particular layout.
6827 \layout Description
6828
6829
6830 \family typewriter 
6831 \series medium 
6832 DependsOn
6833 \family default 
6834 \series default 
6835  the name of a style which preamble should be output 
6836 \emph on 
6837 before
6838 \emph default 
6839  the one mentionned above.
6840  This allows to ensure some ordering of the preamble snippets when macros
6841  definitions depend on one another
6842 \begin_inset Foot
6843 collapsed true
6844
6845 \layout Standard
6846
6847 Note that, besides that functionality, there is no way to ensure any ordering
6848  of preambles.
6849  The ordering that you see in a given version of LyX may change without
6850  warning in later versions).
6851 \end_inset 
6852
6853 .
6854 \layout Standard
6855
6856
6857 \begin_inset ERT
6858 status Inlined
6859
6860 \layout Standard
6861
6862 \backslash 
6863 end{sloppypar}
6864 \end_inset 
6865
6866
6867 \layout Subsection
6868
6869 Floats
6870 \layout Standard
6871
6872
6873 \begin_inset LatexCommand \label{sec:floats}
6874
6875 \end_inset 
6876
6877 Since version 1.3.0 of LyX, it is necessary to define the floats (
6878 \family sans 
6879 figure
6880 \family default 
6881
6882 \family sans 
6883 table
6884 \family default 
6885 , \SpecialChar \ldots{}
6886 ) in the text class itself.
6887  If you are looking here to learn how to upgrade an existing text class,
6888  it will probably turn out that all you have to do is to add
6889 \layout LyX-Code
6890
6891 Input stdfloats.inc
6892 \layout Standard
6893
6894 at a reasonable location of the text class.
6895 \begin_inset Foot
6896 collapsed true
6897
6898 \layout Standard
6899
6900 Don't forget to also have a look at counters in next section.
6901 \end_inset 
6902
6903  If you want to implement a text class that proposes some other float types
6904  (like the AGU class bundled with LyX), the information below will hopefully
6905  help you:
6906 \layout Description
6907
6908
6909 \family typewriter 
6910 \series medium 
6911 Type
6912 \family default 
6913 \series default 
6914  [
6915 \family typewriter 
6916 string
6917 \family default 
6918 =
6919 \begin_inset Quotes erd
6920 \end_inset 
6921
6922
6923 \begin_inset Quotes erd
6924 \end_inset 
6925
6926 ] type - The 
6927 \begin_inset Quotes eld
6928 \end_inset 
6929
6930 type
6931 \begin_inset Quotes erd
6932 \end_inset 
6933
6934  of the new class of floats, like program or algorithm.
6935  After the appropriate 
6936 \family typewriter 
6937
6938 \backslash 
6939 newfloat
6940 \family default 
6941 , commands such as 
6942 \family typewriter 
6943
6944 \backslash 
6945 begin{program}
6946 \family default 
6947  or 
6948 \family typewriter 
6949
6950 \backslash 
6951 end{algorithm*}
6952 \family default 
6953  will be available.
6954 \layout Description
6955
6956
6957 \family typewriter 
6958 \series medium 
6959 GuiName
6960 \family default 
6961 \series default 
6962  [
6963 \family typewriter 
6964 string
6965 \family default 
6966 =
6967 \begin_inset Quotes erd
6968 \end_inset 
6969
6970
6971 \begin_inset Quotes erd
6972 \end_inset 
6973
6974 ] The string that will be used in the menus and also for the caption.
6975 \layout Description
6976
6977
6978 \family typewriter 
6979 \series medium 
6980 LaTeXBuiltin
6981 \family default 
6982 \series default 
6983  [
6984 \family typewriter 
6985 \emph on 
6986 0
6987 \family default 
6988 \emph default 
6989
6990 \family typewriter 
6991 1
6992 \family default 
6993 ] Set to 
6994 \family typewriter 
6995 1
6996 \family default 
6997  if the float is already defined by the documentclass.
6998  If this is set to 
6999 \family typewriter 
7000 0
7001 \family default 
7002 , the float will be defined using the LaTeX package 
7003 \family typewriter 
7004 float
7005 \family default 
7006 .
7007 \layout Description
7008
7009
7010 \family typewriter 
7011 \series medium 
7012 NumberWithin
7013 \family default 
7014 \series default 
7015  [
7016 \family typewriter 
7017 string
7018 \family default 
7019 =
7020 \begin_inset Quotes erd
7021 \end_inset 
7022
7023
7024 \begin_inset Quotes erd
7025 \end_inset 
7026
7027 ] This (optional) argument determines whether floats of this class will
7028  be numbered within some sectional unit of the document.
7029  For example, if within is equal to 
7030 \family typewriter 
7031 chapter
7032 \family default 
7033 , the floats will be numbered within chapters.
7034  
7035 \layout Description
7036
7037
7038 \family typewriter 
7039 \series medium 
7040 Style
7041 \family default 
7042 \series default 
7043  [
7044 \family typewriter 
7045 string
7046 \family default 
7047 =
7048 \begin_inset Quotes erd
7049 \end_inset 
7050
7051
7052 \begin_inset Quotes erd
7053 \end_inset 
7054
7055 ] The style used when defining the float using 
7056 \family typewriter 
7057
7058 \backslash 
7059 newfloat
7060 \family default 
7061 .
7062 \layout Description
7063
7064
7065 \family typewriter 
7066 \series medium 
7067 Placement
7068 \family default 
7069 \series default 
7070  [
7071 \family typewriter 
7072 string
7073 \family default 
7074 =
7075 \begin_inset Quotes erd
7076 \end_inset 
7077
7078
7079 \begin_inset Quotes erd
7080 \end_inset 
7081
7082 ] The default placement for the given class of floats.
7083  They are like in standard LaTeX: 
7084 \family typewriter 
7085 t
7086 \family default 
7087
7088 \family typewriter 
7089 b
7090 \family default 
7091
7092 \family typewriter 
7093 p
7094 \family default 
7095  and 
7096 \family typewriter 
7097 h
7098 \family default 
7099  for top, bottom, page, and here, respectively.
7100 \begin_inset Foot
7101 collapsed true
7102
7103 \layout Standard
7104
7105 Note that the order of these letters in the string is irrelevant, like in
7106  LaTeX.
7107 \end_inset 
7108
7109  On top of that there is a new type, 
7110 \family typewriter 
7111 H
7112 \family default 
7113 , which does not really correspond to a float, since it means: put it 
7114 \begin_inset Quotes eld
7115 \end_inset 
7116
7117 here
7118 \begin_inset Quotes erd
7119 \end_inset 
7120
7121  and nowhere else.
7122  Note, however that the 
7123 \family typewriter 
7124 H
7125 \family default 
7126  specifier is special and, because of implementation details cannot be used
7127  in non-builtin float types.
7128  If you do not understand what this means, just use 
7129 \family typewriter 
7130 "tbp"
7131 \family default 
7132 .
7133 \layout Description
7134
7135
7136 \family typewriter 
7137 \series medium 
7138 Extension
7139 \family default 
7140 \series default 
7141  [
7142 \family typewriter 
7143 string
7144 \family default 
7145 =
7146 \begin_inset Quotes erd
7147 \end_inset 
7148
7149
7150 \begin_inset Quotes erd
7151 \end_inset 
7152
7153 ] The file name extension of an auxiliary file for the list of figures (or
7154  whatever).
7155  LaTeX writes the captions to this file.
7156 \layout Description
7157
7158
7159 \family typewriter 
7160 \series medium 
7161 ListName
7162 \family default 
7163 \series default 
7164  [
7165 \family typewriter 
7166 string
7167 \family default 
7168 =
7169 \begin_inset Quotes erd
7170 \end_inset 
7171
7172
7173 \begin_inset Quotes erd
7174 \end_inset 
7175
7176 ] The heading used for the list of floats.
7177 \layout Subsection
7178
7179 Counters
7180 \layout Standard
7181
7182
7183 \begin_inset LatexCommand \label{sec:counter}
7184
7185 \end_inset 
7186
7187 Since version 1.3.0 of LyX, it is necessary to define the counters (
7188 \family sans 
7189 chapter
7190 \family default 
7191
7192 \family sans 
7193 figure
7194 \family default 
7195 , \SpecialChar \ldots{}
7196 ) in the text class itself.
7197  If you are looking here to learn how to upgrade an existing text class,
7198  it will probably turn out that all you have to do is to add
7199 \layout LyX-Code
7200
7201 Input stdcounters.inc
7202 \layout Standard
7203
7204 The definition of counters if presently a bit primitive in LyX, since many
7205  things are still hardcoded.
7206  The following two parameters can be used:
7207 \layout Description
7208
7209
7210 \family typewriter 
7211 \series medium 
7212 Name
7213 \family default 
7214 \series default 
7215  [
7216 \family typewriter 
7217 string
7218 \family default 
7219 =
7220 \begin_inset Quotes erd
7221 \end_inset 
7222
7223
7224 \begin_inset Quotes erd
7225 \end_inset 
7226
7227 ] The name of the counter
7228 \layout Description
7229
7230
7231 \family typewriter 
7232 \series medium 
7233 Within
7234 \family default 
7235 \series default 
7236  [
7237 \family typewriter 
7238 string
7239 \family default 
7240 =
7241 \begin_inset Quotes erd
7242 \end_inset 
7243
7244
7245 \begin_inset Quotes erd
7246 \end_inset 
7247
7248 ] If this is set to the name of another counter, the present counter will
7249  be reset everytime the other one is increased (is that unclear enough?).
7250 \layout Subsection
7251
7252 Font description
7253 \layout Standard
7254
7255
7256 \begin_inset LatexCommand \label{sec:fonts}
7257
7258 \end_inset 
7259
7260 A font description looks like that:
7261 \layout LyX-Code
7262
7263 Font
7264 \family roman 
7265 \emph on 
7266  or 
7267 \family default 
7268 \emph default 
7269 LabelFont
7270 \layout LyX-Code
7271
7272  ...
7273 \layout LyX-Code
7274
7275 EndFont
7276 \layout Standard
7277
7278 and the following commands are available:
7279 \layout Description
7280
7281
7282 \family typewriter 
7283 \series medium 
7284 Family
7285 \family default 
7286 \series default 
7287  [
7288 \family typewriter 
7289 \emph on 
7290 Roman
7291 \emph default 
7292 , Sans, Typewriter
7293 \family default 
7294
7295 \layout Description
7296
7297
7298 \family typewriter 
7299 \series medium 
7300 Series
7301 \family default 
7302 \series default 
7303  [
7304 \family typewriter 
7305 \emph on 
7306 Medium
7307 \emph default 
7308 , Bold
7309 \family default 
7310
7311 \layout Description
7312
7313
7314 \family typewriter 
7315 \series medium 
7316 Shape
7317 \family default 
7318 \series default 
7319  [
7320 \family typewriter 
7321 \emph on 
7322 Up
7323 \emph default 
7324 , Italic, SmallCaps, Slanted
7325 \family default 
7326
7327 \layout Description
7328
7329
7330 \family typewriter 
7331 \series medium 
7332 Size
7333 \family default 
7334 \series default 
7335  [
7336 \family typewriter 
7337 tiny, small, 
7338 \emph on 
7339 normal
7340 \emph default 
7341 , large, larger, largest, huge, giant
7342 \family default 
7343 ]
7344 \layout Description
7345
7346
7347 \family typewriter 
7348 \series medium 
7349 Color
7350 \series default 
7351  
7352 \family default 
7353 [
7354 \family typewriter 
7355 \emph on 
7356 none
7357 \emph default 
7358 , black, white, red, green, blue, cyan, magenta, yellow
7359 \family default 
7360 ]
7361 \layout Section
7362
7363 Creating Templates
7364 \begin_inset LatexCommand \label{sec:templates}
7365
7366 \end_inset 
7367
7368
7369 \layout Standard
7370
7371 Templates are created just like usual documents.
7372  The only difference is that usual documents contain all possible settings,
7373  including the fontscheme and the papersize.
7374  Usually a user doesn't want a template to overwrite his defaults in these
7375  cases.
7376  For that reason, the designer of a template should remove the corresponding
7377  commands like 
7378 \family typewriter 
7379
7380 \backslash 
7381 fontscheme
7382 \family default 
7383  or 
7384 \family typewriter 
7385
7386 \backslash 
7387 papersize
7388 \family default 
7389  from the template LyX file.
7390  This can be done with any simple text-editor, for example 
7391 \family typewriter 
7392 vi
7393 \family default 
7394  or 
7395 \family typewriter 
7396 xedit
7397 \family default 
7398 .
7399  
7400 \layout Standard
7401
7402 Put the edited template files you create in 
7403 \family typewriter 
7404 $UserDir/templates/
7405 \family default 
7406 , copy the ones you use from the global template directory in 
7407 \family typewriter 
7408 $LyXDir/templates/
7409 \family default 
7410  to the same place, and redefine the template path in the 
7411 \family sans 
7412 \bar under 
7413 E
7414 \bar default 
7415 dit\SpecialChar \menuseparator
7416
7417 \bar under 
7418 P
7419 \bar default 
7420 references 
7421 \family default 
7422 dialog (tabs 
7423 \family sans 
7424 Input
7425 \family default 
7426
7427 \family sans 
7428 Path
7429 \family default 
7430 ).
7431  
7432 \layout Standard
7433
7434 Note that there is a template which has a particular meaning: 
7435 \family typewriter 
7436 defaults.lyx
7437 \family default 
7438 .
7439  This template is loaded everytime you create a new document with 
7440 \family sans 
7441 \bar under 
7442 F
7443 \bar default 
7444 ile
7445 \family default 
7446 \SpecialChar \menuseparator
7447
7448 \family sans 
7449 \bar under 
7450 N
7451 \bar default 
7452 ew 
7453 \family default 
7454 in order to provide useful defaults.
7455  To create this template from inside LyX, all you have to do is to open
7456  a document with the correct settings, and use the 
7457 \family sans 
7458 Sa
7459 \bar under 
7460 v
7461 \bar default 
7462 e as Document Defaults
7463 \family default 
7464  button.
7465 \layout Chapter
7466
7467 Including External Material
7468 \layout Section
7469
7470 Background
7471 \layout Standard
7472
7473 One often requested feature from LyX users is to be able to interface LyX
7474  with XFig, Dia, or other similar applications that specialize in producing
7475  a certain kind of diagram, figure, schematic or whatever material might
7476  be relevant to include in your document.
7477  Previously, it was only possible to include boring, static, fixed images
7478  in LyX documents with the graphics feature, but there are several limitations
7479  attached to this approach:
7480 \layout Itemize
7481
7482 If you want to change the figure, you have to invoke an external program
7483  by hand
7484 \layout Itemize
7485
7486 LyX does not notice that the referenced files change, so the on-screen display
7487  can fast become obsolete, and this is aggravated by the lack of a means
7488  of updating the display
7489 \layout Itemize
7490
7491 The graphics stuff does not provide any mechanisms for coping with different
7492  exported formats such as DocBook, HTML or raw Ascii
7493 \layout Standard
7494
7495 The external material facility attempts to solve all of these problems
7496 \begin_inset Foot
7497 collapsed true
7498
7499 \layout Standard
7500
7501 Even if the graphics facility can't solve all problems, it is still valuable
7502  because it does provide in-line preview of the graphics, and supports advanced
7503  geometric transformations with a comfortable user interface.
7504 \end_inset 
7505
7506 .
7507  It does this by offering a general method to interface LyX to external
7508  applications.
7509  Instead of introducing a long list of different constructs tailored for
7510  each specific application, we chose to sacrifice the in-line displaying
7511  of the included material in order to provide a general construct to cover
7512  a wide range of applications.
7513  The result is the external material construct.
7514  External material presents itself in the document simply as a button, but
7515  don't let this fool you.
7516  When you click on it, a dialog will appear that allows you to chose exactly
7517  what material to include, and in the following sections you will learn
7518  that this is indeed a powerful mechanism that can solve all of the above
7519  problems, and more.
7520 \layout Section
7521
7522 How does it work?
7523 \layout Standard
7524
7525 The external material feature is based on the concept of a
7526 \emph on 
7527  template
7528 \emph default 
7529 .
7530  A template is a specification of how LyX should interface with a certain
7531  kind of material.
7532  As bundled, LyX comes with predefined templates for XFig figures, Dia diagrams,
7533  various raster format images, gnuplot, and more.
7534  You can check the actual list by using the 
7535 \family sans 
7536 Insert\SpecialChar \menuseparator
7537 External
7538 \family default 
7539 \SpecialChar ~
7540
7541 \family sans 
7542 Material 
7543 \family default 
7544 command.
7545  Furthermore, it is possible to roll your own template to support a specific
7546  kind of material.
7547  Later we'll describe in more detail what is involved, and hopefully you
7548  will submit all the templates you create so we can include them in a later
7549  LyX version.
7550 \layout Standard
7551
7552 Another basic idea of the external material feature is to distinguish between
7553  the original file that serves as a base for final material and the produced
7554  file that is included in your exported or printed document.
7555  For example, consider the case of a figure produced with XFig.
7556  The XFig application itself works on an original file with the 
7557 \family typewriter 
7558 .fig
7559 \family default 
7560  extension.
7561  Within XFig, you create and change your figure, and when you are done,
7562  you save the 
7563 \family typewriter 
7564 fig
7565 \family default 
7566 -file.
7567  When you want to include the figure in your document, you invoke 
7568 \family typewriter 
7569 transfig
7570 \family default 
7571  in order to create a PostScript file that can readily be included in your
7572  LaTeX file.
7573  In this case, the 
7574 \family typewriter 
7575 .fig
7576 \family default 
7577  file is the original file, and the PostScript file is the produced file.
7578 \layout Standard
7579
7580 This distinction is important in order to allow updating of the material
7581  while you are in the process of writing the document.
7582  Furthermore, it provides us with the flexibility that is needed to support
7583  multiple export formats.
7584  For instance, in the case of an Ascii resulting file, it is not exactly
7585  an award-winning idea to include the figure as raw PostScript.
7586  Instead, you'd either prefer to just include a reference to the figure,
7587  or try to invoke some graphics to Ascii converter to make the final result
7588  look similar to the real graphics.
7589  The external material management allows you to do this, because it is parameter
7590 ized on the different export formats that LyX supports.
7591 \layout Standard
7592
7593 Besides supporting the production of different products according to the
7594  exported format, it supports tight integration with editing and viewing
7595  applications.
7596  In the case of an XFig figure, you are able to invoke 
7597 \family typewriter 
7598 xfig
7599 \family default 
7600  on the original file with a single click from within the external material
7601  dialog in LyX, and also preview the produced PostScript file with 
7602 \family typewriter 
7603 ghostview
7604 \family default 
7605  with another click.
7606  No more fiddling around with the command line and/or file browsers to locate
7607  and manipulate the original or produced files.
7608  In this way, you are finally able to take full advantage of the many different
7609  applications that are relevant to use when you write your documents, and
7610  ultimately be more productive.
7611 \layout Standard
7612
7613 So, all in all, LyX has information about a number of different programs
7614  to use behind the scenes in order to realize all of this machinery.
7615  This information, in fact, is exactly what is contained in the templates.
7616  To each template, there is associated a list of command lines that are
7617  used to invoke applications, convert the original file to the produced
7618  file, and more.
7619  This mechanism allows the advanced user to extend the capabilities of LyX
7620  without fiddling with the source code.
7621  It requires some footwork to define all the different commands and flags,
7622  but luckily, the LyX team did all the hard work and specified these for
7623  you.
7624 \layout Standard
7625
7626 But before the trees grow into the skies, we have to admit that we did take
7627  one tiny short-cut.
7628  Since you can produce many different kinds of files to go with each exported
7629  format, one could also expect that it would be possible to preview each
7630  product.
7631  The LyX team decided against this in order to keep the user interface simple.
7632  Instead of providing a button for each exported file format, we decided
7633  to introduce the concept of the primary file format and just have one button.
7634  When you press 
7635 \family sans 
7636 View
7637 \family default 
7638 \SpecialChar ~
7639
7640 \family sans 
7641 result
7642 \family default 
7643  in the external material dialog, you will get a view of the produced file
7644  in the primary file format.
7645  And the primary file format is specified by your document class.
7646  For most document classes, the primary file format is LaTeX, but for the
7647  DocBook document classes, the primary file format is DocBook.
7648  So, when you view the produced file, keep in mind that it will only be
7649  a preview of what the main result will be.
7650  If you want to see how other exported formats turn out, you have to export
7651  them and preview them by hand.
7652 \layout Section
7653
7654 The external material dialog
7655 \layout Standard
7656
7657 You insert external material from the 
7658 \family sans 
7659 \bar under 
7660 I
7661 \bar default 
7662 nsert
7663 \family default 
7664  menu.
7665  When you do this, a button is inserted into your document, and the external
7666  material dialog is shown.
7667  This dialog allows you to describe exactly what material should be included,
7668  and also how it should be included.
7669  Furthermore, it provides access to the external applications to either
7670  view, edit or produce the material that is used in the resulting file.
7671 \layout Standard
7672
7673 At the top of this dialog, there is a drop-down list where you can chose
7674  which template should be used.
7675  Just below the template drop-down, there's a text area with a short blurb
7676  about the chosen template that should help you use it.
7677  Most often, it will provide a short description of the template, and a
7678  few hints on how to parameterize the use of it.
7679  Further down, you'll find a filename input field along with a 
7680 \begin_inset Quotes eld
7681 \end_inset 
7682
7683 Browse
7684 \begin_inset Quotes erd
7685 \end_inset 
7686
7687  button that allows you to chose which file should be included with the
7688  standard file browser.
7689  Thus this field specifies the original file.
7690  Since the produced file is automatically generated when needed, there is
7691  no need to give access to it in the user interface.
7692 \layout Standard
7693
7694 At the bottom of the dialog, you'll find a general input box called 
7695 \family sans 
7696 Parameters
7697 \family default 
7698 .
7699  This box is generally used to parameterize the specific template.
7700  The specific use should be covered in the help blurb associated with the
7701  template, but it typically allows you to define variations on how the produced
7702  file should be generated.
7703 \layout Standard
7704
7705 At the right side of the dialog, you'll find three buttons: 
7706 \family sans 
7707 Edit
7708 \family default 
7709 \SpecialChar ~
7710
7711 \family sans 
7712 file
7713 \family default 
7714
7715 \family sans 
7716 View
7717 \family default 
7718 \SpecialChar ~
7719
7720 \family sans 
7721 result
7722 \family default 
7723 , and 
7724 \family sans 
7725 Update
7726 \family default 
7727 \SpecialChar ~
7728
7729 \family sans 
7730 result
7731 \family default 
7732 .
7733  These in turn allow you to edit your original file with the appropriate
7734  editing application, view the produced file as included in the primary
7735  format document, and finally force an update of the resulting material
7736  in the primary format.
7737  Normally, the 
7738 \family sans 
7739 Update
7740 \family default 
7741 \SpecialChar ~
7742
7743 \family sans 
7744 result
7745 \family default 
7746  button will be disabled, because most templates are configured to automatically
7747  update the produced file when needed.
7748  In those cases, there is no need to force the production of a new produced
7749  file.
7750  However, some templates are configured to not be automatically producing
7751  the residual product, because the cost of producing the produced file might
7752  be so large that it would be a pain to do it all the time.
7753  Those types are known as 
7754 \emph on 
7755 manual
7756 \emph default 
7757  external material.
7758  In those cases, you can use the button to force the production of the produced
7759  file exactly when you need it, and thus control the amount of work that
7760  is done.
7761  In fact, it is 
7762 \emph on 
7763 your
7764 \emph default 
7765  responsibility to do this to keep the produced files current at all times:
7766  before printing, before exporting, before viewing, etc.
7767  At some time in the future, it might be possible that LyX will help you
7768  with this task.Any changes in the template, filename or parameters are actually
7769  applied whenever you press 
7770 \family sans 
7771 Edit file
7772 \family default 
7773
7774 \family sans 
7775 View
7776 \family default 
7777 \SpecialChar ~
7778
7779 \family sans 
7780 result
7781 \family default 
7782  or 
7783 \family sans 
7784 Update
7785 \family default 
7786 \SpecialChar ~
7787
7788 \family sans 
7789 result
7790 \family default 
7791  buttons.
7792 \layout Section
7793
7794 Examples
7795 \layout Standard
7796
7797 In this section, we should include some examples of use of the external
7798  material.
7799  Those examples could include:
7800 \layout Itemize
7801
7802 External raster images
7803 \layout Itemize
7804
7805 External XFig figures
7806 \layout Itemize
7807
7808 Chess diagrams
7809 \layout Itemize
7810
7811 Sound samples
7812 \layout Itemize
7813
7814 The use of makefiles
7815 \layout Itemize
7816
7817 Recursive external LyX templates
7818 \layout Section
7819
7820 The external template configuration file
7821 \layout Standard
7822
7823 It is relatively easy to add custom external template definitions to LyX.
7824  However, be aware this doing this in an careless manner most probably 
7825 \emph on 
7826 will
7827 \emph default 
7828  introduce an easily exploitable security hole.
7829  So before you do this, please read the discussion about security which
7830  will follow later.
7831 \layout Standard
7832
7833 Having said that, we encourage you to submit any interesting templates that
7834  you create.
7835  
7836 \layout Standard
7837
7838 The external templates are defined in the 
7839 \family typewriter 
7840 lib/external_templates
7841 \family default 
7842  file.
7843  You can place your own version in 
7844 \family typewriter 
7845 .lyx/external_templates
7846 \family default 
7847 .
7848  At some point in time, hopefully somebody will document the template contents,
7849  and the syntax used to define your templates.
7850 \layout Section
7851
7852 The substitution mechanism
7853 \layout Standard
7854
7855 When the external material facility invokes an external program, it is done
7856  on the basis of a command defined in the template configuration file.
7857  These commands can contain various macros that are expanded before execution.
7858  Execution always take place in the directory of the containing document.
7859 \layout Standard
7860
7861 Also, whenever external material is to be displayed, the name will be produced
7862  by the substitution mechanism.
7863 \layout Standard
7864
7865 The available macros are the following:
7866 \layout Description
7867
7868 $$FName The filename of the file specified in the external material dialog.
7869 \layout Description
7870
7871 $$Basename The filename without the extension.
7872 \layout Description
7873
7874 $$Tempname A name and full path to a temporary file which will be automatically
7875  deleted whenever the containing document is closed, or the external material
7876  insertion deleted.
7877 \layout Description
7878
7879 $$Contents(
7880 \begin_inset Quotes eld
7881 \end_inset 
7882
7883 filename.ext
7884 \begin_inset Quotes erd
7885 \end_inset 
7886
7887 ) This macro will expand to the contents of the file with the name 
7888 \family typewriter 
7889 filename.ext
7890 \family default 
7891 .
7892 \layout Description
7893
7894 $$Sysdir This macro will expand to the absolute path of the system directory.
7895  This is typically used to point to the various helper scripts that are
7896  bundled with LyX.
7897 \layout Standard
7898
7899 In addition to these, the facility will expand general environment variables
7900  with a syntax like 
7901 \family typewriter 
7902 ${PATH}
7903 \family default 
7904 .
7905 \layout Section
7906
7907 Security discussion
7908 \layout Standard
7909
7910 The external material feature interfaces with a lot of external programs
7911  and does so automatically, so we have to consider the security implications
7912  of this.
7913  In particular, since you have the option of including your own filenames
7914  and/or parameter strings and those are expanded into a command, it seems
7915  that it would be possible to create a malicious document which executes
7916  arbitrary commands when a user views or prints the document.
7917  This is something we definately want to avoid.
7918 \layout Standard
7919
7920 However, since the external program commands are specified in the template
7921  configuration file only, there are no security issues if LyX is properly
7922  configured with safe templates only.
7923  This is so because the external programs are invoked with the 
7924 \family typewriter 
7925 execvp
7926 \family default 
7927 -system call rather than the 
7928 \family typewriter 
7929 system
7930 \family default 
7931  system-call, so it's not possible to execute arbitrary commands from the
7932  filename or parameter section via the shell.
7933 \layout Standard
7934
7935 This also implies that you are restricted in what command strings you can
7936  use in the external material templates.
7937  In particular, pipes and redirection are not readily available.
7938  This has to be so if LyX should remain safe.
7939  If you want to use some of the shell features, you should write a safe
7940  script to do this in a controlled manner, and then invoke the script from
7941  the command string.
7942  In the 
7943 \family typewriter 
7944 lib/scripts
7945 \family default 
7946  directory of the LyX installation, you can find a safe wrapper script 
7947 \family typewriter 
7948 general_command_wrapper.py
7949 \family default 
7950  that supports redirection of input and output.
7951  That can serve as an example for how to write safe template scripts.
7952  For a more advanced example that uses 
7953 \family typewriter 
7954 fork
7955 \family default 
7956  and friends, take a look at the 
7957 \family typewriter 
7958 pic2ascii.py
7959 \family default 
7960  converter script.
7961 \layout Standard
7962
7963 It is possible to design a template that interacts directly with the shell,
7964  but since this would allow a malicious user to execute arbitrary commands
7965  by writing clever filenames and/or parameters, we generally recommend that
7966  you only use safe scripts that work with the 
7967 \family typewriter 
7968 execvp
7969 \family default 
7970  system call in a controlled manner.
7971  Of course, for use in a controlled environment, it can be tempting to just
7972  fall back to use ordinary shell scripts.
7973  If you do so, be aware that you 
7974 \emph on 
7975 will
7976 \emph default 
7977  provide an easily exploitable security hole in your system.
7978  Of course it stands to reason that such unsafe templates will never be
7979  included in the standard LyX distribution, although we do encourage people
7980  to submit new templates in the open source tradition.
7981  But LyX as shipped from the official distribution channels will never have
7982  unsafe templates.
7983 \layout Standard
7984
7985 Including external material provides a lot of power, and you have to be
7986  careful not to introduce security hazards with this power.
7987  A subtle error in a single line in an innocent looking script can open
7988  the door to huge security problems.
7989  So if you do not fully understand the issues, we recommend that you consult
7990  a knowledgable security professional or the LyX development team if you
7991  have any questions about whether a given template is safe or not.
7992  And do this before you use it in an uncontrolled environment.
7993 \layout Chapter
7994
7995 The LyX Server
7996 \layout Section
7997
7998 Introduction
7999 \layout Standard
8000
8001 The LyX server is a method implemented in LyX that will enable other programs
8002  to talk to LyX, invoke LyX commands, and retrieve information about the
8003  LyX internal state.
8004  This is only intended for advanced users, but they should find it useful.
8005 \layout Section
8006
8007 Starting the LyX Server
8008 \layout Standard
8009
8010 The LyX server works through the use of a pair of named pipes.
8011  These are usually located in your home directory and have the names 
8012 \begin_inset Quotes eld
8013 \end_inset 
8014
8015
8016 \family typewriter 
8017 .lyxpipe.in
8018 \family default 
8019
8020 \begin_inset Quotes erd
8021 \end_inset 
8022
8023  and 
8024 \begin_inset Quotes eld
8025 \end_inset 
8026
8027
8028 \family typewriter 
8029 .lyxpipe.out
8030 \family default 
8031
8032 \begin_inset Quotes erd
8033 \end_inset 
8034
8035 .
8036  External programs write into 
8037 \family typewriter 
8038 .lyxpipe.in
8039 \family default 
8040  and read back data from 
8041 \family typewriter 
8042 .lyxpipe.out
8043 \family default 
8044 .
8045  The stem of the pipe names can be defined in the 
8046 \family sans 
8047 \bar under 
8048 T
8049 \bar default 
8050 ools\SpecialChar \menuseparator
8051
8052 \bar under 
8053 P
8054 \bar default 
8055 references
8056 \family default 
8057  dialog, for example 
8058 \family typewriter 
8059 "/home/myhome/.lyxpipe"
8060 \family default 
8061 .
8062 \layout Standard
8063
8064 LyX will add the '
8065 \family typewriter 
8066 .in
8067 \family default 
8068 ' and '
8069 \family typewriter 
8070 .out
8071 \family default 
8072 ' to create the pipes.
8073  The above setting also has the effect of activating the LyX server.
8074  If one of the pipes already exists, LyX will assume that another LyX process
8075  is already running and will not start the server.
8076  To have several LyX processes with servers at the same time, you have to
8077  change the configuration between the start of the programs.
8078 \layout Standard
8079
8080 If you are developing a client program, you might find it useful to enable
8081  debugging information from the LyX server.
8082  Do this by starting LyX as 
8083 \family typewriter 
8084 lyx -dbg lyxserver.
8085 \layout Standard
8086
8087 Warning: if LyX crashes, it may not manage to remove the pipes; in this
8088  case you must remove them manually.
8089  If LyX starts and the pipes exist already, it will not start any server.
8090 \layout Standard
8091
8092 Other than this, there are a few points to consider:
8093 \layout Itemize
8094
8095 Both server and clients must run on UNIX or OS/2 machines.
8096  Communications between LyX on UNIX and clients on OS/2 or vice versa is
8097  not possible right now.
8098 \layout Itemize
8099
8100 On OS/2, only one client can connect to LyXServer at a time.
8101 \layout Itemize
8102
8103 On OS/2, clients must open inpipe with 
8104 \family typewriter 
8105 O_WRONLY
8106 \family default 
8107  mode.
8108 \layout Standard
8109
8110 You can find a complete example client written in C in the source distribution
8111  as 
8112 \family typewriter 
8113 development/server_monitor.c
8114 \family default 
8115 .
8116 \layout Section
8117
8118 Normal communication
8119 \layout Standard
8120
8121 To issue a LyX call, the client writes a line of ASCII text into the input
8122  pipe.
8123  This line has the following format:
8124 \layout Quote
8125
8126 LYXCMD:
8127 \emph on 
8128 clientname
8129 \emph default 
8130 :
8131 \emph on 
8132 function
8133 \emph default 
8134 :
8135 \emph on 
8136 argument
8137 \layout Standard
8138
8139 Here 
8140 \emph on 
8141 clientname
8142 \emph default 
8143  is a name that the client can choose arbitrarily.
8144  Its only use is that LyX will echo it if it sends an answer - so a client
8145  can dispatch results from different requesters.
8146 \layout Standard
8147
8148
8149 \emph on 
8150 function
8151 \emph default 
8152  is the function you want LyX to perform.
8153  It is the same as the commands you'd use in the minibuffer.
8154 \layout Standard
8155
8156
8157 \emph on 
8158 argument
8159 \emph default 
8160  is an optional argument which is meaningful only to some functions (for
8161  instance 
8162 \begin_inset Quotes eld
8163 \end_inset 
8164
8165 self-insert
8166 \begin_inset Quotes erd
8167 \end_inset 
8168
8169  which will insert the argument as text at the cursor position.)
8170 \layout Standard
8171
8172 The answer from LyX will arrive in the output pipe and be of the form
8173 \layout Quote
8174
8175 INFO:
8176 \emph on 
8177 clientname
8178 \emph default 
8179 :
8180 \emph on 
8181 function
8182 \emph default 
8183 :
8184 \emph on 
8185 data
8186 \layout Standard
8187
8188 where 
8189 \emph on 
8190 clientname
8191 \emph default 
8192  and 
8193 \emph on 
8194 function
8195 \emph default 
8196  are just echoed from the command request, while 
8197 \emph on 
8198 data
8199 \emph default 
8200  is more or less useful information filled according to how the command
8201  execution worked out.
8202  Some commands will return information about the internal state of LyX,
8203  such as 
8204 \begin_inset Quotes eld
8205 \end_inset 
8206
8207 font-state
8208 \begin_inset Quotes erd
8209 \end_inset 
8210
8211 , while other will return an empty data-response.
8212  This means that the command execution went fine.
8213 \layout Standard
8214
8215 In case of errors, the response from LyX will have this form
8216 \layout Quote
8217
8218 ERROR:
8219 \emph on 
8220 clientname
8221 \emph default 
8222 :
8223 \emph on 
8224 function
8225 \emph default 
8226 :
8227 \emph on 
8228 error message
8229 \layout Standard
8230
8231 where the 
8232 \emph on 
8233 error message
8234 \emph default 
8235  should contain an explanation of why the command failed.
8236 \layout Standard
8237
8238 Examples:
8239 \layout LyX-Code
8240
8241 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
8242 \layout LyX-Code
8243
8244 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
8245 \newline 
8246 read a <~/.lyxpipe.out
8247 \newline 
8248 echo $a
8249 \layout Section
8250
8251 Notification
8252 \layout Standard
8253
8254 LyX can notify clients of events going on asynchronously.
8255  Currently it will only do this if the user binds a key sequence with the
8256  function 
8257 \begin_inset Quotes eld
8258 \end_inset 
8259
8260 notify
8261 \begin_inset Quotes erd
8262 \end_inset 
8263
8264 .
8265  The format of the string LyX sends is as follows:
8266 \layout Quote
8267
8268
8269 \family typewriter 
8270 NOTIFY:
8271 \family default 
8272 \emph on 
8273 key-sequence
8274 \layout Standard
8275
8276 where 
8277 \emph on 
8278 key-sequence
8279 \emph default 
8280  is the printed representation of the key sequence that was actually typed
8281  by the user.
8282 \layout Standard
8283
8284 This mechanism can be used to extend LyX's command set and implement macros:
8285  bind some key sequence to 
8286 \begin_inset Quotes eld
8287 \end_inset 
8288
8289 notify
8290 \begin_inset Quotes erd
8291 \end_inset 
8292
8293 , start a client that listens on the out pipe, dispatches the command according
8294  to the sequence and starts a function that may use LyX calls and LyX requests
8295  to issue a command or a series of commands to LyX.
8296 \layout Section
8297
8298 The simple LyX Server Protocol
8299 \layout Standard
8300
8301 LyX implements a simple protocol that can be used for session management.
8302  All messages are of the form
8303 \layout Quote
8304
8305 LYXSRV:
8306 \emph on 
8307 clientname
8308 \emph default 
8309 :
8310 \emph on 
8311 protocol message
8312 \layout Standard
8313
8314 where 
8315 \emph on 
8316 protocol message
8317 \emph default 
8318  can be 
8319 \begin_inset Quotes eld
8320 \end_inset 
8321
8322 hello
8323 \begin_inset Quotes erd
8324 \end_inset 
8325
8326  or 
8327 \begin_inset Quotes eld
8328 \end_inset 
8329
8330 bye
8331 \begin_inset Quotes erd
8332 \end_inset 
8333
8334 .
8335  If 
8336 \begin_inset Quotes eld
8337 \end_inset 
8338
8339 hello
8340 \begin_inset Quotes erd
8341 \end_inset 
8342
8343  is received from a client, LyX will report back to inform the client that
8344  it's listening to it's messages, while 
8345 \begin_inset Quotes eld
8346 \end_inset 
8347
8348 bye
8349 \begin_inset Quotes erd
8350 \end_inset 
8351
8352  sent from LyX will inform clients that LyX is closing.
8353 \layout Chapter
8354 \start_of_appendix 
8355 Bindings
8356 \layout Standard
8357
8358 This appendix is a huge cross-reference to all the English language keybindings.
8359  Originally, we simply wanted to list all of the key bindings followed by
8360  the function it's bound to.
8361  That way, a user can look up a key to find out what it does.
8362  We then decided, what the hey, why not include the default toolbar and
8363  menu bindings, too.
8364  Please note this section is likely to be very out of date.
8365 \layout Standard
8366
8367 The form is really self-explanatory, but here are a few tips: all entries
8368  are arranged roughly alphabetically for a given modifier (
8369 \family sans 
8370 C-a
8371 \family default 
8372
8373 \family sans 
8374 C-b
8375 \family default 
8376 , etc.).
8377  For the general keyboard layout, simpler prefixes precede the more complex
8378  (
8379 \family sans 
8380 C-s
8381 \family default 
8382  before 
8383 \family sans 
8384 C-S-c
8385 \family default 
8386 ).
8387  All entries were gleaned from the default user interface and binding files
8388  located in the directories 
8389 \family typewriter 
8390 \SpecialChar \ldots{}
8391 /share/lyx/ui
8392 \family default 
8393  and 
8394 \family typewriter 
8395 \SpecialChar \ldots{}
8396 /share/lyx/bind
8397 \family default 
8398 ; they should be treated as the final word on the bindings.
8399 \layout Standard
8400
8401 As a final note, be aware that some window managers (such as FVWM) take
8402  control of some of the function keys or motion keys.
8403  
8404 \family sans 
8405 C-right
8406 \family default 
8407  is listed here as generating 
8408 \family typewriter 
8409 word-forward
8410 \family default 
8411 , but FVWM grabs it and uses it to change virtual desktops instead.
8412  Very annoying unless you instruct your window manager to stop intercepting
8413  such sequences.
8414 \layout Section
8415
8416 Toolbar
8417 \layout LyX-Code
8418
8419 Toolbar
8420 \layout LyX-Code
8421
8422     Layouts
8423 \layout LyX-Code
8424
8425     Icon "buffer-open"
8426 \layout LyX-Code
8427
8428     Icon "buffer-write"
8429 \layout LyX-Code
8430
8431     Icon "buffer-print"
8432 \layout LyX-Code
8433
8434     Separator
8435 \layout LyX-Code
8436
8437     Icon "cut"
8438 \layout LyX-Code
8439
8440     Icon "copy"
8441 \layout LyX-Code
8442
8443     Icon "paste"
8444 \layout LyX-Code
8445
8446     Separator
8447 \layout LyX-Code
8448
8449     Icon "font-emph"
8450 \layout LyX-Code
8451
8452     Icon "font-noun"
8453 \layout LyX-Code
8454
8455     Icon "font-free"
8456 \layout LyX-Code
8457
8458     Separator
8459 \layout LyX-Code
8460
8461     Icon "tex-mode"
8462 \layout LyX-Code
8463
8464     Icon "math-mode"
8465 \layout LyX-Code
8466
8467     Separator
8468 \layout LyX-Code
8469
8470     Icon "footnote-insert"
8471 \layout LyX-Code
8472
8473     Icon "marginpar-insert"
8474 \layout LyX-Code
8475
8476     Icon "depth-next"
8477 \layout LyX-Code
8478
8479     Separator
8480 \layout LyX-Code
8481
8482     Icon "figure-insert"
8483 \layout LyX-Code
8484
8485     Icon "dialog-tabular-insert"
8486 \layout LyX-Code
8487
8488 End
8489 \layout Section
8490
8491 Menu
8492 \layout Subsection
8493
8494 File
8495 \layout List
8496 \labelwidthstring 00.00.0000
8497
8498
8499 \family sans 
8500 M-f\SpecialChar ~
8501
8502 \family typewriter 
8503 buffer-write-as
8504 \layout List
8505 \labelwidthstring 00.00.0000
8506
8507
8508 \family sans 
8509 M-f\SpecialChar ~
8510 c
8511 \family default 
8512  
8513 \family typewriter 
8514 buffer-close
8515 \layout List
8516 \labelwidthstring 00.00.0000
8517
8518
8519 \family sans 
8520 M-f\SpecialChar ~
8521 d
8522 \family default 
8523  
8524 \family typewriter 
8525 buffer-reload
8526 \layout List
8527 \labelwidthstring 00.00.0000
8528
8529
8530 \family sans 
8531 M-f\SpecialChar ~
8532 e
8533 \family default 
8534  
8535 \family typewriter 
8536 file_export
8537 \family default 
8538  submenu
8539 \layout List
8540 \labelwidthstring 00.00.0000
8541
8542
8543 \family sans 
8544 M-f\SpecialChar ~
8545
8546 \family typewriter 
8547 buffer-export fax
8548 \layout List
8549 \labelwidthstring 00.00.0000
8550
8551
8552 \family sans 
8553 M-f\SpecialChar ~
8554 i
8555 \family default 
8556  
8557 \family typewriter 
8558 file_import
8559 \family default 
8560  submenu
8561 \layout List
8562 \labelwidthstring 00.00.0000
8563
8564
8565 \family sans 
8566 M-f\SpecialChar ~
8567
8568 \family typewriter 
8569 buffer-new
8570 \layout List
8571 \labelwidthstring 00.00.0000
8572
8573
8574 \family sans 
8575 M-f\SpecialChar ~
8576 o
8577 \family default 
8578  
8579 \family typewriter 
8580 buffer-open
8581 \layout List
8582 \labelwidthstring 00.00.0000
8583
8584
8585 \family sans 
8586 M-f\SpecialChar ~
8587 p
8588 \family default 
8589  
8590 \family typewriter 
8591 buffer-print
8592 \layout List
8593 \labelwidthstring 00.00.0000
8594
8595
8596 \family sans 
8597 M-f\SpecialChar ~
8598 s
8599 \family default 
8600  
8601 \family typewriter 
8602 buffer-write
8603 \layout List
8604 \labelwidthstring 00.00.0000
8605
8606
8607 \family sans 
8608 M-f\SpecialChar ~
8609
8610 \family typewriter 
8611 buffer-new-template
8612 \layout List
8613 \labelwidthstring 00.00.0000
8614
8615
8616 \family sans 
8617 M-f\SpecialChar ~
8618 v
8619 \family typewriter 
8620  file_vc
8621 \family default 
8622  submenu 
8623 \begin_deeper 
8624 \layout List
8625 \labelwidthstring 00.00.0000
8626
8627
8628 \family sans 
8629 h
8630 \family typewriter 
8631  vc-history 
8632 \layout List
8633 \labelwidthstring 00.00.0000
8634
8635
8636 \family sans 
8637 i
8638 \family typewriter 
8639  vc-check-in
8640 \layout List
8641 \labelwidthstring 00.00.0000
8642
8643
8644 \family sans 
8645 l
8646 \family typewriter 
8647  vc-revert
8648 \layout List
8649 \labelwidthstring 00.00.0000
8650
8651
8652 \family sans 
8653 o
8654 \family typewriter 
8655  vc-check-out
8656 \layout List
8657 \labelwidthstring 00.00.0000
8658
8659
8660 \family sans 
8661 r
8662 \family typewriter 
8663  vc-register
8664 \layout List
8665 \labelwidthstring 00.00.0000
8666
8667
8668 \family sans 
8669 u
8670 \family typewriter 
8671  vc-undo-last
8672 \end_deeper 
8673 \layout List
8674 \labelwidthstring 00.00.0000
8675
8676
8677 \family sans 
8678 M-f\SpecialChar ~
8679
8680 \family typewriter 
8681 lyx-quit
8682 \layout Subsection
8683
8684 Edit
8685 \layout List
8686 \labelwidthstring 00.00.0000
8687
8688
8689 \family sans 
8690 M-e\SpecialChar ~
8691 a
8692 \family default 
8693  
8694 \family typewriter 
8695 paste
8696 \layout List
8697 \labelwidthstring 00.00.0000
8698
8699
8700 \family sans 
8701 M-e\SpecialChar ~
8702 c
8703 \family default 
8704  
8705 \family typewriter 
8706 cut
8707 \layout List
8708 \labelwidthstring 00.00.0000
8709
8710
8711 \family sans 
8712 M-e\SpecialChar ~
8713 d
8714 \family default 
8715  
8716 \family typewriter 
8717 redo
8718 \layout List
8719 \labelwidthstring 00.00.0000
8720
8721
8722 \family sans 
8723 M-e\SpecialChar ~
8724 e
8725 \family default 
8726  
8727 \family typewriter 
8728 error-remove-all
8729 \layout List
8730 \labelwidthstring 00.00.0000
8731
8732
8733 \family sans 
8734 M-e\SpecialChar ~
8735 f
8736 \family default 
8737  
8738 \family typewriter 
8739 find-replace
8740 \layout List
8741 \labelwidthstring 00.00.0000
8742
8743
8744 \family sans 
8745 M-e\SpecialChar ~
8746 h
8747 \family default 
8748  
8749 \family typewriter 
8750 buffer-chktex
8751 \layout List
8752 \labelwidthstring 00.00.0000
8753
8754
8755 \family sans 
8756 M-e\SpecialChar ~
8757 i
8758 \family default 
8759  
8760 \family typewriter 
8761 edit_floats
8762 \family default 
8763  submenu
8764 \begin_deeper 
8765 \layout List
8766 \labelwidthstring 00.00.0000
8767
8768
8769 \family sans 
8770 a
8771 \family default 
8772  
8773 \family typewriter 
8774 tabular-feature append-row
8775 \layout List
8776 \labelwidthstring 00.00.0000
8777
8778
8779 \family sans 
8780 b
8781 \family default 
8782  
8783 \family typewriter 
8784 tabular-feature toggle-line-bottom
8785 \layout List
8786 \labelwidthstring 00.00.0000
8787
8788
8789 \family sans 
8790 c
8791 \family default 
8792  
8793 \family typewriter 
8794 tabular-feature align-center
8795 \layout List
8796 \labelwidthstring 00.00.0000
8797
8798
8799 \family sans 
8800 d
8801 \family default 
8802  
8803 \family typewriter 
8804 tabular-feature delete-column
8805 \layout List
8806 \labelwidthstring 00.00.0000
8807
8808
8809 \family sans 
8810 e
8811 \family default 
8812  
8813 \family typewriter 
8814 tabular-feature align-left
8815 \layout List
8816 \labelwidthstring 00.00.0000
8817
8818
8819 \family sans 
8820 i
8821 \family default 
8822  
8823 \family typewriter 
8824 tabular-feature align-right
8825 \layout List
8826 \labelwidthstring 00.00.0000
8827
8828
8829 \family sans 
8830 l
8831 \family default 
8832  
8833 \family typewriter 
8834 tabular-feature toggle-line-left
8835 \layout List
8836 \labelwidthstring 00.00.0000
8837
8838
8839 \family sans 
8840 m
8841 \family default 
8842  
8843 \family typewriter 
8844 tabular-feature multicolumn
8845 \layout List
8846 \labelwidthstring 00.00.0000
8847
8848
8849 \family sans 
8850 n
8851 \family default 
8852  
8853 \family typewriter 
8854 tabular-feature valign-center
8855 \layout List
8856 \labelwidthstring 00.00.0000
8857
8858
8859 \family sans 
8860 o
8861 \family default 
8862  
8863 \family typewriter 
8864 tabular-feature valign-top
8865 \layout List
8866 \labelwidthstring 00.00.0000
8867
8868
8869 \family sans 
8870 r
8871 \family default 
8872  
8873 \family typewriter 
8874 tabular-feature toggle-line-right
8875 \layout List
8876 \labelwidthstring 00.00.0000
8877
8878
8879 \family sans 
8880 t
8881 \family default 
8882  
8883 \family typewriter 
8884 tabular-feature toggle-line-top
8885 \layout List
8886 \labelwidthstring 00.00.0000
8887
8888
8889 \family sans 
8890 u
8891 \family default 
8892  
8893 \family typewriter 
8894 tabular-feature append-column
8895 \layout List
8896 \labelwidthstring 00.00.0000
8897
8898
8899 \family sans 
8900 v
8901 \family default 
8902  
8903 \family typewriter 
8904 tabular-feature valign-bottom
8905 \layout List
8906 \labelwidthstring 00.00.0000
8907
8908
8909 \family sans 
8910 w
8911 \family default 
8912  
8913 \family typewriter 
8914 tabular-feature delete-row
8915 \end_deeper 
8916 \layout List
8917 \labelwidthstring 00.00.0000
8918
8919
8920 \family sans 
8921 M-e\SpecialChar ~
8922 l
8923 \family default 
8924  
8925 \family typewriter 
8926 math-panel
8927 \begin_deeper 
8928 \layout List
8929 \labelwidthstring 00.00.0000
8930
8931
8932 \family sans 
8933 a
8934 \family typewriter 
8935  floats-operate openfoot
8936 \layout List
8937 \labelwidthstring 00.00.0000
8938
8939
8940 \family sans 
8941 c
8942 \family typewriter 
8943  floats-operate closefoot
8944 \layout List
8945 \labelwidthstring 00.00.0000
8946
8947
8948 \family sans 
8949 f
8950 \family typewriter 
8951  floats-operate openfig
8952 \layout List
8953 \labelwidthstring 00.00.0000
8954
8955
8956 \family sans 
8957 m
8958 \family typewriter 
8959  melt
8960 \layout List
8961 \labelwidthstring 00.00.0000
8962
8963
8964 \family sans 
8965 o
8966 \family typewriter 
8967  open-stuff
8968 \layout List
8969 \labelwidthstring 00.00.0000
8970
8971
8972 \family sans 
8973 t
8974 \family typewriter 
8975  floats-operate closefig
8976 \end_deeper 
8977 \layout List
8978 \labelwidthstring 00.00.0000
8979
8980
8981 \family sans 
8982 M-e\SpecialChar ~
8983 o
8984 \family default 
8985  
8986 \family typewriter 
8987 copy
8988 \layout List
8989 \labelwidthstring 00.00.0000
8990
8991
8992 \family sans 
8993 M-e\SpecialChar ~
8994 p
8995 \family default 
8996  
8997 \family typewriter 
8998 dialog-preferences
8999 \family sans 
9000  
9001 \layout List
9002 \labelwidthstring 00.00.0000
9003
9004
9005 \family sans 
9006 M-e\SpecialChar ~
9007 r
9008 \family default 
9009  
9010 \family typewriter 
9011 reconfigure
9012 \layout List
9013 \labelwidthstring 00.00.0000
9014
9015
9016 \family sans 
9017 M-e\SpecialChar ~
9018 s
9019 \family default 
9020  
9021 \family typewriter 
9022 spellchecker
9023 \layout List
9024 \labelwidthstring 00.00.0000
9025
9026
9027 \family sans 
9028 M-e\SpecialChar ~
9029 t
9030 \family default 
9031  
9032 \family typewriter 
9033 edit_tabular
9034 \family default 
9035  submenu
9036 \layout List
9037 \labelwidthstring 00.00.0000
9038
9039
9040 \family sans 
9041 M-e\SpecialChar ~
9042
9043 \family typewriter 
9044 undo
9045 \layout List
9046 \labelwidthstring 00.00.0000
9047
9048
9049 \family sans 
9050 M-e\SpecialChar ~
9051
9052 \family typewriter 
9053 edit_paste
9054 \family default 
9055  submenu
9056 \begin_deeper 
9057 \layout List
9058 \labelwidthstring 00.00.0000
9059
9060
9061 \family sans 
9062 l
9063 \family default 
9064  
9065 \family typewriter 
9066 primary-selection-paste
9067 \layout List
9068 \labelwidthstring 00.00.0000
9069
9070
9071 \family sans 
9072 p
9073 \family default 
9074  
9075 \family typewriter 
9076 primary-selection-paste paragraph
9077 \end_deeper 
9078 \layout Subsection
9079
9080 Insert
9081 \layout List
9082 \labelwidthstring 00.00.0000
9083
9084
9085 \family sans 
9086 M-i\SpecialChar ~
9087 a
9088 \family default 
9089  
9090 \family typewriter 
9091 insert_floats
9092 \family default 
9093  submenu
9094 \begin_deeper 
9095 \layout List
9096 \labelwidthstring 00.00.0000
9097
9098
9099 \family sans 
9100 a
9101 \family default 
9102  
9103 \family typewriter 
9104 buffer-float-insert algorithm
9105 \layout List
9106 \labelwidthstring 00.00.0000
9107
9108
9109 \family sans 
9110 d
9111 \family default 
9112  
9113 \family typewriter 
9114 buffer-float-insert wide-tab
9115 \layout List
9116 \labelwidthstring 00.00.0000
9117
9118
9119 \family sans 
9120 f
9121 \family default 
9122  
9123 \family typewriter 
9124 buffer-float-insert figure
9125 \layout List
9126 \labelwidthstring 00.00.0000
9127
9128
9129 \family sans 
9130 t
9131 \family default 
9132  
9133 \family typewriter 
9134 buffer-float-insert table
9135 \layout List
9136 \labelwidthstring 00.00.0000
9137
9138
9139 \family sans 
9140 w
9141 \family default 
9142  
9143 \family typewriter 
9144 buffer-float-insert wide-fig
9145 \end_deeper 
9146 \layout List
9147 \labelwidthstring 00.00.0000
9148
9149
9150 \family sans 
9151 M-i\SpecialChar ~
9152 b
9153 \family default 
9154  
9155 \family typewriter 
9156 dialog-tabular-insert
9157 \layout List
9158 \labelwidthstring 00.00.0000
9159
9160
9161 \family sans 
9162 M-i\SpecialChar ~
9163 c
9164 \family default 
9165  
9166 \family typewriter 
9167 citation-insert
9168 \layout List
9169 \labelwidthstring 00.00.0000
9170
9171
9172 \family sans 
9173 M-i\SpecialChar ~
9174 d
9175 \family default 
9176  
9177 \family typewriter 
9178 math-display
9179 \layout List
9180 \labelwidthstring 00.00.0000
9181
9182
9183 \family sans 
9184 M-i\SpecialChar ~
9185 e
9186 \family default 
9187  
9188 \family typewriter 
9189 buffer-child-insert
9190 \layout List
9191 \labelwidthstring 00.00.0000
9192
9193
9194 \family sans 
9195 M-i\SpecialChar ~
9196 f
9197 \family default 
9198  
9199 \family typewriter 
9200 footnote-insert
9201 \layout List
9202 \labelwidthstring 00.00.0000
9203
9204
9205 \family sans 
9206 M-i\SpecialChar ~
9207 g
9208 \family default 
9209  
9210 \family typewriter 
9211 figure-insert
9212 \layout List
9213 \labelwidthstring 00.00.0000
9214
9215
9216 \family sans 
9217 M-i\SpecialChar ~
9218 h
9219 \family default 
9220  
9221 \family typewriter 
9222 math-mode
9223 \layout List
9224 \labelwidthstring 00.00.0000
9225
9226
9227 \family sans 
9228 M-i\SpecialChar ~
9229 i
9230 \family default 
9231  
9232 \family typewriter 
9233 index-insert
9234 \layout List
9235 \labelwidthstring 00.00.0000
9236
9237
9238 \family sans 
9239 M-i\SpecialChar ~
9240 l
9241 \family default 
9242  
9243 \family typewriter 
9244 label-insert
9245 \layout List
9246 \labelwidthstring 00.00.0000
9247
9248
9249 \family sans 
9250 M-i\SpecialChar ~
9251 m
9252 \family default 
9253  
9254 \family typewriter 
9255 marginpar-insert
9256 \layout List
9257 \labelwidthstring 00.00.0000
9258
9259
9260 \family sans 
9261 M-i\SpecialChar ~
9262 n
9263 \family default 
9264  
9265 \family typewriter 
9266 note-insert
9267 \layout List
9268 \labelwidthstring 00.00.0000
9269
9270
9271 \family sans 
9272 M-i\SpecialChar ~
9273 o
9274 \family default 
9275  
9276 \family typewriter 
9277 insert_toc
9278 \family default 
9279  submenu
9280 \begin_deeper 
9281 \layout List
9282 \labelwidthstring 00.00.0000
9283
9284
9285 \family sans 
9286 a
9287 \family default 
9288  
9289 \family typewriter 
9290 loa-insert
9291 \layout List
9292 \labelwidthstring 00.00.0000
9293
9294
9295 \family sans 
9296 b
9297 \family default 
9298  
9299 \family typewriter 
9300 bibtex-insert
9301 \layout List
9302 \labelwidthstring 00.00.0000
9303
9304
9305 \family sans 
9306 c
9307 \family default 
9308  
9309 \family typewriter 
9310 toc-insert
9311 \layout List
9312 \labelwidthstring 00.00.0000
9313
9314
9315 \family sans 
9316 f
9317 \family default 
9318  
9319 \family typewriter 
9320 lof-insert
9321 \layout List
9322 \labelwidthstring 00.00.0000
9323
9324
9325 \family sans 
9326 i
9327 \family default 
9328  
9329 \family typewriter 
9330 index-print
9331 \layout List
9332 \labelwidthstring 00.00.0000
9333
9334
9335 \family sans 
9336 t
9337 \family default 
9338  
9339 \family typewriter 
9340 lot-insert
9341 \end_deeper 
9342 \layout List
9343 \labelwidthstring 00.00.0000
9344
9345
9346 \family sans 
9347 M-i\SpecialChar ~
9348 r
9349 \family default 
9350  
9351 \family typewriter 
9352 reference-insert
9353 \layout List
9354 \labelwidthstring 00.00.0000
9355
9356
9357 \family sans 
9358 M-i\SpecialChar ~
9359 s
9360 \family default 
9361  
9362 \family typewriter 
9363 insert_special
9364 \family default 
9365  submenu
9366 \begin_deeper 
9367 \layout List
9368 \labelwidthstring 00.00.0000
9369
9370
9371 \family sans 
9372 b
9373 \family default 
9374  
9375 \family typewriter 
9376 protected-space-insert
9377 \layout List
9378 \labelwidthstring 00.00.0000
9379
9380
9381 \family sans 
9382 e
9383 \family default 
9384  
9385 \family typewriter 
9386 end-of-sentence-period-insert
9387 \layout List
9388 \labelwidthstring 00.00.0000
9389
9390
9391 \family sans 
9392 h
9393 \family default 
9394  
9395 \family typewriter 
9396 hfill-insert
9397 \layout List
9398 \labelwidthstring 00.00.0000
9399
9400
9401 \family sans 
9402 i
9403 \family default 
9404  
9405 \family typewriter 
9406 dots-insert
9407 \layout List
9408 \labelwidthstring 00.00.0000
9409
9410
9411 \family sans 
9412 l
9413 \family default 
9414  
9415 \family typewriter 
9416 break-line
9417 \layout List
9418 \labelwidthstring 00.00.0000
9419
9420
9421 \family sans 
9422 m
9423 \family default 
9424  
9425 \family typewriter 
9426 menu-separator-insert
9427 \layout List
9428 \labelwidthstring 00.00.0000
9429
9430
9431 \family sans 
9432 p
9433 \family default 
9434  
9435 \family typewriter 
9436 hyphenation-point-insert
9437 \layout List
9438 \labelwidthstring 00.00.0000
9439
9440
9441 \family sans 
9442 q
9443 \family default 
9444  
9445 \family typewriter 
9446 quote-insert
9447 \layout List
9448 \labelwidthstring 00.00.0000
9449
9450
9451 \family sans 
9452 s
9453 \family default 
9454  
9455 \family typewriter 
9456 command-sequence math-insert ^;math-mode;
9457 \layout List
9458 \labelwidthstring 00.00.0000
9459
9460
9461 \family sans 
9462 u
9463 \family default 
9464  
9465 \family typewriter 
9466 command-sequence math-insert _;math-mode;
9467 \end_deeper 
9468 \layout List
9469 \labelwidthstring 00.00.0000
9470
9471
9472 \family sans 
9473 M-i\SpecialChar ~
9474 t
9475 \family default 
9476  
9477 \family typewriter 
9478 insert_file
9479 \family default 
9480  submenu
9481 \begin_deeper 
9482 \layout List
9483 \labelwidthstring 00.00.0000
9484
9485
9486 \family sans 
9487 l
9488 \family default 
9489  
9490 \family typewriter 
9491 file-insert-ascii lines
9492 \layout List
9493 \labelwidthstring 00.00.0000
9494
9495
9496 \family sans 
9497 p
9498 \family default 
9499  
9500 \family typewriter 
9501 file-insert-ascii paragraphs
9502 \layout List
9503 \labelwidthstring 00.00.0000
9504
9505
9506 \family sans 
9507 x
9508 \family default 
9509  
9510 \family typewriter 
9511 file-insert
9512 \end_deeper 
9513 \layout List
9514 \labelwidthstring 00.00.0000
9515
9516
9517 \family sans 
9518 M-i\SpecialChar ~
9519 u
9520 \family default 
9521  
9522 \family typewriter 
9523 url-insert
9524 \layout List
9525 \labelwidthstring 00.00.0000
9526
9527
9528 \family sans 
9529 M-i\SpecialChar ~
9530 w
9531 \family default 
9532  
9533 \family typewriter 
9534 index-insert-last
9535 \layout List
9536 \labelwidthstring 00.00.0000
9537
9538
9539 \family sans 
9540 M-i\SpecialChar ~
9541 x
9542 \family default 
9543  
9544 \family typewriter 
9545 external-insert
9546 \layout Subsection
9547
9548 Layout
9549 \layout List
9550 \labelwidthstring 00.00.0000
9551
9552
9553 \family sans 
9554 M-l\SpecialChar ~
9555 a
9556 \family default 
9557  
9558 \family typewriter 
9559 appendix
9560 \layout List
9561 \labelwidthstring 00.00.0000
9562
9563
9564 \family sans 
9565 M-l\SpecialChar ~
9566 b
9567 \family default 
9568  
9569 \family typewriter 
9570 font-bold
9571 \layout List
9572 \labelwidthstring 00.00.0000
9573
9574
9575 \family sans 
9576 M-l\SpecialChar ~
9577 c
9578 \family default 
9579  
9580 \family typewriter 
9581 layout-character
9582 \layout List
9583 \labelwidthstring 00.00.0000
9584
9585
9586 \family sans 
9587 M-l\SpecialChar ~
9588 d
9589 \family default 
9590  
9591 \family typewriter 
9592 layout-document
9593 \layout List
9594 \labelwidthstring 00.00.0000
9595
9596
9597 \family sans 
9598 M-l\SpecialChar ~
9599 e
9600 \family default 
9601  
9602 \family typewriter 
9603 font-emph
9604 \layout List
9605 \labelwidthstring 00.00.0000
9606
9607
9608 \family sans 
9609 M-l\SpecialChar ~
9610 l
9611 \family default 
9612  
9613 \family typewriter 
9614 layout-preamble
9615 \layout List
9616 \labelwidthstring 00.00.0000
9617
9618
9619 \family sans 
9620 M-l\SpecialChar ~
9621 n
9622 \family default 
9623  
9624 \family typewriter 
9625 font-noun
9626 \layout List
9627 \labelwidthstring 00.00.0000
9628
9629
9630 \family sans 
9631 M-l\SpecialChar ~
9632 p
9633 \family default 
9634  
9635 \family typewriter 
9636 layout-paragraph
9637 \layout List
9638 \labelwidthstring 00.00.0000
9639
9640
9641 \family sans 
9642 M-l\SpecialChar ~
9643 s
9644 \family default 
9645  
9646 \family typewriter 
9647 layout-save-default
9648 \layout List
9649 \labelwidthstring 00.00.0000
9650
9651
9652 \family sans 
9653 M-l\SpecialChar ~
9654 t
9655 \family default 
9656  
9657 \family typewriter 
9658 layout-tabular
9659 \layout List
9660 \labelwidthstring 00.00.0000
9661
9662
9663 \family sans 
9664 M-l\SpecialChar ~
9665 v
9666 \family default 
9667  
9668 \family typewriter 
9669 depth-increment
9670 \layout List
9671 \labelwidthstring 00.00.0000
9672
9673
9674 \family sans 
9675 M-l\SpecialChar ~
9676 x
9677 \family default 
9678  
9679 \family typewriter 
9680 tex-mode
9681 \layout Subsubsection
9682
9683 L
9684 \family sans 
9685 ayout\SpecialChar \menuseparator
9686 Character
9687 \family default 
9688  
9689 \layout List
9690 \labelwidthstring 00.00.0000
9691
9692
9693 \family sans 
9694 M-c\SpecialChar ~
9695
9696 \family typewriter 
9697 font-bold
9698 \layout List
9699 \labelwidthstring 00.00.0000
9700
9701
9702 \family sans 
9703 M-c\SpecialChar ~
9704
9705 \family typewriter 
9706 font-noun
9707 \layout List
9708 \labelwidthstring 00.00.0000
9709
9710
9711 \family sans 
9712 M-c\SpecialChar ~
9713
9714 \family typewriter 
9715 font-emph
9716 \layout List
9717 \labelwidthstring 00.00.0000
9718
9719
9720 \family sans 
9721 M-c\SpecialChar ~
9722
9723 \family typewriter 
9724 math-mode
9725 \layout List
9726 \labelwidthstring 00.00.0000
9727
9728
9729 \family sans 
9730 M-c\SpecialChar ~
9731 p
9732 \family default 
9733  
9734 \family typewriter 
9735 font-code
9736 \layout List
9737 \labelwidthstring 00.00.0000
9738
9739
9740 \family sans 
9741 M-c\SpecialChar ~
9742
9743 \family typewriter 
9744 font-roman
9745 \layout List
9746 \labelwidthstring 00.00.0000
9747
9748
9749 \family sans 
9750 M-c\SpecialChar ~
9751
9752 \family typewriter 
9753 font-sans
9754 \layout List
9755 \labelwidthstring 00.00.0000
9756
9757
9758 \family sans 
9759 M-c\SpecialChar ~
9760
9761 \family typewriter 
9762 tex-mode
9763 \layout List
9764 \labelwidthstring 00.00.0000
9765
9766
9767 \family sans 
9768 M-c\SpecialChar ~
9769
9770 \family typewriter 
9771 font-underline
9772 \layout List
9773 \labelwidthstring 00.00.0000
9774
9775
9776 \family sans 
9777 M-c\SpecialChar ~
9778 space 
9779 \family typewriter 
9780 font-default
9781 \layout List
9782 \labelwidthstring 00.00.0000
9783
9784
9785 \family sans 
9786 M-c\SpecialChar ~
9787 Down 
9788 \family typewriter 
9789 word-lowcase
9790 \layout List
9791 \labelwidthstring 00.00.0000
9792
9793
9794 \family sans 
9795 M-c\SpecialChar ~
9796 Up 
9797 \family typewriter 
9798 word-upcase
9799 \layout List
9800 \labelwidthstring 00.00.0000
9801
9802
9803 \family sans 
9804 M-c\SpecialChar ~
9805 Right 
9806 \family typewriter 
9807 word-capitalize
9808 \layout List
9809 \labelwidthstring 00.00.0000
9810
9811
9812 \family sans 
9813 M-s\SpecialChar ~
9814
9815 \family typewriter 
9816 font-size huge
9817 \layout List
9818 \labelwidthstring 00.00.0000
9819
9820
9821 \family sans 
9822 M-s\SpecialChar ~
9823 l
9824 \family default 
9825  
9826 \family typewriter 
9827 font-size large
9828 \layout List
9829 \labelwidthstring 00.00.0000
9830
9831
9832 \family sans 
9833 M-s\SpecialChar ~
9834 n
9835 \family default 
9836  
9837 \family typewriter 
9838 font-size normal
9839 \layout List
9840 \labelwidthstring 00.00.0000
9841
9842
9843 \family sans 
9844 M-s\SpecialChar ~
9845 s
9846 \family default 
9847  
9848 \family typewriter 
9849 font-size small
9850 \layout List
9851 \labelwidthstring 00.00.0000
9852
9853
9854 \family sans 
9855 M-s\SpecialChar ~
9856 t
9857 \family default 
9858  
9859 \family typewriter 
9860 font-size tiny
9861 \layout List
9862 \labelwidthstring 00.00.0000
9863
9864
9865 \family sans 
9866 M-s\SpecialChar ~
9867
9868 \family typewriter 
9869 font-size huger
9870 \layout List
9871 \labelwidthstring 00.00.0000
9872
9873
9874 \family sans 
9875 M-s\SpecialChar ~
9876 1
9877 \family default 
9878  
9879 \family typewriter 
9880 font-size tiny
9881 \layout List
9882 \labelwidthstring 00.00.0000
9883
9884
9885 \family sans 
9886 M-s\SpecialChar ~
9887 2
9888 \family default 
9889  
9890 \family typewriter 
9891 font-size smallest
9892 \layout List
9893 \labelwidthstring 00.00.0000
9894
9895
9896 \family sans 
9897 M-s\SpecialChar ~
9898
9899 \family typewriter 
9900 font-size smaller
9901 \layout List
9902 \labelwidthstring 00.00.0000
9903
9904
9905 \family sans 
9906 M-s\SpecialChar ~
9907 4
9908 \family default 
9909  
9910 \family typewriter 
9911 font-size small
9912 \layout List
9913 \labelwidthstring 00.00.0000
9914
9915
9916 \family sans 
9917 M-s\SpecialChar ~
9918 5
9919 \family default 
9920  
9921 \family typewriter 
9922 font-size normal
9923 \layout List
9924 \labelwidthstring 00.00.0000
9925
9926
9927 \family sans 
9928 M-s\SpecialChar ~
9929 6
9930 \family default 
9931  
9932 \family typewriter 
9933 font-size large
9934 \layout List
9935 \labelwidthstring 00.00.0000
9936
9937
9938 \family sans 
9939 M-s\SpecialChar ~
9940 7
9941 \family default 
9942  
9943 \family typewriter 
9944 font-size larger
9945 \layout List
9946 \labelwidthstring 00.00.0000
9947
9948
9949 \family sans 
9950 M-s\SpecialChar ~
9951
9952 \family typewriter 
9953 font-size largest
9954 \layout List
9955 \labelwidthstring 00.00.0000
9956
9957
9958 \family sans 
9959 M-s\SpecialChar ~
9960
9961 \family typewriter 
9962 font-size huge
9963 \layout List
9964 \labelwidthstring 00.00.0000
9965
9966
9967 \family sans 
9968 M-s\SpecialChar ~
9969 S-H
9970 \family default 
9971  
9972 \family typewriter 
9973 font-size huger
9974 \layout List
9975 \labelwidthstring 00.00.0000
9976
9977
9978 \family sans 
9979 M-s\SpecialChar ~
9980 S-L
9981 \family default 
9982  
9983 \family typewriter 
9984 font-size larger
9985 \layout List
9986 \labelwidthstring 00.00.0000
9987
9988
9989 \family sans 
9990 M-s\SpecialChar ~
9991 S-S
9992 \family default 
9993  
9994 \family typewriter 
9995 font-size smaller
9996 \layout List
9997 \labelwidthstring 00.00.0000
9998
9999
10000 \family sans 
10001 M-s\SpecialChar ~
10002 plus 
10003 \family typewriter 
10004 font-size increase
10005 \layout List
10006 \labelwidthstring 00.00.0000
10007
10008
10009 \family sans 
10010 M-s\SpecialChar ~
10011 minus 
10012 \family typewriter 
10013 font-size decrease
10014 \layout Subsection
10015
10016 View
10017 \layout Subsection
10018
10019 Navigate
10020 \layout Subsection
10021
10022 Help
10023 \layout Subsection
10024
10025 Paragraph Style
10026 \layout List
10027 \labelwidthstring 00.00.0000
10028
10029
10030 \family sans 
10031 M-p\SpecialChar ~
10032 a
10033 \family default 
10034  
10035 \family typewriter 
10036 layout Abstract
10037 \layout List
10038 \labelwidthstring 00.00.0000
10039
10040
10041 \family sans 
10042 M-p\SpecialChar ~
10043 b
10044 \family default 
10045  
10046 \family typewriter 
10047 layout Itemize
10048 \layout List
10049 \labelwidthstring 00.00.0000
10050
10051
10052 \family sans 
10053 M-p\SpecialChar ~
10054 c
10055 \family default 
10056  
10057 \family typewriter 
10058 layout LyX-Code
10059 \layout List
10060 \labelwidthstring 00.00.0000
10061
10062
10063 \family sans 
10064 M-p\SpecialChar ~
10065 d
10066 \family default 
10067  
10068 \family typewriter 
10069 layout Description
10070 \layout List
10071 \labelwidthstring 00.00.0000
10072
10073
10074 \family sans 
10075 M-p\SpecialChar ~
10076 e
10077 \family default 
10078  
10079 \family typewriter 
10080 layout Enumerate
10081 \layout List
10082 \labelwidthstring 00.00.0000
10083
10084
10085 \family sans 
10086 M-p\SpecialChar ~
10087 f
10088 \family default 
10089  
10090 \family typewriter 
10091 layout ShortFoilhead
10092 \layout List
10093 \labelwidthstring 00.00.0000
10094
10095
10096 \family sans 
10097 M-p\SpecialChar ~
10098 i
10099 \family default 
10100  
10101 \family typewriter 
10102 layout Itemize
10103 \layout List
10104 \labelwidthstring 00.00.0000
10105
10106
10107 \family sans 
10108 M-p\SpecialChar ~
10109 l
10110 \family default 
10111  
10112 \family typewriter 
10113 layout List
10114 \layout List
10115 \labelwidthstring 00.00.0000
10116
10117
10118 \family sans 
10119 M-p\SpecialChar ~
10120 n
10121 \family default 
10122  
10123 \family typewriter 
10124 layout Enumerate
10125 \layout List
10126 \labelwidthstring 00.00.0000
10127
10128
10129 \family sans 
10130 M-p\SpecialChar ~
10131 q
10132 \family default 
10133  
10134 \family typewriter 
10135 layout Quote
10136 \layout List
10137 \labelwidthstring 00.00.0000
10138
10139
10140 \family sans 
10141 M-p\SpecialChar ~
10142 r
10143 \family default 
10144  
10145 \family typewriter 
10146 layout ShortRotatefoilhead
10147 \layout List
10148 \labelwidthstring 00.00.0000
10149
10150
10151 \family sans 
10152 M-p\SpecialChar ~
10153 s
10154 \family default 
10155  
10156 \family typewriter 
10157 layout Standard
10158 \layout List
10159 \labelwidthstring 00.00.0000
10160
10161
10162 \family sans 
10163 M-p\SpecialChar ~
10164 t
10165 \family default 
10166  
10167 \family typewriter 
10168 layout Title
10169 \layout List
10170 \labelwidthstring 00.00.0000
10171
10172
10173 \family sans 
10174 M-p\SpecialChar ~
10175 v
10176 \family default 
10177  
10178 \family typewriter 
10179 layout Verse
10180 \layout List
10181 \labelwidthstring 00.00.0000
10182
10183
10184 \family sans 
10185 M-p\SpecialChar ~
10186 space
10187 \family default 
10188  
10189 \family typewriter 
10190 drop-layouts-choice
10191 \layout List
10192 \labelwidthstring 00.00.0000
10193
10194
10195 \family sans 
10196 M-p
10197 \noun on 
10198 \SpecialChar ~
10199 0
10200 \family default 
10201 \noun default 
10202  
10203 \family typewriter 
10204 layout Part
10205 \layout List
10206 \labelwidthstring 00.00.0000
10207
10208
10209 \family sans 
10210 M-p
10211 \noun on 
10212 \SpecialChar ~
10213 1
10214 \family default 
10215 \noun default 
10216  
10217 \family typewriter 
10218 layout Chapter
10219 \layout List
10220 \labelwidthstring 00.00.0000
10221
10222
10223 \family sans 
10224 M-p\SpecialChar ~
10225 2
10226 \family default 
10227  
10228 \family typewriter 
10229 layout Section
10230 \layout List
10231 \labelwidthstring 00.00.0000
10232
10233
10234 \family sans 
10235 M-p\SpecialChar ~
10236 3
10237 \family default 
10238  
10239 \family typewriter 
10240 layout Subsection
10241 \layout List
10242 \labelwidthstring 00.00.0000
10243
10244
10245 \family sans 
10246 M-p\SpecialChar ~
10247 4
10248 \family default 
10249  
10250 \family typewriter 
10251 layout Subsubsection
10252 \layout List
10253 \labelwidthstring 00.00.0000
10254
10255
10256 \family sans 
10257 M-p\SpecialChar ~
10258 5
10259 \family default 
10260  
10261 \family typewriter 
10262 layout Paragraph
10263 \layout List
10264 \labelwidthstring 00.00.0000
10265
10266
10267 \family sans 
10268 M-p\SpecialChar ~
10269 6
10270 \family default 
10271  
10272 \family typewriter 
10273 layout Subparagraph
10274 \layout List
10275 \labelwidthstring 00.00.0000
10276
10277
10278 \family sans 
10279 M-p\SpecialChar ~
10280 asterisk\SpecialChar ~
10281 0
10282 \family default 
10283  
10284 \family typewriter 
10285 layout Part*
10286 \layout List
10287 \labelwidthstring 00.00.0000
10288
10289
10290 \family sans 
10291 M-p\SpecialChar ~
10292 asterisk\SpecialChar ~
10293 1
10294 \family default 
10295  
10296 \family typewriter 
10297 layout Chapter*
10298 \layout List
10299 \labelwidthstring 00.00.0000
10300
10301
10302 \family sans 
10303 M-p\SpecialChar ~
10304 asterisk\SpecialChar ~
10305 2
10306 \family default 
10307  
10308 \family typewriter 
10309 layout Section*
10310 \layout List
10311 \labelwidthstring 00.00.0000
10312
10313
10314 \family sans 
10315 M-p\SpecialChar ~
10316 asterisk\SpecialChar ~
10317 3
10318 \family default 
10319  
10320 \family typewriter 
10321 layout Subsection*
10322 \layout List
10323 \labelwidthstring 00.00.0000
10324
10325
10326 \family sans 
10327 M-p\SpecialChar ~
10328 asterisk\SpecialChar ~
10329 4
10330 \family default 
10331  
10332 \family typewriter 
10333 layout Subsubsection*
10334 \layout List
10335 \labelwidthstring 00.00.0000
10336
10337
10338 \family sans 
10339 M-p\SpecialChar ~
10340 asterisk\SpecialChar ~
10341 5
10342 \family default 
10343  
10344 \family typewriter 
10345 layout Paragraph*
10346 \layout List
10347 \labelwidthstring 00.00.0000
10348
10349
10350 \family sans 
10351 M-p\SpecialChar ~
10352 asterisk\SpecialChar ~
10353 6
10354 \family default 
10355  
10356 \family typewriter 
10357 layout Subparagraph*
10358 \layout List
10359 \labelwidthstring 00.00.0000
10360
10361
10362 \family sans 
10363 M-p\SpecialChar ~
10364 S-A
10365 \family default 
10366  
10367 \family typewriter 
10368 layout Author
10369 \layout List
10370 \labelwidthstring 00.00.0000
10371
10372
10373 \family sans 
10374 M-p\SpecialChar ~
10375 S-B
10376 \family default 
10377  
10378 \family typewriter 
10379 layout Bibliography
10380 \layout List
10381 \labelwidthstring 00.00.0000
10382
10383
10384 \family sans 
10385 M-p\SpecialChar ~
10386 S-C
10387 \family default 
10388  
10389 \family typewriter 
10390 layout Comment
10391 \layout List
10392 \labelwidthstring 00.00.0000
10393
10394
10395 \family sans 
10396 M-p\SpecialChar ~
10397 S-D
10398 \family default 
10399  
10400 \family typewriter 
10401 layout Date
10402 \layout List
10403 \labelwidthstring 00.00.0000
10404
10405
10406 \family sans 
10407 M-p\SpecialChar ~
10408 S-F
10409 \family default 
10410  
10411 \family typewriter 
10412 layout Foilhead
10413 \layout List
10414 \labelwidthstring 00.00.0000
10415
10416
10417 \family sans 
10418 M-p\SpecialChar ~
10419 S-L
10420 \family default 
10421  
10422 \family typewriter 
10423 layout LaTeX
10424 \layout List
10425 \labelwidthstring 00.00.0000
10426
10427
10428 \family sans 
10429 M-p\SpecialChar ~
10430 S-Q
10431 \family default 
10432  
10433 \family typewriter 
10434 layout Quotation
10435 \layout List
10436 \labelwidthstring 00.00.0000
10437
10438
10439 \family sans 
10440 M-p\SpecialChar ~
10441 S-R
10442 \family default 
10443  
10444 \family typewriter 
10445 layout Rotatefoilhead
10446 \layout List
10447 \labelwidthstring 00.00.0000
10448
10449
10450 \family sans 
10451 M-p\SpecialChar ~
10452 C-a
10453 \family default 
10454  
10455 \family typewriter 
10456 layout RightAddress
10457 \layout List
10458 \labelwidthstring 00.00.0000
10459
10460
10461 \family sans 
10462 M-p\SpecialChar ~
10463 M-a
10464 \family default 
10465  
10466 \family typewriter 
10467 layout Address
10468 \layout List
10469 \labelwidthstring 00.00.0000
10470
10471
10472 \family sans 
10473 M-p\SpecialChar ~
10474 M-c
10475 \family default 
10476  
10477 \family typewriter 
10478 layout Caption
10479 \layout List
10480 \labelwidthstring 00.00.0000
10481
10482
10483 \family sans 
10484 M-p\SpecialChar ~
10485 Left
10486 \family default 
10487  
10488 \family typewriter 
10489 depth-decrement
10490 \layout List
10491 \labelwidthstring 00.00.0000
10492
10493
10494 \family sans 
10495 M-p\SpecialChar ~
10496 Right
10497 \family default 
10498  
10499 \family typewriter 
10500 depth-increment
10501 \layout Standard
10502
10503 These ones are kept for backwards compatibility, but only make sense on
10504  a qwerty keyboard:
10505 \layout List
10506 \labelwidthstring 00.00.0000
10507
10508
10509 \family sans 
10510 M-p\SpecialChar ~
10511 S-at
10512 \family default 
10513  
10514 \family typewriter 
10515 layout Section*
10516 \layout List
10517 \labelwidthstring 00.00.0000
10518
10519
10520 \family sans 
10521 M-p\SpecialChar ~
10522 S-dollar
10523 \family default 
10524  
10525 \family typewriter 
10526 layout Subsubsection*
10527 \layout List
10528 \labelwidthstring 00.00.0000
10529
10530
10531 \family sans 
10532 M-p\SpecialChar ~
10533 S-numbersign
10534 \family default 
10535  
10536 \family typewriter 
10537 layout Subsection*
10538 \layout Section
10539
10540 Keyboard
10541 \layout Subsection
10542
10543 Specific to 
10544 \family typewriter 
10545 emacs.bind
10546 \layout List
10547 \labelwidthstring 00.00.0000
10548
10549
10550 \family sans 
10551 C-a
10552 \family default 
10553  
10554 \family typewriter 
10555 line-begin
10556 \layout List
10557 \labelwidthstring 00.00.0000
10558
10559
10560 \family sans 
10561 C-b
10562 \family default 
10563  
10564 \family typewriter 
10565 char-backward
10566 \layout List
10567 \labelwidthstring 00.00.0000
10568
10569
10570 \family sans 
10571 C-d
10572 \family default 
10573  
10574 \family typewriter 
10575 delete-forward
10576 \layout List
10577 \labelwidthstring 00.00.0000
10578
10579
10580 \family sans 
10581 C-e
10582 \family default 
10583  
10584 \family typewriter 
10585 line-end
10586 \layout List
10587 \labelwidthstring 00.00.0000
10588
10589
10590 \family sans 
10591 C-f
10592 \family default 
10593  
10594 \family typewriter 
10595 char-forward
10596 \layout List
10597 \labelwidthstring 00.00.0000
10598
10599
10600 \family sans 
10601 C-g
10602 \family default 
10603  
10604 \family typewriter 
10605 cancel
10606 \layout List
10607 \labelwidthstring 00.00.0000
10608
10609
10610 \family sans 
10611 C-h
10612 \family default 
10613  
10614 \family typewriter 
10615 hyphenation-point-insert
10616 \layout List
10617 \labelwidthstring 00.00.0000
10618
10619
10620 \family sans 
10621 C-i
10622 \family default 
10623  
10624 \family typewriter 
10625 hfill-insert
10626 \layout List
10627 \labelwidthstring 00.00.0000
10628
10629
10630 \family sans 
10631 C-k
10632 \family default 
10633  
10634 \family typewriter 
10635 line-delete-forward
10636 \layout List
10637 \labelwidthstring 00.00.0000
10638
10639
10640 \family sans 
10641 C-l
10642 \family default 
10643  
10644 \family typewriter 
10645 screen-recenter
10646 \layout List
10647 \labelwidthstring 00.00.0000
10648
10649
10650 \family sans 
10651 C-m
10652 \family default 
10653  
10654 \family typewriter 
10655 mark-toggle
10656 \layout List
10657 \labelwidthstring 00.00.0000
10658
10659
10660 \family sans 
10661 C-n
10662 \family default 
10663  
10664 \family typewriter 
10665 down
10666 \layout List
10667 \labelwidthstring 00.00.0000
10668
10669
10670 \family sans 
10671 C-o
10672 \family default 
10673  
10674 \family typewriter 
10675 open-stuff
10676 \layout List
10677 \labelwidthstring 00.00.0000
10678
10679
10680 \family sans 
10681 C-p
10682 \family default 
10683  
10684 \family typewriter 
10685 up
10686 \layout List
10687 \labelwidthstring 00.00.0000
10688
10689
10690 \family sans 
10691 C-q
10692 \family typewriter 
10693  quote-insert 
10694 \layout List
10695 \labelwidthstring 00.00.0000
10696
10697
10698 \family sans 
10699 C-s
10700 \family default 
10701  
10702 \family typewriter 
10703 find-replace
10704 \layout List
10705 \labelwidthstring 00.00.0000
10706
10707
10708 \family sans 
10709 C-u
10710 \family default 
10711  
10712 \family typewriter 
10713 font-underline 
10714 \layout List
10715 \labelwidthstring 00.00.0000
10716
10717
10718 \family sans 
10719 C-v
10720 \family default 
10721  
10722 \family typewriter 
10723 screen-down 
10724 \layout List
10725 \labelwidthstring 00.00.0000
10726
10727
10728 \family sans 
10729 C-w
10730 \family default 
10731  
10732 \family typewriter 
10733 cut
10734 \layout List
10735 \labelwidthstring 00.00.0000
10736
10737
10738 \family sans 
10739 C-y
10740 \family default 
10741  
10742 \family typewriter 
10743 paste
10744 \layout List
10745 \labelwidthstring 00.00.0000
10746
10747
10748 \family sans 
10749 C-S-Y
10750 \family default 
10751  
10752 \family typewriter 
10753 layout-paste
10754 \layout List
10755 \labelwidthstring 00.00.0000
10756
10757
10758 \family sans 
10759 C-x\SpecialChar ~
10760 a
10761 \family default 
10762  
10763 \family typewriter 
10764 buffer-auto-save
10765 \layout List
10766 \labelwidthstring 00.00.0000
10767
10768
10769 \family sans 
10770 C-x\SpecialChar ~
10771 b
10772 \family default 
10773  
10774 \family typewriter 
10775 buffer-previous
10776 \layout List
10777 \labelwidthstring 00.00.0000
10778
10779
10780 \family sans 
10781 C-x\SpecialChar ~
10782 c
10783 \family default 
10784  
10785 \family typewriter 
10786 lyx-quit
10787 \layout List
10788 \labelwidthstring 00.00.0000
10789
10790
10791 \family sans 
10792 C-x\SpecialChar ~
10793 d
10794 \family default 
10795  
10796 \family typewriter 
10797 buffer-new
10798 \layout List
10799 \labelwidthstring 00.00.0000
10800
10801
10802 \family sans 
10803 ?\SpecialChar ~
10804 C-x\SpecialChar ~
10805 f
10806 \family default 
10807  
10808 \family typewriter 
10809 buffer-open
10810 \layout List
10811 \labelwidthstring 00.00.0000
10812
10813
10814 \family sans 
10815 C-x\SpecialChar ~
10816 g
10817 \family default 
10818  
10819 \family typewriter 
10820 buffer-view-ps
10821 \layout List
10822 \labelwidthstring 00.00.0000
10823
10824
10825 \family sans 
10826 C-x\SpecialChar ~
10827 k
10828 \family default 
10829  
10830 \family typewriter 
10831 buffer-close
10832 \layout List
10833 \labelwidthstring 00.00.0000
10834
10835
10836 \family sans 
10837 C-x\SpecialChar ~
10838 p
10839 \family default 
10840  
10841 \family typewriter 
10842 buffer-view
10843 \layout List
10844 \labelwidthstring 00.00.0000
10845
10846
10847 \family sans 
10848 C-x\SpecialChar ~
10849 r
10850 \family default 
10851  
10852 \family typewriter 
10853 buffer-typeset
10854 \layout List
10855 \labelwidthstring 00.00.0000
10856
10857
10858 \family sans 
10859 ?\SpecialChar ~
10860 C-x\SpecialChar ~
10861 s
10862 \family default 
10863  
10864 \family typewriter 
10865 buffer-write
10866 \layout List
10867 \labelwidthstring 00.00.0000
10868
10869
10870 \family sans 
10871 C-x\SpecialChar ~
10872 t
10873 \family default 
10874  
10875 \family typewriter 
10876 buffer-typeset
10877 \layout List
10878 \labelwidthstring 00.00.0000
10879
10880
10881 \family sans 
10882 C-x\SpecialChar ~
10883 u
10884 \family default 
10885  
10886 \family typewriter 
10887 undo
10888 \layout List
10889 \labelwidthstring 00.00.0000
10890
10891
10892 \family sans 
10893 C-x\SpecialChar ~
10894 v\SpecialChar ~
10895 c
10896 \family default 
10897  
10898 \family typewriter 
10899 vc-undo-last
10900 \layout List
10901 \labelwidthstring 00.00.0000
10902
10903
10904 \family sans 
10905 C-x\SpecialChar ~
10906 v\SpecialChar ~
10907 h
10908 \family default 
10909  
10910 \family typewriter 
10911 vc-history
10912 \layout List
10913 \labelwidthstring 00.00.0000
10914
10915
10916 \family sans 
10917 C-x\SpecialChar ~
10918 v\SpecialChar ~
10919 i
10920 \family default 
10921  
10922 \family typewriter 
10923 vc-register
10924 \layout List
10925 \labelwidthstring 00.00.0000
10926
10927
10928 \family sans 
10929 C-x\SpecialChar ~
10930 v\SpecialChar ~
10931 u
10932 \family default 
10933  
10934 \family typewriter 
10935 vc-revert
10936 \layout List
10937 \labelwidthstring 00.00.0000
10938
10939
10940 \family sans 
10941 C-x\SpecialChar ~
10942 v\SpecialChar ~
10943 v
10944 \family default 
10945  
10946 \family typewriter 
10947 vc-check-in
10948 \layout List
10949 \labelwidthstring 00.00.0000
10950
10951
10952 \family sans 
10953 ?\SpecialChar ~
10954 C-x\SpecialChar ~
10955 w
10956 \family default 
10957  
10958 \family typewriter 
10959 buffer-write-as
10960 \layout List
10961 \labelwidthstring 00.00.0000
10962
10963
10964 \family sans 
10965 C-x\SpecialChar ~
10966 bracketleft
10967 \family default 
10968  
10969 \family typewriter 
10970 screen-up
10971 \layout List
10972 \labelwidthstring 00.00.0000
10973
10974
10975 \family sans 
10976 C-x\SpecialChar ~
10977 bracketright
10978 \family default 
10979  
10980 \family typewriter 
10981 screen-down
10982 \layout List
10983 \labelwidthstring 00.00.0000
10984
10985
10986 \family sans 
10987 C-x\SpecialChar ~
10988 C-a
10989 \family default 
10990  
10991 \family typewriter 
10992 buffer-auto-save
10993 \layout List
10994 \labelwidthstring 00.00.0000
10995
10996
10997 \family sans 
10998 C-x\SpecialChar ~
10999 C-b
11000 \family default 
11001  
11002 \family typewriter 
11003 menu-open Documents
11004 \layout List
11005 \labelwidthstring 00.00.0000
11006
11007
11008 \family sans 
11009 C-x\SpecialChar ~
11010 C-c
11011 \family default 
11012  
11013 \family typewriter 
11014 lyx-quit
11015 \layout List
11016 \labelwidthstring 00.00.0000
11017
11018
11019 \family sans 
11020 C-x\SpecialChar ~
11021 C-d
11022 \family default 
11023  
11024 \family typewriter 
11025 buffer-new
11026 \layout List
11027 \labelwidthstring 00.00.0000
11028
11029
11030 \family sans 
11031 C-x\SpecialChar ~
11032 C-f
11033 \family default 
11034  
11035 \family typewriter 
11036 buffer-open
11037 \layout List
11038 \labelwidthstring 00.00.0000
11039
11040
11041 \family sans 
11042 C-x\SpecialChar ~
11043 C-g
11044 \family default 
11045  
11046 \family typewriter 
11047 buffer-view-ps
11048 \layout List
11049 \labelwidthstring 00.00.0000
11050
11051
11052 \family sans 
11053 C-x\SpecialChar ~
11054 C-p
11055 \family default 
11056  
11057 \family typewriter 
11058 buffer-view
11059 \layout List
11060 \labelwidthstring 00.00.0000
11061
11062
11063 \family sans 
11064 C-x\SpecialChar ~
11065 C-q
11066 \family default 
11067  
11068 \family typewriter 
11069 buffer-toggle-read-only
11070 \layout List
11071 \labelwidthstring 00.00.0000
11072
11073
11074 \family sans 
11075 C-x\SpecialChar ~
11076 C-s
11077 \family default 
11078  
11079 \family typewriter 
11080 buffer-write
11081 \layout List
11082 \labelwidthstring 00.00.0000
11083
11084
11085 \family sans 
11086 C-x\SpecialChar ~
11087 C-t
11088 \family default 
11089  
11090 \family typewriter 
11091 buffer-typeset
11092 \layout List
11093 \labelwidthstring 00.00.0000
11094
11095
11096 \family sans 
11097 C-x\SpecialChar ~
11098 C-w
11099 \family default 
11100  
11101 \family typewriter 
11102 buffer-write-as
11103 \layout List
11104 \labelwidthstring 00.00.0000
11105
11106
11107 \family sans 
11108 Home
11109 \family default 
11110  
11111 \family typewriter 
11112 buffer-begin
11113 \layout List
11114 \labelwidthstring 00.00.0000
11115
11116
11117 \family sans 
11118 End
11119 \family default 
11120  
11121 \family typewriter 
11122 buffer-end
11123 \layout List
11124 \labelwidthstring 00.00.0000
11125
11126
11127 \family sans 
11128 S-Home
11129 \family default 
11130  
11131 \family typewriter 
11132 line-begin-select
11133 \layout List
11134 \labelwidthstring 00.00.0000
11135
11136
11137 \family sans 
11138 S-End
11139 \family default 
11140  
11141 \family typewriter 
11142 line-end-select
11143 \layout List
11144 \labelwidthstring 00.00.0000
11145
11146
11147 \family sans 
11148 S-Up
11149 \family default 
11150  
11151 \family typewriter 
11152 up-select
11153 \layout List
11154 \labelwidthstring 00.00.0000
11155
11156
11157 \family sans 
11158 S-Down
11159 \family default 
11160  
11161 \family typewriter 
11162 down-select
11163 \layout List
11164 \labelwidthstring 00.00.0000
11165
11166
11167 \family sans 
11168 S-Next
11169 \family default 
11170  
11171 \family typewriter 
11172 screen-down-select
11173 \layout List
11174 \labelwidthstring 00.00.0000
11175
11176
11177 \family sans 
11178 S-Prior
11179 \family default 
11180  
11181 \family typewriter 
11182 screen-up-select
11183 \layout List
11184 \labelwidthstring 00.00.0000
11185
11186
11187 \family sans 
11188 S-Left
11189 \family default 
11190  
11191 \family typewriter 
11192 backward-select
11193 \layout List
11194 \labelwidthstring 00.00.0000
11195
11196
11197 \family sans 
11198 S-Right
11199 \family default 
11200  
11201 \family typewriter 
11202 forward-select
11203 \layout List
11204 \labelwidthstring 00.00.0000
11205
11206
11207 \family sans 
11208 C-Up
11209 \family default 
11210  
11211 \family typewriter 
11212 paragraph-up
11213 \layout List
11214 \labelwidthstring 00.00.0000
11215
11216
11217 \family sans 
11218 C-Down
11219 \family default 
11220  
11221 \family typewriter 
11222 paragraph-down
11223 \layout List
11224 \labelwidthstring 00.00.0000
11225
11226
11227 \family sans 
11228 C-Left
11229 \family default 
11230  
11231 \family typewriter 
11232 word-backward
11233 \layout List
11234 \labelwidthstring 00.00.0000
11235
11236
11237 \family sans 
11238 C-Right
11239 \family default 
11240  
11241 \family typewriter 
11242 word-forward
11243 \layout List
11244 \labelwidthstring 00.00.0000
11245
11246
11247 \family sans 
11248 C-Delete
11249 \family default 
11250  
11251 \family typewriter 
11252 word-delete-forward
11253 \layout List
11254 \labelwidthstring 00.00.0000
11255
11256
11257 \family sans 
11258 C-BackSpace
11259 \family default 
11260  
11261 \family typewriter 
11262 word-delete-backward
11263 \layout List
11264 \labelwidthstring 00.00.0000
11265
11266
11267 \family sans 
11268 C-Return
11269 \family default 
11270  
11271 \family typewriter 
11272 break-line
11273 \layout List
11274 \labelwidthstring 00.00.0000
11275
11276
11277 \family sans 
11278 C-period
11279 \family default 
11280  
11281 \family typewriter 
11282 end-of-sentence-period-insert
11283 \layout List
11284 \labelwidthstring 00.00.0000
11285
11286
11287 \family sans 
11288 C-space
11289 \family default 
11290  
11291 \family typewriter 
11292 protected-space-insert
11293 \layout List
11294 \labelwidthstring 00.00.0000
11295
11296
11297 \family sans 
11298 C-S-at
11299 \family default 
11300  
11301 \family typewriter 
11302 mark-on
11303 \layout List
11304 \labelwidthstring 00.00.0000
11305
11306
11307 \family sans 
11308 C-S-greater
11309 \family default 
11310  
11311 \family typewriter 
11312 reference-goto
11313 \layout List
11314 \labelwidthstring 00.00.0000
11315
11316
11317 \family sans 
11318 C-S-less
11319 \family default 
11320  
11321 \family typewriter 
11322 reference-back
11323 \layout List
11324 \labelwidthstring 00.00.0000
11325
11326
11327 \family sans 
11328 C-S-slash
11329 \family default 
11330  
11331 \family typewriter 
11332 undo
11333 \layout List
11334 \labelwidthstring 00.00.0000
11335
11336
11337 \family sans 
11338 C-S-underscore
11339 \family default 
11340  
11341 \family typewriter 
11342 undo
11343 \layout List
11344 \labelwidthstring 00.00.0000
11345
11346
11347 \family sans 
11348 C-S-quotedbl
11349 \family default 
11350  
11351 \family typewriter 
11352 quote-insert
11353 \layout List
11354 \labelwidthstring 00.00.0000
11355
11356
11357 \family sans 
11358 C-S-Home
11359 \family default 
11360  
11361 \family typewriter 
11362 buffer-begin-select
11363 \layout List
11364 \labelwidthstring 00.00.0000
11365
11366
11367 \family sans 
11368 C-S-End
11369 \family default 
11370  
11371 \family typewriter 
11372 buffer-end-select
11373 \layout List
11374 \labelwidthstring 00.00.0000
11375
11376
11377 \family sans 
11378 C-S-Up
11379 \family default 
11380  
11381 \family typewriter 
11382 paragraph-up-select
11383 \layout List
11384 \labelwidthstring 00.00.0000
11385
11386
11387 \family sans 
11388 C-S-Down
11389 \family default 
11390  
11391 \family typewriter 
11392 paragraph-down-select
11393 \layout List
11394 \labelwidthstring 00.00.0000
11395
11396
11397 \family sans 
11398 C-S-Left
11399 \family default 
11400  
11401 \family typewriter 
11402 word-backward-select
11403 \layout List
11404 \labelwidthstring 00.00.0000
11405
11406
11407 \family sans 
11408 C-S-Right
11409 \family default 
11410  
11411 \family typewriter 
11412 word-forward-select
11413 \layout List
11414 \labelwidthstring 00.00.0000
11415
11416
11417 \family sans 
11418 Escape
11419 \family default 
11420  
11421 \family typewriter 
11422 meta-prefix
11423 \layout List
11424 \labelwidthstring 00.00.0000
11425
11426
11427 \family sans 
11428 M-d
11429 \family default 
11430  
11431 \family typewriter 
11432 word-delete-forward
11433 \layout List
11434 \labelwidthstring 00.00.0000
11435
11436
11437 \family sans 
11438 M-w
11439 \family default 
11440  
11441 \family typewriter 
11442 copy
11443 \layout List
11444 \labelwidthstring 00.00.0000
11445
11446
11447 \family sans 
11448 M-x
11449 \family default 
11450  
11451 \family typewriter 
11452 command-execute
11453 \layout List
11454 \labelwidthstring 00.00.0000
11455
11456
11457 \family sans 
11458 M-S-W
11459 \family default 
11460  
11461 \family typewriter 
11462 layout-copy
11463 \layout List
11464 \labelwidthstring 00.00.0000
11465
11466
11467 \family sans 
11468 M-period
11469 \family default 
11470  
11471 \family typewriter 
11472 dots-insert
11473 \layout List
11474 \labelwidthstring 00.00.0000
11475
11476
11477 \family sans 
11478 M-Return
11479 \family default 
11480  
11481 \family typewriter 
11482 break-paragraph-keep-layout
11483 \layout List
11484 \labelwidthstring 00.00.0000
11485
11486
11487 \family sans 
11488 M-S-percent 
11489 \family typewriter 
11490 find-replace
11491 \layout Subsection
11492
11493 Specific to 
11494 \family typewriter 
11495 cua.bind
11496 \layout List
11497 \labelwidthstring 00.00.0000
11498
11499
11500 \family sans 
11501 C-b
11502 \family default 
11503  
11504 \family typewriter 
11505 font-bold
11506 \layout List
11507 \labelwidthstring 00.00.0000
11508
11509
11510 \family sans 
11511 C-c
11512 \family default 
11513  
11514 \family typewriter 
11515 copy
11516 \layout List
11517 \labelwidthstring 00.00.0000
11518
11519
11520 \family sans 
11521 C-d
11522 \family default 
11523  
11524 \family typewriter 
11525 buffer-view 
11526 \layout List
11527 \labelwidthstring 00.00.0000
11528
11529
11530 \family sans 
11531 C-e
11532 \family default 
11533  
11534 \family typewriter 
11535 font-emph
11536 \layout List
11537 \labelwidthstring 00.00.0000
11538
11539
11540 \family sans 
11541 C-f
11542 \family default 
11543  
11544 \family typewriter 
11545 find-replace
11546 \layout List
11547 \labelwidthstring 00.00.0000
11548
11549
11550 \family sans 
11551 C-g
11552 \family default 
11553  
11554 \family typewriter 
11555 error-next
11556 \layout List
11557 \labelwidthstring 00.00.0000
11558
11559
11560 \family sans 
11561 C-i
11562 \family default 
11563  
11564 \family typewriter 
11565 open-stuff 
11566 \layout List
11567 \labelwidthstring 00.00.0000
11568
11569
11570 \family sans 
11571 C-k
11572 \family default 
11573  
11574 \family typewriter 
11575 font-noun 
11576 \layout List
11577 \labelwidthstring 00.00.0000
11578
11579
11580 \family sans 
11581 C-l
11582 \family default 
11583  
11584 \family typewriter 
11585 tex-mode 
11586 \layout List
11587 \labelwidthstring 00.00.0000
11588
11589
11590 \family sans 
11591 C-m
11592 \family default 
11593  
11594 \family typewriter 
11595 math-mode
11596 \layout List
11597 \labelwidthstring 00.00.0000
11598
11599
11600 \family sans 
11601 C-n
11602 \family default 
11603  
11604 \family typewriter 
11605 buffer-new
11606 \layout List
11607 \labelwidthstring 00.00.0000
11608
11609
11610 \family sans 
11611 C-o
11612 \family default 
11613  
11614 \family typewriter 
11615 buffer-open
11616 \layout List
11617 \labelwidthstring 00.00.0000
11618
11619
11620 \family sans 
11621 C-p
11622 \family default 
11623  
11624 \family typewriter 
11625 buffer-print
11626 \layout List
11627 \labelwidthstring 00.00.0000
11628
11629
11630 \family sans 
11631 C-q
11632 \family default 
11633  
11634 \family typewriter 
11635 lyx-quit
11636 \layout List
11637 \labelwidthstring 00.00.0000
11638
11639
11640 \family sans 
11641 C-r
11642 \family default 
11643  
11644 \family typewriter 
11645 buffer-reload
11646 \layout List
11647 \labelwidthstring 00.00.0000
11648
11649
11650 \family sans 
11651 C-s
11652 \family default 
11653  
11654 \family typewriter 
11655 buffer-write
11656 \layout List
11657 \labelwidthstring 00.00.0000
11658
11659
11660 \family sans 
11661 C-t
11662 \family default 
11663  
11664 \family typewriter 
11665 buffer-view-ps
11666 \layout List
11667 \labelwidthstring 00.00.0000
11668
11669
11670 \family sans 
11671 C-u
11672 \family default 
11673  
11674 \family typewriter 
11675 font-underline
11676 \layout List
11677 \labelwidthstring 00.00.0000
11678
11679
11680 \family sans 
11681 C-v
11682 \family default 
11683  
11684 \family typewriter 
11685 paste
11686 \layout List
11687 \labelwidthstring 00.00.0000
11688
11689
11690 \family sans 
11691 C-w
11692 \family default 
11693  
11694 \family typewriter 
11695 buffer-close
11696 \layout List
11697 \labelwidthstring 00.00.0000
11698
11699
11700 \family sans 
11701 C-x
11702 \family default 
11703  
11704 \family typewriter 
11705 cut
11706 \layout List
11707 \labelwidthstring 00.00.0000
11708
11709
11710 \family sans 
11711 C-z
11712 \family default 
11713  
11714 \family typewriter 
11715 undo
11716 \layout List
11717 \labelwidthstring 00.00.0000
11718
11719
11720 \family sans 
11721 C-space
11722 \family default 
11723  
11724 \family typewriter 
11725 protected-space-insert
11726 \layout List
11727 \labelwidthstring 00.00.0000
11728
11729
11730 \family sans 
11731 C-S-C
11732 \family default 
11733  
11734 \family typewriter 
11735 layout-copy
11736 \layout List
11737 \labelwidthstring 00.00.0000
11738
11739
11740 \family sans 
11741 C-S-D
11742 \family default 
11743  
11744 \family typewriter 
11745 buffer-typeset
11746 \layout List
11747 \labelwidthstring 00.00.0000
11748
11749
11750 \family sans 
11751 C-S-M
11752 \family default 
11753  
11754 \family typewriter 
11755 math-display
11756 \layout List
11757 \labelwidthstring 00.00.0000
11758
11759
11760 \family sans 
11761 C-S-N
11762 \family default 
11763  
11764 \family typewriter 
11765 buffer-new-template
11766 \layout List
11767 \labelwidthstring 00.00.0000
11768
11769
11770 \family sans 
11771 C-S-P
11772 \family default 
11773  
11774 \family typewriter 
11775 font-code 
11776 \layout List
11777 \labelwidthstring 00.00.0000
11778
11779
11780 \family sans 
11781 C-S-S
11782 \family default 
11783  
11784 \family typewriter 
11785 buffer-write-as
11786 \layout List
11787 \labelwidthstring 00.00.0000
11788
11789
11790 \family sans 
11791 C-S-T
11792 \family default 
11793  
11794 \family typewriter 
11795 buffer-typeset-ps
11796 \layout List
11797 \labelwidthstring 00.00.0000
11798
11799
11800 \family sans 
11801 C-S-V
11802 \family default 
11803  
11804 \family typewriter 
11805 layout-paste
11806 \layout List
11807 \labelwidthstring 00.00.0000
11808
11809
11810 \family sans 
11811 C-S-Z
11812 \family default 
11813  
11814 \family typewriter 
11815 redo
11816 \layout List
11817 \labelwidthstring 00.00.0000
11818
11819
11820 \family sans 
11821 S-Insert
11822 \family default 
11823  
11824 \family typewriter 
11825 paste
11826 \layout List
11827 \labelwidthstring 00.00.0000
11828
11829
11830 \family sans 
11831 S-Delete
11832 \family default 
11833  
11834 \family typewriter 
11835 cut
11836 \layout List
11837 \labelwidthstring 00.00.0000
11838
11839
11840 \family sans 
11841 C-period
11842 \family default 
11843  
11844 \family typewriter 
11845 end-of-sentence-period-insert
11846 \layout List
11847 \labelwidthstring 00.00.0000
11848
11849
11850 \family sans 
11851 C-S-greater
11852 \family default 
11853  
11854 \family typewriter 
11855 reference-goto
11856 \layout List
11857 \labelwidthstring 00.00.0000
11858
11859
11860 \family sans 
11861 C-S-less
11862 \family default 
11863  
11864 \family typewriter 
11865 reference-back
11866 \layout List
11867 \labelwidthstring 00.00.0000
11868
11869
11870 \family sans 
11871 C-minus
11872 \family default 
11873  
11874 \family typewriter 
11875 hyphenation-point-insert
11876 \layout List
11877 \labelwidthstring 00.00.0000
11878
11879
11880 \family sans 
11881 C-S-quotedbl
11882 \family default 
11883  
11884 \family typewriter 
11885 quote-insert
11886 \layout List
11887 \labelwidthstring 00.00.0000
11888
11889
11890 \family sans 
11891 C-S-space
11892 \family default 
11893  
11894 \family typewriter 
11895 protected-space-insert
11896 \layout List
11897 \labelwidthstring 00.00.0000
11898
11899
11900 \family sans 
11901 M-x
11902 \family default 
11903  
11904 \family typewriter 
11905 command-execute
11906 \layout List
11907 \labelwidthstring 00.00.0000
11908
11909
11910 \family sans 
11911 S-Home
11912 \family default 
11913  
11914 \family typewriter 
11915 line-begin-select
11916 \layout List
11917 \labelwidthstring 00.00.0000
11918
11919
11920 \family sans 
11921 S-End
11922 \family default 
11923  
11924 \family typewriter 
11925 line-end-select
11926 \layout List
11927 \labelwidthstring 00.00.0000
11928
11929
11930 \family sans 
11931 S-Up
11932 \family default 
11933  
11934 \family typewriter 
11935 up-select
11936 \layout List
11937 \labelwidthstring 00.00.0000
11938
11939
11940 \family sans 
11941 S-Down
11942 \family default 
11943  
11944 \family typewriter 
11945 down-select
11946 \layout List
11947 \labelwidthstring 00.00.0000
11948
11949
11950 \family sans 
11951 S-Delete
11952 \family default 
11953  
11954 \family typewriter 
11955 cut
11956 \layout List
11957 \labelwidthstring 00.00.0000
11958
11959
11960 \family sans 
11961 S-Insert
11962 \family default 
11963  
11964 \family typewriter 
11965 paste
11966 \layout List
11967 \labelwidthstring 00.00.0000
11968
11969
11970 \family sans 
11971 S-Next
11972 \family default 
11973  
11974 \family typewriter 
11975 screen-down-select
11976 \layout List
11977 \labelwidthstring 00.00.0000
11978
11979
11980 \family sans 
11981 S-Prior
11982 \family default 
11983  
11984 \family typewriter 
11985 screen-up-select
11986 \layout List
11987 \labelwidthstring 00.00.0000
11988
11989
11990 \family sans 
11991 S-Left
11992 \family default 
11993  
11994 \family typewriter 
11995 backward-select
11996 \layout List
11997 \labelwidthstring 00.00.0000
11998
11999
12000 \family sans 
12001 S-Right
12002 \family default 
12003  
12004 \family typewriter 
12005 forward-select
12006 \layout List
12007 \labelwidthstring 00.00.0000
12008
12009
12010 \family sans 
12011 C-Home
12012 \family default 
12013  
12014 \family typewriter 
12015 buffer-begin
12016 \layout List
12017 \labelwidthstring 00.00.0000
12018
12019
12020 \family sans 
12021 C-End
12022 \family default 
12023  
12024 \family typewriter 
12025 buffer-end
12026 \layout List
12027 \labelwidthstring 00.00.0000
12028
12029
12030 \family sans 
12031 C-Up
12032 \family default 
12033  
12034 \family typewriter 
12035 paragraph-up
12036 \layout List
12037 \labelwidthstring 00.00.0000
12038
12039
12040 \family sans 
12041 C-Down
12042 \family default 
12043  
12044 \family typewriter 
12045 paragraph-down
12046 \layout List
12047 \labelwidthstring 00.00.0000
12048
12049
12050 \family sans 
12051 C-Delete
12052 \family default 
12053  
12054 \family typewriter 
12055 word-delete-forward
12056 \layout List
12057 \labelwidthstring 00.00.0000
12058
12059
12060 \family sans 
12061 C-BackSpace
12062 \family default 
12063  
12064 \family typewriter 
12065 word-delete-backward
12066 \layout List
12067 \labelwidthstring 00.00.0000
12068
12069
12070 \family sans 
12071 C-Insert
12072 \family default 
12073  
12074 \family typewriter 
12075 copy
12076 \layout List
12077 \labelwidthstring 00.00.0000
12078
12079
12080 \family sans 
12081 C-Return
12082 \family default 
12083  
12084 \family typewriter 
12085 break-line
12086 \layout List
12087 \labelwidthstring 00.00.0000
12088
12089
12090 \family sans 
12091 C-Left
12092 \family default 
12093  
12094 \family typewriter 
12095 word-backward
12096 \layout List
12097 \labelwidthstring 00.00.0000
12098
12099
12100 \family sans 
12101 C-Right
12102 \family default 
12103  
12104 \family typewriter 
12105 word-forward
12106 \layout List
12107 \labelwidthstring 00.00.0000
12108
12109
12110 \family sans 
12111 C-S-Down
12112 \family default 
12113  
12114 \family typewriter 
12115 paragraph-down-select
12116 \layout List
12117 \labelwidthstring 00.00.0000
12118
12119
12120 \family sans 
12121 C-S-End
12122 \family default 
12123  
12124 \family typewriter 
12125 buffer-end-select
12126 \layout List
12127 \labelwidthstring 00.00.0000
12128
12129
12130 \family sans 
12131 C-S-Home
12132 \family default 
12133  
12134 \family typewriter 
12135 buffer-begin-select
12136 \layout List
12137 \labelwidthstring 00.00.0000
12138
12139
12140 \family sans 
12141 C-S-Left
12142 \family default 
12143  
12144 \family typewriter 
12145 word-backward-select
12146 \layout List
12147 \labelwidthstring 00.00.0000
12148
12149
12150 \family sans 
12151 C-S-Right
12152 \family default 
12153  
12154 \family typewriter 
12155 word-forward-select
12156 \layout List
12157 \labelwidthstring 00.00.0000
12158
12159
12160 \family sans 
12161 C-S-Up
12162 \family default 
12163  
12164 \family typewriter 
12165 paragraph-up-select
12166 \layout List
12167 \labelwidthstring 00.00.0000
12168
12169
12170 \family sans 
12171 C-S-quotedbl
12172 \family default 
12173  
12174 \family typewriter 
12175 quote-insert
12176 \layout List
12177 \labelwidthstring 00.00.0000
12178
12179
12180 \family sans 
12181 M-Return
12182 \family default 
12183  
12184 \family typewriter 
12185 break-paragraph-keep-layout
12186 \layout List
12187 \labelwidthstring 00.00.0000
12188
12189
12190 \family sans 
12191 M-period
12192 \family default 
12193  
12194 \family typewriter 
12195 dots-insert
12196 \layout List
12197 \labelwidthstring 00.00.0000
12198
12199
12200 \family sans 
12201 M-S-Right
12202 \family default 
12203  
12204 \family typewriter 
12205 depth-increment
12206 \layout List
12207 \labelwidthstring 00.00.0000
12208
12209
12210 \family sans 
12211 M-S-Left
12212 \family default 
12213  
12214 \family typewriter 
12215 depth-decrement
12216 \layout List
12217 \labelwidthstring 00.00.0000
12218
12219
12220 \family sans 
12221 Escape
12222 \family default 
12223  
12224 \family typewriter 
12225 cancel
12226 \layout List
12227 \labelwidthstring 00.00.0000
12228
12229
12230 \family sans 
12231 F2
12232 \family default 
12233  
12234 \family typewriter 
12235 buffer-write
12236 \layout List
12237 \labelwidthstring 00.00.0000
12238
12239
12240 \family sans 
12241 F3 
12242 \family typewriter 
12243 buffer-open
12244 \layout List
12245 \labelwidthstring 00.00.0000
12246
12247
12248 \family sans 
12249 F5
12250 \family default 
12251  
12252 \family typewriter 
12253 screen-recenter
12254 \layout List
12255 \labelwidthstring 00.00.0000
12256
12257
12258 \family sans 
12259 F7
12260 \family default 
12261  
12262 \family typewriter 
12263 spellchecker
12264 \layout List
12265 \labelwidthstring 00.00.0000
12266
12267
12268 \family sans 
12269 F9
12270 \family default 
12271  
12272 \family typewriter 
12273 meta-prefix
12274 \layout List
12275 \labelwidthstring 00.00.0000
12276
12277
12278 \family sans 
12279 C-F4
12280 \family default 
12281  
12282 \family typewriter 
12283 buffer-close
12284 \layout List
12285 \labelwidthstring 00.00.0000
12286
12287
12288 \family sans 
12289 M-F4
12290 \family default 
12291  
12292 \family typewriter 
12293 lyx-quit
12294 \layout Subsection
12295
12296 Specific to 
12297 \family typewriter 
12298 sciword.bind
12299 \layout Standard
12300
12301 These are LyX keyboard definitions for mathematics, similar to those of
12302  Scientific Word.
12303 \layout Standard
12304
12305 The bindings file and the present documentation were prepared by Serge Winitzki
12306  with assistance from Jean-Marc Lasgouttes.
12307  Version 1.3, for LyX 1.2.x and 1.3.x.
12308 \layout Standard
12309
12310 These definitions make it a lot easier to type equations without using the
12311  mouse, especially for people familiar with Scientific Word.
12312  The standard LyX bindings such as 
12313 \family typewriter 
12314 M-m
12315 \family default 
12316  or 
12317 \family typewriter 
12318 M-o
12319 \family default 
12320  are unmodified.
12321 \layout Standard
12322
12323 Tip: to find the "LyX bind name" for a key, look at the status bar after
12324  typing some non-existent key combination.
12325  E.g.
12326  to find how "Ctrl-&" is referenced, press Ctrl-S and then Ctrl-&: the status
12327  bar shows "C-s S-C-ampersand." (This does not work in LyX 1.3.0!)
12328 \layout List
12329 \labelwidthstring 00.00.0000
12330
12331
12332 \family sans 
12333 C-c
12334 \family default 
12335  
12336 \family typewriter 
12337 copy 
12338 \family default 
12339 -- Copy, cut, paste is as in Sciword,
12340 \family typewriter 
12341  C-c
12342 \family default 
12343
12344 \family typewriter 
12345 C-x
12346 \family default 
12347 , and 
12348 \family typewriter 
12349 C-v
12350 \family default 
12351 .
12352 \layout List
12353 \labelwidthstring 00.00.0000
12354
12355
12356 \family sans 
12357 C-d
12358 \family default 
12359  
12360 \family typewriter 
12361 math-display 
12362 \family default 
12363 -- Display equation toggle: type 
12364 \family typewriter 
12365 C-d
12366 \family default 
12367  to insert a displayed formula (
12368 \family typewriter 
12369 d
12370 \family default 
12371  for 
12372 \begin_inset Quotes eld
12373 \end_inset 
12374
12375 displayed
12376 \begin_inset Quotes erd
12377 \end_inset 
12378
12379 ).
12380  You can also type 
12381 \family typewriter 
12382 C-d
12383 \family default 
12384  in a displayed formula to convert it back to an inline formula.
12385 \layout List
12386 \labelwidthstring 00.00.0000
12387
12388
12389 \family sans 
12390 C-f
12391 \family default 
12392  
12393 \family typewriter 
12394 math-insert 
12395 \backslash 
12396 frac 
12397 \family default 
12398 -- Fractions: type 
12399 \family typewriter 
12400 C-f
12401 \family default 
12402  to insert a fraction (
12403 \family typewriter 
12404 f
12405 \family default 
12406  for 
12407 \begin_inset Quotes eld
12408 \end_inset 
12409
12410 fraction
12411 \begin_inset Quotes erd
12412 \end_inset 
12413
12414 ).
12415  You can also select an expression and type 
12416 \family typewriter 
12417 C-f
12418 \family default 
12419  to convert it to the numerator of a fraction.
12420  Note: pressing 
12421 \family typewriter 
12422 Backspace
12423 \family default 
12424  at the 
12425 \emph on 
12426 left
12427 \emph default 
12428  end of the denominator will delete the numerator and convert the denominator
12429  to a non-fraction.
12430 \layout List
12431 \labelwidthstring 00.00.0000
12432
12433
12434 \family sans 
12435 C-i
12436 \family default 
12437  
12438 \family typewriter 
12439 math-insert 
12440 \backslash 
12441 int 
12442 \family default 
12443 -- Inserts 
12444 \begin_inset Formula $\int$
12445 \end_inset 
12446
12447  (
12448 \family typewriter 
12449 i
12450 \family default 
12451  for 
12452 \begin_inset Quotes eld
12453 \end_inset 
12454
12455 integral
12456 \begin_inset Quotes erd
12457 \end_inset 
12458
12459 )
12460 \layout List
12461 \labelwidthstring 00.00.0000
12462
12463
12464 \family sans 
12465 C-k
12466 \family default 
12467  
12468 \family typewriter 
12469 line-delete-forward
12470 \family default 
12471  -- Emacs-like binding: delete forward of cursor to end of line.
12472 \layout List
12473 \labelwidthstring 00.00.0000
12474
12475
12476 \family sans 
12477 C-m
12478 \family default 
12479  
12480 \family typewriter 
12481 math-mode 
12482 \family default 
12483 -- A text/math toggle (
12484 \family typewriter 
12485 m
12486 \family default 
12487  for 
12488 \begin_inset Quotes eld
12489 \end_inset 
12490
12491 math
12492 \begin_inset Quotes erd
12493 \end_inset 
12494
12495 ): switches to math in text mode, and also inserts roman text in math mode.
12496  Also bound to 
12497 \family typewriter 
12498 C-t
12499 \family default 
12500  (
12501 \family typewriter 
12502 t
12503 \family default 
12504  for 
12505 \begin_inset Quotes eld
12506 \end_inset 
12507
12508 text
12509 \begin_inset Quotes erd
12510 \end_inset 
12511
12512 ).
12513 \layout List
12514 \labelwidthstring 00.00.0000
12515
12516
12517 \family sans 
12518 C-n
12519 \family default 
12520  
12521 \family typewriter 
12522 math-number 
12523 \family default 
12524 -- Add/remove numbering in a single equation.
12525 \layout List
12526 \labelwidthstring 00.00.0000
12527
12528
12529 \family sans 
12530 S-C-N
12531 \family default 
12532  
12533 \family typewriter 
12534 math-nonumber
12535 \family default 
12536  -- Add/remove numbering at a line in equation arrays.
12537 \layout Standard
12538
12539 The above commands are toggles that control the numbering of equations (
12540 \family typewriter 
12541 N
12542 \family default 
12543  for 
12544 \begin_inset Quotes eld
12545 \end_inset 
12546
12547 number
12548 \begin_inset Quotes erd
12549 \end_inset 
12550
12551 ).
12552  Note: when deleting a number in a labeled eqnarray, the label is not really
12553  removed (the TeX code becomes 
12554 \begin_inset Quotes eld
12555 \end_inset 
12556
12557
12558 \family typewriter 
12559
12560 \backslash 
12561 label{} 
12562 \backslash 
12563 nonumber
12564 \family default 
12565
12566 \begin_inset Quotes erd
12567 \end_inset 
12568
12569  ) and this generates a (harmless) LaTeX warning.
12570 \layout List
12571 \labelwidthstring 00.00.0000
12572
12573
12574 \family sans 
12575 C-o
12576 \family default 
12577  
12578 \family typewriter 
12579 file-open 
12580 \family default 
12581 -- Open a new document.
12582  (W*ndows)
12583 \layout List
12584 \labelwidthstring 00.00.0000
12585
12586
12587 \family sans 
12588 C-q
12589 \family default 
12590  
12591 \family typewriter 
12592 quote-insert
12593 \family default 
12594  -- Insert a quote character " (
12595 \family typewriter 
12596 q
12597 \family default 
12598  for 
12599 \begin_inset Quotes eld
12600 \end_inset 
12601
12602 quote
12603 \begin_inset Quotes erd
12604 \end_inset 
12605
12606 ).
12607  This is not the 
12608 \begin_inset Quotes eld
12609 \end_inset 
12610
12611 smart
12612 \begin_inset Quotes erd
12613 \end_inset 
12614
12615  double quote character that you get by default.
12616 \layout List
12617 \labelwidthstring 00.00.0000
12618
12619
12620 \family sans 
12621 C-r
12622 \family default 
12623  
12624 \family typewriter 
12625 math-insert 
12626 \backslash 
12627 sqrt 
12628 \family default 
12629 -- Square root sign 
12630 \begin_inset Formula $\sqrt{x}$
12631 \end_inset 
12632
12633  (
12634 \family typewriter 
12635 r
12636 \family default 
12637  for 
12638 \begin_inset Quotes eld
12639 \end_inset 
12640
12641 root
12642 \begin_inset Quotes erd
12643 \end_inset 
12644
12645 ).
12646 \layout List
12647 \labelwidthstring 00.00.0000
12648
12649
12650 \family sans 
12651 S-C-R
12652 \family default 
12653  
12654 \family typewriter 
12655 math-insert 
12656 \backslash 
12657 root 
12658 \family default 
12659 -- root sign 
12660 \begin_inset Formula $\sqrt[n]{x}$
12661 \end_inset 
12662
12663 .
12664 \layout List
12665 \labelwidthstring 00.00.0000
12666
12667
12668 \family sans 
12669 C-t
12670 \family default 
12671  
12672 \family typewriter 
12673 math-mode 
12674 \family default 
12675 -- Another binding for a switch between the text and the math mode (
12676 \family typewriter 
12677 t
12678 \family default 
12679  is for 
12680 \begin_inset Quotes eld
12681 \end_inset 
12682
12683 text
12684 \begin_inset Quotes erd
12685 \end_inset 
12686
12687 ).
12688  Note that the roman text inserted in math mode is special.
12689 \layout List
12690 \labelwidthstring 00.00.0000
12691
12692
12693 \family sans 
12694 C-u
12695 \family default 
12696  
12697 \family typewriter 
12698 font-underline 
12699 \family default 
12700 -- 
12701 \bar under 
12702 Underline
12703 \bar default 
12704  the selected text (text mode only, use things like 
12705 \family typewriter 
12706
12707 \backslash 
12708 overline
12709 \family default 
12710  or 
12711 \family typewriter 
12712
12713 \backslash 
12714 underbar
12715 \family default 
12716  for math ).
12717 \layout List
12718 \labelwidthstring 00.00.0000
12719
12720
12721 \family sans 
12722 C-v
12723 \family default 
12724  
12725 \family typewriter 
12726 paste 
12727 \family default 
12728 -- W*ndows heritage.
12729 \layout List
12730 \labelwidthstring 00.00.0000
12731
12732
12733 \family sans 
12734 C-w
12735 \family default 
12736  
12737 \family typewriter 
12738 buffer-close 
12739 \family default 
12740 -- Close the current document (again, a W*ndows heritage).
12741 \layout List
12742 \labelwidthstring 00.00.0000
12743
12744
12745 \family sans 
12746 C-x
12747 \family default 
12748  
12749 \family typewriter 
12750 cut
12751 \layout List
12752 \labelwidthstring 00.00.0000
12753
12754
12755 \family sans 
12756 C-z
12757 \family default 
12758  
12759 \family typewriter 
12760 undo
12761 \layout List
12762 \labelwidthstring 00.00.0000
12763
12764
12765 \family sans 
12766 S-C-Z
12767 \family default 
12768  
12769 \family typewriter 
12770 redo 
12771 \family default 
12772 -- the 
12773 \begin_inset Quotes eld
12774 \end_inset 
12775
12776 Redo
12777 \begin_inset Quotes erd
12778 \end_inset 
12779
12780  operation, or 
12781 \begin_inset Quotes eld
12782 \end_inset 
12783
12784 undo the undo
12785 \begin_inset Quotes erd
12786 \end_inset 
12787
12788 .
12789 \layout Standard
12790
12791 Bracket delimiters: press 
12792 \family typewriter 
12793 Ctrl
12794 \family default 
12795 -<bracket key> to insert a matching pair of delimiters.
12796  For example, 
12797 \family typewriter 
12798 Ctrl-[
12799 \family default 
12800  inserts a pair of parentheses 
12801 \begin_inset Formula $\left[\right]$
12802 \end_inset 
12803
12804 .
12805  (Note: 
12806 \family typewriter 
12807 Ctrl-]
12808 \family default 
12809  does the same thing.) It will switch to math mode if needed.
12810  The supported characters are ( [ { < |.
12811  It is the same to press the right or the left bracket.
12812  The corresponding delimiters are 
12813 \begin_inset Formula $\left(\right)$
12814 \end_inset 
12815
12816  
12817 \begin_inset Formula $\left[\right]$
12818 \end_inset 
12819
12820  
12821 \begin_inset Formula $\left\{ \right\} $
12822 \end_inset 
12823
12824  
12825 \begin_inset Formula $\left\langle \right\rangle $
12826 \end_inset 
12827
12828  
12829 \begin_inset Formula $\left|\right|$
12830 \end_inset 
12831
12832 .
12833  The delimiters are 
12834 \begin_inset Quotes eld
12835 \end_inset 
12836
12837 smart
12838 \begin_inset Quotes erd
12839 \end_inset 
12840
12841  and resize with their contents.
12842  Use Math Panel to get other or non-matching delimiters.
12843  Press backspace on the 
12844 \emph on 
12845 left
12846 \emph default 
12847  delimiter to remove both 
12848 \begin_inset Quotes eld
12849 \end_inset 
12850
12851 smart
12852 \begin_inset Quotes erd
12853 \end_inset 
12854
12855  delimiters without removing their contents.
12856 \layout List
12857 \labelwidthstring 00.00.0000
12858
12859
12860 \family sans 
12861 C-9
12862 \family default 
12863  
12864 \family typewriter 
12865 math-delim ( ) 
12866 \family default 
12867 -- for convenience, pressing 
12868 \family typewriter 
12869 Ctrl-9
12870 \family default 
12871  is the same as 
12872 \family typewriter 
12873 Ctrl-(
12874 \family default 
12875  or 
12876 \family typewriter 
12877 Ctrl-)
12878 \layout List
12879 \labelwidthstring 00.00.0000
12880
12881
12882 \family sans 
12883 S-C-parenleft
12884 \family default 
12885  
12886 \family typewriter 
12887 math-delim ( )
12888 \layout List
12889 \labelwidthstring 00.00.0000
12890
12891
12892 \family sans 
12893 C-0
12894 \family default 
12895  
12896 \family typewriter 
12897 math-delim ( )
12898 \layout List
12899 \labelwidthstring 00.00.0000
12900
12901
12902 \family sans 
12903 S-C-parenright
12904 \family default 
12905  
12906 \family typewriter 
12907 math-delim ( )
12908 \layout List
12909 \labelwidthstring 00.00.0000
12910
12911
12912 \family sans 
12913 C-bracketleft
12914 \family default 
12915  
12916 \family typewriter 
12917 math-delim [ ]
12918 \layout List
12919 \labelwidthstring 00.00.0000
12920
12921
12922 \family sans 
12923 C-bracketright
12924 \family default 
12925  
12926 \family typewriter 
12927 math-delim [ ]
12928 \layout List
12929 \labelwidthstring 00.00.0000
12930
12931
12932 \family sans 
12933 C-S-less
12934 \family default 
12935  
12936 \family typewriter 
12937 math-delim langle rangle 
12938 \family default 
12939 -- angular delimiters 
12940 \begin_inset Formula $\left\langle \right\rangle $
12941 \end_inset 
12942
12943 , not to confuse with ordinary < > signs.
12944 \layout List
12945 \labelwidthstring 00.00.0000
12946
12947
12948 \family sans 
12949 C-S-greater
12950 \family default 
12951  
12952 \family typewriter 
12953 math-delim langle rangle
12954 \layout Standard
12955
12956 The bar bracket: on some keyboards (e.g.\SpecialChar ~
12957 some British ones), the bar character
12958  is bound to an 
12959 \family typewriter 
12960 Alt
12961 \family default 
12962 -something and on some wayward Unices to "brokenbar".
12963  So we define all of these keys as well.
12964 \layout List
12965 \labelwidthstring 00.00.0000
12966
12967
12968 \family sans 
12969 C-S-bar
12970 \family default 
12971  
12972 \family typewriter 
12973 math-delim | |
12974 \layout List
12975 \labelwidthstring 00.00.0000
12976
12977
12978 \family sans 
12979 C-S-brokenbar
12980 \family default 
12981  
12982 \family typewriter 
12983 math-delim | |
12984 \layout List
12985 \labelwidthstring 00.00.0000
12986
12987
12988 \family sans 
12989 C-M-bar
12990 \family default 
12991  
12992 \family typewriter 
12993 math-delim | |
12994 \layout List
12995 \labelwidthstring 00.00.0000
12996
12997
12998 \family sans 
12999 S-C-braceleft
13000 \family default 
13001  
13002 \family typewriter 
13003 math-delim { }
13004 \layout List
13005 \labelwidthstring 00.00.0000
13006
13007
13008 \family sans 
13009 S-C-braceright
13010 \family default 
13011  
13012 \family typewriter 
13013 math-delim { }
13014 \layout Standard
13015
13016 Accents are in most cases 
13017 \family typewriter 
13018 Ctrl
13019 \family default 
13020 -<accent key>, e.g.\SpecialChar ~
13021
13022 \family typewriter 
13023 Ctrl-.
13024
13025 \family default 
13026  for overdot, 
13027 \family typewriter 
13028 Ctrl-'
13029 \family default 
13030  for acute accent, 
13031 \family typewriter 
13032 Ctrl-~
13033 \family default 
13034  for tilde (you also need to press 
13035 \family typewriter 
13036 Shift
13037 \family default 
13038  here) etc.
13039  For example, 
13040 \begin_inset Quotes eld
13041 \end_inset 
13042
13043
13044 \family typewriter 
13045 Ctrl-'
13046 \family default 
13047  
13048 \family typewriter 
13049 a
13050 \family default 
13051
13052 \begin_inset Quotes erd
13053 \end_inset 
13054
13055  inserts Ã¡.
13056  Some accents work only in math mode and others only in text mode.
13057 \layout List
13058 \labelwidthstring 00.00.0000
13059
13060
13061 \family sans 
13062 C-period
13063 \family default 
13064  
13065 \family typewriter 
13066 accent-dot 
13067 \family default 
13068 -- overdot accent, \i \.{a}
13069  (text mode only).
13070 \layout List
13071 \labelwidthstring 00.00.0000
13072
13073
13074 \family sans 
13075 C-comma
13076 \family default 
13077  
13078 \family typewriter 
13079 math-insert 
13080 \backslash 
13081 dot 
13082 \family default 
13083 -- overdot accent, 
13084 \begin_inset Formula $\dot{a}$
13085 \end_inset 
13086
13087  (math mode only -- in physics this denotes a first derivative).
13088 \layout List
13089 \labelwidthstring 00.00.0000
13090
13091
13092 \family sans 
13093 C-equals
13094 \family default 
13095  
13096 \family typewriter 
13097 math-insert 
13098 \backslash 
13099 overrightarrow
13100 \family default 
13101  -- Vector accent over math 
13102 \begin_inset Formula $\overrightarrow{x}$
13103 \end_inset 
13104
13105 .
13106 \layout List
13107 \labelwidthstring 00.00.0000
13108
13109
13110 \family sans 
13111 S-C-quotedbl
13112 \family default 
13113  
13114 \family typewriter 
13115 accent-umlaut 
13116 \family default 
13117 -- umlaut accent, Ã¤ (text mode only)
13118 \layout List
13119 \labelwidthstring 00.00.0000
13120
13121
13122 \family sans 
13123 S-C-colon
13124 \family default 
13125  
13126 \family typewriter 
13127 math-insert 
13128 \backslash 
13129 ddot 
13130 \family default 
13131 -- double dot accent, 
13132 \begin_inset Formula $\ddot{a}$
13133 \end_inset 
13134
13135  (math mode only -- in physics this denotes a second derivative).
13136  To get a triple dot in math mode, use 
13137 \family typewriter 
13138
13139 \backslash 
13140 dddot
13141 \layout List
13142 \labelwidthstring 00.00.0000
13143
13144
13145 \family sans 
13146 C-quoteleft
13147 \family default 
13148  
13149 \family typewriter 
13150 accent-grave 
13151 \family default 
13152 -- grave accent Ã  (text mode only, use 
13153 \family typewriter 
13154
13155 \backslash 
13156 grave
13157 \family default 
13158  for math)
13159 \layout List
13160 \labelwidthstring 00.00.0000
13161
13162
13163 \family sans 
13164 S-C-asciitilde
13165 \family default 
13166  
13167 \family typewriter 
13168 accent-tilde 
13169 \family default 
13170 -- tilde accent Ã£ (text mode only, use 
13171 \family typewriter 
13172
13173 \backslash 
13174 tilde
13175 \family default 
13176  for math)
13177 \layout List
13178 \labelwidthstring 00.00.0000
13179
13180
13181 \family sans 
13182 C-apostrophe
13183 \family default 
13184  
13185 \family typewriter 
13186 accent-acute 
13187 \family default 
13188 -- acute accent Ã¡ (text mode only, use 
13189 \family typewriter 
13190
13191 \backslash 
13192 acute
13193 \family default 
13194  for math)
13195 \layout List
13196 \labelwidthstring 00.00.0000
13197
13198
13199 \family sans 
13200 S-C-asciicircum
13201 \family default 
13202  
13203 \family typewriter 
13204 accent-circumflex 
13205 \family default 
13206 -- circumflex (caret) accent Ã¢ (text mode only, use 
13207 \family typewriter 
13208
13209 \backslash 
13210 hat
13211 \family default 
13212  for math).
13213 \layout Standard
13214
13215 Function keys.
13216  The new key S-F2 for creating a LaTeX file seems handy.
13217 \layout List
13218 \labelwidthstring 00.00.0000
13219
13220
13221 \family sans 
13222 F2
13223 \family default 
13224  
13225 \family typewriter 
13226 buffer-write 
13227 \family default 
13228 -- Save current document.
13229 \layout List
13230 \labelwidthstring 00.00.0000
13231
13232
13233 \family sans 
13234 S-F2
13235 \family default 
13236  
13237 \family typewriter 
13238 buffer-export latex 
13239 \family default 
13240 -- Write a LaTeX file for the current document.
13241 \layout List
13242 \labelwidthstring 00.00.0000
13243
13244
13245 \family sans 
13246 F3
13247 \family default 
13248  
13249 \family typewriter 
13250 find-replace 
13251 \family default 
13252 -- Find and replace dialog.
13253 \layout List
13254 \labelwidthstring 00.00.0000
13255
13256
13257 \family sans 
13258 C-F4
13259 \family default 
13260  
13261 \family typewriter 
13262 buffer-close 
13263 \family default 
13264 -- same as 
13265 \family typewriter 
13266 C-w
13267 \family default 
13268 .
13269 \layout List
13270 \labelwidthstring 00.00.0000
13271
13272
13273 \family sans 
13274 M-F4
13275 \family default 
13276  
13277 \family typewriter 
13278 lyx-quit 
13279 \family default 
13280 -- 
13281 \family typewriter 
13282 Alt-F4
13283 \family default 
13284  to quit LyX is the W*ndows w*ndow manager's mnemonic.
13285 \layout Standard
13286
13287
13288 \family typewriter 
13289 F4
13290 \family default 
13291  to 
13292 \family typewriter 
13293 F8
13294 \family default 
13295  are used to switch fonts.
13296  Use 
13297 \family typewriter 
13298 F4
13299 \family default 
13300  to switch back to the normal font.
13301  The non-default font switches 
13302 \family typewriter 
13303 F5
13304 \family default 
13305  - 
13306 \family typewriter 
13307 F8
13308 \family default 
13309  all work as toggles.
13310  They also work on the whole word if you put the cursor in the middle of
13311  the word, or if you select some text.
13312 \layout List
13313 \labelwidthstring 00.00.0000
13314
13315
13316 \family sans 
13317 F4
13318 \family default 
13319  
13320 \family typewriter 
13321 font-default 
13322 \family default 
13323 -- stop using any special font
13324 \layout List
13325 \labelwidthstring 00.00.0000
13326
13327
13328 \family sans 
13329 F5
13330 \family default 
13331  
13332 \family typewriter 
13333 font-bold 
13334 \family default 
13335 -- make 
13336 \series bold 
13337 bold
13338 \series default 
13339  text.
13340 \layout List
13341 \labelwidthstring 00.00.0000
13342
13343
13344 \family sans 
13345 F6
13346 \family default 
13347  
13348 \family typewriter 
13349 font-emph 
13350 \family default 
13351 -- make 
13352 \emph on 
13353 emphasized
13354 \emph default 
13355  text.
13356 \layout List
13357 \labelwidthstring 00.00.0000
13358
13359
13360 \family sans 
13361 F7
13362 \family default 
13363  
13364 \family typewriter 
13365 font-code 
13366 \family default 
13367 -- make 
13368 \family typewriter 
13369 typewritten
13370 \family default 
13371  text.
13372 \layout List
13373 \labelwidthstring 00.00.0000
13374
13375
13376 \family sans 
13377 F8
13378 \family default 
13379  
13380 \family typewriter 
13381 font-noun 
13382 \family default 
13383 -- make 
13384 \noun on 
13385 Caps/small caps
13386 \noun default 
13387  text.
13388  (Used sometimes for people's names.)
13389 \layout Standard
13390
13391
13392 \family typewriter 
13393 F9
13394 \family default 
13395  is bound as 
13396 \begin_inset Quotes eld
13397 \end_inset 
13398
13399 meta-prefix
13400 \begin_inset Quotes erd
13401 \end_inset 
13402
13403 , same as the 
13404 \family typewriter 
13405 Alt
13406 \family default 
13407  key (useful e.g.\SpecialChar ~
13408 if the keyboard has no working 
13409 \family typewriter 
13410 Alt
13411 \family default 
13412 ).
13413 \layout Standard
13414
13415 Here are some Sciword-inspired mnemonics for frequently used math symbols.
13416  Many symbols start with a 
13417 \family typewriter 
13418 C-s
13419 \family default 
13420  sequence.
13421  Therefore 
13422 \family typewriter 
13423 C-s
13424 \family default 
13425  cannot be itself bound to anything.
13426 \layout List
13427 \labelwidthstring 00.00.0000
13428
13429
13430 \family sans 
13431 M-apostrophe
13432 \family default 
13433  
13434 \family typewriter 
13435 math-insert 
13436 \backslash 
13437 prime 
13438 \family default 
13439 -- The 
13440 \begin_inset Quotes eld
13441 \end_inset 
13442
13443 prime
13444 \begin_inset Quotes erd
13445 \end_inset 
13446
13447  symbol 
13448 \begin_inset Formula $\prime$
13449 \end_inset 
13450
13451  in math mode.
13452  This is frequently unnecessary: in most cases the normal apostrophe works
13453  just fine, e.g.
13454  
13455 \begin_inset Formula $x'+2x=0$
13456 \end_inset 
13457
13458 , but in some cases this would generate a double superscript error in LaTeX.
13459  For example: 
13460 \begin_inset Formula $x^{\prime2}$
13461 \end_inset 
13462
13463  (
13464 \begin_inset Formula $x$
13465 \end_inset 
13466
13467  prime squared) must be entered with the prime character.
13468 \layout List
13469 \labelwidthstring 00.00.0000
13470
13471
13472 \family sans 
13473 C-s\SpecialChar ~
13474 apostrophe
13475 \family default 
13476  
13477 \family typewriter 
13478 command-sequence math-superscript; math-insert 
13479 \backslash 
13480 prime; 
13481 \family default 
13482 -- Insert a prime as a superscript (see example above).
13483 \layout List
13484 \labelwidthstring 00.00.0000
13485
13486
13487 \family sans 
13488 C-Up
13489 \family default 
13490  
13491 \family typewriter 
13492 math-insert ^ 
13493 \family default 
13494 -- Insert an upper index.
13495  Also, 
13496 \family typewriter 
13497
13498 \layout List
13499 \labelwidthstring 00.00.0000
13500
13501
13502 \family sans 
13503 C-Down
13504 \family default 
13505  
13506 \family typewriter 
13507 math-insert _ 
13508 \family default 
13509 -- Insert a lower index.
13510  Also, 
13511 \family typewriter 
13512 _
13513 \layout List
13514 \labelwidthstring 00.00.0000
13515
13516
13517 \family sans 
13518 C-s\SpecialChar ~
13519 d
13520 \family default 
13521  
13522 \family typewriter 
13523 math-insert 
13524 \backslash 
13525 partial 
13526 \family default 
13527 -- Partial derivative symbol 
13528 \begin_inset Formula $\partial$
13529 \end_inset 
13530
13531 .
13532 \layout List
13533 \labelwidthstring 00.00.0000
13534
13535
13536 \family sans 
13537 C-s\SpecialChar ~
13538 e
13539 \family default 
13540  
13541 \family typewriter 
13542 math-insert 
13543 \backslash 
13544 sum 
13545 \family default 
13546 -- Summation symbol 
13547 \begin_inset Formula $\sum$
13548 \end_inset 
13549
13550  (not the same as the Greek letter uppercase Sigma 
13551 \begin_inset Formula $\Sigma$
13552 \end_inset 
13553
13554  because it can resize and allows smart upper/lower limits).
13555 \layout List
13556 \labelwidthstring 00.00.0000
13557
13558
13559 \family sans 
13560 C-s\SpecialChar ~
13561 p
13562 \family default 
13563  
13564 \family typewriter 
13565 math-insert 
13566 \backslash 
13567 prod
13568 \family default 
13569  -- Product symbol 
13570 \begin_inset Formula $\prod$
13571 \end_inset 
13572
13573  (not the same as the Greek letter uppercase Pi, 
13574 \begin_inset Formula $\Pi$
13575 \end_inset 
13576
13577 ).
13578 \layout List
13579 \labelwidthstring 00.00.0000
13580
13581
13582 \family sans 
13583 C-s\SpecialChar ~
13584 i
13585 \family default 
13586  
13587 \family typewriter 
13588 math-insert 
13589 \backslash 
13590 infty 
13591 \family default 
13592 -- Infinity 
13593 \begin_inset Formula $\infty$
13594 \end_inset 
13595
13596 .
13597 \layout List
13598 \labelwidthstring 00.00.0000
13599
13600
13601 \family sans 
13602 C-s\SpecialChar ~
13603 x
13604 \family default 
13605  
13606 \family typewriter 
13607 math-insert 
13608 \backslash 
13609 times 
13610 \family default 
13611 -- Cross product 
13612 \begin_inset Formula $\times$
13613 \end_inset 
13614
13615 .
13616 \layout List
13617 \labelwidthstring 00.00.0000
13618
13619
13620 \family sans 
13621 C-s\SpecialChar ~
13622 v
13623 \family default 
13624  
13625 \family typewriter 
13626 math-matrix 1 2 
13627 \family default 
13628 -- Insert a stacked array 
13629 \begin_inset Formula $\begin{array}{c}
13630 \begin{array}{c}
13631 \\\end{array}\end{array}$
13632 \end_inset 
13633
13634 .
13635  (Frequently useful in formulae.)
13636 \layout List
13637 \labelwidthstring 00.00.0000
13638
13639
13640 \family sans 
13641 C-s\SpecialChar ~
13642 m
13643 \family default 
13644  
13645 \family typewriter 
13646 math-matrix 3 3 
13647 \family default 
13648 -- Insert a 3
13649 \begin_inset Formula $\times$
13650 \end_inset 
13651
13652 3 matrix 
13653 \begin_inset Formula $\begin{array}{ccc}
13654 \\\\\end{array}$
13655 \end_inset 
13656
13657 .
13658  (Then you can modify its size using the 
13659 \family sans 
13660 Edit\SpecialChar \menuseparator
13661 Math
13662 \family default 
13663  menu.)
13664 \layout List
13665 \labelwidthstring 00.00.0000
13666
13667
13668 \family sans 
13669 C-s\SpecialChar ~
13670 S-plus
13671 \family default 
13672  
13673 \family typewriter 
13674 math-insert 
13675 \backslash 
13676 dagger 
13677 \family default 
13678 -- The 
13679 \begin_inset Quotes eld
13680 \end_inset 
13681
13682 dagger
13683 \begin_inset Quotes erd
13684 \end_inset 
13685
13686  
13687 \begin_inset Formula $\dagger$
13688 \end_inset 
13689
13690 .
13691 \layout List
13692 \labelwidthstring 00.00.0000
13693
13694
13695 \family sans 
13696 C-s\SpecialChar ~
13697 equal
13698 \family default 
13699  
13700 \family typewriter 
13701 math-insert 
13702 \backslash 
13703 equiv 
13704 \family default 
13705 -- 
13706 \begin_inset Quotes eld
13707 \end_inset 
13708
13709 Identical equality
13710 \begin_inset Quotes erd
13711 \end_inset 
13712
13713  
13714 \begin_inset Formula $\equiv$
13715 \end_inset 
13716
13717 .
13718 \layout List
13719 \labelwidthstring 00.00.0000
13720
13721
13722 \family sans 
13723 M-equal
13724 \family default 
13725  
13726 \family typewriter 
13727 math-insert 
13728 \backslash 
13729 approx 
13730 \family default 
13731 -- 
13732 \begin_inset Quotes eld
13733 \end_inset 
13734
13735 Approximate equality
13736 \begin_inset Quotes erd
13737 \end_inset 
13738
13739  
13740 \begin_inset Formula $\approx$
13741 \end_inset 
13742
13743 .
13744 \layout List
13745 \labelwidthstring 00.00.0000
13746
13747
13748 \family sans 
13749 M-minus
13750 \family default 
13751  
13752 \family typewriter 
13753 math-insert 
13754 \backslash 
13755 sim 
13756 \family default 
13757 -- The 
13758 \begin_inset Quotes eld
13759 \end_inset 
13760
13761 of order
13762 \begin_inset Quotes erd
13763 \end_inset 
13764
13765  sign 
13766 \begin_inset Formula $\sim$
13767 \end_inset 
13768
13769 .
13770 \layout List
13771 \labelwidthstring 00.00.0000
13772
13773
13774 \family sans 
13775 C-minus
13776 \family default 
13777  
13778 \family typewriter 
13779 math-insert 
13780 \backslash 
13781 rightarrow 
13782 \family default 
13783 -- The arrow 
13784 \begin_inset Formula $\rightarrow$
13785 \end_inset 
13786
13787  as in 
13788 \begin_inset Formula $\lim_{x\rightarrow0}$
13789 \end_inset 
13790
13791 .
13792 \layout List
13793 \labelwidthstring 00.00.0000
13794
13795
13796 \family sans 
13797 S-M-less
13798 \family default 
13799  
13800 \family typewriter 
13801 math-insert 
13802 \backslash 
13803 leq 
13804 \family default 
13805 -- Less-or-equal 
13806 \begin_inset Formula $\leq$
13807 \end_inset 
13808
13809 .
13810 \layout List
13811 \labelwidthstring 00.00.0000
13812
13813
13814 \family sans 
13815 S-M-greater
13816 \family default 
13817  
13818 \family typewriter 
13819 math-insert 
13820 \backslash 
13821 geq 
13822 \family default 
13823 -- Greater-or-equal 
13824 \begin_inset Formula $\geq$
13825 \end_inset 
13826
13827 .
13828 \layout List
13829 \labelwidthstring 00.00.0000
13830
13831
13832 \family sans 
13833 C-s\SpecialChar ~
13834 S-less
13835 \family default 
13836  
13837 \family typewriter 
13838 math-insert 
13839 \backslash 
13840 ll 
13841 \family default 
13842 -- 
13843 \begin_inset Quotes eld
13844 \end_inset 
13845
13846 Much less than
13847 \begin_inset Quotes erd
13848 \end_inset 
13849
13850  
13851 \begin_inset Formula $\ll$
13852 \end_inset 
13853
13854  (useful in physics)
13855 \layout List
13856 \labelwidthstring 00.00.0000
13857
13858
13859 \family sans 
13860 C-s\SpecialChar ~
13861 S-greater
13862 \family default 
13863  
13864 \family typewriter 
13865 math-insert 
13866 \backslash 
13867 gg 
13868 \family default 
13869 -- 
13870 \begin_inset Quotes eld
13871 \end_inset 
13872
13873 Much greater than
13874 \begin_inset Quotes erd
13875 \end_inset 
13876
13877  sign 
13878 \begin_inset Formula $\gg$
13879 \end_inset 
13880
13881 .
13882 \layout Subsection
13883
13884 Standard math bindings
13885 \layout List
13886 \labelwidthstring 00.00.0000
13887
13888
13889 \family sans 
13890 M-m\SpecialChar ~
13891 b
13892 \family default 
13893  
13894 \family typewriter 
13895 math-insert 
13896 \backslash 
13897 overline
13898 \layout List
13899 \labelwidthstring 00.00.0000
13900
13901
13902 \family sans 
13903 M-m\SpecialChar ~
13904 d
13905 \family default 
13906  
13907 \family typewriter 
13908 math-display
13909 \layout List
13910 \labelwidthstring 00.00.0000
13911
13912
13913 \family sans 
13914 M-m\SpecialChar ~
13915 e
13916 \family default 
13917  
13918 \family typewriter 
13919 math-insert ^
13920 \layout List
13921 \labelwidthstring 00.00.0000
13922
13923
13924 \family sans 
13925 M-m\SpecialChar ~
13926 f
13927 \family default 
13928  
13929 \family typewriter 
13930 math-insert 
13931 \backslash 
13932 frac
13933 \layout List
13934 \labelwidthstring 00.00.0000
13935
13936
13937 \family sans 
13938 M-m\SpecialChar ~
13939 g
13940 \family default 
13941  
13942 \family typewriter 
13943 math-greek
13944 \layout List
13945 \labelwidthstring 00.00.0000
13946
13947
13948 \family sans 
13949 M-m\SpecialChar ~
13950 h
13951 \family default 
13952  
13953 \family typewriter 
13954 accent-circumflex
13955 \layout List
13956 \labelwidthstring 00.00.0000
13957
13958
13959 \family sans 
13960 M-m\SpecialChar ~
13961 i
13962 \family default 
13963  
13964 \family typewriter 
13965 math-insert 
13966 \backslash 
13967 int
13968 \layout List
13969 \labelwidthstring 00.00.0000
13970
13971
13972 \family sans 
13973 M-m\SpecialChar ~
13974 l
13975 \family default 
13976  
13977 \family typewriter 
13978 math-limits
13979 \layout List
13980 \labelwidthstring 00.00.0000
13981
13982
13983 \family sans 
13984 M-m\SpecialChar ~
13985 m
13986 \family default 
13987  
13988 \family typewriter 
13989 math-mode
13990 \layout List
13991 \labelwidthstring 00.00.0000
13992
13993
13994 \family sans 
13995 M-m\SpecialChar ~
13996 n
13997 \family default 
13998  
13999 \family typewriter 
14000 math-number
14001 \layout List
14002 \labelwidthstring 00.00.0000
14003
14004
14005 \family sans 
14006 M-m\SpecialChar ~
14007 o
14008 \family default 
14009  
14010 \family typewriter 
14011 math-insert 
14012 \backslash 
14013 oint
14014 \layout List
14015 \labelwidthstring 00.00.0000
14016
14017
14018 \family sans 
14019 M-m\SpecialChar ~
14020 p
14021 \family default 
14022  
14023 \family typewriter 
14024 math-insert 
14025 \backslash 
14026 partial
14027 \layout List
14028 \labelwidthstring 00.00.0000
14029
14030
14031 \family sans 
14032 M-m\SpecialChar ~
14033 r
14034 \family default 
14035  
14036 \family typewriter 
14037 math-insert 
14038 \backslash 
14039 sqrt
14040 \layout List
14041 \labelwidthstring 00.00.0000
14042
14043
14044 \family sans 
14045 M-m\SpecialChar ~
14046 s
14047 \family default 
14048  
14049 \family typewriter 
14050 math-insert 
14051 \backslash 
14052 sqrt
14053 \layout List
14054 \labelwidthstring 00.00.0000
14055
14056
14057 \family sans 
14058 M-m\SpecialChar ~
14059 u
14060 \family default 
14061  
14062 \family typewriter 
14063 math-insert 
14064 \backslash 
14065 sum
14066 \layout List
14067 \labelwidthstring 00.00.0000
14068
14069
14070 \family sans 
14071 M-m\SpecialChar ~
14072 v
14073 \family default 
14074  
14075 \family typewriter 
14076 math-insert 
14077 \backslash 
14078 vec
14079 \layout List
14080 \labelwidthstring 00.00.0000
14081
14082
14083 \family sans 
14084 M-m\SpecialChar ~
14085 x
14086 \family default 
14087  
14088 \family typewriter 
14089 math-insert _
14090 \layout List
14091 \labelwidthstring 00.00.0000
14092
14093
14094 \family sans 
14095 M-m\SpecialChar ~
14096 8
14097 \family default 
14098  
14099 \family typewriter 
14100 math-insert 
14101 \backslash 
14102 infty
14103 \layout List
14104 \labelwidthstring 00.00.0000
14105
14106
14107 \family sans 
14108 M-m\SpecialChar ~
14109 S-G
14110 \family default 
14111  
14112 \family typewriter 
14113 math-greek-toggle
14114 \layout List
14115 \labelwidthstring 00.00.0000
14116
14117
14118 \family sans 
14119 M-m\SpecialChar ~
14120 S-N
14121 \family default 
14122  
14123 \family typewriter 
14124 math-nonumber
14125 \layout List
14126 \labelwidthstring 00.00.0000
14127
14128
14129 \family sans 
14130 M-m\SpecialChar ~
14131 S-period
14132 \family default 
14133  
14134 \family typewriter 
14135 accent-dot
14136 \layout List
14137 \labelwidthstring 00.00.0000
14138
14139
14140 \family sans 
14141 M-m\SpecialChar ~
14142 S-asciitilde
14143 \family default 
14144  
14145 \family typewriter 
14146 accent-tilde
14147 \layout List
14148 \labelwidthstring 00.00.0000
14149
14150
14151 \family sans 
14152 M-m\SpecialChar ~
14153 S-apostrophe
14154 \family default 
14155  
14156 \family typewriter 
14157 math-insert 
14158 \backslash 
14159 prime
14160 \layout List
14161 \labelwidthstring 00.00.0000
14162
14163
14164 \family sans 
14165 M-m\SpecialChar ~
14166 S-parenleft
14167 \family default 
14168  
14169 \family typewriter 
14170 math-delim ( )
14171 \layout List
14172 \labelwidthstring 00.00.0000
14173
14174
14175 \family sans 
14176 M-m\SpecialChar ~
14177 S-bracketleft
14178 \family default 
14179  
14180 \family typewriter 
14181 math-delim [ ]
14182 \layout List
14183 \labelwidthstring 00.00.0000
14184
14185
14186 \family sans 
14187 M-m\SpecialChar ~
14188 S-braceleft
14189 \family default 
14190  
14191 \family typewriter 
14192 math-delim { }
14193 \layout List
14194 \labelwidthstring 00.00.0000
14195
14196
14197 \family sans 
14198 M-m\SpecialChar ~
14199 S-less
14200 \family default 
14201  
14202 \family typewriter 
14203 math-delim langle rangle
14204 \layout List
14205 \labelwidthstring 00.00.0000
14206
14207
14208 \family sans 
14209 M-m\SpecialChar ~
14210 S-greater
14211 \family default 
14212  
14213 \family typewriter 
14214 math-delim rangle langle
14215 \layout List
14216 \labelwidthstring 00.00.0000
14217
14218
14219 \family sans 
14220 M-m\SpecialChar ~
14221 S-bar
14222 \family default 
14223  
14224 \family typewriter 
14225 math-delim | |
14226 \layout List
14227 \labelwidthstring 00.00.0000
14228
14229
14230 \family sans 
14231 M-m\SpecialChar ~
14232 S-plus
14233 \family default 
14234  
14235 \family typewriter 
14236 math-insert 
14237 \backslash 
14238 pm
14239 \layout List
14240 \labelwidthstring 00.00.0000
14241
14242
14243 \family sans 
14244 M-m\SpecialChar ~
14245 S-equal
14246 \family default 
14247  
14248 \family typewriter 
14249 math-insert 
14250 \backslash 
14251 neq
14252 \layout Subsection
14253
14254 Other Accelerators
14255 \layout List
14256 \labelwidthstring 00.00.0000
14257
14258
14259 \family sans 
14260 M-k\SpecialChar ~
14261
14262 \family typewriter 
14263 keymap-off
14264 \layout List
14265 \labelwidthstring 00.00.0000
14266
14267
14268 \family sans 
14269 M-k\SpecialChar ~
14270
14271 \family typewriter 
14272 keymap-toggle
14273 \layout List
14274 \labelwidthstring 00.00.0000
14275
14276
14277 \family sans 
14278 M-k\SpecialChar ~
14279
14280 \family typewriter 
14281 keymap-off
14282 \layout List
14283 \labelwidthstring 00.00.0000
14284
14285
14286 \family sans 
14287 M-k\SpecialChar ~
14288
14289 \family typewriter 
14290 keymap-primary
14291 \layout List
14292 \labelwidthstring 00.00.0000
14293
14294
14295 \family sans 
14296 M-k\SpecialChar ~
14297
14298 \family typewriter 
14299 keymap-secondary
14300 \the_end