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: Sat, 29 Jan 2022 10:08:49 +0100 (CET)

Jan 28, 2022, 20:10 by fatiparty@tutanota.com:

> Jan 27, 2022, 17:55 by help-gnu-emacs@gnu.org:
>
>>
>> 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")
>>     (((class color) (min-colors 88) (background light))
>>      :foreground "#ae6029"))
>>   "Colour typeface for strike emphasis.")
>>
>> (setq org-emphasis-alist
>>       '("+" emph-strike) )
>>
> My configuration uses bold, but want to change  org emphasis strike-through 
> to use normal
> weight. 
>

Have been trying to include "weight 'normal" without taking effect 

(((class color) (min-colors 88) (background light))
     :foreground "#ae6029"))



reply via email to

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