UKTeX Digest Friday, 22 Oct 1993 Volume 93 : Issue 34 ``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}: Determining the height of math objects Re: Determining the height of math objects conversion of BIDS ISI output to BibTeX dvips LaTeX makefile {Announcements}: Elsevier Science announces availability of ESP-LaTeX 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: Mon, 18 Oct 1993 11:03:24 -0300 From: Alastair Rough Subject: Determining the height of math objects How can I determine the dimensions of objects in math mode? I want to find, in particular, the height of any specified part of an equation. For example in the latex example file below which of the values relates to the height of the stated formula and how can I read this value it to set the height of another object? Thanks Alastair Rough THIS SHORT LATEX FILE ...... \documentstyle[12pt]{article} \tracingpages=1 \tracingcommands=1 \begin{document} $$ \frac{f(x)}{g(x)} $$ \end{document} PRODUCES THE FOLLOWING ABBREVIATED LOG FILE....... (modes.tex LaTeX Version 2.09 <14 January 1991> (/usr/local/lib/tex/inputs/article.sty Document Style `article' <16 Mar 88>. (/usr/local/lib/tex/inputs/art12.sty) ..................... commands deleted {math shift character $} {horizontal mode: math shift character $} %% goal height=532.0, max depth=4.0 % t=0.0 g=532.0 b=10000 p=0 c=100000# {display math mode: blank space } {begin-group character {} {math mode: the letter f} {the character (} {the letter x} {the character )} {\over} {the letter g} {the character (} {the letter x} {the character )} {end-group character }} {display math mode: blank space } {math shift character $} % t=35.3495 plus 3.0 g=532.0 b=10000 p=0 c=100000# {horizontal mode: \def} {\par} {vertical mode: \vfil} {\penalty} % t=45.8495 plus 6.5 plus 1.0fil minus 3.0 g=532.0 b=0 p=-10000 c=-10000# {internal vertical mode: \setbox} {\global} {end-group character }} {vertical mode: \write} {\vbox} {internal vertical mode: end-group character }} %% goal height=532.0, max depth=4.0 % t=0.0 g=532.0 b=10000 p=0 c=100000# {vertical mode: \penalty} % t=10.0 g=532.0 b=10000 p=-10001 c=-10001# {internal vertical mode: \setbox} [.......................commands deleted] Here is how much of TeX's memory you used: 145 strings out of 62497 1386 string characters out of 94313 25916 words of memory out of 262141 2097 multiletter control sequences out of 9500 18996 words of font info for 72 fonts, out of 100000 for 255 14 hyphenation exceptions out of 607 12i,4n,15p,146b,54s stack positions out of 300i,40n,60p,32760b,6000s Output written on modes.dvi (1 page, 324 bytes). ------------------------------ Date: 19 Oct 1993 14:12:13 -0000 From: Mike Piff Subject: Re: Determining the height of math objects %>How can I determine the dimensions of objects in math mode? I want to %>find, in particular the height of any specified part of an equation. For %>example in the latex example file below which of the values relates to the %>height of the stated formula and how can I read this value %>it to set the height of another object? Try the following: \documentstyle[12pt]{article} \newbox\mathbox \newdimen\mathht \newdimen\mathdp \def\memorize#1{\setbox\mathbox=\hbox{$\displaystyle#1$}% \global\mathht=\ht\mathbox \global\mathdp=\dp\mathbox \box\mathbox} \def\recall{\vrule height\mathht depth\mathdp width0pt\relax} \begin{document} \begin{eqnarray*} f&:=&\left[ {\frac{\frac{a+a+a+a+a+a+a}{B+B+B+B+B+B+B+B}}{d+d+d}}+\right.\\ &&\left. {C+C+C+C+C+C+C+C+C} \right]\\ f&:=&\memorize{\left[ {\frac{\frac{a+a+a+a+a+a+a}{B+B+B+B+B+B+B+B}}{d+d+d}}+\right.}\\ &&\left. \recall {C+C+C+C+C+C+C+C+C} \right] \end{eqnarray*} \end{document} Dr M J Piff ------------------------------ Date: Wed, 20 Oct 1993 15:40:54 -0000 From: Roger Harbord Subject: conversion of BIDS ISI output to BibTeX Does anyone know if there is a Unix utility available anywhere to convert the downloading format from the BIDS (Bath Information and Data Services) Science Citation Index into .bib format ? Like many people, I keep my personal bibliographic database in .bib format, and such a utility would therefore be most useful. It would need to make some semi-intelligent guesses for changing from the ISI's monocase to mixed case, but apart from that it would be quite straightforward. Roger Harbord ------------------------------ Date: Thu, 21 Oct 1993 13:53:20 +0100 From: "C.Davies" Subject: dvips I would like to upgrade my version of Tex to include Postscript graphics using dvips. I have obtained a list of files from the Texserver relating to dvips using `whereis dvips' but I am uncertain which files I require to transfer. Under msdos I presume that the following two files would be needed DISK$TEX:[TEX-ARCHIVE.SYSTEMS.MSDOS]DVIPS.EXE_VVE;2 DISK$TEX:[TEX-ARCHIVE.SYSTEMS.MSDOS.EMTEX.BONUS]DVIPS.ZIP_VVE;2 I would appreciate some advice. ------------------------------ Date: Fri, 22 Oct 1993 10:20:48 +0100 From: David Beasley Subject: LaTeX makefile There were several enquiries about my LaTeX makefile, so a copy has now been placed in the archives, along with a man page, in directory /pub/archive/support/make_latex Functionality of make_latex overlaps with an existing package, latexMk. Both perform essentially the same task (i.e. issuing all the commands required to `compile' a latex document), however, each has a some features which the other lacks. (Maybe someone would like to integrate the two packages!) David Beasley (david.beasley@cm.cf.ac.uk) Department of Computing Mathematics __o University of Wales College of Cardiff \<, PO Box 916, CARDIFF CF2 4YN, UK ___________________()/ ()___ ------------------------------ Date: Fri, 22 Oct 1993 09:05:38 +0100 From: Nico A.F.M. Poppelier"Nico A.F.M. Poppelier" (Tel 31-20-5803482) Subject: Elsevier Science announces availability of ESP-LaTeX Elsevier Science has the pleasure to announce the availability of their ESP-LaTeX package from the Comprehensive TeX Archive Network (CTAN), an initiative of the TeX Users Group. In order to assist authors in preparing their papers for articles published by Elsevier Science Publishers in such a way that their files can be used to print the article, we have developed a LaTeX package ESP-LaTeX, consisting of a document style `espart' and a booklet with instructions to authors. Authors are kindly requested to use the `espart' document style. This document style, which produces a preprint-like output, enables the Publisher to adapt the article to the layout and style of the journal in which the article will appear (the Publisher will replaced `espart' by a journal-specific production document style). The ESP-LaTeX package contains the following files. Please make sure that you retrieve all these files. readme.esp Brief instructions. espart.sty The main document style. Copy this to the directory where all other .sty files are. espart12.sty The pointsize-related definitions. Copy this to the directory where all other .sty files are. The ESP-LaTeX package can be obtained using anonymous FTP from the Comprehensive TeX Archive Network (CTAN): host names: CTAN directory: - -------------------- ------------------------------------------ ftp.uni-stuttgart.de /pub/tex/macros/latex/contrib/elsevier ftp.tex.ac.uk /pub/archive/macros/latex/contrib/elsevier ftp.shsu.edu /tex-archive/macros/latex/contrib/elsevier Questions concerning the LaTeX author-prepared article project and requests for the booklet with instructions to authors should be directed to the address on the inside cover of one of the journals participating in the project. Nico Poppelier Manager for the LaTeX author-prepared article project ------------------------------ 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 #14 \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.u k TeX Users Group P.O. Box 869, Santa Barbara, CA 93102, USA. Internet: TUG@math.ams.com \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 34] ****************************************