help-gnu-emacs
[Top][All Lists]
Advanced

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

colour plain tex keywords


From: michael-franzese
Subject: colour plain tex keywords
Date: Mon, 11 Jan 2021 16:28:30 +0100

I have made the following definition to colour plain tex keywords
for greek letters \alpha \beta \gamma.

How can I associate the actual keywords wtih the face, so I can highlight
the lower case greek letter commands in plain tex.

(defface colour-greek-category
  '((default :inherit bold)
    (((class color) (min-colors 88) (background light))
     :foreground "#1f0f6f")
    (((class color) (min-colors 88) (background dark))
     :foreground "#92baff")
    (t :inherit font-lock-builtin-face))
  "Face for header category entry.")




reply via email to

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