all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using normal weight for org strike-through
@ 2022-01-27  5:55 fatiparty--- via Users list for the GNU Emacs text editor
       [not found] ` <MuP5aYN--3-2@tutanota.com-MuP62Rs----2>
  0 siblings, 1 reply; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-01-27  5:55 UTC (permalink / raw)
  To: Help Gnu Emacs


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) )



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Using normal weight for org strike-through
       [not found] ` <MuP5aYN--3-2@tutanota.com-MuP62Rs----2>
@ 2022-01-28  8:10   ` fatiparty--- via Users list for the GNU Emacs text editor
       [not found]   ` <MuUj75K--3-2@tutanota.com-MuUj7A8----2>
  1 sibling, 0 replies; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-01-28  8:10 UTC (permalink / raw)
  To: Fatiparty; +Cc: Help Gnu Emacs

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. 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Using normal weight for org strike-through
       [not found]   ` <MuUj75K--3-2@tutanota.com-MuUj7A8----2>
@ 2022-01-29  9:08     ` fatiparty--- via Users list for the GNU Emacs text editor
       [not found]     ` <Mu_51-W--3-2@tutanota.com-Mu_5_8D----2>
  1 sibling, 0 replies; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-01-29  9:08 UTC (permalink / raw)
  To: Fatiparty; +Cc: Help Gnu Emacs

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"))



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Using normal weight for org strike-through
       [not found]     ` <Mu_51-W--3-2@tutanota.com-Mu_5_8D----2>
@ 2022-01-29 13:01       ` fatiparty--- via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-01-29 13:01 UTC (permalink / raw)
  To: Fatiparty; +Cc: Help Gnu Emacs

Jan 29, 2022, 21:08 by help-gnu-emacs@gnu.org:

> 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 now used 

(defface matryoshka-emph-strike
  '( ( default :inherit (:strike-through t :weight normal))
     ( ((class color) (min-colors 88) (background dark))
       :foreground "#ae6029" )
     ( ((class color) (min-colors 88) (background light))
       :foreground "#ae6029" ) )
  "Grey coloured typeface for strike emphasis.")
This works, but is it the proper way to do it?




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-29 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-27  5:55 Using normal weight for org strike-through fatiparty--- via Users list for the GNU Emacs text editor
     [not found] ` <MuP5aYN--3-2@tutanota.com-MuP62Rs----2>
2022-01-28  8:10   ` fatiparty--- via Users list for the GNU Emacs text editor
     [not found]   ` <MuUj75K--3-2@tutanota.com-MuUj7A8----2>
2022-01-29  9:08     ` fatiparty--- via Users list for the GNU Emacs text editor
     [not found]     ` <Mu_51-W--3-2@tutanota.com-Mu_5_8D----2>
2022-01-29 13:01       ` fatiparty--- via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.