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