changeset 575:777d17c07759 dev

\onecolumn and \twocolumn completions added
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 17 Oct 2019 09:52:31 +0900
parents 80692d8b8828
children 117a846879bc
files yatex.el yatexadd.el
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/yatex.el	Sat Oct 05 12:46:17 2019 +0900
+++ b/yatex.el	Thu Oct 17 09:52:31 2019 +0900
@@ -1,6 +1,6 @@
 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Sat May 25 14:46:49 2019 on firestorm
+;;; Last modified Thu Oct 17 09:51:11 2019 on firestorm
 ;;; $Id$
 ;;; The latest version of this software is always available at;
 ;;; https://www.yatex.org/
@@ -16,7 +16,7 @@
 
 ;;; Code:
 (require 'yatexlib)
-(defconst YaTeX-revision-number "1.81.4"
+(defconst YaTeX-revision-number "1.81.5"
   "Revision number of running yatex.el")
 
 ;---------- Local variables ----------
@@ -452,6 +452,7 @@
    '(("maketitle") ("makeindex") ("sloppy") ("protect") ("par") ("and")
      ("LaTeX") ("TeX") ("item") ("item[]") ("appendix") ("hline") ("kill")
      ;;("rightarrow") ("Rightarrow") ("leftarrow") ("Leftarrow")
+     ("onecolumn") ("twocolumn")
      ("pagebreak") ("nopagebreak") ("tableofcontents")
      ("newpage") ("clearpage") ("cleardoublepage")
      ("footnotemark") ("verb") ("verb*")
--- a/yatexadd.el	Sat Oct 05 12:46:17 2019 +0900
+++ b/yatexadd.el	Thu Oct 17 09:52:31 2019 +0900
@@ -1,6 +1,6 @@
 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*-
 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Sat May 25 14:46:41 2019 on firestorm
+;;; Last modified Thu Oct 17 09:44:48 2019 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -2373,6 +2373,10 @@
    (t nil)))
 (fset 'YaTeX:it 'YaTeX:em)
 
+;;; twocolumn
+(defun YaTeX:twocolumn ()
+  (format "[%s]" (YaTeX-read-string-or-skip "One column paragraph: ")))
+
 ;;; -------------------- End of yatexadd --------------------
 (provide 'yatexadd)
 ; Local variables:

yatex.org