#LyX 1.6.5svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass article \begin_preamble \renewcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1:} \renewenvironment{description}{\list{}{% \setlength{\itemsep}{-2pt} \advance\leftmargini6\p@ \itemindent-12\p@ \labelwidth\z@ \let\makelabel\descriptionlabel}% }{ \endlist } \end_preamble \use_default_options false \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry true \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \leftmargin 2.5cm \topmargin 2cm \rightmargin 3cm \bottommargin 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Section* LFUNs documentation automatically generated 15.10.2009. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash thispagestyle{empty} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace 1cm \end_inset \end_layout \begin_layout Subsection* LFUN_ACCENT_ACUTE \end_layout \begin_layout Description Action Adds an acute accent to the next character typed. \end_layout \begin_layout Description Syntax accent-acute \end_layout \begin_layout Subsection* LFUN_ACCENT_BREVE \end_layout \begin_layout Description Action Adds a breve accent to the next character typed. \end_layout \begin_layout Description Syntax accent-breve \end_layout \begin_layout Subsection* LFUN_ACCENT_CARON \end_layout \begin_layout Description Action Adds a caron to the next character typed. \end_layout \begin_layout Description Syntax accent-caron \end_layout \begin_layout Subsection* LFUN_ACCENT_CEDILLA \end_layout \begin_layout Description Action Adds a cedilla to the next character typed. \end_layout \begin_layout Description Syntax accent-cedilla \end_layout \begin_layout Subsection* LFUN_ACCENT_CIRCLE \end_layout \begin_layout Description Action Adds a circle accent to the next character typed. \end_layout \begin_layout Description Syntax accent-circle \end_layout \begin_layout Subsection* LFUN_ACCENT_CIRCUMFLEX \end_layout \begin_layout Description Action Adds a circumflex to the next character typed. \end_layout \begin_layout Description Syntax accent-circumflex \end_layout \begin_layout Subsection* LFUN_ACCENT_DOT \end_layout \begin_layout Description Action Adds a dot accent to the next character typed. \end_layout \begin_layout Description Syntax accent-dot \end_layout \begin_layout Subsection* LFUN_ACCENT_GRAVE \end_layout \begin_layout Description Action Adds a grave accent to the next character typed. \end_layout \begin_layout Description Syntax accent-grave \end_layout \begin_layout Subsection* LFUN_ACCENT_HUNGARIAN_UMLAUT \end_layout \begin_layout Description Action Adds a Hungarian umlaut to the next character typed. \end_layout \begin_layout Description Syntax accent-grave \end_layout \begin_layout Subsection* LFUN_ACCENT_MACRON \end_layout \begin_layout Description Action Adds a macron to the next character typed. \end_layout \begin_layout Description Syntax accent-macron \end_layout \begin_layout Subsection* LFUN_ACCENT_OGONEK \end_layout \begin_layout Description Action Adds an ogonek accent to the next character typed. \end_layout \begin_layout Description Syntax accent-ogonek \end_layout \begin_layout Subsection* LFUN_ACCENT_TIE \end_layout \begin_layout Description Action Adds a tie over the next two character typed. \end_layout \begin_layout Description Notion The following char will finish the tie. \end_layout \begin_layout Description Syntax accent-tie \end_layout \begin_layout Subsection* LFUN_ACCENT_TILDE \end_layout \begin_layout Description Action Adds a tilde over the next character typed. \end_layout \begin_layout Description Syntax accent-tilde \end_layout \begin_layout Subsection* LFUN_ACCENT_UMLAUT \end_layout \begin_layout Description Action Adds an umlaut over the next character typed. \end_layout \begin_layout Description Syntax accent-umlaut \end_layout \begin_layout Subsection* LFUN_ACCENT_UNDERBAR \end_layout \begin_layout Description Action Adds a bar under the next character typed. \end_layout \begin_layout Description Syntax accent-underbar \end_layout \begin_layout Subsection* LFUN_ACCENT_UNDERDOT \end_layout \begin_layout Description Action Adds a dot under the next character typed. \end_layout \begin_layout Description Syntax accent-underdot \end_layout \begin_layout Subsection* LFUN_CAPTION_INSERT \end_layout \begin_layout Description Action Inserts a caption inset. \end_layout \begin_layout Description Syntax caption-insert \end_layout \begin_layout Description Origin Lgb, 18 Jul 2000 \end_layout \begin_layout Subsection* LFUN_DATE_INSERT \end_layout \begin_layout Description Action Inserts the current date. \end_layout \begin_layout Description Syntax date-insert [] \end_layout \begin_layout Description Params : Format of date. The default value (%x) can be set in Preferences->Date format. For possible formats see manual page of strftime function. \end_layout \begin_layout Description Origin jdblair, 31 Jan 2000 \end_layout \begin_layout Subsection* LFUN_FOOTNOTE_INSERT \end_layout \begin_layout Description Action Inserts a footnote inset. \end_layout \begin_layout Description Syntax footnote-insert \end_layout \begin_layout Description Origin Jug, 7 Mar 2000 \end_layout \begin_layout Subsection* LFUN_ERT_INSERT \end_layout \begin_layout Description Action Inserts an ERT inset. \end_layout \begin_layout Description Syntax ert-insert \end_layout \begin_layout Description Origin Jug, 18 Feb 2000 \end_layout \begin_layout Subsection* LFUN_FLOAT_INSERT \end_layout \begin_layout Description Action Inserts a float inset. \end_layout \begin_layout Description Syntax float-insert \end_layout \begin_layout Description Params : type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given. \end_layout \begin_layout Description Origin Lgb, 27 Jun 2000 \end_layout \begin_layout Subsection* LFUN_FLOAT_WIDE_INSERT \end_layout \begin_layout Description Action Inserts float insets as in LFUN_FLOAT_INSERT but span multiple columns. \end_layout \begin_layout Description Notion Corresponds to the starred floats (figure*, table*, etc.) in LaTeX. \end_layout \begin_layout Description Syntax float-wide-insert \end_layout \begin_layout Description Params : type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given. \end_layout \begin_layout Description Origin Lgb, 31 Oct 2001 \end_layout \begin_layout Subsection* LFUN_FLOAT_LIST_INSERT \end_layout \begin_layout Description Action Inserts the list of floats in the document. \end_layout \begin_layout Description Syntax float-list-insert \end_layout \begin_layout Description Params : type of float depends on the used textclass. Usually "algorithm", "table", "figure" parameters can be given. \end_layout \begin_layout Description Origin Lgb, 3 May 2001 \end_layout \begin_layout Subsection* LFUN_WRAP_INSERT \end_layout \begin_layout Description Action Inserts floats wrapped by the text around. \end_layout \begin_layout Description Syntax wrap-insert \end_layout \begin_layout Description Params : table|figure \end_layout \begin_layout Description Origin Dekel, 7 Apr 2002 \end_layout \begin_layout Subsection* LFUN_OPTIONAL_INSERT \end_layout \begin_layout Description Action Inserts an optional-argument (short title) inset. \end_layout \begin_layout Description Syntax optional-insert \end_layout \begin_layout Description Origin vermeer, 12 Aug 2002 \end_layout \begin_layout Subsection* LFUN_LINE_INSERT \end_layout \begin_layout Description Action Inserts a horizontal line. \end_layout \begin_layout Description Syntax line-insert \end_layout \begin_layout Description Origin Andre, Oct 27 2003 \end_layout \begin_layout Subsection* LFUN_NEWPAGE_INSERT \end_layout \begin_layout Description Action Inserts a new page. \end_layout \begin_layout Description Syntax newpage-insert \end_layout \begin_layout Description Params : default: newpage \end_layout \begin_layout Description Origin uwestoehr, 24 Nov 2007 \end_layout \begin_layout Subsection* LFUN_MARGINALNOTE_INSERT \end_layout \begin_layout Description Action Inserts a marginal note. \end_layout \begin_layout Description Syntax marginalnote-insert \end_layout \begin_layout Description Origin Lgb, 26 Jun 2000 \end_layout \begin_layout Subsection* LFUN_UNICODE_INSERT \end_layout \begin_layout Description Action Inserts a single unicode character. \end_layout \begin_layout Description Syntax unicode-insert \end_layout \begin_layout Description Params : The character to insert, given as its code point, in hexadecimal. \end_layout \begin_layout Description Sample unicode-insert 0x0100 \end_layout \begin_layout Description Origin Lgb, 22 Oct 2006 \end_layout \begin_layout Subsection* LFUN_LISTING_INSERT \end_layout \begin_layout Description Action Inserts a new listings inset. \end_layout \begin_layout Description Syntax listing-insert \end_layout \begin_layout Description Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007 \end_layout \begin_layout Subsection* LFUN_TAB_INSERT \end_layout \begin_layout Description Action Insert a tab into a listings inset. \end_layout \begin_layout Description Notion It also works on a selection. \end_layout \begin_layout Description Syntax tab-insert \end_layout \begin_layout Description Origin vfvanravesteijn, Sep 30 2008 \end_layout \begin_layout Subsection* LFUN_TAB_DELETE \end_layout \begin_layout Description Action Delete a tab or up to an equivalent amount of spaces from a listings inset. \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax tab-delete \end_layout \begin_layout Description Origin vfvanravesteijn, Sep 30 2008 \end_layout \begin_layout Subsection* LFUN_QUOTE_INSERT \end_layout \begin_layout Description Action Inserts quotes according to the type and quote-language preference. \end_layout \begin_layout Description Notion Currently English, Swedish, German, Polish, French, Danish quotes are distinguished. \end_layout \begin_layout Description Syntax quote-insert [] \end_layout \begin_layout Description Params : 'single' for single quotes, otherwise double quotes will be used. \end_layout \begin_layout Subsection* LFUN_INFO_INSERT \end_layout \begin_layout Description Action Displays shortcuts, lyxrc, package and textclass availability and menu information in a non-editable boxed InsetText. \end_layout \begin_layout Description Notion Apart from lfun arguments you can use the following method: \begin_inset Newline newline \end_inset 1. input the type and argument of this inset, e.g. "menu paste", in the work area. \begin_inset Newline newline \end_inset 2. select the text and run info-insert lfun. \end_layout \begin_layout Description Syntax info-insert \end_layout \begin_layout Description Params : shortcut|lyxrc|package|textclass|menu|buffer \begin_inset Newline newline \end_inset : argument for a given type. Look into InsetInfo.h for detailed description. \end_layout \begin_layout Description Origin bpeng, 7 Oct 2007 \end_layout \begin_layout Subsection* LFUN_BRANCH_INSERT \end_layout \begin_layout Description Action Inserts branch inset. \end_layout \begin_layout Description Syntax branch-insert \end_layout \begin_layout Description Origin vermeer, 17 Aug 2003 \end_layout \begin_layout Subsection* LFUN_BOX_INSERT \end_layout \begin_layout Description Action Inserts Box inset. \end_layout \begin_layout Description Syntax box-insert [] \end_layout \begin_layout Description Params : Boxed|Frameless|Framed|ovalbox|Ovalbox|Shadowbox|Shaded|Doublebox \begin_inset Newline newline \end_inset Framed is the default one. \end_layout \begin_layout Description Origin vermeer, 7 Oct 2003 \end_layout \begin_layout Subsection* LFUN_FLEX_INSERT \end_layout \begin_layout Description Action Inserts CharStyle, Custom inset or XML short element. \end_layout \begin_layout Description Notion Look into the Customization manual for more information about these elements. \begin_inset Newline newline \end_inset 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. \begin_inset Newline newline \end_inset For dissolving the element see LFUN_INSET_DISSOLVE. \end_layout \begin_layout Description Syntax flex-insert \end_layout \begin_layout Description Params TYPE: CharStyle|Custom|Element|Standard \begin_inset Newline newline \end_inset 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. Name: This name must be defined either in your layout file or imported by some module. The definition is \begin_inset Newline newline \end_inset InsetLayout \end_layout \begin_layout Description Sample flex-insert CharStyle:Code \end_layout \begin_layout Subsection* LFUN_SELF_INSERT \end_layout \begin_layout Description Action Inserts the given string (accordingly to the correct keymap). \end_layout \begin_layout Description Notion Automatically replace the currently selected text. Depends on lyxrc settings "auto_region_delete". \end_layout \begin_layout Description Syntax self-insert \end_layout \begin_layout Subsection* LFUN_SPACE_INSERT \end_layout \begin_layout Description Action Inserts one of horizontal space insets. \end_layout \begin_layout Description Syntax space-insert [] \end_layout \begin_layout Description Params : normal, protected, thin, quad, qquad, enspace, enskip, negthinspa ce, hfill, hfill*, dotfill, hrulefill, hspace, hspace* \begin_inset Newline newline \end_inset : length for custom spaces (hspace, hspace* for protected) \end_layout \begin_layout Description Origin JSpitzm, 20 May 2003, Mar 17 2008 \end_layout \begin_layout Subsection* LFUN_HYPERLINK_INSERT \end_layout \begin_layout Description Action Inserts hyperlinks into the document (clickable in pdf output). \end_layout \begin_layout Description Notion Hyperlink target can be set via selection + hyperlink-insert function. \end_layout \begin_layout Description Syntax href-insert [] \end_layout \begin_layout Description Origin CFO-G, 21 Nov 1997 \end_layout \begin_layout Subsection* LFUN_SPECIALCHAR_INSERT \end_layout \begin_layout Description Action Inserts various characters into the document. \end_layout \begin_layout Description Syntax specialchar-insert \end_layout \begin_layout Description Params : hyphenation, ligature-break, slash, nobreakdash, dots, end-of-sen tence, menu-separator. \end_layout \begin_layout Description Origin JSpitzm, 6 Dec 2007 \end_layout \begin_layout Subsection* LFUN_TOC_INSERT \end_layout \begin_layout Description Action Inserts table of contents. \end_layout \begin_layout Description Syntax toc-insert \end_layout \begin_layout Description Origin Lgb, 27 May 97 \end_layout \begin_layout Subsection* LFUN_APPENDIX \end_layout \begin_layout Description Action Start (or remove) Appendix on the given cursor position. \end_layout \begin_layout Description Syntax appendix \end_layout \begin_layout Description Origin ettrich, 5 May 1998 \end_layout \begin_layout Subsection* LFUN_INDEX_INSERT \end_layout \begin_layout Description Action Inserts Index entry. \end_layout \begin_layout Description Notion It automatically takes the word on the cursor position. \end_layout \begin_layout Description Syntax index-insert \end_layout \begin_layout Description Origin leeming, 3 Aug 2000 \end_layout \begin_layout Subsection* LFUN_INDEX_PRINT \end_layout \begin_layout Description Action Inserts list of Index entries on a new page. \end_layout \begin_layout Description Syntax index-print \end_layout \begin_layout Description Origin Lgb, 27 Feb 1997 \end_layout \begin_layout Subsection* LFUN_NOMENCL_INSERT \end_layout \begin_layout Description Action Inserts Nomenclature entry. \end_layout \begin_layout Description Notion It automatically takes the word on the cursor position if no symbol is given. \end_layout \begin_layout Description Syntax nomencl-insert [] \end_layout \begin_layout Description Origin Ugras, 4 Nov 2006 \end_layout \begin_layout Subsection* LFUN_NOMENCLATURE_PRINT \end_layout \begin_layout Description Action Inserts list of Nomenclature entries. \end_layout \begin_layout Description Syntax nomenclature-print \end_layout \begin_layout Description Origin Ugras, 4 Nov 2006 \end_layout \begin_layout Subsection* LFUN_NOTE_INSERT \end_layout \begin_layout Description Action Inserts Note on the current cursor postion, move selection inside the inset. \end_layout \begin_layout Description Syntax note-insert [] \end_layout \begin_layout Description Params : default: Note \end_layout \begin_layout Subsection* LFUN_NOTE_NEXT \end_layout \begin_layout Description Action Moves the cursor to the begining of next Note inset. \end_layout \begin_layout Description Syntax note-next \end_layout \begin_layout Subsection* LFUN_NOTES_MUTATE \end_layout \begin_layout Description Action Changes all Note insets of a particular type (source) to a different type (target) fot the current document. \end_layout \begin_layout Description Syntax notes-mutate \end_layout \begin_layout Description Params : Note|Comment|Greyedout \end_layout \begin_layout Description Origin sanda, 18 Jun 2008 \end_layout \begin_layout Subsection* LFUN_NEWLINE_INSERT \end_layout \begin_layout Description Action Inserts a line break or new line. \end_layout \begin_layout Description Syntax newline-insert [] \end_layout \begin_layout Description Params : default: newline \end_layout \begin_layout Description Origin JSpitzm, 25 Mar 2008 \end_layout \begin_layout Subsection* LFUN_ESCAPE \end_layout \begin_layout Description Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. \end_layout \begin_layout Description Syntax escape \end_layout \begin_layout Description Origin Lgb, 17 May 2001 \end_layout \begin_layout Subsection* LFUN_DOWN \end_layout \begin_layout Description Action Moves the cursor one line in downward direction. \end_layout \begin_layout Description Syntax down \end_layout \begin_layout Subsection* LFUN_UP \end_layout \begin_layout Description Action Moves the cursor one line in upward direction. \end_layout \begin_layout Description Syntax up \end_layout \begin_layout Subsection* LFUN_DOWN_SELECT \end_layout \begin_layout Description Action Moves the cursor one line in downward direction adding the current position to the selection. \end_layout \begin_layout Description Syntax down-select \end_layout \begin_layout Subsection* LFUN_UP_SELECT \end_layout \begin_layout Description Action Moves the cursor one line in upward direction adding the current position to the selection. \end_layout \begin_layout Description Syntax up-select \end_layout \begin_layout Subsection* LFUN_SCREEN_DOWN \end_layout \begin_layout Description Action Moves the cursor one page in downward direction. \end_layout \begin_layout Description Syntax screen-down \end_layout \begin_layout Subsection* LFUN_SCREEN_UP \end_layout \begin_layout Description Action Moves the cursor one page in upward direction. \end_layout \begin_layout Description Syntax screen-up \end_layout \begin_layout Subsection* LFUN_SCREEN_DOWN_SELECT \end_layout \begin_layout Description Action Moves the cursor one screen in downward direction adding the current position to the selection. \end_layout \begin_layout Description Syntax screen-down-select \end_layout \begin_layout Subsection* LFUN_SCREEN_UP_SELECT \end_layout \begin_layout Description Action Moves the cursor one page in upward direction adding the current position to the selection. \end_layout \begin_layout Description Syntax screen-up-select \end_layout \begin_layout Subsection* LFUN_SCROLL \end_layout \begin_layout Description Action Scroll the buffer view. \end_layout \begin_layout Description Notion Only scrolls the screen up or down; does not move the cursor. \end_layout \begin_layout Description Syntax scroll \end_layout \begin_layout Description Params : line|page \begin_inset Newline newline \end_inset : up|down| \end_layout \begin_layout Description Origin Abdel, Dec 27 2007 \end_layout \begin_layout Subsection* LFUN_SCREEN_RECENTER \end_layout \begin_layout Description Action Recenters the screen on the current cursor position. \end_layout \begin_layout Description Syntax screen-recenter \end_layout \begin_layout Subsection* LFUN_SCREEN_SHOW_CURSOR \end_layout \begin_layout Description Action Repositions the screen such that the cursor is visible. \end_layout \begin_layout Description Syntax screen-show-cursor \end_layout \begin_layout Subsection* LFUN_CHAR_BACKWARD \end_layout \begin_layout Description Action Moves the cursor one position logically backwards. \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax char-backward \end_layout \begin_layout Subsection* LFUN_CHAR_BACKWARD_SELECT \end_layout \begin_layout Description Action Moves the cursor one position logically backwards, adding traversed position to the selection. \end_layout \begin_layout Description Notion See also LFUN_CHAR_BACKWARD. \end_layout \begin_layout Description Syntax char-backward-select \end_layout \begin_layout Subsection* LFUN_CHAR_DELETE_BACKWARD \end_layout \begin_layout Description Action Deletes one character in the backward direction (usually the "BackSpace" key). \end_layout \begin_layout Description Syntax char-delete-backward \end_layout \begin_layout Subsection* LFUN_CHAR_DELETE_FORWARD \end_layout \begin_layout Description Action Deletes one character in the backward direction (usually the "Delete" key). \end_layout \begin_layout Description Syntax char-delete-forward \end_layout \begin_layout Subsection* LFUN_CHAR_FORWARD \end_layout \begin_layout Description Action Moves the cursor one position logically forward. \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax char-forward \end_layout \begin_layout Subsection* LFUN_CHAR_FORWARD_SELECT \end_layout \begin_layout Description Action Moves the cursor one position logically forward, adding traversed position to the selection. \end_layout \begin_layout Description Notion See also LFUN_CHAR_FORWARD. \end_layout \begin_layout Description Syntax char-forward-select \end_layout \begin_layout Subsection* LFUN_CHAR_LEFT \end_layout \begin_layout Description Action Moves the cursor one position "to the left". \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax char-left \end_layout \begin_layout Subsection* LFUN_CHAR_LEFT_SELECT \end_layout \begin_layout Description Action Moves the cursor one position "to the left", adding traversed position to the selection. \end_layout \begin_layout Description Notion See also LFUN_CHAR_LEFT for exact details of the movement. \end_layout \begin_layout Description Syntax char-left-select \end_layout \begin_layout Subsection* LFUN_CHAR_RIGHT \end_layout \begin_layout Description Action Moves the cursor one position "to the right". \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax char-right \end_layout \begin_layout Subsection* LFUN_CHAR_RIGHT_SELECT \end_layout \begin_layout Description Action Moves the cursor one position "to the right", adding traversed position to the selection. \end_layout \begin_layout Description Notion See also LFUN_CHAR_RIGHT for exact details of the movement. \end_layout \begin_layout Description Syntax char-right-select \end_layout \begin_layout Subsection* LFUN_WORD_BACKWARD \end_layout \begin_layout Description Action Moves the cursor to the logically previous beginning of a word. \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax word-backward \end_layout \begin_layout Subsection* LFUN_WORD_BACKWARD_SELECT \end_layout \begin_layout Description Action Moves the cursor to the logically previous beginning of a word, adding the logically traversed text to the selection. \end_layout \begin_layout Description Notion See also LFUN_WORD_BACKWARD. \end_layout \begin_layout Description Syntax word-backward-select \end_layout \begin_layout Subsection* LFUN_WORD_DELETE_BACKWARD \end_layout \begin_layout Description Action Deletes characters to the begining of the word (usually the "C+BackSpace" key). \end_layout \begin_layout Description Syntax word-delete-backward \end_layout \begin_layout Subsection* LFUN_WORD_DELETE_FORWARD \end_layout \begin_layout Description Action Deletes characters to the end of the word (usually the "C+Delete" key). \end_layout \begin_layout Description Syntax word-delete-forward \end_layout \begin_layout Subsection* LFUN_WORD_FIND_FORWARD \end_layout \begin_layout Description Action Search for a given string in forward direction. \end_layout \begin_layout Description Notion Case sensitive, match words. If no argument given, last search repeated. \end_layout \begin_layout Description Syntax word-find-forward [] \end_layout \begin_layout Description Origin Etienne, 16 Feb 1998 \end_layout \begin_layout Subsection* LFUN_WORD_FIND_BACKWARD \end_layout \begin_layout Description Action Search for a given string in backward direction. \end_layout \begin_layout Description Notion Case sensitive, match words. If no argument given, last search repeated. \end_layout \begin_layout Description Syntax word-find-backward [] \end_layout \begin_layout Description Origin Etienne, 20 Feb 1998 \end_layout \begin_layout Subsection* LFUN_WORD_FIND \end_layout \begin_layout Description Action Search for next occurence of a string. \end_layout \begin_layout Description Syntax word-find [] \end_layout \begin_layout Description Params : 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). \end_layout \begin_layout Description Origin Andre, Jan 7 2004 \end_layout \begin_layout Subsection* LFUN_WORD_REPLACE \end_layout \begin_layout Description Action Replace a string in the document. \end_layout \begin_layout Description Syntax word-replace [] \end_layout \begin_layout Description Params : data is of the form " \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset " \end_layout \begin_layout Description Origin Andre, Jan 7 2004 \end_layout \begin_layout Subsection* LFUN_WORD_FORWARD \end_layout \begin_layout Description Action Moves the cursor to the logically next beginning of a word. \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax word-forward \end_layout \begin_layout Subsection* LFUN_WORD_FORWARD_SELECT \end_layout \begin_layout Description Action Moves the cursor to the logically next beginning of a word, adding the logically traversed text to the selection. \end_layout \begin_layout Description Notion See also LFUN_WORD_FORWARD. \end_layout \begin_layout Description Syntax word-forward-select \end_layout \begin_layout Subsection* LFUN_WORD_LEFT \end_layout \begin_layout Description Action Moves the cursor to the next beginning of a word "on the left". \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax word-left \end_layout \begin_layout Description Origin dov, 28 Oct 2007 \end_layout \begin_layout Subsection* LFUN_WORD_LEFT_SELECT \end_layout \begin_layout Description Action Moves the cursor to the next beginning of a word "on the left", adding *logically* traversed text to the selection. \end_layout \begin_layout Description Notion See also LFUN_WORD_LEFT for exact details of the movement. \end_layout \begin_layout Description Syntax word-left-select \end_layout \begin_layout Description Origin dov, 28 Oct 2007 \end_layout \begin_layout Subsection* LFUN_WORD_RIGHT \end_layout \begin_layout Description Action Moves the cursor to the next beginning of a word "on the right". \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax word-right \end_layout \begin_layout Description Origin dov, 28 Oct 2007 \end_layout \begin_layout Subsection* LFUN_WORD_RIGHT_SELECT \end_layout \begin_layout Description Action Moves the cursor to the next beginning of a word "on the right", adding *logically* traversed text to the selection. \end_layout \begin_layout Description Notion See also LFUN_WORD_RIGHT for exact details of the movement. \end_layout \begin_layout Description Syntax word-right-select \end_layout \begin_layout Description Origin dov, 28 Oct 2007 \end_layout \begin_layout Subsection* LFUN_WORD_SELECT \end_layout \begin_layout Description Action Puts the word where the cursor stands into the selection. \end_layout \begin_layout Description Syntax word-select \end_layout \begin_layout Description Origin Andre, 11 Sep 2002 \end_layout \begin_layout Subsection* LFUN_WORD_CAPITALIZE \end_layout \begin_layout Description Action Capitalizes the words in the selection (i.e. the first letters) or the letter on the cursor position. \end_layout \begin_layout Description Syntax word-capitalize \end_layout \begin_layout Subsection* LFUN_WORD_UPCASE \end_layout \begin_layout Description Action Change the words in the selection or from the cursor position to the end of word to the upper case. \end_layout \begin_layout Description Syntax word-upcase \end_layout \begin_layout Subsection* LFUN_WORD_LOWCASE \end_layout \begin_layout Description Action Change the words in the selection or from the cursor position to the end of word to the lower case. \end_layout \begin_layout Description Syntax word-lowcase \end_layout \begin_layout Subsection* LFUN_THESAURUS_ENTRY \end_layout \begin_layout Description Action Look up thesaurus entries with respect to the word under the cursor. \end_layout \begin_layout Description Syntax thesaurus-entry \end_layout \begin_layout Description Origin Levon, 20 Jul 2001 \end_layout \begin_layout Subsection* LFUN_BUFFER_BEGIN \end_layout \begin_layout Description Action Move the cursor to the beginning of the document. \end_layout \begin_layout Description Syntax buffer-begin \end_layout \begin_layout Subsection* LFUN_BUFFER_BEGIN_SELECT \end_layout \begin_layout Description Action Move the cursor to the beginning of the document adding the traversed text to the selection. \end_layout \begin_layout Description Syntax buffer-begin-select \end_layout \begin_layout Subsection* LFUN_BUFFER_END \end_layout \begin_layout Description Action Move the cursor to the end of the document. \end_layout \begin_layout Description Syntax buffer-end \end_layout \begin_layout Subsection* LFUN_BUFFER_END_SELECT \end_layout \begin_layout Description Action Move the cursor to the end of the document adding the traversed text to the selection. \end_layout \begin_layout Description Syntax buffer-end-select \end_layout \begin_layout Subsection* LFUN_INSET_BEGIN \end_layout \begin_layout Description 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 \end_layout \begin_layout Description Syntax inset-begin \end_layout \begin_layout Description Origin JMarc, 2009/03/16 \end_layout \begin_layout Subsection* LFUN_INSET_BEGIN_SELECT \end_layout \begin_layout Description 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). \end_layout \begin_layout Description Syntax inset-begin-select \end_layout \begin_layout Description Origin JMarc, 2009/03/16 \end_layout \begin_layout Subsection* LFUN_INSET_END \end_layout \begin_layout Description 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 \end_layout \begin_layout Description Syntax inset-end \end_layout \begin_layout Description Origin JMarc, 2009/03/16 \end_layout \begin_layout Subsection* LFUN_INSET_END_SELECT \end_layout \begin_layout Description 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). \end_layout \begin_layout Description Syntax inset-end-select \end_layout \begin_layout Description Origin JMarc, 2009/03/16 \end_layout \begin_layout Subsection* LFUN_INSET_SELECT_ALL \end_layout \begin_layout Description Action Selects all contents of an inset. \end_layout \begin_layout Description Syntax inset-select-all \end_layout \begin_layout Description Origin vfr, 22 Aug 2009 \end_layout \begin_layout Subsection* LFUN_LINE_BEGIN \end_layout \begin_layout Description Action Move the cursor to the begining of the (screen) line. \end_layout \begin_layout Description Syntax line-begin \end_layout \begin_layout Subsection* LFUN_LINE_BEGIN_SELECT \end_layout \begin_layout Description Action Move the cursor to the beginning of the (screen) line adding the traversed text to the selection. \end_layout \begin_layout Description Syntax line-begin-select \end_layout \begin_layout Subsection* LFUN_LINE_END \end_layout \begin_layout Description Action Move the cursor to the end of the (screen) line. \end_layout \begin_layout Description Syntax line-end \end_layout \begin_layout Subsection* LFUN_LINE_END_SELECT \end_layout \begin_layout Description Action Move the cursor to the end of the (screen) line adding the traversed text to the selection. \end_layout \begin_layout Description Syntax line-end-select \end_layout \begin_layout Subsection* LFUN_LINE_DELETE \end_layout \begin_layout Description Action Deletes the letters to the end of the (screen) line or deletes the selection. \end_layout \begin_layout Description Syntax line-delete-forward \end_layout \begin_layout Subsection* LFUN_COPY \end_layout \begin_layout Description Action Copies to the clipboard the last edit. \end_layout \begin_layout Description Syntax copy \end_layout \begin_layout Subsection* LFUN_CUT \end_layout \begin_layout Description Action Cuts to the clipboard. \end_layout \begin_layout Description Syntax cut \end_layout \begin_layout Subsection* LFUN_PASTE \end_layout \begin_layout Description Action Pastes material from the active clipboard. \end_layout \begin_layout Description Syntax paste [] \end_layout \begin_layout Description Params : emf|pdf|png|jpeg|linkback|wmf \end_layout \begin_layout Subsection* LFUN_CLIPBOARD_PASTE \end_layout \begin_layout Description Action Pastes text from the active clipboard. \end_layout \begin_layout Description Syntax clipboard-paste [] \end_layout \begin_layout Description Params : "paragraph" will cause pasting as one paragraph, i.e. "Join lines". \end_layout \begin_layout Description Origin baum, 10 Jul 2006 \end_layout \begin_layout Subsection* LFUN_PRIMARY_SELECTION_PASTE \end_layout \begin_layout Description Action Pastes the currently text selected text. \end_layout \begin_layout Description Notion Primary selection mechanism is linux-only thing. \end_layout \begin_layout Description Syntax primary-selection-paste [] \end_layout \begin_layout Description Params : "paragraph" will cause pasting as one paragraph, i.e. "Join lines". \end_layout \begin_layout Subsection* LFUN_SELECTION_PASTE \end_layout \begin_layout Description Action Pastes the text in permanent selection. \end_layout \begin_layout Description Syntax selection-paste \end_layout \begin_layout Subsection* LFUN_UNDO \end_layout \begin_layout Description Action Undoes the last edit. \end_layout \begin_layout Description Syntax undo \end_layout \begin_layout Subsection* LFUN_REDO \end_layout \begin_layout Description Action Redoes the last thing undone. \end_layout \begin_layout Description Syntax redo \end_layout \begin_layout Subsection* LFUN_REPEAT \end_layout \begin_layout Description Action Repeat the given command. \end_layout \begin_layout Description Syntax repeat \end_layout \begin_layout Description Origin Andre, , 27 Oct 2003 \end_layout \begin_layout Subsection* LFUN_CHARS_TRANSPOSE \end_layout \begin_layout Description Action Transposes the character at the cursor with the one before it. \end_layout \begin_layout Description Syntax chars-transpose \end_layout \begin_layout Description Origin Lgb, 25 Apr 2001 \end_layout \begin_layout Subsection* LFUN_DEPTH_DECREMENT \end_layout \begin_layout Description Action Decrease the nesting depth of the (selected) paragraph(s) inside lists. \end_layout \begin_layout Description Syntax depth-decrement \end_layout \begin_layout Subsection* LFUN_DEPTH_INCREMENT \end_layout \begin_layout Description Action Increase the nesting depth of the (selected) paragraph(s) inside lists. \end_layout \begin_layout Description Syntax depth-increment \end_layout \begin_layout Subsection* LFUN_FONT_BOLD \end_layout \begin_layout Description Action Toggles the bold font (selection-wise) using mathbf in math. \end_layout \begin_layout Description Syntax font-bold \end_layout \begin_layout Subsection* LFUN_FONT_BOLDSYMBOL \end_layout \begin_layout Description Action Toggles the bold font (selection-wise) using boldsymbol in math. \end_layout \begin_layout Description Syntax font-boldsymbol \end_layout \begin_layout Subsection* LFUN_FONT_TYPEWRITER \end_layout \begin_layout Description Action Toggles the typewriter family font (selection-wise). \end_layout \begin_layout Description Syntax font-typewriter \end_layout \begin_layout Subsection* LFUN_FONT_UNDERLINE \end_layout \begin_layout Description Action Toggles underline in the font (selection-wise). \end_layout \begin_layout Description Syntax font-underline \end_layout \begin_layout Subsection* LFUN_FONT_EMPH \end_layout \begin_layout Description Action Toggles the emphasis font style (selection-wise). \end_layout \begin_layout Description Syntax font-emph \end_layout \begin_layout Subsection* LFUN_FONT_NOUN \end_layout \begin_layout Description Action Toggles Noun text style font (selection-wise). \end_layout \begin_layout Description Syntax font-noun \end_layout \begin_layout Subsection* LFUN_FONT_ROMAN \end_layout \begin_layout Description Action Toggles Roman family font (selection-wise). \end_layout \begin_layout Description Syntax font-roman \end_layout \begin_layout Subsection* LFUN_FONT_SANS \end_layout \begin_layout Description Action Toggles Sans Serif family font (selection-wise). \end_layout \begin_layout Description Syntax font-sans \end_layout \begin_layout Subsection* LFUN_FONT_FRAK \end_layout \begin_layout Description Action Toggles Fraktur family font (math-mode, selection-wise). \end_layout \begin_layout Description Syntax font-frak \end_layout \begin_layout Description Origin vermeer, 10 Jan 2002 \end_layout \begin_layout Subsection* LFUN_FONT_ITAL \end_layout \begin_layout Description Action Toggles Italics font shape (math-mode, selection-wise). \end_layout \begin_layout Description Syntax font-ital \end_layout \begin_layout Description Origin vermeer, 10 Jan 2002 \end_layout \begin_layout Subsection* LFUN_FONT_DEFAULT \end_layout \begin_layout Description Action Reverts the settings of the font to the default values (selection-wise). \end_layout \begin_layout Description Syntax font-default \end_layout \begin_layout Subsection* LFUN_FONT_SIZE \end_layout \begin_layout Description Action Sets font size according to lyx format string. \end_layout \begin_layout Description Syntax font-size \end_layout \begin_layout Description Params : tiny|scriptsize|footnotesize|small|normal|large|larger| \begin_inset Newline newline \end_inset largest|huge|giant|increase|decrease|default \end_layout \begin_layout Subsection* LFUN_TEXTSTYLE_APPLY \end_layout \begin_layout Description Action Toggle user-defined (=last-time used) text style. \end_layout \begin_layout Description Notion This style is set via LFUN_TEXTSTYLE_UPDATE, which is automatically trigerred when using Text Style dialog. \end_layout \begin_layout Description Syntax textstyle-apply \end_layout \begin_layout Description Origin leeming, 12 Mar 2003 \end_layout \begin_layout Subsection* LFUN_TEXTSTYLE_UPDATE \end_layout \begin_layout Description Action Apply text style and update the settings to be used by LFUN_TEXTSTYLE_APP LY. \end_layout \begin_layout Description Syntax textstyle-update \end_layout \begin_layout Description Params : specifies font atributes, e.g. family, series, shape, size, emph, noun, underbar, number, color, language, toggleall. \begin_inset Newline newline \end_inset Use lyx -dbg action for exact syntax of text-style dialog parameters. \end_layout \begin_layout Description Origin leeming, 12 Mar 2003 \end_layout \begin_layout Subsection* LFUN_SCREEN_FONT_UPDATE \end_layout \begin_layout Description Action Update fonts and its metrics. \end_layout \begin_layout Description Notion Automatically called after zoom, dpi, font names, or norm change. \end_layout \begin_layout Description Syntax screen-font-update \end_layout \begin_layout Description Origin ARRae, 13 Aug 2000 \end_layout \begin_layout Subsection* LFUN_FONT_STATE \end_layout \begin_layout Description Action Returns the info about the current font. \end_layout \begin_layout Description Syntax font-state \end_layout \begin_layout Subsection* LFUN_CITATION_INSERT \end_layout \begin_layout Description Action Inserts citation from loaded citation database. \end_layout \begin_layout Description Syntax citation-insert [[|]] \end_layout \begin_layout Description Params : Citation (shortcut listed in available citations). \begin_inset Newline newline \end_inset : text which should appear before citation. \end_layout \begin_layout Description Origin AAS, 97-02-23 \end_layout \begin_layout Subsection* LFUN_BIBTEX_DATABASE_ADD \end_layout \begin_layout Description Action Adds database, which will be used for bibtex citations. \end_layout \begin_layout Description Notion Databases are added to the first BibTeX inset (Inset->List/TOC->BibTeX bibliography) found from the cursor postion. \end_layout \begin_layout Description Syntax bibtex-database-add \end_layout \begin_layout Description Origin Ale, 30 May 1997 \end_layout \begin_layout Subsection* LFUN_BIBTEX_DATABASE_DEL \end_layout \begin_layout Description Action Adds database, which will be used for bibtex citations. \end_layout \begin_layout Description Notion Databases are deleted from the first BibTeX inset (Inset->List/TOC->BibTe X bibliography) found from the cursor postion. \end_layout \begin_layout Description Syntax bibtex-database-del \end_layout \begin_layout Description Origin Ale, 30 May 1997 \end_layout \begin_layout Subsection* LFUN_LAYOUT \end_layout \begin_layout Description Action Sets the layout (that is, environment) for the current paragraph. \end_layout \begin_layout Description Syntax layout \end_layout \begin_layout Description Params : the layout to use \end_layout \begin_layout Subsection* LFUN_LAYOUT_PARAGRAPH \end_layout \begin_layout Description Action Launches the paragraph settings dialog. \end_layout \begin_layout Description Syntax layout-paragraph \end_layout \begin_layout Subsection* LFUN_LAYOUT_TABULAR \end_layout \begin_layout Description Action Launches the tabular settings dialog. \end_layout \begin_layout Description Syntax layout-tabular \end_layout \begin_layout Description Origin Jug, 31 Jul 2000 \end_layout \begin_layout Subsection* LFUN_DROP_LAYOUTS_CHOICE \end_layout \begin_layout Description Action Displays list of layout choices. \end_layout \begin_layout Description Notion In the current (as of 2007) Qt4 frontend, this LFUN opens the dropbox allowing for choice of layout. \end_layout \begin_layout Description Syntax drop-layouts-choice \end_layout \begin_layout Subsection* LFUN_LAYOUT_MODULES_CLEAR \end_layout \begin_layout Description Action Clears the module list. \end_layout \begin_layout Description Notion Clears the list of included modules for the current buffer. \end_layout \begin_layout Description Syntax layout-modules-clear \end_layout \begin_layout Description Origin rgh, 25 August 2007 \end_layout \begin_layout Subsection* LFUN_LAYOUT_MODULE_ADD \end_layout \begin_layout Description Action Adds a module. \end_layout \begin_layout Description Notion Adds a module to the list of included modules for the current buffer. \end_layout \begin_layout Description Syntax layout-module-add \end_layout \begin_layout Description Params : the module to be added \end_layout \begin_layout Description Origin rgh, 25 August 2007 \end_layout \begin_layout Subsection* LFUN_LAYOUT_RELOAD \end_layout \begin_layout Description Action Reloads layout information. \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Syntax layout-reload \end_layout \begin_layout Description Origin rgh, 3 September 2007 \end_layout \begin_layout Subsection* LFUN_TEXTCLASS_APPLY \end_layout \begin_layout Description Action Sets the text class for the current buffer. \end_layout \begin_layout Description Syntax textclass-apply \end_layout \begin_layout Description Params : the textclass to set. Note that this must be the filename, minus the ".layout" extension. \end_layout \begin_layout Subsection* LFUN_TEXTCLASS_LOAD \end_layout \begin_layout Description Action Loads information for a textclass from disk. \end_layout \begin_layout Description Syntax textclass-load \end_layout \begin_layout Description Params : the textclass to load. Note that this must be the filename, minus the ".layout" extension. \end_layout \begin_layout Subsection* LFUN_MARK_OFF \end_layout \begin_layout Description Action Disable selecting of text-region. \end_layout \begin_layout Description Syntax mark-off \end_layout \begin_layout Subsection* LFUN_MARK_ON \end_layout \begin_layout Description Action Enable selecting of text-region. \end_layout \begin_layout Description Notion After enabling you can simply move arrow keys to get selected region. \end_layout \begin_layout Description Syntax mark-on \end_layout \begin_layout Subsection* LFUN_MARK_TOGGLE \end_layout \begin_layout Description Action Toggle between LFUN_MARK_ON and LFUN_MARK_OFF . \end_layout \begin_layout Description Syntax mark-toggle \end_layout \begin_layout Description Origin Andre, May 5 2006 \end_layout \begin_layout Subsection* LFUN_MATH_DELIM \end_layout \begin_layout Description Action Inserts math delimiters (e.g. parentheses, brackets) enclosing expression. \end_layout \begin_layout Description Syntax math-delim [] [] \end_layout \begin_layout Description Params : Delimiters to be used. Each delimiter can be specified by either a LaTeX name or a valid character. ( is the default letter. \end_layout \begin_layout Description Sample math-delim { rangle \end_layout \begin_layout Description Origin Alejandro, 18 Jun 1996 \end_layout \begin_layout Subsection* LFUN_MATH_BIGDELIM \end_layout \begin_layout Description Action Inserts math fixed size delimiters (e.g. parentheses, brackets) enclosing expression. \end_layout \begin_layout Description Syntax math-bigdelim \end_layout \begin_layout Description Params : bigl/r|Bigl/r|biggl/r|Biggl/r \begin_inset Newline newline \end_inset : TeX code for delimiter. See Delimiter dialog for delimiters to be used. \end_layout \begin_layout Description Sample math-bigdelim "Bigl" "Downarrow" "Bigr" "}" \end_layout \begin_layout Description Origin Enrico & Georg, 7 May 2006 \end_layout \begin_layout Subsection* LFUN_MATH_DISPLAY \end_layout \begin_layout Description Action Creates a new displayed equation in text mode. Toggles inlined/display formula in math mode. \end_layout \begin_layout Description Syntax math-display [] \end_layout \begin_layout Description Params : this argument will be passed to LFUN_MATH_INSERT when creating new equation from the text mode. \end_layout \begin_layout Description Origin Alejandro, 18 Jun 1996 \end_layout \begin_layout Subsection* LFUN_MATH_INSERT \end_layout \begin_layout Description Action Inserts math objects and symbols. \end_layout \begin_layout Description Syntax math-insert \end_layout \begin_layout Description Params : Symbol or LaTeX code to be inserted. \end_layout \begin_layout Description Notion When is a _single_ math inset with more than one cell (such as "x_y^z" or "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 frac{x}{y}" replaces "abc" with "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. \end_layout \begin_layout Subsection* LFUN_MATH_SUBSCRIPT \end_layout \begin_layout Description Action Enters subscript expression in math expression. \end_layout \begin_layout Description Syntax math-subscript \end_layout \begin_layout Description Origin vermeer, 12 Dec 2001 \end_layout \begin_layout Subsection* LFUN_MATH_SUPERSCRIPT \end_layout \begin_layout Description Action Enters subscript expression in math expression. \end_layout \begin_layout Description Syntax math-superscript \end_layout \begin_layout Description Origin vermeer, 12 Dec 2001 \end_layout \begin_layout Subsection* LFUN_MATH_LIMITS \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Notion Put the cursor before the symbol with the limits and then invoke math-limits. \end_layout \begin_layout Description Syntax math-limits [] \end_layout \begin_layout Description Params : limits|nolimits \end_layout \begin_layout Subsection* LFUN_MATH_MACRO \end_layout \begin_layout Description Action Inserts a math macro definition at the cursor position in the text. \end_layout \begin_layout Description Syntax math-macro [] [def] \end_layout \begin_layout Description Params : The name of the macro, e.g. "mymacro". : The number of parameters of the macro. Default is 0. "def": Has no effect anymore, just for compatibility with former LyX versions. \end_layout \begin_layout Description Origin ale, 10 May 1997; sts, 21 Dec 2007 \end_layout \begin_layout Subsection* LFUN_MATH_MUTATE \end_layout \begin_layout Description Action Mutates the type of math inset to the newly selected one. \end_layout \begin_layout Description Syntax math-mutate \end_layout \begin_layout Description Params : none|simple|equation|eqnarray|align|alignat|xalignat|xxalignat| multline|gather|flalign \end_layout \begin_layout Description Origin Andre, 23 May 2001 \end_layout \begin_layout Subsection* LFUN_MATH_SPACE \end_layout \begin_layout Description Action Inserts space into math expression. \end_layout \begin_layout Description Notion Use spacebar after entering this space to change type of space. \end_layout \begin_layout Description Syntax math-space [] [] \end_layout \begin_layout Description Params : negative spaces: !|negthinspace|negmedspace|negthickspace \begin_inset Newline newline \end_inset positive spaces: ,|thinspace|:|medspace|;|thickspace|enskip|quad|qquad \begin_inset Newline newline \end_inset custom space: hspace \begin_inset Newline newline \end_inset "," used by default. Note that ! is equivalent to negthinspace, , = thinspace, : = medspace, and ; = thickspace. : length for custom spaces (hspace) \end_layout \begin_layout Description Origin Andre, 25 Jul 2001; sanda, 16 Jun 2008 \end_layout \begin_layout Subsection* LFUN_MATH_MATRIX \end_layout \begin_layout Description Action Inserts a matrix. \end_layout \begin_layout Description Syntax math-matrix [] \end_layout \begin_layout Description Params : 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. chars). \end_layout \begin_layout Description Sample math-matrix 3 3 bccc \end_layout \begin_layout Subsection* LFUN_MATH_MODE \end_layout \begin_layout Description 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. \end_layout \begin_layout Description Notion If there is some selected text, it puts the text inside created math box. \end_layout \begin_layout Description Syntax math-mode [] \end_layout \begin_layout Description Params : eventual argument (LaTeX code) is passed to LFUN_MATH_INSERT . \end_layout \begin_layout Description Origin Alejandro, 4 Jun 1996 \end_layout \begin_layout Subsection* LFUN_MATH_NUMBER_LINE_TOGGLE \end_layout \begin_layout Description Action Toggles numbering of the current formula line. \end_layout \begin_layout Description Notion Must be in display formula mode. \end_layout \begin_layout Description Syntax math-number-line-toggle \end_layout \begin_layout Description Origin Alejandro, 18 Jun 1996 \end_layout \begin_layout Subsection* LFUN_MATH_NUMBER_TOGGLE \end_layout \begin_layout Description Action Toggles numbering/labeling of the current formula. \end_layout \begin_layout Description Notion Must be in display formula mode. \end_layout \begin_layout Description Syntax math-number-toggle \end_layout \begin_layout Description Origin Alejandro, 4 Jun 1996 \end_layout \begin_layout Subsection* LFUN_MATH_EXTERN \end_layout \begin_layout Description Action Calls external program and passes the current expression/equation as an argument for the calculation in the format appropriate to the given language. \end_layout \begin_layout Description Notion Selection can be used to determine the input for the external program. \end_layout \begin_layout Description Syntax math-extern [] \end_layout \begin_layout Description Params : octave|maxima|maple|mathematica|script \begin_inset Newline newline \end_inset where "script" stands fot the external script (normalized expression will be passed) \end_layout \begin_layout Description Origin Andre, 24 Apr 2001 \end_layout \begin_layout Description Sample math-extern maple simplify \end_layout \begin_layout Subsection* LFUN_MATH_SIZE \end_layout \begin_layout Description Action Changes arbitrarily the size used by math fonts inside a context. \end_layout \begin_layout Description Notion Provides an interface to the LaTeX math mode font size commands. \end_layout \begin_layout Description Syntax math-size