Style file for the xspace-package. Copyright assignment is on my TODO-list. -- Med Venlig Hilsen / Kind Regards, Mads Jensen Rubinsteinsvej 31,st.th DK-2450 Kbh. SV Denmark +45 6168 8518
;;; xspace.el --- AUCTeX style for `xspace.sty'
;; Author: Mads Jensen <[email protected]> ;; Created: 2011-02-01 ;; Keywords: tex ;;; Commentary: ;; This file adds support for `xspace.sty'. ;;; Code: (TeX-add-style-hook "xspace" (lambda () (TeX-add-symbols '("xspace" TeX-insert-xspace) "xspaceaddexception" "xspaceremoveexception") ;; Fontification (when (and (featurep 'font-latex) (eq TeX-install-font-lock 'font-latex-setup)) (font-latex-add-keywords '("xspace") 'function) (font-latex-add-keywords '("xspaceaddexception") 'function) (font-latex-add-keywords '("xspaceremoveexception") 'function) ;; For syntactic fontification, e.g. verbatim constructs. (font-latex-set-syntactic-keywords) ;; Tell font-lock about the update. (setq font-lock-set-defaults nil) (font-lock-set-defaults)))) (defvar LaTeX-xspace-package-options nil "Package options for the alltt package.") (defun TeX-xspace-insert () "Insert \\xspace without brackets." (insert "\\xspace")) ;;; xspace.el ends here
signature.asc
Description: OpenPGP digital signature
_______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
