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

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

Using normal weight for org strike-through


From: fatiparty
Subject: Using normal weight for org strike-through
Date: Thu, 27 Jan 2022 06:55:29 +0100 (CET)

I am using the following code to change the colour of emphasis (strike-through).
But I also want to use normal weight for the font.  How can this be done?

(defface emph-strike
  '((default :inherit (:strike-through t))
    (((class color) (min-colors 88) (background dark))
     :foreground "#ae6029")       ; CR: 7.08
    (((class color) (min-colors 88) (background light))
     :foreground "#ae6029"))      ; CR: 7.03
  "Colour typeface for strike emphasis.")

(setq org-emphasis-alist
      '("+" emph-strike) )



reply via email to

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