Submission of mflogo.el. Ralf, I found the form.
Actually, the \logofamily works much the same way like \small, \Huge
etc., but I didn't find a suitable choice to use for
(font-lock-add-keywords). Besides, shouldn't "C-c RET small" insert
{\small{}} rather than \small{}? The latter approach will put the
remaining text in small letters, whereas the first just puts the
argument inside {} in small letters (same for \Huge etc.), or is this
meant to be hinted at the coloring of those commands?
--
Med Venlig Hilsen / Kind Regards,
Mads Jensen
Rubinsteinsvej 31,st.th
DK-2450 Kbh. SV
Denmark
+45 6168 8518
;;; mflogo.el --- AUCTeX style for `mflogo.sty' ;; Author: Mads Jensen <[email protected]> ;; Created: 2011-02-02 ;; Keywords: tex ;;; Commentary: ;; This file adds support for `mflogo.sty'. ;;; Code: (TeX-add-style-hook "mflogo" (lambda () (TeX-add-symbols '("textlogo" 1) '("logofamily" 1)) ;; Fontification (when (and (featurep 'font-latex) (eq TeX-install-font-lock 'font-latex-setup)) (font-latex-add-keywords '(("logofamily" "{") ("textlogo" "{")) 'textual)))) (defvar LaTeX-mflogo-package-options nil "Package options for the mflogo package.") ;;; mflogo.el ends here
signature.asc
Description: PGP signature
signature.asc
Description: OpenPGP digital signature
_______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
