SHARE
TWEET

Untitled

a guest Aug 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;; MELPA Packages
  2.  
  3. (require 'package)
  4. (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
  5.  
  6. (package-initialize)
  7.  
  8. ;; Reftex enabled
  9.  
  10. (require 'reftex)
  11.    
  12. (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
  13. (add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode
  14.  
  15. ;; CDLatex enabled for org files
  16.  
  17. (add-hook 'org-mode-hook 'turn-on-org-cdlatex)
  18.  
  19. ;; Trying to get better pdf's with a note class.
  20.  
  21. (with-eval-after-load 'org-latex
  22. (add-to-list 'org-latex-classes
  23.              '("notes"
  24.                "\\documentclass{notes}
  25. \\usepackage[utf8]{inputenc}
  26. \\usepackage[T1]{fontenc}
  27. \\usepackage{graphicx}
  28. \\usepackage{longtable}
  29. \\usepackage{hyperref}
  30. \\usepackage{natbib}
  31. \\usepackage{amssymb}
  32. \\usepackage{amsmath}
  33. \\usepackage{geometry}
  34. \\geometry{a4paper,left=2.5cm,top=2cm,right=2.5cm,bottom=2cm,marginparsep=7pt, marginparwidth=.6in}"
  35.                ("\\section{%s}" . "\\section*{%s}")
  36.                ("\\subsection{%s}" . "\\subsection*{%s}")
  37.                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
  38.                ("\\paragraph{%s}" . "\\paragraph*{%s}")
  39.                ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
  40.  
  41.  
  42. (custom-set-variables
  43.  ;; custom-set-variables was added by Custom.
  44.  ;; If you edit it by hand, you could mess it up, so be careful.
  45.  ;; Your init file should contain only one such instance.
  46.  ;; If there is more than one, they won't work right.
  47.  '(custom-enabled-themes (quote (zenburn)))
  48.  '(custom-safe-themes
  49.    (quote
  50.     ("669e02142a56f63861288cc585bee81643ded48a19e36bfdf02b66d745bcc626" "a7051d761a713aaf5b893c90eaba27463c791cd75d7257d3a8e66b0c8c346e77" default)))
  51.  '(package-selected-packages
  52.    (quote
  53.     (org-ref pdf-tools zenburn-theme cdlatex atom-one-dark-theme auctex tablist)))
  54.  '(tetris-x-colors
  55.    [[229 192 123]
  56.     [97 175 239]
  57.     [209 154 102]
  58.     [224 108 117]
  59.     [152 195 121]
  60.     [198 120 221]
  61.     [86 182 194]]))
  62. (custom-set-faces
  63.  ;; custom-set-faces was added by Custom.
  64.  ;; If you edit it by hand, you could mess it up, so be careful.
  65.  ;; Your init file should contain only one such instance.
  66.  ;; If there is more than one, they won't work right.
  67.  )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top