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