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