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