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