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