=DELIVERY-OPTIONS:MAIL _Score.Stanford.EDU.#Internet TeXhax-Request Score.Stanford.EDU texhax-outgoing Date: Sat 2 Apr 88 15:14:07 PST Subject: TeXhax Digest V88 #34 From: TeXhax Digest Errors-to: TeXhax-request@Score.Stanford.EDU Maint-Path: TeXhax-request@Score.Stanford.EDU To: TeXhax Distribution List: ; Reply-to: TeXhax@Score.Stanford.edu TeXhax Digest Saturday, April 2, 1988 Volume 88 : Issue 34 [SCORE.STANFORD.EDU]TEXHAX34.88 Editor: Malcolm Brown Today's Topics: Immoderate notes: TeXhax to "pause" again Double-spaced document with single-spaced captions. TANGLE.P Tektronix to PostScript for TeX TeX on Linotronic L300 change the default font A Little More On Bold Math Re: bold greek letters Personal TeX's PTILaser/PS and PSFIG Doublespacing and singlespacing (v.88, n.23,27,29) ``Word Hy-phen-a-tion by Com-put-er'' (TeXhax30.88) TeXhax Digest V88 #30 Footnotes on captions - addendum Footnotes on captions TeX and LaTeX LaTeX Notes (Re: TeXhax Digest V88 #30) ---------------------------------------------------------------------- Date: 02 April 88 Subject: Immoderate notes: TeXhax to "pause" again From: Malcolm %%% I'm heading off on a trip on 4 April, so there will be a brief %%% disruption of digests. I suggest that everybody hold off sending %%% submissions until April 15th, as I won't be back before then. %%% onwards... ------------------------------ Date: Mon, 28 Mar 88 09:13:14 EST From: Michael E. Van Steenberg <"IUE::MEV"@nssdca.GSFC.NASA.GOV> Subject: Double-spaced document with single-spaced captions. Several people have asked about double spaceing most of a document but needing to have figure captions single spaced. I too needed this for my thesis (sorry L. L. I know it is ugly but, it is hard to take a stand and not get your degree). Since I did not have to see my thesis again I made LaTeX do it. On page 155 in the LaTeX book (thank you L. L) you will find: `You can produce a "double-spaced" version of the document for copy editing by setting \baselinestretch to 2, but it will be ugly and hard to read. Any other changes to the interline spacing should be part of a complete document-style design, best done by a competent typographic designer.' I am not a competent designer but I did look into the style files and the LaTeX.tex file and found that to change the interline space you need to do the proper size-changing command \SIZE. I being young and naive tried to set the baselineskip value in this command. The following comes from rep11.sty: % Each size-changing command \SIZE executes the command % \@setsize\SIZE{BASELINESKIP}\FONTSIZE\@FONTSIZE % where: % BASELINESKIP = Normal value of \baselineskip for that size. (Actual % value will be \baselinestretch * BASELINESKIP.) % % \FONTSIZE = Name of font-size command. The currently available % (preloaded) font sizes are: \vpt (5pt), \vipt (6pt), % \viipt (etc.), \viiipt, \ixpt, \xpt, \xipt, \xiipt, % \xivpt, \xviipt, \xxpt, \xxvpt. % \@FONTSIZE = The same as the font-size command except with an % '@' in front---e.g., if \FONTSIZE = \xivpt then % \@FONTSIZE = \@xivpt. % % For reasons of efficiency that needn't concern the designer, % the document style defines \@normalsize instead of \normalsize . This is % done only for \normalsize, not for any other size-changing commands. \def\@normalsize{\@setsize\normalsize{13.6pt}\xipt\@xipt \abovedisplayskip 11pt plus3pt minus6pt% \belowdisplayskip \abovedisplayskip \abovedisplayshortskip \z@ plus3pt% \belowdisplayshortskip 6.5pt plus3.5pt minus3pt} To be able to switch between double-space and normal single spaced I defined a new font-size change command, \doublesize, which is the same as \normalsize except for the baselineskip argument which is set to 26.4pt in place of 13.6pt. NOTE: this is the "competent designer" part, the value I used, 26.4, worked OK for me but, please think about this value given your margens and main font size. This is OK if you want to add \doblesize at the top of each of your documents, however if you want to have the doublesize be the default font then you need to extract the \def\document from LaTeX.tex and change the font used at the end, this is what I used: \def\document{\endgroup \@colht\textheight \@colroom\textheight \vsize\textheight \columnwidth\textwidth \@clubpenalty\clubpenalty \if@twocolumn \advance\columnwidth -\columnsep \divide\columnwidth\tw@ \hsize\columnwidth \@firstcolumntrue \fi \hsize\columnwidth \linewidth\hsize \begingroup\@floatplacement\@dblfloatplacement \makeatletter\let\@writefile\@gobbletwo \@input{\jobname.aux}\endgroup \if@filesw \immediate\openout\@mainaux=\jobname.aux \immediate\write\@mainaux{\relax}\fi \def\do##1{\let ##1\@notprerr} \@preamblecmds \let\do\noexpand \doublesize\everypar{}} In this way the body of the TeXt will be double spaced (I actualy did something around 1.5 or 1.75 spaced, It looked better and the graduate school did not catch on) and all captions, quotes, etc. appear single spaced. Now if you need to you can change in the middle of your TeXt by useing \normalsize and \doublesize. NOTE: \caption has \normalsize inside of it so what ever font is \normalsize that is the font that will be used by the \caption command. I want to pass on my thanks to Dr. L. Lamport for all his hard work and good documentation in the LaTeX book and in the source files, without it my thesis would have taken even longer to write, THANKS ! Take care all, Michael E. Van Steenberg SPAN IUE::MEV or 6164::mev internet MEV@nssdca.gsfc.nasa.gov NRC-NSSDC Goddard Space Flight Center Greenbelt, MD 20771 ------------------------------ From: AM30360%DHHUNI4.BITNET@CUNYVM.CUNY.EDU (Rainer Sawatzki) Date: 88-03-28 16:56:45 MEZ Subject: TANGLE.P --------------------------------------------------- Where is TANGLE.P available as a PASCAL-sourcefile? --------------------------------------------------- I want to start bootstrapping without getting mad in hand-editing tangle.web. Rainer ------------------------------ Date: Mon, 28 Mar 88 10:52 EST From: Subject: Tektronix to PostScript for TeX The last time I tried to submit this, it didn't make it ... Does anyone know of a Tektronix to PostScript translator (and/or REGIS)? (I know there is such a utility in TransScript, but we don't need that whole package, and the associated costs for the source license are more than we can spend just for a graphics translator.) The ultimate goal is to include such graphics output within a TeX output file for output to a PostScript printer under VMS. We have the \special handler, in DVIALW from University of Utah by Nelson Beebe which now, after some modification, works very well for us. Almost the first question our users ask about TeX is can they include their graphics files (usually Textronix) directly in with the text. We are running the Digital ScriptPrinter software for our LN03R ScriptPrinter and the PrintServer40 software, which provides Tektronix-4014 and REGIS translators and works fine for stand-alone graphics files. Unfortunately, the PostScript output is not available to subsequently include in with TeX output. Any help would be very much appreciated. ------------------------------ Date: Sun, 27 Mar 88 23:34:28 EST From: dow@wjh12.harvard.edu (Dominik Wujastyk) Subject: TeX on Linotronic L300 The latest issue of the Harvard campus technology newspaper "WINDOW" (Vol.II, no.8, April 1988) carries the following front page article: TeX Available on Linotronic High-quality typesetting for TeX, a text formatting package developed by Stanford mathematician Donald Knuth, is now available on the Linotronic at Harvard's William James Hall. After having spent the better part of a year trying to adjust the Linotronic's PostScript engine's small available memory capacity to the TeX fonts, which may require up to 200k each, Scott Bradner and his group are now ready to announce the package's availability to the Harvard community. The Linotronic, able to produce output of up to 2540 dots per inch ... is a professional typesetter (imagesetter) appropriate for academic journals and books. With the William James Linotronic's ability to provide full support for the full complement of TeX CM (Computer Modern) fonts, writers and editors are able to have high-quality typesetting as well as good control of placement of type on the page available quickly and at competitive rates. ... The William James Linotronic supports the standard mag steps as well. In addition, it is also able to support the full complement of PostScript fonts (including Garamond and Palatino) with the TeX formatting capability. Members of the Harvard community who want to use TeX on the Linotronic are advised to preview their copy on a LaserWriter to be certain the page will print out as they wish. ... Rates at the William James Linotronic for people willing to do the typesetting themselves are 45 cents per linear inch, the same as for Troff or PostScript files. Scott Bradner and the members of his group are willing to show people how to use the Linotronic, providing they are typesetting a minimum of 100 pages, or they will be using the equipment on a regular basis (monthly or quarterly journals). For those requiring fewer pages of typesetting (a minimum of 10), or who would rather provide a disk or computer file, there is a 10 percent surcharge. Also newly available on the Linotronic is a fully pointed Hebrew font and outline fonts in Troff. For information or to use the equipment, please call Scott Bradner at 495-3864. Time on the Linotronic can usually be reserved within a day or two, enabling high-quality typesetting within a few minutes. (Information for this article was provided by Scott Bradner.) --------------------------------------------------------------------------- The software for the PS RIP which Scott's team has developed allows any METAFONT generated font to be used. This is important, as it provides one of the very few ways of printing some of the newer METAFONT fonts at resolutions above 1000dpi. If you need to print out some weird characters, say Sanskrit, you will have to provide the fonts at the appropriate resolution, or let Scott have the MF source, so that the font can be made available to the Linotronic. Scott assures me that the service is available generally, not just to the Harvard community. Scott's e-mail address is Bitnet: user SOB on the Bitnet node HARVUNXW arpanet: sob@wjh12.harvard.Edu csnet: sob@wjh12.harvard.Edu uucp: ...!ihnp4!wjh12!sob Dominik Wujastyk ------------------------------ Date: Mon, 28 Mar 88 12:42:23 +0100 From: mcvax!ruuinf!piet@uunet.UU.NET (Piet van Oostrum) Subject: change the default font I have a style file to switch to laser-writer builtin fonts. This can be used as a model for other font changes. It changes only the \rm, \it, \sf \sl \tt \bf and \sc fonts and not the math mode fonts. It is basically an edited version of lfonts.tex %%% Piet's submission is too long for digest distribution. The file can %%% FTPed from the machine SCORE.STANFORD.EDU by "getting" the file %%% oostrum.txh %%% As usual, a copy has been forwarded to BITNET. Malcolm ------------------------------ Date: Mon, 28 Mar 88 21:35 EST From: Subject: A Little More On Bold Math In the past few issues there has been some discussion on how to use bold math fonts. We got in to this a few months ago at our site during the preparation of afile of macros to assist in the production of overhead transparencies where we wanted the fonts to be both larger and bolder. The portion of this file which activates these fonts is listed below. The basic command is "\arlsize?" where the "?" is the magstep and can be from 0 to 8 at our site. For example: \arlsize5 \centerline{\arlsize7 Introduction} \vskip12pt \leftline{\arlsize6 AGENDA} \item{\bullet}Blah blah blah \item{\bullet}Etc etc etc We used Metafont and the design files for CMSSBX10, CMMIB10, CMBSY10 and CMEX10 fromthe Kellerman and Smith distribution tape for VAX/VMS to produce the needed fontfiles. Note that we have chosen CMSSBX10 to be the "text" font since it has no serifs and tends to hold up better after copying and projection. Also, note that after the font is changed, we use the value of "em" and "ex" to recompute the values for "xspaceskip" and some other TeX parameters since these did not seemto change appropriately with the font. We haven't run out of memory as some folks predicted, even when all 9 sizes are used in the same document. Hope this is of some use! ---- snip --- snip --- snip --- snip --- snip --- snip --- snip --- snip ------ \newcount\arlreturn \newcount\arlsizework \newcount\arlpage% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LOCAL MAGSTEP %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\arlmagstep#1{\ifnum#1=-4 \arlreturn=482\relax% \else\ifnum#1=-3 \arlreturn=579\relax\else\ifnum#1=-2 \arlreturn=694\relax% \else\ifnum#1=-1 \arlreturn=833\relax\else\ifnum#1=0 \arlreturn=1000\relax% \else\ifnum#1=1 \arlreturn=1200\relax\else\ifnum#1=2 \arlreturn=1440\relax% \else\ifnum#1=3 \arlreturn=1728\relax\else\ifnum#1=4 \arlreturn=2074\relax% \else\ifnum#1=5 \arlreturn=2488\relax\else\ifnum#1=6 \arlreturn=2986\relax% \else\ifnum#1=7 \arlreturn=3583\relax\else\ifnum#1=8 \arlreturn=4300\relax% \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}% fee fo fum %%%%%%%%%%%%%%%%%% CHANGE THE SIZE OF TEXT AND MATH FONTS %%%%%%%%%%%%%%%%%%% \def\arlsize#1{\arlsizework=#1\relax% %% Set 4 Styles for Basic Size (text, math italic, math symbols, extensibles) \arlmagstep\arlsizework\relax% \font\arltextlarge=cmssbx10 scaled\arlreturn \textfont0=\arltextlarge% \font\arlmathlarge=cmmib10 scaled\arlreturn \textfont1=\arlmathlarge% \font\arlsymblarge=cmbsy10 scaled\arlreturn \textfont2=\arlsymblarge% \font\arlextensible=cmex10 scaled\arlreturn \textfont3=\arlextensible% %% Set 4 Styles for Subscripts \advance\arlsizework by -2\relax% \arlmagstep\arlsizework\relax% \font\arltextmedium=cmssbx10 scaled\arlreturn \scriptfont0=\arltextmedium% \font\arlmathmedium=cmmib10 scaled\arlreturn \scriptfont1=\arlmathmedium% \font\arlsymbmedium=cmbsy10 scaled\arlreturn \scriptfont2=\arlsymbmedium% \scriptfont3=\arlextensible% %% Set 4 Styles for Subsubscripts \advance\arlsizework by -2\relax% \arlmagstep\arlsizework\relax% \font\arltextsmall=cmssbx10 scaled\arlreturn \scriptscriptfont0=\arltextsmall% \font\arlmathsmall=cmmib10 scaled\arlreturn \scriptscriptfont1=\arlmathsmall% \font\arlsymbsmall=cmbsy10 scaled\arlreturn \scriptscriptfont2=\arlsymbsmall% \scriptscriptfont3=\arlextensible% %% Fire up text font and recompute some parameters \arltextlarge\baselineskip=2.5ex\relax\rightskip=0pt plus 20em% \spaceskip=.5em\relax\xspaceskip=.5em\relax\parindent=2em}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% BULLETS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\bullet{{\arlsymblarge\raise.2ex\hbox{\char15}}}% ---- snip --- snip --- snip --- snip --- snip --- snip --- snip --- snip ------ Kent Eschenberg and Kevin Fox Applied Research Laboratory, Pennsylvania State University, State College, PA BITNET Addresses KEE@PSUARLC and KMF@PSUARLC ------------------------------ From: Z3000PA%AWITUW01.BITNET@forsythe.stanford.edu Subject: Re: bold greek letters Date: 29 MAR 88 11:09:10 Perhaps I am naive, but from pages 201-202 of the LaTeX manual I guess that you get bold greek letters simply by {\boldmath $\alpha$} and so on. If this is not correct, I would like to know, why not... Hubert Partl, TU Vienna (Austria) ------------------------------ Date: Mon, 28 Mar 88 12:50:29 PST From: well!pti@lll-crg.llnl.gov (Bill Kaster) Subject: Personal TeX's PTILaser/PS and PSFIG Ted Shapin complains that Personal TeX's PostScript driver, PTIPS, doesn't work with PSfig. This is odd, because in a readme file that comes with the PSfig package (and in TeXHaX #5 (1987) for that matter) Trevor Darrell writes: > > Right now only dvips (from TextSet or ArborText or whatever they >are calling themselves this week) is the only supported postprocessor. >Porting to [other drivers] should be be easy, trivial for a good >subset of psfig's features. I plan to tackle dvi2ps sometime in the >future, but if anyone out there has a good knowledge of what the >PostScript environment under dvi2ps looks like and a spare day, I'll >be glad to show what has to be changed. > It is clear that Trevor tailored PSfig for the ArborText driver. Since Personal TeX's PTIPS is not an exact clone of DVIPS, I wouldn't expect it to work stright out of the box. Bill Kaster claimer: Yes, I work for Personal TeX, Inc. makers of PCTeX and PTIPS. 12 Madrona Avenue Mill Valley, CA 94941 (415)-388-8853 well!pti@lll-crg.arpa Fido 125/333 (415)-388-1708 ------------------------------ Date: Tue, 29 Mar 1988 13:43:17.11 CST From: (George D. Greenwade) Subject: Doublespacing and singlespacing (v.88, n.23,27,29) Tom Schneider's original question (v.88, n.23) regarding his problem in going from double spacing his text (via \baselinestretch) and the impossibility of returning to single spacing within figure environments combined with Stephen Azuma's admittedly crude solution (via \renewcommand{\baselinestretch}...} (v.88, n.27) and Udaya Bhaskar Vemulapati's request for a method for moving from double to single to double spacing for purposes of thesis preparation, there is a simple solution. As I pointed out last year (v.87, n.105), there is a generally available document-style option called doublespace. To invoke doublespacing for (say) an article, all that is needed is: \documentstyle[doublespace]{article} This option defaults you into double spaced, rather than single spaced, output but keeps all footnotes in a single spaced environment. To invoke a region of single spaced output (such as within figure, the various lists, tabular), simple use: \begin{singlespace} To return to double spacing, use: \end{singlespace} For Mr. Vemulapati: There are various thesis document-styles available in general distribution which already contain many of the needed variations which most schools impose on graduate students as a true final hoop to jump through. Consult your local TeXnician about what is out there and what you have at your site. Moral of this story: Consider consulting the family of existing document-style options when you face what you see as a problem since there is little need to re-invent something. It is better (my normative belief) to hack out new options to share with others or to improve options we already have. George George D. Greenwade, Director Bitnet: BED_GDG@SHSU Center for Business and Economic Research THEnet: SHSU::BED_GDG Sam Houston State University Internet: BED_GDG@SHSU.BITNET Huntsville, Texas USA 77341-2056 Voice: (409) 294-1518 ------------------------------ Date: Tue, 29 Mar 88 18:49:16 EST From: jonradel%icecream.Princeton.EDU@Princeton.EDU (Jon Radel) Subject: ``Word Hy-phen-a-tion by Com-put-er'' (TeXhax30.88) STAN-CS-83-977, as all other Stanford Computer Science reports, can be ordered on microfiche for $2.00 (plus sales tax for CA residents) (prepayment payable to Stanford University) from: Attn: Taleen M. Nazarian Department of Computer Science Stanford University Stanford, CA 94305-2140 Recent reports are also available as paper copies, until they are sold out. The price varies, based on length. I'm pretty sure that 83-977 was sold out as paper (I had someone buy it for me recently, and I think that's what he told me). --Jon Radel ------------------------------ Date: Tue, 29 Mar 88 21:52:22 PST From: mackay@june.cs.washington.edu (Pierre MacKay) Subject: TeXhax Digest V88 #30 SliTeX has been part of the Unix TeX distribution for at least a year. It is in ./tex82/LaTeX/LaTeXslitex. If you don't find it there (and only a very old tape will lack it) the essential parts can be found in on SCORE.STANFORD.EDU Email: mackay@june.cs.washington.edu Pierre A. MacKay Smail: Northwest Computing Support Group TUG Site Coordinator for Lewis Hall, Mail Stop DW10 Unix-flavored TeX University of Washington Seattle, WA 98195 (206) 543-6259 ------------------------------ Date: Tue, 29 Mar 88 23:41 EDT From: "Steven H. Gutfreund" Subject: Footnotes on captions - addendum Oh yes, I only want the footnotes to appear on the caption that is in the body of the text, not in the list of figures. Indeed, unless one uses the optional argument form of \caption[]{} and only footnotes the text that is to appear in the body of the document - then LaTeX will complain loudly. However, what I wish to do is only footnote the caption under the actual figure. My problem with the missing footnotetext is occuring even with the optional form of \caption. - gutfreund@cs.umass.edu (via csnet/phoneNet) gutfreund@cs-umass.arpa (via arpanet/milnet) steveg@umass.bitnet (via bitnet) yechezkal-shimon@benDovid.haLevi (via gabbai) ------------------------------ Date: Tue, 29 Mar 88 23:23 EDT From: "Steven H. Gutfreund" Subject: Footnotes on captions I would like to put a footnote on a caption (figure or table) in LaTeX. The straight-forward solution \footnote{...} in the caption entry produced the footnotemark, but the text never appeared. Since footnote is fragile, I tried to \protect it, but this did not change the situation. So, I assume I should handle footnotes in captions in the same way as the LaTeX book suggests for section and chapter titles. That is, I should use the \footnotemark and \footenotetext macros discussed in section C.2.3. Ok, so now I have a question: Where should I put the \footnotetext? Obviously, I would like the text near the figure (wherever it floats to). Can I put the \footnotetext inside the figure environment? or do I have to guestimate where the figure will end up and put the footnotetext at that location? Does the footnotetext need protection? A related question. I am having real problems holding my figures (floats) in place, they keep migrating to new pages, or further on in the thesis. Part of this is probably because of the double spacing. I have tried giving more suggestions to the page output macro [htbp], increasing the looseness, more glue in the \baselineskip and decreasing the penalties for widow lines. Can someone give me some reasonable guidlines for measures to help LaTeX in squeezing in figures at the appropriate spots. A ranking of the various parameters (the order in which to play with them) and reasonable values for them. I apologize if this has been covered before (it seems as if it probably has) but I am new to this digest. - gutfreund@cs.umass.edu (via csnet/phoneNet) gutfreund@cs-umass.arpa (via arpanet/milnet) steveg@umass.bitnet (via bitnet) yechezkal-shimon@benDovid.haLevi (via gabbai) ------------------------------ Date: Wed, 30 Mar 88 09:31:54 CST From: holle@mcc.com (Kathy Holle) Subject: TeX and LaTeX I have a person looking for the TeX and LaTeX distribution. Where can he write and what is the going price for the distribution? Do you provide the tape or does he send you one?? Thanks. Kathy Holle holle@mcc.com ------------------------------ Date: Wed, 30 Mar 88 09:01:59 PST From: lamport@src.dec.com (Leslie Lamport) Subject: LaTeX Notes (Re: TeXhax Digest V88 #30) I suspect that not all of my messages to TeXHaX are making it in. I don't have the time to keep track, so I don't know if and when that happens. However, I always copy the sender of a query on my response. I would greatly appreciate it if, when someone receives a copy of my response to their question, they check if that response winds up in TeXHaX and forward their copy to TeXHaX if it doesn't. William LeFebvre writes To change the default separation between two columns in an array environment, one should change \arraycolsep? Right. To change the default separation between two columns in a tabular environment, one should change \tabcolsep? Right. To stretch out the default separation between two rows (i.e.: lines) in an array environment, one should change \arraystretch? Right! To stretch out the default separation between two rows (i.e.: lines) in a tabular environment, one should change \tabstretch? WRONG!!! One should change \arraystretch! Why? I imagine that there is a very good technical reason why this is, but from a user-interface standpoint, it is blatantly inconsistent. This was an attempt to minimize the number of defined commands, which occupy valuable TeX memory. I felt that a document style designer might want to define different values of \arraycolsep and \tabcolsep, but \arraystretch was likely to be changed only as a kludge within an individual environment. At least that's what I thought on the day I implemented it. Vince Pugliese writes we are interested in occasionally numbering pages in reports using the convention: section_# - page_# (e.g. 5-3 , the 3rd page of section 5) or section_# . page_# (e.g. 5.3 , the 3rd page of section 5) does anyone on the net know how to set do this in LaTex? our guess is that one would have to play with the page counters to do this. any suggestions (macros!) or advice much appreciated! The LaTeX feature that allows you to define a counter that is numbered within another counter works only for defining a new counter. However, inside LaTeX are commands used to implement this feature that should make it easy to redefine the page counter so it is numbered within the section counter. Browsing through latex.tex should reveal the appropriate commands. David Rhead writes I'm trying to produce a LaTeX style-option file that would be appropriate for theses on A4 paper. I'm thinking mostly in terms of 12pt, and hope that Nottingham may follow Oxford (TeXhax V88, #02) in accepting LaTeX's standard linespacing. I started by looking at John Pavel's A4.STY in the LaTeX style collection. It includes the following lines: % Must preserve "(\textheight - \topskip) divides \baselineskip". % \topskip always appears to be 10pt. ... However, in issue 101 of TeXhax vol. 87, Leslie Lamport says that \textheight needs to be set to accomodate an integral number of lines. Also, in REP12.DOC, \textheight is 536.5pt which doesn't seem consistent with John Pavel's assumptions [since (536.5 - 10) isn't an exact multiple of 15]. Now 536.5 is an exact multiple of 14.5 (normalsize in REP12.DOC)... He is looking at an obsolete version of rep12.doc. The "536.5" was changed in June 1986. Martin Peim writes I am writing a mathematical document using LaTeX and need an environment for proofs. Problem: since my proofs are set in roman type I want to put a "box" at the end to show where the proof finishes and ordinary text begins. My current attempt looks like this: \newenvironment{proof}{\begin{trivlist}\item[\hskip\labelsep{\sc Proof.}]}% {\nolinebreak\nopagebreak\hfill\rule{1ex}{2ex}\end{trivlist}} Trouble is, if my proof ends with a displayed formula, the rule box goes on its own line and I get this big blank space before the next chunk of text. Even worse, if the last line of the proof is *full* of text, the box goes at the *beginning* of the next line (I want it just inside the right-hand margin). Worse still, in a couple of places the box goes at the top of the next page. The \nolinebreak and \nopagebreak seem to make no difference. The line break most likely occurs because of the space between the end of the proof and the \end{proof}. This can be removed by using a TeX \unskip command. However, this means that there must not be a blank line between the end of the proof and the \end{proof} command. There is no easy solution to the problem of proofs that end with a displayed equation. I think it can be done, but it would tax my TeX hacking ability. I suggest that it simply be kludged by entering special commands for that case. For example, you could have \newenvironment ...{\EndOfProof} \newcommand{\funnyend}{\renewcommand{\EndOfProof}{...}} and let the user type \[ ... \] \funnyend \end{proof} (Note that the scope of \funnyend's redefinition of \EndOfProof ends with the \end{proof}.) Leslie Lamport ------------------------------ %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% BITNET: send a one-line mail message to LISTSERV@TAMVM1.BITNET: %%% SUBSCRIBE TEX-L % to subscribe %%% UNSUBSCRIBE TEX-L % to cancel subscription %%% %%% All others: send mail to %%% texhax-request@score.stanford.edu %%% please send a valid arpanet address!! %%% %%% %%% All submissions to: texhax@score.stanford.edu %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------