Fix bold font from org to TeX
This commit is contained in:
@@ -154,12 +154,12 @@
|
|||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(dashboard-setup-startup-hook)
|
(dashboard-setup-startup-hook)
|
||||||
|
(set-face-attribute 'dashboard-banner-logo-title nil :font "Product Sans" :weight 'bold :height 1.5 :inherit 'default)
|
||||||
(setq dashboard-banner-logo-title "Welcome back, Marc."
|
(setq dashboard-banner-logo-title "Welcome back, Marc."
|
||||||
dashboard-center-content t
|
|
||||||
dashboard-startup-banner 'logo
|
dashboard-startup-banner 'logo
|
||||||
dashboard-items '((recents . 5)
|
dashboard-items '((recents . 5)
|
||||||
(agenda . 5)))
|
(agenda . 5))
|
||||||
(set-face-attribute 'dashboard-banner-logo-title nil :font "Product Sans" :weight 'bold :height 1.5 :inherit 'default))
|
dashboard-center-content t))
|
||||||
|
|
||||||
;; show color codes
|
;; show color codes
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode
|
||||||
@@ -285,6 +285,11 @@
|
|||||||
:map minibuffer-local-map
|
:map minibuffer-local-map
|
||||||
("C-r" . 'counsel-minibuffer-history)))
|
("C-r" . 'counsel-minibuffer-history)))
|
||||||
|
|
||||||
|
;; I dont want \alert to be my bold text in TeX
|
||||||
|
(defun hbv/beamer-bold (contents backend info)
|
||||||
|
(when (eq backend 'beamer)
|
||||||
|
(replace-regexp-in-string "\\`\\\\[A-Za-z0-9]+" "\\\\textbf" contents)))
|
||||||
|
|
||||||
;; Org
|
;; Org
|
||||||
(use-package org
|
(use-package org
|
||||||
:straight t
|
:straight t
|
||||||
@@ -330,9 +335,15 @@
|
|||||||
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n")))
|
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n")))
|
||||||
org-edit-src-content-indentation 0))
|
org-edit-src-content-indentation 0))
|
||||||
|
|
||||||
|
(use-package ox
|
||||||
|
:after org
|
||||||
|
:config
|
||||||
|
(add-to-list 'org-export-filter-bold-functions 'hbv/beamer-bold))
|
||||||
|
|
||||||
;; fancy bullets for org
|
;; fancy bullets for org
|
||||||
(use-package org-superstar
|
(use-package org-superstar
|
||||||
:straight t
|
:straight t
|
||||||
|
:after org
|
||||||
:hook
|
:hook
|
||||||
(org-mode . org-superstar-mode)
|
(org-mode . org-superstar-mode)
|
||||||
:config
|
:config
|
||||||
|
|||||||
Reference in New Issue
Block a user