Mercurial > hgrepos > hgweb.cgi > yatex
comparison yatexadd.el @ 575:777d17c07759 dev
\onecolumn and \twocolumn completions added
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 17 Oct 2019 09:52:31 +0900 |
parents | 714f3527b4a1 |
children | 907de32064c9 |
comparison
equal
deleted
inserted
replaced
574:80692d8b8828 | 575:777d17c07759 |
---|---|
1 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- | 1 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- |
2 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] | 2 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] |
3 ;;; Last modified Sat May 25 14:46:41 2019 on firestorm | 3 ;;; Last modified Thu Oct 17 09:44:48 2019 on firestorm |
4 ;;; $Id$ | 4 ;;; $Id$ |
5 | 5 |
6 ;;; Code: | 6 ;;; Code: |
7 ;;; | 7 ;;; |
8 ;;Sample functions for LaTeX environment. | 8 ;;Sample functions for LaTeX environment. |
2371 (cond | 2371 (cond |
2372 ((eq YaTeX-current-completion-type 'large) "\\/") | 2372 ((eq YaTeX-current-completion-type 'large) "\\/") |
2373 (t nil))) | 2373 (t nil))) |
2374 (fset 'YaTeX:it 'YaTeX:em) | 2374 (fset 'YaTeX:it 'YaTeX:em) |
2375 | 2375 |
2376 ;;; twocolumn | |
2377 (defun YaTeX:twocolumn () | |
2378 (format "[%s]" (YaTeX-read-string-or-skip "One column paragraph: "))) | |
2379 | |
2376 ;;; -------------------- End of yatexadd -------------------- | 2380 ;;; -------------------- End of yatexadd -------------------- |
2377 (provide 'yatexadd) | 2381 (provide 'yatexadd) |
2378 ; Local variables: | 2382 ; Local variables: |
2379 ; fill-prefix: ";;; " | 2383 ; fill-prefix: ";;; " |
2380 ; paragraph-start: "^$\\|\\|;;;$" | 2384 ; paragraph-start: "^$\\|\\|;;;$" |