From 017f1c065cff67ac58d293b2335a10665e9a94a7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 16 Feb 2022 23:12:02 -0600 Subject: Use better org faces These work better with mixed italic, bold, and regular faces --- lisp/+org.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lisp') diff --git a/lisp/+org.el b/lisp/+org.el index d5b5c10..f81d9a1 100644 --- a/lisp/+org.el +++ b/lisp/+org.el @@ -519,5 +519,23 @@ language name.") (setq last-command-event ?~) (call-interactively #'org-self-insert-command))) +;;; Better org faces +;; see `org-emphasis-alist' + +(defface org-bold '((t (:weight bold))) + "Bold face in `org-mode' documents.") + +(defface org-italic '((t (:slant italic))) + "Italic face in `org-mode' documents.") + +(defface org-underline '((t (:underline t))) + "Underline face in `org-mode' documents.") + +(defface org-strikethrough '((t (:strike-through t))) + "Strike-through face for `org-mode' documents.") + +;; `org-verbatim' and `org-code' are apparently already things, so we skip them +;; here. + (provide '+org) ;;; +org.el ends here -- cgit 1.4.1-21-gabe81