]> git.lyx.org Git - lyx.git/blob - lib/doc/LFUNs.lyx
* new InsetLayout tag to disallow spell checking. This actually brings Inset::allowSp...
[lyx.git] / lib / doc / LFUNs.lyx
1 # gen_lfuns.py generated this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 \renewcommand{\descriptionlabel}[1]{\hspace\labelsep\upshape\bfseries #1:}
8 \renewenvironment{description}{\list{}{%
9   \setlength{\itemsep}{-2pt}
10   \advance\leftmargini6\p@ \itemindent-12\p@
11   \labelwidth\z@ \let\makelabel\descriptionlabel}%
12 }{
13   \endlist
14 }
15 \end_preamble
16 \use_default_options false
17 \language english
18 \inputencoding auto
19 \font_roman default
20 \font_sans default
21 \font_typewriter default
22 \font_default_family default
23 \font_sc false
24 \font_osf false
25 \font_sf_scale 100
26 \font_tt_scale 100
27
28 \graphics default
29 \paperfontsize default
30 \spacing single
31 \use_hyperref false
32 \papersize default
33 \use_geometry true
34 \use_amsmath 1
35 \use_esint 1
36 \cite_engine basic
37 \use_bibtopic false
38 \paperorientation portrait
39 \leftmargin 2.5cm
40 \topmargin 2cm
41 \rightmargin 3cm
42 \bottommargin 1cm
43 \secnumdepth 3
44 \tocdepth 3
45 \paragraph_separation indent
46 \defskip medskip
47 \quotes_language english
48 \papercolumns 1
49 \papersides 1
50 \paperpagestyle default
51 \tracking_changes false
52 \output_changes false
53 \author "" 
54 \author "" 
55 \end_header
56
57 \begin_body
58
59 \begin_layout Section*
60 LFUNs documentation automatically generated 2010-02-12
61 \end_layout
62
63 \begin_layout Standard
64 \begin_inset ERT
65 status collapsed
66
67 \begin_layout Plain Layout
68
69
70 \backslash
71 thispagestyle{empty}
72 \end_layout
73
74 \end_inset
75
76
77 \begin_inset VSpace 1cm
78 \end_inset
79
80
81 \end_layout
82 \begin_layout Subsection*
83 LFUN_ACCENT_ACUTE
84 \end_layout
85 \begin_layout Description
86 Action Adds an acute accent to the next character typed.
87 \end_layout
88 \begin_layout Description
89 Syntax accent-acute
90 \end_layout
91
92 \begin_layout Subsection*
93 LFUN_ACCENT_BREVE
94 \end_layout
95 \begin_layout Description
96 Action Adds a breve accent to the next character typed.
97 \end_layout
98 \begin_layout Description
99 Syntax accent-breve
100 \end_layout
101
102 \begin_layout Subsection*
103 LFUN_ACCENT_CARON
104 \end_layout
105 \begin_layout Description
106 Action Adds a caron to the next character typed.
107 \end_layout
108 \begin_layout Description
109 Syntax accent-caron
110 \end_layout
111
112 \begin_layout Subsection*
113 LFUN_ACCENT_CEDILLA
114 \end_layout
115 \begin_layout Description
116 Action Adds a cedilla to the next character typed.
117 \end_layout
118 \begin_layout Description
119 Syntax accent-cedilla
120 \end_layout
121
122 \begin_layout Subsection*
123 LFUN_ACCENT_CIRCLE
124 \end_layout
125 \begin_layout Description
126 Action Adds a circle accent to the next character typed.
127 \end_layout
128 \begin_layout Description
129 Syntax accent-circle
130 \end_layout
131
132 \begin_layout Subsection*
133 LFUN_ACCENT_CIRCUMFLEX
134 \end_layout
135 \begin_layout Description
136 Action Adds a circumflex to the next character typed.
137 \end_layout
138 \begin_layout Description
139 Syntax accent-circumflex
140 \end_layout
141
142 \begin_layout Subsection*
143 LFUN_ACCENT_DOT
144 \end_layout
145 \begin_layout Description
146 Action Adds a dot accent to the next character typed.
147 \end_layout
148 \begin_layout Description
149 Syntax accent-dot
150 \end_layout
151
152 \begin_layout Subsection*
153 LFUN_ACCENT_GRAVE
154 \end_layout
155 \begin_layout Description
156 Action Adds a grave accent to the next character typed.
157 \end_layout
158 \begin_layout Description
159 Syntax accent-grave
160 \end_layout
161
162 \begin_layout Subsection*
163 LFUN_ACCENT_HUNGARIAN_UMLAUT
164 \end_layout
165 \begin_layout Description
166 Action Adds a Hungarian umlaut to the next character typed.
167 \end_layout
168 \begin_layout Description
169 Syntax accent-grave
170 \end_layout
171
172 \begin_layout Subsection*
173 LFUN_ACCENT_MACRON
174 \end_layout
175 \begin_layout Description
176 Action Adds a macron to the next character typed.
177 \end_layout
178 \begin_layout Description
179 Syntax accent-macron
180 \end_layout
181
182 \begin_layout Subsection*
183 LFUN_ACCENT_OGONEK
184 \end_layout
185 \begin_layout Description
186 Action Adds an ogonek accent to the next character typed.
187 \end_layout
188 \begin_layout Description
189 Syntax accent-ogonek
190 \end_layout
191
192 \begin_layout Subsection*
193 LFUN_ACCENT_TIE
194 \end_layout
195 \begin_layout Description
196 Action Adds a tie over the next two character typed.
197 \end_layout
198 \begin_layout Description
199 Notion The following char will finish the tie.
200 \end_layout
201 \begin_layout Description
202 Syntax accent-tie
203 \end_layout
204
205 \begin_layout Subsection*
206 LFUN_ACCENT_TILDE
207 \end_layout
208 \begin_layout Description
209 Action Adds a tilde over the next character typed.
210 \end_layout
211 \begin_layout Description
212 Syntax accent-tilde
213 \end_layout
214
215 \begin_layout Subsection*
216 LFUN_ACCENT_UMLAUT
217 \end_layout
218 \begin_layout Description
219 Action Adds an umlaut over the next character typed.
220 \end_layout
221 \begin_layout Description
222 Syntax accent-umlaut
223 \end_layout
224
225 \begin_layout Subsection*
226 LFUN_ACCENT_UNDERBAR
227 \end_layout
228 \begin_layout Description
229 Action Adds a bar under the next character typed.
230 \end_layout
231 \begin_layout Description
232 Syntax accent-underbar
233 \end_layout
234
235 \begin_layout Subsection*
236 LFUN_ACCENT_UNDERDOT
237 \end_layout
238 \begin_layout Description
239 Action Adds a dot under the next character typed.
240 \end_layout
241 \begin_layout Description
242 Syntax accent-underdot
243 \end_layout
244
245 \begin_layout Subsection*
246 LFUN_CAPTION_INSERT
247 \end_layout
248 \begin_layout Description
249 Action Inserts a caption inset.
250 \end_layout
251 \begin_layout Description
252 Syntax caption-insert
253 \end_layout
254 \begin_layout Description
255 Origin Lgb, 18 Jul 2000
256 \end_layout
257
258 \begin_layout Subsection*
259 LFUN_DATE_INSERT
260 \end_layout
261 \begin_layout Description
262 Action Inserts the current date.
263 \end_layout
264 \begin_layout Description
265 Syntax date-insert [<ARG>]
266 \end_layout
267 \begin_layout Description
268 Params <ARG>: Format of date. The default value (%x) can be set in Preferences->Date format. For possible formats see manual page of strftime function.
269 \end_layout
270 \begin_layout Description
271 Origin jdblair, 31 Jan 2000
272 \end_layout
273
274 \begin_layout Subsection*
275 LFUN_FOOTNOTE_INSERT
276 \end_layout
277 \begin_layout Description
278 Action Inserts a footnote inset.
279 \end_layout
280 \begin_layout Description
281 Syntax footnote-insert
282 \end_layout
283 \begin_layout Description
284 Origin Jug, 7 Mar 2000
285 \end_layout
286
287 \begin_layout Subsection*
288 LFUN_ERT_INSERT
289 \end_layout
290 \begin_layout Description
291 Action Inserts an ERT inset.
292 \end_layout
293 \begin_layout Description
294 Syntax ert-insert
295 \end_layout
296 \begin_layout Description
297 Origin Jug, 18 Feb 2000
298 \end_layout
299
300 \begin_layout Subsection*
301 LFUN_FLOAT_INSERT
302 \end_layout
303 \begin_layout Description
304 Action Inserts a float inset.
305 \end_layout
306 \begin_layout Description
307 Syntax float-insert <TYPE>
308 \end_layout
309 \begin_layout Description
310 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
311 \end_layout
312 \begin_layout Description
313 Origin Lgb, 27 Jun 2000
314 \end_layout
315
316 \begin_layout Subsection*
317 LFUN_FLOAT_WIDE_INSERT
318 \end_layout
319 \begin_layout Description
320 Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns.
321 \end_layout
322 \begin_layout Description
323 Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX.
324 \end_layout
325 \begin_layout Description
326 Syntax float-wide-insert <TYPE>
327 \end_layout
328 \begin_layout Description
329 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
330 \end_layout
331 \begin_layout Description
332 Origin Lgb, 31 Oct 2001
333 \end_layout
334
335 \begin_layout Subsection*
336 LFUN_FLOAT_LIST_INSERT
337 \end_layout
338 \begin_layout Description
339 Action Inserts the list of floats in the document.
340 \end_layout
341 \begin_layout Description
342 Syntax float-list-insert <TYPE>
343 \end_layout
344 \begin_layout Description
345 Params <TYPE>: type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given.
346 \end_layout
347 \begin_layout Description
348 Origin Lgb, 3 May 2001
349 \end_layout
350
351 \begin_layout Subsection*
352 LFUN_WRAP_INSERT
353 \end_layout
354 \begin_layout Description
355 Action Inserts floats wrapped by the text around.
356 \end_layout
357 \begin_layout Description
358 Syntax wrap-insert <TYPE>
359 \end_layout
360 \begin_layout Description
361 Params <TYPE>: table|figure
362 \end_layout
363 \begin_layout Description
364 Origin Dekel, 7 Apr 2002
365 \end_layout
366
367 \begin_layout Subsection*
368 LFUN_OPTIONAL_INSERT
369 \end_layout
370 \begin_layout Description
371 Action Inserts an optional-argument (short title) inset.
372 \end_layout
373 \begin_layout Description
374 Syntax optional-insert
375 \end_layout
376 \begin_layout Description
377 Origin vermeer, 12 Aug 2002
378 \end_layout
379
380 \begin_layout Subsection*
381 LFUN_LINE_INSERT
382 \end_layout
383 \begin_layout Description
384 Action Inserts a horizontal line.
385 \end_layout
386 \begin_layout Description
387 Syntax line-insert
388 \end_layout
389 \begin_layout Description
390 Origin Andre, Oct 27 2003
391 \end_layout
392
393 \begin_layout Subsection*
394 LFUN_NEWPAGE_INSERT
395 \end_layout
396 \begin_layout Description
397 Action Inserts a new page.
398 \end_layout
399 \begin_layout Description
400 Syntax newpage-insert <ARG>
401 \end_layout
402 \begin_layout Description
403 Params <ARG>: <newpage|pagebreak|clearpage|cleardoublepage> default: newpage
404 \end_layout
405 \begin_layout Description
406 Origin uwestoehr, 24 Nov 2007
407 \end_layout
408
409 \begin_layout Subsection*
410 LFUN_MARGINALNOTE_INSERT
411 \end_layout
412 \begin_layout Description
413 Action Inserts a marginal note.
414 \end_layout
415 \begin_layout Description
416 Syntax marginalnote-insert
417 \end_layout
418 \begin_layout Description
419 Origin Lgb, 26 Jun 2000
420 \end_layout
421
422 \begin_layout Subsection*
423 LFUN_UNICODE_INSERT
424 \end_layout
425 \begin_layout Description
426 Action Inserts a single unicode character.
427 \end_layout
428 \begin_layout Description
429 Syntax unicode-insert <CHAR>
430 \end_layout
431 \begin_layout Description
432 Params <CHAR>: The character to insert, given as its code point, in hexadecimal.
433 \end_layout
434 \begin_layout Description
435 Sample unicode-insert 0x0100
436 \end_layout
437 \begin_layout Description
438 Origin Lgb, 22 Oct 2006
439 \end_layout
440
441 \begin_layout Subsection*
442 LFUN_LISTING_INSERT
443 \end_layout
444 \begin_layout Description
445 Action Inserts a new listings inset.
446 \end_layout
447 \begin_layout Description
448 Syntax listing-insert
449 \end_layout
450 \begin_layout Description
451 Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007
452 \end_layout
453
454 \begin_layout Subsection*
455 LFUN_TAB_INSERT
456 \end_layout
457 \begin_layout Description
458 Action Insert a tab into a listings inset.
459 \end_layout
460 \begin_layout Description
461 Notion It also works on a selection.
462 \end_layout
463 \begin_layout Description
464 Syntax tab-insert
465 \end_layout
466 \begin_layout Description
467 Origin vfr, Sep 30 2008
468 \end_layout
469
470 \begin_layout Subsection*
471 LFUN_TAB_DELETE
472 \end_layout
473 \begin_layout Description
474 Action Delete a tab or up to an equivalent amount of spaces from a listings inset.
475 \end_layout
476 \begin_layout Description
477 Notion It also works on a selection - it removes a tab or spaces from the beginning of each line spanned by the selection. This is useful if you want to indent/unindent multiple lines in one action.
478 \end_layout
479 \begin_layout Description
480 Syntax tab-delete
481 \end_layout
482 \begin_layout Description
483 Origin vfr, Sep 30 2008
484 \end_layout
485
486 \begin_layout Subsection*
487 LFUN_QUOTE_INSERT
488 \end_layout
489 \begin_layout Description
490 Action Inserts quotes according to the type and quote-language preference.
491 \end_layout
492 \begin_layout Description
493 Notion Currently English, Swedish, German, Polish, French, Danish quotes are distinguished.
494 \end_layout
495 \begin_layout Description
496 Syntax quote-insert [<TYPE>]
497 \end_layout
498 \begin_layout Description
499 Params <TYPE>: 'single' for single quotes, otherwise double quotes will be used.
500 \end_layout
501
502 \begin_layout Subsection*
503 LFUN_INFO_INSERT
504 \end_layout
505 \begin_layout Description
506 Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText.
507 \end_layout
508 \begin_layout Description
509 Notion Apart from lfun arguments you can use the following method:
510 \begin_inset Newline newline
511 \end_inset
512
513 1. input the type and argument of this inset, e.g. "menu paste", in the work area.
514 \begin_inset Newline newline
515 \end_inset
516
517 2. select the text and run info-insert lfun.
518 \end_layout
519 \begin_layout Description
520 Syntax info-insert <TYPE> <ARG>
521 \end_layout
522 \begin_layout Description
523 Params <TYPE>: shortcut[s]|lyxrc|package|textclass|menu|buffer
524 \begin_inset Newline newline
525 \end_inset
526
527 <ARG>: argument for a given type. Look into InsetInfo.h for detailed description.
528 \begin_inset Newline newline
529 \end_inset
530
531                       shortcut[s]: name of lfun (e.g math-insert 
532 \backslash
533 alpha)
534 \begin_inset Newline newline
535 \end_inset
536
537                       lyxrc: name of rc_entry (e.g. bind_file)
538 \begin_inset Newline newline
539 \end_inset
540
541                       package: name of latex package (e.g. listings)
542 \begin_inset Newline newline
543 \end_inset
544
545                       textclass: name of textclass (e.g. article)
546 \begin_inset Newline newline
547 \end_inset
548
549                       menu: name of lfun used in menu 
550 \begin_inset Newline newline
551 \end_inset
552
553                       icon: name of lfun used in toolbar
554 \begin_inset Newline newline
555 \end_inset
556
557                       buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"vcs-date"|"vcs-time"
558 \end_layout
559 \begin_layout Description
560 Sample command-sequence info-insert buffer path; info-insert buffer name
561 \end_layout
562 \begin_layout Description
563 Origin bpeng, 7 Oct 2007
564 \end_layout
565
566 \begin_layout Subsection*
567 LFUN_BRANCH_INSERT
568 \end_layout
569 \begin_layout Description
570 Action Inserts branch inset.
571 \end_layout
572 \begin_layout Description
573 Syntax branch-insert <BRANCH-NAME>
574 \end_layout
575 \begin_layout Description
576 Origin vermeer, 17 Aug 2003
577 \end_layout
578
579 \begin_layout Subsection*
580 LFUN_BOX_INSERT
581 \end_layout
582 \begin_layout Description
583 Action Inserts Box inset.
584 \end_layout
585 \begin_layout Description
586 Syntax box-insert [<TYPE>]
587 \end_layout
588 \begin_layout Description
589 Params <TYPE>: Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox
590 \begin_inset Newline newline
591 \end_inset
592
593 Framed is the default one.
594 \end_layout
595 \begin_layout Description
596 Origin vermeer, 7 Oct 2003
597 \end_layout
598
599 \begin_layout Subsection*
600 LFUN_FLEX_INSERT
601 \end_layout
602 \begin_layout Description
603 Action Inserts CharStyle, Custom inset or XML short element.
604 \end_layout
605 \begin_layout Description
606 Notion Look into the Customization manual for more information about these elements.
607 \begin_inset Newline newline
608 \end_inset
609
610 To make this command enabled the layout file for the document class you're using has to load the character styles. There are a few contained in the Logical Markup module. You can also of course create some yourself.
611 \begin_inset Newline newline
612 \end_inset
613
614 For dissolving the element see LFUN_INSET_DISSOLVE.
615 \end_layout
616 \begin_layout Description
617 Syntax flex-insert <TYPE:Name>
618 \end_layout
619 \begin_layout Description
620 Params TYPE: CharStyle|Custom|Element|Standard
621 \begin_inset Newline newline
622 \end_inset
623
624 Identifies whether this is a Character Style, a Custom Inset or an XML Element, and which dynamical sub-menu this flex inset is in on the LyX menu tree. If Standard (currently unused): none of these.
625 \begin_inset Newline newline
626 \end_inset
627
628 Name: This name must be defined either in your layout file or imported by some module. The definition is InsetLayout <TYPE:Name>
629 \end_layout
630 \begin_layout Description
631 Sample flex-insert CharStyle:Code
632 \end_layout
633
634 \begin_layout Subsection*
635 LFUN_SELF_INSERT
636 \end_layout
637 \begin_layout Description
638 Action Inserts the given string (accordingly to the correct keymap).
639 \end_layout
640 \begin_layout Description
641 Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete".
642 \end_layout
643 \begin_layout Description
644 Syntax self-insert <STRING>
645 \end_layout
646
647 \begin_layout Subsection*
648 LFUN_SPACE_INSERT
649 \end_layout
650 \begin_layout Description
651 Action Inserts one of horizontal space insets.
652 \end_layout
653 \begin_layout Description
654 Syntax space-insert <NAME> [<LEN>]
655 \end_layout
656 \begin_layout Description
657 Params <NAME>: normal, protected, thin, quad, qquad, enspace, enskip, negthinspace, hfill, hfill*, dotfill, hrulefill, hspace, hspace*
658 \begin_inset Newline newline
659 \end_inset
660
661 <LEN>: length for custom spaces (hspace, hspace* for protected)
662 \end_layout
663 \begin_layout Description
664 Origin JSpitzm, 20 May 2003, Mar 17 2008
665 \end_layout
666
667 \begin_layout Subsection*
668 LFUN_HYPERLINK_INSERT
669 \end_layout
670 \begin_layout Description
671 Action Inserts hyperlinks into the document (clickable in pdf output).
672 \end_layout
673 \begin_layout Description
674 Notion Hyperlink target can be set via selection + hyperlink-insert function.
675 \end_layout
676 \begin_layout Description
677 Syntax href-insert [<TARGET>]
678 \end_layout
679 \begin_layout Description
680 Origin CFO-G, 21 Nov 1997
681 \end_layout
682
683 \begin_layout Subsection*
684 LFUN_SPECIALCHAR_INSERT
685 \end_layout
686 \begin_layout Description
687 Action Inserts various characters into the document.
688 \end_layout
689 \begin_layout Description
690 Syntax specialchar-insert <CHAR>
691 \end_layout
692 \begin_layout Description
693 Params <CHAR>: hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sentence, menu-separator.
694 \end_layout
695 \begin_layout Description
696 Origin JSpitzm, 6 Dec 2007
697 \end_layout
698
699 \begin_layout Subsection*
700 LFUN_TOC_INSERT
701 \end_layout
702 \begin_layout Description
703 Action Inserts table of contents.
704 \end_layout
705 \begin_layout Description
706 Syntax toc-insert
707 \end_layout
708 \begin_layout Description
709 Origin Lgb, 27 May 97
710 \end_layout
711
712 \begin_layout Subsection*
713 LFUN_APPENDIX
714 \end_layout
715 \begin_layout Description
716 Action Start (or remove) Appendix on the given cursor position.
717 \end_layout
718 \begin_layout Description
719 Syntax appendix
720 \end_layout
721 \begin_layout Description
722 Origin ettrich, 5 May 1998
723 \end_layout
724
725 \begin_layout Subsection*
726 LFUN_INDEX_INSERT
727 \end_layout
728 \begin_layout Description
729 Action Inserts Index entry.
730 \end_layout
731 \begin_layout Description
732 Notion It automatically takes the word on the cursor position.
733 \end_layout
734 \begin_layout Description
735 Syntax index-insert [<TYPE:Name>]
736 \end_layout
737 \begin_layout Description
738 Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
739 \end_layout
740 \begin_layout Description
741 Origin leeming, 3 Aug 2000
742 \end_layout
743
744 \begin_layout Subsection*
745 LFUN_INDEX_PRINT
746 \end_layout
747 \begin_layout Description
748 Action Inserts list of Index entries on a new page.
749 \end_layout
750 \begin_layout Description
751 Syntax index-print [<TYPE:Name>]
752 \end_layout
753 \begin_layout Description
754 Params <TYPE:Name>: name of the index, if multiple indices are defined. with an empty argument, the default index is selected.
755 \end_layout
756 \begin_layout Description
757 Origin Lgb, 27 Feb 1997
758 \end_layout
759
760 \begin_layout Subsection*
761 LFUN_NOMENCL_INSERT
762 \end_layout
763 \begin_layout Description
764 Action Inserts Nomenclature entry.
765 \end_layout
766 \begin_layout Description
767 Notion It automatically takes the word on the cursor position if no symbol is given.
768 \end_layout
769 \begin_layout Description
770 Syntax nomencl-insert [<SYMBOL>]
771 \end_layout
772 \begin_layout Description
773 Origin Ugras, 4 Nov 2006
774 \end_layout
775
776 \begin_layout Subsection*
777 LFUN_NOMENCLATURE_PRINT
778 \end_layout
779 \begin_layout Description
780 Action Inserts list of Nomenclature entries.
781 \end_layout
782 \begin_layout Description
783 Syntax nomenclature-print
784 \end_layout
785 \begin_layout Description
786 Origin Ugras, 4 Nov 2006
787 \end_layout
788
789 \begin_layout Subsection*
790 LFUN_NOTE_INSERT
791 \end_layout
792 \begin_layout Description
793 Action Inserts Note on the current cursor postion, move selection inside the inset.
794 \end_layout
795 \begin_layout Description
796 Syntax note-insert [<TYPE>]
797 \end_layout
798 \begin_layout Description
799 Params <TYPE>: <Note|Greyedout|Comment> default: Note
800 \end_layout
801
802 \begin_layout Subsection*
803 LFUN_NOTE_NEXT
804 \end_layout
805 \begin_layout Description
806 Action Moves the cursor to the begining of next Note inset.
807 \end_layout
808 \begin_layout Description
809 Syntax note-next
810 \end_layout
811
812 \begin_layout Subsection*
813 LFUN_PHANTOM_INSERT
814 \end_layout
815 \begin_layout Description
816 Action Inserts phantom on the current cursor postion, move selection inside the inset.
817 \end_layout
818 \begin_layout Description
819 Syntax phantom-insert [<TYPE>]
820 \end_layout
821 \begin_layout Description
822 Params <TYPE>: <Phantom|HPhantom|VPhantom> default: Phantom
823 \end_layout
824 \begin_layout Description
825 Origin uwestoehr, 30 Jan 2009
826 \end_layout
827
828 \begin_layout Subsection*
829 LFUN_NEWLINE_INSERT
830 \end_layout
831 \begin_layout Description
832 Action Inserts a line break or new line.
833 \end_layout
834 \begin_layout Description
835 Syntax newline-insert [<ARG>]
836 \end_layout
837 \begin_layout Description
838 Params <ARG>: <newline|linebreak> default: newline
839 \end_layout
840 \begin_layout Description
841 Origin JSpitzm, 25 Mar 2008
842 \end_layout
843
844 \begin_layout Subsection*
845 LFUN_ESCAPE
846 \end_layout
847 \begin_layout Description
848 Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD.
849 \end_layout
850 \begin_layout Description
851 Syntax escape
852 \end_layout
853 \begin_layout Description
854 Origin Lgb, 17 May 2001
855 \end_layout
856
857 \begin_layout Subsection*
858 LFUN_DOWN
859 \end_layout
860 \begin_layout Description
861 Action Moves the cursor one line in downward direction.
862 \end_layout
863 \begin_layout Description
864 Syntax down
865 \end_layout
866
867 \begin_layout Subsection*
868 LFUN_UP
869 \end_layout
870 \begin_layout Description
871 Action Moves the cursor one line in upward direction.
872 \end_layout
873 \begin_layout Description
874 Syntax up
875 \end_layout
876
877 \begin_layout Subsection*
878 LFUN_DOWN_SELECT
879 \end_layout
880 \begin_layout Description
881 Action Moves the cursor one line in downward direction adding the current position to the selection.
882 \end_layout
883 \begin_layout Description
884 Syntax down-select
885 \end_layout
886
887 \begin_layout Subsection*
888 LFUN_UP_SELECT
889 \end_layout
890 \begin_layout Description
891 Action Moves the cursor one line in upward direction adding the current position to the selection.
892 \end_layout
893 \begin_layout Description
894 Syntax up-select
895 \end_layout
896
897 \begin_layout Subsection*
898 LFUN_SCREEN_DOWN
899 \end_layout
900 \begin_layout Description
901 Action Moves the cursor one page in downward direction.
902 \end_layout
903 \begin_layout Description
904 Syntax screen-down
905 \end_layout
906
907 \begin_layout Subsection*
908 LFUN_SCREEN_UP
909 \end_layout
910 \begin_layout Description
911 Action Moves the cursor one page in upward direction.
912 \end_layout
913 \begin_layout Description
914 Syntax screen-up
915 \end_layout
916
917 \begin_layout Subsection*
918 LFUN_SCREEN_DOWN_SELECT
919 \end_layout
920 \begin_layout Description
921 Action Moves the cursor one screen in downward direction adding the current position to the selection.
922 \end_layout
923 \begin_layout Description
924 Syntax screen-down-select
925 \end_layout
926
927 \begin_layout Subsection*
928 LFUN_SCREEN_UP_SELECT
929 \end_layout
930 \begin_layout Description
931 Action Moves the cursor one page in upward direction adding the current position to the selection.
932 \end_layout
933 \begin_layout Description
934 Syntax screen-up-select
935 \end_layout
936
937 \begin_layout Subsection*
938 LFUN_SCROLL
939 \end_layout
940 \begin_layout Description
941 Action Scroll the buffer view.
942 \end_layout
943 \begin_layout Description
944 Notion Only scrolls the screen up or down; does not move the cursor.
945 \end_layout
946 \begin_layout Description
947 Syntax scroll <TYPE> <QUANTITY>
948 \end_layout
949 \begin_layout Description
950 Params <TYPE>:  line|page
951 \begin_inset Newline newline
952 \end_inset
953
954 <QUANTITY>: up|down|<number>
955 \end_layout
956 \begin_layout Description
957 Origin Abdel, Dec 27 2007
958 \end_layout
959
960 \begin_layout Subsection*
961 LFUN_SCREEN_RECENTER
962 \end_layout
963 \begin_layout Description
964 Action Recenters the screen on the current cursor position.
965 \end_layout
966 \begin_layout Description
967 Syntax screen-recenter
968 \end_layout
969
970 \begin_layout Subsection*
971 LFUN_SCREEN_SHOW_CURSOR
972 \end_layout
973 \begin_layout Description
974 Action Repositions the screen such that the cursor is visible.
975 \end_layout
976 \begin_layout Description
977 Syntax screen-show-cursor
978 \end_layout
979 \begin_layout Description
980 Origin vfr, 25 Mar 2009
981 \end_layout
982
983 \begin_layout Subsection*
984 LFUN_CHAR_BACKWARD
985 \end_layout
986 \begin_layout Description
987 Action Moves the cursor one position logically backwards.
988 \end_layout
989 \begin_layout Description
990 Notion This is not the action which should be bound to the arrow keys, because backwards may be left or right, depending on the language. The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions, which in turn may employ this one.
991 \end_layout
992 \begin_layout Description
993 Syntax char-backward
994 \end_layout
995
996 \begin_layout Subsection*
997 LFUN_CHAR_BACKWARD_SELECT
998 \end_layout
999 \begin_layout Description
1000 Action Moves the cursor one position logically backwards, adding traversed position to the selection.
1001 \end_layout
1002 \begin_layout Description
1003 Notion See also LFUN_CHAR_BACKWARD.
1004 \end_layout
1005 \begin_layout Description
1006 Syntax char-backward-select
1007 \end_layout
1008
1009 \begin_layout Subsection*
1010 LFUN_CHAR_DELETE_BACKWARD
1011 \end_layout
1012 \begin_layout Description
1013 Action Deletes one character in the backward direction (usually the "BackSpace" key).
1014 \end_layout
1015 \begin_layout Description
1016 Syntax char-delete-backward
1017 \end_layout
1018
1019 \begin_layout Subsection*
1020 LFUN_CHAR_DELETE_FORWARD
1021 \end_layout
1022 \begin_layout Description
1023 Action Deletes one character in the backward direction (usually the "Delete" key).
1024 \end_layout
1025 \begin_layout Description
1026 Syntax char-delete-forward
1027 \end_layout
1028
1029 \begin_layout Subsection*
1030 LFUN_CHAR_FORWARD
1031 \end_layout
1032 \begin_layout Description
1033 Action Moves the cursor one position logically forward.
1034 \end_layout
1035 \begin_layout Description
1036 Notion This is not the action which should be bound to the arrow keys, because forward may be left or right, depending on the language. The arrow keys should be bound to LFUN_CHAR_LEFT or LFUN_CHAR_RIGHT actions, which in turn may employ this one.
1037 \end_layout
1038 \begin_layout Description
1039 Syntax char-forward
1040 \end_layout
1041
1042 \begin_layout Subsection*
1043 LFUN_CHAR_FORWARD_SELECT
1044 \end_layout
1045 \begin_layout Description
1046 Action Moves the cursor one position logically forward, adding traversed position to the selection.
1047 \end_layout
1048 \begin_layout Description
1049 Notion See also LFUN_CHAR_FORWARD.
1050 \end_layout
1051 \begin_layout Description
1052 Syntax char-forward-select
1053 \end_layout
1054
1055 \begin_layout Subsection*
1056 LFUN_CHAR_LEFT
1057 \end_layout
1058 \begin_layout Description
1059 Action Moves the cursor one position "to the left".
1060 \end_layout
1061 \begin_layout Description
1062 Notion This is the action which should be taken when the "left" key is pressed. Generally, it moves the cursor one position to the left. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves left, plain and simple. In "logical mode", movement is logically forward in RTL paragraphs, and logically backwards in LTR paragraphs.
1063 \end_layout
1064 \begin_layout Description
1065 Syntax char-left
1066 \end_layout
1067
1068 \begin_layout Subsection*
1069 LFUN_CHAR_LEFT_SELECT
1070 \end_layout
1071 \begin_layout Description
1072 Action Moves the cursor one position "to the left", adding traversed position to the selection.
1073 \end_layout
1074 \begin_layout Description
1075 Notion See also LFUN_CHAR_LEFT for exact details of the movement.
1076 \end_layout
1077 \begin_layout Description
1078 Syntax char-left-select
1079 \end_layout
1080
1081 \begin_layout Subsection*
1082 LFUN_CHAR_RIGHT
1083 \end_layout
1084 \begin_layout Description
1085 Action Moves the cursor one position "to the right".
1086 \end_layout
1087 \begin_layout Description
1088 Notion This is the action which should be taken when the "right" key is pressed. Generally, it moves the cursor one position to the right. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves right, plain and simple. In "logical mode", movement is logically forward in LTR paragraphs, and logically backwards in RTL paragraphs.
1089 \end_layout
1090 \begin_layout Description
1091 Syntax char-right
1092 \end_layout
1093
1094 \begin_layout Subsection*
1095 LFUN_CHAR_RIGHT_SELECT
1096 \end_layout
1097 \begin_layout Description
1098 Action Moves the cursor one position "to the right", adding traversed position to the selection.
1099 \end_layout
1100 \begin_layout Description
1101 Notion See also LFUN_CHAR_RIGHT for exact details of the movement.
1102 \end_layout
1103 \begin_layout Description
1104 Syntax char-right-select
1105 \end_layout
1106
1107 \begin_layout Subsection*
1108 LFUN_WORD_BACKWARD
1109 \end_layout
1110 \begin_layout Description
1111 Action Moves the cursor to the logically previous beginning of a word.
1112 \end_layout
1113 \begin_layout Description
1114 Notion This is not the action which should be bound to the arrow keys, because backwards may be left or right, depending on the language. The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions, which in turn may employ this one.
1115 \end_layout
1116 \begin_layout Description
1117 Syntax word-backward
1118 \end_layout
1119
1120 \begin_layout Subsection*
1121 LFUN_WORD_BACKWARD_SELECT
1122 \end_layout
1123 \begin_layout Description
1124 Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection.
1125 \end_layout
1126 \begin_layout Description
1127 Notion See also LFUN_WORD_BACKWARD.
1128 \end_layout
1129 \begin_layout Description
1130 Syntax word-backward-select
1131 \end_layout
1132
1133 \begin_layout Subsection*
1134 LFUN_WORD_DELETE_BACKWARD
1135 \end_layout
1136 \begin_layout Description
1137 Action Deletes characters to the begining of the word (usually the "C+BackSpace" key).
1138 \end_layout
1139 \begin_layout Description
1140 Syntax word-delete-backward
1141 \end_layout
1142
1143 \begin_layout Subsection*
1144 LFUN_WORD_DELETE_FORWARD
1145 \end_layout
1146 \begin_layout Description
1147 Action Deletes characters to the end of the word (usually the "C+Delete" key).
1148 \end_layout
1149 \begin_layout Description
1150 Syntax word-delete-forward
1151 \end_layout
1152
1153 \begin_layout Subsection*
1154 LFUN_WORD_FIND_FORWARD
1155 \end_layout
1156 \begin_layout Description
1157 Action Search for a given string in forward direction.
1158 \end_layout
1159 \begin_layout Description
1160 Notion Case sensitive, match words. If no argument given, last search repeated.
1161 \end_layout
1162 \begin_layout Description
1163 Syntax word-find-forward [<STRING>]
1164 \end_layout
1165 \begin_layout Description
1166 Origin Etienne, 16 Feb 1998
1167 \end_layout
1168
1169 \begin_layout Subsection*
1170 LFUN_WORD_FIND_BACKWARD
1171 \end_layout
1172 \begin_layout Description
1173 Action Search for a given string in backward direction.
1174 \end_layout
1175 \begin_layout Description
1176 Notion Case sensitive, match words. If no argument given, last search repeated.
1177 \end_layout
1178 \begin_layout Description
1179 Syntax word-find-backward [<STRING>]
1180 \end_layout
1181 \begin_layout Description
1182 Origin Etienne, 20 Feb 1998
1183 \end_layout
1184
1185 \begin_layout Subsection*
1186 LFUN_WORD_FIND
1187 \end_layout
1188 \begin_layout Description
1189 Action Search for next occurence of a string.
1190 \end_layout
1191 \begin_layout Description
1192 Syntax word-find [<DATA>]
1193 \end_layout
1194 \begin_layout Description
1195 Params <DATA>: data encoded from Find dialog (see lyx::find2string()). If no parameter is given, search with last find-dialog data is used for search (i.e. find-next).
1196 \end_layout
1197 \begin_layout Description
1198 Origin Andre, Jan 7 2004
1199 \end_layout
1200
1201 \begin_layout Subsection*
1202 LFUN_WORD_REPLACE
1203 \end_layout
1204 \begin_layout Description
1205 Action Replace a string in the document.
1206 \end_layout
1207 \begin_layout Description
1208 Syntax word-replace [<DATA>]
1209 \end_layout
1210 \begin_layout Description
1211 Params <DATA>: data is of the form "<replace>
1212 \begin_inset Newline newline
1213 \end_inset
1214
1215 <search>
1216 \begin_inset Newline newline
1217 \end_inset
1218
1219 <casesensitive> <matchword> <all> <forward>"
1220 \end_layout
1221 \begin_layout Description
1222 Origin Andre, Jan 7 2004
1223 \end_layout
1224
1225 \begin_layout Subsection*
1226 LFUN_WORD_FINDADV
1227 \end_layout
1228 \begin_layout Description
1229 Action Search for next occurence of a pattern.
1230 \end_layout
1231 \begin_layout Description
1232 Syntax word-findadv [<DATA>]
1233 \end_layout
1234 \begin_layout Description
1235 Params <DATA>: data encoded from FindAdv dialog (see lyx::findadv2string()). If no parameter is given, search with last find-dialog data is used for search (i.e. find-next).
1236 \end_layout
1237 \begin_layout Description
1238 Origin Tommaso, Nov 15 2007
1239 \end_layout
1240
1241 \begin_layout Subsection*
1242 LFUN_WORD_FORWARD
1243 \end_layout
1244 \begin_layout Description
1245 Action Moves the cursor to the logically next beginning of a word.
1246 \end_layout
1247 \begin_layout Description
1248 Notion This is not the action which should be bound to the arrow keys, because forward may be left or right, depending on the language. The arrow keys should be bound to LFUN_WORD_LEFT or LFUN_WORD_RIGHT actions, which in turn may employ this one.
1249 \end_layout
1250 \begin_layout Description
1251 Syntax word-forward
1252 \end_layout
1253
1254 \begin_layout Subsection*
1255 LFUN_WORD_FORWARD_SELECT
1256 \end_layout
1257 \begin_layout Description
1258 Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection.
1259 \end_layout
1260 \begin_layout Description
1261 Notion See also LFUN_WORD_FORWARD.
1262 \end_layout
1263 \begin_layout Description
1264 Syntax word-forward-select
1265 \end_layout
1266
1267 \begin_layout Subsection*
1268 LFUN_WORD_LEFT
1269 \end_layout
1270 \begin_layout Description
1271 Action Moves the cursor to the next beginning of a word "on the left".
1272 \end_layout
1273 \begin_layout Description
1274 Notion This is the action which should be taken when the (e.g., ctrl-) "left" key is pressed. Generally, it moves the cursor to the next beginning of a word on the left. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves left, plain and simple. In "logical mode", movement is logically forward in RTL paragraphs, and logically backwards in LTR paragraphs.
1275 \end_layout
1276 \begin_layout Description
1277 Syntax word-left
1278 \end_layout
1279 \begin_layout Description
1280 Origin dov, 28 Oct 2007
1281 \end_layout
1282
1283 \begin_layout Subsection*
1284 LFUN_WORD_LEFT_SELECT
1285 \end_layout
1286 \begin_layout Description
1287 Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection.
1288 \end_layout
1289 \begin_layout Description
1290 Notion See also LFUN_WORD_LEFT for exact details of the movement.
1291 \end_layout
1292 \begin_layout Description
1293 Syntax word-left-select
1294 \end_layout
1295 \begin_layout Description
1296 Origin dov, 28 Oct 2007
1297 \end_layout
1298
1299 \begin_layout Subsection*
1300 LFUN_WORD_RIGHT
1301 \end_layout
1302 \begin_layout Description
1303 Action Moves the cursor to the next beginning of a word "on the right".
1304 \end_layout
1305 \begin_layout Description
1306 Notion This is the action which should be taken when the (e.g., ctrl-) "right" key is pressed. Generally, it moves the cursor to the next beginning of a word on the right. However, in Bidi text this become slightly more complicated, and there are different modes of cursor movement. In "visual mode", this moves right, plain and simple. In "logical mode", movement is logically forward in LTR paragraphs, and logically backwards in RTL paragraphs.
1307 \end_layout
1308 \begin_layout Description
1309 Syntax word-right
1310 \end_layout
1311 \begin_layout Description
1312 Origin dov, 28 Oct 2007
1313 \end_layout
1314
1315 \begin_layout Subsection*
1316 LFUN_WORD_RIGHT_SELECT
1317 \end_layout
1318 \begin_layout Description
1319 Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection.
1320 \end_layout
1321 \begin_layout Description
1322 Notion See also LFUN_WORD_RIGHT for exact details of the movement.
1323 \end_layout
1324 \begin_layout Description
1325 Syntax word-right-select
1326 \end_layout
1327 \begin_layout Description
1328 Origin dov, 28 Oct 2007
1329 \end_layout
1330
1331 \begin_layout Subsection*
1332 LFUN_WORD_SELECT
1333 \end_layout
1334 \begin_layout Description
1335 Action Puts the word where the cursor stands into the selection.
1336 \end_layout
1337 \begin_layout Description
1338 Syntax word-select
1339 \end_layout
1340 \begin_layout Description
1341 Origin Andre, 11 Sep 2002
1342 \end_layout
1343
1344 \begin_layout Subsection*
1345 LFUN_WORD_CAPITALIZE
1346 \end_layout
1347 \begin_layout Description
1348 Action Capitalizes the words in the selection (i.e. the first letters) or the letter on the cursor position.
1349 \end_layout
1350 \begin_layout Description
1351 Syntax word-capitalize
1352 \end_layout
1353
1354 \begin_layout Subsection*
1355 LFUN_WORD_UPCASE
1356 \end_layout
1357 \begin_layout Description
1358 Action Change the words in the selection or from the cursor position to the end of word to the upper case.
1359 \end_layout
1360 \begin_layout Description
1361 Syntax word-upcase
1362 \end_layout
1363
1364 \begin_layout Subsection*
1365 LFUN_WORD_LOWCASE
1366 \end_layout
1367 \begin_layout Description
1368 Action Change the words in the selection or from the cursor position to the end of word to the lower case.
1369 \end_layout
1370 \begin_layout Description
1371 Syntax word-lowcase
1372 \end_layout
1373
1374 \begin_layout Subsection*
1375 LFUN_SPELLING_ADD
1376 \end_layout
1377 \begin_layout Description
1378 Action Add the word under the cursor to the respective spell checker dictionary.
1379 \end_layout
1380 \begin_layout Description
1381 Syntax spelling-add [<STRING>] [<LANG>]
1382 \end_layout
1383 \begin_layout Description
1384 Params <WORD>: word to add <LANG>: language name (see file languages)
1385 \end_layout
1386 \begin_layout Description
1387 Origin JSpitzm, 18 Jan 2010
1388 \end_layout
1389
1390 \begin_layout Subsection*
1391 LFUN_SPELLING_IGNORE
1392 \end_layout
1393 \begin_layout Description
1394 Action Let the spell checker ignore the word under the cursor in the current session for the given language.
1395 \end_layout
1396 \begin_layout Description
1397 Syntax spelling-ignore [<WORD>] [<LANG>]
1398 \end_layout
1399 \begin_layout Description
1400 Params <WORD>: word to ignore <LANG>: language name (see file languages)
1401 \end_layout
1402 \begin_layout Description
1403 Origin JSpitzm, 18 Jan 2010
1404 \end_layout
1405
1406 \begin_layout Subsection*
1407 LFUN_THESAURUS_ENTRY
1408 \end_layout
1409 \begin_layout Description
1410 Action Look up thesaurus entries with respect to the word under the cursor.
1411 \end_layout
1412 \begin_layout Description
1413 Syntax thesaurus-entry [<STRING>] [lang=<LANG>]
1414 \end_layout
1415 \begin_layout Description
1416 Params <STRING>: word to look up <LANG>: language (see file languages)
1417 \end_layout
1418 \begin_layout Description
1419 Origin Levon, 20 Jul 2001
1420 \end_layout
1421
1422 \begin_layout Subsection*
1423 LFUN_BUFFER_BEGIN
1424 \end_layout
1425 \begin_layout Description
1426 Action Move the cursor to the beginning of the document.
1427 \end_layout
1428 \begin_layout Description
1429 Syntax buffer-begin
1430 \end_layout
1431
1432 \begin_layout Subsection*
1433 LFUN_BUFFER_BEGIN_SELECT
1434 \end_layout
1435 \begin_layout Description
1436 Action Move the cursor to the beginning of the document adding the traversed text to the selection.
1437 \end_layout
1438 \begin_layout Description
1439 Syntax buffer-begin-select
1440 \end_layout
1441
1442 \begin_layout Subsection*
1443 LFUN_BUFFER_END
1444 \end_layout
1445 \begin_layout Description
1446 Action Move the cursor to the end of the document.
1447 \end_layout
1448 \begin_layout Description
1449 Syntax buffer-end
1450 \end_layout
1451
1452 \begin_layout Subsection*
1453 LFUN_BUFFER_END_SELECT
1454 \end_layout
1455 \begin_layout Description
1456 Action Move the cursor to the end of the document adding the traversed text to the selection.
1457 \end_layout
1458 \begin_layout Description
1459 Syntax buffer-end-select
1460 \end_layout
1461
1462 \begin_layout Subsection*
1463 LFUN_INSET_BEGIN
1464 \end_layout
1465 \begin_layout Description
1466 Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise
1467 \end_layout
1468 \begin_layout Description
1469 Syntax inset-begin
1470 \end_layout
1471 \begin_layout Description
1472 Origin lasgouttes, 16 Mar 2009
1473 \end_layout
1474
1475 \begin_layout Subsection*
1476 LFUN_INSET_BEGIN_SELECT
1477 \end_layout
1478 \begin_layout Description
1479 Action Move the cursor to the beginning of the current inset if it is not already there, or at the beginning of the enclosing inset otherwise (adding the traversed text to the selection).
1480 \end_layout
1481 \begin_layout Description
1482 Syntax inset-begin-select
1483 \end_layout
1484 \begin_layout Description
1485 Origin lasgouttes, 16 Mar 2009
1486 \end_layout
1487
1488 \begin_layout Subsection*
1489 LFUN_INSET_END
1490 \end_layout
1491 \begin_layout Description
1492 Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise
1493 \end_layout
1494 \begin_layout Description
1495 Syntax inset-end
1496 \end_layout
1497 \begin_layout Description
1498 Origin lasgouttes, 16 Mar 2009
1499 \end_layout
1500
1501 \begin_layout Subsection*
1502 LFUN_INSET_END_SELECT
1503 \end_layout
1504 \begin_layout Description
1505 Action Move the cursor to the end of the current inset if it is not already there, or at the end of the enclosing inset otherwise (adding the traversed text to the selection).
1506 \end_layout
1507 \begin_layout Description
1508 Syntax inset-end-select
1509 \end_layout
1510 \begin_layout Description
1511 Origin lasgouttes, 16 Mar 2009
1512 \end_layout
1513
1514 \begin_layout Subsection*
1515 LFUN_INSET_SELECT_ALL
1516 \end_layout
1517 \begin_layout Description
1518 Action Selects all contents of an inset.
1519 \end_layout
1520 \begin_layout Description
1521 Syntax inset-select-all
1522 \end_layout
1523 \begin_layout Description
1524 Origin vfr, 22 Aug 2009
1525 \end_layout
1526
1527 \begin_layout Subsection*
1528 LFUN_SECTION_SELECT
1529 \end_layout
1530 \begin_layout Description
1531 Action Selects the whole section.
1532 \end_layout
1533 \begin_layout Description
1534 Notion The cursor should be in a section heading before calling this lfun.
1535 \end_layout
1536 \begin_layout Description
1537 Syntax section-select
1538 \end_layout
1539 \begin_layout Description
1540 Origin vfr, 05 May 2009
1541 \end_layout
1542
1543 \begin_layout Subsection*
1544 LFUN_LINE_BEGIN
1545 \end_layout
1546 \begin_layout Description
1547 Action Move the cursor to the begining of the (screen) line.
1548 \end_layout
1549 \begin_layout Description
1550 Syntax line-begin
1551 \end_layout
1552
1553 \begin_layout Subsection*
1554 LFUN_LINE_BEGIN_SELECT
1555 \end_layout
1556 \begin_layout Description
1557 Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection.
1558 \end_layout
1559 \begin_layout Description
1560 Syntax line-begin-select
1561 \end_layout
1562
1563 \begin_layout Subsection*
1564 LFUN_LINE_END
1565 \end_layout
1566 \begin_layout Description
1567 Action Move the cursor to the end of the (screen) line.
1568 \end_layout
1569 \begin_layout Description
1570 Syntax line-end
1571 \end_layout
1572
1573 \begin_layout Subsection*
1574 LFUN_LINE_END_SELECT
1575 \end_layout
1576 \begin_layout Description
1577 Action Move the cursor to the end of the (screen) line adding the traversed text to the selection.
1578 \end_layout
1579 \begin_layout Description
1580 Syntax line-end-select
1581 \end_layout
1582
1583 \begin_layout Subsection*
1584 LFUN_LINE_DELETE
1585 \end_layout
1586 \begin_layout Description
1587 Action Deletes the letters to the end of the (screen) line or deletes the selection.
1588 \end_layout
1589 \begin_layout Description
1590 Syntax line-delete-forward
1591 \end_layout
1592
1593 \begin_layout Subsection*
1594 LFUN_COPY
1595 \end_layout
1596 \begin_layout Description
1597 Action Copies to the clipboard the last edit.
1598 \end_layout
1599 \begin_layout Description
1600 Syntax copy
1601 \end_layout
1602
1603 \begin_layout Subsection*
1604 LFUN_CUT
1605 \end_layout
1606 \begin_layout Description
1607 Action Cuts to the clipboard.
1608 \end_layout
1609 \begin_layout Description
1610 Syntax cut
1611 \end_layout
1612
1613 \begin_layout Subsection*
1614 LFUN_PASTE
1615 \end_layout
1616 \begin_layout Description
1617 Action Pastes material (text or picture) from the active clipboard.
1618 \end_layout
1619 \begin_layout Description
1620 Syntax paste [<TYPE>|<NUM>]
1621 \end_layout
1622 \begin_layout Description
1623 Params <TYPE>: emf|pdf|png|jpeg|linkback|wmf
1624 \begin_inset Newline newline
1625 \end_inset
1626
1627 <NUM>: number of the selection in the internal clipboard stack to be pasted.
1628 \end_layout
1629
1630 \begin_layout Subsection*
1631 LFUN_CLIPBOARD_PASTE
1632 \end_layout
1633 \begin_layout Description
1634 Action Pastes text from the active clipboard.
1635 \end_layout
1636 \begin_layout Description
1637 Syntax clipboard-paste [<ARG>]
1638 \end_layout
1639 \begin_layout Description
1640 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1641 \end_layout
1642 \begin_layout Description
1643 Origin baum, 10 Jul 2006
1644 \end_layout
1645
1646 \begin_layout Subsection*
1647 LFUN_PRIMARY_SELECTION_PASTE
1648 \end_layout
1649 \begin_layout Description
1650 Action Pastes the currently text selected text.
1651 \end_layout
1652 \begin_layout Description
1653 Notion Primary selection mechanism is linux-only thing.
1654 \end_layout
1655 \begin_layout Description
1656 Syntax primary-selection-paste [<ARG>]
1657 \end_layout
1658 \begin_layout Description
1659 Params <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
1660 \end_layout
1661
1662 \begin_layout Subsection*
1663 LFUN_SELECTION_PASTE
1664 \end_layout
1665 \begin_layout Description
1666 Action Pastes the text in permanent selection.
1667 \end_layout
1668 \begin_layout Description
1669 Syntax selection-paste
1670 \end_layout
1671
1672 \begin_layout Subsection*
1673 LFUN_UNDO
1674 \end_layout
1675 \begin_layout Description
1676 Action Undoes the last edit.
1677 \end_layout
1678 \begin_layout Description
1679 Syntax undo
1680 \end_layout
1681
1682 \begin_layout Subsection*
1683 LFUN_REDO
1684 \end_layout
1685 \begin_layout Description
1686 Action Redoes the last thing undone.
1687 \end_layout
1688 \begin_layout Description
1689 Syntax redo
1690 \end_layout
1691
1692 \begin_layout Subsection*
1693 LFUN_REPEAT
1694 \end_layout
1695 \begin_layout Description
1696 Action Repeat the given command.
1697 \end_layout
1698 \begin_layout Description
1699 Syntax repeat <COUNT> <LFUN-COMMAND>
1700 \end_layout
1701 \begin_layout Description
1702 Origin Andre, 27 Oct 2003
1703 \end_layout
1704
1705 \begin_layout Subsection*
1706 LFUN_CHARS_TRANSPOSE
1707 \end_layout
1708 \begin_layout Description
1709 Action Transposes the character at the cursor with the one before it.
1710 \end_layout
1711 \begin_layout Description
1712 Syntax chars-transpose
1713 \end_layout
1714 \begin_layout Description
1715 Origin Lgb, 25 Apr 2001
1716 \end_layout
1717
1718 \begin_layout Subsection*
1719 LFUN_DEPTH_DECREMENT
1720 \end_layout
1721 \begin_layout Description
1722 Action Decrease the nesting depth of the (selected) paragraph(s) inside lists.
1723 \end_layout
1724 \begin_layout Description
1725 Syntax depth-decrement
1726 \end_layout
1727
1728 \begin_layout Subsection*
1729 LFUN_DEPTH_INCREMENT
1730 \end_layout
1731 \begin_layout Description
1732 Action Increase the nesting depth of the (selected) paragraph(s) inside lists.
1733 \end_layout
1734 \begin_layout Description
1735 Syntax depth-increment
1736 \end_layout
1737
1738 \begin_layout Subsection*
1739 LFUN_FONT_BOLD
1740 \end_layout
1741 \begin_layout Description
1742 Action Toggles the bold font (selection-wise) using mathbf in math.
1743 \end_layout
1744 \begin_layout Description
1745 Syntax font-bold
1746 \end_layout
1747
1748 \begin_layout Subsection*
1749 LFUN_FONT_BOLDSYMBOL
1750 \end_layout
1751 \begin_layout Description
1752 Action Toggles the bold font (selection-wise) using boldsymbol in math.
1753 \end_layout
1754 \begin_layout Description
1755 Syntax font-boldsymbol
1756 \end_layout
1757
1758 \begin_layout Subsection*
1759 LFUN_FONT_TYPEWRITER
1760 \end_layout
1761 \begin_layout Description
1762 Action Toggles the typewriter family font (selection-wise).
1763 \end_layout
1764 \begin_layout Description
1765 Syntax font-typewriter
1766 \end_layout
1767
1768 \begin_layout Subsection*
1769 LFUN_FONT_UNDERLINE
1770 \end_layout
1771 \begin_layout Description
1772 Action Toggles underline in the font (selection-wise).
1773 \end_layout
1774 \begin_layout Description
1775 Syntax font-underline
1776 \end_layout
1777
1778 \begin_layout Subsection*
1779 LFUN_FONT_UULINE
1780 \end_layout
1781 \begin_layout Description
1782 Action Toggles double underline in the font (selection-wise).
1783 \end_layout
1784 \begin_layout Description
1785 Syntax font-underunderline
1786 \end_layout
1787 \begin_layout Description
1788 Origin sanda, 5 May 2009
1789 \end_layout
1790
1791 \begin_layout Subsection*
1792 LFUN_FONT_UWAVE
1793 \end_layout
1794 \begin_layout Description
1795 Action Toggles wavy underline in the font (selection-wise).
1796 \end_layout
1797 \begin_layout Description
1798 Syntax font-underwave
1799 \end_layout
1800 \begin_layout Description
1801 Origin sanda, 5 May 2009
1802 \end_layout
1803
1804 \begin_layout Subsection*
1805 LFUN_FONT_STRIKEOUT
1806 \end_layout
1807 \begin_layout Description
1808 Action Toggles strikeout (strike-through) in the font (selection-wise).
1809 \end_layout
1810 \begin_layout Description
1811 Syntax font-strikeout
1812 \end_layout
1813 \begin_layout Description
1814 Origin sanda, 3 May 2009
1815 \end_layout
1816
1817 \begin_layout Subsection*
1818 LFUN_FONT_EMPH
1819 \end_layout
1820 \begin_layout Description
1821 Action Toggles the emphasis font style (selection-wise).
1822 \end_layout
1823 \begin_layout Description
1824 Syntax font-emph
1825 \end_layout
1826
1827 \begin_layout Subsection*
1828 LFUN_FONT_NOUN
1829 \end_layout
1830 \begin_layout Description
1831 Action Toggles Noun text style font (selection-wise).
1832 \end_layout
1833 \begin_layout Description
1834 Syntax font-noun
1835 \end_layout
1836
1837 \begin_layout Subsection*
1838 LFUN_FONT_ROMAN
1839 \end_layout
1840 \begin_layout Description
1841 Action Toggles Roman family font (selection-wise).
1842 \end_layout
1843 \begin_layout Description
1844 Syntax font-roman
1845 \end_layout
1846
1847 \begin_layout Subsection*
1848 LFUN_FONT_SANS
1849 \end_layout
1850 \begin_layout Description
1851 Action Toggles Sans Serif family font (selection-wise).
1852 \end_layout
1853 \begin_layout Description
1854 Syntax font-sans
1855 \end_layout
1856
1857 \begin_layout Subsection*
1858 LFUN_FONT_FRAK
1859 \end_layout
1860 \begin_layout Description
1861 Action Toggles Fraktur family font (math-mode, selection-wise).
1862 \end_layout
1863 \begin_layout Description
1864 Syntax font-frak
1865 \end_layout
1866 \begin_layout Description
1867 Origin vermeer, 10 Jan 2002
1868 \end_layout
1869
1870 \begin_layout Subsection*
1871 LFUN_FONT_ITAL
1872 \end_layout
1873 \begin_layout Description
1874 Action Toggles Italics font shape (math-mode, selection-wise).
1875 \end_layout
1876 \begin_layout Description
1877 Syntax font-ital
1878 \end_layout
1879 \begin_layout Description
1880 Origin vermeer, 10 Jan 2002
1881 \end_layout
1882
1883 \begin_layout Subsection*
1884 LFUN_FONT_DEFAULT
1885 \end_layout
1886 \begin_layout Description
1887 Action Reverts the settings of the font to the default values (selection-wise).
1888 \end_layout
1889 \begin_layout Description
1890 Syntax font-default
1891 \end_layout
1892
1893 \begin_layout Subsection*
1894 LFUN_FONT_SIZE
1895 \end_layout
1896 \begin_layout Description
1897 Action Sets font size according to lyx format string.
1898 \end_layout
1899 \begin_layout Description
1900 Syntax font-size <SIZE>
1901 \end_layout
1902 \begin_layout Description
1903 Params <SIZE>: tiny|scriptsize|footnotesize|small|normal|large|larger|
1904 \begin_inset Newline newline
1905 \end_inset
1906
1907 largest|huge|giant|increase|decrease|default
1908 \end_layout
1909
1910 \begin_layout Subsection*
1911 LFUN_TEXTSTYLE_APPLY
1912 \end_layout
1913 \begin_layout Description
1914 Action Toggle user-defined (=last-time used) text style.
1915 \end_layout
1916 \begin_layout Description
1917 Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically trigerred when using Text Style dialog.
1918 \end_layout
1919 \begin_layout Description
1920 Syntax textstyle-apply
1921 \end_layout
1922 \begin_layout Description
1923 Origin leeming, 12 Mar 2003
1924 \end_layout
1925
1926 \begin_layout Subsection*
1927 LFUN_TEXTSTYLE_UPDATE
1928 \end_layout
1929 \begin_layout Description
1930 Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APPLY.
1931 \end_layout
1932 \begin_layout Description
1933 Syntax textstyle-update <FONT_INFO>
1934 \end_layout
1935 \begin_layout Description
1936 Params <FONT_INFO>: specifies font atributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall.
1937 \begin_inset Newline newline
1938 \end_inset
1939
1940 Use lyx -dbg action for exact syntax of text-style dialog parameters.
1941 \end_layout
1942 \begin_layout Description
1943 Origin leeming, 12 Mar 2003
1944 \end_layout
1945
1946 \begin_layout Subsection*
1947 LFUN_SCREEN_FONT_UPDATE
1948 \end_layout
1949 \begin_layout Description
1950 Action Update fonts and its metrics.
1951 \end_layout
1952 \begin_layout Description
1953 Notion Automatically called after zoom, dpi, font names, or norm change.
1954 \end_layout
1955 \begin_layout Description
1956 Syntax screen-font-update
1957 \end_layout
1958 \begin_layout Description
1959 Origin ARRae, 13 Aug 2000
1960 \end_layout
1961
1962 \begin_layout Subsection*
1963 LFUN_FONT_STATE
1964 \end_layout
1965 \begin_layout Description
1966 Action Returns the info about the current font.
1967 \end_layout
1968 \begin_layout Description
1969 Syntax font-state
1970 \end_layout
1971
1972 \begin_layout Subsection*
1973 LFUN_CITATION_INSERT
1974 \end_layout
1975 \begin_layout Description
1976 Action Inserts citation from loaded citation database.
1977 \end_layout
1978 \begin_layout Description
1979 Syntax citation-insert [<KEY>[|<TEXT_BEFORE>]]
1980 \end_layout
1981 \begin_layout Description
1982 Params <KEY>: Citation (shortcut listed in available citations).
1983 \begin_inset Newline newline
1984 \end_inset
1985
1986 <TEXT_BEFORE>: text which should appear before citation.
1987 \end_layout
1988 \begin_layout Description
1989 Origin AAS, 97-02-23
1990 \end_layout
1991
1992 \begin_layout Subsection*
1993 LFUN_BIBTEX_DATABASE_ADD
1994 \end_layout
1995 \begin_layout Description
1996 Action Adds database, which will be used for bibtex citations.
1997 \end_layout
1998 \begin_layout Description
1999 Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2000 \end_layout
2001 \begin_layout Description
2002 Syntax bibtex-database-add <DATABASE-NAME>
2003 \end_layout
2004 \begin_layout Description
2005 Origin Ale, 30 May 1997
2006 \end_layout
2007
2008 \begin_layout Subsection*
2009 LFUN_BIBTEX_DATABASE_DEL
2010 \end_layout
2011 \begin_layout Description
2012 Action Adds database, which will be used for bibtex citations.
2013 \end_layout
2014 \begin_layout Description
2015 Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion.
2016 \end_layout
2017 \begin_layout Description
2018 Syntax bibtex-database-del <DATABASE-NAME>
2019 \end_layout
2020 \begin_layout Description
2021 Origin Ale, 30 May 1997
2022 \end_layout
2023
2024 \begin_layout Subsection*
2025 LFUN_LAYOUT
2026 \end_layout
2027 \begin_layout Description
2028 Action Sets the layout (that is, environment) for the current paragraph.
2029 \end_layout
2030 \begin_layout Description
2031 Syntax layout <LAYOUT>
2032 \end_layout
2033 \begin_layout Description
2034 Params <LAYOUT>: the layout to use
2035 \end_layout
2036
2037 \begin_layout Subsection*
2038 LFUN_LAYOUT_PARAGRAPH
2039 \end_layout
2040 \begin_layout Description
2041 Action Launches the paragraph settings dialog.
2042 \end_layout
2043 \begin_layout Description
2044 Syntax layout-paragraph
2045 \end_layout
2046
2047 \begin_layout Subsection*
2048 LFUN_LAYOUT_TABULAR
2049 \end_layout
2050 \begin_layout Description
2051 Action Launches the tabular settings dialog.
2052 \end_layout
2053 \begin_layout Description
2054 Syntax layout-tabular
2055 \end_layout
2056 \begin_layout Description
2057 Origin Jug, 31 Jul 2000
2058 \end_layout
2059
2060 \begin_layout Subsection*
2061 LFUN_DROP_LAYOUTS_CHOICE
2062 \end_layout
2063 \begin_layout Description
2064 Action Displays list of layout choices.
2065 \end_layout
2066 \begin_layout Description
2067 Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox allowing for choice of layout.
2068 \end_layout
2069 \begin_layout Description
2070 Syntax drop-layouts-choice
2071 \end_layout
2072
2073 \begin_layout Subsection*
2074 LFUN_LAYOUT_MODULES_CLEAR
2075 \end_layout
2076 \begin_layout Description
2077 Action Clears the module list.
2078 \end_layout
2079 \begin_layout Description
2080 Notion Clears the list of included modules for the current buffer.
2081 \end_layout
2082 \begin_layout Description
2083 Syntax layout-modules-clear
2084 \end_layout
2085 \begin_layout Description
2086 Origin rgh, 25 August 2007
2087 \end_layout
2088
2089 \begin_layout Subsection*
2090 LFUN_LAYOUT_MODULE_ADD
2091 \end_layout
2092 \begin_layout Description
2093 Action Adds a module.
2094 \end_layout
2095 \begin_layout Description
2096 Notion Adds a module to the list of included modules for the current buffer.
2097 \end_layout
2098 \begin_layout Description
2099 Syntax layout-module-add <MODULE>
2100 \end_layout
2101 \begin_layout Description
2102 Params <MODULE>: the module to be added
2103 \end_layout
2104 \begin_layout Description
2105 Origin rgh, 25 August 2007
2106 \end_layout
2107
2108 \begin_layout Subsection*
2109 LFUN_LAYOUT_RELOAD
2110 \end_layout
2111 \begin_layout Description
2112 Action Reloads layout information.
2113 \end_layout
2114 \begin_layout Description
2115 Notion Reloads all layout information for the current buffer from disk, thus recognizing any changes that have been made to layout files on the fly. This is intended to be used only by layout developers and should not be used when one is trying to do actual work.
2116 \end_layout
2117 \begin_layout Description
2118 Syntax layout-reload
2119 \end_layout
2120 \begin_layout Description
2121 Origin rgh, 3 September 2007
2122 \end_layout
2123
2124 \begin_layout Subsection*
2125 LFUN_TEXTCLASS_APPLY
2126 \end_layout
2127 \begin_layout Description
2128 Action Sets the text class for the current buffer.
2129 \end_layout
2130 \begin_layout Description
2131 Syntax textclass-apply <TEXTCLASS>
2132 \end_layout
2133 \begin_layout Description
2134 Params <TEXTCLASS>: the textclass to set. Note that this must be the filename, minus the ".layout" extension.
2135 \end_layout
2136
2137 \begin_layout Subsection*
2138 LFUN_TEXTCLASS_LOAD
2139 \end_layout
2140 \begin_layout Description
2141 Action Loads information for a textclass from disk.
2142 \end_layout
2143 \begin_layout Description
2144 Syntax textclass-load <TEXTCLASS>
2145 \end_layout
2146 \begin_layout Description
2147 Params <TEXTCLASS>: the textclass to load. Note that this must be the filename, minus the ".layout" extension.
2148 \end_layout
2149
2150 \begin_layout Subsection*
2151 LFUN_MARK_OFF
2152 \end_layout
2153 \begin_layout Description
2154 Action Disable selecting of text-region.
2155 \end_layout
2156 \begin_layout Description
2157 Syntax mark-off
2158 \end_layout
2159
2160 \begin_layout Subsection*
2161 LFUN_MARK_ON
2162 \end_layout
2163 \begin_layout Description
2164 Action Enable selecting of text-region.
2165 \end_layout
2166 \begin_layout Description
2167 Notion After enabling you can simply move arrow keys to get selected region.
2168 \end_layout
2169 \begin_layout Description
2170 Syntax mark-on
2171 \end_layout
2172
2173 \begin_layout Subsection*
2174 LFUN_MARK_TOGGLE
2175 \end_layout
2176 \begin_layout Description
2177 Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF .
2178 \end_layout
2179 \begin_layout Description
2180 Syntax mark-toggle
2181 \end_layout
2182 \begin_layout Description
2183 Origin Andre, May 5 2006
2184 \end_layout
2185
2186 \begin_layout Subsection*
2187 LFUN_MATH_DELIM
2188 \end_layout
2189 \begin_layout Description
2190 Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression.
2191 \end_layout
2192 \begin_layout Description
2193 Syntax math-delim [<LEFT>] [<RIGHT>]
2194 \end_layout
2195 \begin_layout Description
2196 Params <LEFT/RIGHT>: Delimiters to be used. Each delimiter can be specified by either a LaTeX name or a valid character. ( is the default letter.
2197 \end_layout
2198 \begin_layout Description
2199 Sample math-delim { rangle
2200 \end_layout
2201 \begin_layout Description
2202 Origin Alejandro, 18 Jun 1996
2203 \end_layout
2204
2205 \begin_layout Subsection*
2206 LFUN_MATH_BIGDELIM
2207 \end_layout
2208 \begin_layout Description
2209 Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression.
2210 \end_layout
2211 \begin_layout Description
2212 Syntax math-bigdelim <LSIZE> <LDELIM> <RSIZE> <RDELIM>
2213 \end_layout
2214 \begin_layout Description
2215 Params <L/RSIZE>: bigl/r|Bigl/r|biggl/r|Biggl/r
2216 \begin_inset Newline newline
2217 \end_inset
2218
2219 <L/RDELIM>: TeX code for delimiter. See Delimiter dialog for delimiters to be used.
2220 \end_layout
2221 \begin_layout Description
2222 Sample math-bigdelim "Bigl" "
2223 \backslash
2224 Downarrow" "Bigr" "
2225 \backslash
2226 }"
2227 \end_layout
2228 \begin_layout Description
2229 Origin Enrico & Georg, 7 May 2006
2230 \end_layout
2231
2232 \begin_layout Subsection*
2233 LFUN_MATH_DISPLAY
2234 \end_layout
2235 \begin_layout Description
2236 Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode.
2237 \end_layout
2238 \begin_layout Description
2239 Syntax math-display [<ARG>]
2240 \end_layout
2241 \begin_layout Description
2242 Params <ARG>: this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode.
2243 \end_layout
2244 \begin_layout Description
2245 Origin Alejandro, 18 Jun 1996
2246 \end_layout
2247
2248 \begin_layout Subsection*
2249 LFUN_MATH_INSERT
2250 \end_layout
2251 \begin_layout Description
2252 Action Inserts math objects and symbols.
2253 \end_layout
2254 \begin_layout Description
2255 Notion When <ARG> is a _single_ math inset with more than one cell (such as "x_y^z" or "
2256 \backslash
2257 frac{x}{y}"), the content of cell(0) is replaced by the current selection (only works if the selection is in mathed). As an example, if "abc" is selected in mathed, "math-insert 
2258 \backslash
2259 frac{x}{y}" replaces "abc" with "
2260 \backslash
2261 frac{abc}{y}", and "math-insert x_y^z" replaces "abc" with "abc_y^z". If nothing is selected (or the selection is not in mathed), math-insert works as expected.
2262 \end_layout
2263 \begin_layout Description
2264 Syntax math-insert <ARG>
2265 \end_layout
2266 \begin_layout Description
2267 Params <ARG>: Symbol or LaTeX code to be inserted.
2268 \end_layout
2269
2270 \begin_layout Subsection*
2271 LFUN_MATH_SUBSCRIPT
2272 \end_layout
2273 \begin_layout Description
2274 Action Enters subscript expression in math expression.
2275 \end_layout
2276 \begin_layout Description
2277 Syntax math-subscript
2278 \end_layout
2279 \begin_layout Description
2280 Origin vermeer, 12 Dec 2001
2281 \end_layout
2282
2283 \begin_layout Subsection*
2284 LFUN_MATH_SUPERSCRIPT
2285 \end_layout
2286 \begin_layout Description
2287 Action Enters subscript expression in math expression.
2288 \end_layout
2289 \begin_layout Description
2290 Syntax math-superscript
2291 \end_layout
2292 \begin_layout Description
2293 Origin vermeer, 12 Dec 2001
2294 \end_layout
2295
2296 \begin_layout Subsection*
2297 LFUN_MATH_LIMITS
2298 \end_layout
2299 \begin_layout Description
2300 Action Toggles the position of the limits from above/below to the right side an vice versa in integral symbol, a limit, a summation, etc.
2301 \end_layout
2302 \begin_layout Description
2303 Notion Put the cursor before the symbol with the limits and then invoke math-limits.
2304 \end_layout
2305 \begin_layout Description
2306 Syntax math-limits [<STATE>]
2307 \end_layout
2308 \begin_layout Description
2309 Params <STATE>: limits|nolimits
2310 \end_layout
2311
2312 \begin_layout Subsection*
2313 LFUN_MATH_MACRO
2314 \end_layout
2315 \begin_layout Description
2316 Action Inserts a math macro definition at the cursor position in the text.
2317 \end_layout
2318 \begin_layout Description
2319 Syntax math-macro <NAME> [<NARGS>] [def]
2320 \end_layout
2321 \begin_layout Description
2322 Params <NAME>: The name of the macro, e.g. "mymacro".
2323 \begin_inset Newline newline
2324 \end_inset
2325
2326 <NARGS>: The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions.
2327 \end_layout
2328 \begin_layout Description
2329 Origin ale, 10 May 1997;  sts, 21 Dec 2007
2330 \end_layout
2331
2332 \begin_layout Subsection*
2333 LFUN_MATH_MUTATE
2334 \end_layout
2335 \begin_layout Description
2336 Action Mutates the type of math inset to the newly selected one.
2337 \end_layout
2338 \begin_layout Description
2339 Syntax math-mutate <TYPE>
2340 \end_layout
2341 \begin_layout Description
2342 Params <TYPE>: none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign
2343 \end_layout
2344 \begin_layout Description
2345 Origin Andre, 23 May 2001
2346 \end_layout
2347
2348 \begin_layout Subsection*
2349 LFUN_MATH_SPACE
2350 \end_layout
2351 \begin_layout Description
2352 Action Inserts space into math expression.
2353 \end_layout
2354 \begin_layout Description
2355 Notion Use spacebar after entering this space to change type of space.
2356 \end_layout
2357 \begin_layout Description
2358 Syntax math-space [<TYPE>] [<LEN>]
2359 \end_layout
2360 \begin_layout Description
2361 Params <TYPE>: negative spaces: !|negthinspace|negmedspace|negthickspace
2362 \begin_inset Newline newline
2363 \end_inset
2364
2365 positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad
2366 \begin_inset Newline newline
2367 \end_inset
2368
2369 custom space: hspace
2370 \begin_inset Newline newline
2371 \end_inset
2372
2373 "," used by default.
2374 \begin_inset Newline newline
2375 \end_inset
2376
2377 Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace.
2378 \begin_inset Newline newline
2379 \end_inset
2380
2381 <LEN>: length for custom spaces (hspace)
2382 \end_layout
2383 \begin_layout Description
2384 Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008
2385 \end_layout
2386
2387 \begin_layout Subsection*
2388 LFUN_MATH_MATRIX
2389 \end_layout
2390 \begin_layout Description
2391 Action Inserts a matrix.
2392 \end_layout
2393 \begin_layout Description
2394 Syntax math-matrix <COLS> <ROWS> [<ALIGN>]
2395 \end_layout
2396 \begin_layout Description
2397 Params <ALIGN>: Alignment is a word composed of the vertical alignment (b, c or t) (i.e. 1 char) and the horizontal alignments (l, c or r) (i.e. <COL> chars).
2398 \end_layout
2399 \begin_layout Description
2400 Sample math-matrix 3 3 bccc
2401 \end_layout
2402
2403 \begin_layout Subsection*
2404 LFUN_MATH_AMS_MATRIX
2405 \end_layout
2406 \begin_layout Description
2407 Action Inserts a matrix.
2408 \end_layout
2409 \begin_layout Description
2410 Syntax math-matrix <COLS> <ROWS> [<DECORATION>]
2411 \end_layout
2412 \begin_layout Description
2413 Params <DECORATION>: Decoration determines the LaTeX name of the matrix that should be created.
2414 \end_layout
2415 \begin_layout Description
2416 Sample math-ams-matrix 3 3 bmatrix
2417 \end_layout
2418
2419 \begin_layout Subsection*
2420 LFUN_MATH_MODE
2421 \end_layout
2422 \begin_layout Description
2423 Action In text mode enters math mode (i.e. puts math insets on the current cursor position), in math mode enters text mode inside math expression.
2424 \end_layout
2425 \begin_layout Description
2426 Notion If there is some selected text, it puts the text inside created math box.
2427 \end_layout
2428 \begin_layout Description
2429 Syntax math-mode [on|<ARG>]
2430 \end_layout
2431 \begin_layout Description
2432 Params <ARG>: eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT .
2433 \begin_inset Newline newline
2434 \end_inset
2435
2436 "on": allow only entering of math mode from text mode.
2437 \end_layout
2438 \begin_layout Description
2439 Origin Alejandro, 4 Jun 1996
2440 \end_layout
2441
2442 \begin_layout Subsection*
2443 LFUN_REGEXP_MODE
2444 \end_layout
2445 \begin_layout Description
2446 Action Enters regexp mode (i.e., puts regexp insets on the current cursor position). Used by the advanced search dialog.
2447 \end_layout
2448 \begin_layout Description
2449 Notion If there is any selected text, then it is moved inside the created regexp inset.
2450 \end_layout
2451 \begin_layout Description
2452 Syntax regexp-mode [<ARG>]
2453 \end_layout
2454 \begin_layout Description
2455 Params <ARG>: eventual argument (regular expression).
2456 \end_layout
2457 \begin_layout Description
2458 Origin Tommaso, 4 Oct 2008
2459 \end_layout
2460
2461 \begin_layout Subsection*
2462 LFUN_MATH_NUMBER_LINE_TOGGLE
2463 \end_layout
2464 \begin_layout Description
2465 Action Toggles numbering of the current formula line.
2466 \end_layout
2467 \begin_layout Description
2468 Notion Must be in display formula mode.
2469 \end_layout
2470 \begin_layout Description
2471 Syntax math-number-line-toggle
2472 \end_layout
2473 \begin_layout Description
2474 Origin Alejandro, 18 Jun 1996
2475 \end_layout
2476
2477 \begin_layout Subsection*
2478 LFUN_MATH_NUMBER_TOGGLE
2479 \end_layout
2480 \begin_layout Description
2481 Action Toggles numbering/labeling of the current formula.
2482 \end_layout
2483 \begin_layout Description
2484 Notion Must be in display formula mode.
2485 \end_layout
2486 \begin_layout Description
2487 Syntax math-number-toggle
2488 \end_layout
2489 \begin_layout Description
2490 Origin Alejandro, 4 Jun 1996
2491 \end_layout
2492
2493 \begin_layout Subsection*
2494 LFUN_MATH_EXTERN
2495 \end_layout
2496 \begin_layout Description
2497 Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language.
2498 \end_layout
2499 \begin_layout Description
2500 Notion Selection can be used to determine the input for the external program.
2501 \end_layout
2502 \begin_layout Description
2503 Syntax math-extern <LANG> [<COMMAND>]
2504 \end_layout
2505 \begin_layout Description
2506 Params <LANG>: octave|maxima|maple|mathematica|script
2507 \begin_inset Newline newline
2508 \end_inset
2509
2510 where "script" stands fot the external script (normalized expression will be passed)
2511 \end_layout
2512 \begin_layout Description
2513 Sample math-extern maple simplify
2514 \end_layout
2515 \begin_layout Description
2516 Origin Andre, 24 Apr 2001
2517 \end_layout
2518
2519 \begin_layout Subsection*
2520 LFUN_MATH_SIZE
2521 \end_layout
2522 \begin_layout Description
2523 Action Changes arbitrarily the size used by math fonts inside a context.
2524 \end_layout
2525 \begin_layout Description
2526 Notion Provides an interface to the LaTeX math mode font size commands.
2527 \end_layout
2528 \begin_layout Description
2529 Syntax math-size <STYLE>
2530 \end_layout
2531 \begin_layout Description
2532 Params <STYLE>: 
2533 \backslash
2534 displaystyle|
2535 \backslash
2536 textstyle|
2537 \backslash
2538 scriptstyle|
2539 \backslash
2540 scriptscriptstyle
2541 \end_layout
2542 \begin_layout Description
2543 Origin Alejandro, 15 Aug 1996; sanda, 14 Jun 2008
2544 \end_layout
2545
2546 \begin_layout Subsection*
2547 LFUN_MATH_FONT_STYLE
2548 \end_layout
2549 \begin_layout Description
2550 Action Changes the text style used in math.
2551 \end_layout
2552 \begin_layout Description
2553 Syntax math-font-style <STYLE>
2554 \end_layout
2555 \begin_layout Description
2556 Params <STYLE>: mathnormal|mathcal|mathfrak|mathrm|mathsf|mathbf |textnormal|textrm|textsf|texttt|textbf|textmd|textit |textsc|textsl|textup
2557 \end_layout
2558 \begin_layout Description
2559 Origin vfr, 9 jan 2009
2560 \end_layout
2561
2562 \begin_layout Subsection*
2563 LFUN_MATH_MACRO_UNFOLD
2564 \end_layout
2565 \begin_layout Description
2566 Action Unfold a Math Macro.
2567 \end_layout
2568 \begin_layout Description
2569 Notion Unfold the Math Macro the cursor is in, i.e. display it as 
2570 \backslash
2571 foo.
2572 \end_layout
2573 \begin_layout Description
2574 Syntax math-macro-unfold
2575 \end_layout
2576 \begin_layout Description
2577 Origin sts, 06 January 2008
2578 \end_layout
2579
2580 \begin_layout Subsection*
2581 LFUN_MATH_MACRO_FOLD
2582 \end_layout
2583 \begin_layout Description
2584 Action Fold a Math Macro.
2585 \end_layout
2586 \begin_layout Description
2587 Notion Fold the Math Macro the cursor is in if it was unfolded, i.e. displayed as 
2588 \backslash
2589 foo before.
2590 \end_layout
2591 \begin_layout Description
2592 Syntax math-macro-fold
2593 \end_layout
2594 \begin_layout Description
2595 Origin sts, 06 January 2008
2596 \end_layout
2597
2598 \begin_layout Subsection*
2599 LFUN_MATH_MACRO_ADD_PARAM
2600 \end_layout
2601 \begin_layout Description
2602 Action Add a parameter.
2603 \end_layout
2604 \begin_layout Description
2605 Notion Add a parameter to a Math Macro.
2606 \end_layout
2607 \begin_layout Description
2608 Syntax math-macro-add-param <NUM>
2609 \end_layout
2610 \begin_layout Description
2611 Params <NUM>: The number of the parameter behind which the new one will be added (1 for the first, i.e. use 0 for add a parameter at the left), defaults to the last one.
2612 \end_layout
2613 \begin_layout Description
2614 Origin sts, 06 January 2008
2615 \end_layout
2616
2617 \begin_layout Subsection*
2618 LFUN_MATH_MACRO_REMOVE_PARAM
2619 \end_layout
2620 \begin_layout Description
2621 Action Remove the last parameter.
2622 \end_layout
2623 \begin_layout Description
2624 Notion Remove the last parameter of a Math Macro and remove its value in all instances of the macro in the buffer.
2625 \end_layout
2626 \begin_layout Description
2627 Syntax math-macro-remove-param <NUM>
2628 \end_layout
2629 \begin_layout Description
2630 Params <NUM>: The number of the parameter to be deleted (1 for the first), defaults to the last one.
2631 \end_layout
2632 \begin_layout Description
2633 Origin sts, 06 January 2008
2634 \end_layout
2635
2636 \begin_layout Subsection*
2637 LFUN_MATH_MACRO_APPEND_GREEDY_PARAM
2638 \end_layout
2639 \begin_layout Description
2640 Action Append a greedy parameter.
2641 \end_layout
2642 \begin_layout Description
2643 Notion Append a greedy parameter to a Math Macro which eats the following mathed cell in every instance of the macro in the buffer.
2644 \end_layout
2645 \begin_layout Description
2646 Syntax math-macro-append-greedy-param
2647 \end_layout
2648 \begin_layout Description
2649 Origin sts, 06 January 2008
2650 \end_layout
2651
2652 \begin_layout Subsection*
2653 LFUN_MATH_MACRO_REMOVE_GREEDY_PARAM
2654 \end_layout
2655 \begin_layout Description
2656 Action Remove a greedy parameter.
2657 \end_layout
2658 \begin_layout Description
2659 Notion Remove a greedy parameter of a Math Macro and spit out the values of it in every instance of the macro in the buffer. If it is an optional parameter the [valud] format is used.
2660 \end_layout
2661 \begin_layout Description
2662 Syntax math-macro-remove-greedy-param
2663 \end_layout
2664 \begin_layout Description
2665 Origin sts, 06 January 2008
2666 \end_layout
2667
2668 \begin_layout Subsection*
2669 LFUN_MATH_MACRO_MAKE_OPTIONAL
2670 \end_layout
2671 \begin_layout Description
2672 Action Make a parameter optional.
2673 \end_layout
2674 \begin_layout Description
2675 Notion Turn the first non-optional parameter of a Math Macro into an optional parameter with a default value.
2676 \end_layout
2677 \begin_layout Description
2678 Syntax math-macro-make-optional
2679 \end_layout
2680 \begin_layout Description
2681 Origin sts, 06 January 2008
2682 \end_layout
2683
2684 \begin_layout Subsection*
2685 LFUN_MATH_MACRO_MAKE_NONOPTIONAL
2686 \end_layout
2687 \begin_layout Description
2688 Action Make a parameter non-optional.
2689 \end_layout
2690 \begin_layout Description
2691 Notion Turn the last optional parameter of a Math Macro into a non-optional parameter. The default value is remembered to be reused later if the user changes his mind.
2692 \end_layout
2693 \begin_layout Description
2694 Syntax math-macro-make-nonoptional
2695 \end_layout
2696 \begin_layout Description
2697 Origin sts, 06 January 2008
2698 \end_layout
2699
2700 \begin_layout Subsection*
2701 LFUN_MATH_MACRO_ADD_OPTIONAL_PARAM
2702 \end_layout
2703 \begin_layout Description
2704 Action Add an optional parameter.
2705 \end_layout
2706 \begin_layout Description
2707 Notion Insert an optional parameter just behind the already existing optional parameters.
2708 \end_layout
2709 \begin_layout Description
2710 Syntax math-macro-add-optional-param
2711 \end_layout
2712 \begin_layout Description
2713 Origin sts, 06 January 2008
2714 \end_layout
2715
2716 \begin_layout Subsection*
2717 LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
2718 \end_layout
2719 \begin_layout Description
2720 Action Remove the last optional parameter.
2721 \end_layout
2722 \begin_layout Description
2723 Notion Remove the last optional parameter of a Math Macro and remove it in all the instances of the macro in the buffer.
2724 \end_layout
2725 \begin_layout Description
2726 Syntax math-macro-remove-optional-param
2727 \end_layout
2728 \begin_layout Description
2729 Origin sts, 06 January 2008
2730 \end_layout
2731
2732 \begin_layout Subsection*
2733 LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM
2734 \end_layout
2735 \begin_layout Description
2736 Action Add a greedy optional parameter.
2737 \end_layout
2738 \begin_layout Description
2739 Notion Add a greedy optional parameter which eats the value from the following cells in mathed which are in the [value] format.
2740 \end_layout
2741 \begin_layout Description
2742 Syntax math-macro-add-greedy-optional-param
2743 \end_layout
2744 \begin_layout Description
2745 Origin sts, 06 January 2008
2746 \end_layout
2747
2748 \begin_layout Subsection*
2749 LFUN_IN_MATHMACROTEMPLATE
2750 \end_layout
2751 \begin_layout Description
2752 Action Only active in Math Macro definition.
2753 \end_layout
2754 \begin_layout Description
2755 Notion Dummy function which is only active in a Math Macro definition. It's used to toggle the Math Macro toolbar if the cursor moves into a Math Macro definition.
2756 \end_layout
2757 \begin_layout Description
2758 Syntax in-mathmacrotemplate
2759 \end_layout
2760 \begin_layout Description
2761 Origin sts, 06 January 2008
2762 \end_layout
2763
2764 \begin_layout Subsection*
2765 LFUN_PARAGRAPH_MOVE_DOWN
2766 \end_layout
2767 \begin_layout Description
2768 Action Moves the current paragraph downwards in the document.
2769 \end_layout
2770 \begin_layout Description
2771 Syntax paragraph-move-down
2772 \end_layout
2773 \begin_layout Description
2774 Origin Edwin, 8 Apr 2006
2775 \end_layout
2776
2777 \begin_layout Subsection*
2778 LFUN_PARAGRAPH_MOVE_UP
2779 \end_layout
2780 \begin_layout Description
2781 Action Moves the current paragraph upwards in the document.
2782 \end_layout
2783 \begin_layout Description
2784 Syntax paragraph-move-up
2785 \end_layout
2786 \begin_layout Description
2787 Origin Edwin, 8 Apr 2006
2788 \end_layout
2789
2790 \begin_layout Subsection*
2791 LFUN_PARAGRAPH_UP
2792 \end_layout
2793 \begin_layout Description
2794 Action Move the cursor to the next paragraph (or begining of the current one) in upward direction.
2795 \end_layout
2796 \begin_layout Description
2797 Syntax paragraph-up
2798 \end_layout
2799 \begin_layout Description
2800 Origin Asger, 1 Oct 1996
2801 \end_layout
2802
2803 \begin_layout Subsection*
2804 LFUN_PARAGRAPH_UP_SELECT
2805 \end_layout
2806 \begin_layout Description
2807 Action Move the cursor and select the text to the next paragraph (or begining of the current one) in upward direction.
2808 \end_layout
2809 \begin_layout Description
2810 Syntax paragraph-up-select
2811 \end_layout
2812 \begin_layout Description
2813 Origin Asger, 1 Oct 1996
2814 \end_layout
2815
2816 \begin_layout Subsection*
2817 LFUN_PARAGRAPH_DOWN
2818 \end_layout
2819 \begin_layout Description
2820 Action Move the cursor to the next paragraph (or begining of the current one) in downward direction.
2821 \end_layout
2822 \begin_layout Description
2823 Syntax paragraph-down
2824 \end_layout
2825 \begin_layout Description
2826 Origin Asger, 1 Oct 1996
2827 \end_layout
2828
2829 \begin_layout Subsection*
2830 LFUN_PARAGRAPH_DOWN_SELECT
2831 \end_layout
2832 \begin_layout Description
2833 Action Move the cursor and select the text to the next paragraph (or begining of the current one) in downward direction.
2834 \end_layout
2835 \begin_layout Description
2836 Syntax paragraph-down-select
2837 \end_layout
2838 \begin_layout Description
2839 Origin Asger, 1 Oct 1996
2840 \end_layout
2841
2842 \begin_layout Subsection*
2843 LFUN_PARAGRAPH_GOTO
2844 \end_layout
2845 \begin_layout Description
2846 Action Jump to a paragraph given by its id number and optionally the desired position within the paragraph.
2847 \end_layout
2848 \begin_layout Description
2849 Notion Note that id number of paragraph is not the sequential number of paragraph seen on the screen. Moreover the id is unique for all opened buffers (documents).
2850 \end_layout
2851 \begin_layout Description
2852 Syntax paragraph-goto <PAR_ID_NUMBER> <POSITION_IN_PAR>
2853 \end_layout
2854 \begin_layout Description
2855 Params <PAR_ID_NUMBER>:  paragraph id
2856 \begin_inset Newline newline
2857 \end_inset
2858
2859 <POSITION_IN_PAR>: desired position within the paragraph
2860 \end_layout
2861 \begin_layout Description
2862 Origin Dekel, 26 Aug 2000
2863 \end_layout
2864
2865 \begin_layout Subsection*
2866 LFUN_BREAK_PARAGRAPH
2867 \end_layout
2868 \begin_layout Description
2869 Action Breaks the current paragraph at the current location.
2870 \end_layout
2871 \begin_layout Description
2872 Notion Removes the selection.
2873 \end_layout
2874 \begin_layout Description
2875 Syntax break-paragraph [<LAYOUT>]
2876 \end_layout
2877 \begin_layout Description
2878 Params <LAYOUT>: "inverse" - decreases depth by one (or change layout to default layout) when the cursor is at the end of the line.
2879 \end_layout
2880
2881 \begin_layout Subsection*
2882 LFUN_PARAGRAPH_PARAMS
2883 \end_layout
2884 \begin_layout Description
2885 Action Change paragraph settings.
2886 \end_layout
2887 \begin_layout Description
2888 Notion Modifies the current paragraph, or currently selected paragraphs. This function only modifies, and does not override, existing settings. Note that the "leftindent" indent setting is deprecated.
2889 \end_layout
2890 \begin_layout Description
2891 Syntax paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
2892 \end_layout
2893 \begin_layout Description
2894 Params <INDENT>:  
2895 \backslash
2896 noindent|
2897 \backslash
2898 indent|
2899 \backslash
2900 indent-toggle|
2901 \backslash
2902 leftindent LENGTH
2903 \begin_inset Newline newline
2904 \end_inset
2905
2906 <SPACING>: 
2907 \backslash
2908 paragraph_spacing default|single|onehalf|double|other SIZE
2909 \begin_inset Newline newline
2910 \end_inset
2911
2912 <ALIGN>:   
2913 \backslash
2914 align block|left|right|center|default
2915 \begin_inset Newline newline
2916 \end_inset
2917
2918 <OTHERS>:  
2919 \backslash
2920 labelwidthstring WIDTH|
2921 \backslash
2922 start_of_appendix
2923 \end_layout
2924 \begin_layout Description
2925 Origin rgh, Aug 15 2007
2926 \end_layout
2927
2928 \begin_layout Subsection*
2929 LFUN_PARAGRAPH_PARAMS_APPLY
2930 \end_layout
2931 \begin_layout Description
2932 Action Change paragraph settings.
2933 \end_layout
2934 \begin_layout Description
2935 Notion Overwrite all nonspecified settings to the default ones. Use paragraph-params lfun if you don't want to overwrite others settings.
2936 \end_layout
2937 \begin_layout Description
2938 Syntax paragraph-params-apply <INDENT> <SPACING> <ALIGN> <OTHERS>
2939 \end_layout
2940 \begin_layout Description
2941 Params For parameters see LFUN_PARAGRAPH_PARAMS
2942 \end_layout
2943 \begin_layout Description
2944 Origin leeming, 30 Mar 2004
2945 \end_layout
2946
2947 \begin_layout Subsection*
2948 LFUN_PARAGRAPH_UPDATE
2949 \end_layout
2950 \begin_layout Description
2951 Action Updates the values inside the paragraph dialog from the paragraph.
2952 \end_layout
2953 \begin_layout Description
2954 Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE.
2955 \end_layout
2956 \begin_layout Description
2957 Origin leeming, 13 Mar 2003
2958 \end_layout
2959
2960 \begin_layout Subsection*
2961 LFUN_OUTLINE_UP
2962 \end_layout
2963 \begin_layout Description
2964 Action Move the current group in the upward direction in the structure of the document.
2965 \end_layout
2966 \begin_layout Description
2967 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2968 \end_layout
2969 \begin_layout Description
2970 Syntax outline-up
2971 \end_layout
2972 \begin_layout Description
2973 Origin Vermeer, 23 Mar 2006
2974 \end_layout
2975
2976 \begin_layout Subsection*
2977 LFUN_OUTLINE_DOWN
2978 \end_layout
2979 \begin_layout Description
2980 Action Move the current group in the downward direction in the structure of the document.
2981 \end_layout
2982 \begin_layout Description
2983 Notion The "group" can be Part/Chapter/Section/etc. It moves the whole substructure of the group.
2984 \end_layout
2985 \begin_layout Description
2986 Syntax outline-down
2987 \end_layout
2988 \begin_layout Description
2989 Origin Vermeer, 23 Mar 2006
2990 \end_layout
2991
2992 \begin_layout Subsection*
2993 LFUN_OUTLINE_IN
2994 \end_layout
2995 \begin_layout Description
2996 Action Moves the current group in the downward direction in the hierarchy of the document structure.
2997 \end_layout
2998 \begin_layout Description
2999 Notion Part -> Chapter -> Section -> etc.
3000 \end_layout
3001 \begin_layout Description
3002 Syntax outline-in
3003 \end_layout
3004 \begin_layout Description
3005 Origin Vermeer, 23 Mar 2006
3006 \end_layout
3007
3008 \begin_layout Subsection*
3009 LFUN_OUTLINE_OUT
3010 \end_layout
3011 \begin_layout Description
3012 Action Moves the current group in the upward direction in the hierarchy of the document structure.
3013 \end_layout
3014 \begin_layout Description
3015 Notion Part <- Chapter <- Section <- etc.
3016 \end_layout
3017 \begin_layout Description
3018 Syntax outline-out
3019 \end_layout
3020 \begin_layout Description
3021 Origin Vermeer, 23 Mar 2006
3022 \end_layout
3023
3024 \begin_layout Subsection*
3025 LFUN_INSET_EDIT
3026 \end_layout
3027 \begin_layout Description
3028 Action Edit the inset at cursor with an external application, if one is attributed.
3029 \end_layout
3030 \begin_layout Description
3031 Syntax inset-edit [<INSET_PARAMS>]
3032 \end_layout
3033 \begin_layout Description
3034 Params <INSET_PARAMS>: Parameters for the inset.
3035 \begin_inset Newline newline
3036 \end_inset
3037
3038 Currently only the filename will be considered.
3039 \end_layout
3040 \begin_layout Description
3041 Origin JSpitzm, 27 Apr 2006
3042 \end_layout
3043
3044 \begin_layout Subsection*
3045 LFUN_TABULAR_INSERT
3046 \end_layout
3047 \begin_layout Description
3048 Action Inserts table into the document.
3049 \end_layout
3050 \begin_layout Description
3051 Syntax tabular-insert [<ROWS> <COLUMNS>]
3052 \end_layout
3053 \begin_layout Description
3054 Params In case no arguments are given show insert dialog.
3055 \end_layout
3056 \begin_layout Description
3057 Origin Jug, 12 Apr 2000
3058 \end_layout
3059
3060 \begin_layout Subsection*
3061 LFUN_TABULAR_FEATURE
3062 \end_layout
3063 \begin_layout Description
3064 Action Sets various features to the table/cell on the current cursor position.
3065 \end_layout
3066 \begin_layout Description
3067 Notion Various math-environment features are handled here as well, e.g. add-vline-left/right for the Grid/Array environment
3068 \end_layout
3069 \begin_layout Description
3070 Syntax tabular-feature <FEATURE> [<ARG>]
3071 \end_layout
3072 \begin_layout Description
3073 Params <FEATURE>: append-row|append-column|delete-row|delete-column|copy-row|copy-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right| align-left|align-right|align-center|align-block|valign-top|valign-bottom| valign-middle|longtabular-align-left|longtabular-align-center| longtabular-align-right|m-align-left|m-align-right|m-align-center| m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|set-all-lines| unset-all-lines|set-longtabular|unset-longtabular|set-pwidth|set-mpwidth| set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption| set-special-column|set-special-multicolumn|set-special-multirow| set-booktabs|unset-booktabs|set-top-space|set-bottom-space| set-interline-space|set-border-lines|tabular-valign-top| tabular-valign-middle|tabular-valign-bottom
3074 \begin_inset Newline newline
3075 \end_inset
3076
3077 <ARG>: additional argument for some commands, use debug mode to explore its values.
3078 \end_layout
3079 \begin_layout Description
3080 Origin Jug, 28 Jul 2000
3081 \end_layout
3082
3083 \begin_layout Subsection*
3084 LFUN_CELL_BACKWARD
3085 \end_layout
3086 \begin_layout Description
3087 Action Moves the cursor to the previous cell inside the table.
3088 \end_layout
3089 \begin_layout Description
3090 Syntax cell-backward
3091 \end_layout
3092 \begin_layout Description
3093 Origin Jug, 22 May 2000
3094 \end_layout
3095
3096 \begin_layout Subsection*
3097 LFUN_CELL_FORWARD
3098 \end_layout
3099 \begin_layout Description
3100 Action Moves the cursor to the next cell inside the table.
3101 \end_layout
3102 \begin_layout Description
3103 Syntax cell-forward
3104 \end_layout
3105
3106 \begin_layout Subsection*
3107 LFUN_CELL_SPLIT
3108 \end_layout
3109 \begin_layout Description
3110 Action Splits cell and shifts right part to the next cell (inside the math grid).
3111 \end_layout
3112 \begin_layout Description
3113 Syntax cell-split
3114 \end_layout
3115 \begin_layout Description
3116 Origin Ale, 15 May 1997
3117 \end_layout
3118
3119 \begin_layout Subsection*
3120 LFUN_VC_REGISTER
3121 \end_layout
3122 \begin_layout Description
3123 Action Register the document as an file inside version control system (RCS, CVS).
3124 \end_layout
3125 \begin_layout Description
3126 Notion File is registered inside cvs, svn or rcs repository acording to the existence of cvs/svn/rcs entries in the document's directory.
3127 \begin_inset Newline newline
3128 \end_inset
3129
3130 See LyX Additional Features Manual (Version Control Chapter) for additional information.
3131 \end_layout
3132 \begin_layout Description
3133 Syntax vc-register
3134 \end_layout
3135 \begin_layout Description
3136 Origin Lgb, 1 Jul 1997
3137 \end_layout
3138
3139 \begin_layout Subsection*
3140 LFUN_VC_CHECK_IN
3141 \end_layout
3142 \begin_layout Description
3143 Action Checks-in/commits the changes of the registered file to the repository.
3144 \end_layout
3145 \begin_layout Description
3146 Notion In RCS case this also unlocks the file.
3147 \end_layout
3148 \begin_layout Description
3149 Syntax vc-check-in
3150 \end_layout
3151 \begin_layout Description
3152 Origin Lgb, 1 Jul 1997
3153 \end_layout
3154
3155 \begin_layout Subsection*
3156 LFUN_VC_CHECK_OUT
3157 \end_layout
3158 \begin_layout Description
3159 Action Checks-out the document for edit (and locks it for RCS).
3160 \end_layout
3161 \begin_layout Description
3162 Notion This is implemented only for RCS and SVN, not CVS.
3163 \end_layout
3164 \begin_layout Description
3165 Syntax vc-check-out
3166 \end_layout
3167 \begin_layout Description
3168 Origin Lgb, 1 Jul 1997
3169 \end_layout
3170
3171 \begin_layout Subsection*
3172 LFUN_VC_REVERT
3173 \end_layout
3174 \begin_layout Description
3175 Action Reverts the document to the last check-in/commit in VCS.
3176 \end_layout
3177 \begin_layout Description
3178 Syntax vc-revert
3179 \end_layout
3180 \begin_layout Description
3181 Origin Lgb, 1 Jul 1997
3182 \end_layout
3183
3184 \begin_layout Subsection*
3185 LFUN_VC_UNDO_LAST
3186 \end_layout
3187 \begin_layout Description
3188 Action Undo last check-in.
3189 \end_layout
3190 \begin_layout Description
3191 Notion This is currently implemented only for RCS.
3192 \end_layout
3193 \begin_layout Description
3194 Syntax vc-check-out
3195 \end_layout
3196 \begin_layout Description
3197 Origin Lgb, 1 Jul 1997
3198 \end_layout
3199
3200 \begin_layout Subsection*
3201 LFUN_VC_COMMAND
3202 \end_layout
3203 \begin_layout Description
3204 Action Executes external command. This command is intended to support additional VCS commands.
3205 \end_layout
3206 \begin_layout Description
3207 Syntax vc-command <FLAG> <PATH> <COMMAND>
3208 \end_layout
3209 \begin_layout Description
3210 Params  <FLAG>: Flags for the command can be combined together.
3211 \begin_inset Newline newline
3212 \end_inset
3213
3214 U - dUmmy - no flags
3215 \begin_inset Newline newline
3216 \end_inset
3217
3218 D - Doc - need document loaded to proceed
3219 \begin_inset Newline newline
3220 \end_inset
3221
3222 I - dIrty - mark document dirty
3223 \begin_inset Newline newline
3224 \end_inset
3225
3226 R - Reload - ensure that the document is saved and reload it after command execution
3227 \begin_inset Newline newline
3228 \end_inset
3229
3230 M - Message - ask for input string (commit message)
3231 \begin_inset Newline newline
3232 \end_inset
3233
3234 <PATH>: path where to start. $$p will be replaced by the current document path.
3235 \begin_inset Newline newline
3236 \end_inset
3237
3238 <COMMAND>: command to execute. $$i/$$p/$$m will be replaced by the current document(with absolute path)/path/message.
3239 \end_layout
3240 \begin_layout Description
3241 Sample vc-command DR $$p "svn up"
3242 \end_layout
3243 \begin_layout Description
3244 Origin sanda, 13 Jan 2009
3245 \end_layout
3246
3247 \begin_layout Subsection*
3248 LFUN_VC_LOCKING_TOGGLE
3249 \end_layout
3250 \begin_layout Description
3251 Action Toggles the locking property of the edited file.
3252 \end_layout
3253 \begin_layout Description
3254 Notion This is currently implemented only for SVN.
3255 \end_layout
3256 \begin_layout Description
3257 Syntax vc-locking-toggle
3258 \end_layout
3259 \begin_layout Description
3260 Origin sanda, 25 Jun 2009
3261 \end_layout
3262
3263 \begin_layout Subsection*
3264 LFUN_VC_REPO_UPDATE
3265 \end_layout
3266 \begin_layout Description
3267 Action Update the local archive directory in which resides the current document with the remote repository.
3268 \end_layout
3269 \begin_layout Description
3270 Notion This is currently implemented only for SVN.
3271 \end_layout
3272 \begin_layout Description
3273 Syntax vc-repo-update
3274 \end_layout
3275 \begin_layout Description
3276 Origin sanda, 16 Oct 2009
3277 \end_layout
3278
3279 \begin_layout Subsection*
3280 LFUN_CHANGES_TRACK
3281 \end_layout
3282 \begin_layout Description
3283 Action Toggles change tracking to on/off.
3284 \end_layout
3285 \begin_layout Description
3286 Syntax changes-track
3287 \end_layout
3288 \begin_layout Description
3289 Origin levon, 1 Oct 2002
3290 \end_layout
3291
3292 \begin_layout Subsection*
3293 LFUN_CHANGES_OUTPUT
3294 \end_layout
3295 \begin_layout Description
3296 Action Toggles showing of change tracking in typesetted output.
3297 \end_layout
3298 \begin_layout Description
3299 Syntax changes-output
3300 \end_layout
3301 \begin_layout Description
3302 Origin jspitzm, 21 Jan 2005
3303 \end_layout
3304
3305 \begin_layout Subsection*
3306 LFUN_CHANGE_NEXT
3307 \end_layout
3308 \begin_layout Description
3309 Action Moves the cursor to the position of the next change of the change tracking records.
3310 \end_layout
3311 \begin_layout Description
3312 Syntax change-next
3313 \end_layout
3314 \begin_layout Description
3315 Origin schmitt, 4 Oct 2006
3316 \end_layout
3317
3318 \begin_layout Subsection*
3319 LFUN_CHANGE_PREVIOUS
3320 \end_layout
3321 \begin_layout Description
3322 Action Moves the cursor to the position of the previous change of the change tracking records.
3323 \end_layout
3324 \begin_layout Description
3325 Syntax change-previous
3326 \end_layout
3327 \begin_layout Description
3328 Origin vfr, 4 Apr 2009
3329 \end_layout
3330
3331 \begin_layout Subsection*
3332 LFUN_CHANGES_MERGE
3333 \end_layout
3334 \begin_layout Description
3335 Action Open change tracking dialog for merging and moves the cursor to the position of the next change.
3336 \end_layout
3337 \begin_layout Description
3338 Syntax changes-merge
3339 \end_layout
3340 \begin_layout Description
3341 Origin Levon, 16 Oct 2002
3342 \end_layout
3343
3344 \begin_layout Subsection*
3345 LFUN_CHANGE_ACCEPT
3346 \end_layout
3347 \begin_layout Description
3348 Action Accepts tracked change inside the selection.
3349 \end_layout
3350 \begin_layout Description
3351 Syntax change-accept
3352 \end_layout
3353 \begin_layout Description
3354 Origin Levon, 16 Oct 2002
3355 \end_layout
3356
3357 \begin_layout Subsection*
3358 LFUN_CHANGE_REJECT
3359 \end_layout
3360 \begin_layout Description
3361 Action Rejects tracked change inside the selection.
3362 \end_layout
3363 \begin_layout Description
3364 Syntax change-accept
3365 \end_layout
3366 \begin_layout Description
3367 Origin Levon, 16 Oct 2002
3368 \end_layout
3369
3370 \begin_layout Subsection*
3371 LFUN_ALL_CHANGES_ACCEPT
3372 \end_layout
3373 \begin_layout Description
3374 Action Accepts all tracked changes in the document.
3375 \end_layout
3376 \begin_layout Description
3377 Syntax all-changes-accept
3378 \end_layout
3379 \begin_layout Description
3380 Origin Levon, 16 Oct 2002
3381 \end_layout
3382
3383 \begin_layout Subsection*
3384 LFUN_ALL_CHANGES_REJECT
3385 \end_layout
3386 \begin_layout Description
3387 Action Rejects all tracked changes in the document.
3388 \end_layout
3389 \begin_layout Description
3390 Notion Reject does not work recursively; the user may have to repeat the operation.
3391 \end_layout
3392 \begin_layout Description
3393 Syntax all-changes-reject
3394 \end_layout
3395 \begin_layout Description
3396 Origin Levon, 16 Oct 2002
3397 \end_layout
3398
3399 \begin_layout Subsection*
3400 LFUN_INSET_APPLY
3401 \end_layout
3402 \begin_layout Description
3403 Action Apply data for an inset.
3404 \end_layout
3405 \begin_layout Description
3406 Notion LFUN_INSET_APPLY is sent from the dialogs when the data should be applied. This is either changed to LFUN_INSET_MODIFY or LFUN_INSET_INSERT depending on the context where it is called.
3407 \end_layout
3408 \begin_layout Description
3409 Syntax inset-apply <ARGS>
3410 \end_layout
3411 \begin_layout Description
3412 Params See LFUN_INSET_INSERT .
3413 \end_layout
3414
3415 \begin_layout Subsection*
3416 LFUN_INSET_DISSOLVE
3417 \end_layout
3418 \begin_layout Description
3419 Action Dissolve the current inset into text.
3420 \end_layout
3421 \begin_layout Description
3422 Syntax inset-dissolve [<INSET>]
3423 \end_layout
3424 \begin_layout Description
3425 Params <INSET>: this can be used to make sure the right kind of inset is dissolved. For example "dissolve" entry in the charstyles sub-menu should only dissolve the charstyle inset, even if the cursor is inside several nested insets of different type.
3426 \begin_inset Newline newline
3427 \end_inset
3428
3429 For values see lyx::InsetLayout::lyxtype_ .
3430 \end_layout
3431 \begin_layout Description
3432 Origin JSpitz, 7 Aug 2006
3433 \end_layout
3434
3435 \begin_layout Subsection*
3436 LFUN_INSET_INSERT
3437 \end_layout
3438 \begin_layout Description
3439 Action Insert new inset (type given by the parameters).
3440 \end_layout
3441 \begin_layout Description
3442 Syntax inset-insert <INSET> <ARGS>
3443 \end_layout
3444 \begin_layout Description
3445 Params <INSET>: <bibitem|bibtex|cite|ert|listings|external|graphics| hyperlink|include|index|label|nomencl|vspace|ref|toc>
3446 \begin_inset Newline newline
3447 \end_inset
3448
3449 <ARGS>: depends on the given inset. Use "lyx -dbg action" to explore.
3450 \end_layout
3451 \begin_layout Description
3452 Sample inset-insert ref LatexCommand <Format> reference "<label name>"
3453 \backslash
3454 end_inset
3455 \begin_inset Newline newline
3456 \end_inset
3457
3458 where <label name> is the name of the referenced label and <Format> is one of the following:
3459 \begin_inset Newline newline
3460 \end_inset
3461
3462 ref -- <reference>
3463 \begin_inset Newline newline
3464 \end_inset
3465
3466 eqref -- (<reference>)
3467 \begin_inset Newline newline
3468 \end_inset
3469
3470 pageref -- <page>
3471 \begin_inset Newline newline
3472 \end_inset
3473
3474 vpageref -- on <page>
3475 \begin_inset Newline newline
3476 \end_inset
3477
3478 vref -- <reference> on <page>
3479 \begin_inset Newline newline
3480 \end_inset
3481
3482 prettyref -- Formatted reference
3483 \end_layout
3484
3485 \begin_layout Subsection*
3486 LFUN_INSET_MODIFY
3487 \end_layout
3488 \begin_layout Description
3489 Action Modify some properties of an inset.
3490 \end_layout
3491 \begin_layout Description
3492 Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, graphics, include, index, info, label, listings, newline, newpage, nomencl, note, phantom, ref, space, tabular, vspace, wrap insets.
3493 \end_layout
3494 \begin_layout Description
3495 Syntax inset-modify <INSET> <ARGS>inset-modify changetype <TYPE>
3496 \end_layout
3497 \begin_layout Description
3498 Params See LFUN_INSET_INSERT for further details.
3499 \end_layout
3500 \begin_layout Description
3501 Sample inset-modify note Note Commentinset-modify changetype Ovalbox
3502 \end_layout
3503
3504 \begin_layout Subsection*
3505 LFUN_INSET_DIALOG_UPDATE
3506 \end_layout
3507 \begin_layout Description
3508 Action Updates the values inside the dialog from the inset.
3509 \end_layout
3510 \begin_layout Description
3511 Notion This is internal LFUN, not to be used by users. Called internally by LFUN_DIALOG_UPDATE
3512 \end_layout
3513 \begin_layout Description
3514 Params <DIALOG-NAME>
3515 \end_layout
3516 \begin_layout Description
3517 Origin leeming, 25 Feb 2003
3518 \end_layout
3519
3520 \begin_layout Subsection*
3521 LFUN_INSET_SETTINGS
3522 \end_layout
3523 \begin_layout Description
3524 Action Open the inset's properties dialog.
3525 \end_layout
3526 \begin_layout Description
3527 Notion Used for bibitem, bibtex, box, branch, citation, ert, external, float, graphics, href, include, index, index_print, label, listings, note, phantom, ref, space, tabular, vspace, wrap insets.
3528 \end_layout
3529 \begin_layout Description
3530 Syntax inset-settings <INSET>
3531 \end_layout
3532 \begin_layout Description
3533 Params <INSET>: <bibitem|bibtex|box|branch|citation|ert|external|float| graphics|href|include|index|index_print|label|listings| note|phantom|ref|space|tabular|vspace|wrap>.
3534 \end_layout
3535
3536 \begin_layout Subsection*
3537 LFUN_INSET_TOGGLE
3538 \end_layout
3539 \begin_layout Description
3540 Action Toggles the collapsable inset at cursor position, or the inset we are currently in.
3541 \end_layout
3542 \begin_layout Description
3543 Syntax inset-toggle [<ARG>]
3544 \end_layout
3545 \begin_layout Description
3546 Params <ARG>: <open|close|toggle|assign>.
3547 \begin_inset Newline newline
3548 \end_inset
3549
3550 open/close/toggle are for collapsable insets. toggle is used when no argument is given.
3551 \begin_inset Newline newline
3552 \end_inset
3553
3554 assign synchronize the branch-inset with activation status of the branch. Used for global toggling when changed activation.
3555 \end_layout
3556 \begin_layout Description
3557 Origin lasgouttes, 19 Jul 2001
3558 \end_layout
3559
3560 \begin_layout Subsection*
3561 LFUN_ALL_INSETS_TOGGLE
3562 \end_layout
3563 \begin_layout Description
3564 Action Toggles (open/closes) all collapsable insets (of a given type) in the document.
3565 \end_layout
3566 \begin_layout Description
3567 Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets.
3568 \end_layout
3569 \begin_layout Description
3570 Syntax all-insets-toggle [<STATE>] [<INSET>]
3571 \end_layout
3572 \begin_layout Description
3573 Params <STATE>: <toggle|open|close|assign> default: toggle
3574 \begin_inset Newline newline
3575 \end_inset
3576
3577 <INSET>: <box|branch|ert|float|listings|note|tabular|wrap> default: all insets
3578 \end_layout
3579 \begin_layout Description
3580 Origin leeming, 30 Mar 2004
3581 \end_layout
3582
3583 \begin_layout Subsection*
3584 LFUN_INSET_FORALL
3585 \end_layout
3586 \begin_layout Description
3587 Action Apply the given commands on insets of a given name.
3588 \end_layout
3589 \begin_layout Description
3590 Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 10000.
3591 \end_layout
3592 \begin_layout Description
3593 Syntax inset-forall <NAME> <LFUN-COMMAND>
3594 \begin_inset Newline newline
3595 \end_inset
3596
3597 <NAME>: Type of Inset. If <NAME> is *, all insets are matched. The name is used like for InsetLayout in layout files: "Note" matches all note insets, while "Note:Note" only matches LyX yellow note insets.
3598 \end_layout
3599 \begin_layout Description
3600 Sample Remove all index insets:
3601 \begin_inset Newline newline
3602 \end_inset
3603
3604                    inset-forall Index delete-char-forward
3605 \begin_inset Newline newline
3606 \end_inset
3607
3608 Close all Notes (also works for a particular branch, for example):
3609 \begin_inset Newline newline
3610 \end_inset
3611
3612                    inset-forall Note inset-toggle close
3613 \begin_inset Newline newline
3614 \end_inset
3615
3616 Transform all yellow notes to comments
3617 \begin_inset Newline newline
3618 \end_inset
3619
3620 inset-forall Note:Note inset-modify note Note Comment
3621 \begin_inset Newline newline
3622 \end_inset
3623
3624 Try to put LyX in an infinite loop if there is at least a Note:
3625 \begin_inset Newline newline
3626 \end_inset
3627
3628                    inset-forall Note char-backward
3629 \end_layout
3630 \begin_layout Description
3631 Origin lasgouttes, 27 Nov 2009
3632 \end_layout
3633
3634 \begin_layout Subsection*
3635 LFUN_GRAPHICS_RELOAD
3636 \end_layout
3637 \begin_layout Description
3638 Action Reloads the image if necessary.
3639 \end_layout
3640 \begin_layout Description
3641 Syntax graphics-reload
3642 \end_layout
3643 \begin_layout Description
3644 Origin vfr, 10 Aug 2009
3645 \end_layout
3646
3647 \begin_layout Subsection*
3648 LFUN_SET_GRAPHICS_GROUP
3649 \end_layout
3650 \begin_layout Description
3651 Action Set the group for the graphics inset on the cursor position.
3652 \end_layout
3653 \begin_layout Description
3654 Syntax set-graphics-group [<GROUP>]
3655 \end_layout
3656 \begin_layout Description
3657 Params <GROUP>: Id for an existing group. In case the Id is an empty string, the graphics inset is removed from the current group.
3658 \end_layout
3659 \begin_layout Description
3660 Origin sanda, 6 May 2008
3661 \end_layout
3662
3663 \begin_layout Subsection*
3664 LFUN_FINISHED_FORWARD
3665 \end_layout
3666 \begin_layout Description
3667 Action Moves the cursor out of the current slice, going forward.
3668 \end_layout
3669 \begin_layout Description
3670 Notion Cursor movement within an inset may be different than cursor movement in the surrounding text. This action should be called automatically by the cursor movement within the inset, when movement within the inset has ceased (reached the end of the last paragraph, for example), in order to move correctly back into the surrounding text.
3671 \end_layout
3672
3673 \begin_layout Subsection*
3674 LFUN_FINISHED_BACKWARD
3675 \end_layout
3676 \begin_layout Description
3677 Action Moves the cursor out of the current slice, going backwards.
3678 \end_layout
3679 \begin_layout Description
3680 Notion See also LFUN_FINISHED_FORWARD.
3681 \end_layout
3682
3683 \begin_layout Subsection*
3684 LFUN_FINISHED_RIGHT
3685 \end_layout
3686 \begin_layout Description
3687 Action Moves the cursor out of the current slice, going right.
3688 \end_layout
3689 \begin_layout Description
3690 Notion See also LFUN_FINISHED_FORWARD
3691 \end_layout
3692
3693 \begin_layout Subsection*
3694 LFUN_FINISHED_LEFT
3695 \end_layout
3696 \begin_layout Description
3697 Action Moves the cursor out of the current slice, going left.
3698 \end_layout
3699 \begin_layout Description
3700 Notion See also LFUN_FINISHED_FORWARD.
3701 \end_layout
3702
3703 \begin_layout Subsection*
3704 LFUN_LANGUAGE
3705 \end_layout
3706 \begin_layout Description
3707 Action Set language from the current cursor position.
3708 \end_layout
3709 \begin_layout Description
3710 Syntax language <LANG>
3711 \end_layout
3712 \begin_layout Description
3713 Params <LANG>: Requested language. Look in lib/languages for the list.
3714 \end_layout
3715 \begin_layout Description
3716 Origin Dekel, 2 Mar 2000
3717 \end_layout
3718
3719 \begin_layout Subsection*
3720 LFUN_LABEL_GOTO
3721 \end_layout
3722 \begin_layout Description
3723 Action Goto a label.
3724 \end_layout
3725 \begin_layout Description
3726 Syntax label-goto [<LABEL>]
3727 \end_layout
3728 \begin_layout Description
3729 Params <LABEL>: Requested label. If no label is given and reference is on cursor position, Bookmark 0 is saved and cursor moves to the position of referenced label.
3730 \end_layout
3731 \begin_layout Description
3732 Origin Ale, 6 Aug 1997
3733 \end_layout
3734
3735 \begin_layout Subsection*
3736 LFUN_LABEL_INSERT
3737 \end_layout
3738 \begin_layout Description
3739 Action Inserts label to text or displayed formula.
3740 \end_layout
3741 \begin_layout Description
3742 Syntax label-insert [<LABEL>]
3743 \end_layout
3744 \begin_layout Description
3745 Params <LABEL>: Requested label. If no label is given dialog requesting name will be opened.
3746 \end_layout
3747
3748 \begin_layout Subsection*
3749 LFUN_REFERENCE_NEXT
3750 \end_layout
3751 \begin_layout Description
3752 Action Go to the next label or cross-reference.
3753 \end_layout
3754 \begin_layout Description
3755 Syntax reference-next
3756 \end_layout
3757 \begin_layout Description
3758 Origin Dekel, 14 Jan 2001
3759 \end_layout
3760
3761 \begin_layout Subsection*
3762 LFUN_BOOKMARK_GOTO
3763 \end_layout
3764 \begin_layout Description
3765 Action Moves the cursor to the numbered bookmark, opening the file if necessary. Note that bookmarsk are saved per-session, not per file.
3766 \end_layout
3767 \begin_layout Description
3768 Notion Bookmark 0 has a special purpose. It is automatically set
3769 \begin_inset Newline newline
3770 \end_inset
3771
3772 1. to the paragraph you are currently editing
3773 \begin_inset Newline newline
3774 \end_inset
3775
3776 2. to the paragraph from where you are jumping to the last-edited position (jump-back feature)
3777 \begin_inset Newline newline
3778 \end_inset
3779
3780 3. when jumping from crossreference to the requested label by LFUN_LABEL_GOTO.
3781 \end_layout
3782 \begin_layout Description
3783 Syntax bookmark-goto <NUMBER>
3784 \end_layout
3785 \begin_layout Description
3786 Params <NUMBER>: the number of the bookmark to restore.
3787 \end_layout
3788 \begin_layout Description
3789 Origin Dekel, 27 January 2001
3790 \end_layout
3791
3792 \begin_layout Subsection*
3793 LFUN_BOOKMARK_SAVE
3794 \end_layout
3795 \begin_layout Description
3796 Action Save a bookmark.
3797 \end_layout
3798 \begin_layout Description
3799 Notion Saves a numbered bookmark to the sessions file. The number must be between 1 and 9, inclusive. Note that bookmarks are saved per-session, not per file.
3800 \end_layout
3801 \begin_layout Description
3802 Syntax bookmark-save <NUMBER>
3803 \end_layout
3804 \begin_layout Description
3805 Params <NUMBER>: the number of the bookmark to save.
3806 \end_layout
3807 \begin_layout Description
3808 Origin Dekel, 27 January 2001
3809 \end_layout
3810
3811 \begin_layout Subsection*
3812 LFUN_BOOKMARK_CLEAR
3813 \end_layout
3814 \begin_layout Description
3815 Action Clears the list of saved bookmarks.
3816 \end_layout
3817 \begin_layout Description
3818 Syntax bookmark-clear
3819 \end_layout
3820 \begin_layout Description
3821 Origin bpeng, 31 October 2006
3822 \end_layout
3823
3824 \begin_layout Subsection*
3825 LFUN_HELP_OPEN
3826 \end_layout
3827 \begin_layout Description
3828 Action Open the given help file according to the language setting.
3829 \end_layout
3830 \begin_layout Description
3831 Syntax help-open <FILE>[.lyx]
3832 \end_layout
3833 \begin_layout Description
3834 Params <FILE>: any document from (/usr/share/)doc directory.
3835 \end_layout
3836 \begin_layout Description
3837 Origin Jug, 27 Jun 1999
3838 \end_layout
3839
3840 \begin_layout Subsection*
3841 LFUN_LYX_QUIT
3842 \end_layout
3843 \begin_layout Description
3844 Action Terminates the current LyX instance.
3845 \end_layout
3846 \begin_layout Description
3847 Notion Terminates the current LyX instance, asking whether to save modified documents, etc.
3848 \end_layout
3849 \begin_layout Description
3850 Syntax lyx-quit
3851 \end_layout
3852
3853 \begin_layout Subsection*
3854 LFUN_TOOLBAR_TOGGLE
3855 \end_layout
3856 \begin_layout Description
3857 Action Toggles visibility of a given toolbar between on/off/auto.
3858 \end_layout
3859 \begin_layout Description
3860 Notion Skipping "auto" when allowauto is false.
3861 \end_layout
3862 \begin_layout Description
3863 Syntax toolbar-toggle <NAME> [allowauto]
3864 \end_layout
3865 \begin_layout Description
3866 Params <NAME>: standard|extra|table|math|mathmacrotemplate| minibuffer|review|view/update|math_panels|vcs
3867 \end_layout
3868 \begin_layout Description
3869 Origin Edwin, 21 May 2007
3870 \end_layout
3871
3872 \begin_layout Subsection*
3873 LFUN_MENU_OPEN
3874 \end_layout
3875 \begin_layout Description
3876 Action Opens the menu given by its name.
3877 \end_layout
3878 \begin_layout Description
3879 Syntax menu-open <NAME>
3880 \end_layout
3881 \begin_layout Description
3882 Params <NAME>: menu name. See various .inc files in lib/ui for candidates.
3883 \end_layout
3884
3885 \begin_layout Subsection*
3886 LFUN_UI_TOGGLE
3887 \end_layout
3888 \begin_layout Description
3889 Action Various UI visibility-toggling actions.
3890 \end_layout
3891 \begin_layout Description
3892 Syntax ui-toggle <statusbar|menubar|scrollbar|frame|fullscreen>
3893 \end_layout
3894 \begin_layout Description
3895 Params statusbar  : Toggle visibility of the statusbar.
3896 \begin_inset Newline newline
3897 \end_inset
3898
3899 menubar    : Toggle visibility of the menubar.
3900 \begin_inset Newline newline
3901 \end_inset
3902
3903 scrollbar  : Toggle visibility of the scrollbar.
3904 \begin_inset Newline newline
3905 \end_inset
3906
3907 frame      : Toggle visibility of the frames around editing window.
3908 \begin_inset Newline newline
3909 \end_inset
3910
3911 fullscreen : Toggle fullscreen mode. This also covers calling the previous functions. However LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should be used.
3912 \end_layout
3913 \begin_layout Description
3914 Origin sanda, 9 Feb 2007
3915 \end_layout
3916
3917 \begin_layout Subsection*
3918 LFUN_WINDOW_NEW
3919 \end_layout
3920 \begin_layout Description
3921 Action Creates new empty LyX window.
3922 \end_layout
3923 \begin_layout Description
3924 Notion Already opened documents from the previous window can be found under View menu.
3925 \end_layout
3926 \begin_layout Description
3927 Syntax window-new [<GEOMETRY>]
3928 \end_layout
3929 \begin_layout Description
3930 Params <GEOMETRY>: pass the geometry of the window. This parameter is currently accepted only on Windows platform.
3931 \end_layout
3932 \begin_layout Description
3933 Origin Abdel, 21 Oct 2006
3934 \end_layout
3935
3936 \begin_layout Subsection*
3937 LFUN_WINDOW_CLOSE
3938 \end_layout
3939 \begin_layout Description
3940 Action Closes the current LyX window.
3941 \end_layout
3942 \begin_layout Description
3943 Syntax window-close
3944 \end_layout
3945 \begin_layout Description
3946 Origin Abdel, 23 Oct 2006
3947 \end_layout
3948
3949 \begin_layout Subsection*
3950 LFUN_SPLIT_VIEW
3951 \end_layout
3952 \begin_layout Description
3953 Action Creates another split view of current buffer.
3954 \end_layout
3955 \begin_layout Description
3956 Notion All split views act in the same way indpendently.
3957 \end_layout
3958 \begin_layout Description
3959 Syntax split-view <vertical|horizontal>
3960 \end_layout
3961 \begin_layout Description
3962 Params horizontal : The work areas are laid out side by side.
3963 \begin_inset Newline newline
3964 \end_inset
3965
3966 vertical   : The work areas laid out vertically.
3967 \end_layout
3968 \begin_layout Description
3969 Origin Abdel, 20 Feb 2008
3970 \end_layout
3971
3972 \begin_layout Subsection*
3973 LFUN_CLOSE_TAB_GROUP
3974 \end_layout
3975 \begin_layout Description
3976 Action Close the current tab group.
3977 \end_layout
3978 \begin_layout Description
3979 Notion This only closes the work areas, not the buffer themselves. The still opened buffers can be visualized in another tab group.
3980 \end_layout
3981 \begin_layout Description
3982 Syntax close-tab-group
3983 \end_layout
3984 \begin_layout Description
3985 Origin Abdel, 21 Feb 2008
3986 \end_layout
3987
3988 \begin_layout Subsection*
3989 LFUN_DIALOG_SHOW
3990 \end_layout
3991 \begin_layout Description
3992 Action Shows hidden dialog or create new one for a given function/inset settings etc.
3993 \end_layout
3994 \begin_layout Description
3995 Syntax dialog-show <NAME> [<DATA>]
3996 \end_layout
3997 \begin_layout Description
3998 Params <NAME>: aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|
3999 \begin_inset Newline newline
4000 \end_inset
4001
4002 compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|
4003 \begin_inset Newline newline
4004 \end_inset
4005
4006 graphics|href|include|index|index_print|info|label|listings|log|mathdelimiter|
4007 \begin_inset Newline newline
4008 \end_inset
4009
4010 mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|
4011 \begin_inset Newline newline
4012 \end_inset
4013
4014 print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|
4015 \begin_inset Newline newline
4016 \end_inset
4017
4018 thesaurus|texinfo|toc|view-source|vspace|wrap|<SPECIAL>
4019 \begin_inset Newline newline
4020 \end_inset
4021
4022 <SPECIAL>: latexlog|vclog
4023 \begin_inset Newline newline
4024 \end_inset
4025
4026 <DATA>: data, usually settings for the given dialog. Use debug mode for the details.
4027 \end_layout
4028 \begin_layout Description
4029 Origin leeming, 17 Jun 2003
4030 \end_layout
4031
4032 \begin_layout Subsection*
4033 LFUN_DIALOG_SHOW_NEW_INSET
4034 \end_layout
4035 \begin_layout Description
4036 Action Shows hidden dialog or create new one for a given inset settings etc.
4037 \end_layout
4038 \begin_layout Description
4039 Notion Internally uses LFUN_DIALOG_SHOW with processed data for a given inset.
4040 \end_layout
4041 \begin_layout Description
4042 Syntax dialog-show-new-inset <NAME> [<DATA>]
4043 \end_layout
4044 \begin_layout Description
4045 Params See LFUN_DIALOG_SHOW .
4046 \end_layout
4047 \begin_layout Description
4048 Origin leeming, 25 Feb 2003
4049 \end_layout
4050
4051 \begin_layout Subsection*
4052 LFUN_DIALOG_UPDATE
4053 \end_layout
4054 \begin_layout Description
4055 Action Updates the dialog values from the inset/paragraph/document.
4056 \end_layout
4057 \begin_layout Description
4058 Syntax dialog-update <NAME>
4059 \end_layout
4060 \begin_layout Description
4061 Params <NAME>: paragraph|prefs|<INSET>
4062 \begin_inset Newline newline
4063 \end_inset
4064
4065 <INSET>: inset name
4066 \end_layout
4067 \begin_layout Description
4068 Origin leeming, 25 Feb 2003
4069 \end_layout
4070
4071 \begin_layout Subsection*
4072 LFUN_DIALOG_HIDE
4073 \end_layout
4074 \begin_layout Description
4075 Action Hides showed dialog. Counterpart to LFUN_DIALOG_SHOW .
4076 \end_layout
4077 \begin_layout Description
4078 Syntax dialog-hide <NAME>
4079 \end_layout
4080 \begin_layout Description
4081 Params See LFUN_DIALOG_SHOW .
4082 \end_layout
4083 \begin_layout Description
4084 Origin leeming, 25 Feb 2003
4085 \end_layout
4086
4087 \begin_layout Subsection*
4088 LFUN_DIALOG_TOGGLE
4089 \end_layout
4090 \begin_layout Description
4091 Action Toggles dialog between showed/hidden state.
4092 \end_layout
4093 \begin_layout Description
4094 Notion Internally uses LFUN_DIALOG_SHOW , LFUN_DIALOG_HIDE .
4095 \end_layout
4096 \begin_layout Description
4097 Syntax dialog-toggle <NAME> [<DATA>]
4098 \end_layout
4099 \begin_layout Description
4100 Params See LFUN_DIALOG_SHOW .
4101 \end_layout
4102 \begin_layout Description
4103 Origin JSpitzm, 30 Apr 2007
4104 \end_layout
4105
4106 \begin_layout Subsection*
4107 LFUN_DIALOG_DISCONNECT_INSET
4108 \end_layout
4109 \begin_layout Description
4110 Action Closes opened connection to opened inset.
4111 \end_layout
4112 \begin_layout Description
4113 Notion Connection is used for apply functions.
4114 \end_layout
4115 \begin_layout Description
4116 Syntax dialog-disconnect-inset <INSET-NAME>
4117 \end_layout
4118 \begin_layout Description
4119 Origin leeming, 25 Feb 2003
4120 \end_layout
4121
4122 \begin_layout Subsection*
4123 LFUN_MOUSE_PRESS
4124 \end_layout
4125 \begin_layout Description
4126 Action This function is called when mouse button is pressed (inside workarea). Action depends on the context.
4127 \end_layout
4128 \begin_layout Description
4129 Notion This is internal LFUN, not to be used by users.
4130 \end_layout
4131 \begin_layout Description
4132 Origin Andre, 9 Aug 2002
4133 \end_layout
4134
4135 \begin_layout Subsection*
4136 LFUN_MOUSE_DOUBLE
4137 \end_layout
4138 \begin_layout Description
4139 Action This function is called when double click on mouse button is pressed (inside workarea). Action depends on the context.
4140 \end_layout
4141 \begin_layout Description
4142 Notion This is internal LFUN, not to be used by users.
4143 \end_layout
4144 \begin_layout Description
4145 Origin Andre, 9 Aug 2002
4146 \end_layout
4147
4148 \begin_layout Subsection*
4149 LFUN_MOUSE_TRIPLE
4150 \end_layout
4151 \begin_layout Description
4152 Action This function is called when triple click on mouse button is pressed (inside workarea). Action depends on the context.
4153 \end_layout
4154 \begin_layout Description
4155 Notion This is internal LFUN, not to be used by users.
4156 \end_layout
4157 \begin_layout Description
4158 Origin Andre, 9 Aug 2002
4159 \end_layout
4160
4161 \begin_layout Subsection*
4162 LFUN_MOUSE_MOTION
4163 \end_layout
4164 \begin_layout Description
4165 Action This function is called when mouse cursor is moving over the text. Action depends on the context.
4166 \end_layout
4167 \begin_layout Description
4168 Notion This is internal LFUN, not to be used by users.
4169 \end_layout
4170 \begin_layout Description
4171 Origin Andre, 9 Aug 2002
4172 \end_layout
4173
4174 \begin_layout Subsection*
4175 LFUN_MOUSE_RELEASE
4176 \end_layout
4177 \begin_layout Description
4178 Action This function is called when mouse button is released (inside workarea). Action depends on the context.
4179 \end_layout
4180 \begin_layout Description
4181 Notion This is internal LFUN, not to be used by users.
4182 \end_layout
4183 \begin_layout Description
4184 Origin Andre, 9 Aug 2002
4185 \end_layout
4186
4187 \begin_layout Subsection*
4188 LFUN_KEYMAP_OFF
4189 \end_layout
4190 \begin_layout Description
4191 Action Turn off the loaded keyboard map.
4192 \end_layout
4193 \begin_layout Description
4194 Syntax keymap-off
4195 \end_layout
4196
4197 \begin_layout Subsection*
4198 LFUN_KEYMAP_PRIMARY
4199 \end_layout
4200 \begin_layout Description
4201 Action Turn on the primary keyboard map.
4202 \end_layout
4203 \begin_layout Description
4204 Notion Maps were widely used in past, when X-windows didn't have nowadays keyboard support. They can be still used to maintain uniform keyboard layout across the various plaforms.
4205 \begin_inset Newline newline
4206 \end_inset
4207
4208 The language is to be set in the Preferences dialog.
4209 \end_layout
4210 \begin_layout Description
4211 Syntax keymap-primary
4212 \end_layout
4213
4214 \begin_layout Subsection*
4215 LFUN_KEYMAP_SECONDARY
4216 \end_layout
4217 \begin_layout Description
4218 Action Turn on the secondary keyboard map.
4219 \end_layout
4220 \begin_layout Description
4221 Syntax keymap-secondary
4222 \end_layout
4223
4224 \begin_layout Subsection*
4225 LFUN_KEYMAP_TOGGLE
4226 \end_layout
4227 \begin_layout Description
4228 Action Toggles keyboard maps (first/second/off).
4229 \end_layout
4230 \begin_layout Description
4231 Syntax keymap-toggle
4232 \end_layout
4233 \begin_layout Description
4234 Origin leeming, 30 Mar 2004
4235 \end_layout
4236
4237 \begin_layout Subsection*
4238 LFUN_SERVER_GET_LAYOUT
4239 \end_layout
4240 \begin_layout Description
4241 Action Returns the current layout (that is environment) name on the cursor position.
4242 \end_layout
4243 \begin_layout Description
4244 Syntax server-get-layout
4245 \end_layout
4246
4247 \begin_layout Subsection*
4248 LFUN_SERVER_GET_FILENAME
4249 \end_layout
4250 \begin_layout Description
4251 Action Returns path and file name of the currently edited document.
4252 \end_layout
4253 \begin_layout Description
4254 Syntax server-get-filename
4255 \end_layout
4256
4257 \begin_layout Subsection*
4258 LFUN_SERVER_GOTO_FILE_ROW
4259 \end_layout
4260 \begin_layout Description
4261 Action Sets the cursor position based on the row number of generated TeX file.
4262 \end_layout
4263 \begin_layout Description
4264 Notion This can be useful for DVI inverse-search or detection of the problematic line from LaTeX compilation. Note that before this function can be used export to LaTeX output must occur (in order to map the row numbers).
4265 \end_layout
4266 \begin_layout Description
4267 Syntax server-goto-file-row <FILE[.ext]> <ROW_NUMBER>
4268 \end_layout
4269 \begin_layout Description
4270 Params <FILE>: the filename. Environment variables are expanded in the path. In case this LFUN does not work make sure you are giving correct path to the file.
4271 \begin_inset Newline newline
4272 \end_inset
4273
4274 If the file is located inside LyX temporary directory it will be mapped back into the appropriate opened buffer (e.g. for the case of generated .tex file). .ext: extensions will be automatically replaced by .lyx. <ROW_NUMBER> The row number of the LaTeX file to which to go.
4275 \end_layout
4276 \begin_layout Description
4277 Origin Edmar, 23 Dec 1998
4278 \end_layout
4279
4280 \begin_layout Subsection*
4281 LFUN_SERVER_NOTIFY
4282 \end_layout
4283 \begin_layout Description
4284 Action Sends notify message about the last key-sequence to client.
4285 \end_layout
4286 \begin_layout Description
4287 Notion This can be used to grab last key-sequence used inside the LyX window. See also Debug extensions section in Additional features manual.
4288 \end_layout
4289 \begin_layout Description
4290 Syntax server-notify
4291 \end_layout
4292
4293 \begin_layout Subsection*
4294 LFUN_SERVER_SET_XY
4295 \end_layout
4296 \begin_layout Description
4297 Action Sets the cursor position based on the editing area coordinates (similar as clicking on that point with left mouse button).
4298 \end_layout
4299 \begin_layout Description
4300 Syntax server-set-xy <X> <Y>
4301 \end_layout
4302
4303 \begin_layout Subsection*
4304 LFUN_SERVER_GET_XY
4305 \end_layout
4306 \begin_layout Description
4307 Action Returns the coordinates of cursor position in the editing area.
4308 \end_layout
4309 \begin_layout Description
4310 Syntax server-get-xy
4311 \end_layout
4312
4313 \begin_layout Subsection*
4314 LFUN_BUILD_PROGRAM
4315 \end_layout
4316 \begin_layout Description
4317 Action Generates the code (literate programming).
4318 \end_layout
4319 \begin_layout Description
4320 Notion Latex file with extension 
4321 \backslash
4322 literate_extension is generated. Then LyX invokes 
4323 \backslash
4324 build_command (with a default of``make'') to generate the code and 
4325 \backslash
4326 build_error_filter to process the compilation error messages.
4327 \begin_inset Newline newline
4328 \end_inset
4329
4330 In case you want to process your literate file with a script, or some other program, just insert in your lyxrc file an entry with:
4331 \begin_inset Newline newline
4332 \end_inset
4333
4334
4335 \backslash
4336 build_command "my_script my_arguments"
4337 \begin_inset Newline newline
4338 \end_inset
4339
4340 The 
4341 \backslash
4342 build_error_filter differs from the 
4343 \backslash
4344 literate_error_filter only in that the former will identify error messages from your compiler.
4345 \end_layout
4346 \begin_layout Description
4347 Syntax build-program
4348 \end_layout
4349
4350 \begin_layout Subsection*
4351 LFUN_BUFFER_AUTO_SAVE
4352 \end_layout
4353 \begin_layout Description
4354 Action Saves the current buffer to a temporary file.
4355 \end_layout
4356 \begin_layout Description
4357 Notion Saves the current buffer to a file named "#filename#". This LFUN is called automatically by LyX, to "autosave" the current buffer.
4358 \end_layout
4359 \begin_layout Description
4360 Syntax buffer-auto-save
4361 \end_layout
4362
4363 \begin_layout Subsection*
4364 LFUN_BUFFER_CHILD_OPEN
4365 \end_layout
4366 \begin_layout Description
4367 Action Loads the given child document.
4368 \end_layout
4369 \begin_layout Description
4370 Notion The current document is treated as a parent.
4371 \end_layout
4372 \begin_layout Description
4373 Syntax buffer-child-open <FILE>
4374 \end_layout
4375 \begin_layout Description
4376 Params <FILE>: Filename of the child. The directory of the parent is assumed by default.
4377 \end_layout
4378 \begin_layout Description
4379 Origin Ale, 28 May 1997
4380 \end_layout
4381
4382 \begin_layout Subsection*
4383 LFUN_BUFFER_CHKTEX
4384 \end_layout
4385 \begin_layout Description
4386 Action Runs chktex for the current document.
4387 \end_layout
4388 \begin_layout Description
4389 Syntax buffer-chktex
4390 \end_layout
4391 \begin_layout Description
4392 Origin Asger, 30 Oct 1997
4393 \end_layout
4394
4395 \begin_layout Subsection*
4396 LFUN_BUFFER_TOGGLE_COMPRESSION
4397 \end_layout
4398 \begin_layout Description
4399 Action Toggles compression of the current document on/off.
4400 \end_layout
4401 \begin_layout Description
4402 Syntax buffer-toggle-compression
4403 \end_layout
4404 \begin_layout Description
4405 Origin bpeng, 27 Apr 2006
4406 \end_layout
4407
4408 \begin_layout Subsection*
4409 LFUN_BUFFER_CLOSE
4410 \end_layout
4411 \begin_layout Description
4412 Action Closes the current buffer.
4413 \end_layout
4414 \begin_layout Description
4415 Notion Closes the current buffer, asking whether to save it, etc, if the buffer has been modified.
4416 \end_layout
4417 \begin_layout Description
4418 Syntax buffer-close
4419 \end_layout
4420
4421 \begin_layout Subsection*
4422 LFUN_BUFFER_CLOSE_ALL
4423 \end_layout
4424 \begin_layout Description
4425 Action Closes all buffers.
4426 \end_layout
4427 \begin_layout Description
4428 Notion Closes all buffers, asking whether to save it, etc, if a buffer has been modified.
4429 \end_layout
4430 \begin_layout Description
4431 Syntax buffer-close-all
4432 \end_layout
4433
4434 \begin_layout Subsection*
4435 LFUN_BUFFER_EXPORT
4436 \end_layout
4437 \begin_layout Description
4438 Action Exports the current buffer (document) to the given format.
4439 \end_layout
4440 \begin_layout Description
4441 Syntax buffer-export <FORMAT>
4442 \end_layout
4443 \begin_layout Description
4444 Params <FORMAT> is either "custom" or one of the formats which you can find in Tools->Preferences->File formats->Format. Usual format you will enter is "pdf2" (pdflatex), "pdflatex" (plain tex for pdflatex) or "ps" for postscript.
4445 \begin_inset Newline newline
4446 \end_inset
4447
4448 In case of "custom" you will be asked for a format you want to start from and for the command that you want to apply to this format. Internally the control is then passed to LFUN_BUFFER_EXPORT_CUSTOM.
4449 \end_layout
4450 \begin_layout Description
4451 Origin Lgb, 29 Jul 1997
4452 \end_layout
4453
4454 \begin_layout Subsection*
4455 LFUN_BUFFER_EXPORT_CUSTOM
4456 \end_layout
4457 \begin_layout Description
4458 Action Exports the current buffer (document) from the given format using the given command on it.
4459 \end_layout
4460 \begin_layout Description
4461 Syntax buffer-export-custom <FORMAT> <COMMAND>
4462 \end_layout
4463 \begin_layout Description
4464 Params <FORMAT> format to start from (LyX will care to produce such intermediate file).
4465 \begin_inset Newline newline
4466 \end_inset
4467
4468 <COMMAND> this command will be launched on the file. Note that you can use "$$FName" string to qualify the intermediate file.
4469 \end_layout
4470 \begin_layout Description
4471 Sample buffer-export-custom dvi dvips -f $$FName -o myfile.ps
4472 \end_layout
4473 \begin_layout Description
4474 Origin leeming, 27 Mar 2004
4475 \end_layout
4476
4477 \begin_layout Subsection*
4478 LFUN_BUFFER_PRINT
4479 \end_layout
4480 \begin_layout Description
4481 Action Prints the current document.
4482 \end_layout
4483 \begin_layout Description
4484 Notion Many settings can be given via the preferences dialog.
4485 \end_layout
4486 \begin_layout Description
4487 Syntax buffer-print <TARGET> <TARGET-NAME> <COMMAND>
4488 \end_layout
4489 \begin_layout Description
4490 Params <TARGET> is either "printer" or "file".
4491 \begin_inset Newline newline
4492 \end_inset
4493
4494 <TARGER-NAME> is either "default" or file name or printer name.
4495 \begin_inset Newline newline
4496 \end_inset
4497
4498 <COMMAND> command ensuring the printing job.
4499 \end_layout
4500 \begin_layout Description
4501 Sample buffer-print file "/trash/newfile1.ps" "dvips"
4502 \end_layout
4503 \begin_layout Description
4504 Origin leeming, 28 Mar 2004
4505 \end_layout
4506
4507 \begin_layout Subsection*
4508 LFUN_BUFFER_IMPORT
4509 \end_layout
4510 \begin_layout Description
4511 Action Import a given file as a lyx document.
4512 \end_layout
4513 \begin_layout Description
4514 Notion File can be imported iff lyx file format is (transitively) reachable via defined convertors in preferences. Look into File->Import menu to get an idea of the currently active import formats.
4515 \end_layout
4516 \begin_layout Description
4517 Syntax buffer-import <FORMAT> [<FILE>]
4518 \end_layout
4519 \begin_layout Description
4520 Origin Asger, 24 Jul 1998
4521 \end_layout
4522
4523 \begin_layout Subsection*
4524 LFUN_BUFFER_NEW
4525 \end_layout
4526 \begin_layout Description
4527 Action Creates a new buffer (that is, document).
4528 \end_layout
4529 \begin_layout Description
4530 Notion Implicit path can be set in Preferences dialog.
4531 \end_layout
4532 \begin_layout Description
4533 Syntax buffer-new [<FILE>]
4534 \end_layout
4535 \begin_layout Description
4536 Params <FILE>: filename of created file with absolute path.
4537 \end_layout
4538
4539 \begin_layout Subsection*
4540 LFUN_BUFFER_NEW_TEMPLATE
4541 \end_layout
4542 \begin_layout Description
4543 Action Creates a new buffer (that is, document) from a template.
4544 \end_layout
4545 \begin_layout Description
4546 Notion Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog.
4547 \end_layout
4548 \begin_layout Description
4549 Syntax buffer-new-template [<FILE>]
4550 \end_layout
4551 \begin_layout Description
4552 Params <FILE>: filename of created file with absolute path.
4553 \end_layout
4554
4555 \begin_layout Subsection*
4556 LFUN_BUFFER_RELOAD
4557 \end_layout
4558 \begin_layout Description
4559 Action Reverts opened document.
4560 \end_layout
4561 \begin_layout Description
4562 Syntax buffer-reload
4563 \end_layout
4564 \begin_layout Description
4565 Origin Asger, 2 Feb 1997
4566 \end_layout
4567
4568 \begin_layout Subsection*
4569 LFUN_BUFFER_SWITCH
4570 \end_layout
4571 \begin_layout Description
4572 Action Display/switch to the given buffer.
4573 \end_layout
4574 \begin_layout Description
4575 Syntax buffer-switch <BUFFER>
4576 \end_layout
4577 \begin_layout Description
4578 Params <BUFFER>: path and filename of already opened (but possibly hidden) document which is to be shown.
4579 \end_layout
4580
4581 \begin_layout Subsection*
4582 LFUN_BUFFER_TOGGLE_READ_ONLY
4583 \end_layout
4584 \begin_layout Description
4585 Action Toggle editing mode of the current document between read/write and read-only.
4586 \end_layout
4587 \begin_layout Description
4588 Notion This function is not allowed if the file is under version control, since read-only flag is often used in version control file locking.
4589 \end_layout
4590 \begin_layout Description
4591 Syntax buffer-toggle-read-only
4592 \end_layout
4593 \begin_layout Description
4594 Origin Lgb, 27 May 1997
4595 \end_layout
4596
4597 \begin_layout Subsection*
4598 LFUN_BUFFER_VIEW
4599 \end_layout
4600 \begin_layout Description
4601 Action Displays current buffer in chosen format.
4602 \end_layout
4603 \begin_layout Description
4604 Notion Displays the contents of the current buffer in the chosen format, for example, PDF or DVI. This runs the necessary converter, calls the defined viewer, and so forth.
4605 \end_layout
4606 \begin_layout Description
4607 Syntax buffer-view [<FORMAT>]
4608 \end_layout
4609 \begin_layout Description
4610 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4611 \end_layout
4612
4613 \begin_layout Subsection*
4614 LFUN_BUFFER_UPDATE
4615 \end_layout
4616 \begin_layout Description
4617 Action Exports the current document and put the result into the temporary directory.
4618 \end_layout
4619 \begin_layout Description
4620 Notion In case you are already viewing the exported document (see LFUN_BUFFER_VIEW) the output will be rewriten - updated. This is useful in case your viewer is able to detect such changes (e.g. ghostview for postscript).
4621 \end_layout
4622 \begin_layout Description
4623 Syntax buffer-update [<FORMAT>]
4624 \end_layout
4625 \begin_layout Description
4626 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4627 \end_layout
4628 \begin_layout Description
4629 Origin Dekel, 5 Aug 2000
4630 \end_layout
4631
4632 \begin_layout Subsection*
4633 LFUN_BUFFER_WRITE
4634 \end_layout
4635 \begin_layout Description
4636 Action Saves the current buffer.
4637 \end_layout
4638 \begin_layout Description
4639 Notion Saves the current buffer to disk, using the filename that is already associated with the buffer, asking for one if none is yet assigned.
4640 \end_layout
4641 \begin_layout Description
4642 Syntax buffer-write
4643 \end_layout
4644
4645 \begin_layout Subsection*
4646 LFUN_BUFFER_WRITE_AS
4647 \end_layout
4648 \begin_layout Description
4649 Action Rename and save current buffer.
4650 \end_layout
4651 \begin_layout Description
4652 Syntax buffer-write-as <FILENAME>
4653 \end_layout
4654 \begin_layout Description
4655 Params <FILENAME>: New name of the buffer/file. A relative path is with respect to the original location of the buffer/file.
4656 \end_layout
4657
4658 \begin_layout Subsection*
4659 LFUN_BUFFER_WRITE_ALL
4660 \end_layout
4661 \begin_layout Description
4662 Action Save all changed documents.
4663 \end_layout
4664 \begin_layout Description
4665 Syntax buffer-write-all
4666 \end_layout
4667 \begin_layout Description
4668 Origin rgh, gpothier 6 Aug 2007
4669 \end_layout
4670
4671 \begin_layout Subsection*
4672 LFUN_BUFFER_NEXT
4673 \end_layout
4674 \begin_layout Description
4675 Action Switch to the next opened document.
4676 \end_layout
4677 \begin_layout Description
4678 Notion Note that this does not necessarily mean next in tabbar (for full list see View menu).
4679 \end_layout
4680 \begin_layout Description
4681 Syntax buffer-next
4682 \end_layout
4683
4684 \begin_layout Subsection*
4685 LFUN_BUFFER_PREVIOUS
4686 \end_layout
4687 \begin_layout Description
4688 Action Switch to the previous opened document.
4689 \end_layout
4690 \begin_layout Description
4691 Syntax buffer-previous
4692 \end_layout
4693
4694 \begin_layout Subsection*
4695 LFUN_MASTER_BUFFER_UPDATE
4696 \end_layout
4697 \begin_layout Description
4698 Action When run from a child document, this updates (exports) document built from the master buffer, if available.
4699 \end_layout
4700 \begin_layout Description
4701 Syntax master-buffer-update [<FORMAT>]
4702 \end_layout
4703 \begin_layout Description
4704 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4705 \end_layout
4706 \begin_layout Description
4707 Origin Tommaso, 20 Sep 2007
4708 \end_layout
4709
4710 \begin_layout Subsection*
4711 LFUN_MASTER_BUFFER_VIEW
4712 \end_layout
4713 \begin_layout Description
4714 Action When run from a child document, this command shows a preview built from the master buffer, if available.
4715 \end_layout
4716 \begin_layout Description
4717 Syntax master-buffer-view [<FORMAT>]
4718 \end_layout
4719 \begin_layout Description
4720 Params <FORMAT>: The format to display, where this is one of the formats defined (in the current GUI) in the Tools>Preferences>File Formats dialog. If no format is given, the default format as specified in the same dialog is used.
4721 \end_layout
4722 \begin_layout Description
4723 Origin Tommaso, 20 Sep 2007
4724 \end_layout
4725
4726 \begin_layout Subsection*
4727 LFUN_BUFFER_LANGUAGE
4728 \end_layout
4729 \begin_layout Description
4730 Action Set language of the current document.
4731 \end_layout
4732 \begin_layout Description
4733 Syntax buffer-language <LANG>
4734 \end_layout
4735 \begin_layout Description
4736 Params <LANG>: language name. See lib/languages for list.
4737 \end_layout
4738 \begin_layout Description
4739 Origin leeming, 30 Mar 2004
4740 \end_layout
4741
4742 \begin_layout Subsection*
4743 LFUN_BUFFER_SAVE_AS_DEFAULT
4744 \end_layout
4745 \begin_layout Description
4746 Action Save the current document settings as default.
4747 \end_layout
4748 \begin_layout Description
4749 Notion The file will will be saved into ~/.lyx/templates/defaults.lyx .
4750 \end_layout
4751 \begin_layout Description
4752 Syntax buffer-save-as-default [<ARGS>]
4753 \end_layout
4754 \begin_layout Description
4755 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
4756 \end_layout
4757 \begin_layout Description
4758 Origin leeming, 30 Mar 2004
4759 \end_layout
4760
4761 \begin_layout Subsection*
4762 LFUN_BUFFER_PARAMS_APPLY
4763 \end_layout
4764 \begin_layout Description
4765 Action Apply the given settings to the current document.
4766 \end_layout
4767 \begin_layout Description
4768 Syntax buffer-params-apply [<ARGS>]
4769 \end_layout
4770 \begin_layout Description
4771 Params <ARGS>: contains the particular settings to be saved. They obey the syntax you can find in document header of usual .lyx file.
4772 \end_layout
4773 \begin_layout Description
4774 Origin leeming, 30 Mar 2004
4775 \end_layout
4776
4777 \begin_layout Subsection*
4778 LFUN_FILE_INSERT
4779 \end_layout
4780 \begin_layout Description
4781 Action Inserts another LyX file.
4782 \end_layout
4783 \begin_layout Description
4784 Syntax file-insert [<FILE>]
4785 \end_layout
4786 \begin_layout Description
4787 Params <FILE>: Filename to be inserted.
4788 \end_layout
4789
4790 \begin_layout Subsection*
4791 LFUN_FILE_INSERT_PLAINTEXT
4792 \end_layout
4793 \begin_layout Description
4794 Action Inserts plain text file.
4795 \end_layout
4796 \begin_layout Description
4797 Syntax file-insert-plaintext [<FILE>]
4798 \end_layout
4799 \begin_layout Description
4800 Params <FILE>: Filename to be inserted.
4801 \end_layout
4802 \begin_layout Description
4803 Origin CFO-G, 19 Nov 1997
4804 \end_layout
4805
4806 \begin_layout Subsection*
4807 LFUN_FILE_INSERT_PLAINTEXT_PARA
4808 \end_layout
4809 \begin_layout Description
4810 Action Inserts plain text file as paragraph (i.e. join lines).
4811 \end_layout
4812 \begin_layout Description
4813 Syntax file-insert-plaintext-para [<FILE>]
4814 \end_layout
4815 \begin_layout Description
4816 Params <FILE>: Filename to be inserted.
4817 \end_layout
4818 \begin_layout Description
4819 Origin Levon, 14 Feb 2001
4820 \end_layout
4821
4822 \begin_layout Subsection*
4823 LFUN_FILE_OPEN
4824 \end_layout
4825 \begin_layout Description
4826 Action Open LyX document.
4827 \end_layout
4828 \begin_layout Description
4829 Syntax file-open [<FILE>]
4830 \end_layout
4831 \begin_layout Description
4832 Params <FILE>: Filename to be opened.
4833 \end_layout
4834
4835 \begin_layout Subsection*
4836 LFUN_CALL
4837 \end_layout
4838 \begin_layout Description
4839 Action Executes a command defined in a .def file.
4840 \end_layout
4841 \begin_layout Description
4842 Notion The definitions are by default read from lib/commands/default.def.
4843 \begin_inset Newline newline
4844 \end_inset
4845
4846 A .def file allows to define a command with 
4847 \backslash
4848 define "<NAME>" "<LFUN>" where <NAME> is the name of the new command and <LFUN> is the lfun code to be executed (see e.g. LFUN_COMMAND_SEQUENCE). 
4849 \backslash
4850 def_file "FileName" allows to include another .def file.
4851 \begin_inset Newline newline
4852 \end_inset
4853
4854 This is particularly useful in connection with toolbar buttons: Since the name of the button image for this lfun is lib/images/commands/<NAME>.png this is the way to assign an image to a complex command-sequence.
4855 \end_layout
4856 \begin_layout Description
4857 Syntax call <NAME>
4858 \end_layout
4859 \begin_layout Description
4860 Params <NAME>: Name of the command that must be called.
4861 \end_layout
4862 \begin_layout Description
4863 Origin broider, 2 Oct 2007
4864 \end_layout
4865
4866 \begin_layout Subsection*
4867 LFUN_META_PREFIX
4868 \end_layout
4869 \begin_layout Description
4870 Action Simulate halting Meta key (Alt key on PCs).
4871 \end_layout
4872 \begin_layout Description
4873 Notion Used for buffer editation not for GUI control.
4874 \end_layout
4875 \begin_layout Description
4876 Syntax meta-prefix
4877 \end_layout
4878
4879 \begin_layout Subsection*
4880 LFUN_CANCEL
4881 \end_layout
4882 \begin_layout Description
4883 Action Cancels sequence prepared by LFUN_META_PREFIX .
4884 \end_layout
4885 \begin_layout Description
4886 Syntax cancel
4887 \end_layout
4888
4889 \begin_layout Subsection*
4890 LFUN_COMMAND_EXECUTE
4891 \end_layout
4892 \begin_layout Description
4893 Action Switches the focus to the minibuffer so that the user can type in there. If necessary, it opens the minibuffer toolbar.
4894 \end_layout
4895 \begin_layout Description
4896 Notion Usually bound to M-x shortcut.
4897 \end_layout
4898 \begin_layout Description
4899 Syntax command-execute
4900 \end_layout
4901
4902 \begin_layout Subsection*
4903 LFUN_COMMAND_PREFIX
4904 \end_layout
4905 \begin_layout Description
4906 Action Return the current key sequence and available options as a string.
4907 \end_layout
4908 \begin_layout Description
4909 Notion No options are added if no current map exists.
4910 \begin_inset Newline newline
4911 \end_inset
4912
4913 This is probably usable only with connection to lyxserver.
4914 \end_layout
4915 \begin_layout Description
4916 Syntax command-prefix
4917 \end_layout
4918
4919 \begin_layout Subsection*
4920 LFUN_COMMAND_SEQUENCE
4921 \end_layout
4922 \begin_layout Description
4923 Action Run more commands (LFUN and its parameters) in a sequence.
4924 \end_layout
4925 \begin_layout Description
4926 Syntax command-sequence <CMDS>
4927 \end_layout
4928 \begin_layout Description
4929 Params <CMDS>: Sequence of commands separated by semicolons.
4930 \end_layout
4931 \begin_layout Description
4932 Sample command-sequence cut; ert-insert; self-insert 
4933 \backslash
4934 ; paste; self-insert {}; inset-toggle;
4935 \end_layout
4936 \begin_layout Description
4937 Origin Andre, 11 Nov 1999
4938 \end_layout
4939
4940 \begin_layout Subsection*
4941 LFUN_COMMAND_ALTERNATIVES
4942 \end_layout
4943 \begin_layout Description
4944 Action Runs the first listed command that is enabled.
4945 \end_layout
4946 \begin_layout Description
4947 Notion This can be used to bind multiple functions to a single key, and then which one is used will depend upon the context.
4948 \end_layout
4949 \begin_layout Description
4950 Syntax command-alternatives <CMDS>
4951 \end_layout
4952 \begin_layout Description
4953 Params <CMDS>: Sequence of commands separated by semicolons.
4954 \end_layout
4955 \begin_layout Description
4956 Sample command-alternatives completion-accept;cell-forward
4957 \end_layout
4958 \begin_layout Description
4959 Origin rgh, 24 September 2008
4960 \end_layout
4961
4962 \begin_layout Subsection*
4963 LFUN_MESSAGE
4964 \end_layout
4965 \begin_layout Description
4966 Action Shows message in statusbar (for script purposes).
4967 \end_layout
4968 \begin_layout Description
4969 Syntax message <STRING>
4970 \end_layout
4971 \begin_layout Description
4972 Origin Lgb, 8 Apr 2001
4973 \end_layout
4974
4975 \begin_layout Subsection*
4976 LFUN_DEBUG_LEVEL_SET
4977 \end_layout
4978 \begin_layout Description
4979 Action Set debug output level.
4980 \end_layout
4981 \begin_layout Description
4982 Syntax debug-level-set <LEVEL>
4983 \end_layout
4984 \begin_layout Description
4985 Params <LEVEL>: comma separated list of levels or the correspondent number of their combination. 0 is equivalent to disabling all debug events. See lyx -dbg for the current list of debug levels and their numbers.
4986 \end_layout
4987 \begin_layout Description
4988 Origin sanda, 28 Dec 2009
4989 \end_layout
4990
4991 \begin_layout Subsection*
4992 LFUN_PREFERENCES_SAVE
4993 \end_layout
4994 \begin_layout Description
4995 Action Save user preferences.
4996 \end_layout
4997 \begin_layout Description
4998 Syntax preferences-save
4999 \end_layout
5000 \begin_layout Description
5001 Origin Lgb, 27 Nov 1999
5002 \end_layout
5003
5004 \begin_layout Subsection*
5005 LFUN_RECONFIGURE
5006 \end_layout
5007 \begin_layout Description
5008 Action Reconfigure the automatic settings.
5009 \end_layout
5010 \begin_layout Description
5011 Syntax reconfigure
5012 \end_layout
5013 \begin_layout Description
5014 Origin Asger, 14 Feb 1997
5015 \end_layout
5016
5017 \begin_layout Subsection*
5018 LFUN_LYXRC_APPLY
5019 \end_layout
5020 \begin_layout Description
5021 Action Apply the given settings to user preferences.
5022 \end_layout
5023 \begin_layout Description
5024 Syntax lyxrc-apply <SETTINGS>
5025 \end_layout
5026 \begin_layout Description
5027 Params <SETTINGS>: settings which are to be set. Take a look into ~/.lyx/preferences to get an idea which commands to use and their syntax. lyx::LyXRC::LyXRCTags has the list of possible commands.
5028 \end_layout
5029
5030 \begin_layout Subsection*
5031 LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE
5032 \end_layout
5033 \begin_layout Description
5034 Action Determine whether keep cursor inside the editing window regardless the scrollbar movement.
5035 \end_layout
5036 \begin_layout Description
5037 Syntax toggle-cursor-follows-scrollbar
5038 \end_layout
5039 \begin_layout Description
5040 Origin ARRae, 2 Dec 1997
5041 \end_layout
5042
5043 \begin_layout Subsection*
5044 LFUN_SET_COLOR
5045 \end_layout
5046 \begin_layout Description
5047 Action Set the given LyX color to the color defined by the X11 name given.
5048 \end_layout
5049 \begin_layout Description
5050 Notion A new color entry is created if the color is unknown. Color names can be stored as a part of user settings.
5051 \end_layout
5052 \begin_layout Description
5053 Syntax set-color <LYX_NAME> <X11_NAME>
5054 \end_layout
5055 \begin_layout Description
5056 Origin SLior, 11 Jun 2000
5057 \end_layout
5058
5059 \begin_layout Subsection*
5060 LFUN_STATISTICS
5061 \end_layout
5062 \begin_layout Description
5063 Action Count the statistics (number of words and characters) in the document or in the given selection.
5064 \end_layout
5065 \begin_layout Description
5066 Notion Note that this function gives the number of words/chars written, not the number of characters which will be typeset.
5067 \end_layout
5068 \begin_layout Description
5069 Syntax statistics
5070 \end_layout
5071 \begin_layout Description
5072 Origin lasgouttes, Jan 27 2004; sanda, Jan 8 2008
5073 \end_layout
5074
5075 \begin_layout Subsection*
5076 LFUN_COMPLETION_INLINE
5077 \end_layout
5078 \begin_layout Description
5079 Action Show the inline completion at the cursor position.
5080 \end_layout
5081 \begin_layout Description
5082 Syntax completion-inline
5083 \end_layout
5084 \begin_layout Description
5085 Origin sts, Feb 19 2008
5086 \end_layout
5087
5088 \begin_layout Subsection*
5089 LFUN_COMPLETION_POPUP
5090 \end_layout
5091 \begin_layout Description
5092 Action Show the completion popup at the cursor position.
5093 \end_layout
5094 \begin_layout Description
5095 Syntax completion-popup
5096 \end_layout
5097 \begin_layout Description
5098 Origin sts, Feb 19 2008
5099 \end_layout
5100
5101 \begin_layout Subsection*
5102 LFUN_COMPLETION_COMPLETE
5103 \end_layout
5104 \begin_layout Description
5105 Action Try to complete the word or command at the cursor position.
5106 \end_layout
5107 \begin_layout Description
5108 Syntax complete
5109 \end_layout
5110 \begin_layout Description
5111 Origin sts, Feb 19 2008
5112 \end_layout
5113
5114 \begin_layout Subsection*
5115 LFUN_COMPLETION_CANCEL
5116 \end_layout
5117 \begin_layout Description
5118 Action Try to cancel completion, either the popup or the inline completion.
5119 \end_layout
5120 \begin_layout Description
5121 Syntax completion-cancel
5122 \end_layout
5123 \begin_layout Description
5124 Origin sts, Sep 07 2008
5125 \end_layout
5126
5127 \begin_layout Subsection*
5128 LFUN_COMPLETION_ACCEPT
5129 \end_layout
5130 \begin_layout Description
5131 Action Accept suggested completion.
5132 \end_layout
5133 \begin_layout Description
5134 Syntax completion-accept
5135 \end_layout
5136 \begin_layout Description
5137 Origin sanda, Sep 08 2008
5138 \end_layout
5139
5140 \begin_layout Subsection*
5141 LFUN_BRANCH_ADD
5142 \end_layout
5143 \begin_layout Description
5144 Action Add a branch to the buffer's BranchList.
5145 \end_layout
5146 \begin_layout Description
5147 Syntax branch-add <BRANCH>
5148 \end_layout
5149 \begin_layout Description
5150 Params <BRANCH>: Name of the branch to add
5151 \end_layout
5152 \begin_layout Description
5153 Origin spitz, 7 Jul 2009
5154 \end_layout
5155
5156 \begin_layout Subsection*
5157 LFUN_BRANCH_ACTIVATE
5158 \end_layout
5159 \begin_layout Description
5160 Action Activate the branch.
5161 \end_layout
5162 \begin_layout Description
5163 Syntax branch-activate <BRANCH>
5164 \end_layout
5165 \begin_layout Description
5166 Params <BRANCH>: The branch to activate
5167 \end_layout
5168 \begin_layout Description
5169 Sample lyx -x "branch-activate answers" -e pdf2 finalexam.lyx
5170 \begin_inset Newline newline
5171 \end_inset
5172
5173 could be used to export a pdf with the answers branch included without one's having to open LyX and activate the branch manually.
5174 \end_layout
5175 \begin_layout Description
5176 Origin rgh, 27 May 2008
5177 \end_layout
5178
5179 \begin_layout Subsection*
5180 LFUN_BRANCH_DEACTIVATE
5181 \end_layout
5182 \begin_layout Description
5183 Action De-activate the branch.
5184 \end_layout
5185 \begin_layout Description
5186 Syntax branch-deactivate <BRANCH>
5187 \end_layout
5188 \begin_layout Description
5189 Params <BRANCH>: The branch to deactivate
5190 \end_layout
5191 \begin_layout Description
5192 Origin rgh, 27 May 2008
5193 \end_layout
5194
5195 \begin_layout Subsection*
5196 LFUN_BRANCHES_RENAME
5197 \end_layout
5198 \begin_layout Description
5199 Action Rename all branches of a given name in a document.
5200 \end_layout
5201 \begin_layout Description
5202 Syntax branches-rename <OLDNAME> <NEWNAME>
5203 \end_layout
5204 \begin_layout Description
5205 Params <OLDNAME>: Current name of the branch to be renamed <NEWNAME>: New name of the branch
5206 \end_layout
5207 \begin_layout Description
5208 Origin spitz, 9 Jul 2009
5209 \end_layout
5210
5211 \begin_layout Subsection*
5212 LFUN_BRANCH_ADD_INSERT
5213 \end_layout
5214 \begin_layout Description
5215 Action Create new branch and directly put the branch inset into the document.
5216 \end_layout
5217 \begin_layout Description
5218 Syntax branch-add-insert [<NAME>]
5219 \end_layout
5220 \begin_layout Description
5221 Params <NAME>: Branch name. If it is not specified, you will be asked.
5222 \end_layout
5223 \begin_layout Description
5224 Origin sanda, 10 Jul 2009
5225 \end_layout
5226
5227 \begin_layout Subsection*
5228 LFUN_LABEL_COPY_AS_REF
5229 \end_layout
5230 \begin_layout Description
5231 Action Copies the label at the cursor as a cross-reference to be pasted elsewhere.
5232 \end_layout
5233 \begin_layout Description
5234 Syntax copy-label-as-reference <LABEL>
5235 \end_layout
5236 \begin_layout Description
5237 Params <LABEL>: The label to copy (for multi-line math)
5238 \end_layout
5239 \begin_layout Description
5240 Origin sts, 16 Nov 2008
5241 \end_layout
5242
5243 \begin_layout Subsection*
5244 LFUN_LABEL_INSERT_AS_REF
5245 \end_layout
5246 \begin_layout Description
5247 Action Inserts the label as a cross-reference at the position of the cursor.
5248 \end_layout
5249 \begin_layout Description
5250 Syntax label-insert-as-reference
5251 \end_layout
5252 \begin_layout Description
5253 Origin vfr, 7 Apr 2009
5254 \end_layout
5255
5256 \begin_layout Subsection*
5257 LFUN_BUFFER_ZOOM_IN
5258 \end_layout
5259 \begin_layout Description
5260 Action Increases the zoom of the screen fonts.
5261 \end_layout
5262 \begin_layout Description
5263 Syntax buffer-zoom-in [<ZOOM>]
5264 \end_layout
5265 \begin_layout Description
5266 Params <ZOOM>: The zoom in %, the default is 20.
5267 \end_layout
5268 \begin_layout Description
5269 Origin vfr, 30 Mar 2009
5270 \end_layout
5271
5272 \begin_layout Subsection*
5273 LFUN_BUFFER_ZOOM_OUT
5274 \end_layout
5275 \begin_layout Description
5276 Action Decreases the zoom of the screen fonts.
5277 \end_layout
5278 \begin_layout Description
5279 Syntax buffer-zoom-out [<ZOOM>]
5280 \end_layout
5281 \begin_layout Description
5282 Params <ZOOM>: The zoom in %, the default is 20.
5283 \end_layout
5284 \begin_layout Description
5285 Origin vfr, 30 Mar 2009
5286 \end_layout
5287
5288 \end_body
5289 \end_document