yatex
changeset 37:433b27a11019
Do not count \\[5pt] as the beginning of \[ (YaTeX-in-math-mode-p).
author | yuuji |
---|---|
date | Thu, 14 Jul 1994 17:49:36 +0000 |
parents | 47659405d1af |
children | 1ce952ad9c24 |
files | yatexmth.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yatexmth.el Thu Jul 14 17:49:36 1994 +0000 1.2 +++ b/yatexmth.el Thu Jul 14 17:49:36 1994 +0000 1.3 @@ -2,7 +2,7 @@ 1.4 ;;; YaTeX math-mode-specific functions. 1.5 ;;; yatexmth.el rev.2 1.6 ;;; (c )1993-1994 by HIROSE Yuuji [yuuji@ae.keio.ac.jp] 1.7 -;;; Last modified Fri Jul 8 00:48:24 1994 on figaro 1.8 +;;; Last modified Thu Jul 14 22:42:05 1994 on figaro 1.9 ;;; $Id$ 1.10 1.11 ;;; [Customization guide] 1.12 @@ -459,7 +459,8 @@ 1.13 (if (or (= (char-after (1- me0)) ?\)) 1.14 (= (char-after (1- me0)) ?\])) 1.15 (setq nest (1+ nest)) 1.16 - (setq nest (1- nest))))) 1.17 + (if (= (preceding-char) ?\\ ) nil;;\\[5pt] 1.18 + (setq nest (1- nest)))))) 1.19 (if (< nest 0) (throw 'open t)))) 1.20 t) 1.21 (t (catch 'dollar