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