Subject: TeXhax Digest V90 #21 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, February 25, 1990 Volume 90 : Issue 21 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: Kron Notation Matrices Submission: Here's a macro for drawing a box with a dropshadow. AGFA Printers Wanted: Previewer for X11 DVI Previewers for Suntools Alignment bug -- exterminated How to find the correct .sty files ... suggestion Re Arguments in braces ... *** Announcement SGML-TeX Conference 31 Aug Groningen 1990*** TeX Is A fUn SyStEm! baselineskip LaTeX double page landscape mode style ------------------------------------------------------------------------- Date: Fri, 9 Feb 1990 12:15:22 MST From: FINDLEY@MEEVAX.MEEDIV.LANL.GOV (Margaret Findley) Subject: Kron Notation Matrices Keywords: TeX, macro, Kron notation matrices A customer has requested that his matrices be done with the Kron Notation (matrix elements are enclosed in boxes). I would appreciate hearing from anyone who has done a macro for this function. Please respond to: findley@meediv.lanl.gov --------------------------------------------------------------------------- Date: Fri, 9 Feb 90 07:40:43 MST From: drstrip@cs.sandia.gov (David R Strip 1411) Subject: Submission: Here's a macro for drawing a box with a dropshadow. Keywords: macro, box, dropshadow I cobbled this up last night and thought someone might enjoy it. The macro dropshadow takes two args, a box and a dimen, and creates a new box consisting of the input box outlined by a box and a shadow of thickness 2nd arg, dropped to the lower right. Now if someone could show me how to do this without the use of a temporary box in the process, I would be much obliged. Strip drstrip@cs.sandia.gov %a temporary box and dimension register are need for this implementation \newdimen\dropht \newbox\dropbox \def\dropshadow#1#2{\setbox\dropbox=% %first take what you are given and outline it %This is the boxit routine in the TeXbook, ex. 21.3 \vbox{\hrule\hbox{\vrule\kern3pt \vbox{\kern3pt#1\kern3pt}\kern3pt\vrule}\hrule} %Now grab put the shadow on, using the dimensions from the %box you just made to force the size of the rules. \dropht=\ht\dropbox\advance\dropht by -#2 \vbox{\baselineskip0pt\lineskip0pt \hbox{\copy\dropbox\vrule width#2 height\dropht} \hbox{\kern#2\vrule height#2 width \wd\dropbox}}} %Now test it. \setbox4=\vbox {\hsize 23pc This is a test of the dropshadow routine.} \dropshadow{\box4}{4pt}\end --------------------------------------------------------------------------- Date: Thu, 8 Feb 90 14:45:33 EST From: smith%zeus@harvard.harvard.edu (Steven Smith) Subject: AGFA Printers Keywords: printers, METAFONT Our lab is contemplating the purchase of an AGFA P3400 PS printer. Has anyone experience with this 400dpi printer? Does a METAFONT mode_def exist for it? We would appreciate any comments you could provide. -Steven Smith smith@sandalphon.harvard.edu --------------------------------------------------------------------------- Date: Thu, 08 Feb 90 20:18:49 EST From: "Karl R. Wurst" Subject: Wanted: Previewer for X11 Keywords: previewer, X11 Our lab has recently begun seriously using X11 as a development environment. And, as such, we are very interested in a previewer for the X11 environment. (The only previewer we have is under SunView, and it's annoying to have to drop out of X11 and get into SunView to look at a document.) If anyone could point us to a previewer to run under X11, it would be greatly appreciated. Also, I remember reading a while back in TeXHaX about an X11-EMACS-TeX previewer combination, wherein you could mark a section of TeX code in EMACS, and give a key-sequence to have the section TeX'd and displayed in a previewer window. If someone could give some information about that, that would be great too. Thanks in advance. Karl R. Wurst Computer Science and Engineering BITNET: WURST@UCONNVM University of Connecticut CSNET : WURST@BRC.UCONN.EDU Storrs, CT 06269-3155 ATTNET: 203-486-5230 "Things fall apart. It's scientific." - David Byrne ------------------------------------------------------------------------------- Date: Thu, 8 Feb 90 11:47:14 EST From: smith%zeus@harvard.harvard.edu (Steven Smith) Subject: DVI Previewers for Suntools Keywords: previewers Does anyone know of a DVI previewer for Suntools that uses PK fonts? And where on the network it can be obtained? Our version of dvipage (we have only the executable---no source) uses PXL fonts; we are removing these and hope to have a TeX environment that uses only PK fonts. -Steven Smith smith@sandalphon.harvard.edu P.S. For those interested in programs that utilize PK fonts, we are using a great DVI-to-Postscript converter called dvips (written by Tomas Rokicki ) and an equally nice previewer for X10/11 that we obtained from ucbvax.berkeley.edu [128.32.149.36] (file pub/tmp/xdvi.shar.Z). -------------------------------------------------------------------------- Date: Thu, 8 Feb 90 09:08 CST From: Subject: Alignment bug -- exterminated Keywords: TeX, bug In Issue #14 I reported a problem in combining \eqalignno with \underbrace or \b. It now appears that this is a bug in version 1.0 of PC-TeX. I am unable to reproduce the phenomenon in version 1.50 of PC-TeX, or in Unix TeX. Thanks to Donald Arseneau for trying out my script and reporting a negative result. S. Fulling -------------------------------------------------------------------------- Date: Thu, 8 Feb 90 15:34:09 GMT From: "D.Ballance" Subject: How to find the correct .sty files ... suggestion Keywords: LaTeX, .sty files In the LaTeX world there are a great number of .sty and .bst files around, each designed for a different purpose. However for someone to find out whether a style file has been written for a particular layout is difficult. Even having discovered a suitable-looking style file most of the .sty files are not documented to say exactly which major styles they work with and whether they work with other .sty files or require other .sty files. The sort of information needed for each .sty file is: 1) Is is a major or minor style (e.g., article.sty = major, a4.sty = minor) 2) What is the latest version and release date of the .sty file 3) Who created it, who, if anyone is updating it if necessary, where is the master copy held, an to whom should changes be suggested. 4) What Exactly does the style do. 5) How reliable is it. If it is a minor style: 6) Which of the major styles does it definitely work with, definitely not work with, or is untested with. 7) Does it with the A4 option correctly. (This is VERY important to European users)( On a related note: is there an ``official'' A4 style that is reliable? If so, where is it? If not, why not?) 8) Which other minor .sty files does it work/not work with. A similar list could also be created for .bst files. Questions: Has anyone discovered the above information and is prepared to update and distribute it? Is there a general demand for such information? If so what form should it take? My suggestion is a for standard header for all .sty files with something like the following format %Name: name.sty %Version: 1.00, 8th Feb 1990 %Status: Unsupported/Fully supported/Beta Test/Finished/Official Latex/ etc. %Minor style: Brief description of style file %Author: ... % %Works with: % Article: Yes % Book: ? % Manual: No % Report: Yes % Letter: N/A % A4: Yes % Works with the following Minor Styles: ... Any comments/suggestions/information/offers to compile the information/etc. welcome. Donald | Donald Ballance, JANET: gnma76@uk.ac.gla.eng.sun1 | | Control Group, BITNET: gnma76@sun1.eng.gla.ac.uk | | Dept. Mechanical Engineering, gnma76%sun1.eng.gla.ac.uk@ukacrl.bitnet | | The University, gnma76%sun1.eng.gla.ac.uk@ac.uk | | Glasgow. INTERNET: gnma76%sun1.eng.gla.ac.uk@cunyvm.cuny.edu | | G12 8QQ. gnma76%sun1.eng.gla.ac.uk@nsfnet-relay.ac.uk| | Glasgow 1990: European City of Culture ... See Glasgow, See Culture | ----------------------------------------------------------------------------- Date: Wed, 7 Feb 90 14:28:08 GMT From: Martin Ward Subject: Re Arguments in braces ... Keywords: TeX, arguments, braces An easier (and faster!) way to ensure that a macros argument is delimited by braces is given in Exercise 20.6 of the TeXbook. Victor's example (TeXhax V90 #15) becomes: \def\foo#$\baz \def\baz#1$\message$#1 \foo keep your braces on! \foo $an elephant in curly blankets A bonus is that the error message refers to \foo rather than \baz! Martin. My ARPANET address is: martin%EASBY.DUR.AC.UK@CUNYVM.CUNY.EDU OR: martin%uk.ac.dur.easby@nfsnet-relay.ac.uk UUCP:...!mcvax!ukc!easby!martin JANET: martin@uk.ac.dur.easby BITNET: martin%dur.easby@ac.uk ------------------------------------------------------------------------------- Date: Wed, 7 Feb 90 15:37 B From: Subject: *** Announcement SGML-TeX Conference 31 Aug Groningen 1990*** Keywords: announcement %\documentstyle{article} \documentstyle[12pt]{article} \addtolength{\textheight}{2in} %\addtolength{\textwidth}{.75in} % \begin{document} \def\m{\par\hangindent\parindent\textindent} \def\textindent#1{\indent\llap{#1\enspace}\ignorespaces} \newtoks\subject \newbox\orgcom \setbox\orgcom% \vbox to 0pt{\vss \hbox{\strut \small Organizing Committee: }\hbox{\strut \small NTG:\ \ C.G. van der Laan }\hbox{\strut \small \phantom{NTG:\ \ }T.A. Jurriens }\hbox{\strut \small SGML: J.\ Maasdam }\hbox{\strut \small \phantom{SGML:} J. Bleeker }} % \title{Announcement} \author{SGML \& \TeX\ Conference\\[1ex] Groningen, 31 Aug. 1990} \date{} \maketitle \kern-5cm\copy\orgcom\kern 4.75cm \par\noindent This conference, devoted to SGML, \TeX, and their symbiosis, is organized by the NTG (Nederlandstalige \TeX\ Gebruikersgroep, i.e., Dutch \TeX\ Users Group) and the SGML-Holland Users Group. The conference will be held at the University of Groningen. \\[1ex] After some coffee, welcome etc., the day will start with a survey (invited speaker) about the relationship between SGML and \TeX, now and in the future. During the day we have two parallel streams of presentations (1/2 and 3/4 hour talks) and for those wandering around there will be a vendor booth, a book stand, a selling point for \TeX\ `gadgets', and copying facilities for PD (\TeX) programs, and of course an information booth. The closing session (invited speaker) will be about Electronic Publishing in the future with a wink to SGML and \TeX. \\[1ex] To celebrate the joint happening we will end with a nice cocktail party offered by Elsevier and Samson Publishers. \\[1ex] The conference language is Dutch (this does not hold of course for non-native speakers) but speakers will be urged to have their transparencies are in English. \\[1ex] \TeX, \LaTeX, Metafont (TUG-like) courses as well as SGML courses are held before the conference and in the week after. \\[1ex] Members of any SGML or \TeX\ Users Group are charged for {\sl f\/}75--, students for {\sl f\/}25--, and non-members {\sl f\/}150,--. \\[\baselineskip] Further information: C.G. van der Laan (CGL@RC.RUG.NL) \\ \phantom{Further information:} RekenCentrum RijksUniversiteit Groningen \\ \phantom{Further information:} Landleven 1, 9700 AV \\ \phantom{Further information:} Groningen, The Netherlands % \newpage % %\kern-.1in \subject={Conference} \voffset-1cm \makeatletter \def\@oddhead{\hbox to \hsize{NTG-SGML \hfil \the\subject}} \def\@oddfoot{} \makeatother % \centerline{\Large Conference Booking Form} \vskip1.5\baselineskip \centerline{\large SGML \& \TeX\ conference} \vskip1ex \centerline{\large Groningen, 31 Aug. 1990} \vskip2\baselineskip \noindent For members of NTG, SGML Holland, DANTE, GUTenberg, NordicTuG, TUG, UKTuG, there will be a charge for the meeting of {\sl f\/}\ 75,--, to cover refreshments, lunch etc. For non-members the fee is {\sl f\/}\ 150,--, except for students who have to pay {\sl f\/}\ 25,--. (Student card must be shown at registration on 31st August.) \\[2ex] I wish to attend the one-day SGML-\TeX\ meeting at the University of Groningen on 31st August 1990: $$\openup2\jot \vbox{\halign to\hsize{\strut#\hrulefill\enspace \tabskip=1em plus 2em&#\hrulefill\tabskip=0pt\cr \multispan 2 \strut Name: \hrulefill \cr \multispan 2 \strut Organization: \hrulefill \cr \multispan 2 \strut Address: \hrulefill \cr \multispan 2 \strut \hrulefill \cr \multispan 2 \strut \hrulefill \cr Telephone: \hbox to .35\hsize{\hrulefill}& Email: \hbox to .35\hsize{\hrulefill}\cr }}$$ $$\openup2\jot \vbox{\halign to\hsize{\strut #\hfil & %1st column \raise1pt\hbox{$\bigcirc$}\enspace {\sl f\/} \hfil# &%scnd column #\hfil & %third column \hfil# & %fourth column \hfil #\cr %fifth column Payment: & 25,-- &Student & & \dotfill \cr \phantom{Payment:}& 75,-- &\multispan{2}NTG/SGML/% member any SGML or \TeX\ Users Group & \cr \phantom{Payment:}& 150,--& Non-member & & \cr \multispan{3}Check: \raise1pt\hbox{$\bigcirc$} enclosed \hfil& \multispan2 \hfil Signature: \hbox to 1.5in{\hrulefill}\cr \multispan{3}\phantom{Check:} \raise1pt\hbox{$\bigcirc$} send separately\hfil& \multispan2 \hfil Date: \hbox to 1.5in{\hrulefill}\cr \cr }}$$ \paragraph{Payment and Registration Address} Please send this completed form, together with your payment, to:\\[1ex] Koen Mulder: Penningmeester SGML Holland Users Group\\ \phantom{Koen Mulder:} Postbus 1148, 6801 MK, Arnhem, The Netherlands\\ \phantom{Koen Mulder:} Giro: 2905269 \\[1ex] Note: How to come there will be send in July. % \end{document} -------------------------------------------------------------------------- Date: Thu, 08 Feb 90 14:51:43 MET From: Victor Eijkhout Subject: TeX Is A fUn SyStEm! Keywords: TeX % just run through TeX. see wha 'appens \def\BF{\bf \let\>=\IT} \def\IT{\it \let\>=\BF} \BF \let\,=\catcode \let\.=\def \let\<=\char \let\!=\bye \let\^=\TeX \,`a=13 \. a{\<97\/\>} \,`b=13 \. b{\<98\/\>} \,`c=13 \. c{\<99\/\>} \,`d=13 \. d{\<100\/\>} \,`e=13 \. e{\<101\/\>} \,`f=13 \. f{\<102\/\>} \,`g=13 \. g{\<103\/\>} \,`h=13 \. h{\<104\/\>} \,`i=13 \. i{\<105\/\>} \,`j=13 \. j{\<106\/\>} \,`k=13 \. k{\<107\/\>} \,`l=13 \. l{\<108\/\>} \,`m=13 \. m{\<109\/\>} \,`n=13 \. n{\<110\/\>} \,`o=13 \. o{\<111\/\>} \,`p=13 \. p{\<112\/\>} \,`q=13 \. q{\<113\/\>} \,`r=13 \. r{\<114\/\>} \,`s=13 \. s{\<115\/\>} \,`t=13 \. t{\<116\/\>} \,`u=13 \. u{\<117\/\>} \,`v=13 \. v{\<118\/\>} \,`w=13 \. w{\<119\/\>} \,`x=13 \. x{\<120\/\>} \,`y=13 \. y{\<121\/\>} \,`z=13 \. z{\<122\/\>} \,`A=13 \. A{\<65\/\>} \,`B=13 \. B{\<66\/\>} \,`C=13 \. C{\<67\/\>} \,`D=13 \. D{\<68\/\>} \,`E=13 \. E{\<69\/\>} \,`F=13 \. F{\<70\/\>} \,`G=13 \. G{\<71\/\>} \,`H=13 \. H{\<72\/\>} \,`I=13 \. I{\<73\/\>} \,`J=13 \. J{\<74\/\>} \,`K=13 \. K{\<75\/\>} \,`L=13 \. L{\<76\/\>} \,`M=13 \. M{\<77\/\>} \,`N=13 \. N{\<78\/\>} \,`O=13 \. O{\<79\/\>} \,`P=13 \. P{\<80\/\>} \,`Q=13 \. Q{\<81\/\>} \,`R=13 \. R{\<82\/\>} \,`S=13 \. S{\<83\/\>} \,`T=13 \. T{\<84\/\>} \,`U=13 \. U{\<85\/\>} \,`V=13 \. V{\<86\/\>} \,`W=13 \. W{\<87\/\>} \,`X=13 \. X{\<88\/\>} \,`Y=13 \. Y{\<89\/\>} \,`Z=13 \. Z{\<90\/\>} Raaaaaaaaahhhhhh! Is this the ugliest thing you have seen in ages, or what? And isn't it great what you can make \^ do? \! Another exercise in futility, courtesy of, Victor Eijkhout Department of Mathematics University of Nijmegen Toernooiveld 5 "Far out in the uncharted 6525 ED Nijmegen, the Netherlands backwaters of the unfash- ionable end of the +31 80 61 3169 western spiral arm (switchboard: 61 1111) of the galaxy" u641000@HNYKUN11.BITNET -------------------------------------------------------------------------- Date: Fri, 9 Feb 90 15:03:30 EST From: crm@summanulla.nbsr.duke.edu (Charles R. Martin) Subject: baselineskip Keywords: TEX, baselineskip I'm almost embarrassed to ask this, especially since I an just *certain* I knew how to do this at one time.... I'm trying to loosen up the spacing in my dissertation; I'd like to set it in 12pt on 20pt spacing. I can't get anything to HAPPEN to the baseline spacing! NO matter what I set \baselineskip to, it comes out the same. I know it's something stupid I'm doing; be gentle. Charlie Martin (...!mcnc!duke!crm, crm@summanulla.mc.duke.edu) NBSR/Box 3709/Duke University Medical Center/Durham, NC 27710 ------------------------------------------------------------------------------ Date: Sat, 10 Feb 90 12:52:57 EST From: guy@phy.duke.edu (Guy Metcalfe) Subject: LaTeX double page landscape mode style Keywords: LaTeX, double page, landscape mode > Date: Thu, 25 Jan 90 08:20:02 EST > From: ramsdell@linus.mitre.org > Keywords: landscape, dvidvi > > I have received no word in response to my query for LaTeX styles > designed for a page size of 5.5x8.5 inches. This size is of interest > because one could print two pages in landscape mode on USA standard > 8.5x11 inch paper, and then cut the paper in two. > Another very good use for this style would be to make long tables. TeX, so far as I know, doesn't handle very well tables that should logically be rotated 90 degrees from standard or tables that need to be split across more than one page. Guy Metcalfe Duke University Dept. of Physics guy@phy.duke.edu & Center for Nonlinear Studies guy@physics.phy.duke.edu Durham, N.C. 27706 guy%phy.duke.edu@cs.duke.edu ----------------------------------------------------------------------- %%% 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 ************************** -------