=====//===== \\ // ____ // \\ // |\ /| // // //====== \V/ ||\ //| \\ // // // \\ || \// | /\ \\ ===\ // //==== // \\ || | // \ \\ | // // // \\ || | //===\ \\___/ //======= // \ Volume 4 Number 5 A Mostly Unofficial Publication for Users of the TeX Typesetting System Contents Departments \footnote{}........................................................2 News...............................................................3 Letters to the Editor..............................................4 ToolBox............................................................5 Latin Font Encoding Scheme.........................................6 MF Symbols for Typesetting Physics.................................7 TeXMaG Volume 4 Number 5 page 2 _______________________________________________________________________________ | | | \footnote{Call for articles!} | |_____________________________________________________________________________| Well, it has been somewhat of a struggle finding much stuff to go into this issue. I am having more and more to rely on "Letters" than I would like. Please! I call out again! I LOVE to get your submissions. I would LOVE to print them. Although, I cannot always include EVERYTHING, I am normally not very picky when it comes to including articles. Even macros can find their way into the ToolBox normally. Much thanks to Mauro Orlandini for his contributions from the LaTeX side of things, both in this issue and in previous issues. Also to J"org Knappen who has provided us with three symbols for typesetting physics. I hope you find the NEWS informative this month. Drop me a note just to let me know what you think. Is TeXMaG helping to meet your TeX needs? Is it a joy or a drudgery to read each month? I'd love to hear from you! (Remember: NABTEXM@TAMVENUS bitnet or NABTEXM@VENUS.TAMU.EDU internet) -neil TeXMaG Volume 4 Number 5 page 3 _______________________________________________________________________________ | | | ** NEWS ** | |_____________________________________________________________________________| A summary of the some TeX news in the past month: ** An official release of TeX 3.1 is out. A couple of bug fixes from TeX 3.0; it shouldn't be too much hassle for anyone's change files. The new WEB can be FTP'd from labrea.stanford.edu or ymir.claremont.edu, the latter has a nice VMS change file available. In addition, Metafont 2.7 was released to be consistent with TeX 3.1 (don't know why it was numbered 2.7 instead of 2.1?) ** LaTeXers!!! Please note the first letter in the next section. Mauro Orlandini has the changes for S-Tables to allow easy input and use into LaTeX. ** In addition, you've probably already heard about the DECUS 1990 TeX Collection release. If not, it's available from wuarchive.wustl.edu [128.252.135.4] for anonymous FTP. All appropriate files are in the /decus/tex directory. I would suggest you take a look at the official announcement in TeXHAX90#63. [If you have trouble doing that, drop me a note and I'll forward it to you (my e-mail address is somewhere at the end of this issue). -ed.] ** The European TeX Users Group held a conference in Cork, Ireland, from September 10-12. ** Finally, about a month ago, Oren Patashnik released a set of macros to let you use BibTeX with plain TeX. These files can also be FTP'd from ymir.claremont.edu. TeXMaG Volume 4, Number 5 page 4 _______________________________________________________________________________ | | | Letters to the Editor | |_____________________________________________________________________________| ------------------------------------------------------------------------------ S-Tables and LaTeX ------------------------------------------------------------------------------ As soon as I received the latest issue of TeXMAG (V4N4), I found the macro package S-TABLES very interesting. Because I normally use LaTeX, I was curious to compile the file STABLES_DOC with LaTeX, after having changed all the commands that LaTeX does not recognize: \eject --> \clearpage \vfill\eject --> \clearpage \bye --> \end{document} and after having inserted the following preamble: \documentstyle[a4]{article} \nofiles \input{s_verbatim} \input{stables} \begin{document} (I use A4.STY for european page layout). The file was compiled correctly! Of course it is not a real proof, but I think the S-TABLES package can be used as it is in LaTeX, too. Mauro Orlandini Bitnet: ORLANDIN@ITSSISSA Span: 38007::ORLANDINI ------------------------------------------------------------------------------ PsFig and OzTeX ------------------------------------------------------------------------------ I have been using OzTeX (a Macintosh version of TeX) for 2 months and I have some problems in including pictures in my documents. I know that there is the macro package called psfig: does someone have some experience in using this package with OzTeX? Which version of psfig must be used? (there are three different versions of the "psfig.pro" and "psfig.tex" files). Thanks. Alfonso Fuggetta CEFRIEL - Politecnico di Milano e-mail: alfonso@imicefr.bitnet ------------------------------------------------------------------------------ LaTeX Wizards: ------------------------------------------------------------------------------ Is there a way of defining a LaTeX command which will put a frame of size \textwidth by \textheight around the contents of every subsequent page in the document ? The command should otherwise leave every thing unchanged. Thanks in advance. If you find a solution I would appreciate it if you could e-mail it to me whenever it is available. Uri Zwick Uri Zwick, Computer Science, Warwick University, Coventry, CV4 7AL, UK uri@cs.warwick.ac.uk phone: +44 203 523523 ext.2368 fax: +44 203 525714 ------------------------------------------------------------------------------ PC, TeX, and LaserJet ------------------------------------------------------------------------------ Dear Networkers and TeX users, I'm a novice user of TeX on PC, and I have some questions to you concerning the installation of the DVIxxx package. First of all, how can I access the DVI package for my HP LaserJet printer? Second, how can I access the related graphic fonts? In other words, please, tell me all I have to do to access and install a complete DviLaserJet free-of-charge package. Thanks in advance, Vincenzo De Florio DEFLORIO@IBACSATA.BITNET TeXMaG Volume 4, Number 5 page 5 _______________________________________________________________________________ | | | The ToolBox | |_____________________________________________________________________________| We continue our look at verbatim scanning. Last month we introduced the S_VERBATIM.TEX macros. It allowed you to use any character you chose as a verbatim delimiter, except for the " and a special character. Below is the fix to allow you to use special characters ('$', '%', '#', etc) as delimeters. Special thanks to Raymond Chen for his solution to the problem. S_VERBATIM.TEX fails to operate properly if the character following the double-quote symbol is a special character: % % Sample file to demonstrate the problem. \input s_verbatim This document generates a ``runaway argument'' error because the terminating character has the wrong catcode. Here is some "$verbatim$ text. This text is getting swallowed up by the verbatim macro because the first dollar sign above has catcode 3, whereas the second one has catcode 12. The blank line at the end of this paragraph will cause \TeX\ to flag a runaway argument. % Here's how to fix it. Keep everything upto and including the line % that goes \catcode`\"=\active, then replace the subsequent two lines % with the following three: \def"{\ttverbatim\continueverbatim} \def\continueverbatim#1{\spaceskip\ttglue \def\readit##1#1{##1\endgroup}\expandafter\readit} __________________________________________________________________________ Now here is a macro to allow you to input a complete file verbatim. Use \verbatiminput{filename} in much the same way as you would use \input filename. % % verbatim input macro % \def^^L{\par} \def\verbatiminput#1{\begingroup \frenchspacing \raggedbottom \def\do##1{\catcode`##1=12 } \dospecials \catcode`\|=12 \parskip 0pt \parindent 0pt \catcode`\ =\active \catcode`\^^M=\active \catcode`\^^L=\active \outer\def^^L{\eject} \tt \def\par{\ \endgraf} \obeylines \obeyspaces \input #1 \endgroup} % %A copy of the latest TeXMaG!! % \verbatiminput{texmag.txt} % \bye TeXMaG Volume 4, Number 5 page 6 _______________________________________________________________________________ | | | Latin Font Encoding Scheme --- Request for Comments | |_____________________________________________________________________________| [This article first appeared in UKTEX90 #31 -ed.] At the TUG90 meeting in Cork, the font-encoding Birds-of-a-Feather meeting devised the following encoding scheme for using all 256 glyphs supported by the 8-bit facilities in TeX 3.0. This is currently a draft for which comments are sought: please direct all correspondence to Norbert Schwarz ( or alternatively try norbert.schwarz@ruba.rz.ruhr-uni-bochum.dbp.de). The TeX file which follows should be typeset using the Plain format, and uses no extended characters. It can be typeset using TeX 2.x %%%--------------------------------------------------------- % This is the final definition of a 256 character code set for % TeX prepared by the TEX-CHAR working group, discussed at % the TeX conference at Cork. % % Cork, September 12, 1990 % % -------------------------------------------------------------------- % % \advance\voffset by -1.5truecm \advance\vsize by 3truecm % \nopagenumbers \leftline{\bf Extended \TeX\ Font Encoding Scheme --- Latin } \medskip \hrule height 1pt \medskip \medskip \leftline{finished in Cork, September 12, 1990 (corrected a typo in text)} \bigskip % % % \newcount\m \newcount\n \newdimen\dim \def\oct#1{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant \def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant \def\setdigs#1"#2{\gdef\h{#2}% \h=hex prefix; \0\1=corresponding octal \m=\n \divide\m by 64 \xdef\0{\the\m}% \multiply\m by-64 \advance\m by\n \divide\m by 8 \xdef\1{\the\m}} \def\oddline{\cr \noalign{\nointerlineskip} \multispan{19}\hrulefill& \setbox0=\hbox{\lower 2.3pt\hbox{\hex{\h x}}}\smash{\box0}\cr \noalign{\nointerlineskip}} \def\evenline{ \ifnum\n<256 \m=\n \divide\m 16 \chardef\next=\m \expandafter\setdigs\meaning\next\fi \ifnum\n=256 \let\next=\endchart\else\let\next=\morechart\fi \next} \def\morechart{\cr\noalign{\hrule\penalty5000} \chartline \oddline \m=\1 \advance\m 1 \xdef\1{\the\m} \chartline \evenline} \def\chartline{&\oct{\0\1x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&} \def\chartstrut{\lower4.5pt\vbox to14pt{}} \def\table{$$\global\n=0 \halign to\hsize\bgroup \chartstrut##\tabskip0pt plus10pt& &\hfil##\hfil&\vrule##\cr \lower6.5pt\null &&&\oct0&&\oct1&&\oct2&&\oct3&&\oct4&&\oct5&&\oct6&&\oct7&\evenline} \def\endchart{\cr\noalign{\hrule} \raise11.5pt\null&&&\hex 8&&\hex 9&&\hex A&&\hex B& &\hex C&&\hex D&&\hex E&&\hex F&\cr\egroup$$\par} \def\:{\setbox0=\hbox{\csname ec\number\n\endcsname}% \ifdim\ht0>7.5pt\reposition \else\ifdim\dp0>2.5pt\reposition\fi\fi \box0\global\advance\n 1 } \def\reposition{\setbox0=\vbox{\kern2pt\box0}\dim=\dp0 \advance\dim 2pt \dp0=\dim} \def\centerlargechars{ \def\reposition{\setbox0=\hbox{$\vcenter{\kern2pt\box0\kern2pt}$}}} \font\minisan=cmss10 \font\san=cmss10 scaled \magstep1 \font\San=cmss10 scaled \magstep2 \def\eng{{\san r \hskip-6pt\j}} \def\Eng{{\San r \hskip-7pt\j}} \def\Thorn{{\San\lower4pt\hbox{l} \hskip-8.5pt\relax b}} \def\thorn{{\san\lower3pt\hbox{l} \hskip-7pt\relax b}} \def\eth{{\minisan \raise4pt\hbox{$\times$} \hskip-8.5pt\relax o}} % \def\ogonek#1{\setbox0=\hbox{`}\ooalign{% \hidewidth\lower\ht0\copy0\hidewidth\crcr#1\crcr}} \font\tenu=cmu10 \def\ec#1{\expandafter\def\csname ec\number\n\endcsname{#1}\advance\n by 1{}} \n=0 % % % accents % % '000-'015 % \ec{\`{}} \ec{\'{}} \ec{\~{}} \ec{\%{}} \ec{\"{}} \ec{\H{}} \ec{\char23} \ec{\v{}} % \ec{\u{}} \ec{\={}} \ec{\.{}} \ec{\c{}} \ec{\ogonek{\ }} % % quotation marks % % '016-'024 \ec{,} \ec{$\scriptstyle<$} \ec{$\scriptstyle>$} \ec{``} \ec{''} \ec{,\hskip-1pt ,} \ec{$\scriptstyle\ll$} \ec{$\scriptstyle\gg$} % dashes \ec{--}\ec{---} % % compound word mark % \ec{{\tt<\san cwm\tt>}} % % a small 0, to extend % into 0/00 and 0/000 \ec{$_0$} % dotless i and j \ec{\i}\ec{\j} % f ligatures \ec{ff}\ec{fi}\ec{fl}\ec{ffi}\ec{ffl} % visible space \ec{{\tt\char32}} % the ASCII character set \ec{!}\ec{{\tt"}}\ec{\#}\ec{\$}\ec{\%}\ec{\&}\ec{'} \ec{(}\ec{)}\ec{*}\ec{+}\ec{,}\ec{-}\ec{.}\ec{/} \n=48 \ec{0}\ec{1}\ec{2}\ec{3}\ec{4}\ec{5}\ec{6}\ec{7}\ec{8}\ec{9} \ec{:}\ec{;}\ec{$<$}\ec{=}\ec{$>$}\ec{?} \n=64 \ec{@} \ec{A}\ec{B}\ec{C}\ec{D}\ec{E}\ec{F}\ec{G}\ec{H}\ec{I}\ec{J}\ec{K}\ec{L}\ec{M} \ec{N}\ec{O}\ec{P}\ec{Q}\ec{R}\ec{S}\ec{T}\ec{U}\ec{V}\ec{W}\ec{X}\ec{Y}\ec{Z} \ec{\lbrack} \ec{$\backslash$} \ec{\rbrack} \ec{{\tt\~{}}} \ec{{\tt\char`\_}} \n=96 \ec{`} \ec{a}\ec{b}\ec{c}\ec{d}\ec{e}\ec{f}\ec{g}\ec{h}\ec{i}\ec{j}\ec{k}\ec{l}\ec{m} \ec{n}\ec{o}\ec{p}\ec{q}\ec{r}\ec{s}\ec{t}\ec{u}\ec{v}\ec{w}\ec{x}\ec{y}\ec{z} \ec{$\{$} \ec{$|$} \ec{$\}$} \ec{{\tt\%{}}} \n=127 % hyphenation character \ec{{\sevenrm (hyph.char) }-} % % accented letters, mainly from ISO Latin 2 (8859/2), and some more % % '200-'237 uppercase % \ec{\u A} \ec{\ogonek{A}} \ec{\'C} \ec{\v C} \ec{\v D} \ec{\v E} \ec{\ogonek{E}} \ec{\u G} % \ec{\'L} \ec{L\kern-2pt'} \ec{\L} \ec{\'N} \ec{\v N} \ec{Eng/\Eng} \ec{\H O} \ec{\'R} % \ec{\v R} \ec{\'S} \ec{\v S} \ec{\c S} \ec{\v T} \ec{\c T} \ec{\H U} \ec{\accent 23U} %% \ec{\"Y} \ec{\'Z} \ec{\v Z} \ec{\.Z} \ec{IJ} \ec{\.I} \ec{d\llap{\raise0.7ex\hbox{--}}} \ec{\S} % % '240-'277 % \ec{\u a} \ec{\ogonek{a}} \ec{\'c} \ec{\v c} \ec{d\kern-1pt'} \ec{\v e} \ec{\ogonek{e}} \ec{\u g} % \ec{\'l} \ec{l\kern-1pt'} \ec{\l} \ec{\'n} \ec{\v n} \ec{eng/\eng} \ec{\H o} \ec{\'r} % \ec{\v r} \ec{\'s} \ec{\v s} \ec{\c s} \ec{t\kern-1pt'} \ec{\c t} \ec{\H u} \ec{\accent 23u} % \ec{\"y} \ec{\'z} \ec{\v z} \ec{\.z} \ec{ij} \ec{!`} \ec{?`} \ec{{\tenu\$}} % % accented letters, mainly from ISO Latin 1 % % '300-'337 uppercase characters % \ec{\`A} \ec{\'A} \ec{\~A} \ec{\%A} \ec{\"A} \ec{\AA} \ec{\AE} \ec{\c C} % \ec{\`E} \ec{\'E} \ec{\~E} \ec{\"E} \ec{\`I} \ec{\'I} \ec{\~I} \ec{\"I} % \ec{Eth/\rlap{\raise0.3ex\hbox{--}}D} \ec{\%N} \ec{\`O} \ec{\'O} \ec{\~O} \ec{\%O} \ec{\"O} \ec{\OE} % \ec{\O} \ec{\`U} \ec{\'U} \ec{\~U} \ec{\"U} \ec{\'Y} \ec{Thorn/\Thorn} \ec{SS} % % '340-'377 lowercase characters % \ec{\`a} \ec{\'a} \ec{\~a} \ec{\%a} \ec{\"a} \ec{\aa} \ec{\ae} \ec{\c c} % \ec{\`e} \ec{\'e} \ec{\~e} \ec{\"e} \ec{\`\i} \ec{\'\i} \ec{\~\i} \ec{\"\i} % \ec{eth/\eth} \ec{\%n} \ec{\`o} \ec{\'o} \ec{\~o} \ec{\%o} \ec{\"o} \ec{\oe} % \ec{\o} \ec{\`u} \ec{\'u} \ec{\~u} \ec{\"u} \ec{\'y} \ec{thorn/\thorn} \ec{\ss} % \table \noindent{\bf A few words of explanation:} \medskip \noindent \oct{000}--\oct{014} are accents. \oct{014} is an ogonek. \oct{015}--\oct{024} are quotation marks. \oct{030} is a small 0 to put after the per cent sign, to turn it into a per thousand (\%$_0$) or per million (\%$_{00}$) sign. \oct{027} ({\san cwm}) is a compound word mark (a zero-width invisible character) used e.g.\ for avoiding ligatures. \oct{040} is a visible space. \oct{042} is a {\it straight} double quotation mark. \noindent \oct{041}--\oct{176} is like the 7 bit ASCII code. Some characters that --- at first glance --- appear duplicated as accent characters usually have a different shape. \noindent \oct{177} is the hyphen character (that may be different from the dash (\oct{055})). \oct{201}, \oct{206}, \oct{241}, and \oct{246} are A's and E's with ogonek accents. \medskip \noindent The table has been sorted to reflect {\tt\string\uppercase} {\tt\string\lowercase} mechanism for all characters. \medskip \noindent This table shows the character codes positions, but the shapes are only approximations. \bye %%%--------------------------------------------------------- TeXMaG Volume 4, Number 5 page 7 _______________________________________________________________________________ | | | Three MF Symbols for Typesetting Physics | |_____________________________________________________________________________| by J"org Knappen For typesetting physics, I created three new symbols: 1. a triple dot accent, denoting the third time derivative, 2. a left-pointing vector arrow, and 3. a double headed vector arrow. The latter two are both used in quantum field theory (Dirac equations, etc.). I decided to create them in Metafont (\stackrel or something like this usually fails in footnotes). Way of usage (some do-it-yourself): Take the file cmsy10.mf and copy it to mysy10.mf. Change the line generate mathsy into generate mysymbol. Copy mathsy.mf to mysymbol.mf and delete the ligtable. Change the "input symbol" into "input mysy" . The file mysy.mf will follow at the end of this posting. Run METAFONT on MYSY10.MF and create the .tfm and .pk files and place them into their directories. [see TeXMaG V4N3, "Frequently Asked Questions" -ed.] Now take the file amssymb.tex (or .sty ,if you use LaTeX), copy it to mysymb.tex. Replace the string "msym" by "mysy", delete everything what has to do with msxm. Also delete the long list of definitions at the end of the file. Add the following definitions: \def\tridot{\mathaccent"0\mysy@7C } \def\leftvec{\mathaccent"0\mysy@7D } \def\leftrightvec{\mathaccent"0\mysy@7F } This will allow you to use these characters like the other math characters. %%%%--------schnipp-schnapp----------------------------------------%%%% % mysy.mf by J"org Knappen, Bitnet: knappen@dmznat51 cmchar"Triple dot accent"; numeric dot_diam#,dot_diam; dot_diam#=max(dot_size#,cap_curve#); beginchar(hex"7C",9u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); italcorr h#*slant+.5dot_diam#-1.25u#; adjust_fit(0,0); pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); x1=x2=1.5u; top y2r=h+1; if bot y2l asking to receive TeXMaG. JANET: Send a note to Peter Abbott, asking to receive TeXMaG. All others: Send the following command as an interactive message (Bitnet) or as a single-line mail message to LISTSERV@UICVM or LISTSERV@UICVM.UIC.EDU: SUBS TEXMAG-L Your_Full_Name. If you have difficulty doing this, send a note to Neil Burleson . SUBMISSIONS: Please send submissions to or ; they will automatically be forwarded to the editor. BACK ISSUES: Back issues may be FTP'd from YMIR.CLAREMONT.EDU from the directory [ANONYMOUS.TEX.PERIODICALS.TEXMAG] Back issues may also be FTP'd from SUN.SOE.CLARKSON.EDU from the directory pub/texmag. Users without FTP access may request back issues from the Clarkson repository by sending a mail message to with the form path A_MAIL_PATH_FROM_CLARKSON_TO_YOU get texmag texmag.V.NN where V is the volume number and NN is the issue number. Including a line "index texmag" in the message will return a list of back issues available. Janet users may obtain back issues from the Aston archive. DECNET/SPAN users may obtain them from the Decnet repository (see below). \bye bye! % End of TeXMaG %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%