diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-07-09 15:43:05 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-07-09 15:43:05 -0400 |
| commit | fccbfbd8a54b5f2d5f10061f78265fb7420d5d97 (patch) | |
| tree | 3c9d33e79e31625079ca18b9f423ec1b0b0d184f | |
| parent | Use same foreground for all `org-mode` heading levels (diff) | |
| download | mmosmacs-fccbfbd8a54b5f2d5f10061f78265fb7420d5d97.tar.gz mmosmacs-fccbfbd8a54b5f2d5f10061f78265fb7420d5d97.tar.bz2 mmosmacs-fccbfbd8a54b5f2d5f10061f78265fb7420d5d97.zip | |
Prettify `org-mode` a bit and enable use of LaTeX for math formulas
| -rw-r--r-- | init.el | 37 |
1 files changed, 36 insertions, 1 deletions
| @@ -816,7 +816,9 @@ | |||
| 816 | org-hide-leading-stars t | 816 | org-hide-leading-stars t |
| 817 | org-adapt-indentation t | 817 | org-adapt-indentation t |
| 818 | org-support-shift-select 'always | 818 | org-support-shift-select 'always |
| 819 | org-return-follows-link t) | 819 | org-return-follows-link t |
| 820 | org-image-actual-width nil | ||
| 821 | org-image-max-width 120) | ||
| 820 | (advice-add 'org-refile :after 'org-save-all-org-buffers) | 822 | (advice-add 'org-refile :after 'org-save-all-org-buffers) |
| 821 | :bind | 823 | :bind |
| 822 | ("C-c n l t" . org-toggle-link-display) | 824 | ("C-c n l t" . org-toggle-link-display) |
| @@ -844,6 +846,11 @@ | |||
| 844 | :bind | 846 | :bind |
| 845 | ("C-c n l o" . link-hint-open-link)) | 847 | ("C-c n l o" . link-hint-open-link)) |
| 846 | 848 | ||
| 849 | ;; Render animated GIFs | ||
| 850 | (use-package org-inline-anim | ||
| 851 | :straight t | ||
| 852 | :hook (org-mode . org-inline-anim-mode)) | ||
| 853 | |||
| 847 | 854 | ||
| 848 | ;; --------------------------------- | 855 | ;; --------------------------------- |
| 849 | ;; `org-roam' | 856 | ;; `org-roam' |
| @@ -1093,6 +1100,34 @@ | |||
| 1093 | ;; (run-with-idle-timer mm/refresh-agenda-time-seconds t 'mm/refresh-agenda-timer-function) | 1100 | ;; (run-with-idle-timer mm/refresh-agenda-time-seconds t 'mm/refresh-agenda-timer-function) |
| 1094 | 1101 | ||
| 1095 | 1102 | ||
| 1103 | ;; --------------------------------- | ||
| 1104 | ;; Math notes | ||
| 1105 | ;; ---------- | ||
| 1106 | ;; I'm studying math, might as well | ||
| 1107 | ;; take some notes | ||
| 1108 | ;; --------------------------------- | ||
| 1109 | |||
| 1110 | ;; AUCTeX | ||
| 1111 | (use-package tex | ||
| 1112 | :straight auctex | ||
| 1113 | :config | ||
| 1114 | (setq TeX-auto-save t | ||
| 1115 | TeX-parse-self t | ||
| 1116 | org-format-latex-options (plist-put org-format-latex-options | ||
| 1117 | :scale 1.75))) | ||
| 1118 | |||
| 1119 | ;; CDLaTeX | ||
| 1120 | (use-package cdlatex | ||
| 1121 | :straight t | ||
| 1122 | :hook (org-mode . org-cdlatex-mode)) | ||
| 1123 | |||
| 1124 | ;; Automatically toggle LaTeX previews | ||
| 1125 | ;; when cursor enters/exits them. | ||
| 1126 | (use-package org-fragtog | ||
| 1127 | :straight t | ||
| 1128 | :hook (org-mode . org-fragtog-mode)) | ||
| 1129 | |||
| 1130 | |||
| 1096 | 1131 | ||
| 1097 | 1132 | ||
| 1098 | ;; --------------------------------------------------------------------- | 1133 | ;; --------------------------------------------------------------------- |