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