yatex
diff yatexadd.el @ 602:a7ad9158e3ce
Add completions for macros in booktab package
| author | HIROSE Yuuji <yuuji@gentei.org> |
|---|---|
| date | Thu, 01 Dec 2022 14:42:04 +0859 |
| parents | cd375a3d7a29 |
| children | 9ec429ace1c5 |
line diff
1.1 --- a/yatexadd.el Thu Nov 03 10:42:49 2022 +0859 1.2 +++ b/yatexadd.el Thu Dec 01 14:42:04 2022 +0859 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- 1.5 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Thu Nov 3 10:42:43 2022 on firestorm 1.7 +;;; Last modified Thu Dec 1 14:40:42 2022 on firestorm 1.8 ;;; $Id$ 1.9 1.10 ;;; Code: 1.11 @@ -2251,6 +2251,21 @@ 1.12 ((memq c '(?c ?C)) (setq left "{\\scriptsize " right "}"))) 1.13 (format "%s%s%s" left char right))))) 1.14 1.15 + 1.16 +;;; -------------------- booktab staff -------------------- 1.17 +(defun YaTeX::toprule (argp) 1.18 + (if (equal argp 1) (YaTeX:read-length "Top Rule Width: "))) 1.19 +(defun YaTeX::midrule (argp) 1.20 + (if (equal argp 1) (YaTeX:read-length "Middle Rule Width: "))) 1.21 +(defun YaTeX::cmidrule (argp) 1.22 + (if (equal argp 1) (YaTeX:read-length "Inter-Columns Rule Width: "))) 1.23 +(defun YaTeX::bottomrule (argp) 1.24 + (if (equal argp 1) (YaTeX:read-length "Bottom Rule Width: "))) 1.25 +(defun YaTeX::addlinespace (argp) 1.26 + (if (equal argp 1) (YaTeX:read-length "Additional Line space: "))) 1.27 +(defun YaTeX::specialrule (argp) 1.28 + (if (equal argp 1) (YaTeX:read-length "Special rule: "))) 1.29 + 1.30 ;;; -------------------- beamer stuff -------------------- 1.31 (defvar YaTeX:frame-option-alist-default 1.32 '(("plain") ("containsverbatim") ("shrink") ("squeeze")
