waves-16-arma

Simulation of Standing and Propagating Sea Waves with Three-Dimensional ARMA Model
git clone https://git.igankevich.com/waves-16-arma.git
Log | Files | Refs

config.el (3513B)


      1 (org-mode)
      2 (require 'ob)
      3 ;; activate Babel languages
      4 (require 'ob-shell)
      5 (require 'ob-C)
      6 (require 'ob-R)
      7 (require 'ob-emacs-lisp)
      8 (require 'ob-dot)
      9 (require 'ob-latex)
     10 (require 'ob-scheme)
     11 (require 'ox-latex)
     12 (require 'ob-gnuplot)
     13 ;; XeLaTeX class
     14 (add-to-list 'org-latex-classes
     15              '("scrartcl"
     16                "\\documentclass{scrartcl}
     17                [DEFAULT-PACKAGES]
     18                [PACKAGES]
     19                [EXTRA]"
     20                ("\\section{%s}" . "\\addsec{%s}")
     21                ("\\subsection{%s}" . "\\subsection*{%s}")
     22                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     23                ("\\paragraph{%s}" . "\\paragraph*{%s}")
     24                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
     25 (add-to-list 'org-latex-classes
     26              '("review"
     27                "\\documentclass{review}
     28                [DEFAULT-PACKAGES]
     29                [PACKAGES]
     30                [EXTRA]"
     31                ("\\section{%s}" . "\\addsec{%s}")
     32                ("\\subsection{%s}" . "\\subsection*{%s}")
     33                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     34                ("\\paragraph{%s}" . "\\paragraph*{%s}")
     35                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
     36 (add-to-list 'org-latex-classes
     37              '("svmult"
     38                "\\documentclass{svmult}
     39                [DEFAULT-PACKAGES]
     40                [PACKAGES]
     41                [EXTRA]"
     42                ("\\section{%s}" . "\\addsec{%s}")
     43                ("\\subsection{%s}" . "\\subsection*{%s}")
     44                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     45                ("\\paragraph{%s}" . "\\paragraph*{%s}")
     46                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
     47 '(org-latex-listings t)
     48 (setq org-beamer-frame-default-options "label=")
     49 ;; move table/figure captions to the bottom
     50 (setq org-latex-caption-above nil)
     51 ;; preserve original image width
     52 (setq org-latex-image-default-width nil)
     53 ;; highlight LaTeX code fragments
     54 (setq org-highlight-latex-and-related '(latex entities))
     55 ;; XeLaTeX export settings
     56 ;; sane listings default parameters
     57 (add-to-list 'org-latex-packages-alist '("" "listings"))
     58 (setq org-latex-listings 'listings)
     59 (setq org-latex-listings-options
     60       '(("inputencoding" "utf8")
     61         ("basicstyle" "\\ttfamily")
     62         ("texcl" "true")
     63         ("literate" "{-}{-}1")
     64         ("tabsize" "4")
     65         ("escapechar" "@")))
     66 ;; auto-detect document language
     67 (setq org-latex-hyperref-template
     68       "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c},\n pdflang={%L},\n unicode={true}\n}\n\\setdefaultlanguage{%l}\n")
     69 ;; do not include obsolete packages
     70 (setq org-latex-default-packages-alist
     71       '(("" "graphicx")
     72         ("" "booktabs")
     73         ("" "amsmath")
     74         ("" "amssymb")
     75         ("" "hyperref")
     76         ("" "tikz")
     77         ("" "cite")
     78         ("" "url")
     79         ("" "polyglossia")))
     80 ;; booktabs tables
     81 (setq org-export-latex-tables-hline "\\midrule")
     82 (setq org-export-latex-tables-tstart "\\toprule")
     83 (setq org-export-latex-tables-tend "\\bottomrule")
     84 ;; automatically evaluate code on export
     85 (setq org-confirm-babel-evaluate nil)
     86 (setq org-export-babel-evaluate t)
     87 (require 'org-ref)
     88 (setq reftex-default-bibliography '("~/org/bibliograhy.bib"))
     89 ;; see org-ref for use of these variables
     90 (setq org-ref-bibliography-notes "~/org/bibliography.org"
     91       org-ref-default-bibliography '("~/org/bibliography.bib")
     92       org-ref-pdf-directory "~/bibliography/")
     93 (require 'ox-beamer)
     94 (setq org-export-with-broken-links t)