修訂 | befb67c72f423ebb45cc10d1b7bd54f5a7c645d7 (tree) |
---|---|
時間 | 2023-04-24 17:38:55 |
作者 | badcoff33 |
Commiter | badcoff33 |
use face-remapping-alist for org buffers
@@ -213,6 +213,17 @@ | ||
213 | 213 | |
214 | 214 | (add-hook 'org-mode-hook |
215 | 215 | (lambda () |
216 | + (setq-local face-remapping-alist | |
217 | + '((default (:height 1.2) variable-pitch) | |
218 | + (org-document-title (:height 1.75) org-document-title) | |
219 | + (org-verbatim (:height 1.55) org-verbatim) | |
220 | + (header-line (:height 4.0) variable-pitch) | |
221 | + (org-code (:height 1.1) org-code) | |
222 | + (org-block (:height 1.25) org-block) | |
223 | + (org-level-1 (:height 1.5) variable-pitch) | |
224 | + (org-level-2 (:height 1.3) variable-pitch) | |
225 | + (org-level-3 (:height 1.2) variable-pitch) | |
226 | + (org-block-begin-line (:height 0.7) org-block))) | |
216 | 227 | (org-show-all) |
217 | 228 | (abbrev-mode 1))) |
218 | 229 |