W3C home > Mailing lists > Public > w3c-math-erb@w3.org > September 1996

Re: small samples: macros?

From: Ka-Ping Yee <s-ping@orange.cv.tottori-u.ac.jp>
Date: Tue, 03 Sep 1996 23:16:40 +0900
Message-ID: <322C3DC8.2DD0FA3B@sse.tottori-u.ac.jp>
To: "Robert S. Sutor/Watson/IBM Research" <sutor@watson.ibm.com>
CC: W3C Math ERB <w3c-math-erb@w3.org>
Robert S. Sutor/Watson/IBM Research wrote:
> 
> One thing that occurred to me when looking at your
> recent samples is that "good" TeX authors define macros
> for things like vectors, so they have
> 
> \def\Vector#1{{\bf #1}}
> 
> or whatever, so that they can adjust the formatting at any time
> for all vectors. We use something similar in an an internal
> project and add some type information as well. While I know
> you were asking about the final, expanded expressions, what
> are the plans to allow macros?

MINSE lets you use compounds to type things, much like
you have done above, allowing you to change the rendering
style of a given type all at once.  In this case the meaning
("this is a vector") remains unchanged.

MINSE also has plans for "macros" on top of this, which
are intended as purely a typing aid (not a means of
attaching semantics).  Changing a macro definition would
indeed change the meaning of expressions where it is invoked.


Ping
Received on Tuesday, 3 September 1996 10:20:33 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 15 April 2023 17:19:57 UTC