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