Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/code/elpa/auctex-13.2.1/style/jsbook.el

35 lines
1.3 KiB
EmacsLisp

;;; jsbook.el - Special code for jsbook class. -*- lexical-binding: t; -*-
;;; Code:
(require 'tex)
(require 'latex)
(defvar LaTeX-jsbook-class-options
'("a3paper" "a4paper" "a5paper" "a6paper" "b4paper" "b5paper" "b6paper"
"a4j" "a5j" "b4j" "b5j" "a4var" "b5var" "letterpaper" "legalpaper"
"executivepaper" "landscape" "report"
"8pt" "9pt" "10pt" "11pt" "12pt" "14pt" "17pt" "20pt" "21pt" "25pt"
"30pt" "36pt" "43pt" "12Q" "14Q" "usemag" "nomag" "nomag*"
"tombow" "tombo" "mentuke" "oneside" "twoside" "vartwoside"
"onecolumn" "twocolumn" "titlepage" "notitlepage"
"openright" "openleft" "openany" "leqno" "fleqn"
"disablejfam" "draft" "final" "mingoth" "wingoth" "jis"
"uplatex" "autodetect-engine" "papersize" "english" "jslogo" "nojslogo")
"Class options for the jsbook class.")
(TeX-add-style-hook
"jsbook"
(lambda ()
(if (LaTeX-provided-class-options-member "jsbook" "report")
(progn
(LaTeX-largest-level-set "chapter")
(LaTeX-add-environments "abstract"))
(LaTeX-largest-level-set "part"))
(LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
"paragraph" "subparagraph" "figure" "table")
(LaTeX-add-pagestyles "headings" "myheadings"))
TeX-dialect)
;;; jsbook.el ends here