From a537223b1ee91225717af4f50e91966eadb62782 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 15 Nov 2020 19:12:28 +0100 Subject: AucTex font customization --- gui/conf/init.el | 53 +++++++++++++++++++++++++++-------------------------- gui/conf/metakr.org | 7 +++++++ 2 files changed, 34 insertions(+), 26 deletions(-) (limited to 'gui/conf') 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 -- cgit v1.2.3