Subject: TeXhax Digest V90 #34 From: TeXhax Digest Errors-To: TeXhax-request@cs.washington.edu Maint-Path: TeXhax-request@cs.washington.edu To: TeXhax-Distribution-List:; Reply-To: TeXhax@cs.washington.edu TeXhax Digest Sunday, March 25, 1990 Volume 90 : Issue 34 Moderators: Tiina Modisett and Pierre MacKay %%% The TeXhax digest is brought to you as a service of the TeX Users Group %%% %%% in cooperation with the UnixTeX distribution service at the %%% %%% University of Washington %%% Today's Topics: Integrating TeX with graphics and Lotus AMS Euler and Concrete Roman. How to get LamS-TeX Classically-expanding macros. Is there an NIH style file out there? Blackboard Bold Re: Gaining control over equation numbers Re: Gaining control over equation numbers Re: Gaining control over equation numbers ------------------------------------------------------------------------------- Date: Tue, 13 Mar 90 23:38 EST From: "Robert S. Smith" Subject: Integrating TeX with graphics and Lotus Keywords: graphics, Lotus, DOS, Unix I am new to TeX and need some technical assistance. I have a project to complete which will involve producing a set of classroom notes. These notes will include graphics and spreadsheets--in particular Lotus spreadsheets. It would be nice to prepare the ASCII files and port the graphics and Lotus spreadsheets into the file before TeXing it (cutting and pasting gets old rapidly). While I am not yet wed to a particular variety of TeX, a hardware system, or an operating system, I am leaning in the direction of a workstation which will support DOS and some variety of UNIX. I would greatly appreciate your suggestions and recommendations on this matter. Thank you. Robert S. Smith |\ /|| | Robert S. Smith, Ph.D., Associate Professor | \ / || | Department of Mathematics & Statistics, Miami University | \ / || | Oxford, OH 45056-1641, U. S. A., RSSMITH@MIAVX1.BITNET | \/ | \______/ O: (513) 529-3556, H: (513) 523-3895 Blessed is he who expects nothing for he shall not be disappointed! --------------------------------------------------------------------------- Date: Tue, 13 Mar 90 12:10:53 cst From: mike@morgana.pubserv.com (Michael D. Sofka) Subject: AMS Euler and Concrete Roman. Keywords: MF, Euler, Concrete Roman Where can one obtain (can one obtain?) the METAFONT sources for the Euler and Concrete Roman fonts? Also, are there any conditions for personal vs. comercial use? I'm interested for personal use, but since I do work for a typesetting company any information on comercial use of Euler would be appreciated. Thank You. --mds Michael D. Sofka Publication Services, Inc. INTERNET: mike@pubserv.com 1802 South Duncan Rd. ATTNET: (217) 398-2060 Champaign, IL 61821, USA. LANSTAT: 40 05' 42'' N / 88 17' 31'' W Any opinions expressed or implied are my own, and not those of my employer Publication Services, Inc. ------------------------------------------------------------------------ Date: Tue, 13 Mar 90 11:19:58 CST From: drager@TTMATH (Lance Drager) Subject: How to get LamS-TeX Keywords: LamS-TeX In TeXhax v90 #28, Young U. Ryu inquires how to get Michael Spivak's new macro package LamS-TeX. The answer is that Michael Spivak is selling LamS-TeX as a commercial product. The latest information I have is that the price for an individual copy is $95 + $8 shipping (US and Canada) (Texas residents add sales tax). He also has site licenses available. The address is: The TeXplorators Corporation 3701 W. Alabama, Suite 450--273 Houston, TX 77027 There is an ad for LamS-TeX in the December 1989 issue of {\sl Notices of the American Mathematical Society\/} (Vol 36, #10). I recently got a copy and, from what I can see, it looks like a really excellent package. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Prof. Lance D. Drager + PHONE: (806)742-1429 (office) + + Department of Mathematics + (806)793-3821 (home) + + Texas Tech University ++++++++++++++++++++++++++++++++++++++++ + Lubbock, TX 79409-1042 + FAX: (806)742-1900 (Put my name and + + USA + office phone on the top sheet.) + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + INTERNET: drager@ttmath.ttu.edu (preferred) or jildd@ttacs1.ttu.edu + + BITNET: JILDD@TTACS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------------------------------------------------------------------- Date: Tue, 13 Mar 90 15:06:39 EST From: bard@cs.cornell.edu (Bard Bloom) Subject: Classically-expanding macros. Keywords: TeX, macros I have a number of documents which work fine with macros which supply their own spaces: \def\If{\keywordfont{if}\ } Now, for compilers, I find that I want to use keywords in unusual ways ("scan ahead for the next \If, and ..."), and the macros insert extra spaces. It would be nice to use the same macros in both places (eg, to make changing keywords for next year's project easier). The ordinary ways of making TeX pay attention to spaces after macro calls will be a major pain in this case, as I would have to put backslashes after everything I have written which uses these macros. I'd much rather be able to modify the macro definition once. I wanted to see if someone had already done it before I spent a week fiddling with \expandafter and similar monstrosities. Thanks in advance, Bard Bloom ----------------------------------------------------------------------------- Date: Tue, 13 Mar 90 13:27 CST From: David Paschall-Zimbel Subject: Is there an NIH style file out there? Keywords: Style file, NIH We are looking for a LaTeX style file suitable for submission of reports and grant applications to the NIH. Has anyone come across such a style file? Also, I've been asked to find a bibliographic style file for the periodical _Computers_and_Biomedical_Research_. Any help would be appreciated. -- David Paschall-Zimbel davidli@simvax.labmed.umn.edu ----------------------------------------------------------------------------- Date: Tue, 13 Mar 90 14:21:55 CST From: drager@TTMATH (Lance Drager) Subject: Blackboard Bold Keywords: Fonts, Blackboard Bold I'd like to add my two cents worth on the discussion of the Blackboard bold font (see Victor Miller, Vol. 90, No. 16, Michael Barr, Vol. 90, No. 22, S. A. Fulling, Vol. 90, No. 28) Letters from this font are often used in the mathematical sciences as symbols for certain basic mathematical objects, such as the real or complex numbers. In my opinion, when comtemporary mathematicians use the font in this way, they are using it as a special purpose font in its own right and {\it not} as substitue for bold face. This font may indeed have originated in a convention for indicating bold face on a black board, but it has long since taken on a life of its own. This is simply because it is extremely convenient to have standard, distinctive, symbols for such basic mathematical objects as the real and complex numbers, etc., that do not preempt symbols that you might want to use for other purposes. Any mathematician will instantly recognize that a "blackboard bold" R means the set of real numbers. A bold face R carries no such automatic meaning (it would be inconvenient if it did) and you'll have to explain what you mean by it. Whatever its origin, the use of this font has become established because it is a useful convention. As the linguists say, the meaning of the terms in any language is established by how educated "speakers" use them. Current users of this font know exactly what they mean and are not suffering from any confusion. "Blackboard Bold" may have originally been a convention for bold face, but that's not what it means {\it now}. With respect to my friend Prof. Fulling, I would have to say that, whatever its origin, there {\it is now} (established by usage) a special font whose purpose is to provide symbols for the real and complex numbers, etc. That's why the AMS produced the font (official recognition of the convention, if any is needed). Anyone doing mathematical writing may reasonably expect to have this font available. Since this is an established special purpose font in its own right, a name such as "open face" would be better than "blackboard bold." If you mean to say "the set of real numbers", your meaning is best conveyed to the reader by using a blackboard bold R. Naturally, if you're inventing notation in a case where there is no established convention, you'll use what looks best to you. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Prof. Lance D. Drager + PHONE: (806)742-1429 (office) + + Department of Mathematics + (806)793-3821 (home) + + Texas Tech University ++++++++++++++++++++++++++++++++++++++++ + Lubbock, TX 79409-1042 + FAX: (806)742-1900 (Put my name and + + USA + office phone on the top sheet.) + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + INTERNET: drager@ttmath.ttu.edu (preferred) or jildd@ttacs1.ttu.edu + + BITNET: JILDD@TTACS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------------------------------------------------ Date: Tue, 13 Mar 90 15:00:24 CST From: phil@pex.eecs.nwu.edu (William LeFebvre) Subject: Re: Gaining control over equation numbers Keywords: LaTeX, equation numbers Date: Sun 11 Mar 90 02:20:42-PST From: Andras Kornai In general I like the automated equation numbering scheme provided by LaTeX, but now and again I would like to put some structure in the numbers. For instance, I want to refer to a bunch of related equations (which might or might not come under a single eqnarray) as (4A), (4B), and (4C), rather than (4), (5), and (6), or I want to refer to an equation that came from rearranging the terms in equation (8) as equation (8') and so on. Is there any simple way of doing this? By `simple' I mean something that does not require setting and resetting the equation counter, just a single statement as (if my memory serves me well) \eqno was in TeX. I'm quite prepared to give up automated numbering/crossreferencing and number each and every equation explicitly. Another reason why I would like to gain control over these numbers is that I want to omit the chapter identifiers from the equation number, so that for eq (7) in chapter 2 I get plain (7), rather than (2.7). Perhaps this second question has a trivial solution -- if so, I would be interested even if it does not give me full control of the kind I asked for in the first part. Thanks a lot, Andras Kornai (kornai@csli.stanford.edu, kornai@suwatson.bitnet) PS. I use a slight modification of the suthesis style, but I don't know enough of (La)TeX to make the desired changes myself. ------- I know of no mechaism that LaTeX already provides for numbering your own equations. But it looks like it would not be that hard to add one. Take a look at the standard style file "leqno.sty". This file is supposed to make equation numbers appear on the left instead of the right. It provides some insight into how the equation numbering system is set up. Looking in latex.tex itself, at the part where \begin and \end{equation} are defined, it looks like Lamport just uses good old \eqno to set the equation number. This leads me to believe that it would not be difficult for a modest LaTeX hacker to write a new environment which would set an equation with a specified equation number. But I don't know of any style like this that has already been written. Does anybody else? William LeFebvre Computing Facilities Manager and Analyst Department of Electrical Engineering and Computer Science Northwestern University --------------------------------------------------------------------------- Date: Tue, 13 Mar 90 19:33:55 EST From: Stephen Gildea Subject: Re: Gaining control over equation numbers Keywords: LaTeX, equation numbers I have written a style option called subeqn that does what you want. It defines the subequations environment. Within that environment, equations are numbered 4a, 4b, 4c, etc. It is available from the Clarkson LaTeX-style collection, but I will append it to this message. I'm quite prepared to give up automated numbering/crossreferencing and number each and every equation explicitly. Another reason why I would like to gain control over these numbers is that I want to omit the chapter identifiers from the equation number, so that for eq (7) in chapter 2 I get plain (7), rather than (2.7). Perhaps this second question has a trivial solution -- if so, I would be interested even if it does not give me full control of the kind I asked for in the first part. Styles based on the report style insert the chapter number in equation numbers. To get the simpler numbering of the article style, put this line, copied from article.sty, in the preamble of your document: \def\theequation{\arabic{equation}} For more information on numbering, see page 175 of the LaTeX manual. < Stephen % subeqn.sty 13 Feb 90 % subequations environment: changes the numbering from 1, 2, 3 to 4a, 4b, 4c. % % This style option is designed to work with LaTeX version 2.09. Use % \documentstyle[subeqn]{article} % Copyright (c) 1990 by Stephen Gildea % Permission to copy all or part of this work is granted, provided % that the copies are not made or distributed for resale, and that % the copyright notice and this notice are retained. % % THIS WORK IS PROVIDED ON AN "AS IS" BASIS. THE AUTHOR PROVIDES NO % WARRANTY WHATSOEVER, EITHER EXPRESS OR IMPLIED, REGARDING THE WORK, % INCLUDING WARRANTIES WITH RESPECT TO ITS MERCHANTABILITY OR FITNESS % FOR ANY PARTICULAR PURPOSE. % % If you make any improvements, I'd like to hear about them. % % Stephen Gildea % MIT Earth Resources Lab % Cambridge, Mass. 02139 % mit-erl!gildea % gildea@erl.mit.edu % Original version by mit-erl!gildea August 1986. % @ignoretrue fix from Johannes Braams 16 Jan 89 % use refstepcounter from Rick Zaccone 13 Feb 90 % Within the subequations environment, the only change is that % equations are labeled differently. The number stays the same, % and lower case letters are appended. For example, if after doing % three equations, numbered 1, 2, and 3, you start a subequations % environmment and do three more equations, they will be numbered % 4a, 4b, and 4c. After you end the subequations environment, the % next equation will be numbered 5. % % Both text and equations can be put inside the subequations environment. % % Of course, you can use this idea to create your own subfigures and % subtables environments, too. \newtoks\@stequation \def\subequations{\refstepcounter{equation}% \edef\@savedequation{\the\c@equation}% \@stequation=\expandafter{\theequation}% %only want \theequation \edef\@savedtheequation{\the\@stequation}% % expanded once \edef\oldtheequation{\theequation}% \setcounter{equation}{0}% \def\theequation{\oldtheequation\alph{equation}}} \def\endsubequations{\setcounter{equation}{\@savedequation}% \@stequation=\expandafter{\@savedtheequation}% \edef\theequation{\the\@stequation}\global\@ignoretrue} ---------------------------------------------------------------------------- Date: Wed, 14 Mar 90 11:22:59 +0100 From: jourdan@minos.inria.fr (Martin Jourdan) Subject: Re: Gaining control over equation numbers Keywords: LaTeX, equation numbers Date: Sun 11 Mar 90 02:20:42-PST From: Andras Kornai Another reason why I would like to gain control over these numbers is that I want to omit the chapter identifiers from the equation number, so that for eq (7) in chapter 2 I get plain (7), rather than (2.7). Styles based on the report style insert the chapter number in equation numbers. To get the simpler numbering of the article style, put this line, copied from article.sty, in the preamble of your document: \def\theequation{\arabic{equation}} For more information on numbering, see page 175 of the LaTeX manual. < Stephen Unfortunately the above line is not sufficient in styles in which the \chapter sectioning command is available (report and book, to cite the standard ones). With this line the chapter number will actually not appear with the equation number, i.e., the seventh equation in the second chapter will be numbered (7) instead of (2.7), but the equation counter WILL STILL BE RESET AT THE BEGINNING OF EACH CHAPTER. So the equations will not be numbered continuously, and several equations in different chapters will have the same number. Preventing that is not easy. The only solution which comes to my mind is to use a different counter for numbering equations, as follows (modified erxcepts from "latex.tex"): \@definecounter{Equation} \def\equation{$$ % $$ BRACE MATCHING HACK \refstepcounter{Equation}} \def\endequation{\eqno \@eqnnum % $$ BRACE MATCHING HACK $$\global\@ignoretrue} \def\theEquation{\arabic{Equation}} \def\@eqnnum{{\rm (\theEquation)}} \def\eqnarray{\stepcounter{Equation}\let\@currentlabel=\theEquation \global\@eqnswtrue \global\@eqcnt\z@\tabskip\@centering\let\\=\@eqncr $$\halign to \displaywidth\bgroup\@eqnsel\hskip\@centering $\displaystyle\tabskip\z@{##}$&\global\@eqcnt\@ne \hskip 2\arraycolsep \hfil${##}$\hfil &\global\@eqcnt\tw@ \hskip 2\arraycolsep $\displaystyle\tabskip\z@{##}$\hfil \tabskip\@centering&\llap{##}\tabskip\z@\cr} \def\endeqnarray{\@@eqncr\egroup \global\advance\c@Equation\m@ne$$\global\@ignoretrue} \def\@@eqncr{\let\@tempa\relax \ifcase\@eqcnt \def\@tempa{& & &}\or \def\@tempa{& &} \else \def\@tempa{&}\fi \@tempa \if@eqnsw\@eqnnum\stepcounter{Equation}\fi \global\@eqnswtrue\global\@eqcnt\z@\cr} I used a new "Equation" counter instead of old "equation". THIS IS ABSOLUTELY UNTESTED, but it may be of some help... Also note that this may have various interactions with secondary style files such as "leqno.sty". Best regards, Martin Jourdan ----------------------------------------------------------------------- %%% Further information about the TeXhax Digest, the TeX %%% Users Group, and the latest software versions is available %%% in every tenth issue of the TeXhax Digest. %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% %%% BITNET: send a one-line mail message to LISTSERV@xxx %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% %%% Internet: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% JANET users may choose to use %%% texhax-request@uk.ac.nsf %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nn %%% yy = last two digits of current year %%% nn = issue number %%% %%%\bye %%% End of TeXhax Digest ************************** -------