UKTeX Digest Friday, 26 Nov 1993 Volume 93 : Issue 37 ``The UKTeX Digest is brought to you as a free, unfunded and voluntary service of the UK TeX Users Group and the UK TeX Archive.'' Today's Topics: {Questions & Answers}: re: Equivalent to \kill in math mode? (extra-LaTeX) bibtex styles macmakeindex Conversion to TeX Re: Conversion to TeX Re: Conversion to TeX Re: Re: Conversion to TeX Re: Re: Conversion to TeX JORS BibTeX style files {Announcements}: modes.mf 1.1 available Administrivia: Moderators: Peter Abbott (Aston University) and David Osborne (University of Nottingham) Contributions: UKTeX@uk.ac.tex Administration, subscription and unsubscription requests: UKTeX-request@uk.ac.tex ---------------------------------------------------------------------- Date: 22 Nov 1993 09:47:02 From: Mike Piff Subject: re: Equivalent to \kill in math mode? %>Alastair Rough writes: %> %>Is there a command in math mode which is equivalent to \kill in the LaTeX %>tabbing environment? %> %>I would like to use TeX to calculate some math mode values for me for use %>elsewhere but then I wish to suppress the display. %> In TeX you can measure objects once you have placed them in a box. Here is one approach. Mike \documentstyle{article} \newbox\measbox %LaTeX purists will frown on this line! \newlength{\measht}\newlength{\measwd}\newlength{\measdp} \def\measure#1{% measure a mathematical formula \setbox\measbox\hbox{$#1$}% \setlength{\measht}{\ht\measbox}% \setlength{\measwd}{\wd\measbox}% \setlength{\measdp}{\dp\measbox}% \setbox\measbox\null } \begin{document} \measure{x^2+y^2=1}%or \measure{\displaystyle... if you want \noindent This space is just big enough for $x^2+y^2=1$. \noindent This space is just big enough for \hspace{\measwd}. \end{document} ------------------------------ Date: Mon, 22 Nov 1993 13:11:39 +0000 From: dquah@uk.ac.lse Subject: (extra-LaTeX) bibtex styles > Date: Fri, 19 Nov 1993 13:52:14 +0000 > From: spqr@uk.ac.tex.ftp > Subject: Re: LaTeX bibliography styles > > > The four standard styles offered by BIBTeX are not suitable for the work I > > am doing. I believe that the ftp.tex server contains extra files. > ftp.tex.ac.uk:/pub/archive/biblio/bibtex/styles/contrib contains many > styles you might want to try. the `harvard' style is > along the right lines. you'll need the LaTeX style file to go with it > to redefine the bibliography layout On this, I wonder if it is possible to ask style authors to try not to use too many LaTeX-isms. I use TeX but also bibtex, by exploiting Karl Berry's and Oren Patashnik's btxmac (hacked slightly). These macros successfully deal with the four standard styles, and I have modified some others to work with the btxmac macros, but it would be nice if more styles were allowed. - --Danny (dquah@lse.ac.uk) Economics Department, LSE 479 St. Clements: (+44-71) 955-7535 Houghton Street, London WC2A 2AE Fax: (+44-71) 831-1840 ------------------------------ Date: Mon, 22 Nov 1993 16:05:24 +0000 From: Nigel Chapman Subject: macmakeindex i've fetched .../systems/mac/macmakeindex.sit from the archive, first taking its extension at face-value and using binary mode, then aassuming it was binhex coded and using ascii mode. and i've tried to install it on my mac, trying all possible assumptions about the file format at that end. in all cases, stuffit has reported a crc error and an unexpected end of file. does anyone know where i can get an ok, preferably binhexed, version of this? there is no indication of its provenance that i could see in the archive. (they don't seem to have it at hensa.) ------------------------------ Date: Tue, 23 Nov 1993 08:41:28 +0000 From: P.Abbott@uk.ac.aston Subject: Conversion to TeX I have a TeX file and wish to include the following LaTeX code. {\scriptsize\raisebox{.6ex}{c}\kern-.01em\raisebox{.3ex}{/}{o}}% What is the equivalent TeX code for scriptsize and raisebox I assume I can use \font\myscript=cmr10 at 7truept since art10.sty shows scriptsize to be 7 on 8 pt but I do not know the easy answer for raisebox. From latex.tex \def\raisebox#1{\@ifnextchar[{\@argrsbox{#1}}{\@rsbox{#1}}} \def\@argrsbox#1[#2]{% \@ifnextchar[{\@iirsbox{#1}[#2]}{\@irsbox{#1}[#2]}} \long\def\@rsbox#1#2{\leavevmode\hbox{\raise #1\hbox{#2}}} \long\def\@irsbox#1[#2]#3{\setbox\@tempboxa \hbox {\raise #1\hbox{#3}}\ht\@tempboxa#2\leavevmode\box\@tempboxa} \long\def\@iirsbox#1[#2][#3]#4{\setbox\@tempboxa \hbox {\raise #1\hbox{#4}}\ht\@tempboxa#2\dp\@tempboxa#3\leavevmode\box\@tempboxa} I did try just dropping the code into the TeX file but /work2/uktug$ tex expenses This is TeX, Version 3.141 (C version d) (expenses.tex ! Use of \@ doesn't match its definition. \raisebox #1->\@if nextchar[{\@argrsbox{#1}}{\@rsbox{#1}} \PeterAbbott ... \cr &&{\myscript \raisebox {.6ex} {c}\kern -.01em\raisebox {... l.124 \PeterAbbott I think that LaTeX only allows \@ in .sty files. I'm now stuck as what to do next. Peter ------------------------------ Date: Tue, 23 Nov 1993 08:55:39 +0000 From: Malcolm Clark Subject: Re: Conversion to TeX > I have a TeX file and wish to include the following LaTeX code. > > {\scriptsize\raisebox{.6ex}{c}\kern-.01em\raisebox{.3ex}{/}{o}}% [...] > I think that LaTeX only allows \@ in .sty files. my gut says to enclose this stuff in \makeatletter .. \makeatother it is not that \@ is disallowed, but that \@if is seen as \@ followed by if. making @ a letter makes it see \@if, which might work. your analysis was right, you just had to take it further. malcolm ------------------------------ Date: Tue, 23 Nov 1993 12:27:53 +0000 From: spqr@uk.ac.tex.ftp Subject: Re: Conversion to TeX > I think that LaTeX only allows \@ in .sty files. mimic the effect of being in a .sty file by changing the catcode of @ - - see definition of \makeatletter in latex.tex sebastian ------------------------------ Date: Tue, 23 Nov 1993 12:29:22 +0000 From: spqr@uk.ac.tex.ftp Subject: Re: Re: Conversion to TeX > my gut says to enclos ethis stuff in > \makeatletter > .. > \makeatother if \makeatletter was defined in plain TeX, Malcolm would be right. however, Peter will have to replicate that as well sebastian ------------------------------ Date: Tue, 23 Nov 1993 14:12:35 +0000 From: Malcolm Clark Subject: Re: Re: Conversion to TeX i sorted this out on the phone. it was a \raise0.6ex\hbox{\it c} sort of problem really. the @ was a red herring. m ------------------------------ Date: Tue, 23 Nov 1993 17:49:45 +0000 From: healyp@ul.ie Subject: JORS BibTeX style files Do you know where I can get a hold of a BibTeX style file that uses superscripts for bibliography references? This is the format of the Journal of the Operational Research Society and I'm certain that someone must have solved this by now. I've been able to look at the BibTeX archives on ftp.tex.ac.uk but I cannot tell what features come with what .bst file. Thanks for any light you can shed on this. If you don't have time to answer this yourself please pass it along to the UK TeX group. Thanks again, Paddy Healy, Department of CS Univ. of Limerick, Ireland ------------------------------ Date: Wed, 24 Nov 1993 11:08:52 -0500 From: kb@cs.umb.edu Subject: modes.mf 1.1 available I have released version 1.1 of modes.mf. You can get it by anonymous ftp from ftp.cs.umb.edu:pub/tex/modes.mf You can also get it by email from George Greenwade's (thanks, George!) file server if you cannot ftp: email fileserv@shsu.edu with a body of `sendme modes'. This file is a collection of Metafont mode_def's. It also makes common definitions for write/white printers, `special' information, and landscape mode. The mode for the HP LaserJet 4 has completely new values, from mbr@research.nj.nec.com; his seemed better tested than previous. The IBM 4019 is now a separate mode from the IBM 4216. This version again runs through TeX. As always, thanks to the contributors. If you have mode_def's which are not listed below, or corrections to the existing ones, please send them to me. Improvements to the exposition, particularly in how to create a new mode_def, are also welcome. karl@cs.umb.edu mode_def AgfaFourZeroZero = % AGFA 400PS mode_def amiga = % Commodore Amiga mode_def AtariNineFive = % Atari 95dpi previewer mode_def AtariNineSix = % Atari 96x96 previewer mode_def AtariSLMEightZeroFour = % Atari ST SLM 804 printer mode_def AtariSMOneTwoFour = % Atari ST SM 124 screen mode_def aps = % Autologic APS-Micro5 mode_def ApsSixHi = % Autologic APS-Micro6 mode_def bitgraph = % BBN Bitgraph at 118dpi mode_def boise = % HP 2680A mode_def CanonCX = % Canon CX, SX, LBP-LX mode_def CanonEX = % CanonEX in LaserWriter Pro 630 mode_def CanonLBPTen = % e.g., Symbolics LGP-10 mode_def ChelgraphIBX = % Chelgraph IBX mode_def CItohThreeOneZero = % CItoh 310 mode_def CItohEightFiveOneZero = % CItoh 8510A mode_def CompugraphicEightSixZeroZero = % Compugraphic 8600 mode_def CompugraphicNineSixZeroZero = % Compugraphic 9600 mode_def crs = % Alphatype CRS mode_def DataDisc = % DataDisc mode_def DataDiscNew = % DataDisc with special aspect ratio mode_def DECsmall = % DEC 17-inch, 1024 x 768 mode_def DEClarge = % DEC 19-inch, 1280 x 1024 mode_def dover = % Xerox Dover mode_def epsdraft = % Epson at 120x72dpi mode_def epsfast = % Epson at 60x72dpi mode_def epsonlo = % Epson at 120x216dpi mode_def EpsonLQFiveZeroZeroMed = % Epson LQ-500, 360x180dpi mode_def EpsonLQFiveZeroZeroLo = % Epson LQ-500, 180x180dpi mode_def EpsonMXFX = % 9-pin Epson MX/FX family mode_def GThreefax = % 200 x 100dpi G3fax mode_def HPDeskJet = % HP DeskJet 500 mode_def HPLaserJetIIISi = % HP Laser Jet IIISi mode_def HPrugged = % HP RuggedWriter 480 mode_def ibm_a = % IBM 38xx (\#1) mode_def IBMD = % IBM 38xx (\#2) mode_def IBMFourZeroTwoNine = % IBM 4029-30, 4250 mode_def IBMFourTwoOneSix = % IBM 4216 mode_def IBMFourZeroOneNine = % IBM 4019 mode_def IBMProPrinter = % IBM ProPrinter mode_def IBMSixOneFiveFour = % IBM 6154 display mode_def IBMSixSixSevenZero = % IBM 6670 (Sherpa) mode_def IBMThreeOneSevenNine = % IBM 3179 screen mode_def IBMThreeOneNineThree = % IBM 3193 screen mode_def IBMThreeEightOneTwo = % IBM 3812 mode_def IBMThreeEightTwoZero = % IBM 3820 mode_def IBMEGA = % IBM EGA monitor mode_def IBMVGA = % IBM VGA monitor mode_def imagewriter = % Apple ImageWriter mode_def laserjetfour = % 600dpi HP LaserJet 4 mode_def laserjetlo = % HP LaserJet at 150dpi mode_def lasermaster = % 1000dpi LaserMaster mode_def LASevenFive = % DEC LA75 mode_def LinotypeOneZeroZeroLo = % Linotype Linotronic [13]00 at 635dpi mode_def LinotypeOneZeroZero = % Linotype Linotronic [13]00 at 1270dpi mode_def LinotypeThreeZeroZeroHi = % Linotype Linotronic 300 at 2540dpi mode_def LNZeroOne = % DEC LN01 mode_def LPSTwoZero = % DEC lps20 mode_def LPSFourZero = % DEC LPS40 mode_def lview = % Sigma L-View monitor mode_def MacMagnified = % Mac screens at magstep 1 mode_def MacTrueSize = % Mac screens at 72dpi mode_def NCD = % NCD 19-inch mode_def NEC = % NEC mode_def NEChi = % NEC-P6 at 360x360dpi mode_def Newgen = % Newgen 400dpi mode_def NeXTprinter = % NeXT 400dpi mode_def NeXTscreen = % 100dpi NeXT monitor mode_def nullmode = % TFM files only mode_def OCESixSevenFiveZeroPS = % OCE 6750-PS mode_def okidata = % Okidata mode_def OneTwoZero = % e.g., high-resolution Suns mode_def phaser = % Tektronix Phaser PXi mode_def PrintwareSevenTwoZeroIQ = % Printware 720IQ mode_def qms = % QMS (Xerox engine) mode_def QMSOneSevenTwoFive = % QMS 1725 mode_def QMSOneSevenZeroZero = % QMS 1700 mode_def RicohFourZeroEightZero = % e.g., TI Omnilaser mode_def RicohLP = % e.g., DEC LN03 mode_def SparcPrinter = % Sun SPARCprinter mode_def StarNLOneZero = % Star NL-10 mode_def sun = % Sun and BBN Bitgraph at 85dpi mode_def supre = % Ultre*setter at 2400dpi mode_def toshiba = % Toshiba 13XX, EpsonLQ mode_def ultre = % Ultre*setter at 1200dpi mode_def VarityperFiveZeroSixZeroW = % Varitype 5060W mode_def VarityperFourThreeZeroZeroLo = % Varityper 4300P at 1200dpi mode_def VarityperFourThreeZeroZeroHi = % Varityper 4300P at 2400dpi mode_def VarityperFourTwoZeroZero = % Varityper 4200 B-P mode_def VarityperSixZeroZero = % Varityper Laser 600 mode_def VAXstation = % VAXstation monitor mode_def XeroxDocutech = % Xerox 8790 or 4045 mode_def XeroxEightSevenNineZero = % Xerox 8790 or 4045 mode_def XeroxFourZeroFiveZero = % Xerox 4050/4075/4090 mode_def XeroxNineSevenZeroZero = % Xerox 9700 mode_def XeroxThreeSevenZeroZero = % Xerox 3700 ------------------------------ UK TeX ARCHIVE at ASTON UNIVERSITY >>> UK.AC.TEX <<< *** Interactive and file transfer access *** JANET: uk.ac.tex (DTE 000020120091) Username: public, Password: public Internet: tex.ac.uk [134.151.79.28] -- telnet/rlogin, anonymous ftp ftp.tex.ac.uk [134.151.79.32] -- anonymous ftp, gopher, NFS For telnet access, login: public, password: public For anonymous ftp, login: anonymous, password: *** Mail server *** Send mail to TeXserver@uk.ac.tex (JANET) or TeXserver@tex.ac.uk (rest of the world) with message body containing the word HELP \section FILES OF INTEREST [tex-archive]00readme.txt [tex-archive]00index.files [tex-archive]0000index.zip_vve [tex-archive]00last7days.files [tex-archive]00last7days.zip_vve [tex-archive]00last30days.files [tex-archive]00last30days.zip_vve [tex-archive.doc]TeX-FAQ.txt (Frequently Asked Questions list) [tex-archive.doc]FAQ-Supplement-*.txt (FAQ supplement) \section DIGESTS This year's UKTeX back issues are stored in the archive in directory [tex-archive.digests.uktex.93] This year's TeXhax back issues are stored in the archive in directory [tex-archive.digests.texhax.93] Latest TeXhax: V93 #15 \section MEDIA DISTRIBUTIONS Postal addresses are given below. \subsection Washington Unix TeX distribution tape Latest copy of May/June 1991 contains: TeX 3.14, LaTeX 2.09, Metafont 2.7, plus many utilities suitable for Unix 4.2/4.3BSD & System V tar format, 1 file (36Mb) One Quarter-Inch Cartridge, QIC-120 or QIC-150 format (DC600A or DC6150) sent with envelope AND stamps for return postage to **Nottingham** (Due to currency exchange, this service is offered only within the UK) \section TeX IMPLEMENTATIONS FOR SMALL COMPUTERS \subsection OzTeX for Macintosh No longer distributed on disk from Aston, though it continues to be available in the Archive for network access. Available on disk from TeX Users Group; mail TUG for details. \subsection emTeX (for OS/2, PC-DOS and MS-DOS) For general enquiries, and a free catalogue detailing other disk formats, precompiled fonts and lots of other goodies, contact: Eigen PD Software, P.O. Box 722, Swindon SN2 6YB (Phone: 0793-611270) JANET: kellett@uk.ac.cran.rmcs Internet: kellett@rmcs.cran.ac.uk Also available on disk from TeX Users Group; mail TUG for details. \subsection TeX for the Atari ST All enquiries for disks etc. should be directed to: The South West Software Library, P.O. Box 562, Wimborne, Dorset BH21 2YD JANET: mdryden@uk.co.compulink.cix Internet: mdryden@cix.compulink.co.uk \section POSTAGE RATES Quarter-inch cartridges: UK: 1.00, Europe: 2.00. \section POSTAL ADDRESSES Please include SELF-ADDRESSED ADHESIVE LABELS for return postage. Peter Abbott Information Systems, Aston University, Aston Triangle, Birmingham B4 7ET JANET: P.Abbott@uk.ac.aston Internet: P.Abbott@aston.ac.uk David Osborne Cripps Computing Centre, University of Nottingham, Nottingham NG7 2RD (for Quarter-inch cartridges ONLY -- must include stamps for return postage) JANET: David.Osborne@uk.ac.nott.dir Internet: David.Osborne@dir.nott.ac.uk TeX Users Group P.O. Box 869, Santa Barbara, CA 93102, USA. Internet: TUG@TUG.org \section UK TeX USERS GROUP Details available from David Penfold, Edgerton Publishing Services, 30 Edgerton Road, Edgerton, Huddersfield HD3 3AD, UK. Phone: 0484 519462 Fax: 0484 451396 JANET: UKTuG-Enquiries@uk.ac.tex Internet: UKTuG-Enquiries@tex.ac.uk \bye End of UKTeX Digest [Volume 93 Issue 37] ****************************************