X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2710" "Wed" "9" "June" "93" "11:49:35" "-0400" "\"Charles F. Wells\"" "cfw2@PO.CWRU.EDU" nil "62" "Syntax for Diagrams" "^Date:" nil nil "6"]) Return-Path: Received: from sc.ZIB-Berlin.DE (mailserv) by dagobert.ZIB-Berlin.DE (4.1/SMI-4.0/1.9.92 ) id AA27452; Wed, 9 Jun 93 17:59:10 +0200 Received: from vm.urz.Uni-Heidelberg.de (vm.hd-net.uni-heidelberg.de) by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA11814; Wed, 9 Jun 93 17:59:08 +0200 Message-Id: <9306091559.AA11814@sc.zib-berlin.dbp.de> Received: from DHDURZ1 by vm.urz.Uni-Heidelberg.de (IBM VM SMTP V2R2) with BSMTP id 0017; Wed, 09 Jun 93 17:57:48 CET Received: from DHDURZ1 by DHDURZ1 (Mailer R2.08 R208004) with BSMTP id 5606; Wed, 09 Jun 93 17:57:42 CET Received: from DHDURZ1 by DHDURZ1 (Mailer R2.08 R208004) with BSMTP id 5604; Wed, 09 Jun 93 17:57:40 CET Reply-To: Mailing list for the LaTeX3 project Date: Wed, 9 Jun 93 11:49:35 -0400 From: "Charles F. Wells" Sender: Mailing list for the LaTeX3 project To: Multiple Recipients of Subject: Syntax for Diagrams Status: R X-Status: X-Keywords: X-UID: 1043 Comments concerning diagram drawing packages for TeX: 1. As some have already said, TeX needs a general drawing module in the spirit of commercial drawing programs. A package for implementing diagrams as used by categorists could be added on top of that. Mathematicians communicate with structured drawings of all sorts, not just category diagrams. *************************************************************** * A system for producing printed mathematical texts that does * * not provide for sophisticated drawing as well as * * sophisticated setting of text is _only_half_a_system_ * * because mathematics is the marriage of geometry and logic. * *************************************************************** Such a drawing module, of course, is not really part of the LaTeX-s project. 2. xypic and Paul Taylor's package use a grid metaphor with syntax based on TeX's array notation. Mike Barr has suggested another grid based notation in which you refer to the grid points by coordinates. I have not used either system but Mike's looked easier to use. I am a mathematician. I THINK the respondents who liked the array notation systems were computer scientists. I suspect there may be a connection. Most mathematicians are in math departments and have to teach calculus regularly, so are used to locating points by coordinates. Perhaps computer scientists are less used to such things and more used to learning new syntax. What is amenable syntax is a very personal thing. I think I could learn to use xypic's & notation easily; I KNOW I could use the name-the-coordinates system because it is just like what I do when I teach calculus. Mike Barr's original syntax is still good for common simple squares and triangles, and his underlying \putmorphism macro works pretty well for very complicated diagrams that are not obviously grid-based. It has two flaws: you have to put in \phantoms on overlapping nodes, which is a royal pain, and you are restricted as to the angles you can draw arrows. Both flaws are the result of flaws in the underlying system. I repeat: We need a full-fledged drawing module. I would expect a grid-based system to work better than Mike's for complicated diagrams in which imposing a grid structure does not do too much violence to the original diagram, since Mike's shapes are a pain to paste together. I've become rather proficient at using Mike's system, but it's like programming in assembly language whereas the grid based systems look like programming in a higher level language. Charles Wells Department of Mathematics Case Western Reserve University 10900 Euclid Avenue Cleveland, OH 44106-7058 216-368-2893 cfw2@po.cwru.edu