yatex
changeset 584:907de32064c9
Add add-in for spacing environment from setspace package
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 04 Dec 2021 07:12:33 +0900 |
parents | d4831b3672f8 |
children | ba4891b3fcf0 |
files | yatex.el yatexadd.el |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/yatex.el Thu Jul 01 07:00:05 2021 +0900 1.2 +++ b/yatex.el Sat Dec 04 07:12:33 2021 +0900 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- 1.5 ;;; (c)1991-2020 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Sat Feb 8 18:31:09 2020 on firestorm 1.7 +;;; Last modified Tue Nov 30 13:08:54 2021 on firestorm 1.8 ;;; $Id$ 1.9 ;;; The latest version of this software is always available at; 1.10 ;;; https://www.yatex.org/ 1.11 @@ -328,6 +328,7 @@ 1.12 ("subfigure") ;; subfigure 1.13 ("ruby" 2) ("kenten") ;; okumacro 1.14 ("geometry") ("path") 1.15 + ("setstretch") 1.16 ) 1.17 (if YaTeX-use-LaTeX2e 1.18 '(("documentclass") ("usepackage") 1.19 @@ -403,7 +404,7 @@ 1.20 ("minipage") ("landscape") 1.21 ("supertabular") ("floatingfigure") ("wrapfigure") ("wraptable") 1.22 ("frame") ("block") ("example") ("columns") ("column") ;beamer 1.23 - ("tabularx") 1.24 + ("tabularx") ("spacing") 1.25 ) 1.26 (if YaTeX-use-LaTeX2e 1.27 '(("comment") ;defined in version
2.1 --- a/yatexadd.el Thu Jul 01 07:00:05 2021 +0900 2.2 +++ b/yatexadd.el Sat Dec 04 07:12:33 2021 +0900 2.3 @@ -1,6 +1,6 @@ 2.4 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- 2.5 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] 2.6 -;;; Last modified Thu Oct 17 09:44:48 2019 on firestorm 2.7 +;;; Last modified Sat Dec 4 07:11:07 2021 on firestorm 2.8 ;;; $Id$ 2.9 2.10 ;;; Code: 2.11 @@ -306,6 +306,11 @@ 2.12 (defun YaTeX:itembox () 2.13 (concat "{" (YaTeX-read-string-or-skip "Item heading string: ") "}")) 2.14 2.15 +(defun YaTeX:spacing () 2.16 + (concat "{" (read-string-with-history "Line spacing by: ") "}")) 2.17 +(defun YaTeX::setstretch (argp) 2.18 + (read-string-with-history "Page global Line stretch factor: ")) 2.19 + 2.20 ;;; 2.21 ;;Sample functions for maketitle-type command. 2.22 ;;;