dotfiles/emacs/.doom.d/custom.el

115 lines
2.4 KiB
EmacsLisp
Raw Normal View History

(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-hugo-base-dir "~/Documents/hugo/")
'(org-roam-capture-templates
'(("d" "default" plain "* Description
%?
* Resources
- " :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
:unnarrowed t)
("r" "Code Implementation" plain "* Description
%?
* Methods
** TODO <Name>
*** Description
*** Code
* Resources
- " :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}
#+filetags: code")
:unnarrowed t)
("t" "Rust Traits" plain "* Description
%?
* Notable Implementations/Subtraits
* Methods
** TODO <Name>
*** Description
*** Code
* Resources
- " :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}
#+filetags: rust-trait")
:unnarrowed t)
("P" "project" plain "* Project Overview
- Type: %^{Project Type}
- Project Partners:
- %?
* Project Description
* Tasks
** TODO Add initial taks
* Sprints
**
" :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}
#+filetags: project")
:unnarrowed t)
("p" "paper" plain "* Authors
- %?
* Index Terms
-
* Short Summary
" :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}
#+filetags: paper")
:unnarrowed t)
("l" "programming language" plain "* Description
%?
* Programming Language Properties
-
* Benefits
-
* Examples
** Hello World
#+begin_src ${title}
#+end_src
" :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
:unnarrowed t)
("L" "lecture" plain "- Lecture: ${title}
- Lecturer: %^{Docent}
- Research Group: %^{Research Group}
* Description
" :target
(file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
:unnarrowed t nil nil))))
(require 'ox-latex)
(unless (boundp 'org-latex-classes)
(setq org-latex-classes nil))
(add-to-list 'org-latex-classes
'("paper"
"\\documentclass[12pt,a4paper,conference,final,twoside]{IEEEtran}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))