Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; MELPA Packages
- (require 'package)
- (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
- (package-initialize)
- ;; Reftex enabled
- (require 'reftex)
- (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
- (add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
- ;; CDLatex enabled for org files
- (add-hook 'org-mode-hook 'turn-on-org-cdlatex)
- ;; Trying to get better pdf's with a note class.
- (with-eval-after-load 'org-latex
- (add-to-list 'org-latex-classes
- '("notes"
- "\\documentclass{notes}
- \\usepackage[utf8]{inputenc}
- \\usepackage[T1]{fontenc}
- \\usepackage{graphicx}
- \\usepackage{longtable}
- \\usepackage{hyperref}
- \\usepackage{natbib}
- \\usepackage{amssymb}
- \\usepackage{amsmath}
- \\usepackage{geometry}
- \\geometry{a4paper,left=2.5cm,top=2cm,right=2.5cm,bottom=2cm,marginparsep=7pt, marginparwidth=.6in}"
- ("\\section{%s}" . "\\section*{%s}")
- ("\\subsection{%s}" . "\\subsection*{%s}")
- ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
- ("\\paragraph{%s}" . "\\paragraph*{%s}")
- ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
- (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.
- '(custom-enabled-themes (quote (zenburn)))
- '(custom-safe-themes
- (quote
- ("669e02142a56f63861288cc585bee81643ded48a19e36bfdf02b66d745bcc626" "a7051d761a713aaf5b893c90eaba27463c791cd75d7257d3a8e66b0c8c346e77" default)))
- '(package-selected-packages
- (quote
- (org-ref pdf-tools zenburn-theme cdlatex atom-one-dark-theme auctex tablist)))
- '(tetris-x-colors
- [[229 192 123]
- [97 175 239]
- [209 154 102]
- [224 108 117]
- [152 195 121]
- [198 120 221]
- [86 182 194]]))
- (custom-set-faces
- ;; custom-set-faces 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.
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement