Variable: LaTeX-math-list

LaTeX-math-list is a customizable variable defined in latex.el.

Value

nil

Documentation

Alist of your personal LaTeX math symbols.

Each entry should be a list with up to four elements, KEY, VALUE, MENU and CHARACTER.

KEY is the key (after LaTeX-math-abbrev-prefix(var)/LaTeX-math-abbrev-prefix(fun)) to be redefined in math minor mode. KEY can be a character (for example ?o) for a single stroke or a string (for example "o a") for a multi-stroke binding. If KEY is nil, the symbol has no associated keystroke (it is available in the menu, though). Note that predefined keys in LaTeX-math-default cannot be overridden in this variable. Currently, only the lowercase letter 'o' is free for user customization, more options are available in uppercase area.

VALUE can be a string with the name of the macro to be inserted, or a function to be called. The macro must be given without the leading backslash.

The third element MENU is the name of the submenu where the command should be added. MENU can be either a string (for example "greek"), a list (for example ("AMS" "Delimiters")) or nil. If MENU is nil, no menu item will be created.

The fourth element CHARACTER is a Unicode character position for menu display. When nil, no character is shown.

See also LaTeX-math-menu.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defcustom LaTeX-math-list nil
  "Alist of your personal LaTeX math symbols.

Each entry should be a list with up to four elements, KEY, VALUE,
MENU and CHARACTER.

KEY is the key (after `LaTeX-math-abbrev-prefix') to be redefined
in math minor mode.  KEY can be a character (for example ?o) for a
single stroke or a string (for example \"o a\") for a multi-stroke
binding.  If KEY is nil, the symbol has no associated
keystroke (it is available in the menu, though).  Note that
predefined keys in `LaTeX-math-default' cannot be overridden in
this variable.  Currently, only the lowercase letter \\='o\\=' is free
for user customization, more options are available in uppercase
area.

VALUE can be a string with the name of the macro to be inserted,
or a function to be called.  The macro must be given without the
leading backslash.

The third element MENU is the name of the submenu where the
command should be added.  MENU can be either a string (for
example \"greek\"), a list (for example (\"AMS\" \"Delimiters\"))
or nil.  If MENU is nil, no menu item will be created.

The fourth element CHARACTER is a Unicode character position for
menu display.  When nil, no character is shown.

See also `LaTeX-math-menu'."
  :group 'LaTeX-math
  :set (lambda (symbol value)
         (set-default symbol value)
         (LaTeX-math-initialize))
  :type '(repeat (group (choice :tag "Key"
                                (const :tag "none" nil)
                                (choice (character)
                                        (string :tag "Key sequence")))
                        (choice :tag "Value"
                                (string :tag "Macro")
                                (function))
                        (choice :tag "Menu"
                                (string :tag "Top level menu" )
                                (repeat :tag "Submenu"
                                        (string :tag "Menu")))
                        (choice :tag "Unicode character"
                                (const :tag "none" nil)
                                (integer :tag "Number")))))