From 9db4eb19cc876bf9f2739243e887671f2e4c0dad Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 6 Apr 2014 21:16:34 +0000 Subject: rm misc209, no license info git-svn-id: svn://tug.org/texlive/trunk@33389 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/misc209/bibmods.sty | 65 ---- Master/texmf-dist/tex/latex/misc209/example.sty | 414 --------------------- .../texmf-dist/tex/latex/misc209/hangcaption.sty | 113 ------ Master/texmf-dist/tex/latex/misc209/multind.sty | 65 ---- Master/texmf-dist/tex/latex/misc209/portland.sty | 124 ------ Master/texmf-dist/tex/latex/misc209/psboxit.sty | 175 --------- 6 files changed, 956 deletions(-) delete mode 100644 Master/texmf-dist/tex/latex/misc209/bibmods.sty delete mode 100644 Master/texmf-dist/tex/latex/misc209/example.sty delete mode 100644 Master/texmf-dist/tex/latex/misc209/hangcaption.sty delete mode 100644 Master/texmf-dist/tex/latex/misc209/multind.sty delete mode 100644 Master/texmf-dist/tex/latex/misc209/portland.sty delete mode 100644 Master/texmf-dist/tex/latex/misc209/psboxit.sty (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/tex/latex/misc209/bibmods.sty b/Master/texmf-dist/tex/latex/misc209/bibmods.sty deleted file mode 100644 index 068dd3c9812..00000000000 --- a/Master/texmf-dist/tex/latex/misc209/bibmods.sty +++ /dev/null @@ -1,65 +0,0 @@ -% -*-latex-*- -%% /u/sy/beebe/tex/bib/bibmods.sty, Mon Jul 9 08:40:33 1990 -%% Edit by Nelson H.F. Beebe - -%% ===================================================================== -%% @LaTeX-style-file{ -%% author = "Nelson H. F. Beebe ", -%% version = "1.01", -%% date = "10 September 1991", -%% filename = "bibmods.sty", -%% address = "Center for Scientific Computing -%% and Department of Mathematics -%% South Physics Building -%% University of Utah -%% Salt Lake City, UT 84112 -%% USA -%% Tel: (801) 581-5254", -%% checksum = "14420 65 318 2830", -%% email = "beebe at science.utah.edu (Internet)", -%% codetable = "ISO/ASCII", -%% supported = "yes", -%% docstring = "This LaTeX style file provides a modification -%% to the thebibliography environment to improve -%% spacing. -%% -%% 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." -%% } -%% ===================================================================== - -% The standard LaTeX \bibliography definition invokes \sloppy, which in turn -% sets \tolerance to 10000. This gives spacing that is too stretchable, -% with the result that wide white spaces appear in order to give right- -% justified output in two-column mode. We redefine \thebibliography -% to invoke the original definition, then reset the tolerance to a more -% reasonable value. We also allow a little \emergencystretch (a TeX 3.0 -% feature) to allow individual lines to be slightly longer; if that -% name is unknown, the code avoids its use, so as to work with earlier -% versions of TeX. - -% TeXbook, p. 308: -\def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax} - -\let\oldthebibliography=\thebibliography -\renewcommand{\thebibliography}[1]{\oldthebibliography{#1} - \hyphenpenalty=1 - % \emergencystretch is a new feature of TeX 3.0; use it only if known - \ifundefined{emergencystretch} - \relax - \else - \emergencystretch=3pt - \fi - \if@twocolumn - \tolerance=6000 %need looser tolerances in two-column mode - \else - \tolerance=2000 - \fi -\hbadness=10000 \relax} - -\overfullrule=3pt % to catch problems in the output. - diff --git a/Master/texmf-dist/tex/latex/misc209/example.sty b/Master/texmf-dist/tex/latex/misc209/example.sty deleted file mode 100644 index 1144ed56572..00000000000 --- a/Master/texmf-dist/tex/latex/misc209/example.sty +++ /dev/null @@ -1,414 +0,0 @@ -% Save file as: EXAMPLE.STY Source: FILESERV@SHSU.BITNET -% example.sty 20 May 91 -%------------------------------------------------------------ -% Copyright (c) 1988, 1991 by J.Schrod. -% Distributed under the terms of the GNU General Public License. - -% -% LaTeX style option example -% tested with style article, should also work with other styles -% don't use it with twoside or twocolumn option -% -% [LaTeX in MAKEPROG] - - -% -% Author -% js: Joachim Schrod -% Contributors -% (** enough place for your name **) -% - -% -% VERSION HISTORY (MSCF -- most significant change first) -% -% DATE WHO REMARKS -% 91-05-20 js documentation added for distribution -% 88-06-29 js created it for THD LaTeX tutorial - - - - -%%%% -%%%% -%%%% These TeX macros were documented with the documentation system -%%%% MAKEPROG and automatically converted to the current form. -%%%% If you have MAKEPROG available you may transform it back to -%%%% the original input: Remove every occurence of three percents -%%%% and one optional blank from the beginning of a line and remove -%%%% every line which starts with four percents. The following lex -%%%% program will do this: -%%%% -%%%% %% -%%%% -%%%% ^%%%\ ? ; -%%%% ^%%%%.*\n ; -%%%% -%%%% MAKEPROG may be obtained over the net from the Bitnet-Listserver -%%%% LISTSERV@DHDURZ1 (filelist WEBWARE), from tuglib@science.utah.edu, -%%%% or via ftp from june.cs.washington.edu. -%%%% -%%%% -%%% \documentstyle[progltx,example]{article} - - -%%% \nofiles % don't need an aux file -%%% \hfuzz=18pt % expected overfull hboxes in code - - -%%% \begin{document} - - -%%% \title{The {\tt example\/} Style Option} -%%% \author{% % LaTeX does not discard unnecessary glue... -%%% Joachim Schrod% -%%% \thanks{% -%%% TU~Darmstadt, Alexanderstr.~10, D-6100 Darmstadt, Germany.\hfil\break -%%% Email: {\tt xitijsch@ddathd21.bitnet}.% -%%% }% -%%% } -%%% \date{20 May 91} - -%%% \maketitle - - - -%%% \chap What's this style option for?. - -%%% This style option makes it easier to produce examples for \TeX{} -%%% courses. It realizes an |example| environment; the text within such -%%% an environment is typeset two times: On the left side just like any -%%% ordinary text, on the right side verbatim. So an author can be sure -%%% that the verbatim and the typeset part of an \TeX{} example is -%%% consistent. The usage is simple: Type -%%% % -%%% \begin{quote} -%%% |\begin{example}| -%%% |Some \TeX{} text.| -%%% |\end{example}| -%%% \end{quote} -%%% % -%%% and you get -%%% % -%%% \begin{example} -%%% Some \TeX{} text. -%%% \end{example} -%%% % -%%% Just note one important point: {\it The end of the environment must -%%% be on a line of it's own, there must be no space in front of the -%%% |\end|, and there must be no text -- even no comment -- behind}. For -%%% further information have a look at the section on possible -%%% enhancements. - - -%%% \sect This program is free software; you can redistribute it and/or -%%% modify it under the terms of the GNU General Public License as -%%% published by the Free Software Foundation; either version~1, or (at your -%%% option) any later version. - -%%% This program is distributed in the hope that it will be useful, but -%%% {\bf without any warranty\/}; without even the implied warranty of -%%% {\bf merchantability\/} or {\bf fitness for a particular purpose}. See -%%% the GNU General Public License for more details. - -%%% You should have received a copy of the GNU General Public License -%%% along with this program; if not, write to the Free Software Foundation, -%%% Inc., 675~Mass Ave, Cambridge, MA~02139, USA. - - -%%% \sect The implementation uses an auxiliary file. This file has the -%%% extension |tmp|. Be aware of this if you use such a file name in other -%%% options. The file is not needed outside of the environment. - -%%% All public markups start with |Example|, all private ones with -%%% |example_|. These two prefixes are reserved. - -%%% The width of an example column is available for inspection and change -%%% in the dimension register |\ExampleWidth|. - - -%%% \sect This style option still has at least one problem which you -%%% should be aware of: I've encountered false indentation while I've -%%% used it within an item of a |list| environment. I remember that there -%%% was a difference if it was used with or without text in front of it. -%%% But I didn't needed this stuff so I decided not to look at. - -%%% Might be, that |\everypar| is not handled correctly or that some flags -%%% should be looked at. (Remember that an |\item| in \LaTeX{} does not -%%% set anything -- it just stores it away until the start of the next -%%% paragraph!) - -%%% Furthermore I set |\oddsidemargin| and |\evensidemargin| to 0\,pt, but -%%% I do not remember why. Is this really necessary? (I should have -%%% documented it in the beginning, nothing lives longer than a -%%% provision\,\dots) - - -%%% \sect And some future enhancements would be easy to make: -%%% % -%%% \begin{itemize} - -%%% \item The algorithm for typesetting the verbatim text should be those -%%% of |progltx|. Then tabulators and all those stuff would be handled -%%% right. - -%%% \item The algorithm for detecting the environment end should be those -%%% of |progltx|, too. It would allow for comments; a markup which forbids -%%% a comment behind it should be forbidden. - -%%% \item There should be a way to specify texts which are only printed in -%%% the \TeX{} part resp.\ the verbatim part. This would be helpful for -%%% inserting help lines, additional information etc. (Implementation is -%%% straightforward.) - -%%% \item The implementation does not care for the |twoside| option. Then -%%% the order should be mirrored. I.e., verbatim left and \TeX{} text -%%% right. - -%%% \item Other arrangements of \TeX{} text and verbatim text should be -%%% possible. E.g., on a slide there should not be beside each other but -%%% below. Perhaps also on a multi-column layout. - -%%% \end{itemize} - - -%%% \sect Before we start we declare some shorthands for category codes. -%%% By declaring the underscore~`(|_|)' as letters we can use it in our -%%% macros. (I agree with {\sc D.~Knuth} that -%%% |\identifier_several_words_long| is more readable than -%%% |\IdentifierSeveralWordsLong| and in every case better than -%%% |\p@@@s|.) As this is a \LaTeX{} style option the at sign is a letter -%%% anyhow; so we can use the ``private'' Plain and \LaTeX{} macros; and -%%% with the underscore we can make our own macros more readable. But as -%%% we have to restore this category code at the end of this macro file -%%% we store its former value in the control sequence |\uscode|. This -%%% method is better than to use a group because not all macros have to -%%% be defined global this way. - -%%% \beginprog -\chardef\escape=0 -\chardef\open=1 -\chardef\close=2 -\chardef\letter=11 -\chardef\other=12 -%\chardef\active=13 % is defined in Plain already - -\chardef\uscode=\catcode`\_ % top level macro file! - -\catcode`\_=\letter -%%% \endprog - - -%%% \sect Now some setup where I don't remember why I've done them, -%%% perhaps it was only needed in our tutorials. -- But never change a -%%% running program by yourself, let others do the work\,\dots - -%%% \beginprog -\oddsidemargin=0pt -\evensidemargin=\oddsidemargin -%%% \endprog - - - - -%%% \chap The Work is Simple. - -%%% Guess, the problem of implementation is no problem: We write the whole -%%% stuff to a file and read it back twice. One time for typesetting it as -%%% it is, second time for typesetting it verbatim. That's all. - -%%% So let's define our file variable and name first: - -%%% \beginprog -\newwrite\example_file -\def\example_name{\jobname.tmp } % <-- space! -%%% \endprog - - -%%% \sect Both parts of one example will be placed besides each other. We -%%% use the margin for the example, too. (There is not much place anyhow.) -%%% Between the two parts there is |\columnsep| space left. - -%%% \beginprog -\newdimen\ExampleWidth - \ExampleWidth=\textwidth - \advance\ExampleWidth by \marginparwidth % stick into margins - \advance\ExampleWidth by -\columnsep % between columns - \divide\ExampleWidth by 2 -%%% \endprog - - -%%% \sect When we're about, we may specify how to set the two parts. We -%%% may assume that the complete text is in the file |\example_name|. Both -%%% parts are typeset as minipages (it's better than vtop's for -%%% |\footnote| examples and such like). Sectioning markups and other -%%% stuff which setup things must behave as if they were not there -- -%%% nobody wants an entry in his table of contents because he has used a -%%% |\section| markup in an example. - -%%% The horizontal rules are needed for a better (still not correct) -%%% interline spacing. - -%%% {\it FIXME: How about index and glossary entries?} - -%%% \beginprog -\def\ExampleSet{% - \begin{minipage}[t]{\ExampleWidth}% - \hrule height\z@ - \def\markboth##1##2{}% - \def\markright##1{}% - \def\addcontentsline##1##2##3{}% - \input \example_name - \par - \hrule height\z@ - \end{minipage}% - } -%%% \endprog - - -%%% \sect Grmpfh, the \LaTeX{} |verbatim| environment is sloppy -%%% implemented (to say it polite). I will establish at least that a tab -%%% is typeset as 8~spaces; this will help some people. - -%%% {\it FIXME: other\/ |verbatim| implementation!} - -%%% \beginprog -\begingroup - \catcode`\^^I=\active - \gdef\@vobeytabs{\catcode`\^^I\active \let^^I\@xobeytab} - \global\let^^I=\@xobeytab% % for \write's -\endgroup -\def\@xobeytab{\space\space\space\space\space\space\space\space} -%%% \endprog - - -%%% \sect The verbatim code is taken from \LaTeX{}: - -%%% \beginprog -\def\ExampleVerb{% - \begin{minipage}[t]{\ExampleWidth}% - \hrule height\z@ - \begingroup - \small - \parindent\z@ - \rightskip\@flushglue - \@makeother\"\@verbatim - \frenchspacing \@vobeyspaces \@vobeytabs - \input \example_name - \endverbatim - \endgroup - \hrule height\z@ - \end{minipage}% - } -%%% \endprog - - - - -%%% \chap Writing the example to the auxiliary file. - -%%% Now we come to the real environment: We open our auxiliary file and -%%% start copying line by line afterwards. When we see the environment -%%% end we will finish. As a convenience for input we will ignore empty -%%% lines at the beginning of the example, this is flagged by |@ignore|. - -%%% \beginprog -\def\example{ - \par - \immediate\openout\example_file\example_name - \begingroup - \@makeother\"\let\do\@makeother \dospecials - \obeylines \obeyspaces - \@ignoretrue \copy_line - } -%%% \endprog - - -%%% \sect We need a reference line of the example end to compare against. -%%% This line we call |\end_of_example|. Of course all catcodes have to -%%% set up appropriately. - -%%% \beginprog -\begingroup - \catcode`\|=\escape % | is temporary escape character - \catcode`\[=\open % [ and ] are temporary grouping symbols - \catcode`\]=\close - \catcode`\{=\other % these are `other' in verbatim mode - \catcode`\}=\other - \catcode`\\=|other - |gdef|end_of_example[\end{example}] -|endgroup -%%% \endprog - - -%%% \sect Following the ``golden rules of \TeX{} macro coding,'' we will -%%% split gathering of the next line and working with it. If the line -%%% equals our reference line we will stop our envirenment. Of course, we -%%% must call |\end| ourselves as we have just read it from the input and -%%% it is already tokenized. - -%%% If we are inmidst the example we write the line to the auxiliary file, -%%% if we shall not skip empty lines as indicated by |@ignore|. - -%%% {\it FIXME: The comparison should not be so rude!} - -%%% \beginprog -\begingroup - \obeylines \gdef\copy_line#1^^M{\write_line{#1}}% -\endgroup - -\def\write_line#1{% - \def\Next{#1}% - \ifx \Next\end_of_example - \def\Next{\end{example}}% % finish example - \else - \ifx \Next\empty - \if@ignore % ignore empty lines at the beginning - \else % but write them out later - \immediate\write\example_file{\Next}% - \fi - \else - \immediate\write\example_file{\Next}% - \@ignorefalse % at least one non-empty line written - \fi - \let\Next\copy_line % next line of example - \fi - \Next - } -%%% \endprog - - -%%% \sect Now we may handle our real work: The example text is written -%%% out, we just have to set it two times. But first we must close the -%%% file. Both parts are set by a |\leftline| which inserts glue by |\hss| -%%% and will not yield an overfull hbox this way, it just sticks out to -%%% the right. - -%%% We try to mimic a displayed equation in spacing -- it's better than -%%% nothing (polishing needed). - -%%% \beginprog -\def\endexample{% - \endgroup - \immediate\closeout\example_file - \penalty \predisplaypenalty - \vskip \abovedisplayskip - \leftline{\ExampleSet \hskip\columnsep \ExampleVerb}% - \penalty \postdisplaypenalty - \vskip \belowdisplayskip - } -%%% \endprog - - -%%% \sect We must restore our catcode and are finished. - -%%% \beginprog -\catcode`\_=\uscode - -\endinput -%%% \endprog - - - -%%% \end{document} - diff --git a/Master/texmf-dist/tex/latex/misc209/hangcaption.sty b/Master/texmf-dist/tex/latex/misc209/hangcaption.sty deleted file mode 100644 index 6a7e3fb5b62..00000000000 --- a/Master/texmf-dist/tex/latex/misc209/hangcaption.sty +++ /dev/null @@ -1,113 +0,0 @@ -%%% ==================================================================== -%%% @LaTeX-style-file{ -%%% filename = "hangcaption.sty", -%%% version = "2.00", -%%% date = "27 August 1992", -%%% time = "22:23:46 EDT", -%%% author = "David M. Jones", -%%% address = "MIT Laboratory for Computer Science -%%% Room NE43-316 -%%% 545 Technology Square -%%% Cambridge, MA 02139 -%%% USA", -%%% telephone = "(617) 253-5936", -%%% FAX = "(617) 253-3480", -%%% checksum = "57880 113 520 5319", -%%% email = "dmjones@theory.lcs.mit.edu", -%%% codetable = "ISO/ASCII", -%%% keywords = "LaTeX, caption", -%%% supported = "no", -%%% abstract = "Defines a variant of the caption command to -%%% produce captions with hanging -%%% indentation.", -%%% docstring = "This is the debugged version of a modified -%%% caption macro, \hangcaption, to produce -%%% captions with hanging indentation, like -%%% this: -%%% -%%% Figure 1.1: XXXXX XXX XXXX XXXX XXX -%%% XXX XXX XXX XXX XX XXX -%%% -%%% The length variable \captionwidth controls -%%% how the caption is typeset. If the width -%%% of the caption is less than \captionwidth, -%%% the \hangcaption is typeset the same way a -%%% short \caption would be (usually centered). -%%% Otherwise, it is set as shown above, with a -%%% total width equal to \captionwidth. -%%% \captionwidth is set to \hsize normally, -%%% but you may want to change it temporarily -%%% to match the width of a \tabular* -%%% environment, for example. -%%% -%%% \hangcaption is used in the same way as -%%% \caption. To retain compatibility with -%%% previous versions of this style, the -%%% \hangcaption is also available under the -%%% name \isucaption. -%%% -%%% I did not write this file. The original -%%% author is unknown. However, I did fix a bug, -%%% namely, I removed a superflous "^^" that was -%%% causing one of the close braces to be -%%% interpreted as an equals sign, thus messing -%%% up the brace balancing. I also tacked an -%%% "\endinput" on to the end of the file and -%%% added this header, and incorporated a few -%%% changes suggested by Harm Bakker, George -%%% Greenwade, and Rainer Schoepf. -%%% -%%% v2.00 (27 Aug 1992): altered \numberline to -%%% use \the... instead of \fnum@... (fix due to -%%% Harm Bakker ). -%%% Changed \isucaption to \hangcaption at George -%%% Greenwade's suggestion. -%%% -%%% v1.03 (12 August 1992): minor changes to -%%% header. -%%% -%%% v1.02 (12 August 1992): patches by Rainer -%%% Schoepf to (a) -%%% work around a bug in LaTeX and (b) measure -%%% the caption correctly by including room for -%%% the colon and the space. -%%% -%%% 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.", -%%% } -%%% ==================================================================== - -\newlength\captionwidth \captionwidth=\hsize - -\def\hangcaption{\refstepcounter\@captype\@dblarg{\@hangcaption\@captype}} - -\long\def\@hangcaption#1[#2]#3{% - \baselineskip 14.5\p@ - \addcontentsline{\csname ext@#1\endcsname}{#1}% - {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}% - \par - \begingroup - \@parboxrestore - \setbox\@tempboxa\hbox{\csname fnum@#1\endcsname: #3}% - \ifdim \wd\@tempboxa > \captionwidth - \begingroup - \setbox\@tempboxa\hbox{\csname fnum@#1\endcsname: }% - \advance \captionwidth by -\wd\@tempboxa - \@makecaption{\csname fnum@#1\endcsname}% - {\ignorespaces{\protect\parbox[t]{\captionwidth}{\leavevmode#3}}}% - \endgroup - \else - \begingroup - \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}% - \endgroup - \fi - \par\vspace{1.7ex}% - \endgroup} - -\let\isucaption\hangcaption - -\endinput diff --git a/Master/texmf-dist/tex/latex/misc209/multind.sty b/Master/texmf-dist/tex/latex/misc209/multind.sty deleted file mode 100644 index ef91c28df08..00000000000 --- a/Master/texmf-dist/tex/latex/misc209/multind.sty +++ /dev/null @@ -1,65 +0,0 @@ -% indexes document style option for producing multiple indexes -% for use with the modified bbok style, CHbook.sty -% Written by F.W. Long, Version 1.1, 12 August 1991. - -% Modified by F.W. Long, Version 1.1a, 29 August 1991 -% to get the index heading correctly spaced. - -% Modified by F.W. Long, Version 1.1b, 31 August 1991 -% to remove the abbreviation \ix (which should be in the document, not here). - -% Modified \makeindex and \index commands to allow multiple indexes -% in both cases the first parameter is the index name. -% They now work more like \@starttoc and \addcontentsline. -% \index is no longer defined inside \makeindex but determines -% whether the appropriate file is defined before writing to it. - -\def\makeindex#1{\begingroup - \makeatletter - \if@filesw \expandafter\newwrite\csname #1@idxfile\endcsname - \expandafter\immediate\openout \csname #1@idxfile\endcsname #1.idx\relax - \typeout{Writing index file #1.idx }\fi \endgroup} - -\def\index#1{\@bsphack\begingroup - \def\protect##1{\string##1\space}\@sanitize - \@wrindex{#1}} - -% \@wrindex now checks that the appropriate file is defined. - -\def\@wrindex#1#2{\let\thepage\relax - \xdef\@gtempa{\@ifundefined{#1@idxfile}{}{\expandafter - \write\csname #1@idxfile\endcsname{\string - \indexentry{#2}{\thepage}}}}\endgroup\@gtempa - \if@nobreak \ifvmode\nobreak\fi\fi\@esphack} - -% Modified \printindex command to allow multiple indexes. -% This now takes over much of the work of \theindex. -% Again, the first parameter is the index name. -% The second parameter is the index title (as printed). - -\newif\if@restonecol -\def\printindex#1#2{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi - \columnseprule \z@ \columnsep 35pt - \newpage \twocolumn[{\Large\bf #2 \vskip4ex}] - \markright{\uppercase{#2}} - \addcontentsline{toc}{section}{#2} - \@input{#1.ind}} - -% The following index commands are taken from book.sty. -% \theindex is modified to not start a chapter. - -\def\theindex{\parindent\z@ - \parskip\z@ plus .3pt\relax\let\item\@idxitem} -\def\@idxitem{\par\hangindent 40pt} -\def\subitem{\par\hangindent 40pt \hspace*{20pt}} -\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}} -\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi} -\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax} - -% the command \ix allows an abbreviation for the general index - -%\def\ix#1{#1\index{general}{#1}} - -% define the \see command from makeidx.sty - -\def\see#1#2{{\em see\/} #1} diff --git a/Master/texmf-dist/tex/latex/misc209/portland.sty b/Master/texmf-dist/tex/latex/misc209/portland.sty deleted file mode 100644 index 56ebf455e88..00000000000 --- a/Master/texmf-dist/tex/latex/misc209/portland.sty +++ /dev/null @@ -1,124 +0,0 @@ -% This is PORTLAND.STY by H.Partl, TU Wien, as of 16 Dec 1988. -% Definition of commands and environments \portrait and \landscape -% for switching between PORTRAIT and LANDSCAPE printing. To be -% called as document style option with any available style. -% -% Commands: -% \portrait sets or resets the page layout to the initial values -% (i.e. the values valid at \begin{document}) -% \landscape sets the page layout such that the horizontal and -% vertical measures are interchanged with respect to -% the initial values. The text area will occupy the -% same position on the page as in \portrait mode. -% Both command issue a \clearpage before changing the layout. -% -% Environments: -% \begin{portrait} ... \end{portrait} -% \begin{landscape} ... \end{landscape} -% Both issue \clearpage at the \begin and at the \end. -% -% Implementation Dependencies: -% You should insert the correct paper height (11in or 197mm or ...) -% into \paperheight for correct positioning. -% If your printer driver allows mixing of protrait and landscape pages -% within one printout, you should insert the corresponding \special -% commands just after the four \clearpage commands. -% If your printer only allows printing of the whole document either in -% protrait or in landscape orientation, you should print the document -% twice (or selected parts of it) - once in portrait and once in landscape - -% and then merge the correct pages. -% If your printer can't print in landscape orientation, then these commands -% can be used only for small pages that fit onto the paper in both direc- -% tions. - -\newdimen \paperheight % needed for calculation of bottom margin. -\paperheight 297mm % <--- 11in for US paper or 297mm for A4 paper! - -\newdimen\phoffset -\newdimen\pvoffset -\newdimen\ptextwidth -\newdimen\ptextheight -\newdimen\ptopmargin -\newdimen\poddsidemargin -\newdimen\pevensidemargin - -\newdimen\lhoffset -\newdimen\lvoffset -\newdimen\ltextwidth -\newdimen\ltextheight -\newdimen\ltopmargin -\newdimen\loddsidemargin -\newdimen\levensidemargin - -\def\set@portland@values{% -% portrait values = current values -\phoffset\hoffset -\pvoffset\voffset -\ptextwidth\textwidth -\ptextheight\textheight -\ptopmargin\topmargin -\poddsidemargin\oddsidemargin -\pevensidemargin\evensidemargin -% landscape margins will be measured from zero point -\lhoffset \z@ -\lvoffset \z@ -% landscape textwidth = portrait textheight -\ltextwidth \ptextheight -% landscape textheight = portrait textwidth -\ltextheight \ptextwidth -% landscape left margin = portrait bottom margin (same for odd and even) -\loddsidemargin \paperheight -\advance \loddsidemargin by -\ptextheight -\advance \loddsidemargin by -\headsep -\advance \loddsidemargin by -\headheight -\advance \loddsidemargin by -\ptopmargin -\advance \loddsidemargin by -\pvoffset -\advance \loddsidemargin by -2in -\levensidemargin \loddsidemargin -% landscape top margin (incl. head) = portrait oddside left margin -\ltopmargin \poddsidemargin -\advance \ltopmargin by -\headheight -\advance \ltopmargin by -\headsep -\advance \ltopmargin by \phoffset -} - -\def\portrait{\clearpage \message{ \string\portrait }% - \hoffset\phoffset - \voffset\pvoffset - \textwidth\ptextwidth - \textheight\ptextheight - \@colht\textheight \@colroom\textheight \vsize\textheight - \columnwidth\textwidth \@clubpenalty\clubpenalty - \if@twocolumn \advance\columnwidth -\columnsep - \divide\columnwidth\tw@ \hsize\columnwidth \@firstcolumntrue - \fi - \hsize\columnwidth \linewidth\hsize - \topmargin\ptopmargin - \oddsidemargin\poddsidemargin - \evensidemargin\pevensidemargin - } - -\def\endportrait{\clearpage \message{ \string\endportrait }} - -\def\landscape{\clearpage \message{ \string\landscape }% - \hoffset\lhoffset - \voffset\lvoffset - \textwidth\ltextwidth - \textheight\ltextheight - \@colht\textheight \@colroom\textheight \vsize\textheight - \columnwidth\textwidth \@clubpenalty\clubpenalty - \if@twocolumn \advance\columnwidth -\columnsep - \divide\columnwidth\tw@ \hsize\columnwidth \@firstcolumntrue - \fi - \hsize\columnwidth \linewidth\hsize - \topmargin\ltopmargin - \oddsidemargin\loddsidemargin - \evensidemargin\levensidemargin - } - -\def\endlandscape{\clearpage \message{ \string\endlandscape }} - -\let\set@document@values \document -\def\document{\set@document@values \set@portland@values} - -\endinput diff --git a/Master/texmf-dist/tex/latex/misc209/psboxit.sty b/Master/texmf-dist/tex/latex/misc209/psboxit.sty deleted file mode 100644 index 6f9bbd99428..00000000000 --- a/Master/texmf-dist/tex/latex/misc209/psboxit.sty +++ /dev/null @@ -1,175 +0,0 @@ -% psboxes.sty -% -% This package enables to put a PostScript drawing behind a TeX box. -% The drawing is parametrized by the position and the size of the -% TeX box. To put a gray [rounded] box behind a word use -% \PScommands % Once at the begining -% -% ... text text \psboxit{25 cartouche}{THE WORD} text text -% \psboxit{box 0.5 setgray fill}{\spbox{ANOTHER WORD}} -% text text ... -% -% * If your boxes are ill sized try to change 16384 to -% something else (original code used 65536). -% % 65536 is the internal unit of TeX (scaled point, TeXBook page 57) -% Those macros were adapted from Tom Sheffler (CMU)'s psframe.sty style. In -% particular, the spacebox macro was just copied from his style. -% -% Je'ro^me MAILLOT, INRIA -% maillot@bora.inria.fr -% August 1991 -% -% -% A Few PostScript definitions to use with \psboxit -% Call \PScommands once at the begining of your program, this will -% define : box roundedbox rectcartouche and cartouche. They are 4 -% PostScript programs. Change the values before setlinewidth end -% setgray to customize your boxes -% -% Ex : \psboxit{25 cartouche}{blah blah} -% \psboxit{rectcartouche}{blah blah} -% -\long\def\PScommands{\special{! TeXDict begin -/box{% Processes the path of a rectangle. -% Needs : x0 y0 x1 y1. -newpath 2 copy moveto 3 copy pop exch lineto 4 copy pop pop -lineto 4 copy exch pop exch pop lineto closepath } bind def -% -% -/min{ 2 copy gt { exch } if pop } bind def% -/max{ 2 copy lt { exch } if pop } bind def% -/roundedbox{% Processes the path of a rounded rectangle. -% Needs : x0 y0 x1 y1 radius. -% The bounding box is augmented by +/- radius to allow easily to -% frame several rounded boxes around the same Texture box. Ex: -% \psboxit{4 copy 15 roundedbox 25 roundedbox} {\spbox{Some Text}} -% draws two scaled boxes arond the same word. Delete the `radius -% sub' and `radius add' commands to suppress that enlargement. -% -/radius exch store -3 2 roll % x0 x1 y1 y0 -2 copy min radius sub /miny exch store - max radius add /maxy exch store -2 copy min radius sub /minx exch store - max radius add /maxx exch store -newpath -minx radius add miny moveto -maxx miny maxx maxy radius arcto -maxx maxy minx maxy radius arcto -minx maxy minx miny radius arcto -minx miny maxx miny radius arcto 16 {pop} repeat -closepath -}bind def -% -% -/rectcartouche{% Draws a filled and framed box -% Needs : x0 y0 x1 y1 -box gsave .95 setgray fill grestore 1 setlinewidth stroke }bind def -% -% -/cartouche{% Draws a filled and framed rounded box -% Needs : x0 y0 x1 y1 radius -roundedbox gsave .95 setgray fill grestore 1 setlinewidth stroke }bind def -% -end }% Closes dictionnary -}\PScommands% -%% -%% PSBOXIT -%% -%% \psboxit{PS program}{TeX stuff} -%% -%% The bounding box of the TeX stuff is pushed on the PostScript stack -%% and then the program in the first argument is called -%% -%% EXAMPLE: set some text on a gray background, Use the SPBOX macro to -%% give some space around the text. -%% -%% \psboxit{box 0.5 setgray fill}{\spbox{Some Text}} -%% -%% See \PScommands for the \box definition -%% -\chardef \atcode = \the \catcode `\@ -\catcode `\@ = 11 - -\long\def\psboxit#1#2{% -\begingroup\setbox0=\hbox{#2}% -\dimen0=\ht0 \advance\dimen0 by \dp0% - % Write out the PS code to set the current path using HEIGHT, - % WIDTH , DEPTH of box0. - \hbox{% - \special{ps: gsave currentpoint translate - 0 - \number\dp0 \space 15800 div % hand tuned for dvips - \number\wd0 \space 15800 div % hand tuned for dvips - \number\ht0 \space -15800 div % hand tuned for dvips -% \number\dp0 \space 16384 div -% \number\wd0 \space 16384 div -% \number\ht0 \space -16384 div % Bounding box -% \number\dp0 \space 65536 div -% \number\wd0 \space 65536 div -% \number\ht0 \space -65536 div % Bounding box - #1 grestore}% - \copy0% -}%HBOX -\endgroup% -}% - -% SPACEBOX -% -% This macro simply takes some TeX stuff, and puts FOUR sides on it -% so that the box is the same size as the thing you'd get with -% an \fbox{} command. (All I did was modify the code for \fbox{} -% so that all rules were replaced with struts). -% -% USAGE: \spbox{text} is just like \fbox{text} but makes no rules -% -% REASON: so that if using \pspath{...}{\fbox{stuff}} -% there is a way to get another box the same size: -% \pspath{...}{\spbox{stuff}} -% -\long\def\spbox#1{\leavevmode\setbox1\hbox{#1}% - \dimen0\fboxrule \advance\dimen0 \fboxsep% - \advance\dimen0 \dp1% - \hbox{\lower \dimen0\hbox% - {\vbox{\hrule height \fboxrule width 0pt% - \hbox{\vrule width \fboxrule height 0pt \hskip\fboxsep% - \vbox{\vskip\fboxsep \box1\vskip\fboxsep}\hskip% - \fboxsep\vrule width \fboxrule height 0pt}% - \hrule height \fboxrule width 0pt}}}}% - -\def\Gbox#1{\psboxit{box 0.9 setgray fill}{#1}} -%% -\newsavebox{\gray@box}% -\newdimen\gray@space -% -\long\def\Beginboxitpara#1{\edef\gray@tmp{#1}% -\gray@space=\fboxsep \advance\gray@space by -\fboxrule -\par\prevdepth=-1000pt\vskip 0.5\baselineskip\noindent -\setbox\gray@box=% -\hbox\bgroup \vrule width \fboxrule - \vtop\bgroup \hrule - \vbox\bgroup - \kern\gray@space - \hbox\bgroup - \kern\gray@space - \vtop\bgroup - \hsize=\linewidth\advance\hsize-2\fboxsep\noindent - \ignorespaces} -\def\Endboxitpara{% - \egroup - \kern\gray@space - \egroup - \kern\gray@space - \egroup \hrule - \egroup\vrule width \fboxrule - \egroup - \psboxit{\gray@tmp}{\box\gray@box}% - \vskip 0.5\baselineskip -\par} - -\newenvironment{boxitpara}[1]{\Beginboxitpara{#1}}{\Endboxitpara} -\newenvironment{boxitpara*}[1]{\Beginboxitpara{#1}\hbox to\hsize{}}% -{\Endboxitpara} - -\catcode `\@ = \the \atcode -\endinput -- cgit v1.2.3