(yatexe)Hook variables


Next: Hook file Prev: Sample definitions Up: Lisp variables

Hook variables
--------------

  More customizations will be done by the hook-function defined in
hook-variable `yatex-mode-hook'.  This is useful to define a shortcut key
sequence to enter some environments other than `document' and `enumerate'
etc.  The following statement defines `[prefix] ba' to enter
`\begin{abstract}' ...  `=end{abstract}' immediately.

             (setq yatex-mode-hook
                   '(lambda() (YaTeX-define-begend-key "ba" "abstract")))

        You should use functions `YaTeX-define-key', or
`YaTeX-define-begend-key' to define all the key sequences of yatex-mode.


automatically generated by info2www.cgi version 1.2