diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
commit | 873660d1a83ece926fe7206288dda9c36b349c1b (patch) | |
tree | a48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/misc | |
parent | 2939242967231097459df0fc3150fabc2f639111 (diff) |
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/misc')
-rw-r--r-- | Master/texmf-dist/tex/generic/misc/mproof.tex | 28 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/misc/null.tex | 3 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/misc/texnames.sty | 296 |
3 files changed, 327 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/misc/mproof.tex b/Master/texmf-dist/tex/generic/misc/mproof.tex new file mode 100644 index 00000000000..aac809db3ab --- /dev/null +++ b/Master/texmf-dist/tex/generic/misc/mproof.tex @@ -0,0 +1,28 @@ +% To produce proof sheets from MetaPost output (includes date and time): +% tex mproof <MetaPost output file names> + +\input epsf +\font\textt=cmtex10 \textt +\def\okbreak{\vfil\penalty2000\vfilneg} + +\def\today{\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space\number\day, \number\year} +\newcount\m \newcount\n +\n=\time \divide\n 60 \m=-\n \multiply\m 60 \advance\m \time +\def\hours{\twodigits\n\twodigits\m} +\def\twodigits#1{\ifnum #1<10 0\fi \number#1} + +\footline={\sevenrm\today\ at \hours\hss\tenrm\folio\hss} + +\def\endit{\\} +\def\munch#1 {\def\next{#1}\ifx\next\endit\endit + \else#1$$\epsfverbosetrue\epsfbox{#1}$$\par\okbreak\fi\munch} + +\def\\{\let\munch=\relax\def\\{}} + +\everypar{\everypar{}\munchline} + +\obeylines\def\munchline#1 +{\catcode`\^^M=5 \munch#1\\ \vfill\end}% diff --git a/Master/texmf-dist/tex/generic/misc/null.tex b/Master/texmf-dist/tex/generic/misc/null.tex new file mode 100644 index 00000000000..b53b0f4ff11 --- /dev/null +++ b/Master/texmf-dist/tex/generic/misc/null.tex @@ -0,0 +1,3 @@ +% This is an empty TeX source file. Why do you want it? Because if TeX says +% `Please type another input file name:' and if you don't have one in mind, +% you can just say `null' and TeX will get out of its loop. diff --git a/Master/texmf-dist/tex/generic/misc/texnames.sty b/Master/texmf-dist/tex/generic/misc/texnames.sty new file mode 100644 index 00000000000..454726c3653 --- /dev/null +++ b/Master/texmf-dist/tex/generic/misc/texnames.sty @@ -0,0 +1,296 @@ +% /u/sy/beebe/tex/texnames/texnames.sty, Sat Oct 26 11:19:21 1991 +% Edit by Nelson H. F. Beebe <beebe@magna.math.utah.edu> +%%% ==================================================================== +%%% @TeX-style-file{ +%%% author = "Nelson H. F. Beebe", +%%% version = "1.10", +%%% date = "02 March 1998", +%%% time = "08:36:13 MST", +%%% filename = "texnames.sty", +%%% address = "Center for Scientific Computing +%%% Department of Mathematics +%%% South Physics Building +%%% University of Utah +%%% Salt Lake City, UT 84112 +%%% USA +%%% Tel: (801) 581-5254 +%%% FAX: (801) 581-4148", +%%% checksum = "27723 296 1385 12423", +%%% email = "beebe@magna.math.utah.edu (Internet)", +%%% codetable = "ISO/ASCII", +%%% keywords = "TeX names", +%%% supported = "yes", +%%% docstring = "This style file for AmSTeX, LaTeX, and TeX +%%% defines macros for the names of TeX +%%% and METAFONT programs, in several +%%% letter-case variants: +%%% +%%% \AMSTEX, \AMSTeX, \AmSTeX +%%% \BIBTEX, \BIBTeX, \BibTeX +%%% \LAMSTeX, \LAmSTeX +%%% \LaTeX, \LATEX +%%% \METAFONT, \MF +%%% \SLITEX, \SLITeX, \SLiTeX, \SliTeX +%%% +%%% It will NOT redefine any macro that +%%% already exists, so it can be included +%%% harmlessly after other style files. +%%% +%%% In AmSTeX or Plain TeX, just do +%%% +%%% \input texnames.sty +%%% +%%% In LaTeX, do +%%% +%%% \documentstyle[...,texnames]{...} +%%% +%%% This file grew out of original work by +%%% +%%% Richard Furuta +%%% Department of Computer Science +%%% University of Maryland +%%% College Park, MD 20742 +%%% +%%% furuta@mimsy.umd.edu +%%% seismo!umcp-cs!furuta +%%% +%%% 22 October 1986, first release (1.00) +%%% +%%% 1 April 1987 (1.01): Modified by William +%%% LeFebvre, Rice University to include +%%% definitions for BibTeX and SLiTeX, as they +%%% appear in the LaTeX Local User's Guide +%%% template (the file latex/local.tex in +%%% standard distributions) +%%% +%%% 26 October 1991 (1.02): Modified by +%%% Nelson H. F. Beebe <beebe@math.utah.edu> to +%%% add several new macro names, and adapt for +%%% use with Plain TeX and AmSTeX. +%%% +%%% 26 October 1991 (1.03): Add \LaTeX and +%%% \LATEX +%%% +%%% 25 November 1991 (1.04): Add \LamSTeX +%%% and \LAMSTeX +%%% +%%% 27 January 1991 (1.05 and 1.06): Add slanted +%%% font support for \MF. Make several comment +%%% changes. Add a couple of missing % at end +%%% of line, and replace blank lines by empty +%%% comments. +%%% +%%% 30 December 1992 (1.07): Use \TeX in +%%% definitions of \BibTeX and \LaTeX. Remove +%%% occurrences of \rm. Change \sc to use +%%% \scriptfont instead of hardwiring cmcsc10. +%%% Use \cal for \LAMSTeX. +%%% +%%% 1 March 1993 (1.08): Consolidate \ifx's onto +%%% single lines for brevity. Add +%%% \spacefactor1000 to definitions for \TeX and \MF. +%%% +%%% 16 March 1993 (1.09): Add \AmS, \AMS, \AmSLaTeX, +%%% and \AMSLaTeX. +%%% +%%% 02 March 1998 (1.10): Add \LaTeXe. +%%% +%%% The checksum field above contains a CRC-16 +%%% checksum as the first value, followed by the +%%% equivalent of the standard UNIX wc (word +%%% count) utility output of lines, words, and +%%% characters. This is produced by Robert +%%% Solovay's checksum utility.", +%%% +%%% } +%%% ==================================================================== +% +\immediate\write16{This is texnames.sty, Version 1.10 <02 March 1998>}% +% +% This has a chance of working in different styles and sizes, although +% it's not perfect. If \sc actually selects a caps-and-small caps font, +% we want to use lowercase letters (to get the small caps). But if \sc +% selects a smaller point size, we want to use uppercase letters. +% \uppercasesc is called on every letter we typeset in \sc, so both +% forms can be accommodated. +\ifx\sc\undefined + \def\sc{% + % If there is no \scriptfont for the current family, use a fixed + % font. What more can we do? + \expandafter\ifx\the\scriptfont\fam\nullfont + \font\temp = cmr7 \temp + \else + \the\scriptfont\fam + \fi + \def\uppercasesc{\char\uccode`}% + }% +\fi +\ifx\uppercasesc\undefined + \let\uppercasesc = \relax +\fi +% +% In the following, we first give the ``official'' definition, +% then follow it with spelling variants. Alternate definitions +% are discarded in favor of the official one. Each family is +% separated by a line like the following one. +% +%======================================================================= +% +% Only change from plain.tex is the \spacefactor assignment (suggested +% by Phil Taylor), so that \TeX at the end of a sentence isn't treated +% as an abbreviation. +% +\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\spacefactor1000 }% +% +%======================================================================= +% From the AMS tex/ams/amslatex/fontsel/nfssinst.tex file: + +\ifx\AmS\undefined + \def\AmS{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox + {\the\textfont2 M}\kern-.125em{\the\textfont2 S}} +\fi +\ifx\AMS\undefined \let\AMS=\AmS \fi +\ifx\AmSLaTeX\undefined + \def\AmSLaTeX{\AmS-\LaTeX} +\fi +\ifx\AMSLaTeX\undefined \let\AMSLaTeX=\AmSLaTeX \fi +%======================================================================= +% +% Mike Spivak's amstex/amstex.tex 1.1d [26-Aug-1988] has +% \def\AmSTeX{{\textfontii A}\kern-.1667em\lower.5ex\hbox +% {\textfontii M}\kern-.125em{\textfontii S}-\TeX} +% and 2.1 [05-Apr-1991] has an equivalent definition. +% AmSTeX's \textfontii is exactly the same as \cal, which +% all TeX variants understand. +% +\ifx\AmSTeX\undefined + \def\AmSTeX{$\cal A$\kern-.1667em\lower.5ex\hbox{$\cal M$}% + \kern-.125em$\cal S$-\TeX}% +\fi +% +% Leslie Lamport's latex/tmanual.tex [10-Jul-1984] (an early +% draft of the book) defines it in uppercase with the standard +% definition. +\ifx\AMSTEX\undefined \let\AMSTEX=\AmSTeX \fi +% +% Barbara Beeton's latex/deproc.sty [24-Apr-1986] and inputs/tugbot.sty +% [11-Jan-1988] uses this spelling, but the definition +% \leavevmode\hbox{$\cal A\kern-.2em\lower.376ex \hbox{$\cal +% M$}\kern-.2em\cal S$-\TeX} +\ifx\AMSTeX\undefined \let\AMSTeX=\AmSTeX \fi +% +%======================================================================= +% +% The definitions of \BibTeX and \SLiTeX in Leslie Lamport's +% latex/local.tex lower the E by 0.7ex, while \TeX in plain.tex lowers +% it by 0.5ex. Oren Patashnik's bibtex/btxdoc.tex and bibtex/btxhak.tex +% [08-Feb-1988] and bibtex/bibtex.web 0.99c [xx-Feb-1988] use this same +% name and definition, but Oren said using \TeX here is ok. (Curiously, +% LaTeX itself does not define macros for any TeXware except LaTeX and +% TeX!) +\ifx\BibTeX\undefined + \def\BibTeX{B{\sc \uppercasesc i\kern-.025em \uppercasesc b}\kern-.08em + \TeX}% +\fi +% +% Leslie Lamport uses this spelling in latex.tex, but not as a +% macro. We include it for consistency with AMSTeX. +\ifx\BIBTeX\undefined \let\BIBTeX=\BibTeX \fi +% +% Leslie Lamport's latex/slides.tex [05-Jun-1984], +% latex/tmanual.tex [10-Jul-1984] (an early draft of the book), +% and latex/lerrata.tex [23-Jul-1985] have this spelling, but the +% definition BIB\kern-.1em\TeX. +\ifx\BIBTEX\undefined \let\BIBTEX=\BibTeX \fi +% +%======================================================================= +% +% From tugboat.com 1.08 [24-Oct-1990]. +\ifx\LAMSTeX\undefined + \def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em\the\scriptfont2 A}% + \kern-.2em\lower.376ex\hbox{\the\textfont2 M}% + \kern-.125em {\the\textfont2 S}-\TeX}% +\fi +% +\ifx\LamSTeX\undefined \let\LamSTeX=\LAMSTeX \fi +% +% This variant seems likely to appear: +\ifx\LAmSTeX\undefined \let\LAmSTeX=\LAMSTeX \fi +% +%======================================================================= +% +% The definition from latex.tex (LATEX VERSION 2.09 <14 January 1991>) +% and bibtex.web 0.99c [xx-Feb-1988] lowers the E slightly more than +% \TeX, but consistency seems more desirable. See comments at \BibTeX. +% Different definitions are given by latex/deproc.sty [24-Apr-1986], +% amstex/man.sty [15-Dec-1986] inputs/tugbot.sty [11-Jan-1988], and +% latex/tugboat.com 1.08 [24-Oct-1990]. +% +\ifx\LaTeX\undefined + \def\LaTeX{L\kern-.36em\raise.3ex\hbox{\sc \uppercasesc a}\kern-.15em\TeX}% +\fi +% +% latex/slides.tex [05-Jun-1984] and latex/lerrata.tex [23-Jul-1985] +% have this spelling, but different definitions +\ifx\LATEX\undefined \let\LATEX=\LaTeX \fi +\ifx\LaTeXe\undefined + \def\LaTeXe{\LaTeX{}\kern.05em2$_{\textstyle\varepsilon}$} +\fi +% +%======================================================================= +% +% Don Knuth's mf.web 2.7 [xx-Sep-1990] and Barbara Beeton's +% latex/deproc.sty [24-Apr-1986] use an equivalent of this definition. +% The font is variously named \logo, \manfnt, and \mf. plain.tex +% preloads \manfnt. manfnt has the letters A, E, F, M, N, O, T in +% various sizes plus extra symbols for Don Knuth's books Computers and +% Typesetting, and Concrete Mathematics, while logo10 has only those +% letters in one size. AmSTeX uses \logo in amsppt.sty and imappt.sty, +% so we should avoid it, and tugboat.com uses \mf for {\smc Metafont}. +% We therefore use \manfnt here, defining it if necessary. QUESTION: +% should we use manfnt, or logo10? +\ifx\MF\undefined + \ifx\manfnt\undefined + \font\manfnt=logo10 + \fi + \ifx\manfntsl\undefined + \font\manfntsl=logosl10 + \fi + \def\MF{{\ifdim\fontdimen1\font>0pt \let\manfnt = \manfntsl \fi + {\manfnt META}\-{\manfnt FONT}}\spacefactor1000 }% +\fi +% +% I cannot find any `official' uses of this alternate, but it +% seems likely that people will use it. +\ifx\METAFONT\undefined \let\METAFONT=\MF \fi +% +%======================================================================= +% +% Leslie Lamport's latex/slides.tex [05-Jun-1984]. His +% latex/lerrata.tex [23-Jul-1985] and latex/tmanual.tex +% [10-Jul-1984] (an early draft of the book) define it as +% SLI\TeX! The LaTeX User's Guide and Reference Manual (1986) +% appears to use small caps, and possibly kerning, for Sli. +% I need to ask Leslie to suggest a preferred definition. +\ifx\SLITEX\undefined + \def\SLITEX{S\kern-.065em L\kern-.18em\raise.32ex\hbox{i}\kern-.03em\TeX}% +\fi +% +% latex/local.tex (sample Local Guide) [27-Oct-1988] uses +% this name, but defines it as +% {\rm S\kern-.06em{\sc l\kern-.035emi}\kern-.06em T\kern +% -.1667em\lower.7ex\hbox{E}\kern-.125emX} +% with an extra-low E, and kerned Sli in small caps. Is this +% what the LaTeX User's Guide and Reference Manual (1986) used? +\ifx\SLiTeX\undefined \let\SLiTeX=\SLITEX \fi +% +% latex/slitex.tex [08-Jun-1988] uses SliTeX in typeouts, +% but not as a macro -- what a way to confuse the user. +\ifx\SliTeX\undefined \let\SliTeX=\SLITEX \fi +% +% I cannot find a use of this one, but it seems a likely +% candidate anyway, and is consistent with AMSTeX and BIBTeX. +\ifx\SLITeX\undefined \let\SLITeX=\SLITEX \fi +% +\endinput +%=========================[End of texnames.sty]========================= |