yatex
changeset 104:47a11079cc56 dev
Add add-in function for parbox (YaTeX::parbox).
author | yuuji@gentei.org |
---|---|
date | Thu, 15 Oct 2009 09:18:51 +0900 |
parents | f2f0d1eedd39 |
children | 08daee5495dc |
files | yatexadd.el |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yatexadd.el Tue Oct 13 11:53:57 2009 +0900 1.2 +++ b/yatexadd.el Thu Oct 15 09:18:51 2009 +0900 1.3 @@ -2,8 +2,8 @@ 1.4 ;;; YaTeX add-in functions. 1.5 ;;; yatexadd.el rev.18 1.6 ;;; (c)1991-2006 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Fri Sep 21 11:44:42 2007 on firestorm 1.8 -;;; $Id$ 1.9 +;;; Last modified Thu Oct 15 09:17:50 2009 on firestorm 1.10 +;;; $Id: yatexadd.el,v f14ec50103d0 2009/09/27 22:55:44 yuuji $ 1.11 1.12 ;;; 1.13 ;;Sample functions for LaTeX environment. 1.14 @@ -198,6 +198,10 @@ 1.15 1.16 (defun YaTeX:parbox () 1.17 (YaTeX:read-position "tbc")) 1.18 +(defun YaTeX::parbox (argp) 1.19 + (cond 1.20 + ((= argp 1) (read-string "Width: ")) 1.21 + ((= argp 2) (read-string "Text: ")))) 1.22 1.23 (defun YaTeX:dashbox () 1.24 (concat "{" (read-string "Dash dimension: ") "}"