Experimenting with org in variable pitch mode
Which really only works if the font size is similar and we still have fixed width for code blocks.
This commit is contained in:
parent
5e3c45a9a8
commit
6c504eec6c
2 changed files with 9 additions and 2 deletions
|
@ -214,7 +214,7 @@ Simple function that gives me the font information based on the size I need. Thi
|
||||||
;; fixed-pitch as my default fixed-pitched font.
|
;; fixed-pitch as my default fixed-pitched font.
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces
|
||||||
'user
|
'user
|
||||||
`(variable-pitch ((t (:family ,ha-variable-font :slant normal :weight normal :height 1.1 :width normal))))
|
`(variable-pitch ((t (:family ,ha-variable-font :slant normal :weight normal :height 1.3 :width normal))))
|
||||||
`(fixed-pitch ((t (:family ,ha-fixed-font :slant normal :weight normal :height 1.0 :width normal)))))))
|
`(fixed-pitch ((t (:family ,ha-fixed-font :slant normal :weight normal :height 1.0 :width normal)))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ Simple function that gives me the font information based on the size I need. Thi
|
||||||
(defun ha-mac-monitor-fontsize ()
|
(defun ha-mac-monitor-fontsize ()
|
||||||
"Quickly set reset my font size when I connect my laptop to a monitor on a Mac."
|
"Quickly set reset my font size when I connect my laptop to a monitor on a Mac."
|
||||||
(interactive)
|
(interactive)
|
||||||
(ha-set-favorite-font-size 13))
|
(ha-set-favorite-font-size 16))
|
||||||
|
|
||||||
(defun ha-linux-monitor-fontsize ()
|
(defun ha-linux-monitor-fontsize ()
|
||||||
"Quickly set reset my font size when I connect my laptop to a monitor on Linux."
|
"Quickly set reset my font size when I connect my laptop to a monitor on Linux."
|
||||||
|
|
|
@ -109,6 +109,13 @@ Next, we just need to change the header sizes:
|
||||||
(set-face-attribute 'org-level-3 nil :height 1.4 :inherit 'default)
|
(set-face-attribute 'org-level-3 nil :height 1.4 :inherit 'default)
|
||||||
(set-face-attribute 'org-level-4 nil :height 1.1 :inherit 'default))
|
(set-face-attribute 'org-level-4 nil :height 1.1 :inherit 'default))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
While we are at it, let’s make sure the code blocks are using my fixed with font:
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package mixed-pitch
|
||||||
|
:init (setq mixed-pitch-set-height t)
|
||||||
|
:hook (org-mode . mixed-pitch-mode))
|
||||||
|
#+END_SRC
|
||||||
* Superstar
|
* Superstar
|
||||||
Now that headers are noticeable, I have no reason to see a number of asterisks. Once I used the [[https://github.com/sabof/org-bullets][org-bullets]] package, but believe we've replaced it with [[https://github.com/integral-dw/org-superstar-mode][org-superstar-mode]], so the following is an improvement, especially with the sub-bullets:
|
Now that headers are noticeable, I have no reason to see a number of asterisks. Once I used the [[https://github.com/sabof/org-bullets][org-bullets]] package, but believe we've replaced it with [[https://github.com/integral-dw/org-superstar-mode][org-superstar-mode]], so the following is an improvement, especially with the sub-bullets:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue