aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doom/.doom.d/org/config.org17
-rw-r--r--Doom/.doom.d/org/packages.org4
2 files changed, 21 insertions, 0 deletions
diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org
index 285c9e3..3f1155c 100644
--- a/Doom/.doom.d/org/config.org
+++ b/Doom/.doom.d/org/config.org
@@ -188,6 +188,23 @@ std::string` which isn't supported in standard doom. So I add support for it.
:true "true"
:null "nullptr"))
#+END_SRC
+** Calc
+*** Configuration
+#+BEGIN_SRC elisp
+(use-package! calc
+ :config
+ (setq calc-angle-mode 'rad)
+ (map!
+ :leader
+ :desc "Calc" ":" #'calc))
+#+END_SRC
+*** Calctex
+Added some calc mode config. An incredibly powerful tool.
+#+BEGIN_SRC elisp
+(use-package calctex
+ :defer t
+ :hook 'calc-mode)
+#+END_SRC
* Language Config
Configuration for various languages which I feel can be useful
** C-style languages
diff --git a/Doom/.doom.d/org/packages.org b/Doom/.doom.d/org/packages.org
index 33e905f..1d73af7 100644
--- a/Doom/.doom.d/org/packages.org
+++ b/Doom/.doom.d/org/packages.org
@@ -32,6 +32,10 @@ Every now and then I like to use base16 themes, particularly when zen coding.
#+BEGIN_SRC elisp
(package! base16-theme)
#+END_SRC
+** calc-tex
+#+BEGIN_SRC elisp
+(package! calctex :recipe (:host github :repo "https://github.com/johnbcoughlin/calctex"))
+#+END_SRC
* Org-mode
** Fragtog
Fragtog allows for latex segments to be instantly compiled and only when you hover over them will you get the code, similar to prettify-symbols.