Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/yatexadd.el Tue Oct 13 11:53:57 2009 +0900 +++ b/yatexadd.el Thu Oct 15 09:18:51 2009 +0900 @@ -2,8 +2,8 @@ ;;; YaTeX add-in functions. ;;; yatexadd.el rev.18 ;;; (c)1991-2006 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Fri Sep 21 11:44:42 2007 on firestorm -;;; $Id$ +;;; Last modified Thu Oct 15 09:17:50 2009 on firestorm +;;; $Id: yatexadd.el,v f14ec50103d0 2009/09/27 22:55:44 yuuji $ ;;; ;;Sample functions for LaTeX environment. @@ -198,6 +198,10 @@ (defun YaTeX:parbox () (YaTeX:read-position "tbc")) +(defun YaTeX::parbox (argp) + (cond + ((= argp 1) (read-string "Width: ")) + ((= argp 2) (read-string "Text: ")))) (defun YaTeX:dashbox () (concat "{" (read-string "Dash dimension: ") "}"