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