[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] mflogo.el

From: Mads Jensen
Subject: [AUCTeX-devel] mflogo.el
Date: Fri, 04 Feb 2011 20:57:07 +0100
User-agent: Thunderbird (X11/20101027)

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,
DK-2450 Kbh. SV
+45 6168 8518

;;; mflogo.el --- AUCTeX style for `mflogo.sty'

;; Author: Mads Jensen <address@hidden>
;; Created: 2011-02-02
;; Keywords: tex

;;; Commentary:

;; This file adds support for `mflogo.sty'.

;;; Code:

 (lambda ()
    '("textlogo" 1)
    '("logofamily" 1))

   ;; Fontification
   (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
     (font-latex-add-keywords '(("logofamily" "{")
                                ("textlogo" "{"))

(defvar LaTeX-mflogo-package-options nil
  "Package options for the mflogo package.")

;;; mflogo.el ends here

Attachment: signature.asc
Description: PGP signature

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]