26 lines
829 B
EmacsLisp
26 lines
829 B
EmacsLisp
|
;;; jbook.el - Special code for jbook class. -*- lexical-binding: t; -*-
|
||
|
|
||
|
;;; Code:
|
||
|
|
||
|
(require 'tex)
|
||
|
(require 'latex)
|
||
|
|
||
|
(defvar LaTeX-jbook-class-options
|
||
|
'("a4paper" "a5paper" "b4paper" "b5paper" "a4j" "a5j" "b4j" "b5j"
|
||
|
"a4p" "b4p" "b5p" "10pt" "11pt" "12pt" "landscape" "tombow" "tombo"
|
||
|
"mentuke" "oneside" "twoside" "onecolumn" "twocolumn"
|
||
|
"titlepage" "notitlepage" "openright" "openany" "leqno" "fleqn"
|
||
|
"openbib" "disablejfam" "mathrmmc" "draft" "final")
|
||
|
"Class options for the jbook class.")
|
||
|
|
||
|
(TeX-add-style-hook
|
||
|
"jbook"
|
||
|
(lambda ()
|
||
|
(LaTeX-largest-level-set "part")
|
||
|
(LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
|
||
|
"paragraph" "subparagraph" "figure" "table")
|
||
|
(LaTeX-add-pagestyles "headings" "myheadings"))
|
||
|
TeX-dialect)
|
||
|
|
||
|
;;; jbook.el ends here
|