]> git.lyx.org Git - lyx.git/blob - lib/doc/Customization.lyx
b6b5a8b4892f0e4114c091b3257660ecce77621c
[lyx.git] / lib / doc / Customization.lyx
1 #LyX 1.4.0cvs 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 \color default
8077 numbertype
8078 \family roman
8079 \series medium
8080 \shape up
8081 \size normal
8082 \emph off
8083 \bar no
8084 \noun off
8085 \color none
8086  other than those descibed below will produce arabic numerals.
8087  It would not be surprising to see this change in the future.
8088 \end_layout
8089
8090 \end_inset
8091
8092
8093 \end_layout
8094
8095 \begin_layout Description
8096
8097 \family typewriter
8098 \series medium
8099 alph
8100 \family default
8101 \series default
8102  for lower-case letters: a, b, c, \SpecialChar \ldots{}
8103
8104 \end_layout
8105
8106 \begin_layout Description
8107
8108 \family typewriter
8109 \series medium
8110 Alph
8111 \family default
8112 \series default
8113  for upper-case letters: A, B, C, \SpecialChar \ldots{}
8114
8115 \end_layout
8116
8117 \begin_layout Description
8118
8119 \family typewriter
8120 \series medium
8121 roman
8122 \family default
8123 \series default
8124  for lower-case roman numerals: i, ii, iii, \SpecialChar \ldots{}
8125
8126 \end_layout
8127
8128 \begin_layout Description
8129
8130 \family typewriter
8131 \series medium
8132 Roman
8133 \family default
8134 \series default
8135  for upper-case roman numerals: I, II, III\SpecialChar \ldots{}
8136
8137 \end_layout
8138
8139 \begin_layout Description
8140
8141 \family typewriter
8142 \series medium
8143 hebrew
8144 \family default
8145 \series default
8146  for hebrew numerals.
8147 \end_layout
8148
8149 \end_deeper
8150 \begin_layout Subsection
8151 Font description
8152 \end_layout
8153
8154 \begin_layout Standard
8155 \begin_inset LatexCommand \label{sec:fonts}
8156
8157 \end_inset
8158
8159 A font description looks like that:
8160 \end_layout
8161
8162 \begin_layout LyX-Code
8163 Font
8164 \family roman
8165 \emph on
8166  or 
8167 \family default
8168 \emph default
8169 LabelFont
8170 \end_layout
8171
8172 \begin_layout LyX-Code
8173  ...
8174 \end_layout
8175
8176 \begin_layout LyX-Code
8177 EndFont
8178 \end_layout
8179
8180 \begin_layout Standard
8181 and the following commands are available:
8182 \end_layout
8183
8184 \begin_layout Description
8185
8186 \family typewriter
8187 \series medium
8188 Family
8189 \family default
8190 \series default
8191  [
8192 \family typewriter
8193 \emph on
8194 Roman
8195 \emph default
8196 , Sans, Typewriter
8197 \family default
8198
8199 \end_layout
8200
8201 \begin_layout Description
8202
8203 \family typewriter
8204 \series medium
8205 Series
8206 \family default
8207 \series default
8208  [
8209 \family typewriter
8210 \emph on
8211 Medium
8212 \emph default
8213 , Bold
8214 \family default
8215
8216 \end_layout
8217
8218 \begin_layout Description
8219
8220 \family typewriter
8221 \series medium
8222 Shape
8223 \family default
8224 \series default
8225  [
8226 \family typewriter
8227 \emph on
8228 Up
8229 \emph default
8230 , Italic, SmallCaps, Slanted
8231 \family default
8232
8233 \end_layout
8234
8235 \begin_layout Description
8236
8237 \family typewriter
8238 \series medium
8239 Size
8240 \family default
8241 \series default
8242  [
8243 \family typewriter
8244 tiny, small, 
8245 \emph on
8246 normal
8247 \emph default
8248 , large, larger, largest, huge, giant
8249 \family default
8250 ]
8251 \end_layout
8252
8253 \begin_layout Description
8254
8255 \family typewriter
8256 \series medium
8257 Color
8258 \series default
8259  
8260 \family default
8261 [
8262 \family typewriter
8263 \emph on
8264 none
8265 \emph default
8266 , black, white, red, green, blue, cyan, magenta, yellow
8267 \family default
8268 ]
8269 \end_layout
8270
8271 \begin_layout Subsection
8272 Upgrading old layout files
8273 \end_layout
8274
8275 \begin_layout Standard
8276 The file format of layout files changes from time to time, so old layout
8277  files need to be converted.
8278  This process has been automated in LyX 1.4.0: If LyX reads an old format
8279  layout file it will call the conversion tool 
8280 \family typewriter
8281 $LyXDir/scripts/layout2layout.py
8282 \family default
8283  and convert it to a temporary file in current format.
8284  The original file is left untouched, so that you can still use it with
8285  LyX 1.3.x.
8286  If you want to convert the layout file permanently, just call the converter
8287  by hand:
8288 \end_layout
8289
8290 \begin_layout LyX-Code
8291 python $LyXDir/scripts/layout2layout.py myclass.layout myclassnew.layout
8292 \end_layout
8293
8294 \begin_layout Standard
8295 Then copy 
8296 \family typewriter
8297 myclassnew.layout
8298 \family default
8299  to 
8300 \family typewriter
8301 $UserDir/layouts/
8302 \family default
8303 .
8304 \end_layout
8305
8306 \begin_layout Standard
8307 The automatic conversion does only handle syntax changes.
8308  It cannot handle the case where the contents of included files was changed.
8309  For example, layout files based on 
8310 \family typewriter
8311 book.layout
8312 \family default
8313  need to include 
8314 \family typewriter
8315 numreport.inc
8316 \family default
8317  in addition to 
8318 \family typewriter
8319 stdclass.inc
8320 \family default
8321 .
8322  If you get error messages about undefined counters, try to convert your
8323  file with 
8324 \family typewriter
8325 layout2layout.py
8326 \family default
8327  and then add one of 
8328 \family typewriter
8329 numarticle.inc
8330 \family default
8331
8332 \family typewriter
8333 numreport.inc
8334 \family default
8335  and 
8336 \family typewriter
8337 numrevtex.inc
8338 \family default
8339 .
8340 \end_layout
8341
8342 \begin_layout Section
8343 Creating Templates
8344 \begin_inset LatexCommand \label{sec:templates}
8345
8346 \end_inset
8347
8348
8349 \end_layout
8350
8351 \begin_layout Standard
8352 Templates are created just like usual documents.
8353  The only difference is that usual documents contain all possible settings,
8354  including the fontscheme and the papersize.
8355  Usually a user doesn't want a template to overwrite his defaults in these
8356  cases.
8357  For that reason, the designer of a template should remove the corresponding
8358  commands like 
8359 \family typewriter
8360
8361 \backslash
8362 fontscheme
8363 \family default
8364  or 
8365 \family typewriter
8366
8367 \backslash
8368 papersize
8369 \family default
8370  from the template LyX file.
8371  This can be done with any simple text-editor, for example 
8372 \family typewriter
8373 vi
8374 \family default
8375  or 
8376 \family typewriter
8377 xedit
8378 \family default
8379 .
8380  
8381 \end_layout
8382
8383 \begin_layout Standard
8384 Put the edited template files you create in 
8385 \family typewriter
8386 $UserDir/templates/
8387 \family default
8388 , copy the ones you use from the global template directory in 
8389 \family typewriter
8390 $LyXDir/templates/
8391 \family default
8392  to the same place, and redefine the template path in the 
8393 \family sans
8394 \bar under
8395 E
8396 \bar default
8397 dit\SpecialChar \menuseparator
8398
8399 \bar under
8400 P
8401 \bar default
8402 references 
8403 \family default
8404 dialog (tabs 
8405 \family sans
8406 Input
8407 \family default
8408
8409 \family sans
8410 Path
8411 \family default
8412 ).
8413  
8414 \end_layout
8415
8416 \begin_layout Standard
8417 Note that there is a template which has a particular meaning: 
8418 \family typewriter
8419 defaults.lyx
8420 \family default
8421 .
8422  This template is loaded everytime you create a new document with 
8423 \family sans
8424 \bar under
8425 F
8426 \bar default
8427 ile
8428 \family default
8429 \SpecialChar \menuseparator
8430
8431 \family sans
8432 \bar under
8433 N
8434 \bar default
8435 ew 
8436 \family default
8437 in order to provide useful defaults.
8438  To create this template from inside LyX, all you have to do is to open
8439  a document with the correct settings, and use the 
8440 \family sans
8441 Sa
8442 \bar under
8443 v
8444 \bar default
8445 e as Document Defaults
8446 \family default
8447  button.
8448 \end_layout
8449
8450 \begin_layout Chapter
8451 Including External Material
8452 \end_layout
8453
8454 \begin_layout Section
8455 Background
8456 \end_layout
8457
8458 \begin_layout Standard
8459 \begin_inset Note Note
8460 status collapsed
8461
8462 \begin_layout Standard
8463 This section is completely outdated.
8464 \end_layout
8465
8466 \end_inset
8467
8468 One often requested feature from LyX users is to be able to interface LyX
8469  with XFig, Dia, or other similar applications that specialize in producing
8470  a certain kind of diagram, figure, schematic or whatever material might
8471  be relevant to include in your document.
8472  Previously, it was only possible to include boring, static, fixed images
8473  in LyX documents with the graphics feature, but there are several limitations
8474  attached to this approach:
8475 \end_layout
8476
8477 \begin_layout Itemize
8478 If you want to change the figure, you have to invoke an external program
8479  by hand
8480 \end_layout
8481
8482 \begin_layout Itemize
8483 LyX does not notice that the referenced files change, so the on-screen display
8484  can fast become obsolete, and this is aggravated by the lack of a means
8485  of updating the display
8486 \end_layout
8487
8488 \begin_layout Itemize
8489 The graphics stuff does not provide any mechanisms for coping with different
8490  exported formats such as DocBook, HTML or raw Ascii
8491 \end_layout
8492
8493 \begin_layout Standard
8494 The external material facility attempts to solve all of these problems
8495 \begin_inset Foot
8496 status collapsed
8497
8498 \begin_layout Standard
8499 Even if the graphics facility can't solve all problems, it is still valuable
8500  because it does provide in-line preview of the graphics, and supports advanced
8501  geometric transformations with a comfortable user interface.
8502 \end_layout
8503
8504 \end_inset
8505
8506 .
8507  It does this by offering a general method to interface LyX to external
8508  applications.
8509  Instead of introducing a long list of different constructs tailored for
8510  each specific application, we chose to sacrifice the in-line displaying
8511  of the included material in order to provide a general construct to cover
8512  a wide range of applications.
8513  The result is the external material construct.
8514  External material presents itself in the document simply as a button, but
8515  don't let this fool you.
8516  When you click on it, a dialog will appear that allows you to chose exactly
8517  what material to include, and in the following sections you will learn
8518  that this is indeed a powerful mechanism that can solve all of the above
8519  problems, and more.
8520 \end_layout
8521
8522 \begin_layout Section
8523 How does it work?
8524 \end_layout
8525
8526 \begin_layout Standard
8527 The external material feature is based on the concept of a
8528 \emph on
8529  template
8530 \emph default
8531 .
8532  A template is a specification of how LyX should interface with a certain
8533  kind of material.
8534  As bundled, LyX comes with predefined templates for XFig figures, Dia diagrams,
8535  various raster format images, gnuplot, and more.
8536  You can check the actual list by using the 
8537 \family sans
8538 Insert\SpecialChar \menuseparator
8539 External
8540 \family default
8541 \InsetSpace ~
8542
8543 \family sans
8544 Material 
8545 \family default
8546 command.
8547  Furthermore, it is possible to roll your own template to support a specific
8548  kind of material.
8549  Later we'll describe in more detail what is involved, and hopefully you
8550  will submit all the templates you create so we can include them in a later
8551  LyX version.
8552 \end_layout
8553
8554 \begin_layout Standard
8555 Another basic idea of the external material feature is to distinguish between
8556  the original file that serves as a base for final material and the produced
8557  file that is included in your exported or printed document.
8558  For example, consider the case of a figure produced with XFig.
8559  The XFig application itself works on an original file with the 
8560 \family typewriter
8561 .fig
8562 \family default
8563  extension.
8564  Within XFig, you create and change your figure, and when you are done,
8565  you save the 
8566 \family typewriter
8567 fig
8568 \family default
8569 -file.
8570  When you want to include the figure in your document, you invoke 
8571 \family typewriter
8572 transfig
8573 \family default
8574  in order to create a PostScript file that can readily be included in your
8575  LaTeX file.
8576  In this case, the 
8577 \family typewriter
8578 .fig
8579 \family default
8580  file is the original file, and the PostScript file is the produced file.
8581 \end_layout
8582
8583 \begin_layout Standard
8584 This distinction is important in order to allow updating of the material
8585  while you are in the process of writing the document.
8586  Furthermore, it provides us with the flexibility that is needed to support
8587  multiple export formats.
8588  For instance, in the case of an Ascii resulting file, it is not exactly
8589  an award-winning idea to include the figure as raw PostScript.
8590  Instead, you'd either prefer to just include a reference to the figure,
8591  or try to invoke some graphics to Ascii converter to make the final result
8592  look similar to the real graphics.
8593  The external material management allows you to do this, because it is parameter
8594 ized on the different export formats that LyX supports.
8595 \end_layout
8596
8597 \begin_layout Standard
8598 Besides supporting the production of different products according to the
8599  exported format, it supports tight integration with editing and viewing
8600  applications.
8601  In the case of an XFig figure, you are able to invoke 
8602 \family typewriter
8603 xfig
8604 \family default
8605  on the original file with a single click from within the external material
8606  dialog in LyX, and also preview the produced PostScript file with 
8607 \family typewriter
8608 ghostview
8609 \family default
8610  with another click.
8611  No more fiddling around with the command line and/or file browsers to locate
8612  and manipulate the original or produced files.
8613  In this way, you are finally able to take full advantage of the many different
8614  applications that are relevant to use when you write your documents, and
8615  ultimately be more productive.
8616 \end_layout
8617
8618 \begin_layout Standard
8619 \begin_inset Note Note
8620 status collapsed
8621
8622 \begin_layout Standard
8623 This paragraph is outdated
8624 \end_layout
8625
8626 \end_inset
8627
8628 So, all in all, LyX has information about a number of different programs
8629  to use behind the scenes in order to realize all of this machinery.
8630  This information, in fact, is exactly what is contained in the templates.
8631  To each template, there is associated a list of command lines that are
8632  used to invoke applications, convert the original file to the produced
8633  file, and more.
8634  This mechanism allows the advanced user to extend the capabilities of LyX
8635  without fiddling with the source code.
8636  It requires some footwork to define all the different commands and flags,
8637  but luckily, the LyX team did all the hard work and specified these for
8638  you.
8639 \end_layout
8640
8641 \begin_layout Standard
8642 But before the trees grow into the skies, we have to admit that we did take
8643  one tiny short-cut.
8644  Since you can produce many different kinds of files to go with each exported
8645  format, one could also expect that it would be possible to preview each
8646  product.
8647  The LyX team decided against this in order to keep the user interface simple.
8648  Instead of providing a button for each exported file format, we decided
8649  to introduce the concept of the primary file format and just have one button.
8650  When you press 
8651 \family sans
8652 View
8653 \family default
8654 \InsetSpace ~
8655
8656 \family sans
8657 result
8658 \family default
8659  in the external material dialog, you will get a view of the produced file
8660  in the primary file format.
8661  And the primary file format is specified by your document class.
8662  For most document classes, the primary file format is LaTeX, but for the
8663  DocBook document classes, the primary file format is DocBook.
8664  So, when you view the produced file, keep in mind that it will only be
8665  a preview of what the main result will be.
8666  If you want to see how other exported formats turn out, you have to export
8667  them and preview them by hand.
8668 \end_layout
8669
8670 \begin_layout Section
8671 The external material dialog
8672 \end_layout
8673
8674 \begin_layout Standard
8675 You insert external material from the 
8676 \family sans
8677 \bar under
8678 I
8679 \bar default
8680 nsert
8681 \family default
8682  menu.
8683  When you do this, a button is inserted into your document, and the external
8684  material dialog is shown.
8685  This dialog allows you to describe exactly what material should be included,
8686  and also how it should be included.
8687  Furthermore, it provides access to the external applications to either
8688  view, edit or produce the material that is used in the resulting file.
8689 \end_layout
8690
8691 \begin_layout Standard
8692 \begin_inset Note Note
8693 status collapsed
8694
8695 \begin_layout Standard
8696 This paragraph is outdated
8697 \end_layout
8698
8699 \end_inset
8700
8701 At the top of this dialog, there is a drop-down list where you can chose
8702  which template should be used.
8703  Just below the template drop-down, there's a text area with a short blurb
8704  about the chosen template that should help you use it.
8705  Most often, it will provide a short description of the template, and a
8706  few hints on how to parameterize the use of it.
8707  Further down, you'll find a filename input field along with a 
8708 \begin_inset Quotes eld
8709 \end_inset
8710
8711 Browse
8712 \begin_inset Quotes erd
8713 \end_inset
8714
8715  button that allows you to chose which file should be included with the
8716  standard file browser.
8717  Thus this field specifies the original file.
8718  Since the produced file is automatically generated when needed, there is
8719  no need to give access to it in the user interface.
8720 \end_layout
8721
8722 \begin_layout Standard
8723 \begin_inset Note Note
8724 status collapsed
8725
8726 \begin_layout Standard
8727 This paragraph is outdated
8728 \end_layout
8729
8730 \end_inset
8731
8732 At the bottom of the dialog, you'll find a general input box called 
8733 \family sans
8734 Parameters
8735 \family default
8736 .
8737  This box is generally used to parameterize the specific template.
8738  The specific use should be covered in the help blurb associated with the
8739  template, but it typically allows you to define variations on how the produced
8740  file should be generated.
8741 \end_layout
8742
8743 \begin_layout Standard
8744 \begin_inset Note Note
8745 status collapsed
8746
8747 \begin_layout Standard
8748 This paragraph is outdated
8749 \end_layout
8750
8751 \end_inset
8752
8753 At the right side of the dialog, you'll find three buttons: 
8754 \family sans
8755 Edit
8756 \family default
8757 \InsetSpace ~
8758
8759 \family sans
8760 file
8761 \family default
8762
8763 \family sans
8764 View
8765 \family default
8766 \InsetSpace ~
8767
8768 \family sans
8769 result
8770 \family default
8771 , and 
8772 \family sans
8773 Update
8774 \family default
8775 \InsetSpace ~
8776
8777 \family sans
8778 result
8779 \family default
8780 .
8781  These in turn allow you to edit your original file with the appropriate
8782  editing application, view the produced file as included in the primary
8783  format document, and finally force an update of the resulting material
8784  in the primary format.
8785  Normally, the 
8786 \family sans
8787 Update
8788 \family default
8789 \InsetSpace ~
8790
8791 \family sans
8792 result
8793 \family default
8794  button will be disabled, because most templates are configured to automatically
8795  update the produced file when needed.
8796  In those cases, there is no need to force the production of a new produced
8797  file.
8798  However, some templates are configured to not be automatically producing
8799  the residual product, because the cost of producing the produced file might
8800  be so large that it would be a pain to do it all the time.
8801  Those types are known as 
8802 \emph on
8803 manual
8804 \emph default
8805  external material.
8806  In those cases, you can use the button to force the production of the produced
8807  file exactly when you need it, and thus control the amount of work that
8808  is done.
8809  In fact, it is 
8810 \emph on
8811 your
8812 \emph default
8813  responsibility to do this to keep the produced files current at all times:
8814  before printing, before exporting, before viewing, etc.
8815  At some time in the future, it might be possible that LyX will help you
8816  with this task.Any changes in the template, filename or parameters are actually
8817  applied whenever you press 
8818 \family sans
8819 Edit file
8820 \family default
8821
8822 \family sans
8823 View
8824 \family default
8825 \InsetSpace ~
8826
8827 \family sans
8828 result
8829 \family default
8830  or 
8831 \family sans
8832 Update
8833 \family default
8834 \InsetSpace ~
8835
8836 \family sans
8837 result
8838 \family default
8839  buttons.
8840 \end_layout
8841
8842 \begin_layout Section
8843 Examples
8844 \end_layout
8845
8846 \begin_layout Standard
8847 In this section, we should include some examples of use of the external
8848  material.
8849  Those examples could include:
8850 \end_layout
8851
8852 \begin_layout Itemize
8853 External raster images
8854 \end_layout
8855
8856 \begin_layout Itemize
8857 External XFig figures
8858 \end_layout
8859
8860 \begin_layout Itemize
8861 Chess diagrams
8862 \end_layout
8863
8864 \begin_layout Itemize
8865 Sound samples
8866 \end_layout
8867
8868 \begin_layout Itemize
8869 The use of makefiles
8870 \end_layout
8871
8872 \begin_layout Itemize
8873 Recursive external LyX templates
8874 \end_layout
8875
8876 \begin_layout Section
8877 The external template configuration file
8878 \end_layout
8879
8880 \begin_layout Standard
8881 It is relatively easy to add custom external template definitions to LyX.
8882  However, be aware this doing this in an careless manner most probably 
8883 \emph on
8884 will
8885 \emph default
8886  introduce an easily exploitable security hole.
8887  So before you do this, please read the discussion about security which
8888  will follow later.
8889 \end_layout
8890
8891 \begin_layout Standard
8892 Having said that, we encourage you to submit any interesting templates that
8893  you create.
8894  
8895 \end_layout
8896
8897 \begin_layout Standard
8898 The external templates are defined in the 
8899 \family typewriter
8900 lib/external_templates
8901 \family default
8902  file.
8903  You can place your own version in 
8904 \family typewriter
8905 .lyx/external_templates
8906 \family default
8907 .
8908 \end_layout
8909
8910 \begin_layout Standard
8911 A typical template looks like this:
8912 \end_layout
8913
8914 \begin_layout LyX-Code
8915 Template XFig
8916 \end_layout
8917
8918 \begin_layout LyX-Code
8919 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
8920 \end_layout
8921
8922 \begin_layout LyX-Code
8923 HelpText
8924 \end_layout
8925
8926 \begin_layout LyX-Code
8927 An XFig figure.
8928 \end_layout
8929
8930 \begin_layout LyX-Code
8931 HelpTextEnd
8932 \end_layout
8933
8934 \begin_layout LyX-Code
8935 InputFormat fig
8936 \end_layout
8937
8938 \begin_layout LyX-Code
8939 FileFilter "*.fig"
8940 \end_layout
8941
8942 \begin_layout LyX-Code
8943 AutomaticProduction true
8944 \end_layout
8945
8946 \begin_layout LyX-Code
8947 Transform Rotate
8948 \end_layout
8949
8950 \begin_layout LyX-Code
8951 Transform Resize
8952 \end_layout
8953
8954 \begin_layout LyX-Code
8955 Format LaTeX
8956 \end_layout
8957
8958 \begin_layout LyX-Code
8959 TransformCommand Rotate RotationLatexCommand
8960 \end_layout
8961
8962 \begin_layout LyX-Code
8963 TransformCommand Resize ResizeLatexCommand
8964 \end_layout
8965
8966 \begin_layout LyX-Code
8967 Product "$$RotateFront$$ResizeFront
8968 \end_layout
8969
8970 \begin_layout LyX-Code
8971          
8972 \backslash
8973
8974 \backslash
8975 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
8976 \end_layout
8977
8978 \begin_layout LyX-Code
8979          $$ResizeBack$$RotateBack"
8980 \end_layout
8981
8982 \begin_layout LyX-Code
8983 UpdateFormat pstex
8984 \end_layout
8985
8986 \begin_layout LyX-Code
8987 UpdateResult "$$AbsPath$$Basename.pstex_t"
8988 \end_layout
8989
8990 \begin_layout LyX-Code
8991 Requirement "graphicx"
8992 \end_layout
8993
8994 \begin_layout LyX-Code
8995 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
8996 \end_layout
8997
8998 \begin_layout LyX-Code
8999 ReferencedFile latex "$$AbsPath$$Basename.eps"
9000 \end_layout
9001
9002 \begin_layout LyX-Code
9003 ReferencedFile dvi "$$AbsPath$$Basename.eps"
9004 \end_layout
9005
9006 \begin_layout LyX-Code
9007 FormatEnd
9008 \end_layout
9009
9010 \begin_layout LyX-Code
9011 Format PDFLaTeX
9012 \end_layout
9013
9014 \begin_layout LyX-Code
9015 TransformCommand Rotate RotationLatexCommand
9016 \end_layout
9017
9018 \begin_layout LyX-Code
9019 TransformCommand Resize ResizeLatexCommand
9020 \end_layout
9021
9022 \begin_layout LyX-Code
9023 Product "$$RotateFront$$ResizeFront
9024 \end_layout
9025
9026 \begin_layout LyX-Code
9027          
9028 \backslash
9029
9030 \backslash
9031 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
9032 \end_layout
9033
9034 \begin_layout LyX-Code
9035          $$ResizeBack$$RotateBack"
9036 \end_layout
9037
9038 \begin_layout LyX-Code
9039 UpdateFormat pdftex
9040 \end_layout
9041
9042 \begin_layout LyX-Code
9043 UpdateResult "$$AbsPath$$Basename.pdftex_t"
9044 \end_layout
9045
9046 \begin_layout LyX-Code
9047 Requirement "graphicx"
9048 \end_layout
9049
9050 \begin_layout LyX-Code
9051 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
9052 \end_layout
9053
9054 \begin_layout LyX-Code
9055 ReferencedFile latex "$$AbsPath$$Basename.pdf"
9056 \end_layout
9057
9058 \begin_layout LyX-Code
9059 FormatEnd
9060 \end_layout
9061
9062 \begin_layout LyX-Code
9063 Format Ascii
9064 \end_layout
9065
9066 \begin_layout LyX-Code
9067 Product "$$Contents(
9068 \backslash
9069 "$$AbsPath$$Basename.asc
9070 \backslash
9071 ")"
9072 \end_layout
9073
9074 \begin_layout LyX-Code
9075 UpdateFormat asciixfig
9076 \end_layout
9077
9078 \begin_layout LyX-Code
9079 UpdateResult "$$AbsPath$$Basename.asc"
9080 \end_layout
9081
9082 \begin_layout LyX-Code
9083 FormatEnd
9084 \end_layout
9085
9086 \begin_layout LyX-Code
9087 Format DocBook
9088 \end_layout
9089
9090 \begin_layout LyX-Code
9091 Product "<graphic fileref=
9092 \backslash
9093 "$$AbsOrRelPathMaster$$Basename.eps
9094 \backslash
9095 ">
9096 \end_layout
9097
9098 \begin_layout LyX-Code
9099          </graphic>"
9100 \end_layout
9101
9102 \begin_layout LyX-Code
9103 UpdateFormat eps
9104 \end_layout
9105
9106 \begin_layout LyX-Code
9107 UpdateResult "$$AbsPath$$Basename.eps"
9108 \end_layout
9109
9110 \begin_layout LyX-Code
9111 ReferencedFile docbook "$$AbsPath$$Basename.eps"
9112 \end_layout
9113
9114 \begin_layout LyX-Code
9115 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
9116 \end_layout
9117
9118 \begin_layout LyX-Code
9119 FormatEnd
9120 \end_layout
9121
9122 \begin_layout LyX-Code
9123 Format LinuxDoc
9124 \end_layout
9125
9126 \begin_layout LyX-Code
9127 Product "[XFig: $$FName]"
9128 \end_layout
9129
9130 \begin_layout LyX-Code
9131 FormatEnd
9132 \end_layout
9133
9134 \begin_layout LyX-Code
9135 TemplateEnd
9136 \end_layout
9137
9138 \begin_layout Standard
9139 As you can see, the template is enclosed in 
9140 \family typewriter
9141 Template
9142 \family default
9143  \SpecialChar \ldots{}
9144  
9145 \family typewriter
9146 TemplateEnd
9147 \family default
9148 .
9149  It contains a header specifying some general settings, and for each supported
9150  primary document file format a section 
9151 \family typewriter
9152 Format
9153 \family default
9154  \SpecialChar \ldots{}
9155  
9156 \family typewriter
9157 FormatEnd
9158 \family default
9159 .
9160 \end_layout
9161
9162 \begin_layout Subsection
9163 The template header
9164 \end_layout
9165
9166 \begin_layout Description
9167
9168 \family typewriter
9169 \series medium
9170 Template\InsetSpace ~
9171 <id>
9172 \family default
9173 \series default
9174  A unique name for the template.
9175  It must not contain substitution macros (see below).
9176 \end_layout
9177
9178 \begin_layout Description
9179
9180 \family typewriter
9181 \series medium
9182 GuiName\InsetSpace ~
9183 <guiname>
9184 \family default
9185 \series default
9186  The text that is displayed on the button.
9187  This command must occur exactly once.
9188 \end_layout
9189
9190 \begin_layout Description
9191
9192 \family typewriter
9193 \series medium
9194 HelpText\InsetSpace ~
9195 <text>\InsetSpace ~
9196 HelpTextEnd
9197 \family default
9198 \series default
9199  The help text that is used in the External dialog.
9200  Provide enough information to explain to the user just what the template
9201  can provide him with.
9202  This command must occur exactly once.
9203 \end_layout
9204
9205 \begin_layout Description
9206
9207 \family typewriter
9208 \series medium
9209 InputFormat\InsetSpace ~
9210 <format>
9211 \family default
9212 \series default
9213  The file format of the original file.
9214  This must be the name of a format that is known to LyX (see the 
9215 \family sans
9216 \bar under
9217 T
9218 \bar default
9219 ools\SpecialChar \menuseparator
9220
9221 \bar under
9222 P
9223 \bar default
9224 references:Conversion
9225 \family default
9226  dialog).
9227  Use 
9228 \family typewriter
9229 "*"
9230 \family default
9231  if the template can handle original files of more than one format.
9232  LyX will attempt to interrogate the file itself in order to deduce its
9233  format in this case.
9234  This command must occur exactly once.
9235 \end_layout
9236
9237 \begin_layout Description
9238
9239 \family typewriter
9240 \series medium
9241 FileFilter\InsetSpace ~
9242 <pattern>
9243 \family default
9244 \series default
9245  A glob pattern that is used in the file dialog to filter out the desired
9246  files.
9247  If there is more than one possible file extension (e.g.\InsetSpace ~
9248 tgif has 
9249 \family typewriter
9250 .obj
9251 \family default
9252  and 
9253 \family typewriter
9254 .tgo
9255 \family default
9256 ), use something like 
9257 \family typewriter
9258 "*.{obj,tgo}"
9259 \family default
9260 .
9261  This command must occur exactly once.
9262 \end_layout
9263
9264 \begin_layout Description
9265
9266 \family typewriter
9267 \series medium
9268 AutomaticProduction\InsetSpace ~
9269 true|false
9270 \family default
9271 \series default
9272  Wether the file represented by the template must be generated by LyX.
9273  This command must occur exactly once.
9274 \end_layout
9275
9276 \begin_layout Description
9277
9278 \family typewriter
9279 \series medium
9280 Transform\InsetSpace ~
9281 Rotate|Resize|Clip|Extra
9282 \family default
9283 \series default
9284  This command specifies which transformations are supported by this template.
9285  It may occur zero or more times.
9286  This command enables the corresponding tabs in the external dialog.
9287  Each 
9288 \family typewriter
9289 Transform
9290 \family default
9291  command must have either a corresponding 
9292 \family typewriter
9293 TransformCommand
9294 \family default
9295  or a 
9296 \family typewriter
9297 TransformOption
9298 \family default
9299  command in the 
9300 \family typewriter
9301 Format
9302 \family default
9303  section.
9304  Otherwise the transformation will not be supported by that format.
9305 \end_layout
9306
9307 \begin_layout Subsection
9308 The Format section
9309 \end_layout
9310
9311 \begin_layout Description
9312
9313 \family typewriter
9314 \series medium
9315 Format\InsetSpace ~
9316 LaTeX|PDFLaTeX|Ascii|DocBook|LinuxDoc
9317 \family default
9318 \series default
9319  The primary document file format that this format definition is for.
9320  Not every template has a sensible representation in all document file formats.
9321  Please define nevertheless a 
9322 \family typewriter
9323 Format
9324 \family default
9325  section for all formats.
9326  Use a dummy text when no representation is available (see the LinuxDoc
9327  format in the example above).
9328  Then you can at least see a reference to the external material in the exported
9329  document.
9330 \end_layout
9331
9332 \begin_layout Description
9333
9334 \family typewriter
9335 \series medium
9336 TransformCommand\InsetSpace ~
9337 Rotate\InsetSpace ~
9338 RotationLatexCommand
9339 \family default
9340 \series default
9341  This command specifies that the built in LaTeX command should be used for
9342  rotation.
9343  This command may occur once or not at all.
9344 \end_layout
9345
9346 \begin_layout Description
9347
9348 \family typewriter
9349 \series medium
9350 TransformCommand\InsetSpace ~
9351 Resize\InsetSpace ~
9352 ResizeLatexCommand
9353 \family default
9354 \series default
9355  This command specifies that the built in LaTeX command should be used for
9356  resizing.
9357  This command may occur once or not at all.
9358 \end_layout
9359
9360 \begin_layout Description
9361
9362 \family typewriter
9363 \series medium
9364 TransformOption\InsetSpace ~
9365 Rotate\InsetSpace ~
9366 RotationLatexOption
9367 \family default
9368 \series default
9369  This command specifies that rotation is done via an optional argument.
9370  This command may occur once or not at all.
9371 \end_layout
9372
9373 \begin_layout Description
9374
9375 \family typewriter
9376 \series medium
9377 TransformOption\InsetSpace ~
9378 Resize\InsetSpace ~
9379 ResizeLatexOption
9380 \family default
9381 \series default
9382  This command specifies that resizing is done via an optional argument.
9383  This command may occur once or not at all.
9384 \end_layout
9385
9386 \begin_layout Description
9387
9388 \family typewriter
9389 \series medium
9390 TransformOption\InsetSpace ~
9391 Clip\InsetSpace ~
9392 ClipLatexOption
9393 \family default
9394 \series default
9395  This command specifies that clipping is done via an optional argument.
9396  This command may occur once or not at all.
9397 \end_layout
9398
9399 \begin_layout Description
9400
9401 \family typewriter
9402 \series medium
9403 TransformOption\InsetSpace ~
9404 Extra\InsetSpace ~
9405 ExtraLatexOption
9406 \family default
9407 \series default
9408  This command specifies that an extra optional argument is used.
9409  This command may occur once or not at all.
9410 \end_layout
9411
9412 \begin_layout Description
9413
9414 \family typewriter
9415 \series medium
9416 Product\InsetSpace ~
9417 <text>
9418 \family default
9419 \series default
9420  The text that is inserted in the exported document.
9421  This is actually the most important command and can be quite complex.
9422  This command must occur exactly once.
9423 \end_layout
9424
9425 \begin_layout Description
9426
9427 \family typewriter
9428 \series medium
9429 UpdateFormat\InsetSpace ~
9430 <format>
9431 \family default
9432 \series default
9433  The file format of the converted file.
9434  This must be the name of a format that is known to LyX (see the 
9435 \family sans
9436 \bar under
9437 T
9438 \bar default
9439 ools\SpecialChar \menuseparator
9440
9441 \bar under
9442 P
9443 \bar default
9444 references:Conversion
9445 \family default
9446  dialog).
9447  This command must occur exactly once.
9448 \end_layout
9449
9450 \begin_layout Description
9451
9452 \family typewriter
9453 \series medium
9454 UpdateResult\InsetSpace ~
9455 <filename>
9456 \family default
9457 \series default
9458  The file name of the converted file.
9459  The file name must be absolute.
9460  This command must occur exactly once.
9461 \end_layout
9462
9463 \begin_layout Description
9464
9465 \family typewriter
9466 \series medium
9467 ReferencedFile\InsetSpace ~
9468 <format>\InsetSpace ~
9469 <filename>
9470 \family default
9471 \series default
9472  This command denotes files that are created by the conversion process and
9473  are needed for a particular export format.
9474  If the filename is relative, it is interpreted relative to the master document.
9475  This command may be given zero or more times.
9476 \end_layout
9477
9478 \begin_layout Description
9479
9480 \family typewriter
9481 \series medium
9482 Requirement\InsetSpace ~
9483 <package>
9484 \family default
9485 \series default
9486  The name of a required LaTeX package.
9487  The package is included via 
9488 \family typewriter
9489
9490 \backslash
9491 usepackage{}
9492 \family default
9493  in the LaTeX preamble.
9494  This command may occur zero or more times.
9495 \end_layout
9496
9497 \begin_layout Description
9498
9499 \family typewriter
9500 \series medium
9501 Preamble\InsetSpace ~
9502 <name>
9503 \family default
9504 \series default
9505  This command specifies a preamble snippet that will be included in the
9506  LaTeX preamble.
9507  It has to be defined using
9508 \family typewriter
9509  PreambleDef
9510 \family default
9511  \SpecialChar \ldots{}
9512  
9513 \family typewriter
9514 PreambleDefEnd
9515 \family default
9516 .
9517  This command may occur zero or more times.
9518 \end_layout
9519
9520 \begin_layout Description
9521
9522 \family typewriter
9523 \series medium
9524 Option\InsetSpace ~
9525 <name>\InsetSpace ~
9526 <value>
9527 \family default
9528 \series default
9529  This command defines an additional macro 
9530 \family typewriter
9531 $$<name>
9532 \family default
9533  for substitution in 
9534 \family typewriter
9535 Product
9536 \family default
9537 .
9538  
9539 \family typewriter
9540 <value>
9541 \family default
9542  itself may contain substitution macros.
9543  The advantage over using 
9544 \family typewriter
9545 <value>
9546 \family default
9547  directly in 
9548 \family typewriter
9549 Product
9550 \family default
9551  is that the substituted value of 
9552 \family typewriter
9553 $$<name>
9554 \family default
9555  is sanitized so that it is a valid optional argument in the document format.
9556  This command may occur zero or more times.
9557 \end_layout
9558
9559 \begin_layout Subsection
9560 Preamble definitions
9561 \end_layout
9562
9563 \begin_layout Standard
9564 The external template configuration file may contain additional preamble
9565  definitions enclosed by 
9566 \family typewriter
9567 PreambleDef
9568 \family default
9569  \SpecialChar \ldots{}
9570  
9571 \family typewriter
9572 PreambleDefEnd
9573 \family default
9574 .
9575  They can be used by the templates in the 
9576 \family typewriter
9577 Format
9578 \family default
9579  section.
9580 \end_layout
9581
9582 \begin_layout Section
9583 The substitution mechanism
9584 \end_layout
9585
9586 \begin_layout Standard
9587 When the external material facility invokes an external program, it is done
9588  on the basis of a command defined in the template configuration file.
9589  These commands can contain various macros that are expanded before execution.
9590  Execution always take place in the directory of the containing document.
9591 \end_layout
9592
9593 \begin_layout Standard
9594 Also, whenever external material is to be displayed, the name will be produced
9595  by the substitution mechanism, and most other commands in the template
9596  definition support substitution as well.
9597 \end_layout
9598
9599 \begin_layout Standard
9600 The available macros are the following:
9601 \end_layout
9602
9603 \begin_layout Description
9604 $$FName The filename of the file specified in the external material dialog.
9605  This is either an absolute name, or it is relative to the LyX document.
9606 \end_layout
9607
9608 \begin_layout Description
9609 $$Basename The filename without path and without the extension.
9610 \end_layout
9611
9612 \begin_layout Description
9613 $$Extension The file extension (including the dot).
9614 \end_layout
9615
9616 \begin_layout Description
9617 $$FPath The path part of 
9618 \family typewriter
9619 $$FName
9620 \family default
9621  (absolute name or relative to the LyX document).
9622 \end_layout
9623
9624 \begin_layout Description
9625 $$AbsPath The absolute file path.
9626 \end_layout
9627
9628 \begin_layout Description
9629 $$RelPathMaster The file path, relative to the master LyX document.
9630 \end_layout
9631
9632 \begin_layout Description
9633 $$RelPathParent The file path, relative to the LyX document.
9634 \end_layout
9635
9636 \begin_layout Description
9637 $$AbsOrRelPathMaster The file path, absolute or relative to the master LyX
9638  document.
9639 \end_layout
9640
9641 \begin_layout Description
9642 $$AbsOrRelPathParent The file path, absolute or relative to the LyX document.
9643 \end_layout
9644
9645 \begin_layout Description
9646 $$Tempname A name and full path to a temporary file which will be automatically
9647  deleted whenever the containing document is closed, or the external material
9648  insertion deleted.
9649 \end_layout
9650
9651 \begin_layout Description
9652 $$Contents(
9653 \begin_inset Quotes eld
9654 \end_inset
9655
9656 filename.ext
9657 \begin_inset Quotes erd
9658 \end_inset
9659
9660 ) This macro will expand to the contents of the file with the name 
9661 \family typewriter
9662 filename.ext
9663 \family default
9664 .
9665 \end_layout
9666
9667 \begin_layout Description
9668 $$Sysdir This macro will expand to the absolute path of the system directory.
9669  This is typically used to point to the various helper scripts that are
9670  bundled with LyX.
9671 \end_layout
9672
9673 \begin_layout Standard
9674 All path macros contain a trailing directory separator, so you can construct
9675  e.g.
9676  the absolute filename with 
9677 \family typewriter
9678 $$AbsPath$$Basename$$Extension
9679 \family default
9680 .
9681 \end_layout
9682
9683 \begin_layout Standard
9684 The macros above are substituted in all commands unless otherwise noted.
9685  The command 
9686 \family typewriter
9687 Product
9688 \family default
9689  supports additionally the following substitutions if they are enabled by
9690  the 
9691 \family typewriter
9692 Transform
9693 \family default
9694  and 
9695 \family typewriter
9696 TransformCommand
9697 \family default
9698  commands:
9699 \end_layout
9700
9701 \begin_layout Description
9702 $$ResizeFront The front part of the resize command.
9703 \end_layout
9704
9705 \begin_layout Description
9706 $$ResizeBack The back part of the resize command.
9707 \end_layout
9708
9709 \begin_layout Description
9710 $$RotateFront The front part of the rotation command.
9711 \end_layout
9712
9713 \begin_layout Description
9714 $$RotateBack The back part of the rotation command.
9715 \end_layout
9716
9717 \begin_layout Standard
9718 The value string of the 
9719 \family typewriter
9720 Option
9721 \family default
9722  command supports additionally the following substitutions if they are enabled
9723  by the 
9724 \family typewriter
9725 Transform
9726 \family default
9727  and 
9728 \family typewriter
9729 TransformOption
9730 \family default
9731  commands:
9732 \end_layout
9733
9734 \begin_layout Description
9735 $$Clip The clip option.
9736 \end_layout
9737
9738 \begin_layout Description
9739 $$Extra The extra option.
9740 \end_layout
9741
9742 \begin_layout Description
9743 $$Resize The resize option.
9744 \end_layout
9745
9746 \begin_layout Description
9747 $$Rotate The rotation option.
9748 \end_layout
9749
9750 \begin_layout Standard
9751 You may ask why there are so many path macros.
9752  There are mainly two reasons:
9753 \end_layout
9754
9755 \begin_layout Standard
9756 First, relative and absolute file names should remain relative or absolute,
9757  respectively.
9758  Users may have reasons to prefer either form.
9759  Relative names are useful for portable documents that should work on different
9760  machines, for example.
9761  Absolute names may be required by some programs.
9762 \end_layout
9763
9764 \begin_layout Standard
9765 Second, LaTeX treats relative file names differently than LyX and other
9766  programs in nested included files.
9767  For LyX, a relative file name is always relative to the document that contains
9768  the file name.
9769  For LaTeX, it is always relative to the master document.
9770  These two definitions are identical if you have only one document, but
9771  differ if you have a master document that includes part documents.
9772  That means that relative filenames must be transformed when presented to
9773  LaTeX.
9774  Fortunately LyX does this automatically for you if you choose the right
9775  macros.
9776 \end_layout
9777
9778 \begin_layout Standard
9779 So which path macro should be used in new template definitions? The rule
9780  is not difficult:
9781 \end_layout
9782
9783 \begin_layout Itemize
9784 Use 
9785 \family typewriter
9786 $$AbsPath
9787 \family default
9788  if an absolute path is required.
9789 \end_layout
9790
9791 \begin_layout Itemize
9792 Use 
9793 \family typewriter
9794 $$AbsOrRelPathMaster
9795 \family default
9796  if the substituted string is some kind of LaTeX input.
9797 \end_layout
9798
9799 \begin_layout Itemize
9800 Else use 
9801 \family typewriter
9802 $$AbsOrRelPathParent
9803 \family default
9804  in order to preserve the user's choice.
9805 \end_layout
9806
9807 \begin_layout Standard
9808 There are special cases where this rule does not work and e.g.\InsetSpace ~
9809 relative names
9810  are needed, but normally it will work just fine.
9811  One example for such a case is the command 
9812 \family typewriter
9813 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
9814 \family default
9815  in the XFig template above: We can't use the absolute name because the
9816  copier for 
9817 \family typewriter
9818 .pstex_t
9819 \family default
9820  files needs the relative name in order to rewrite the file content.
9821 \end_layout
9822
9823 \begin_layout Section
9824 Security discussion
9825 \end_layout
9826
9827 \begin_layout Standard
9828 \begin_inset Note Note
9829 status collapsed
9830
9831 \begin_layout Standard
9832 This section is outdated
9833 \end_layout
9834
9835 \end_inset
9836
9837 The external material feature interfaces with a lot of external programs
9838  and does so automatically, so we have to consider the security implications
9839  of this.
9840  In particular, since you have the option of including your own filenames
9841  and/or parameter strings and those are expanded into a command, it seems
9842  that it would be possible to create a malicious document which executes
9843  arbitrary commands when a user views or prints the document.
9844  This is something we definately want to avoid.
9845 \end_layout
9846
9847 \begin_layout Standard
9848 However, since the external program commands are specified in the template
9849  configuration file only, there are no security issues if LyX is properly
9850  configured with safe templates only.
9851  This is so because the external programs are invoked with the 
9852 \family typewriter
9853 execvp
9854 \family default
9855 -system call rather than the 
9856 \family typewriter
9857 system
9858 \family default
9859  system-call, so it's not possible to execute arbitrary commands from the
9860  filename or parameter section via the shell.
9861 \end_layout
9862
9863 \begin_layout Standard
9864 This also implies that you are restricted in what command strings you can
9865  use in the external material templates.
9866  In particular, pipes and redirection are not readily available.
9867  This has to be so if LyX should remain safe.
9868  If you want to use some of the shell features, you should write a safe
9869  script to do this in a controlled manner, and then invoke the script from
9870  the command string.
9871  In the 
9872 \family typewriter
9873 lib/scripts
9874 \family default
9875  directory of the LyX installation, you can find a safe wrapper script 
9876 \family typewriter
9877 general_command_wrapper.py
9878 \family default
9879  that supports redirection of input and output.
9880  That can serve as an example for how to write safe template scripts.
9881  For a more advanced example that uses 
9882 \family typewriter
9883 fork
9884 \family default
9885  and friends, take a look at the 
9886 \family typewriter
9887 pic2ascii.py
9888 \family default
9889  converter script.
9890 \end_layout
9891
9892 \begin_layout Standard
9893 It is possible to design a template that interacts directly with the shell,
9894  but since this would allow a malicious user to execute arbitrary commands
9895  by writing clever filenames and/or parameters, we generally recommend that
9896  you only use safe scripts that work with the 
9897 \family typewriter
9898 execvp
9899 \family default
9900  system call in a controlled manner.
9901  Of course, for use in a controlled environment, it can be tempting to just
9902  fall back to use ordinary shell scripts.
9903  If you do so, be aware that you 
9904 \emph on
9905 will
9906 \emph default
9907  provide an easily exploitable security hole in your system.
9908  Of course it stands to reason that such unsafe templates will never be
9909  included in the standard LyX distribution, although we do encourage people
9910  to submit new templates in the open source tradition.
9911  But LyX as shipped from the official distribution channels will never have
9912  unsafe templates.
9913 \end_layout
9914
9915 \begin_layout Standard
9916 Including external material provides a lot of power, and you have to be
9917  careful not to introduce security hazards with this power.
9918  A subtle error in a single line in an innocent looking script can open
9919  the door to huge security problems.
9920  So if you do not fully understand the issues, we recommend that you consult
9921  a knowledgable security professional or the LyX development team if you
9922  have any questions about whether a given template is safe or not.
9923  And do this before you use it in an uncontrolled environment.
9924 \end_layout
9925
9926 \begin_layout Chapter
9927 The LyX Server
9928 \end_layout
9929
9930 \begin_layout Section
9931 Introduction
9932 \end_layout
9933
9934 \begin_layout Standard
9935 The LyX server is a method implemented in LyX that will enable other programs
9936  to talk to LyX, invoke LyX commands, and retrieve information about the
9937  LyX internal state.
9938  This is only intended for advanced users, but they should find it useful.
9939 \end_layout
9940
9941 \begin_layout Section
9942 Starting the LyX Server
9943 \end_layout
9944
9945 \begin_layout Standard
9946 The LyX server works through the use of a pair of named pipes.
9947  These are usually located in your home directory and have the names 
9948 \begin_inset Quotes eld
9949 \end_inset
9950
9951
9952 \family typewriter
9953 .lyxpipe.in
9954 \family default
9955
9956 \begin_inset Quotes erd
9957 \end_inset
9958
9959  and 
9960 \begin_inset Quotes eld
9961 \end_inset
9962
9963
9964 \family typewriter
9965 .lyxpipe.out
9966 \family default
9967
9968 \begin_inset Quotes erd
9969 \end_inset
9970
9971 .
9972  External programs write into 
9973 \family typewriter
9974 .lyxpipe.in
9975 \family default
9976  and read back data from 
9977 \family typewriter
9978 .lyxpipe.out
9979 \family default
9980 .
9981  The stem of the pipe names can be defined in the 
9982 \family sans
9983 \bar under
9984 T
9985 \bar default
9986 ools\SpecialChar \menuseparator
9987
9988 \bar under
9989 P
9990 \bar default
9991 references
9992 \family default
9993  dialog, for example 
9994 \family typewriter
9995 "/home/myhome/.lyxpipe"
9996 \family default
9997 .
9998 \end_layout
9999
10000 \begin_layout Standard
10001 LyX will add the '
10002 \family typewriter
10003 .in
10004 \family default
10005 ' and '
10006 \family typewriter
10007 .out
10008 \family default
10009 ' to create the pipes.
10010  The above setting also has the effect of activating the LyX server.
10011  If one of the pipes already exists, LyX will assume that another LyX process
10012  is already running and will not start the server.
10013  To have several LyX processes with servers at the same time, you have to
10014  change the configuration between the start of the programs.
10015 \end_layout
10016
10017 \begin_layout Standard
10018 If you are developing a client program, you might find it useful to enable
10019  debugging information from the LyX server.
10020  Do this by starting LyX as 
10021 \family typewriter
10022 lyx -dbg lyxserver.
10023 \end_layout
10024
10025 \begin_layout Standard
10026 Warning: if LyX crashes, it may not manage to remove the pipes; in this
10027  case you must remove them manually.
10028  If LyX starts and the pipes exist already, it will not start any server.
10029 \end_layout
10030
10031 \begin_layout Standard
10032 Other than this, there are a few points to consider:
10033 \end_layout
10034
10035 \begin_layout Itemize
10036 Both server and clients must run on UNIX or OS/2 machines.
10037  Communications between LyX on UNIX and clients on OS/2 or vice versa is
10038  not possible right now.
10039 \end_layout
10040
10041 \begin_layout Itemize
10042 On OS/2, only one client can connect to LyXServer at a time.
10043 \end_layout
10044
10045 \begin_layout Itemize
10046 On OS/2, clients must open inpipe with 
10047 \family typewriter
10048 O_WRONLY
10049 \family default
10050  mode.
10051 \end_layout
10052
10053 \begin_layout Standard
10054 You can find a complete example client written in C in the source distribution
10055  as 
10056 \family typewriter
10057 development/server_monitor.c
10058 \family default
10059 .
10060 \end_layout
10061
10062 \begin_layout Section
10063 Normal communication
10064 \end_layout
10065
10066 \begin_layout Standard
10067 To issue a LyX call, the client writes a line of ASCII text into the input
10068  pipe.
10069  This line has the following format:
10070 \end_layout
10071
10072 \begin_layout Quote
10073 LYXCMD:
10074 \emph on
10075 clientname
10076 \emph default
10077 :
10078 \emph on
10079 function
10080 \emph default
10081 :
10082 \emph on
10083 argument
10084 \end_layout
10085
10086 \begin_layout Standard
10087 Here 
10088 \emph on
10089 clientname
10090 \emph default
10091  is a name that the client can choose arbitrarily.
10092  Its only use is that LyX will echo it if it sends an answer - so a client
10093  can dispatch results from different requesters.
10094 \end_layout
10095
10096 \begin_layout Standard
10097
10098 \emph on
10099 function
10100 \emph default
10101  is the function you want LyX to perform.
10102  It is the same as the commands you'd use in the minibuffer.
10103 \end_layout
10104
10105 \begin_layout Standard
10106
10107 \emph on
10108 argument
10109 \emph default
10110  is an optional argument which is meaningful only to some functions (for
10111  instance 
10112 \begin_inset Quotes eld
10113 \end_inset
10114
10115 self-insert
10116 \begin_inset Quotes erd
10117 \end_inset
10118
10119  which will insert the argument as text at the cursor position.)
10120 \end_layout
10121
10122 \begin_layout Standard
10123 The answer from LyX will arrive in the output pipe and be of the form
10124 \end_layout
10125
10126 \begin_layout Quote
10127 INFO:
10128 \emph on
10129 clientname
10130 \emph default
10131 :
10132 \emph on
10133 function
10134 \emph default
10135 :
10136 \emph on
10137 data
10138 \end_layout
10139
10140 \begin_layout Standard
10141 where 
10142 \emph on
10143 clientname
10144 \emph default
10145  and 
10146 \emph on
10147 function
10148 \emph default
10149  are just echoed from the command request, while 
10150 \emph on
10151 data
10152 \emph default
10153  is more or less useful information filled according to how the command
10154  execution worked out.
10155  Some commands will return information about the internal state of LyX,
10156  such as 
10157 \begin_inset Quotes eld
10158 \end_inset
10159
10160 font-state
10161 \begin_inset Quotes erd
10162 \end_inset
10163
10164 , while other will return an empty data-response.
10165  This means that the command execution went fine.
10166 \end_layout
10167
10168 \begin_layout Standard
10169 In case of errors, the response from LyX will have this form
10170 \end_layout
10171
10172 \begin_layout Quote
10173 ERROR:
10174 \emph on
10175 clientname
10176 \emph default
10177 :
10178 \emph on
10179 function
10180 \emph default
10181 :
10182 \emph on
10183 error message
10184 \end_layout
10185
10186 \begin_layout Standard
10187 where the 
10188 \emph on
10189 error message
10190 \emph default
10191  should contain an explanation of why the command failed.
10192 \end_layout
10193
10194 \begin_layout Standard
10195 Examples:
10196 \end_layout
10197
10198 \begin_layout LyX-Code
10199 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
10200 \end_layout
10201
10202 \begin_layout LyX-Code
10203 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
10204 \newline
10205 read a <~/.lyxpipe.out
10206 \newline
10207 echo $a
10208 \end_layout
10209
10210 \begin_layout Section
10211 Notification
10212 \end_layout
10213
10214 \begin_layout Standard
10215 LyX can notify clients of events going on asynchronously.
10216  Currently it will only do this if the user binds a key sequence with the
10217  function 
10218 \begin_inset Quotes eld
10219 \end_inset
10220
10221 notify
10222 \begin_inset Quotes erd
10223 \end_inset
10224
10225 .
10226  The format of the string LyX sends is as follows:
10227 \end_layout
10228
10229 \begin_layout Quote
10230
10231 \family typewriter
10232 NOTIFY:
10233 \family default
10234 \emph on
10235 key-sequence
10236 \end_layout
10237
10238 \begin_layout Standard
10239 where 
10240 \emph on
10241 key-sequence
10242 \emph default
10243  is the printed representation of the key sequence that was actually typed
10244  by the user.
10245 \end_layout
10246
10247 \begin_layout Standard
10248 This mechanism can be used to extend LyX's command set and implement macros:
10249  bind some key sequence to 
10250 \begin_inset Quotes eld
10251 \end_inset
10252
10253 notify
10254 \begin_inset Quotes erd
10255 \end_inset
10256
10257 , start a client that listens on the out pipe, dispatches the command according
10258  to the sequence and starts a function that may use LyX calls and LyX requests
10259  to issue a command or a series of commands to LyX.
10260 \end_layout
10261
10262 \begin_layout Section
10263 The simple LyX Server Protocol
10264 \end_layout
10265
10266 \begin_layout Standard
10267 LyX implements a simple protocol that can be used for session management.
10268  All messages are of the form
10269 \end_layout
10270
10271 \begin_layout Quote
10272 LYXSRV:
10273 \emph on
10274 clientname
10275 \emph default
10276 :
10277 \emph on
10278 protocol message
10279 \end_layout
10280
10281 \begin_layout Standard
10282 where 
10283 \emph on
10284 protocol message
10285 \emph default
10286  can be 
10287 \begin_inset Quotes eld
10288 \end_inset
10289
10290 hello
10291 \begin_inset Quotes erd
10292 \end_inset
10293
10294  or 
10295 \begin_inset Quotes eld
10296 \end_inset
10297
10298 bye
10299 \begin_inset Quotes erd
10300 \end_inset
10301
10302 .
10303  If 
10304 \begin_inset Quotes eld
10305 \end_inset
10306
10307 hello
10308 \begin_inset Quotes erd
10309 \end_inset
10310
10311  is received from a client, LyX will report back to inform the client that
10312  it's listening to it's messages, while 
10313 \begin_inset Quotes eld
10314 \end_inset
10315
10316 bye
10317 \begin_inset Quotes erd
10318 \end_inset
10319
10320  sent from LyX will inform clients that LyX is closing.
10321 \end_layout
10322
10323 \begin_layout Chapter
10324 \start_of_appendix
10325 Bindings
10326 \end_layout
10327
10328 \begin_layout Standard
10329 This appendix is a huge cross-reference to all the English language keybindings.
10330  Originally, we simply wanted to list all of the key bindings followed by
10331  the function it's bound to.
10332  That way, a user can look up a key to find out what it does.
10333  We then decided, what the hey, why not include the default toolbar and
10334  menu bindings, too.
10335  Please note this section is likely to be very out of date.
10336 \end_layout
10337
10338 \begin_layout Standard
10339 The form is really self-explanatory, but here are a few tips: all entries
10340  are arranged roughly alphabetically for a given modifier (
10341 \family sans
10342 C-a
10343 \family default
10344
10345 \family sans
10346 C-b
10347 \family default
10348 , etc.).
10349  For the general keyboard layout, simpler prefixes precede the more complex
10350  (
10351 \family sans
10352 C-s
10353 \family default
10354  before 
10355 \family sans
10356 C-S-c
10357 \family default
10358 ).
10359  All entries were gleaned from the default user interface and binding files
10360  located in the directories 
10361 \family typewriter
10362 \SpecialChar \ldots{}
10363 /share/lyx/ui
10364 \family default
10365  and 
10366 \family typewriter
10367 \SpecialChar \ldots{}
10368 /share/lyx/bind
10369 \family default
10370 ; they should be treated as the final word on the bindings.
10371 \end_layout
10372
10373 \begin_layout Standard
10374 As a final note, be aware that some window managers (such as FVWM) take
10375  control of some of the function keys or motion keys.
10376  
10377 \family sans
10378 C-right
10379 \family default
10380  is listed here as generating 
10381 \family typewriter
10382 word-forward
10383 \family default
10384 , but FVWM grabs it and uses it to change virtual desktops instead.
10385  Very annoying unless you instruct your window manager to stop intercepting
10386  such sequences.
10387 \end_layout
10388
10389 \begin_layout Section
10390 Toolbar
10391 \end_layout
10392
10393 \begin_layout LyX-Code
10394 Toolbar
10395 \end_layout
10396
10397 \begin_layout LyX-Code
10398     Layouts
10399 \end_layout
10400
10401 \begin_layout LyX-Code
10402     Icon "buffer-open"
10403 \end_layout
10404
10405 \begin_layout LyX-Code
10406     Icon "buffer-write"
10407 \end_layout
10408
10409 \begin_layout LyX-Code
10410     Icon "buffer-print"
10411 \end_layout
10412
10413 \begin_layout LyX-Code
10414     Separator
10415 \end_layout
10416
10417 \begin_layout LyX-Code
10418     Icon "cut"
10419 \end_layout
10420
10421 \begin_layout LyX-Code
10422     Icon "copy"
10423 \end_layout
10424
10425 \begin_layout LyX-Code
10426     Icon "paste"
10427 \end_layout
10428
10429 \begin_layout LyX-Code
10430     Separator
10431 \end_layout
10432
10433 \begin_layout LyX-Code
10434     Icon "font-emph"
10435 \end_layout
10436
10437 \begin_layout LyX-Code
10438     Icon "font-noun"
10439 \end_layout
10440
10441 \begin_layout LyX-Code
10442     Icon "font-free"
10443 \end_layout
10444
10445 \begin_layout LyX-Code
10446     Separator
10447 \end_layout
10448
10449 \begin_layout LyX-Code
10450     Icon "tex-mode"
10451 \end_layout
10452
10453 \begin_layout LyX-Code
10454     Icon "math-mode"
10455 \end_layout
10456
10457 \begin_layout LyX-Code
10458     Separator
10459 \end_layout
10460
10461 \begin_layout LyX-Code
10462     Icon "footnote-insert"
10463 \end_layout
10464
10465 \begin_layout LyX-Code
10466     Icon "marginpar-insert"
10467 \end_layout
10468
10469 \begin_layout LyX-Code
10470     Icon "depth-next"
10471 \end_layout
10472
10473 \begin_layout LyX-Code
10474     Separator
10475 \end_layout
10476
10477 \begin_layout LyX-Code
10478     Icon "figure-insert"
10479 \end_layout
10480
10481 \begin_layout LyX-Code
10482     Icon "dialog-tabular-insert"
10483 \end_layout
10484
10485 \begin_layout LyX-Code
10486 End
10487 \end_layout
10488
10489 \begin_layout Section
10490 Menu
10491 \end_layout
10492
10493 \begin_layout Subsection
10494 File
10495 \end_layout
10496
10497 \begin_layout List
10498 \labelwidthstring 00.00.0000
10499
10500 \family sans
10501 M-f\InsetSpace ~
10502
10503 \family typewriter
10504 buffer-write-as
10505 \end_layout
10506
10507 \begin_layout List
10508 \labelwidthstring 00.00.0000
10509
10510 \family sans
10511 M-f\InsetSpace ~
10512 c
10513 \family default
10514  
10515 \family typewriter
10516 buffer-close
10517 \end_layout
10518
10519 \begin_layout List
10520 \labelwidthstring 00.00.0000
10521
10522 \family sans
10523 M-f\InsetSpace ~
10524 d
10525 \family default
10526  
10527 \family typewriter
10528 buffer-reload
10529 \end_layout
10530
10531 \begin_layout List
10532 \labelwidthstring 00.00.0000
10533
10534 \family sans
10535 M-f\InsetSpace ~
10536 e
10537 \family default
10538  
10539 \family typewriter
10540 file_export
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-export fax
10553 \end_layout
10554
10555 \begin_layout List
10556 \labelwidthstring 00.00.0000
10557
10558 \family sans
10559 M-f\InsetSpace ~
10560 i
10561 \family default
10562  
10563 \family typewriter
10564 file_import
10565 \family default
10566  submenu
10567 \end_layout
10568
10569 \begin_layout List
10570 \labelwidthstring 00.00.0000
10571
10572 \family sans
10573 M-f\InsetSpace ~
10574
10575 \family typewriter
10576 buffer-new
10577 \end_layout
10578
10579 \begin_layout List
10580 \labelwidthstring 00.00.0000
10581
10582 \family sans
10583 M-f\InsetSpace ~
10584 o
10585 \family default
10586  
10587 \family typewriter
10588 buffer-open
10589 \end_layout
10590
10591 \begin_layout List
10592 \labelwidthstring 00.00.0000
10593
10594 \family sans
10595 M-f\InsetSpace ~
10596 p
10597 \family default
10598  
10599 \family typewriter
10600 buffer-print
10601 \end_layout
10602
10603 \begin_layout List
10604 \labelwidthstring 00.00.0000
10605
10606 \family sans
10607 M-f\InsetSpace ~
10608 s
10609 \family default
10610  
10611 \family typewriter
10612 buffer-write
10613 \end_layout
10614
10615 \begin_layout List
10616 \labelwidthstring 00.00.0000
10617
10618 \family sans
10619 M-f\InsetSpace ~
10620
10621 \family typewriter
10622 buffer-new-template
10623 \end_layout
10624
10625 \begin_layout List
10626 \labelwidthstring 00.00.0000
10627
10628 \family sans
10629 M-f\InsetSpace ~
10630 v
10631 \family typewriter
10632  file_vc
10633 \family default
10634  submenu 
10635 \end_layout
10636
10637 \begin_deeper
10638 \begin_layout List
10639 \labelwidthstring 00.00.0000
10640
10641 \family sans
10642 h
10643 \family typewriter
10644  vc-history 
10645 \end_layout
10646
10647 \begin_layout List
10648 \labelwidthstring 00.00.0000
10649
10650 \family sans
10651 i
10652 \family typewriter
10653  vc-check-in
10654 \end_layout
10655
10656 \begin_layout List
10657 \labelwidthstring 00.00.0000
10658
10659 \family sans
10660 l
10661 \family typewriter
10662  vc-revert
10663 \end_layout
10664
10665 \begin_layout List
10666 \labelwidthstring 00.00.0000
10667
10668 \family sans
10669 o
10670 \family typewriter
10671  vc-check-out
10672 \end_layout
10673
10674 \begin_layout List
10675 \labelwidthstring 00.00.0000
10676
10677 \family sans
10678 r
10679 \family typewriter
10680  vc-register
10681 \end_layout
10682
10683 \begin_layout List
10684 \labelwidthstring 00.00.0000
10685
10686 \family sans
10687 u
10688 \family typewriter
10689  vc-undo-last
10690 \end_layout
10691
10692 \end_deeper
10693 \begin_layout List
10694 \labelwidthstring 00.00.0000
10695
10696 \family sans
10697 M-f\InsetSpace ~
10698
10699 \family typewriter
10700 lyx-quit
10701 \end_layout
10702
10703 \begin_layout Subsection
10704 Edit
10705 \end_layout
10706
10707 \begin_layout List
10708 \labelwidthstring 00.00.0000
10709
10710 \family sans
10711 M-e\InsetSpace ~
10712 a
10713 \family default
10714  
10715 \family typewriter
10716 paste
10717 \end_layout
10718
10719 \begin_layout List
10720 \labelwidthstring 00.00.0000
10721
10722 \family sans
10723 M-e\InsetSpace ~
10724 c
10725 \family default
10726  
10727 \family typewriter
10728 cut
10729 \end_layout
10730
10731 \begin_layout List
10732 \labelwidthstring 00.00.0000
10733
10734 \family sans
10735 M-e\InsetSpace ~
10736 d
10737 \family default
10738  
10739 \family typewriter
10740 redo
10741 \end_layout
10742
10743 \begin_layout List
10744 \labelwidthstring 00.00.0000
10745
10746 \family sans
10747 M-e\InsetSpace ~
10748 e
10749 \family default
10750  
10751 \family typewriter
10752 error-remove-all
10753 \end_layout
10754
10755 \begin_layout List
10756 \labelwidthstring 00.00.0000
10757
10758 \family sans
10759 M-e\InsetSpace ~
10760 f
10761 \family default
10762  
10763 \family typewriter
10764 find-replace
10765 \end_layout
10766
10767 \begin_layout List
10768 \labelwidthstring 00.00.0000
10769
10770 \family sans
10771 M-e\InsetSpace ~
10772 h
10773 \family default
10774  
10775 \family typewriter
10776 buffer-chktex
10777 \end_layout
10778
10779 \begin_layout List
10780 \labelwidthstring 00.00.0000
10781
10782 \family sans
10783 M-e\InsetSpace ~
10784 i
10785 \family default
10786  
10787 \family typewriter
10788 edit_floats
10789 \family default
10790  submenu
10791 \end_layout
10792
10793 \begin_deeper
10794 \begin_layout List
10795 \labelwidthstring 00.00.0000
10796
10797 \family sans
10798 a
10799 \family default
10800  
10801 \family typewriter
10802 tabular-feature append-row
10803 \end_layout
10804
10805 \begin_layout List
10806 \labelwidthstring 00.00.0000
10807
10808 \family sans
10809 b
10810 \family default
10811  
10812 \family typewriter
10813 tabular-feature toggle-line-bottom
10814 \end_layout
10815
10816 \begin_layout List
10817 \labelwidthstring 00.00.0000
10818
10819 \family sans
10820 c
10821 \family default
10822  
10823 \family typewriter
10824 tabular-feature align-center
10825 \end_layout
10826
10827 \begin_layout List
10828 \labelwidthstring 00.00.0000
10829
10830 \family sans
10831 d
10832 \family default
10833  
10834 \family typewriter
10835 tabular-feature delete-column
10836 \end_layout
10837
10838 \begin_layout List
10839 \labelwidthstring 00.00.0000
10840
10841 \family sans
10842 e
10843 \family default
10844  
10845 \family typewriter
10846 tabular-feature align-left
10847 \end_layout
10848
10849 \begin_layout List
10850 \labelwidthstring 00.00.0000
10851
10852 \family sans
10853 i
10854 \family default
10855  
10856 \family typewriter
10857 tabular-feature align-right
10858 \end_layout
10859
10860 \begin_layout List
10861 \labelwidthstring 00.00.0000
10862
10863 \family sans
10864 l
10865 \family default
10866  
10867 \family typewriter
10868 tabular-feature toggle-line-left
10869 \end_layout
10870
10871 \begin_layout List
10872 \labelwidthstring 00.00.0000
10873
10874 \family sans
10875 m
10876 \family default
10877  
10878 \family typewriter
10879 tabular-feature multicolumn
10880 \end_layout
10881
10882 \begin_layout List
10883 \labelwidthstring 00.00.0000
10884
10885 \family sans
10886 n
10887 \family default
10888  
10889 \family typewriter
10890 tabular-feature valign-center
10891 \end_layout
10892
10893 \begin_layout List
10894 \labelwidthstring 00.00.0000
10895
10896 \family sans
10897 o
10898 \family default
10899  
10900 \family typewriter
10901 tabular-feature valign-top
10902 \end_layout
10903
10904 \begin_layout List
10905 \labelwidthstring 00.00.0000
10906
10907 \family sans
10908 r
10909 \family default
10910  
10911 \family typewriter
10912 tabular-feature toggle-line-right
10913 \end_layout
10914
10915 \begin_layout List
10916 \labelwidthstring 00.00.0000
10917
10918 \family sans
10919 t
10920 \family default
10921  
10922 \family typewriter
10923 tabular-feature toggle-line-top
10924 \end_layout
10925
10926 \begin_layout List
10927 \labelwidthstring 00.00.0000
10928
10929 \family sans
10930 u
10931 \family default
10932  
10933 \family typewriter
10934 tabular-feature append-column
10935 \end_layout
10936
10937 \begin_layout List
10938 \labelwidthstring 00.00.0000
10939
10940 \family sans
10941 v
10942 \family default
10943  
10944 \family typewriter
10945 tabular-feature valign-bottom
10946 \end_layout
10947
10948 \begin_layout List
10949 \labelwidthstring 00.00.0000
10950
10951 \family sans
10952 w
10953 \family default
10954  
10955 \family typewriter
10956 tabular-feature delete-row
10957 \end_layout
10958
10959 \end_deeper
10960 \begin_layout List
10961 \labelwidthstring 00.00.0000
10962
10963 \family sans
10964 M-e\InsetSpace ~
10965 l
10966 \family default
10967  
10968 \family typewriter
10969 math-panel
10970 \end_layout
10971
10972 \begin_deeper
10973 \begin_layout List
10974 \labelwidthstring 00.00.0000
10975
10976 \family sans
10977 a
10978 \family typewriter
10979  floats-operate openfoot
10980 \end_layout
10981
10982 \begin_layout List
10983 \labelwidthstring 00.00.0000
10984
10985 \family sans
10986 c
10987 \family typewriter
10988  floats-operate closefoot
10989 \end_layout
10990
10991 \begin_layout List
10992 \labelwidthstring 00.00.0000
10993
10994 \family sans
10995 f
10996 \family typewriter
10997  floats-operate openfig
10998 \end_layout
10999
11000 \begin_layout List
11001 \labelwidthstring 00.00.0000
11002
11003 \family sans
11004 m
11005 \family typewriter
11006  melt
11007 \end_layout
11008
11009 \begin_layout List
11010 \labelwidthstring 00.00.0000
11011
11012 \family sans
11013 o
11014 \family typewriter
11015  open-stuff
11016 \end_layout
11017
11018 \begin_layout List
11019 \labelwidthstring 00.00.0000
11020
11021 \family sans
11022 t
11023 \family typewriter
11024  floats-operate closefig
11025 \end_layout
11026
11027 \end_deeper
11028 \begin_layout List
11029 \labelwidthstring 00.00.0000
11030
11031 \family sans
11032 M-e\InsetSpace ~
11033 o
11034 \family default
11035  
11036 \family typewriter
11037 copy
11038 \end_layout
11039
11040 \begin_layout List
11041 \labelwidthstring 00.00.0000
11042
11043 \family sans
11044 M-e\InsetSpace ~
11045 p
11046 \family default
11047  
11048 \family typewriter
11049 dialog-preferences
11050 \family sans
11051  
11052 \end_layout
11053
11054 \begin_layout List
11055 \labelwidthstring 00.00.0000
11056
11057 \family sans
11058 M-e\InsetSpace ~
11059 r
11060 \family default
11061  
11062 \family typewriter
11063 reconfigure
11064 \end_layout
11065
11066 \begin_layout List
11067 \labelwidthstring 00.00.0000
11068
11069 \family sans
11070 M-e\InsetSpace ~
11071 s
11072 \family default
11073  
11074 \family typewriter
11075 spellchecker
11076 \end_layout
11077
11078 \begin_layout List
11079 \labelwidthstring 00.00.0000
11080
11081 \family sans
11082 M-e\InsetSpace ~
11083 t
11084 \family default
11085  
11086 \family typewriter
11087 edit_tabular
11088 \family default
11089  submenu
11090 \end_layout
11091
11092 \begin_layout List
11093 \labelwidthstring 00.00.0000
11094
11095 \family sans
11096 M-e\InsetSpace ~
11097
11098 \family typewriter
11099 undo
11100 \end_layout
11101
11102 \begin_layout List
11103 \labelwidthstring 00.00.0000
11104
11105 \family sans
11106 M-e\InsetSpace ~
11107
11108 \family typewriter
11109 edit_paste
11110 \family default
11111  submenu
11112 \end_layout
11113
11114 \begin_deeper
11115 \begin_layout List
11116 \labelwidthstring 00.00.0000
11117
11118 \family sans
11119 l
11120 \family default
11121  
11122 \family typewriter
11123 primary-selection-paste
11124 \end_layout
11125
11126 \begin_layout List
11127 \labelwidthstring 00.00.0000
11128
11129 \family sans
11130 p
11131 \family default
11132  
11133 \family typewriter
11134 primary-selection-paste paragraph
11135 \end_layout
11136
11137 \end_deeper
11138 \begin_layout Subsection
11139 Insert
11140 \end_layout
11141
11142 \begin_layout List
11143 \labelwidthstring 00.00.0000
11144
11145 \family sans
11146 M-i\InsetSpace ~
11147 a
11148 \family default
11149  
11150 \family typewriter
11151 insert_floats
11152 \family default
11153  submenu
11154 \end_layout
11155
11156 \begin_deeper
11157 \begin_layout List
11158 \labelwidthstring 00.00.0000
11159
11160 \family sans
11161 a
11162 \family default
11163  
11164 \family typewriter
11165 buffer-float-insert algorithm
11166 \end_layout
11167
11168 \begin_layout List
11169 \labelwidthstring 00.00.0000
11170
11171 \family sans
11172 d
11173 \family default
11174  
11175 \family typewriter
11176 buffer-float-insert wide-tab
11177 \end_layout
11178
11179 \begin_layout List
11180 \labelwidthstring 00.00.0000
11181
11182 \family sans
11183 f
11184 \family default
11185  
11186 \family typewriter
11187 buffer-float-insert figure
11188 \end_layout
11189
11190 \begin_layout List
11191 \labelwidthstring 00.00.0000
11192
11193 \family sans
11194 t
11195 \family default
11196  
11197 \family typewriter
11198 buffer-float-insert table
11199 \end_layout
11200
11201 \begin_layout List
11202 \labelwidthstring 00.00.0000
11203
11204 \family sans
11205 w
11206 \family default
11207  
11208 \family typewriter
11209 buffer-float-insert wide-fig
11210 \end_layout
11211
11212 \end_deeper
11213 \begin_layout List
11214 \labelwidthstring 00.00.0000
11215
11216 \family sans
11217 M-i\InsetSpace ~
11218 b
11219 \family default
11220  
11221 \family typewriter
11222 dialog-tabular-insert
11223 \end_layout
11224
11225 \begin_layout List
11226 \labelwidthstring 00.00.0000
11227
11228 \family sans
11229 M-i\InsetSpace ~
11230 c
11231 \family default
11232  
11233 \family typewriter
11234 citation-insert
11235 \end_layout
11236
11237 \begin_layout List
11238 \labelwidthstring 00.00.0000
11239
11240 \family sans
11241 M-i\InsetSpace ~
11242 d
11243 \family default
11244  
11245 \family typewriter
11246 math-display
11247 \end_layout
11248
11249 \begin_layout List
11250 \labelwidthstring 00.00.0000
11251
11252 \family sans
11253 M-i\InsetSpace ~
11254 e
11255 \family default
11256  
11257 \family typewriter
11258 buffer-child-insert
11259 \end_layout
11260
11261 \begin_layout List
11262 \labelwidthstring 00.00.0000
11263
11264 \family sans
11265 M-i\InsetSpace ~
11266 f
11267 \family default
11268  
11269 \family typewriter
11270 footnote-insert
11271 \end_layout
11272
11273 \begin_layout List
11274 \labelwidthstring 00.00.0000
11275
11276 \family sans
11277 M-i\InsetSpace ~
11278 g
11279 \family default
11280  
11281 \family typewriter
11282 figure-insert
11283 \end_layout
11284
11285 \begin_layout List
11286 \labelwidthstring 00.00.0000
11287
11288 \family sans
11289 M-i\InsetSpace ~
11290 h
11291 \family default
11292  
11293 \family typewriter
11294 math-mode
11295 \end_layout
11296
11297 \begin_layout List
11298 \labelwidthstring 00.00.0000
11299
11300 \family sans
11301 M-i\InsetSpace ~
11302 i
11303 \family default
11304  
11305 \family typewriter
11306 index-insert
11307 \end_layout
11308
11309 \begin_layout List
11310 \labelwidthstring 00.00.0000
11311
11312 \family sans
11313 M-i\InsetSpace ~
11314 l
11315 \family default
11316  
11317 \family typewriter
11318 label-insert
11319 \end_layout
11320
11321 \begin_layout List
11322 \labelwidthstring 00.00.0000
11323
11324 \family sans
11325 M-i\InsetSpace ~
11326 m
11327 \family default
11328  
11329 \family typewriter
11330 marginpar-insert
11331 \end_layout
11332
11333 \begin_layout List
11334 \labelwidthstring 00.00.0000
11335
11336 \family sans
11337 M-i\InsetSpace ~
11338 n
11339 \family default
11340  
11341 \family typewriter
11342 note-insert
11343 \end_layout
11344
11345 \begin_layout List
11346 \labelwidthstring 00.00.0000
11347
11348 \family sans
11349 M-i\InsetSpace ~
11350 o
11351 \family default
11352  
11353 \family typewriter
11354 insert_toc
11355 \family default
11356  submenu
11357 \end_layout
11358
11359 \begin_deeper
11360 \begin_layout List
11361 \labelwidthstring 00.00.0000
11362
11363 \family sans
11364 a
11365 \family default
11366  
11367 \family typewriter
11368 loa-insert
11369 \end_layout
11370
11371 \begin_layout List
11372 \labelwidthstring 00.00.0000
11373
11374 \family sans
11375 b
11376 \family default
11377  
11378 \family typewriter
11379 bibtex-insert
11380 \end_layout
11381
11382 \begin_layout List
11383 \labelwidthstring 00.00.0000
11384
11385 \family sans
11386 c
11387 \family default
11388  
11389 \family typewriter
11390 toc-insert
11391 \end_layout
11392
11393 \begin_layout List
11394 \labelwidthstring 00.00.0000
11395
11396 \family sans
11397 f
11398 \family default
11399  
11400 \family typewriter
11401 lof-insert
11402 \end_layout
11403
11404 \begin_layout List
11405 \labelwidthstring 00.00.0000
11406
11407 \family sans
11408 i
11409 \family default
11410  
11411 \family typewriter
11412 index-print
11413 \end_layout
11414
11415 \begin_layout List
11416 \labelwidthstring 00.00.0000
11417
11418 \family sans
11419 t
11420 \family default
11421  
11422 \family typewriter
11423 lot-insert
11424 \end_layout
11425
11426 \end_deeper
11427 \begin_layout List
11428 \labelwidthstring 00.00.0000
11429
11430 \family sans
11431 M-i\InsetSpace ~
11432 r
11433 \family default
11434  
11435 \family typewriter
11436 reference-insert
11437 \end_layout
11438
11439 \begin_layout List
11440 \labelwidthstring 00.00.0000
11441
11442 \family sans
11443 M-i\InsetSpace ~
11444 s
11445 \family default
11446  
11447 \family typewriter
11448 insert_special
11449 \family default
11450  submenu
11451 \end_layout
11452
11453 \begin_deeper
11454 \begin_layout List
11455 \labelwidthstring 00.00.0000
11456
11457 \family sans
11458 b
11459 \family default
11460  
11461 \family typewriter
11462 protected-space-insert
11463 \end_layout
11464
11465 \begin_layout List
11466 \labelwidthstring 00.00.0000
11467
11468 \family sans
11469 e
11470 \family default
11471  
11472 \family typewriter
11473 end-of-sentence-period-insert
11474 \end_layout
11475
11476 \begin_layout List
11477 \labelwidthstring 00.00.0000
11478
11479 \family sans
11480 h
11481 \family default
11482  
11483 \family typewriter
11484 hfill-insert
11485 \end_layout
11486
11487 \begin_layout List
11488 \labelwidthstring 00.00.0000
11489
11490 \family sans
11491 i
11492 \family default
11493  
11494 \family typewriter
11495 dots-insert
11496 \end_layout
11497
11498 \begin_layout List
11499 \labelwidthstring 00.00.0000
11500
11501 \family sans
11502 l
11503 \family default
11504  
11505 \family typewriter
11506 break-line
11507 \end_layout
11508
11509 \begin_layout List
11510 \labelwidthstring 00.00.0000
11511
11512 \family sans
11513 m
11514 \family default
11515  
11516 \family typewriter
11517 menu-separator-insert
11518 \end_layout
11519
11520 \begin_layout List
11521 \labelwidthstring 00.00.0000
11522
11523 \family sans
11524 p
11525 \family default
11526  
11527 \family typewriter
11528 hyphenation-point-insert
11529 \end_layout
11530
11531 \begin_layout List
11532 \labelwidthstring 00.00.0000
11533
11534 \family sans
11535 q
11536 \family default
11537  
11538 \family typewriter
11539 quote-insert
11540 \end_layout
11541
11542 \begin_layout List
11543 \labelwidthstring 00.00.0000
11544
11545 \family sans
11546 s
11547 \family default
11548  
11549 \family typewriter
11550 command-sequence math-insert ^;math-mode;
11551 \end_layout
11552
11553 \begin_layout List
11554 \labelwidthstring 00.00.0000
11555
11556 \family sans
11557 u
11558 \family default
11559  
11560 \family typewriter
11561 command-sequence math-insert _;math-mode;
11562 \end_layout
11563
11564 \end_deeper
11565 \begin_layout List
11566 \labelwidthstring 00.00.0000
11567
11568 \family sans
11569 M-i\InsetSpace ~
11570 t
11571 \family default
11572  
11573 \family typewriter
11574 insert_file
11575 \family default
11576  submenu
11577 \end_layout
11578
11579 \begin_deeper
11580 \begin_layout List
11581 \labelwidthstring 00.00.0000
11582
11583 \family sans
11584 l
11585 \family default
11586  
11587 \family typewriter
11588 file-insert-ascii lines
11589 \end_layout
11590
11591 \begin_layout List
11592 \labelwidthstring 00.00.0000
11593
11594 \family sans
11595 p
11596 \family default
11597  
11598 \family typewriter
11599 file-insert-ascii paragraphs
11600 \end_layout
11601
11602 \begin_layout List
11603 \labelwidthstring 00.00.0000
11604
11605 \family sans
11606 x
11607 \family default
11608  
11609 \family typewriter
11610 file-insert
11611 \end_layout
11612
11613 \end_deeper
11614 \begin_layout List
11615 \labelwidthstring 00.00.0000
11616
11617 \family sans
11618 M-i\InsetSpace ~
11619 u
11620 \family default
11621  
11622 \family typewriter
11623 url-insert
11624 \end_layout
11625
11626 \begin_layout List
11627 \labelwidthstring 00.00.0000
11628
11629 \family sans
11630 M-i\InsetSpace ~
11631 w
11632 \family default
11633  
11634 \family typewriter
11635 index-insert-last
11636 \end_layout
11637
11638 \begin_layout List
11639 \labelwidthstring 00.00.0000
11640
11641 \family sans
11642 M-i\InsetSpace ~
11643 x
11644 \family default
11645  
11646 \family typewriter
11647 external-insert
11648 \end_layout
11649
11650 \begin_layout Subsection
11651 Layout
11652 \end_layout
11653
11654 \begin_layout List
11655 \labelwidthstring 00.00.0000
11656
11657 \family sans
11658 M-l\InsetSpace ~
11659 a
11660 \family default
11661  
11662 \family typewriter
11663 appendix
11664 \end_layout
11665
11666 \begin_layout List
11667 \labelwidthstring 00.00.0000
11668
11669 \family sans
11670 M-l\InsetSpace ~
11671 b
11672 \family default
11673  
11674 \family typewriter
11675 font-bold
11676 \end_layout
11677
11678 \begin_layout List
11679 \labelwidthstring 00.00.0000
11680
11681 \family sans
11682 M-l\InsetSpace ~
11683 c
11684 \family default
11685  
11686 \family typewriter
11687 layout-character
11688 \end_layout
11689
11690 \begin_layout List
11691 \labelwidthstring 00.00.0000
11692
11693 \family sans
11694 M-l\InsetSpace ~
11695 d
11696 \family default
11697  
11698 \family typewriter
11699 layout-document
11700 \end_layout
11701
11702 \begin_layout List
11703 \labelwidthstring 00.00.0000
11704
11705 \family sans
11706 M-l\InsetSpace ~
11707 e
11708 \family default
11709  
11710 \family typewriter
11711 font-emph
11712 \end_layout
11713
11714 \begin_layout List
11715 \labelwidthstring 00.00.0000
11716
11717 \family sans
11718 M-l\InsetSpace ~
11719 l
11720 \family default
11721  
11722 \family typewriter
11723 layout-preamble
11724 \end_layout
11725
11726 \begin_layout List
11727 \labelwidthstring 00.00.0000
11728
11729 \family sans
11730 M-l\InsetSpace ~
11731 n
11732 \family default
11733  
11734 \family typewriter
11735 font-noun
11736 \end_layout
11737
11738 \begin_layout List
11739 \labelwidthstring 00.00.0000
11740
11741 \family sans
11742 M-l\InsetSpace ~
11743 p
11744 \family default
11745  
11746 \family typewriter
11747 layout-paragraph
11748 \end_layout
11749
11750 \begin_layout List
11751 \labelwidthstring 00.00.0000
11752
11753 \family sans
11754 M-l\InsetSpace ~
11755 s
11756 \family default
11757  
11758 \family typewriter
11759 layout-save-default
11760 \end_layout
11761
11762 \begin_layout List
11763 \labelwidthstring 00.00.0000
11764
11765 \family sans
11766 M-l\InsetSpace ~
11767 t
11768 \family default
11769  
11770 \family typewriter
11771 layout-tabular
11772 \end_layout
11773
11774 \begin_layout List
11775 \labelwidthstring 00.00.0000
11776
11777 \family sans
11778 M-l\InsetSpace ~
11779 v
11780 \family default
11781  
11782 \family typewriter
11783 depth-increment
11784 \end_layout
11785
11786 \begin_layout List
11787 \labelwidthstring 00.00.0000
11788
11789 \family sans
11790 M-l\InsetSpace ~
11791 x
11792 \family default
11793  
11794 \family typewriter
11795 tex-mode
11796 \end_layout
11797
11798 \begin_layout Subsubsection
11799 L
11800 \family sans
11801 ayout\SpecialChar \menuseparator
11802 Character
11803 \family default
11804  
11805 \end_layout
11806
11807 \begin_layout List
11808 \labelwidthstring 00.00.0000
11809
11810 \family sans
11811 M-c\InsetSpace ~
11812
11813 \family typewriter
11814 font-bold
11815 \end_layout
11816
11817 \begin_layout List
11818 \labelwidthstring 00.00.0000
11819
11820 \family sans
11821 M-c\InsetSpace ~
11822
11823 \family typewriter
11824 font-noun
11825 \end_layout
11826
11827 \begin_layout List
11828 \labelwidthstring 00.00.0000
11829
11830 \family sans
11831 M-c\InsetSpace ~
11832
11833 \family typewriter
11834 font-emph
11835 \end_layout
11836
11837 \begin_layout List
11838 \labelwidthstring 00.00.0000
11839
11840 \family sans
11841 M-c\InsetSpace ~
11842
11843 \family typewriter
11844 math-mode
11845 \end_layout
11846
11847 \begin_layout List
11848 \labelwidthstring 00.00.0000
11849
11850 \family sans
11851 M-c\InsetSpace ~
11852 p
11853 \family default
11854  
11855 \family typewriter
11856 font-code
11857 \end_layout
11858
11859 \begin_layout List
11860 \labelwidthstring 00.00.0000
11861
11862 \family sans
11863 M-c\InsetSpace ~
11864
11865 \family typewriter
11866 font-roman
11867 \end_layout
11868
11869 \begin_layout List
11870 \labelwidthstring 00.00.0000
11871
11872 \family sans
11873 M-c\InsetSpace ~
11874
11875 \family typewriter
11876 font-sans
11877 \end_layout
11878
11879 \begin_layout List
11880 \labelwidthstring 00.00.0000
11881
11882 \family sans
11883 M-c\InsetSpace ~
11884
11885 \family typewriter
11886 tex-mode
11887 \end_layout
11888
11889 \begin_layout List
11890 \labelwidthstring 00.00.0000
11891
11892 \family sans
11893 M-c\InsetSpace ~
11894
11895 \family typewriter
11896 font-underline
11897 \end_layout
11898
11899 \begin_layout List
11900 \labelwidthstring 00.00.0000
11901
11902 \family sans
11903 M-c\InsetSpace ~
11904 space 
11905 \family typewriter
11906 font-default
11907 \end_layout
11908
11909 \begin_layout List
11910 \labelwidthstring 00.00.0000
11911
11912 \family sans
11913 M-c\InsetSpace ~
11914 Down 
11915 \family typewriter
11916 word-lowcase
11917 \end_layout
11918
11919 \begin_layout List
11920 \labelwidthstring 00.00.0000
11921
11922 \family sans
11923 M-c\InsetSpace ~
11924 Up 
11925 \family typewriter
11926 word-upcase
11927 \end_layout
11928
11929 \begin_layout List
11930 \labelwidthstring 00.00.0000
11931
11932 \family sans
11933 M-c\InsetSpace ~
11934 Right 
11935 \family typewriter
11936 word-capitalize
11937 \end_layout
11938
11939 \begin_layout List
11940 \labelwidthstring 00.00.0000
11941
11942 \family sans
11943 M-s\InsetSpace ~
11944
11945 \family typewriter
11946 font-size huge
11947 \end_layout
11948
11949 \begin_layout List
11950 \labelwidthstring 00.00.0000
11951
11952 \family sans
11953 M-s\InsetSpace ~
11954 l
11955 \family default
11956  
11957 \family typewriter
11958 font-size large
11959 \end_layout
11960
11961 \begin_layout List
11962 \labelwidthstring 00.00.0000
11963
11964 \family sans
11965 M-s\InsetSpace ~
11966 n
11967 \family default
11968  
11969 \family typewriter
11970 font-size normal
11971 \end_layout
11972
11973 \begin_layout List
11974 \labelwidthstring 00.00.0000
11975
11976 \family sans
11977 M-s\InsetSpace ~
11978 s
11979 \family default
11980  
11981 \family typewriter
11982 font-size small
11983 \end_layout
11984
11985 \begin_layout List
11986 \labelwidthstring 00.00.0000
11987
11988 \family sans
11989 M-s\InsetSpace ~
11990 t
11991 \family default
11992  
11993 \family typewriter
11994 font-size tiny
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 huger
12005 \end_layout
12006
12007 \begin_layout List
12008 \labelwidthstring 00.00.0000
12009
12010 \family sans
12011 M-s\InsetSpace ~
12012 1
12013 \family default
12014  
12015 \family typewriter
12016 font-size tiny
12017 \end_layout
12018
12019 \begin_layout List
12020 \labelwidthstring 00.00.0000
12021
12022 \family sans
12023 M-s\InsetSpace ~
12024 2
12025 \family default
12026  
12027 \family typewriter
12028 font-size smallest
12029 \end_layout
12030
12031 \begin_layout List
12032 \labelwidthstring 00.00.0000
12033
12034 \family sans
12035 M-s\InsetSpace ~
12036
12037 \family typewriter
12038 font-size smaller
12039 \end_layout
12040
12041 \begin_layout List
12042 \labelwidthstring 00.00.0000
12043
12044 \family sans
12045 M-s\InsetSpace ~
12046 4
12047 \family default
12048  
12049 \family typewriter
12050 font-size small
12051 \end_layout
12052
12053 \begin_layout List
12054 \labelwidthstring 00.00.0000
12055
12056 \family sans
12057 M-s\InsetSpace ~
12058 5
12059 \family default
12060  
12061 \family typewriter
12062 font-size normal
12063 \end_layout
12064
12065 \begin_layout List
12066 \labelwidthstring 00.00.0000
12067
12068 \family sans
12069 M-s\InsetSpace ~
12070 6
12071 \family default
12072  
12073 \family typewriter
12074 font-size large
12075 \end_layout
12076
12077 \begin_layout List
12078 \labelwidthstring 00.00.0000
12079
12080 \family sans
12081 M-s\InsetSpace ~
12082 7
12083 \family default
12084  
12085 \family typewriter
12086 font-size larger
12087 \end_layout
12088
12089 \begin_layout List
12090 \labelwidthstring 00.00.0000
12091
12092 \family sans
12093 M-s\InsetSpace ~
12094
12095 \family typewriter
12096 font-size largest
12097 \end_layout
12098
12099 \begin_layout List
12100 \labelwidthstring 00.00.0000
12101
12102 \family sans
12103 M-s\InsetSpace ~
12104
12105 \family typewriter
12106 font-size huge
12107 \end_layout
12108
12109 \begin_layout List
12110 \labelwidthstring 00.00.0000
12111
12112 \family sans
12113 M-s\InsetSpace ~
12114 S-H
12115 \family default
12116  
12117 \family typewriter
12118 font-size huger
12119 \end_layout
12120
12121 \begin_layout List
12122 \labelwidthstring 00.00.0000
12123
12124 \family sans
12125 M-s\InsetSpace ~
12126 S-L
12127 \family default
12128  
12129 \family typewriter
12130 font-size larger
12131 \end_layout
12132
12133 \begin_layout List
12134 \labelwidthstring 00.00.0000
12135
12136 \family sans
12137 M-s\InsetSpace ~
12138 S-S
12139 \family default
12140  
12141 \family typewriter
12142 font-size smaller
12143 \end_layout
12144
12145 \begin_layout List
12146 \labelwidthstring 00.00.0000
12147
12148 \family sans
12149 M-s\InsetSpace ~
12150 plus 
12151 \family typewriter
12152 font-size increase
12153 \end_layout
12154
12155 \begin_layout List
12156 \labelwidthstring 00.00.0000
12157
12158 \family sans
12159 M-s\InsetSpace ~
12160 minus 
12161 \family typewriter
12162 font-size decrease
12163 \end_layout
12164
12165 \begin_layout Subsection
12166 View
12167 \end_layout
12168
12169 \begin_layout Subsection
12170 Navigate
12171 \end_layout
12172
12173 \begin_layout Subsection
12174 Help
12175 \end_layout
12176
12177 \begin_layout Subsection
12178 Paragraph Style
12179 \end_layout
12180
12181 \begin_layout List
12182 \labelwidthstring 00.00.0000
12183
12184 \family sans
12185 M-p\InsetSpace ~
12186 a
12187 \family default
12188  
12189 \family typewriter
12190 layout Abstract
12191 \end_layout
12192
12193 \begin_layout List
12194 \labelwidthstring 00.00.0000
12195
12196 \family sans
12197 M-p\InsetSpace ~
12198 b
12199 \family default
12200  
12201 \family typewriter
12202 layout Itemize
12203 \end_layout
12204
12205 \begin_layout List
12206 \labelwidthstring 00.00.0000
12207
12208 \family sans
12209 M-p\InsetSpace ~
12210 c
12211 \family default
12212  
12213 \family typewriter
12214 layout LyX-Code
12215 \end_layout
12216
12217 \begin_layout List
12218 \labelwidthstring 00.00.0000
12219
12220 \family sans
12221 M-p\InsetSpace ~
12222 d
12223 \family default
12224  
12225 \family typewriter
12226 layout Description
12227 \end_layout
12228
12229 \begin_layout List
12230 \labelwidthstring 00.00.0000
12231
12232 \family sans
12233 M-p\InsetSpace ~
12234 e
12235 \family default
12236  
12237 \family typewriter
12238 layout Enumerate
12239 \end_layout
12240
12241 \begin_layout List
12242 \labelwidthstring 00.00.0000
12243
12244 \family sans
12245 M-p\InsetSpace ~
12246 f
12247 \family default
12248  
12249 \family typewriter
12250 layout ShortFoilhead
12251 \end_layout
12252
12253 \begin_layout List
12254 \labelwidthstring 00.00.0000
12255
12256 \family sans
12257 M-p\InsetSpace ~
12258 i
12259 \family default
12260  
12261 \family typewriter
12262 layout Itemize
12263 \end_layout
12264
12265 \begin_layout List
12266 \labelwidthstring 00.00.0000
12267
12268 \family sans
12269 M-p\InsetSpace ~
12270 l
12271 \family default
12272  
12273 \family typewriter
12274 layout List
12275 \end_layout
12276
12277 \begin_layout List
12278 \labelwidthstring 00.00.0000
12279
12280 \family sans
12281 M-p\InsetSpace ~
12282 n
12283 \family default
12284  
12285 \family typewriter
12286 layout Enumerate
12287 \end_layout
12288
12289 \begin_layout List
12290 \labelwidthstring 00.00.0000
12291
12292 \family sans
12293 M-p\InsetSpace ~
12294 q
12295 \family default
12296  
12297 \family typewriter
12298 layout Quote
12299 \end_layout
12300
12301 \begin_layout List
12302 \labelwidthstring 00.00.0000
12303
12304 \family sans
12305 M-p\InsetSpace ~
12306 r
12307 \family default
12308  
12309 \family typewriter
12310 layout ShortRotatefoilhead
12311 \end_layout
12312
12313 \begin_layout List
12314 \labelwidthstring 00.00.0000
12315
12316 \family sans
12317 M-p\InsetSpace ~
12318 s
12319 \family default
12320  
12321 \family typewriter
12322 layout Standard
12323 \end_layout
12324
12325 \begin_layout List
12326 \labelwidthstring 00.00.0000
12327
12328 \family sans
12329 M-p\InsetSpace ~
12330 t
12331 \family default
12332  
12333 \family typewriter
12334 layout Title
12335 \end_layout
12336
12337 \begin_layout List
12338 \labelwidthstring 00.00.0000
12339
12340 \family sans
12341 M-p\InsetSpace ~
12342 v
12343 \family default
12344  
12345 \family typewriter
12346 layout Verse
12347 \end_layout
12348
12349 \begin_layout List
12350 \labelwidthstring 00.00.0000
12351
12352 \family sans
12353 M-p\InsetSpace ~
12354 space
12355 \family default
12356  
12357 \family typewriter
12358 drop-layouts-choice
12359 \end_layout
12360
12361 \begin_layout List
12362 \labelwidthstring 00.00.0000
12363
12364 \family sans
12365 M-p
12366 \noun on
12367 \InsetSpace ~
12368 0
12369 \family default
12370 \noun default
12371  
12372 \family typewriter
12373 layout Part
12374 \end_layout
12375
12376 \begin_layout List
12377 \labelwidthstring 00.00.0000
12378
12379 \family sans
12380 M-p
12381 \noun on
12382 \InsetSpace ~
12383 1
12384 \family default
12385 \noun default
12386  
12387 \family typewriter
12388 layout Chapter
12389 \end_layout
12390
12391 \begin_layout List
12392 \labelwidthstring 00.00.0000
12393
12394 \family sans
12395 M-p\InsetSpace ~
12396 2
12397 \family default
12398  
12399 \family typewriter
12400 layout Section
12401 \end_layout
12402
12403 \begin_layout List
12404 \labelwidthstring 00.00.0000
12405
12406 \family sans
12407 M-p\InsetSpace ~
12408 3
12409 \family default
12410  
12411 \family typewriter
12412 layout Subsection
12413 \end_layout
12414
12415 \begin_layout List
12416 \labelwidthstring 00.00.0000
12417
12418 \family sans
12419 M-p\InsetSpace ~
12420 4
12421 \family default
12422  
12423 \family typewriter
12424 layout Subsubsection
12425 \end_layout
12426
12427 \begin_layout List
12428 \labelwidthstring 00.00.0000
12429
12430 \family sans
12431 M-p\InsetSpace ~
12432 5
12433 \family default
12434  
12435 \family typewriter
12436 layout Paragraph
12437 \end_layout
12438
12439 \begin_layout List
12440 \labelwidthstring 00.00.0000
12441
12442 \family sans
12443 M-p\InsetSpace ~
12444 6
12445 \family default
12446  
12447 \family typewriter
12448 layout Subparagraph
12449 \end_layout
12450
12451 \begin_layout List
12452 \labelwidthstring 00.00.0000
12453
12454 \family sans
12455 M-p\InsetSpace ~
12456 asterisk\InsetSpace ~
12457 0
12458 \family default
12459  
12460 \family typewriter
12461 layout Part*
12462 \end_layout
12463
12464 \begin_layout List
12465 \labelwidthstring 00.00.0000
12466
12467 \family sans
12468 M-p\InsetSpace ~
12469 asterisk\InsetSpace ~
12470 1
12471 \family default
12472  
12473 \family typewriter
12474 layout Chapter*
12475 \end_layout
12476
12477 \begin_layout List
12478 \labelwidthstring 00.00.0000
12479
12480 \family sans
12481 M-p\InsetSpace ~
12482 asterisk\InsetSpace ~
12483 2
12484 \family default
12485  
12486 \family typewriter
12487 layout Section*
12488 \end_layout
12489
12490 \begin_layout List
12491 \labelwidthstring 00.00.0000
12492
12493 \family sans
12494 M-p\InsetSpace ~
12495 asterisk\InsetSpace ~
12496 3
12497 \family default
12498  
12499 \family typewriter
12500 layout Subsection*
12501 \end_layout
12502
12503 \begin_layout List
12504 \labelwidthstring 00.00.0000
12505
12506 \family sans
12507 M-p\InsetSpace ~
12508 asterisk\InsetSpace ~
12509 4
12510 \family default
12511  
12512 \family typewriter
12513 layout Subsubsection*
12514 \end_layout
12515
12516 \begin_layout List
12517 \labelwidthstring 00.00.0000
12518
12519 \family sans
12520 M-p\InsetSpace ~
12521 asterisk\InsetSpace ~
12522 5
12523 \family default
12524  
12525 \family typewriter
12526 layout Paragraph*
12527 \end_layout
12528
12529 \begin_layout List
12530 \labelwidthstring 00.00.0000
12531
12532 \family sans
12533 M-p\InsetSpace ~
12534 asterisk\InsetSpace ~
12535 6
12536 \family default
12537  
12538 \family typewriter
12539 layout Subparagraph*
12540 \end_layout
12541
12542 \begin_layout List
12543 \labelwidthstring 00.00.0000
12544
12545 \family sans
12546 M-p\InsetSpace ~
12547 S-A
12548 \family default
12549  
12550 \family typewriter
12551 layout Author
12552 \end_layout
12553
12554 \begin_layout List
12555 \labelwidthstring 00.00.0000
12556
12557 \family sans
12558 M-p\InsetSpace ~
12559 S-B
12560 \family default
12561  
12562 \family typewriter
12563 layout Bibliography
12564 \end_layout
12565
12566 \begin_layout List
12567 \labelwidthstring 00.00.0000
12568
12569 \family sans
12570 M-p\InsetSpace ~
12571 S-C
12572 \family default
12573  
12574 \family typewriter
12575 layout Comment
12576 \end_layout
12577
12578 \begin_layout List
12579 \labelwidthstring 00.00.0000
12580
12581 \family sans
12582 M-p\InsetSpace ~
12583 S-D
12584 \family default
12585  
12586 \family typewriter
12587 layout Date
12588 \end_layout
12589
12590 \begin_layout List
12591 \labelwidthstring 00.00.0000
12592
12593 \family sans
12594 M-p\InsetSpace ~
12595 S-F
12596 \family default
12597  
12598 \family typewriter
12599 layout Foilhead
12600 \end_layout
12601
12602 \begin_layout List
12603 \labelwidthstring 00.00.0000
12604
12605 \family sans
12606 M-p\InsetSpace ~
12607 S-L
12608 \family default
12609  
12610 \family typewriter
12611 layout LaTeX
12612 \end_layout
12613
12614 \begin_layout List
12615 \labelwidthstring 00.00.0000
12616
12617 \family sans
12618 M-p\InsetSpace ~
12619 S-Q
12620 \family default
12621  
12622 \family typewriter
12623 layout Quotation
12624 \end_layout
12625
12626 \begin_layout List
12627 \labelwidthstring 00.00.0000
12628
12629 \family sans
12630 M-p\InsetSpace ~
12631 S-R
12632 \family default
12633  
12634 \family typewriter
12635 layout Rotatefoilhead
12636 \end_layout
12637
12638 \begin_layout List
12639 \labelwidthstring 00.00.0000
12640
12641 \family sans
12642 M-p\InsetSpace ~
12643 C-a
12644 \family default
12645  
12646 \family typewriter
12647 layout RightAddress
12648 \end_layout
12649
12650 \begin_layout List
12651 \labelwidthstring 00.00.0000
12652
12653 \family sans
12654 M-p\InsetSpace ~
12655 M-a
12656 \family default
12657  
12658 \family typewriter
12659 layout Address
12660 \end_layout
12661
12662 \begin_layout List
12663 \labelwidthstring 00.00.0000
12664
12665 \family sans
12666 M-p\InsetSpace ~
12667 M-c
12668 \family default
12669  
12670 \family typewriter
12671 layout Caption
12672 \end_layout
12673
12674 \begin_layout List
12675 \labelwidthstring 00.00.0000
12676
12677 \family sans
12678 M-p\InsetSpace ~
12679 Left
12680 \family default
12681  
12682 \family typewriter
12683 depth-decrement
12684 \end_layout
12685
12686 \begin_layout List
12687 \labelwidthstring 00.00.0000
12688
12689 \family sans
12690 M-p\InsetSpace ~
12691 Right
12692 \family default
12693  
12694 \family typewriter
12695 depth-increment
12696 \end_layout
12697
12698 \begin_layout Standard
12699 These ones are kept for backwards compatibility, but only make sense on
12700  a qwerty keyboard:
12701 \end_layout
12702
12703 \begin_layout List
12704 \labelwidthstring 00.00.0000
12705
12706 \family sans
12707 M-p\InsetSpace ~
12708 S-at
12709 \family default
12710  
12711 \family typewriter
12712 layout Section*
12713 \end_layout
12714
12715 \begin_layout List
12716 \labelwidthstring 00.00.0000
12717
12718 \family sans
12719 M-p\InsetSpace ~
12720 S-dollar
12721 \family default
12722  
12723 \family typewriter
12724 layout Subsubsection*
12725 \end_layout
12726
12727 \begin_layout List
12728 \labelwidthstring 00.00.0000
12729
12730 \family sans
12731 M-p\InsetSpace ~
12732 S-numbersign
12733 \family default
12734  
12735 \family typewriter
12736 layout Subsection*
12737 \end_layout
12738
12739 \begin_layout Section
12740 Keyboard
12741 \end_layout
12742
12743 \begin_layout Subsection
12744 Specific to 
12745 \family typewriter
12746 emacs.bind
12747 \end_layout
12748
12749 \begin_layout List
12750 \labelwidthstring 00.00.0000
12751
12752 \family sans
12753 C-a
12754 \family default
12755  
12756 \family typewriter
12757 line-begin
12758 \end_layout
12759
12760 \begin_layout List
12761 \labelwidthstring 00.00.0000
12762
12763 \family sans
12764 C-b
12765 \family default
12766  
12767 \family typewriter
12768 char-backward
12769 \end_layout
12770
12771 \begin_layout List
12772 \labelwidthstring 00.00.0000
12773
12774 \family sans
12775 C-d
12776 \family default
12777  
12778 \family typewriter
12779 delete-forward
12780 \end_layout
12781
12782 \begin_layout List
12783 \labelwidthstring 00.00.0000
12784
12785 \family sans
12786 C-e
12787 \family default
12788  
12789 \family typewriter
12790 line-end
12791 \end_layout
12792
12793 \begin_layout List
12794 \labelwidthstring 00.00.0000
12795
12796 \family sans
12797 C-f
12798 \family default
12799  
12800 \family typewriter
12801 char-forward
12802 \end_layout
12803
12804 \begin_layout List
12805 \labelwidthstring 00.00.0000
12806
12807 \family sans
12808 C-g
12809 \family default
12810  
12811 \family typewriter
12812 cancel
12813 \end_layout
12814
12815 \begin_layout List
12816 \labelwidthstring 00.00.0000
12817
12818 \family sans
12819 C-h
12820 \family default
12821  
12822 \family typewriter
12823 hyphenation-point-insert
12824 \end_layout
12825
12826 \begin_layout List
12827 \labelwidthstring 00.00.0000
12828
12829 \family sans
12830 C-i
12831 \family default
12832  
12833 \family typewriter
12834 hfill-insert
12835 \end_layout
12836
12837 \begin_layout List
12838 \labelwidthstring 00.00.0000
12839
12840 \family sans
12841 C-k
12842 \family default
12843  
12844 \family typewriter
12845 line-delete-forward
12846 \end_layout
12847
12848 \begin_layout List
12849 \labelwidthstring 00.00.0000
12850
12851 \family sans
12852 C-l
12853 \family default
12854  
12855 \family typewriter
12856 screen-recenter
12857 \end_layout
12858
12859 \begin_layout List
12860 \labelwidthstring 00.00.0000
12861
12862 \family sans
12863 C-m
12864 \family default
12865  
12866 \family typewriter
12867 mark-toggle
12868 \end_layout
12869
12870 \begin_layout List
12871 \labelwidthstring 00.00.0000
12872
12873 \family sans
12874 C-n
12875 \family default
12876  
12877 \family typewriter
12878 down
12879 \end_layout
12880
12881 \begin_layout List
12882 \labelwidthstring 00.00.0000
12883
12884 \family sans
12885 C-o
12886 \family default
12887  
12888 \family typewriter
12889 open-stuff
12890 \end_layout
12891
12892 \begin_layout List
12893 \labelwidthstring 00.00.0000
12894
12895 \family sans
12896 C-p
12897 \family default
12898  
12899 \family typewriter
12900 up
12901 \end_layout
12902
12903 \begin_layout List
12904 \labelwidthstring 00.00.0000
12905
12906 \family sans
12907 C-q
12908 \family typewriter
12909  quote-insert 
12910 \end_layout
12911
12912 \begin_layout List
12913 \labelwidthstring 00.00.0000
12914
12915 \family sans
12916 C-s
12917 \family default
12918  
12919 \family typewriter
12920 find-replace
12921 \end_layout
12922
12923 \begin_layout List
12924 \labelwidthstring 00.00.0000
12925
12926 \family sans
12927 C-u
12928 \family default
12929  
12930 \family typewriter
12931 font-underline 
12932 \end_layout
12933
12934 \begin_layout List
12935 \labelwidthstring 00.00.0000
12936
12937 \family sans
12938 C-v
12939 \family default
12940  
12941 \family typewriter
12942 screen-down 
12943 \end_layout
12944
12945 \begin_layout List
12946 \labelwidthstring 00.00.0000
12947
12948 \family sans
12949 C-w
12950 \family default
12951  
12952 \family typewriter
12953 cut
12954 \end_layout
12955
12956 \begin_layout List
12957 \labelwidthstring 00.00.0000
12958
12959 \family sans
12960 C-y
12961 \family default
12962  
12963 \family typewriter
12964 paste
12965 \end_layout
12966
12967 \begin_layout List
12968 \labelwidthstring 00.00.0000
12969
12970 \family sans
12971 C-S-Y
12972 \family default
12973  
12974 \family typewriter
12975 layout-paste
12976 \end_layout
12977
12978 \begin_layout List
12979 \labelwidthstring 00.00.0000
12980
12981 \family sans
12982 C-x\InsetSpace ~
12983 a
12984 \family default
12985  
12986 \family typewriter
12987 buffer-auto-save
12988 \end_layout
12989
12990 \begin_layout List
12991 \labelwidthstring 00.00.0000
12992
12993 \family sans
12994 C-x\InsetSpace ~
12995 b
12996 \family default
12997  
12998 \family typewriter
12999 buffer-previous
13000 \end_layout
13001
13002 \begin_layout List
13003 \labelwidthstring 00.00.0000
13004
13005 \family sans
13006 C-x\InsetSpace ~
13007 c
13008 \family default
13009  
13010 \family typewriter
13011 lyx-quit
13012 \end_layout
13013
13014 \begin_layout List
13015 \labelwidthstring 00.00.0000
13016
13017 \family sans
13018 C-x\InsetSpace ~
13019 d
13020 \family default
13021  
13022 \family typewriter
13023 buffer-new
13024 \end_layout
13025
13026 \begin_layout List
13027 \labelwidthstring 00.00.0000
13028
13029 \family sans
13030 ?\InsetSpace ~
13031 C-x\InsetSpace ~
13032 f
13033 \family default
13034  
13035 \family typewriter
13036 buffer-open
13037 \end_layout
13038
13039 \begin_layout List
13040 \labelwidthstring 00.00.0000
13041
13042 \family sans
13043 C-x\InsetSpace ~
13044 g
13045 \family default
13046  
13047 \family typewriter
13048 buffer-view-ps
13049 \end_layout
13050
13051 \begin_layout List
13052 \labelwidthstring 00.00.0000
13053
13054 \family sans
13055 C-x\InsetSpace ~
13056 k
13057 \family default
13058  
13059 \family typewriter
13060 buffer-close
13061 \end_layout
13062
13063 \begin_layout List
13064 \labelwidthstring 00.00.0000
13065
13066 \family sans
13067 C-x\InsetSpace ~
13068 p
13069 \family default
13070  
13071 \family typewriter
13072 buffer-view
13073 \end_layout
13074
13075 \begin_layout List
13076 \labelwidthstring 00.00.0000
13077
13078 \family sans
13079 C-x\InsetSpace ~
13080 r
13081 \family default
13082  
13083 \family typewriter
13084 buffer-typeset
13085 \end_layout
13086
13087 \begin_layout List
13088 \labelwidthstring 00.00.0000
13089
13090 \family sans
13091 ?\InsetSpace ~
13092 C-x\InsetSpace ~
13093 s
13094 \family default
13095  
13096 \family typewriter
13097 buffer-write
13098 \end_layout
13099
13100 \begin_layout List
13101 \labelwidthstring 00.00.0000
13102
13103 \family sans
13104 C-x\InsetSpace ~
13105 t
13106 \family default
13107  
13108 \family typewriter
13109 buffer-typeset
13110 \end_layout
13111
13112 \begin_layout List
13113 \labelwidthstring 00.00.0000
13114
13115 \family sans
13116 C-x\InsetSpace ~
13117 u
13118 \family default
13119  
13120 \family typewriter
13121 undo
13122 \end_layout
13123
13124 \begin_layout List
13125 \labelwidthstring 00.00.0000
13126
13127 \family sans
13128 C-x\InsetSpace ~
13129 v\InsetSpace ~
13130 c
13131 \family default
13132  
13133 \family typewriter
13134 vc-undo-last
13135 \end_layout
13136
13137 \begin_layout List
13138 \labelwidthstring 00.00.0000
13139
13140 \family sans
13141 C-x\InsetSpace ~
13142 v\InsetSpace ~
13143 h
13144 \family default
13145  
13146 \family typewriter
13147 vc-history
13148 \end_layout
13149
13150 \begin_layout List
13151 \labelwidthstring 00.00.0000
13152
13153 \family sans
13154 C-x\InsetSpace ~
13155 v\InsetSpace ~
13156 i
13157 \family default
13158  
13159 \family typewriter
13160 vc-register
13161 \end_layout
13162
13163 \begin_layout List
13164 \labelwidthstring 00.00.0000
13165
13166 \family sans
13167 C-x\InsetSpace ~
13168 v\InsetSpace ~
13169 u
13170 \family default
13171  
13172 \family typewriter
13173 vc-revert
13174 \end_layout
13175
13176 \begin_layout List
13177 \labelwidthstring 00.00.0000
13178
13179 \family sans
13180 C-x\InsetSpace ~
13181 v\InsetSpace ~
13182 v
13183 \family default
13184  
13185 \family typewriter
13186 vc-check-in
13187 \end_layout
13188
13189 \begin_layout List
13190 \labelwidthstring 00.00.0000
13191
13192 \family sans
13193 ?\InsetSpace ~
13194 C-x\InsetSpace ~
13195 w
13196 \family default
13197  
13198 \family typewriter
13199 buffer-write-as
13200 \end_layout
13201
13202 \begin_layout List
13203 \labelwidthstring 00.00.0000
13204
13205 \family sans
13206 C-x\InsetSpace ~
13207 bracketleft
13208 \family default
13209  
13210 \family typewriter
13211 screen-up
13212 \end_layout
13213
13214 \begin_layout List
13215 \labelwidthstring 00.00.0000
13216
13217 \family sans
13218 C-x\InsetSpace ~
13219 bracketright
13220 \family default
13221  
13222 \family typewriter
13223 screen-down
13224 \end_layout
13225
13226 \begin_layout List
13227 \labelwidthstring 00.00.0000
13228
13229 \family sans
13230 C-x\InsetSpace ~
13231 C-a
13232 \family default
13233  
13234 \family typewriter
13235 buffer-auto-save
13236 \end_layout
13237
13238 \begin_layout List
13239 \labelwidthstring 00.00.0000
13240
13241 \family sans
13242 C-x\InsetSpace ~
13243 C-b
13244 \family default
13245  
13246 \family typewriter
13247 menu-open Documents
13248 \end_layout
13249
13250 \begin_layout List
13251 \labelwidthstring 00.00.0000
13252
13253 \family sans
13254 C-x\InsetSpace ~
13255 C-c
13256 \family default
13257  
13258 \family typewriter
13259 lyx-quit
13260 \end_layout
13261
13262 \begin_layout List
13263 \labelwidthstring 00.00.0000
13264
13265 \family sans
13266 C-x\InsetSpace ~
13267 C-d
13268 \family default
13269  
13270 \family typewriter
13271 buffer-new
13272 \end_layout
13273
13274 \begin_layout List
13275 \labelwidthstring 00.00.0000
13276
13277 \family sans
13278 C-x\InsetSpace ~
13279 C-f
13280 \family default
13281  
13282 \family typewriter
13283 buffer-open
13284 \end_layout
13285
13286 \begin_layout List
13287 \labelwidthstring 00.00.0000
13288
13289 \family sans
13290 C-x\InsetSpace ~
13291 C-g
13292 \family default
13293  
13294 \family typewriter
13295 buffer-view-ps
13296 \end_layout
13297
13298 \begin_layout List
13299 \labelwidthstring 00.00.0000
13300
13301 \family sans
13302 C-x\InsetSpace ~
13303 C-p
13304 \family default
13305  
13306 \family typewriter
13307 buffer-view
13308 \end_layout
13309
13310 \begin_layout List
13311 \labelwidthstring 00.00.0000
13312
13313 \family sans
13314 C-x\InsetSpace ~
13315 C-q
13316 \family default
13317  
13318 \family typewriter
13319 buffer-toggle-read-only
13320 \end_layout
13321
13322 \begin_layout List
13323 \labelwidthstring 00.00.0000
13324
13325 \family sans
13326 C-x\InsetSpace ~
13327 C-s
13328 \family default
13329  
13330 \family typewriter
13331 buffer-write
13332 \end_layout
13333
13334 \begin_layout List
13335 \labelwidthstring 00.00.0000
13336
13337 \family sans
13338 C-x\InsetSpace ~
13339 C-t
13340 \family default
13341  
13342 \family typewriter
13343 buffer-typeset
13344 \end_layout
13345
13346 \begin_layout List
13347 \labelwidthstring 00.00.0000
13348
13349 \family sans
13350 C-x\InsetSpace ~
13351 C-w
13352 \family default
13353  
13354 \family typewriter
13355 buffer-write-as
13356 \end_layout
13357
13358 \begin_layout List
13359 \labelwidthstring 00.00.0000
13360
13361 \family sans
13362 Home
13363 \family default
13364  
13365 \family typewriter
13366 buffer-begin
13367 \end_layout
13368
13369 \begin_layout List
13370 \labelwidthstring 00.00.0000
13371
13372 \family sans
13373 End
13374 \family default
13375  
13376 \family typewriter
13377 buffer-end
13378 \end_layout
13379
13380 \begin_layout List
13381 \labelwidthstring 00.00.0000
13382
13383 \family sans
13384 S-Home
13385 \family default
13386  
13387 \family typewriter
13388 line-begin-select
13389 \end_layout
13390
13391 \begin_layout List
13392 \labelwidthstring 00.00.0000
13393
13394 \family sans
13395 S-End
13396 \family default
13397  
13398 \family typewriter
13399 line-end-select
13400 \end_layout
13401
13402 \begin_layout List
13403 \labelwidthstring 00.00.0000
13404
13405 \family sans
13406 S-Up
13407 \family default
13408  
13409 \family typewriter
13410 up-select
13411 \end_layout
13412
13413 \begin_layout List
13414 \labelwidthstring 00.00.0000
13415
13416 \family sans
13417 S-Down
13418 \family default
13419  
13420 \family typewriter
13421 down-select
13422 \end_layout
13423
13424 \begin_layout List
13425 \labelwidthstring 00.00.0000
13426
13427 \family sans
13428 S-Next
13429 \family default
13430  
13431 \family typewriter
13432 screen-down-select
13433 \end_layout
13434
13435 \begin_layout List
13436 \labelwidthstring 00.00.0000
13437
13438 \family sans
13439 S-Prior
13440 \family default
13441  
13442 \family typewriter
13443 screen-up-select
13444 \end_layout
13445
13446 \begin_layout List
13447 \labelwidthstring 00.00.0000
13448
13449 \family sans
13450 S-Left
13451 \family default
13452  
13453 \family typewriter
13454 backward-select
13455 \end_layout
13456
13457 \begin_layout List
13458 \labelwidthstring 00.00.0000
13459
13460 \family sans
13461 S-Right
13462 \family default
13463  
13464 \family typewriter
13465 forward-select
13466 \end_layout
13467
13468 \begin_layout List
13469 \labelwidthstring 00.00.0000
13470
13471 \family sans
13472 C-Up
13473 \family default
13474  
13475 \family typewriter
13476 paragraph-up
13477 \end_layout
13478
13479 \begin_layout List
13480 \labelwidthstring 00.00.0000
13481
13482 \family sans
13483 C-Down
13484 \family default
13485  
13486 \family typewriter
13487 paragraph-down
13488 \end_layout
13489
13490 \begin_layout List
13491 \labelwidthstring 00.00.0000
13492
13493 \family sans
13494 C-Left
13495 \family default
13496  
13497 \family typewriter
13498 word-backward
13499 \end_layout
13500
13501 \begin_layout List
13502 \labelwidthstring 00.00.0000
13503
13504 \family sans
13505 C-Right
13506 \family default
13507  
13508 \family typewriter
13509 word-forward
13510 \end_layout
13511
13512 \begin_layout List
13513 \labelwidthstring 00.00.0000
13514
13515 \family sans
13516 C-Delete
13517 \family default
13518  
13519 \family typewriter
13520 word-delete-forward
13521 \end_layout
13522
13523 \begin_layout List
13524 \labelwidthstring 00.00.0000
13525
13526 \family sans
13527 C-BackSpace
13528 \family default
13529  
13530 \family typewriter
13531 word-delete-backward
13532 \end_layout
13533
13534 \begin_layout List
13535 \labelwidthstring 00.00.0000
13536
13537 \family sans
13538 C-Return
13539 \family default
13540  
13541 \family typewriter
13542 break-line
13543 \end_layout
13544
13545 \begin_layout List
13546 \labelwidthstring 00.00.0000
13547
13548 \family sans
13549 C-period
13550 \family default
13551  
13552 \family typewriter
13553 end-of-sentence-period-insert
13554 \end_layout
13555
13556 \begin_layout List
13557 \labelwidthstring 00.00.0000
13558
13559 \family sans
13560 C-space
13561 \family default
13562  
13563 \family typewriter
13564 protected-space-insert
13565 \end_layout
13566
13567 \begin_layout List
13568 \labelwidthstring 00.00.0000
13569
13570 \family sans
13571 C-S-at
13572 \family default
13573  
13574 \family typewriter
13575 mark-on
13576 \end_layout
13577
13578 \begin_layout List
13579 \labelwidthstring 00.00.0000
13580
13581 \family sans
13582 C-S-greater
13583 \family default
13584  
13585 \family typewriter
13586 label-goto
13587 \end_layout
13588
13589 \begin_layout List
13590 \labelwidthstring 00.00.0000
13591
13592 \family sans
13593 C-S-less
13594 \family default
13595  
13596 \family typewriter
13597 reference-back
13598 \end_layout
13599
13600 \begin_layout List
13601 \labelwidthstring 00.00.0000
13602
13603 \family sans
13604 C-S-slash
13605 \family default
13606  
13607 \family typewriter
13608 undo
13609 \end_layout
13610
13611 \begin_layout List
13612 \labelwidthstring 00.00.0000
13613
13614 \family sans
13615 C-S-underscore
13616 \family default
13617  
13618 \family typewriter
13619 undo
13620 \end_layout
13621
13622 \begin_layout List
13623 \labelwidthstring 00.00.0000
13624
13625 \family sans
13626 C-S-quotedbl
13627 \family default
13628  
13629 \family typewriter
13630 quote-insert
13631 \end_layout
13632
13633 \begin_layout List
13634 \labelwidthstring 00.00.0000
13635
13636 \family sans
13637 C-S-Home
13638 \family default
13639  
13640 \family typewriter
13641 buffer-begin-select
13642 \end_layout
13643
13644 \begin_layout List
13645 \labelwidthstring 00.00.0000
13646
13647 \family sans
13648 C-S-End
13649 \family default
13650  
13651 \family typewriter
13652 buffer-end-select
13653 \end_layout
13654
13655 \begin_layout List
13656 \labelwidthstring 00.00.0000
13657
13658 \family sans
13659 C-S-Up
13660 \family default
13661  
13662 \family typewriter
13663 paragraph-up-select
13664 \end_layout
13665
13666 \begin_layout List
13667 \labelwidthstring 00.00.0000
13668
13669 \family sans
13670 C-S-Down
13671 \family default
13672  
13673 \family typewriter
13674 paragraph-down-select
13675 \end_layout
13676
13677 \begin_layout List
13678 \labelwidthstring 00.00.0000
13679
13680 \family sans
13681 C-S-Left
13682 \family default
13683  
13684 \family typewriter
13685 word-backward-select
13686 \end_layout
13687
13688 \begin_layout List
13689 \labelwidthstring 00.00.0000
13690
13691 \family sans
13692 C-S-Right
13693 \family default
13694  
13695 \family typewriter
13696 word-forward-select
13697 \end_layout
13698
13699 \begin_layout List
13700 \labelwidthstring 00.00.0000
13701
13702 \family sans
13703 Escape
13704 \family default
13705  
13706 \family typewriter
13707 meta-prefix
13708 \end_layout
13709
13710 \begin_layout List
13711 \labelwidthstring 00.00.0000
13712
13713 \family sans
13714 M-d
13715 \family default
13716  
13717 \family typewriter
13718 word-delete-forward
13719 \end_layout
13720
13721 \begin_layout List
13722 \labelwidthstring 00.00.0000
13723
13724 \family sans
13725 M-w
13726 \family default
13727  
13728 \family typewriter
13729 copy
13730 \end_layout
13731
13732 \begin_layout List
13733 \labelwidthstring 00.00.0000
13734
13735 \family sans
13736 M-x
13737 \family default
13738  
13739 \family typewriter
13740 command-execute
13741 \end_layout
13742
13743 \begin_layout List
13744 \labelwidthstring 00.00.0000
13745
13746 \family sans
13747 M-S-W
13748 \family default
13749  
13750 \family typewriter
13751 layout-copy
13752 \end_layout
13753
13754 \begin_layout List
13755 \labelwidthstring 00.00.0000
13756
13757 \family sans
13758 M-period
13759 \family default
13760  
13761 \family typewriter
13762 dots-insert
13763 \end_layout
13764
13765 \begin_layout List
13766 \labelwidthstring 00.00.0000
13767
13768 \family sans
13769 M-Return
13770 \family default
13771  
13772 \family typewriter
13773 break-paragraph-keep-layout
13774 \end_layout
13775
13776 \begin_layout List
13777 \labelwidthstring 00.00.0000
13778
13779 \family sans
13780 M-S-percent 
13781 \family typewriter
13782 find-replace
13783 \end_layout
13784
13785 \begin_layout Subsection
13786 Specific to 
13787 \family typewriter
13788 cua.bind
13789 \end_layout
13790
13791 \begin_layout List
13792 \labelwidthstring 00.00.0000
13793
13794 \family sans
13795 C-b
13796 \family default
13797  
13798 \family typewriter
13799 font-bold
13800 \end_layout
13801
13802 \begin_layout List
13803 \labelwidthstring 00.00.0000
13804
13805 \family sans
13806 C-c
13807 \family default
13808  
13809 \family typewriter
13810 copy
13811 \end_layout
13812
13813 \begin_layout List
13814 \labelwidthstring 00.00.0000
13815
13816 \family sans
13817 C-d
13818 \family default
13819  
13820 \family typewriter
13821 buffer-view 
13822 \end_layout
13823
13824 \begin_layout List
13825 \labelwidthstring 00.00.0000
13826
13827 \family sans
13828 C-e
13829 \family default
13830  
13831 \family typewriter
13832 font-emph
13833 \end_layout
13834
13835 \begin_layout List
13836 \labelwidthstring 00.00.0000
13837
13838 \family sans
13839 C-f
13840 \family default
13841  
13842 \family typewriter
13843 find-replace
13844 \end_layout
13845
13846 \begin_layout List
13847 \labelwidthstring 00.00.0000
13848
13849 \family sans
13850 C-g
13851 \family default
13852  
13853 \family typewriter
13854 error-next
13855 \end_layout
13856
13857 \begin_layout List
13858 \labelwidthstring 00.00.0000
13859
13860 \family sans
13861 C-i
13862 \family default
13863  
13864 \family typewriter
13865 open-stuff 
13866 \end_layout
13867
13868 \begin_layout List
13869 \labelwidthstring 00.00.0000
13870
13871 \family sans
13872 C-k
13873 \family default
13874  
13875 \family typewriter
13876 font-noun 
13877 \end_layout
13878
13879 \begin_layout List
13880 \labelwidthstring 00.00.0000
13881
13882 \family sans
13883 C-l
13884 \family default
13885  
13886 \family typewriter
13887 tex-mode 
13888 \end_layout
13889
13890 \begin_layout List
13891 \labelwidthstring 00.00.0000
13892
13893 \family sans
13894 C-m
13895 \family default
13896  
13897 \family typewriter
13898 math-mode
13899 \end_layout
13900
13901 \begin_layout List
13902 \labelwidthstring 00.00.0000
13903
13904 \family sans
13905 C-n
13906 \family default
13907  
13908 \family typewriter
13909 buffer-new
13910 \end_layout
13911
13912 \begin_layout List
13913 \labelwidthstring 00.00.0000
13914
13915 \family sans
13916 C-o
13917 \family default
13918  
13919 \family typewriter
13920 buffer-open
13921 \end_layout
13922
13923 \begin_layout List
13924 \labelwidthstring 00.00.0000
13925
13926 \family sans
13927 C-p
13928 \family default
13929  
13930 \family typewriter
13931 buffer-print
13932 \end_layout
13933
13934 \begin_layout List
13935 \labelwidthstring 00.00.0000
13936
13937 \family sans
13938 C-q
13939 \family default
13940  
13941 \family typewriter
13942 lyx-quit
13943 \end_layout
13944
13945 \begin_layout List
13946 \labelwidthstring 00.00.0000
13947
13948 \family sans
13949 C-r
13950 \family default
13951  
13952 \family typewriter
13953 buffer-reload
13954 \end_layout
13955
13956 \begin_layout List
13957 \labelwidthstring 00.00.0000
13958
13959 \family sans
13960 C-s
13961 \family default
13962  
13963 \family typewriter
13964 buffer-write
13965 \end_layout
13966
13967 \begin_layout List
13968 \labelwidthstring 00.00.0000
13969
13970 \family sans
13971 C-t
13972 \family default
13973  
13974 \family typewriter
13975 buffer-view-ps
13976 \end_layout
13977
13978 \begin_layout List
13979 \labelwidthstring 00.00.0000
13980
13981 \family sans
13982 C-u
13983 \family default
13984  
13985 \family typewriter
13986 font-underline
13987 \end_layout
13988
13989 \begin_layout List
13990 \labelwidthstring 00.00.0000
13991
13992 \family sans
13993 C-v
13994 \family default
13995  
13996 \family typewriter
13997 paste
13998 \end_layout
13999
14000 \begin_layout List
14001 \labelwidthstring 00.00.0000
14002
14003 \family sans
14004 C-w
14005 \family default
14006  
14007 \family typewriter
14008 buffer-close
14009 \end_layout
14010
14011 \begin_layout List
14012 \labelwidthstring 00.00.0000
14013
14014 \family sans
14015 C-x
14016 \family default
14017  
14018 \family typewriter
14019 cut
14020 \end_layout
14021
14022 \begin_layout List
14023 \labelwidthstring 00.00.0000
14024
14025 \family sans
14026 C-z
14027 \family default
14028  
14029 \family typewriter
14030 undo
14031 \end_layout
14032
14033 \begin_layout List
14034 \labelwidthstring 00.00.0000
14035
14036 \family sans
14037 C-space
14038 \family default
14039  
14040 \family typewriter
14041 protected-space-insert
14042 \end_layout
14043
14044 \begin_layout List
14045 \labelwidthstring 00.00.0000
14046
14047 \family sans
14048 C-S-C
14049 \family default
14050  
14051 \family typewriter
14052 layout-copy
14053 \end_layout
14054
14055 \begin_layout List
14056 \labelwidthstring 00.00.0000
14057
14058 \family sans
14059 C-S-D
14060 \family default
14061  
14062 \family typewriter
14063 buffer-typeset
14064 \end_layout
14065
14066 \begin_layout List
14067 \labelwidthstring 00.00.0000
14068
14069 \family sans
14070 C-S-M
14071 \family default
14072  
14073 \family typewriter
14074 math-display
14075 \end_layout
14076
14077 \begin_layout List
14078 \labelwidthstring 00.00.0000
14079
14080 \family sans
14081 C-S-N
14082 \family default
14083  
14084 \family typewriter
14085 buffer-new-template
14086 \end_layout
14087
14088 \begin_layout List
14089 \labelwidthstring 00.00.0000
14090
14091 \family sans
14092 C-S-P
14093 \family default
14094  
14095 \family typewriter
14096 font-code 
14097 \end_layout
14098
14099 \begin_layout List
14100 \labelwidthstring 00.00.0000
14101
14102 \family sans
14103 C-S-S
14104 \family default
14105  
14106 \family typewriter
14107 buffer-write-as
14108 \end_layout
14109
14110 \begin_layout List
14111 \labelwidthstring 00.00.0000
14112
14113 \family sans
14114 C-S-T
14115 \family default
14116  
14117 \family typewriter
14118 buffer-typeset-ps
14119 \end_layout
14120
14121 \begin_layout List
14122 \labelwidthstring 00.00.0000
14123
14124 \family sans
14125 C-S-V
14126 \family default
14127  
14128 \family typewriter
14129 layout-paste
14130 \end_layout
14131
14132 \begin_layout List
14133 \labelwidthstring 00.00.0000
14134
14135 \family sans
14136 C-S-Z
14137 \family default
14138  
14139 \family typewriter
14140 redo
14141 \end_layout
14142
14143 \begin_layout List
14144 \labelwidthstring 00.00.0000
14145
14146 \family sans
14147 S-Insert
14148 \family default
14149  
14150 \family typewriter
14151 paste
14152 \end_layout
14153
14154 \begin_layout List
14155 \labelwidthstring 00.00.0000
14156
14157 \family sans
14158 S-Delete
14159 \family default
14160  
14161 \family typewriter
14162 cut
14163 \end_layout
14164
14165 \begin_layout List
14166 \labelwidthstring 00.00.0000
14167
14168 \family sans
14169 C-period
14170 \family default
14171  
14172 \family typewriter
14173 end-of-sentence-period-insert
14174 \end_layout
14175
14176 \begin_layout List
14177 \labelwidthstring 00.00.0000
14178
14179 \family sans
14180 C-S-greater
14181 \family default
14182  
14183 \family typewriter
14184 label-goto
14185 \end_layout
14186
14187 \begin_layout List
14188 \labelwidthstring 00.00.0000
14189
14190 \family sans
14191 C-S-less
14192 \family default
14193  
14194 \family typewriter
14195 reference-back
14196 \end_layout
14197
14198 \begin_layout List
14199 \labelwidthstring 00.00.0000
14200
14201 \family sans
14202 C-minus
14203 \family default
14204  
14205 \family typewriter
14206 hyphenation-point-insert
14207 \end_layout
14208
14209 \begin_layout List
14210 \labelwidthstring 00.00.0000
14211
14212 \family sans
14213 C-S-quotedbl
14214 \family default
14215  
14216 \family typewriter
14217 quote-insert
14218 \end_layout
14219
14220 \begin_layout List
14221 \labelwidthstring 00.00.0000
14222
14223 \family sans
14224 C-S-space
14225 \family default
14226  
14227 \family typewriter
14228 protected-space-insert
14229 \end_layout
14230
14231 \begin_layout List
14232 \labelwidthstring 00.00.0000
14233
14234 \family sans
14235 M-x
14236 \family default
14237  
14238 \family typewriter
14239 command-execute
14240 \end_layout
14241
14242 \begin_layout List
14243 \labelwidthstring 00.00.0000
14244
14245 \family sans
14246 S-Home
14247 \family default
14248  
14249 \family typewriter
14250 line-begin-select
14251 \end_layout
14252
14253 \begin_layout List
14254 \labelwidthstring 00.00.0000
14255
14256 \family sans
14257 S-End
14258 \family default
14259  
14260 \family typewriter
14261 line-end-select
14262 \end_layout
14263
14264 \begin_layout List
14265 \labelwidthstring 00.00.0000
14266
14267 \family sans
14268 S-Up
14269 \family default
14270  
14271 \family typewriter
14272 up-select
14273 \end_layout
14274
14275 \begin_layout List
14276 \labelwidthstring 00.00.0000
14277
14278 \family sans
14279 S-Down
14280 \family default
14281  
14282 \family typewriter
14283 down-select
14284 \end_layout
14285
14286 \begin_layout List
14287 \labelwidthstring 00.00.0000
14288
14289 \family sans
14290 S-Delete
14291 \family default
14292  
14293 \family typewriter
14294 cut
14295 \end_layout
14296
14297 \begin_layout List
14298 \labelwidthstring 00.00.0000
14299
14300 \family sans
14301 S-Insert
14302 \family default
14303  
14304 \family typewriter
14305 paste
14306 \end_layout
14307
14308 \begin_layout List
14309 \labelwidthstring 00.00.0000
14310
14311 \family sans
14312 S-Next
14313 \family default
14314  
14315 \family typewriter
14316 screen-down-select
14317 \end_layout
14318
14319 \begin_layout List
14320 \labelwidthstring 00.00.0000
14321
14322 \family sans
14323 S-Prior
14324 \family default
14325  
14326 \family typewriter
14327 screen-up-select
14328 \end_layout
14329
14330 \begin_layout List
14331 \labelwidthstring 00.00.0000
14332
14333 \family sans
14334 S-Left
14335 \family default
14336  
14337 \family typewriter
14338 backward-select
14339 \end_layout
14340
14341 \begin_layout List
14342 \labelwidthstring 00.00.0000
14343
14344 \family sans
14345 S-Right
14346 \family default
14347  
14348 \family typewriter
14349 forward-select
14350 \end_layout
14351
14352 \begin_layout List
14353 \labelwidthstring 00.00.0000
14354
14355 \family sans
14356 C-Home
14357 \family default
14358  
14359 \family typewriter
14360 buffer-begin
14361 \end_layout
14362
14363 \begin_layout List
14364 \labelwidthstring 00.00.0000
14365
14366 \family sans
14367 C-End
14368 \family default
14369  
14370 \family typewriter
14371 buffer-end
14372 \end_layout
14373
14374 \begin_layout List
14375 \labelwidthstring 00.00.0000
14376
14377 \family sans
14378 C-Up
14379 \family default
14380  
14381 \family typewriter
14382 paragraph-up
14383 \end_layout
14384
14385 \begin_layout List
14386 \labelwidthstring 00.00.0000
14387
14388 \family sans
14389 C-Down
14390 \family default
14391  
14392 \family typewriter
14393 paragraph-down
14394 \end_layout
14395
14396 \begin_layout List
14397 \labelwidthstring 00.00.0000
14398
14399 \family sans
14400 C-Delete
14401 \family default
14402  
14403 \family typewriter
14404 word-delete-forward
14405 \end_layout
14406
14407 \begin_layout List
14408 \labelwidthstring 00.00.0000
14409
14410 \family sans
14411 C-BackSpace
14412 \family default
14413  
14414 \family typewriter
14415 word-delete-backward
14416 \end_layout
14417
14418 \begin_layout List
14419 \labelwidthstring 00.00.0000
14420
14421 \family sans
14422 C-Insert
14423 \family default
14424  
14425 \family typewriter
14426 copy
14427 \end_layout
14428
14429 \begin_layout List
14430 \labelwidthstring 00.00.0000
14431
14432 \family sans
14433 C-Return
14434 \family default
14435  
14436 \family typewriter
14437 break-line
14438 \end_layout
14439
14440 \begin_layout List
14441 \labelwidthstring 00.00.0000
14442
14443 \family sans
14444 C-Left
14445 \family default
14446  
14447 \family typewriter
14448 word-backward
14449 \end_layout
14450
14451 \begin_layout List
14452 \labelwidthstring 00.00.0000
14453
14454 \family sans
14455 C-Right
14456 \family default
14457  
14458 \family typewriter
14459 word-forward
14460 \end_layout
14461
14462 \begin_layout List
14463 \labelwidthstring 00.00.0000
14464
14465 \family sans
14466 C-S-Down
14467 \family default
14468  
14469 \family typewriter
14470 paragraph-down-select
14471 \end_layout
14472
14473 \begin_layout List
14474 \labelwidthstring 00.00.0000
14475
14476 \family sans
14477 C-S-End
14478 \family default
14479  
14480 \family typewriter
14481 buffer-end-select
14482 \end_layout
14483
14484 \begin_layout List
14485 \labelwidthstring 00.00.0000
14486
14487 \family sans
14488 C-S-Home
14489 \family default
14490  
14491 \family typewriter
14492 buffer-begin-select
14493 \end_layout
14494
14495 \begin_layout List
14496 \labelwidthstring 00.00.0000
14497
14498 \family sans
14499 C-S-Left
14500 \family default
14501  
14502 \family typewriter
14503 word-backward-select
14504 \end_layout
14505
14506 \begin_layout List
14507 \labelwidthstring 00.00.0000
14508
14509 \family sans
14510 C-S-Right
14511 \family default
14512  
14513 \family typewriter
14514 word-forward-select
14515 \end_layout
14516
14517 \begin_layout List
14518 \labelwidthstring 00.00.0000
14519
14520 \family sans
14521 C-S-Up
14522 \family default
14523  
14524 \family typewriter
14525 paragraph-up-select
14526 \end_layout
14527
14528 \begin_layout List
14529 \labelwidthstring 00.00.0000
14530
14531 \family sans
14532 C-S-quotedbl
14533 \family default
14534  
14535 \family typewriter
14536 quote-insert
14537 \end_layout
14538
14539 \begin_layout List
14540 \labelwidthstring 00.00.0000
14541
14542 \family sans
14543 M-Return
14544 \family default
14545  
14546 \family typewriter
14547 break-paragraph-keep-layout
14548 \end_layout
14549
14550 \begin_layout List
14551 \labelwidthstring 00.00.0000
14552
14553 \family sans
14554 M-period
14555 \family default
14556  
14557 \family typewriter
14558 dots-insert
14559 \end_layout
14560
14561 \begin_layout List
14562 \labelwidthstring 00.00.0000
14563
14564 \family sans
14565 M-S-Right
14566 \family default
14567  
14568 \family typewriter
14569 depth-increment
14570 \end_layout
14571
14572 \begin_layout List
14573 \labelwidthstring 00.00.0000
14574
14575 \family sans
14576 M-S-Left
14577 \family default
14578  
14579 \family typewriter
14580 depth-decrement
14581 \end_layout
14582
14583 \begin_layout List
14584 \labelwidthstring 00.00.0000
14585
14586 \family sans
14587 Escape
14588 \family default
14589  
14590 \family typewriter
14591 cancel
14592 \end_layout
14593
14594 \begin_layout List
14595 \labelwidthstring 00.00.0000
14596
14597 \family sans
14598 F2
14599 \family default
14600  
14601 \family typewriter
14602 buffer-write
14603 \end_layout
14604
14605 \begin_layout List
14606 \labelwidthstring 00.00.0000
14607
14608 \family sans
14609 F3 
14610 \family typewriter
14611 buffer-open
14612 \end_layout
14613
14614 \begin_layout List
14615 \labelwidthstring 00.00.0000
14616
14617 \family sans
14618 F5
14619 \family default
14620  
14621 \family typewriter
14622 screen-recenter
14623 \end_layout
14624
14625 \begin_layout List
14626 \labelwidthstring 00.00.0000
14627
14628 \family sans
14629 F7
14630 \family default
14631  
14632 \family typewriter
14633 spellchecker
14634 \end_layout
14635
14636 \begin_layout List
14637 \labelwidthstring 00.00.0000
14638
14639 \family sans
14640 F9
14641 \family default
14642  
14643 \family typewriter
14644 meta-prefix
14645 \end_layout
14646
14647 \begin_layout List
14648 \labelwidthstring 00.00.0000
14649
14650 \family sans
14651 C-F4
14652 \family default
14653  
14654 \family typewriter
14655 buffer-close
14656 \end_layout
14657
14658 \begin_layout List
14659 \labelwidthstring 00.00.0000
14660
14661 \family sans
14662 M-F4
14663 \family default
14664  
14665 \family typewriter
14666 lyx-quit
14667 \end_layout
14668
14669 \begin_layout Subsection
14670 Specific to 
14671 \family typewriter
14672 sciword.bind
14673 \end_layout
14674
14675 \begin_layout Standard
14676 These are LyX keyboard definitions for mathematics, similar to those of
14677  Scientific Word.
14678 \end_layout
14679
14680 \begin_layout Standard
14681 The bindings file and the present documentation were prepared by Serge Winitzki
14682  with assistance from Jean-Marc Lasgouttes.
14683  Version 1.3, for LyX 1.2.x and 1.3.x.
14684 \end_layout
14685
14686 \begin_layout Standard
14687 These definitions make it a lot easier to type equations without using the
14688  mouse, especially for people familiar with Scientific Word.
14689  The standard LyX bindings such as 
14690 \family typewriter
14691 M-m
14692 \family default
14693  or 
14694 \family typewriter
14695 M-o
14696 \family default
14697  are unmodified.
14698 \end_layout
14699
14700 \begin_layout Standard
14701 Tip: to find the "LyX bind name" for a key, look at the status bar after
14702  typing some non-existent key combination.
14703  E.g.
14704  to find how "Ctrl-&" is referenced, press Ctrl-S and then Ctrl-&: the status
14705  bar shows "C-s S-C-ampersand." (This does not work in LyX 1.3.0!)
14706 \end_layout
14707
14708 \begin_layout List
14709 \labelwidthstring 00.00.0000
14710
14711 \family sans
14712 C-c
14713 \family default
14714  
14715 \family typewriter
14716 copy 
14717 \family default
14718 -- Copy, cut, paste is as in Sciword,
14719 \family typewriter
14720  C-c
14721 \family default
14722
14723 \family typewriter
14724 C-x
14725 \family default
14726 , and 
14727 \family typewriter
14728 C-v
14729 \family default
14730 .
14731 \end_layout
14732
14733 \begin_layout List
14734 \labelwidthstring 00.00.0000
14735
14736 \family sans
14737 C-d
14738 \family default
14739  
14740 \family typewriter
14741 math-display 
14742 \family default
14743 -- Display equation toggle: type 
14744 \family typewriter
14745 C-d
14746 \family default
14747  to insert a displayed formula (
14748 \family typewriter
14749 d
14750 \family default
14751  for 
14752 \begin_inset Quotes eld
14753 \end_inset
14754
14755 displayed
14756 \begin_inset Quotes erd
14757 \end_inset
14758
14759 ).
14760  You can also type 
14761 \family typewriter
14762 C-d
14763 \family default
14764  in a displayed formula to convert it back to an inline formula.
14765 \end_layout
14766
14767 \begin_layout List
14768 \labelwidthstring 00.00.0000
14769
14770 \family sans
14771 C-f
14772 \family default
14773  
14774 \family typewriter
14775 math-insert 
14776 \backslash
14777 frac 
14778 \family default
14779 -- Fractions: type 
14780 \family typewriter
14781 C-f
14782 \family default
14783  to insert a fraction (
14784 \family typewriter
14785 f
14786 \family default
14787  for 
14788 \begin_inset Quotes eld
14789 \end_inset
14790
14791 fraction
14792 \begin_inset Quotes erd
14793 \end_inset
14794
14795 ).
14796  You can also select an expression and type 
14797 \family typewriter
14798 C-f
14799 \family default
14800  to convert it to the numerator of a fraction.
14801  Note: pressing 
14802 \family typewriter
14803 Backspace
14804 \family default
14805  at the 
14806 \emph on
14807 left
14808 \emph default
14809  end of the denominator will delete the numerator and convert the denominator
14810  to a non-fraction.
14811 \end_layout
14812
14813 \begin_layout List
14814 \labelwidthstring 00.00.0000
14815
14816 \family sans
14817 C-i
14818 \family default
14819  
14820 \family typewriter
14821 math-insert 
14822 \backslash
14823 int 
14824 \family default
14825 -- Inserts 
14826 \begin_inset Formula $\int$
14827 \end_inset
14828
14829  (
14830 \family typewriter
14831 i
14832 \family default
14833  for 
14834 \begin_inset Quotes eld
14835 \end_inset
14836
14837 integral
14838 \begin_inset Quotes erd
14839 \end_inset
14840
14841 )
14842 \end_layout
14843
14844 \begin_layout List
14845 \labelwidthstring 00.00.0000
14846
14847 \family sans
14848 C-k
14849 \family default
14850  
14851 \family typewriter
14852 line-delete-forward
14853 \family default
14854  -- Emacs-like binding: delete forward of cursor to end of line.
14855 \end_layout
14856
14857 \begin_layout List
14858 \labelwidthstring 00.00.0000
14859
14860 \family sans
14861 C-m
14862 \family default
14863  
14864 \family typewriter
14865 math-mode 
14866 \family default
14867 -- A text/math toggle (
14868 \family typewriter
14869 m
14870 \family default
14871  for 
14872 \begin_inset Quotes eld
14873 \end_inset
14874
14875 math
14876 \begin_inset Quotes erd
14877 \end_inset
14878
14879 ): switches to math in text mode, and also inserts roman text in math mode.
14880  Also bound to 
14881 \family typewriter
14882 C-t
14883 \family default
14884  (
14885 \family typewriter
14886 t
14887 \family default
14888  for 
14889 \begin_inset Quotes eld
14890 \end_inset
14891
14892 text
14893 \begin_inset Quotes erd
14894 \end_inset
14895
14896 ).
14897 \end_layout
14898
14899 \begin_layout List
14900 \labelwidthstring 00.00.0000
14901
14902 \family sans
14903 C-n
14904 \family default
14905  
14906 \family typewriter
14907 math-number 
14908 \family default
14909 -- Add/remove numbering in a single equation.
14910 \end_layout
14911
14912 \begin_layout List
14913 \labelwidthstring 00.00.0000
14914
14915 \family sans
14916 S-C-N
14917 \family default
14918  
14919 \family typewriter
14920 math-nonumber
14921 \family default
14922  -- Add/remove numbering at a line in equation arrays.
14923 \end_layout
14924
14925 \begin_layout Standard
14926 The above commands are toggles that control the numbering of equations (
14927 \family typewriter
14928 N
14929 \family default
14930  for 
14931 \begin_inset Quotes eld
14932 \end_inset
14933
14934 number
14935 \begin_inset Quotes erd
14936 \end_inset
14937
14938 ).
14939  Note: when deleting a number in a labeled eqnarray, the label is not really
14940  removed (the TeX code becomes 
14941 \begin_inset Quotes eld
14942 \end_inset
14943
14944
14945 \family typewriter
14946
14947 \backslash
14948 label{} 
14949 \backslash
14950 nonumber
14951 \family default
14952
14953 \begin_inset Quotes erd
14954 \end_inset
14955
14956  ) and this generates a (harmless) LaTeX warning.
14957 \end_layout
14958
14959 \begin_layout List
14960 \labelwidthstring 00.00.0000
14961
14962 \family sans
14963 C-o
14964 \family default
14965  
14966 \family typewriter
14967 file-open 
14968 \family default
14969 -- Open a new document.
14970  (W*ndows)
14971 \end_layout
14972
14973 \begin_layout List
14974 \labelwidthstring 00.00.0000
14975
14976 \family sans
14977 C-q
14978 \family default
14979  
14980 \family typewriter
14981 quote-insert
14982 \family default
14983  -- Insert a quote character " (
14984 \family typewriter
14985 q
14986 \family default
14987  for 
14988 \begin_inset Quotes eld
14989 \end_inset
14990
14991 quote
14992 \begin_inset Quotes erd
14993 \end_inset
14994
14995 ).
14996  This is not the 
14997 \begin_inset Quotes eld
14998 \end_inset
14999
15000 smart
15001 \begin_inset Quotes erd
15002 \end_inset
15003
15004  double quote character that you get by default.
15005 \end_layout
15006
15007 \begin_layout List
15008 \labelwidthstring 00.00.0000
15009
15010 \family sans
15011 C-r
15012 \family default
15013  
15014 \family typewriter
15015 math-insert 
15016 \backslash
15017 sqrt 
15018 \family default
15019 -- Square root sign 
15020 \begin_inset Formula $\sqrt{x}$
15021 \end_inset
15022
15023  (
15024 \family typewriter
15025 r
15026 \family default
15027  for 
15028 \begin_inset Quotes eld
15029 \end_inset
15030
15031 root
15032 \begin_inset Quotes erd
15033 \end_inset
15034
15035 ).
15036 \end_layout
15037
15038 \begin_layout List
15039 \labelwidthstring 00.00.0000
15040
15041 \family sans
15042 S-C-R
15043 \family default
15044  
15045 \family typewriter
15046 math-insert 
15047 \backslash
15048 root 
15049 \family default
15050 -- root sign 
15051 \begin_inset Formula $\sqrt[n]{x}$
15052 \end_inset
15053
15054 .
15055 \end_layout
15056
15057 \begin_layout List
15058 \labelwidthstring 00.00.0000
15059
15060 \family sans
15061 C-t
15062 \family default
15063  
15064 \family typewriter
15065 math-mode 
15066 \family default
15067 -- Another binding for a switch between the text and the math mode (
15068 \family typewriter
15069 t
15070 \family default
15071  is for 
15072 \begin_inset Quotes eld
15073 \end_inset
15074
15075 text
15076 \begin_inset Quotes erd
15077 \end_inset
15078
15079 ).
15080  Note that the roman text inserted in math mode is special.
15081 \end_layout
15082
15083 \begin_layout List
15084 \labelwidthstring 00.00.0000
15085
15086 \family sans
15087 C-u
15088 \family default
15089  
15090 \family typewriter
15091 font-underline 
15092 \family default
15093 -- 
15094 \bar under
15095 Underline
15096 \bar default
15097  the selected text (text mode only, use things like 
15098 \family typewriter
15099
15100 \backslash
15101 overline
15102 \family default
15103  or 
15104 \family typewriter
15105
15106 \backslash
15107 underbar
15108 \family default
15109  for math ).
15110 \end_layout
15111
15112 \begin_layout List
15113 \labelwidthstring 00.00.0000
15114
15115 \family sans
15116 C-v
15117 \family default
15118  
15119 \family typewriter
15120 paste 
15121 \family default
15122 -- W*ndows heritage.
15123 \end_layout
15124
15125 \begin_layout List
15126 \labelwidthstring 00.00.0000
15127
15128 \family sans
15129 C-w
15130 \family default
15131  
15132 \family typewriter
15133 buffer-close 
15134 \family default
15135 -- Close the current document (again, a W*ndows heritage).
15136 \end_layout
15137
15138 \begin_layout List
15139 \labelwidthstring 00.00.0000
15140
15141 \family sans
15142 C-x
15143 \family default
15144  
15145 \family typewriter
15146 cut
15147 \end_layout
15148
15149 \begin_layout List
15150 \labelwidthstring 00.00.0000
15151
15152 \family sans
15153 C-z
15154 \family default
15155  
15156 \family typewriter
15157 undo
15158 \end_layout
15159
15160 \begin_layout List
15161 \labelwidthstring 00.00.0000
15162
15163 \family sans
15164 S-C-Z
15165 \family default
15166  
15167 \family typewriter
15168 redo 
15169 \family default
15170 -- the 
15171 \begin_inset Quotes eld
15172 \end_inset
15173
15174 Redo
15175 \begin_inset Quotes erd
15176 \end_inset
15177
15178  operation, or 
15179 \begin_inset Quotes eld
15180 \end_inset
15181
15182 undo the undo
15183 \begin_inset Quotes erd
15184 \end_inset
15185
15186 .
15187 \end_layout
15188
15189 \begin_layout Standard
15190 Bracket delimiters: press 
15191 \family typewriter
15192 Ctrl
15193 \family default
15194 -<bracket key> to insert a matching pair of delimiters.
15195  For example, 
15196 \family typewriter
15197 Ctrl-[
15198 \family default
15199  inserts a pair of parentheses 
15200 \begin_inset Formula $\left[\right]$
15201 \end_inset
15202
15203 .
15204  (Note: 
15205 \family typewriter
15206 Ctrl-]
15207 \family default
15208  does the same thing.) It will switch to math mode if needed.
15209  The supported characters are ( [ { < |.
15210  It is the same to press the right or the left bracket.
15211  The corresponding delimiters are 
15212 \begin_inset Formula $\left(\right)$
15213 \end_inset
15214
15215  
15216 \begin_inset Formula $\left[\right]$
15217 \end_inset
15218
15219  
15220 \begin_inset Formula $\left\{ \right\} $
15221 \end_inset
15222
15223  
15224 \begin_inset Formula $\left\langle \right\rangle $
15225 \end_inset
15226
15227  
15228 \begin_inset Formula $\left|\right|$
15229 \end_inset
15230
15231 .
15232  The delimiters are 
15233 \begin_inset Quotes eld
15234 \end_inset
15235
15236 smart
15237 \begin_inset Quotes erd
15238 \end_inset
15239
15240  and resize with their contents.
15241  Use Math Panel to get other or non-matching delimiters.
15242  Press backspace on the 
15243 \emph on
15244 left
15245 \emph default
15246  delimiter to remove both 
15247 \begin_inset Quotes eld
15248 \end_inset
15249
15250 smart
15251 \begin_inset Quotes erd
15252 \end_inset
15253
15254  delimiters without removing their contents.
15255 \end_layout
15256
15257 \begin_layout List
15258 \labelwidthstring 00.00.0000
15259
15260 \family sans
15261 C-9
15262 \family default
15263  
15264 \family typewriter
15265 math-delim ( ) 
15266 \family default
15267 -- for convenience, pressing 
15268 \family typewriter
15269 Ctrl-9
15270 \family default
15271  is the same as 
15272 \family typewriter
15273 Ctrl-(
15274 \family default
15275  or 
15276 \family typewriter
15277 Ctrl-)
15278 \end_layout
15279
15280 \begin_layout List
15281 \labelwidthstring 00.00.0000
15282
15283 \family sans
15284 S-C-parenleft
15285 \family default
15286  
15287 \family typewriter
15288 math-delim ( )
15289 \end_layout
15290
15291 \begin_layout List
15292 \labelwidthstring 00.00.0000
15293
15294 \family sans
15295 C-0
15296 \family default
15297  
15298 \family typewriter
15299 math-delim ( )
15300 \end_layout
15301
15302 \begin_layout List
15303 \labelwidthstring 00.00.0000
15304
15305 \family sans
15306 S-C-parenright
15307 \family default
15308  
15309 \family typewriter
15310 math-delim ( )
15311 \end_layout
15312
15313 \begin_layout List
15314 \labelwidthstring 00.00.0000
15315
15316 \family sans
15317 C-bracketleft
15318 \family default
15319  
15320 \family typewriter
15321 math-delim [ ]
15322 \end_layout
15323
15324 \begin_layout List
15325 \labelwidthstring 00.00.0000
15326
15327 \family sans
15328 C-bracketright
15329 \family default
15330  
15331 \family typewriter
15332 math-delim [ ]
15333 \end_layout
15334
15335 \begin_layout List
15336 \labelwidthstring 00.00.0000
15337
15338 \family sans
15339 C-S-less
15340 \family default
15341  
15342 \family typewriter
15343 math-delim langle rangle 
15344 \family default
15345 -- angular delimiters 
15346 \begin_inset Formula $\left\langle \right\rangle $
15347 \end_inset
15348
15349 , not to confuse with ordinary < > signs.
15350 \end_layout
15351
15352 \begin_layout List
15353 \labelwidthstring 00.00.0000
15354
15355 \family sans
15356 C-S-greater
15357 \family default
15358  
15359 \family typewriter
15360 math-delim langle rangle
15361 \end_layout
15362
15363 \begin_layout Standard
15364 The bar bracket: on some keyboards (e.g.\InsetSpace ~
15365 some British ones), the bar character
15366  is bound to an 
15367 \family typewriter
15368 Alt
15369 \family default
15370 -something and on some wayward Unices to "brokenbar".
15371  So we define all of these keys as well.
15372 \end_layout
15373
15374 \begin_layout List
15375 \labelwidthstring 00.00.0000
15376
15377 \family sans
15378 C-S-bar
15379 \family default
15380  
15381 \family typewriter
15382 math-delim | |
15383 \end_layout
15384
15385 \begin_layout List
15386 \labelwidthstring 00.00.0000
15387
15388 \family sans
15389 C-S-brokenbar
15390 \family default
15391  
15392 \family typewriter
15393 math-delim | |
15394 \end_layout
15395
15396 \begin_layout List
15397 \labelwidthstring 00.00.0000
15398
15399 \family sans
15400 C-M-bar
15401 \family default
15402  
15403 \family typewriter
15404 math-delim | |
15405 \end_layout
15406
15407 \begin_layout List
15408 \labelwidthstring 00.00.0000
15409
15410 \family sans
15411 S-C-braceleft
15412 \family default
15413  
15414 \family typewriter
15415 math-delim { }
15416 \end_layout
15417
15418 \begin_layout List
15419 \labelwidthstring 00.00.0000
15420
15421 \family sans
15422 S-C-braceright
15423 \family default
15424  
15425 \family typewriter
15426 math-delim { }
15427 \end_layout
15428
15429 \begin_layout Standard
15430 Accents are in most cases 
15431 \family typewriter
15432 Ctrl
15433 \family default
15434 -<accent key>, e.g.\InsetSpace ~
15435
15436 \family typewriter
15437 Ctrl-.
15438
15439 \family default
15440  for overdot, 
15441 \family typewriter
15442 Ctrl-'
15443 \family default
15444  for acute accent, 
15445 \family typewriter
15446 Ctrl-~
15447 \family default
15448  for tilde (you also need to press 
15449 \family typewriter
15450 Shift
15451 \family default
15452  here) etc.
15453  For example, 
15454 \begin_inset Quotes eld
15455 \end_inset
15456
15457
15458 \family typewriter
15459 Ctrl-'
15460 \family default
15461  
15462 \family typewriter
15463 a
15464 \family default
15465
15466 \begin_inset Quotes erd
15467 \end_inset
15468
15469  inserts Ã¡.
15470  Some accents work only in math mode and others only in text mode.
15471 \end_layout
15472
15473 \begin_layout List
15474 \labelwidthstring 00.00.0000
15475
15476 \family sans
15477 C-period
15478 \family default
15479  
15480 \family typewriter
15481 accent-dot 
15482 \family default
15483 -- overdot accent, \i \.{a}
15484  (text mode only).
15485 \end_layout
15486
15487 \begin_layout List
15488 \labelwidthstring 00.00.0000
15489
15490 \family sans
15491 C-comma
15492 \family default
15493  
15494 \family typewriter
15495 math-insert 
15496 \backslash
15497 dot 
15498 \family default
15499 -- overdot accent, 
15500 \begin_inset Formula $\dot{a}$
15501 \end_inset
15502
15503  (math mode only -- in physics this denotes a first derivative).
15504 \end_layout
15505
15506 \begin_layout List
15507 \labelwidthstring 00.00.0000
15508
15509 \family sans
15510 C-equals
15511 \family default
15512  
15513 \family typewriter
15514 math-insert 
15515 \backslash
15516 overrightarrow
15517 \family default
15518  -- Vector accent over math 
15519 \begin_inset Formula $\overrightarrow{x}$
15520 \end_inset
15521
15522 .
15523 \end_layout
15524
15525 \begin_layout List
15526 \labelwidthstring 00.00.0000
15527
15528 \family sans
15529 S-C-quotedbl
15530 \family default
15531  
15532 \family typewriter
15533 accent-umlaut 
15534 \family default
15535 -- umlaut accent, Ã¤ (text mode only)
15536 \end_layout
15537
15538 \begin_layout List
15539 \labelwidthstring 00.00.0000
15540
15541 \family sans
15542 S-C-colon
15543 \family default
15544  
15545 \family typewriter
15546 math-insert 
15547 \backslash
15548 ddot 
15549 \family default
15550 -- double dot accent, 
15551 \begin_inset Formula $\ddot{a}$
15552 \end_inset
15553
15554  (math mode only -- in physics this denotes a second derivative).
15555  To get a triple dot in math mode, use 
15556 \family typewriter
15557
15558 \backslash
15559 dddot
15560 \end_layout
15561
15562 \begin_layout List
15563 \labelwidthstring 00.00.0000
15564
15565 \family sans
15566 C-quoteleft
15567 \family default
15568  
15569 \family typewriter
15570 accent-grave 
15571 \family default
15572 -- grave accent Ã  (text mode only, use 
15573 \family typewriter
15574
15575 \backslash
15576 grave
15577 \family default
15578  for math)
15579 \end_layout
15580
15581 \begin_layout List
15582 \labelwidthstring 00.00.0000
15583
15584 \family sans
15585 S-C-asciitilde
15586 \family default
15587  
15588 \family typewriter
15589 accent-tilde 
15590 \family default
15591 -- tilde accent Ã£ (text mode only, use 
15592 \family typewriter
15593
15594 \backslash
15595 tilde
15596 \family default
15597  for math)
15598 \end_layout
15599
15600 \begin_layout List
15601 \labelwidthstring 00.00.0000
15602
15603 \family sans
15604 C-apostrophe
15605 \family default
15606  
15607 \family typewriter
15608 accent-acute 
15609 \family default
15610 -- acute accent Ã¡ (text mode only, use 
15611 \family typewriter
15612
15613 \backslash
15614 acute
15615 \family default
15616  for math)
15617 \end_layout
15618
15619 \begin_layout List
15620 \labelwidthstring 00.00.0000
15621
15622 \family sans
15623 S-C-asciicircum
15624 \family default
15625  
15626 \family typewriter
15627 accent-circumflex 
15628 \family default
15629 -- circumflex (caret) accent Ã¢ (text mode only, use 
15630 \family typewriter
15631
15632 \backslash
15633 hat
15634 \family default
15635  for math).
15636 \end_layout
15637
15638 \begin_layout Standard
15639 Function keys.
15640  The new key S-F2 for creating a LaTeX file seems handy.
15641 \end_layout
15642
15643 \begin_layout List
15644 \labelwidthstring 00.00.0000
15645
15646 \family sans
15647 F2
15648 \family default
15649  
15650 \family typewriter
15651 buffer-write 
15652 \family default
15653 -- Save current document.
15654 \end_layout
15655
15656 \begin_layout List
15657 \labelwidthstring 00.00.0000
15658
15659 \family sans
15660 S-F2
15661 \family default
15662  
15663 \family typewriter
15664 buffer-export latex 
15665 \family default
15666 -- Write a LaTeX file for the current document.
15667 \end_layout
15668
15669 \begin_layout List
15670 \labelwidthstring 00.00.0000
15671
15672 \family sans
15673 F3
15674 \family default
15675  
15676 \family typewriter
15677 find-replace 
15678 \family default
15679 -- Find and replace dialog.
15680 \end_layout
15681
15682 \begin_layout List
15683 \labelwidthstring 00.00.0000
15684
15685 \family sans
15686 C-F4
15687 \family default
15688  
15689 \family typewriter
15690 buffer-close 
15691 \family default
15692 -- same as 
15693 \family typewriter
15694 C-w
15695 \family default
15696 .
15697 \end_layout
15698
15699 \begin_layout List
15700 \labelwidthstring 00.00.0000
15701
15702 \family sans
15703 M-F4
15704 \family default
15705  
15706 \family typewriter
15707 lyx-quit 
15708 \family default
15709 -- 
15710 \family typewriter
15711 Alt-F4
15712 \family default
15713  to quit LyX is the W*ndows w*ndow manager's mnemonic.
15714 \end_layout
15715
15716 \begin_layout Standard
15717
15718 \family typewriter
15719 F4
15720 \family default
15721  to 
15722 \family typewriter
15723 F8
15724 \family default
15725  are used to switch fonts.
15726  Use 
15727 \family typewriter
15728 F4
15729 \family default
15730  to switch back to the normal font.
15731  The non-default font switches 
15732 \family typewriter
15733 F5
15734 \family default
15735  - 
15736 \family typewriter
15737 F8
15738 \family default
15739  all work as toggles.
15740  They also work on the whole word if you put the cursor in the middle of
15741  the word, or if you select some text.
15742 \end_layout
15743
15744 \begin_layout List
15745 \labelwidthstring 00.00.0000
15746
15747 \family sans
15748 F4
15749 \family default
15750  
15751 \family typewriter
15752 font-default 
15753 \family default
15754 -- stop using any special font
15755 \end_layout
15756
15757 \begin_layout List
15758 \labelwidthstring 00.00.0000
15759
15760 \family sans
15761 F5
15762 \family default
15763  
15764 \family typewriter
15765 font-bold 
15766 \family default
15767 -- make 
15768 \series bold
15769 bold
15770 \series default
15771  text.
15772 \end_layout
15773
15774 \begin_layout List
15775 \labelwidthstring 00.00.0000
15776
15777 \family sans
15778 F6
15779 \family default
15780  
15781 \family typewriter
15782 font-emph 
15783 \family default
15784 -- make 
15785 \emph on
15786 emphasized
15787 \emph default
15788  text.
15789 \end_layout
15790
15791 \begin_layout List
15792 \labelwidthstring 00.00.0000
15793
15794 \family sans
15795 F7
15796 \family default
15797  
15798 \family typewriter
15799 font-code 
15800 \family default
15801 -- make 
15802 \family typewriter
15803 typewritten
15804 \family default
15805  text.
15806 \end_layout
15807
15808 \begin_layout List
15809 \labelwidthstring 00.00.0000
15810
15811 \family sans
15812 F8
15813 \family default
15814  
15815 \family typewriter
15816 font-noun 
15817 \family default
15818 -- make 
15819 \noun on
15820 Caps/small caps
15821 \noun default
15822  text.
15823  (Used sometimes for people's names.)
15824 \end_layout
15825
15826 \begin_layout Standard
15827
15828 \family typewriter
15829 F9
15830 \family default
15831  is bound as 
15832 \begin_inset Quotes eld
15833 \end_inset
15834
15835 meta-prefix
15836 \begin_inset Quotes erd
15837 \end_inset
15838
15839 , same as the 
15840 \family typewriter
15841 Alt
15842 \family default
15843  key (useful e.g.\InsetSpace ~
15844 if the keyboard has no working 
15845 \family typewriter
15846 Alt
15847 \family default
15848 ).
15849 \end_layout
15850
15851 \begin_layout Standard
15852 Here are some Sciword-inspired mnemonics for frequently used math symbols.
15853  Many symbols start with a 
15854 \family typewriter
15855 C-s
15856 \family default
15857  sequence.
15858  Therefore 
15859 \family typewriter
15860 C-s
15861 \family default
15862  cannot be itself bound to anything.
15863 \end_layout
15864
15865 \begin_layout List
15866 \labelwidthstring 00.00.0000
15867
15868 \family sans
15869 M-apostrophe
15870 \family default
15871  
15872 \family typewriter
15873 math-insert 
15874 \backslash
15875 prime 
15876 \family default
15877 -- The 
15878 \begin_inset Quotes eld
15879 \end_inset
15880
15881 prime
15882 \begin_inset Quotes erd
15883 \end_inset
15884
15885  symbol 
15886 \begin_inset Formula $\prime$
15887 \end_inset
15888
15889  in math mode.
15890  This is frequently unnecessary: in most cases the normal apostrophe works
15891  just fine, e.g.
15892  
15893 \begin_inset Formula $x'+2x=0$
15894 \end_inset
15895
15896 , but in some cases this would generate a double superscript error in LaTeX.
15897  For example: 
15898 \begin_inset Formula $x^{\prime2}$
15899 \end_inset
15900
15901  (
15902 \begin_inset Formula $x$
15903 \end_inset
15904
15905  prime squared) must be entered with the prime character.
15906 \end_layout
15907
15908 \begin_layout List
15909 \labelwidthstring 00.00.0000
15910
15911 \family sans
15912 C-s\InsetSpace ~
15913 apostrophe
15914 \family default
15915  
15916 \family typewriter
15917 command-sequence math-superscript; math-insert 
15918 \backslash
15919 prime; 
15920 \family default
15921 -- Insert a prime as a superscript (see example above).
15922 \end_layout
15923
15924 \begin_layout List
15925 \labelwidthstring 00.00.0000
15926
15927 \family sans
15928 C-Up
15929 \family default
15930  
15931 \family typewriter
15932 math-insert ^ 
15933 \family default
15934 -- Insert an upper index.
15935  Also, 
15936 \family typewriter
15937
15938 \end_layout
15939
15940 \begin_layout List
15941 \labelwidthstring 00.00.0000
15942
15943 \family sans
15944 C-Down
15945 \family default
15946  
15947 \family typewriter
15948 math-insert _ 
15949 \family default
15950 -- Insert a lower index.
15951  Also, 
15952 \family typewriter
15953 _
15954 \end_layout
15955
15956 \begin_layout List
15957 \labelwidthstring 00.00.0000
15958
15959 \family sans
15960 C-s\InsetSpace ~
15961 d
15962 \family default
15963  
15964 \family typewriter
15965 math-insert 
15966 \backslash
15967 partial 
15968 \family default
15969 -- Partial derivative symbol 
15970 \begin_inset Formula $\partial$
15971 \end_inset
15972
15973 .
15974 \end_layout
15975
15976 \begin_layout List
15977 \labelwidthstring 00.00.0000
15978
15979 \family sans
15980 C-s\InsetSpace ~
15981 e
15982 \family default
15983  
15984 \family typewriter
15985 math-insert 
15986 \backslash
15987 sum 
15988 \family default
15989 -- Summation symbol 
15990 \begin_inset Formula $\sum$
15991 \end_inset
15992
15993  (not the same as the Greek letter uppercase Sigma 
15994 \begin_inset Formula $\Sigma$
15995 \end_inset
15996
15997  because it can resize and allows smart upper/lower limits).
15998 \end_layout
15999
16000 \begin_layout List
16001 \labelwidthstring 00.00.0000
16002
16003 \family sans
16004 C-s\InsetSpace ~
16005 p
16006 \family default
16007  
16008 \family typewriter
16009 math-insert 
16010 \backslash
16011 prod
16012 \family default
16013  -- Product symbol 
16014 \begin_inset Formula $\prod$
16015 \end_inset
16016
16017  (not the same as the Greek letter uppercase Pi, 
16018 \begin_inset Formula $\Pi$
16019 \end_inset
16020
16021 ).
16022 \end_layout
16023
16024 \begin_layout List
16025 \labelwidthstring 00.00.0000
16026
16027 \family sans
16028 C-s\InsetSpace ~
16029 i
16030 \family default
16031  
16032 \family typewriter
16033 math-insert 
16034 \backslash
16035 infty 
16036 \family default
16037 -- Infinity 
16038 \begin_inset Formula $\infty$
16039 \end_inset
16040
16041 .
16042 \end_layout
16043
16044 \begin_layout List
16045 \labelwidthstring 00.00.0000
16046
16047 \family sans
16048 C-s\InsetSpace ~
16049 x
16050 \family default
16051  
16052 \family typewriter
16053 math-insert 
16054 \backslash
16055 times 
16056 \family default
16057 -- Cross product 
16058 \begin_inset Formula $\times$
16059 \end_inset
16060
16061 .
16062 \end_layout
16063
16064 \begin_layout List
16065 \labelwidthstring 00.00.0000
16066
16067 \family sans
16068 C-s\InsetSpace ~
16069 v
16070 \family default
16071  
16072 \family typewriter
16073 math-matrix 1 2 
16074 \family default
16075 -- Insert a stacked array 
16076 \begin_inset Formula $\begin{array}{c}
16077 \begin{array}{c}
16078 \end{array}\end{array}$
16079 \end_inset
16080
16081 .
16082  (Frequently useful in formulae.)
16083 \end_layout
16084
16085 \begin_layout List
16086 \labelwidthstring 00.00.0000
16087
16088 \family sans
16089 C-s\InsetSpace ~
16090 m
16091 \family default
16092  
16093 \family typewriter
16094 math-matrix 3 3 
16095 \family default
16096 -- Insert a 3
16097 \begin_inset Formula $\times$
16098 \end_inset
16099
16100 3 matrix 
16101 \begin_inset Formula $\begin{array}{ccc}
16102 \\\\\end{array}$
16103 \end_inset
16104
16105 .
16106  (Then you can modify its size using the 
16107 \family sans
16108 Edit\SpecialChar \menuseparator
16109 Math
16110 \family default
16111  menu.)
16112 \end_layout
16113
16114 \begin_layout List
16115 \labelwidthstring 00.00.0000
16116
16117 \family sans
16118 C-s\InsetSpace ~
16119 S-plus
16120 \family default
16121  
16122 \family typewriter
16123 math-insert 
16124 \backslash
16125 dagger 
16126 \family default
16127 -- The 
16128 \begin_inset Quotes eld
16129 \end_inset
16130
16131 dagger
16132 \begin_inset Quotes erd
16133 \end_inset
16134
16135  
16136 \begin_inset Formula $\dagger$
16137 \end_inset
16138
16139 .
16140 \end_layout
16141
16142 \begin_layout List
16143 \labelwidthstring 00.00.0000
16144
16145 \family sans
16146 C-s\InsetSpace ~
16147 equal
16148 \family default
16149  
16150 \family typewriter
16151 math-insert 
16152 \backslash
16153 equiv 
16154 \family default
16155 -- 
16156 \begin_inset Quotes eld
16157 \end_inset
16158
16159 Identical equality
16160 \begin_inset Quotes erd
16161 \end_inset
16162
16163  
16164 \begin_inset Formula $\equiv$
16165 \end_inset
16166
16167 .
16168 \end_layout
16169
16170 \begin_layout List
16171 \labelwidthstring 00.00.0000
16172
16173 \family sans
16174 M-equal
16175 \family default
16176  
16177 \family typewriter
16178 math-insert 
16179 \backslash
16180 approx 
16181 \family default
16182 -- 
16183 \begin_inset Quotes eld
16184 \end_inset
16185
16186 Approximate equality
16187 \begin_inset Quotes erd
16188 \end_inset
16189
16190  
16191 \begin_inset Formula $\approx$
16192 \end_inset
16193
16194 .
16195 \end_layout
16196
16197 \begin_layout List
16198 \labelwidthstring 00.00.0000
16199
16200 \family sans
16201 M-minus
16202 \family default
16203  
16204 \family typewriter
16205 math-insert 
16206 \backslash
16207 sim 
16208 \family default
16209 -- The 
16210 \begin_inset Quotes eld
16211 \end_inset
16212
16213 of order
16214 \begin_inset Quotes erd
16215 \end_inset
16216
16217  sign 
16218 \begin_inset Formula $\sim$
16219 \end_inset
16220
16221 .
16222 \end_layout
16223
16224 \begin_layout List
16225 \labelwidthstring 00.00.0000
16226
16227 \family sans
16228 C-minus
16229 \family default
16230  
16231 \family typewriter
16232 math-insert 
16233 \backslash
16234 rightarrow 
16235 \family default
16236 -- The arrow 
16237 \begin_inset Formula $\rightarrow$
16238 \end_inset
16239
16240  as in 
16241 \begin_inset Formula $\lim_{x\rightarrow0}$
16242 \end_inset
16243
16244 .
16245 \end_layout
16246
16247 \begin_layout List
16248 \labelwidthstring 00.00.0000
16249
16250 \family sans
16251 S-M-less
16252 \family default
16253  
16254 \family typewriter
16255 math-insert 
16256 \backslash
16257 leq 
16258 \family default
16259 -- Less-or-equal 
16260 \begin_inset Formula $\leq$
16261 \end_inset
16262
16263 .
16264 \end_layout
16265
16266 \begin_layout List
16267 \labelwidthstring 00.00.0000
16268
16269 \family sans
16270 S-M-greater
16271 \family default
16272  
16273 \family typewriter
16274 math-insert 
16275 \backslash
16276 geq 
16277 \family default
16278 -- Greater-or-equal 
16279 \begin_inset Formula $\geq$
16280 \end_inset
16281
16282 .
16283 \end_layout
16284
16285 \begin_layout List
16286 \labelwidthstring 00.00.0000
16287
16288 \family sans
16289 C-s\InsetSpace ~
16290 S-less
16291 \family default
16292  
16293 \family typewriter
16294 math-insert 
16295 \backslash
16296 ll 
16297 \family default
16298 -- 
16299 \begin_inset Quotes eld
16300 \end_inset
16301
16302 Much less than
16303 \begin_inset Quotes erd
16304 \end_inset
16305
16306  
16307 \begin_inset Formula $\ll$
16308 \end_inset
16309
16310  (useful in physics)
16311 \end_layout
16312
16313 \begin_layout List
16314 \labelwidthstring 00.00.0000
16315
16316 \family sans
16317 C-s\InsetSpace ~
16318 S-greater
16319 \family default
16320  
16321 \family typewriter
16322 math-insert 
16323 \backslash
16324 gg 
16325 \family default
16326 -- 
16327 \begin_inset Quotes eld
16328 \end_inset
16329
16330 Much greater than
16331 \begin_inset Quotes erd
16332 \end_inset
16333
16334  sign 
16335 \begin_inset Formula $\gg$
16336 \end_inset
16337
16338 .
16339 \end_layout
16340
16341 \begin_layout Subsection
16342 Standard math bindings
16343 \end_layout
16344
16345 \begin_layout List
16346 \labelwidthstring 00.00.0000
16347
16348 \family sans
16349 M-m\InsetSpace ~
16350 b
16351 \family default
16352  
16353 \family typewriter
16354 math-insert 
16355 \backslash
16356 overline
16357 \end_layout
16358
16359 \begin_layout List
16360 \labelwidthstring 00.00.0000
16361
16362 \family sans
16363 M-m\InsetSpace ~
16364 d
16365 \family default
16366  
16367 \family typewriter
16368 math-display
16369 \end_layout
16370
16371 \begin_layout List
16372 \labelwidthstring 00.00.0000
16373
16374 \family sans
16375 M-m\InsetSpace ~
16376 e
16377 \family default
16378  
16379 \family typewriter
16380 math-insert ^
16381 \end_layout
16382
16383 \begin_layout List
16384 \labelwidthstring 00.00.0000
16385
16386 \family sans
16387 M-m\InsetSpace ~
16388 f
16389 \family default
16390  
16391 \family typewriter
16392 math-insert 
16393 \backslash
16394 frac
16395 \end_layout
16396
16397 \begin_layout List
16398 \labelwidthstring 00.00.0000
16399
16400 \family sans
16401 M-m\InsetSpace ~
16402 g
16403 \family default
16404  
16405 \family typewriter
16406 math-greek
16407 \end_layout
16408
16409 \begin_layout List
16410 \labelwidthstring 00.00.0000
16411
16412 \family sans
16413 M-m\InsetSpace ~
16414 h
16415 \family default
16416  
16417 \family typewriter
16418 accent-circumflex
16419 \end_layout
16420
16421 \begin_layout List
16422 \labelwidthstring 00.00.0000
16423
16424 \family sans
16425 M-m\InsetSpace ~
16426 i
16427 \family default
16428  
16429 \family typewriter
16430 math-insert 
16431 \backslash
16432 int
16433 \end_layout
16434
16435 \begin_layout List
16436 \labelwidthstring 00.00.0000
16437
16438 \family sans
16439 M-m\InsetSpace ~
16440 l
16441 \family default
16442  
16443 \family typewriter
16444 math-limits
16445 \end_layout
16446
16447 \begin_layout List
16448 \labelwidthstring 00.00.0000
16449
16450 \family sans
16451 M-m\InsetSpace ~
16452 m
16453 \family default
16454  
16455 \family typewriter
16456 math-mode
16457 \end_layout
16458
16459 \begin_layout List
16460 \labelwidthstring 00.00.0000
16461
16462 \family sans
16463 M-m\InsetSpace ~
16464 n
16465 \family default
16466  
16467 \family typewriter
16468 math-number
16469 \end_layout
16470
16471 \begin_layout List
16472 \labelwidthstring 00.00.0000
16473
16474 \family sans
16475 M-m\InsetSpace ~
16476 o
16477 \family default
16478  
16479 \family typewriter
16480 math-insert 
16481 \backslash
16482 oint
16483 \end_layout
16484
16485 \begin_layout List
16486 \labelwidthstring 00.00.0000
16487
16488 \family sans
16489 M-m\InsetSpace ~
16490 p
16491 \family default
16492  
16493 \family typewriter
16494 math-insert 
16495 \backslash
16496 partial
16497 \end_layout
16498
16499 \begin_layout List
16500 \labelwidthstring 00.00.0000
16501
16502 \family sans
16503 M-m\InsetSpace ~
16504 r
16505 \family default
16506  
16507 \family typewriter
16508 math-insert 
16509 \backslash
16510 sqrt
16511 \end_layout
16512
16513 \begin_layout List
16514 \labelwidthstring 00.00.0000
16515
16516 \family sans
16517 M-m\InsetSpace ~
16518 s
16519 \family default
16520  
16521 \family typewriter
16522 math-insert 
16523 \backslash
16524 sqrt
16525 \end_layout
16526
16527 \begin_layout List
16528 \labelwidthstring 00.00.0000
16529
16530 \family sans
16531 M-m\InsetSpace ~
16532 u
16533 \family default
16534  
16535 \family typewriter
16536 math-insert 
16537 \backslash
16538 sum
16539 \end_layout
16540
16541 \begin_layout List
16542 \labelwidthstring 00.00.0000
16543
16544 \family sans
16545 M-m\InsetSpace ~
16546 v
16547 \family default
16548  
16549 \family typewriter
16550 math-insert 
16551 \backslash
16552 vec
16553 \end_layout
16554
16555 \begin_layout List
16556 \labelwidthstring 00.00.0000
16557
16558 \family sans
16559 M-m\InsetSpace ~
16560 x
16561 \family default
16562  
16563 \family typewriter
16564 math-insert _
16565 \end_layout
16566
16567 \begin_layout List
16568 \labelwidthstring 00.00.0000
16569
16570 \family sans
16571 M-m\InsetSpace ~
16572 8
16573 \family default
16574  
16575 \family typewriter
16576 math-insert 
16577 \backslash
16578 infty
16579 \end_layout
16580
16581 \begin_layout List
16582 \labelwidthstring 00.00.0000
16583
16584 \family sans
16585 M-m\InsetSpace ~
16586 S-G
16587 \family default
16588  
16589 \family typewriter
16590 math-greek-toggle
16591 \end_layout
16592
16593 \begin_layout List
16594 \labelwidthstring 00.00.0000
16595
16596 \family sans
16597 M-m\InsetSpace ~
16598 S-N
16599 \family default
16600  
16601 \family typewriter
16602 math-nonumber
16603 \end_layout
16604
16605 \begin_layout List
16606 \labelwidthstring 00.00.0000
16607
16608 \family sans
16609 M-m\InsetSpace ~
16610 S-period
16611 \family default
16612  
16613 \family typewriter
16614 accent-dot
16615 \end_layout
16616
16617 \begin_layout List
16618 \labelwidthstring 00.00.0000
16619
16620 \family sans
16621 M-m\InsetSpace ~
16622 S-asciitilde
16623 \family default
16624  
16625 \family typewriter
16626 accent-tilde
16627 \end_layout
16628
16629 \begin_layout List
16630 \labelwidthstring 00.00.0000
16631
16632 \family sans
16633 M-m\InsetSpace ~
16634 S-apostrophe
16635 \family default
16636  
16637 \family typewriter
16638 math-insert 
16639 \backslash
16640 prime
16641 \end_layout
16642
16643 \begin_layout List
16644 \labelwidthstring 00.00.0000
16645
16646 \family sans
16647 M-m\InsetSpace ~
16648 S-parenleft
16649 \family default
16650  
16651 \family typewriter
16652 math-delim ( )
16653 \end_layout
16654
16655 \begin_layout List
16656 \labelwidthstring 00.00.0000
16657
16658 \family sans
16659 M-m\InsetSpace ~
16660 S-bracketleft
16661 \family default
16662  
16663 \family typewriter
16664 math-delim [ ]
16665 \end_layout
16666
16667 \begin_layout List
16668 \labelwidthstring 00.00.0000
16669
16670 \family sans
16671 M-m\InsetSpace ~
16672 S-braceleft
16673 \family default
16674  
16675 \family typewriter
16676 math-delim { }
16677 \end_layout
16678
16679 \begin_layout List
16680 \labelwidthstring 00.00.0000
16681
16682 \family sans
16683 M-m\InsetSpace ~
16684 S-less
16685 \family default
16686  
16687 \family typewriter
16688 math-delim langle rangle
16689 \end_layout
16690
16691 \begin_layout List
16692 \labelwidthstring 00.00.0000
16693
16694 \family sans
16695 M-m\InsetSpace ~
16696 S-greater
16697 \family default
16698  
16699 \family typewriter
16700 math-delim rangle langle
16701 \end_layout
16702
16703 \begin_layout List
16704 \labelwidthstring 00.00.0000
16705
16706 \family sans
16707 M-m\InsetSpace ~
16708 S-bar
16709 \family default
16710  
16711 \family typewriter
16712 math-delim | |
16713 \end_layout
16714
16715 \begin_layout List
16716 \labelwidthstring 00.00.0000
16717
16718 \family sans
16719 M-m\InsetSpace ~
16720 S-plus
16721 \family default
16722  
16723 \family typewriter
16724 math-insert 
16725 \backslash
16726 pm
16727 \end_layout
16728
16729 \begin_layout List
16730 \labelwidthstring 00.00.0000
16731
16732 \family sans
16733 M-m\InsetSpace ~
16734 S-equal
16735 \family default
16736  
16737 \family typewriter
16738 math-insert 
16739 \backslash
16740 neq
16741 \end_layout
16742
16743 \begin_layout Subsection
16744 Other Accelerators
16745 \end_layout
16746
16747 \begin_layout List
16748 \labelwidthstring 00.00.0000
16749
16750 \family sans
16751 M-k\InsetSpace ~
16752
16753 \family typewriter
16754 keymap-off
16755 \end_layout
16756
16757 \begin_layout List
16758 \labelwidthstring 00.00.0000
16759
16760 \family sans
16761 M-k\InsetSpace ~
16762
16763 \family typewriter
16764 keymap-toggle
16765 \end_layout
16766
16767 \begin_layout List
16768 \labelwidthstring 00.00.0000
16769
16770 \family sans
16771 M-k\InsetSpace ~
16772
16773 \family typewriter
16774 keymap-off
16775 \end_layout
16776
16777 \begin_layout List
16778 \labelwidthstring 00.00.0000
16779
16780 \family sans
16781 M-k\InsetSpace ~
16782
16783 \family typewriter
16784 keymap-primary
16785 \end_layout
16786
16787 \begin_layout List
16788 \labelwidthstring 00.00.0000
16789
16790 \family sans
16791 M-k\InsetSpace ~
16792
16793 \family typewriter
16794 keymap-secondary
16795 \end_layout
16796
16797 \end_body
16798 \end_document