yatex
changeset 602:a7ad9158e3ce dev
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 | c3e61ea3ba7f |
files | yatexadd.el yatexpkg.el |
diffstat | 2 files changed, 21 insertions(+), 3 deletions(-) [+] |
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")
2.1 --- a/yatexpkg.el Thu Nov 03 10:42:49 2022 +0859 2.2 +++ b/yatexpkg.el Thu Dec 01 14:42:04 2022 +0859 2.3 @@ -1,7 +1,7 @@ 2.4 ;;; yatexpkg.el --- YaTeX package manager -*- coding: sjis -*- 2.5 ;;; 2.6 ;;; (c)2003-2019 by HIROSE, Yuuji [yuuji@yatex.org] 2.7 -;;; Last modified Sun Oct 16 20:56:01 2022 on firestorm 2.8 +;;; Last modified Thu Dec 1 14:30:58 2022 on firestorm 2.9 ;;; $Id$ 2.10 2.11 ;;; Code: 2.12 @@ -28,7 +28,8 @@ 2.13 ("alltt" (env "alltt")) 2.14 ("misc" (section "verbfile" "listing")) 2.15 ("verbatim" (section "verbatiminput")) 2.16 - ("eclbkbox" (env "breakbox")) 2.17 + ("boites" (env "breakbox")) 2.18 + ;;("eclbkbox" (env "breakbox")) 2.19 ("supertabular" (env "supertabular")) 2.20 ("tabularx" (env "tabularx")) 2.21 ("amsmath" (env . YaTeX-package-ams-envs) 2.22 @@ -78,6 +79,8 @@ 2.23 ("subfigure" (section "subfigure")) 2.24 ("okumacro" (section "ruby" "kenten")) 2.25 ("colortbl" (section "columncolor" "rowcolor")) 2.26 + ("booktab" (section "toprule" "midrule" "bottomrule" "cmidrule" 2.27 + "addlinespace" "specialrule")) 2.28 ) 2.29 "Default package vs. macro list. 2.30 Alists contains '(PACKAGENAME . MACROLIST)