summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/york-thesis/york-thesis.el
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/york-thesis/york-thesis.el
Initial commit
Diffstat (limited to 'macros/latex/contrib/york-thesis/york-thesis.el')
-rw-r--r--macros/latex/contrib/york-thesis/york-thesis.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/latex/contrib/york-thesis/york-thesis.el b/macros/latex/contrib/york-thesis/york-thesis.el
new file mode 100644
index 0000000000..e0589ee627
--- /dev/null
+++ b/macros/latex/contrib/york-thesis/york-thesis.el
@@ -0,0 +1,26 @@
+;
+;;; york-thesis.el - Special code for york-thesis style.
+;
+;;; Code:
+
+;; AUCTeX configuration
+(TeX-add-style-hook "york-thesis"
+ (function (lambda ()
+ (setq LaTeX-largest-level (LaTeX-section-level "part"))
+ (LaTeX-add-environments
+ "epigraphs" "fquote"
+ "fquotation" "fverse")
+ (TeX-add-symbols
+ '("epigraph" 2)
+ '("degreename" 1)
+ '("committeememberslist" 1)
+ '("department" 1)
+ '("masterof" 1)
+ '("abstractfile" 1)
+ '("acknowledgementsfile" 1)
+ '("prefacefile" 1)
+ '("abbreviationsfile" 1)
+ '("threestars" 0))
+)))
+
+;;; york-thesis.el ends here \ No newline at end of file