31 lines
1.1 KiB
EmacsLisp
31 lines
1.1 KiB
EmacsLisp
|
;;; jsarticle.el - Special code for jsarticle class. -*- lexical-binding: t; -*-
|
||
|
|
||
|
;;; Code:
|
||
|
|
||
|
(require 'tex)
|
||
|
(require 'latex)
|
||
|
|
||
|
(defvar LaTeX-jsarticle-class-options
|
||
|
'("a3paper" "a4paper" "a5paper" "a6paper" "b4paper" "b5paper" "b6paper"
|
||
|
"a4j" "a5j" "b4j" "b5j" "a4var" "b5var" "letterpaper" "legalpaper"
|
||
|
"executivepaper" "landscape" "slide"
|
||
|
"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" "leqno" "fleqn"
|
||
|
"disablejfam" "draft" "final" "mingoth" "wingoth" "jis"
|
||
|
"uplatex" "autodetect-engine" "papersize" "english" "jslogo" "nojslogo")
|
||
|
"Class options for the jsarticle class.")
|
||
|
|
||
|
(TeX-add-style-hook
|
||
|
"jsarticle"
|
||
|
(lambda ()
|
||
|
(LaTeX-largest-level-set "section")
|
||
|
(LaTeX-add-counters "part" "section" "subsection" "subsubsection" "paragraph"
|
||
|
"subparagraph" "figure" "table")
|
||
|
(LaTeX-add-pagestyles "headings" "myheadings")
|
||
|
(LaTeX-add-environments "abstract"))
|
||
|
TeX-dialect)
|
||
|
|
||
|
;;; jsarticle.el ends here
|