Mercurial > hgrepos > hgweb.cgi > yatex
diff yatexadd.el @ 426:95b5715c17a5 dev
Use textwidth instead of linewidth
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 31 Aug 2015 22:28:49 +0900 |
parents | 3c29f87e383b |
children | 64c07f0a179f |
line wrap: on
line diff
--- a/yatexadd.el Mon Aug 31 22:27:49 2015 +0900 +++ b/yatexadd.el Mon Aug 31 22:28:49 2015 +0900 @@ -1,6 +1,6 @@ ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- ;;; (c)1991-2015 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Aug 31 22:27:11 2015 on zxr +;;; Last modified Mon Aug 31 22:28:40 2015 on zxr ;;; $Id$ ;;; Code: @@ -2150,7 +2150,7 @@ colw) (or (YaTeX-match-string 2) (YaTeX-match-string 4) - "\\linewidth")) + "\\textwidth")) cw (YaTeX:read-length (format "Column width(default: %s): " defw))) (if (string= "" cw) (setq cw defw)) @@ -2166,7 +2166,7 @@ (cond ((= argp 1) (YaTeX:column-read-width)))) (defvar YaTeX:columns-option-alist - '(("t") ("T") ("b") ("c") ("onlytextwidth") ("totalwidth=0.9\\linewidth")) + '(("t") ("T") ("b") ("c") ("onlytextwidth") ("totalwidth=0.9\\textwidth")) "*Default option alist for completing columns environment of Beamer") (defun YaTeX:columns ()