开发者

How to redifine (via ENVIRON package) the "pmatrix" environment?

I want to redefine the "pmatrix" environment provided by AMSMATH package (and changed by MATHTOOLS package) for adding good-looking delims. The code is below:

\documentclass{article}
\usepackage{amsmath,amstools,environ}
\RenewEnviron{pma开发者_运维百科trix}{\PARENS{\begin{matrix}\BODY\end{matrix}}}

"PARENS" command is provided by MTPRO2 package to get curved left/right parensis. But it not work. Further, there's a star-ed version pmathix* envrionment (with a optional arg l/c/r), I don't have any idea either. The code I can give is below:

\documentclass{article}
\usepackage{amsmath,amstools,environ}
\RenewEnviron{pmatrix*}[1][c]{\PARENS{\begin{matrix*}[c]\BODY\end{matrix*}}}

I mail to ENVIRON package's author Will Robertson (wspr81[at]gmail[dot]com) but no reply. He maybe been seen here usually. So I logged in and posted.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜