TeXhax Digest Tuesday, September 1, 1987 Volume 87 : Issue 71 [SCORE.STANFORD.EDU]TEXHAX71.87 Editor: Malcolm Brown Today's Topics: Big and small caps Looking for TeX BITNET Server yet another tex bug! Re: TeXtyl for VMS Undump for SUN 3.2 LaTeX Notes I (Re: TeXhax Digest V87 #61) Placing figures in LaTeX LaTeX Notes II (Re: TeXhax Digest V87 #69) LaTeX Notes III (Re: TeXhax Digest V87 #67) LaTeX line and circle fonts MetaFont: Mode definition wanted for Linotron 300 Re: submission: natsci.sty ---------------------------------------------------------------------- Date: Wed, 19 Aug 87 10:06:40 EDT From: agw@lexington.columbia.edu (Art Werschulz) To: texhax@score.stanford.edu Subject: Big and small caps Reply-To: agw@columbia.edu Hi. Do the following ... \font\tencsmc=cmcsc10 % TEN-point Caps and SMall Caps font and change the defn of \proclaim to be \outer\def\proclaim #1. #2\par{\medbreak \noindent{\tencsmc#1.\enspace}{\sl#2}\par \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi} Good luck. Art Werschulz ARPAnet: agw@columbia.edu USEnet: ... seismo!columbia!agw BITnet: agw%columbia.edu@wiscvm CCNET: agw@columbia ATTnet: Columbia University (212) 280-3610 280-2736 Fordham University (212) 841-5323 841-5396 P.S. Hi again. Sorry, I misread what you wanted. What I showed you how to do is to make \proclaim set the theorem number (or whatever it is) in caps-and-small-caps font. It should now be fairly clear that if you want to use said font in an arbitrary place, you just do {\tencsmc Here is whatever stuff you want.} You also might want to look at the AmSTeX macro files for more ideas along these lines. The files are amstex.tex and amsppt.sty. Art Werschulz ARPAnet: agw@columbia.edu USEnet: ... seismo!columbia!agw BITnet: agw%columbia.edu@wiscvm CCNET: agw@columbia ATTnet: Columbia University (212) 280-3610 280-2736 Fordham University (212) 841-5323 841-5396 ------------------------------ Date: Wednesday, 19 August 1987 1035-EST From: DAVID%PENNDRLS.BITNET@forsythe.stanford.edu (R. David Murray) To: TEXHAX@score.stanford.edu Subject: Imbedded graphics using standard metafile. I have been informed that the ANSI has defined a standard for the format of a graphics metafile. (This is X3.122 1986.) I was wondering whether anyone has written any device drivers that handle this standard format metafile? I know that at least one of the major graphics packages, DISSPLA, supports this standard. It seems to me that this would be a good place to focus an attempt to standardize the mechanisms for imbedding graphics in TeX documents. -- R. David Murray DRL Computing Facility University of Pennsylvania ------------------------------ Date: Thu, 20 Aug 87 13:41 GMT From: Subject: Looking for TeX BITNET Server To: texhax@score.stanford.edu I am looking for a GERMAN HYPHENATION PATTERN. Can anybody tell me where I can get one, or - which would be much better - does anybody know a BITNET SERVER (besides the one in Tuebingen) with Tex/LaTeX-stuff. Markus Iseli address: ELEKTRMA@CZHETH5A.BITNET ------------------------------ Date: Thu 20 Aug 87 14:11:52-EDT From: Barbara Beeton Subject: yet another tex bug! To: texhax@SCORE.STANFORD.EDU the following message was received from don knuth on august 19, at 2 in the morning: "would you believe 2.4? Tonight I found a bug that occurs when you say \noalign{\hrule} in an \halign in a display for which the \displayindent is nonzero (because of \parshape or \hangingindent, usually). Yes, I know it's a weird case, but TeX's previous behavior was even weirder! It computed the length of the rule in a shifted box, but didn't shift the rule.... Version 2.4 fixes that. People who go to the TUG meeting hoping to hear that no bugs have been found in TeX for a long time will be disturbed to learn that two changes have been made in this "stable" system during the past month! Still, the changes are very localized." actual availability of this new version will be communicated when it's ready. ------------------------------ To: texhax@score.stanford.edu Subject: Re: TeXtyl for VMS Date: Thu, 20 Aug 87 23:29:46 -0400 From: Ken Yap The TeXtyl distribution has been reorganized following the contribution of a VMS port. Here are the files in the mail archive collection: textyl.readme A short introduction textyl-unix.shar1 Shar files containing the Unix version of the sources textyl-unix.shar2 textyl-unix.shar3 textyl-vms.shar1 Shar files containing the VMS version of the sources textyl-vms.shar2 textyl-vms.shar3 textyl-doc.shar1 Shar files containing the documentation, in LaTeX textyl-doc.shar2 textyl-doc.shar3 textyl-fonts.shar1 Shar files containing the fonts, uuencoded textyl-fonts.shar2 textyl-fonts.shar3 In addition, users who can ftp to cs.rochester.edu can get the following files in directory public, for convenience: textyl.tar.Z Everything needed under Unix, tar'ed and compressed textyl-bin/textyl.exe VMS executable image textyl-bin/*.tfm Binary form of fonts textyl-bin/*pk Remember to use BINARY transfer for the above files. I'm told that font files transferred in BINARY mode can be immediately put to use on VMS. So, in summary: 1. If you have BSD Unix and ftp, fetch textyl.tar.Z. You need compress. If you don't have this wonderful utility, you should get it, as it is now part of the standard BSD distribution. 2. If you have VMS and ftp, fetch textyl-vms.*, textyl-doc.*, the tfm and the pk files, and optionally, the executable, if you don't have Pascal and C compilers. 3. If you have BSD Unix and only mail access, fetch textyl-unix.*, textyl-doc.*, textyl-fonts.*. You need uudecode, but this is now standard in BSD. 4. If you have VMS and only mail access, fetch textyl-vms.*, textyl-doc.*, textyl-fonts.*. You need uudecode for the fonts. If you don't have one, ask around or try porting the sources in uudecode.shar. Thanks to Jerry Leichter for the VMS port. I'm sorry I can't give any help with VMS questions since I'm not familiar with that OS. If you make any improvements and want to give it to the world, contact the original author, then me, then perhaps the VMS site coordinator, in that order. Ken ------------------------------ From: James Davenport Date: Fri, 21 Aug 87 12:40:29 BST To: TeXhax@score.stanford.edu Subject: Undump for SUN 3.2 Well, I finally got this to work. There are a few catches - the major one it that it seems to be impossible to use undump witha program compiled with SUN's FPA option. While I don't fully understand why, the effect is consistent here. Out of interest, I actually observe no measurable difference whether I use the FPA or software floating point. The other trick is that you need the SUN-3 version (which Beebe supplied via dick) which must be compiled with -Dsun3 -Dsun James Davenport ------------------------------ Date: Fri, 21 Aug 87 09:48:08 pdt From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes I (Re: TeXhax Digest V87 #61) Ralph Becker-Szendy writes: using LaTeX, i want to have a figure right next to a text paragraph. I know how to make the text become much narrower (even using plain TeX), for as many paragraphs as needed. But how do i get the figure to go into the empty space created at the right side of the text ? And how do i prevent accidents (like page-breaking across the whole mess) ? I would like to keep the "floating" property of figures, therefore only the output routine would know which paragraphs have to be made narrower (and i never messed around with output routines before). What he wants to do is infeasible in TeX. However, it is not too hard to write a macro that puts a single figure next to a particular specified paragraph. The proper approach is thus to write the document without worrying about figure placement. Then, when you're sure that it's completely finished, do the figure placement "by hand", specifying exactly where each figure is to go. The time spent trying to get a macro to do the figure placement for you would be about equal to the time needed to manually do the figure placement for about two dozen thousand-page books. Khoa Ho-Le writes: Sometimes I want to print out only a few pages from a lengthy report prepared with LaTeX. This happens especially towards the end of the writing-revising process where relatively minor corrections are required. The LaTeX book says the input file can be split using \include and \includeonly, but this appears to be inconvenient. Is it at all possible to select the pages to be printed as one can with Troff? Your device driver should allow you to print selected pages from the dvi file. The purpose of the \include and \includeonly commands is to make it unnecessary to run LaTeX over the entire document when only part of the document has changed. Since changing a single character could, in principle, change every page of the document, one can never safely reformat just a single page. Leslie Lamport ------------------------------ Date: Fri, 21 Aug 87 09:58:58 PDT From: Ramin Samadani Subject: Placing figures in LaTeX To: texhax@score.stanford.edu Hi, I have some full page figures in my thesis (LaTeX suthesis) that I would like to have some control over. Specifically, I would like to have some of the figures be right hand pages. Also, I would like to be able to have the back side of the page with the figure be blank. Is there any way to do this? I tried putting \cleardoublepage, \newpage and other things within the figure environment but this didn't work. I also tried putting the \cleardoublepage outside of the figure environment but this didn't work (because the figure floats?). I appreciate your help on this. Ramin Samadani ramin@scotty ------------------------------ Date: Fri, 21 Aug 87 16:44:59 pdt From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes II (Re: TeXhax Digest V87 #69) Dan Dvorak writes: There seems to be a bug with "\multiput" in LaTeX Version 2.09. I'm trying to use "\multiput" to draw a bunch of slanted lines, but I only get output from the \multiput when the lines are NOT slanted (i.e., perfectly vertical or horizontal). Specifically, this works: \multiput(0,130)(10,-2){16}{\line(1,0){7}} whereas this does not: \multiput(0,130)(10,-2){16}{\line(1,1){7}} The non-working \multiput does not generate any error messages; it simply produces no output. The \multiput is irrelevant; it's the \line command that is producing no output. See the third paragraph on page 106 of the manual for an explanation. Tim Hopkins writes: There appears to be a bug in LaTeX when a \ref is used in the caption to a figure. We are using LaTeX 2.09 <9 Mar 1987>. \ref is a fragile command and the \caption command has a moving argument. (Look up "fragile command" in the index.) Christos C. Zervos writes: I found that the article-style document (\documentstyle{article}) can only support up to 18 figures. Why is that limitation for? I find it too restrictive. Is there any way to get more than 18 figures in an article-style document? LaTeX can put any number of figures in a document; however, there is a limit to how many it can hold in its memory at once. If LaTeX is keeping too many figures in its memory, it's probably because an error (such as a figure that's too big to fit on a page) is preventing it from putting out any of its figures. Leslie Lamport ------------------------------ Date: Fri, 21 Aug 87 16:02:47 pdt From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes III (Re: TeXhax Digest V87 #67) Reid Rowlett writes: I'm trying to use \newenvironment and running into problems beyond my meager comprehension of LaTeX. I want to define an environment called "bullets" which is equivalent to the following (I want to center the bullets, which are all short, so I didn't use itemize): \begin{tabular}{@{$\bullet$ }l} ....tabular stuff.... \end{tabular} so I defined an environment thusly: \newenvironment{bullets}{\begin{tabular}{@{$\bullet$ }l} } {\end{tabular} } From page 34 of the LaTeX manual: Do not leave any space between arguments, or any extra space within an argumet; use a % to end a line without introducing space. Leslie Lamport ------------------------------ To: texhax%score.stanford.edu@RELAY.CS.NET From: trickey%research.att.com@RELAY.CS.NET Date: Sat 22 Aug EDT 1987 13:47 Original-To: research!arpa!score.stanford.edu!texhax Subject: LaTeX line and circle fonts If you use cmbase with metafont to generate the LaTeX line and circle fonts, the gf files will have zero for the dx displacement values. The problem can be fixed by adding extra_endchar:=""; at the beginning of line.mf and circle.mf (cmbase adds a calculation of w based on values that line and circle don't set, so w gets reset to 0). It may not matter that the gf widths disagree with the tfm widths (the characters tend to be put out in such a way that most drivers will be forced to do an absolute reposition after setting them anyway). But the official copy should be changed. ------------------------------ Date: 24-AUG-1987 18:05:30 From: CHAA006%vaxb.rhbnc.ac.uk@Cs.Ucl.AC.UK To: TEXHAX <@Cs.Ucl.AC.UK:TEXHAX@score.stanford.edu> Subject: MetaFont: Mode definition wanted for Linotron 300 [This message also sent to TEX-INFO (UK-TeX/TeX-UK)] I am hoping to start building the CM-series fonts for a Linotron 300 in the near future; the device has available resolutions of 635, 1270 and 2540 dpi, with the preferred resolution 1270 dpi. Does anyone have available mode definitions for such a device ? ** Phil. Philip Taylor (Royal Holloway & Bedford New College; University of London; U.K) Janet : chaa006@uk.ac.rhbnc.vaxa (or) chaa006@uk.ac.rhbnc.vaxb ([+Janet.000005181000] or [+Janet.000005181100]) Arpa : chaa006%vaxa.rhbnc.ac.uk@cs.ucl.ac.uk (or) : chaa006%vaxb.rhbnc.ac.uk@cs.ucl.ac.uk Bitnet/NetNorth/Earn: chaa006@vaxa.rhbnc.ac.uk (or) chaa006%rhbnc.vaxa@ac.uk (or) : chaa006@vaxb.rhbnc.ac.uk (or) chaa006%rhbnc.vaxb@ac.uk ------------------------------ To: texhax@score.stanford.edu Subject: Re: submission: natsci.sty In-Reply-To: Your message of Mon, 24 Aug 87 12:58:26 -0400. Date: Mon, 24 Aug 87 14:10:32 -0400 From: Ken Yap > Here is a file for use with natsci.bst to get the formatting correct. > I originally had the instructions in comments in natsci.bst, but now > it seems that there is a need for a ready-made version. The 00index > entry should be something like > > natsci.sty formats citations created with natsci.bst > > Enjoy! > > < Stephen Thanks Stephen, it has been added to the collection. Ken ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% %%% submissions to: texhax@score.stanford.edu %%% %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------