aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-11-15 19:12:28 +0100
committerAdrian Kummerlaender2020-11-15 19:12:28 +0100
commita537223b1ee91225717af4f50e91966eadb62782 (patch)
treed59fe27382e4e376bd46307d78f97c373c274585 /gui
parentdd0e0b7b7b194cb43e453ac04cb7182a2a3e3a73 (diff)
downloadnixos_home-a537223b1ee91225717af4f50e91966eadb62782.tar
nixos_home-a537223b1ee91225717af4f50e91966eadb62782.tar.gz
nixos_home-a537223b1ee91225717af4f50e91966eadb62782.tar.bz2
nixos_home-a537223b1ee91225717af4f50e91966eadb62782.tar.lz
nixos_home-a537223b1ee91225717af4f50e91966eadb62782.tar.xz
nixos_home-a537223b1ee91225717af4f50e91966eadb62782.tar.zst
nixos_home-a537223b1ee91225717af4f50e91966eadb62782.zip
AucTex font customization
Diffstat (limited to 'gui')
-rw-r--r--gui/conf/init.el53
-rw-r--r--gui/conf/metakr.org7
2 files changed, 34 insertions, 26 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 8c6ad49..68978b6 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -249,32 +249,33 @@
:ensure t)
(custom-theme-set-faces
- 'user
- '(org-level-1 ((t (:family "Source Serif Pro"))))
- '(org-level-2 ((t (:family "Source Serif Pro"))))
- '(org-level-3 ((t (:family "Source Serif Pro"))))
- '(org-level-4 ((t (:family "Source Serif Pro"))))
- '(org-document-title ((t (:family "Source Serif Pro"))))
-
- ;; calfw
- '(cfw:face-title ((t (:inherit variable-pitch :family "Source Serif Pro" :foreground "#AADB0F" :height 2.0))))
- '(cfw:face-header ((t (:inherit fixed-pitch))))
- '(cfw:face-sunday ((t (:inherit fixed-pitch))))
- '(cfw:face-saturday ((t (:inherit fixed-pitch))))
- '(cfw:face-holiday ((t (:inherit fixed-pitch))))
- '(cfw:face-grid ((t (:inherit fixed-pitch))))
- '(cfw:face-default-content ((t (:inherit fixed-pitch))))
- '(cfw:face-periods ((t (:foreground "#909636"))))
- '(cfw:face-day-title ((t :background "#161616")))
- '(cfw:face-default-day ((t :weight bold :inherit cfw:face-day-title)))
- '(cfw:face-annotation ((t :foreground "#909636" :inherit cfw:face-day-title)))
- '(cfw:face-disable ((t :inherit cfw:face-day-title)))
- '(cfw:face-today-title ((t :foreground "#161616" :background "#AADB0F" :weight bold)))
- '(cfw:face-today ((t (:inherit fixed-pitch))))
- '(cfw:face-select ((t (:background "#F2F2F2" :foreground "#161616"))))
- '(cfw:face-toolbar ((t (:inherit fixed-pitch))))
- '(cfw:face-toolbar-button-off ((t (:inherit fixed-pitch))))
- '(cfw:face-toolbar-button-on ((t (:inherit fixed-pitch)))))
+ 'user
+ '(org-level-1 ((t (:family "Source Serif Pro"))))
+ '(org-level-2 ((t (:family "Source Serif Pro"))))
+ '(org-level-3 ((t (:family "Source Serif Pro"))))
+ '(org-level-4 ((t (:family "Source Serif Pro"))))
+ '(org-document-title ((t (:family "Source Serif Pro"))))
+ '(font-latex-sectioning-5-face ((t (:family "Source Serif Pro" :height 1.1))))
+
+ ;; calfw
+ '(cfw:face-title ((t (:inherit variable-pitch :family "Source Serif Pro" :foreground "#AADB0F" :height 2.0))))
+ '(cfw:face-header ((t (:inherit fixed-pitch))))
+ '(cfw:face-sunday ((t (:inherit fixed-pitch))))
+ '(cfw:face-saturday ((t (:inherit fixed-pitch))))
+ '(cfw:face-holiday ((t (:inherit fixed-pitch))))
+ '(cfw:face-grid ((t (:inherit fixed-pitch))))
+ '(cfw:face-default-content ((t (:inherit fixed-pitch))))
+ '(cfw:face-periods ((t (:foreground "#909636"))))
+ '(cfw:face-day-title ((t :background "#161616")))
+ '(cfw:face-default-day ((t :weight bold :inherit cfw:face-day-title)))
+ '(cfw:face-annotation ((t :foreground "#909636" :inherit cfw:face-day-title)))
+ '(cfw:face-disable ((t :inherit cfw:face-day-title)))
+ '(cfw:face-today-title ((t :foreground "#161616" :background "#AADB0F" :weight bold)))
+ '(cfw:face-today ((t (:inherit fixed-pitch))))
+ '(cfw:face-select ((t (:background "#F2F2F2" :foreground "#161616"))))
+ '(cfw:face-toolbar ((t (:inherit fixed-pitch))))
+ '(cfw:face-toolbar-button-off ((t (:inherit fixed-pitch))))
+ '(cfw:face-toolbar-button-on ((t (:inherit fixed-pitch)))))
(use-package org-bullets
:ensure t
diff --git a/gui/conf/metakr.org b/gui/conf/metakr.org
index 4cd119a..1aae6f1 100644
--- a/gui/conf/metakr.org
+++ b/gui/conf/metakr.org
@@ -367,6 +367,13 @@ For quick iteration all colors are stored in a table.
;; Whitespace
(whitespace-tab
:background @whitespace-tab)
+
+;; LaTeX
+ (font-latex-sectioning-5-face
+ :foreground @fg)
+ (font-latex-italic-face
+ :inherit italic
+ :foreground @muted)
)
#+END_SRC