X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=07f2af1f4ba2b53bd4266edb053d9cdcec244d51;hb=5b52a9f32b6f618fb03a59abb29fd3f8c67b2b55;hp=dce891ad9399dea3ab0b8fcf6780d87d2df859c1;hpb=10c7544e2dd5a591a082c3c809b948b616cad97d;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index dce891a..07f2af1 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1085,7 +1085,7 @@ extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-em *** variable-pitch-mode and fixed-pitch-mode [[https://yoo2080.wordpress.com/2013/05/30/monospace-font-in-tables-and-source-code-blocks-in-org-mode-proportional-font-in-other-parts/][monospace font in tables and source code blocks in org-mode, proportional font in other parts]] #+BEGIN_SRC emacs-lisp :tangle yes :results silent - (set-face-attribute 'variable-pitch nil :font "Calibri" :height 140) + (set-face-attribute 'variable-pitch nil :font "Calibri" :height 160) (set-face-attribute 'fixed-pitch nil :font "Source Code Pro" :height 120) (add-hook 'text-mode-hook 'variable-pitch-mode) @@ -1114,11 +1114,11 @@ Also correct the face of =org-meta-line= in =org-table= (with-eval-after-load "org" (let* ((base-height (face-attribute 'variable-pitch :height)) (base-font-color (face-foreground 'default nil 'default))) - (set-face-attribute 'org-document-title nil :weight 'bold :height (+ 100 base-height)) - (set-face-attribute 'org-level-1 nil :weight 'bold :height (+ 80 base-height)) - (set-face-attribute 'org-level-2 nil :weight 'bold :height (+ 60 base-height)) - (set-face-attribute 'org-level-3 nil :weight 'bold :height (+ 40 base-height)) - (set-face-attribute 'org-level-4 nil :weight 'bold :height (+ 20 base-height)) + (set-face-attribute 'org-document-title nil :weight 'bold :height (+ 60 base-height)) + (set-face-attribute 'org-level-1 nil :weight 'bold :height (+ 40 base-height)) + (set-face-attribute 'org-level-2 nil :weight 'bold :height (+ 30 base-height)) + (set-face-attribute 'org-level-3 nil :weight 'bold :height (+ 20 base-height)) + (set-face-attribute 'org-level-4 nil :weight 'bold :height (+ 10 base-height)) (set-face-attribute 'org-level-5 nil :weight 'bold) (set-face-attribute 'org-level-6 nil :weight 'bold) (set-face-attribute 'org-level-7 nil :weight 'bold)