comparison yatexenv.el @ 306:9cfc505ba6aa dev

Utilize M-Ret in `longtable' environment
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 20 Nov 2013 14:15:42 +0900
parents 8d3156073892
children 2a72779d9c50
comparison
equal deleted inserted replaced
305:53709ee88448 306:9cfc505ba6aa
1 ;;; yatexenv.el --- YaTeX environment-specific functions 1 ;;; yatexenv.el --- YaTeX environment-specific functions
2 ;;; (c) 1994-2013 by HIROSE Yuuji.[yuuji@yatex.org] 2 ;;; (c) 1994-2013 by HIROSE Yuuji.[yuuji@yatex.org]
3 ;;; Last modified Mon Apr 1 22:43:10 2013 on firestorm 3 ;;; Last modified Wed Nov 20 14:14:39 2013 on firestorm
4 ;;; $Id$ 4 ;;; $Id$
5 5
6 ;;; Code: 6 ;;; Code:
7 ;;; 7 ;;;
8 ;; Functions for tabular environment 8 ;; Functions for tabular environment
168 "Parse current tabular* format and insert that many `&'s." 168 "Parse current tabular* format and insert that many `&'s."
169 (YaTeX-intelligent-newline-tabular 'tabular*)) 169 (YaTeX-intelligent-newline-tabular 'tabular*))
170 170
171 (fset 'YaTeX-intelligent-newline-array 'YaTeX-intelligent-newline-tabular) 171 (fset 'YaTeX-intelligent-newline-array 'YaTeX-intelligent-newline-tabular)
172 (fset 'YaTeX-intelligent-newline-supertabular 'YaTeX-intelligent-newline-tabular) 172 (fset 'YaTeX-intelligent-newline-supertabular 'YaTeX-intelligent-newline-tabular)
173 (fset 'YaTeX-intelligent-newline-longtable 'YaTeX-intelligent-newline-tabular)
173 174
174 (defun YaTeX-intelligent-newline-align () 175 (defun YaTeX-intelligent-newline-align ()
175 "Intelligent newline function for align. 176 "Intelligent newline function for align.
176 Count the number of & in the first align line and insert that many &s." 177 Count the number of & in the first align line and insert that many &s."
177 (let*((p (point)) (amps 0)) 178 (let*((p (point)) (amps 0))

yatex.org