X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2002" "Wed" "15" "December" "93" "15:26:34" "LCL" "Mike Piff" "M.Piff@sheffield.ac.uk" nil "51" "Re: \\newsymbol" "^Date:" nil nil "12" nil nil]) Return-Path: Received: from sc.ZIB-Berlin.DE (mailserv) by dagobert.ZIB-Berlin.DE (4.1/SMI-4.0/24.6.93) id AA03757; Wed, 15 Dec 93 16:36:24 +0100 Received: from mail.cs.tu-berlin.de by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA06949; Wed, 15 Dec 93 16:35:32 +0100 Received: from tubvm.cs.tu-berlin.de by mail.cs.tu-berlin.de with SMTP id AA04972 (5.65c8/IDA-1.4.4(mail.m4[1.12]) for <@MAIL.CS.TU-BERLIN.DE:Schoepf@SC.ZIB-BERLIN.DE>); Wed, 15 Dec 1993 16:35:28 +0100 Message-Id: <199312151535.AA04972@mail.cs.tu-berlin.de> Received: from TUBVM.CS.TU-BERLIN.DE by tubvm.cs.tu-berlin.de (IBM VM SMTP V2R2) with BSMTP id 6936; Wed, 15 Dec 93 16:35:58 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin MAILER@DHDURZ1) by TUBVM.CS.TU-BERLIN.DE (LMail V1.2a/1.8a) with BSMTP id 6935; Wed, 15 Dec 1993 16:35:58 +0200 Received: from DHDURZ1 (NJE origin LISTSERV@DHDURZ1) by VM.URZ.UNI-HEIDELBERG.DE (LMail V1.2a/1.8a) with BSMTP id 3014; Wed, 15 Dec 1993 16:32:56 +0000 Reply-To: Mailing list for the LaTeX3 project Date: Wed, 15 Dec 93 15:26:34 LCL From: Mike Piff Sender: Mailing list for the LaTeX3 project To: Multiple Recipients of Subject: Re: \newsymbol Status: R X-Status: X-Keywords: X-UID: 1209 David Carlisle writes: %> %>\begin{decl} %>|\DeclareMathSymbol| \m{symbol} \m{type} \m{sym font name} \m{position} %>\end{decl} %> %>Defines cmd \m{symbol} to be a math symbol of type \m{type} (values %>0-7 or symbolic see below) in font position \m{position} of symbol %>font \m{sym font name} which must have been declared previously. %>\m{position} can be decimal, octal, or hexadecimal with the usual %>notation |'| or |"| for octal and hex. \m{symbol} can be either a single %>character, eg `|>|', or a macro name, eg |\sum|. Allows overwriting of %>\m{symbol} if \m{symbol} is either a single character or was %>previously defined to be a math symbol. Symbolic values for \m{type} %>are the corresponding |\mathord|, |\mathbin|,\ldots{} commands. %> %>Checks that \m{symbol} can be used and \m{sym font name} is a declared %>symbol font. %> %>\begin{verbatim} %>Example: \DeclareMathSymbol{\alpha}{0}{letters}{"0B} %> \DeclareMathSymbol{\lessdot}{\mathbin}{AMSb}{"0c} %> \DeclareMathSymbol{\foo}{\mathalpha}{AMSb}{"0c} %>\end{verbatim} %> %>David %> Yes, I had spotted this, and I do agree that \newsymbol was a bad idea in AMS- LaTeX, but essential for compatibility with AMSTeX. However...what are we meant to do, *if* we adopt NFSS2, with all those documents which---legitimately---used \newsymbol explicitly? Has the AMS shot itself in the foot with this one? \def\newsymbol#1#2#3#4#5{% \DeclareMathSymbol{#1}{#3}{\ifcase#2\or AMSa\or AMSb\fi}{"#4#5}% } Mike %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Dr M J Piff %% e-mail: %% School of Mathematics and Statistics %% %% University of Sheffield %% M.Piff@sheffield.ac.uk %% Hicks Building %% %% SHEFFIELD S3 7RH %% Telephone: (0742) 824431 %% England %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%