## LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

#### View:

 Message: [ First | Previous | Next | Last ] By Topic: [ First | Previous | Next | Last ] By Author: [ First | Previous | Next | Last ] Font: Proportional Font

Subject:

Re: Math environments and punctuation

From:

Mailing list for the LaTeX3 project <[log in to unmask]>

Date:

Thu, 22 Oct 1998 15:36:10 +0200

Content-Type:

text/plain

Parts/Attachments:

 text/plain (24 lines)
 >... depending on the context, the >punctuation might be . , ; ! : or whatever. I don't see how LaTeX could >guess this from the context. > >Easier would be to define yourself (or in the appropriate journal class; >perhaps that discussion will rear its ugly head again soon) things like >\period, \comma and so on which you could stick in before the >. You could define them to correspond to their names or >just to do nothing as the style required.   What I had my mind is that the author just concentrates on writing out the text logically (just as in the case of the quotes); this then provides the context which a style can process. Thus, one would simply write   $$2+2=4$$.                     % Note period here ^ The makes an one character lookahead, and processes it according to the style definition. (I think this would be possible with the "environments with hooks" I wrote some code for a long time ago.)   Hans Aberg                   * Email: Hans Aberg                   * Home Page:                   * AMS member listing: