From d1cbf645d02f6ff42c6fd21036910bf8339c4e49 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 1 Nov 2022 09:23:46 +0900 Subject: add siam --- texmf-dist/tex/latex/siam/proc209.sty | 366 +++++++++++++++++++++++++++++++++ texmf-dist/tex/latex/siam/proc2e.sty | 366 +++++++++++++++++++++++++++++++++ texmf-dist/tex/latex/siam/ptexproc.sty | 320 ++++++++++++++++++++++++++++ 3 files changed, 1052 insertions(+) create mode 100644 texmf-dist/tex/latex/siam/proc209.sty create mode 100644 texmf-dist/tex/latex/siam/proc2e.sty create mode 100644 texmf-dist/tex/latex/siam/ptexproc.sty (limited to 'texmf-dist/tex/latex') diff --git a/texmf-dist/tex/latex/siam/proc209.sty b/texmf-dist/tex/latex/siam/proc209.sty new file mode 100644 index 00000000..56365402 --- /dev/null +++ b/texmf-dist/tex/latex/siam/proc209.sty @@ -0,0 +1,366 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% This is proc209.sty. +% This file may be freely distributed but may not be altered in any way. +% Any comments or questions regarding these macros should be directed to: + +% Corey Gray +% SIAM +% 3600 University City Science Center +% Philadelphia, PA 19104-2688 +% USA +% Telephone: (215) 382-9800 +% Fax: (215) 386-7999 +% e-mail: gray@siam.org + +% This is a file of macros and definitions for creating a chapter for +% publication in the SIAM Proceedings series using LaTeX. + +% Report the version. +\message{*** SIAM LaTeX 2.09 Proceedings Series macro package, version 1.1, +October 28, 1996 ***} + +\pretolerance=800 +\tolerance=10000 +\sloppy + + +\vsize=56pc +\hsize=36pc +\baselineskip=13pt +\hoffset -.5in +\voffset -.5in +\footskip=18pt +\topmargin 24pt +\headheight 12pt +\headsep 15pt +\textheight 53.5pc \advance\textheight by \topskip +\textwidth 36pc +\parskip 0pt +\parindent 18pt +\def\topfraction{.9} +\def\textfraction{.1} +\def\topnumber{2} +%% footnotes to be set 8/10 +\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt + % \indent + \abovedisplayskip \z@ + \belowdisplayskip\z@ + \abovedisplayshortskip\abovedisplayskip + \belowdisplayshortskip\belowdisplayshortskip +\def\@listi{\leftmargin\leftmargini \topsep 3pt plus 1pt minus 1pt + \parsep 2pt plus 1pt minus 1pt + \itemsep \parsep}} + +\let\referencesize\footnotesize + +\footnotesep 0pt + +\skip\footins 12pt plus 12pt + +\def\footnoterule{\kern3\p@ \hrule width 3em\vspace{3pt}} % the \hrule is .4pt high + + +\def\ps@plain{\let\@mkboth\@gobbletwo + \def\@oddfoot{{\hfil\small\thepage\hfil}}% + \def\@oddhead{} + \def\@evenhead{}\def\@evenfoot{}} + + + +\def\ps@headings{\let\@mkboth\markboth + \def\@oddfoot{}\def\@evenfoot{}% + \def\@evenhead{{\rm\thepage}\hspace*{2pc}{\sc\leftmark}\hfil}% + \def\@oddhead{\hfil{\noindent\sc\rightmark}\hspace*{2pc}{\rm\thepage}}% + + + +\def\ps@myheadings{\let\@mkboth\@gobbletwo + \def\@oddfoot{}\def\@evenfoot{}% + \def\@oddhead{\hfil{\sc\rightmark}\hspace*{2pc}{\normalsize\rm\thepage}}% + \def\@evenhead{{\normalsize\rm\thepage}\hspace*{2pc}{\sc\leftmark}\hfil}% +% \def\chaptermark##1{}% + % \def\sectionmark##1{}\def\subsectionmark##1{}} +}} + + + +\def\theequation{\arabic{equation}} + +\def\abstract{\if@twocolumn +\section*{Abstract} +\else \small +\begin{center} +{\bf Abstract\vspace{-.5em}\vspace{3pt}} +\end{center} +\quotation +\fi} +\def\endabstract{\if@twocolumn\else\endquotation\fi} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% THEOREMS, PROOFS, ALGORITHMS % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%% defined proof environment by theorem model (took out counter) + +\def\qed{{\qquad \vbox{\hrule\hbox{% + \vrule height1.3ex\hskip0.8ex\vrule}\hrule + }}\par} + +\def\newproof#1{\@nprf{#1}} + +\def\@nprf#1#2{\@xnprf{#1}{#2}} + +\def\@xnprf#1#2{\expandafter\@ifdefinable\csname #1\endcsname +\global\@namedef{#1}{\@prf{#1}{#2}}\global\@namedef{end#1}{\@endproof}} + +\def\@prf#1#2{\@xprf{#1}{#2}} + +\def\@xprf#1#2{\@beginproof{#2}{\csname the#1\endcsname}\ignorespaces} + + + +%%% defined algorithm environment by theorem model + +\def\newalgorithm#1{\@ifnextchar[{\@oalg{#1}}{\@nalg{#1}}} + +\def\@nalg#1#2{% +\@ifnextchar[{\@xnalg{#1}{#2}}{\@ynalg{#1}{#2}}} + +\def\@xnalg#1#2[#3]{\expandafter\@ifdefinable\csname #1\endcsname +{\@definecounter{#1}\@addtoreset{#1}{#3}% +\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand + \csname the#3\endcsname \@thmcountersep \@thmcounter{#1}}% +\global\@namedef{#1}{\@alg{#1}{#2}}\global\@namedef{end#1}{\@endalgorithm}}} + +\def\@ynalg#1#2{\expandafter\@ifdefinable\csname #1\endcsname +{\@definecounter{#1}% +\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}% +\global\@namedef{#1}{\@alg{#1}{#2}}\global\@namedef{end#1}{\@endalgorithm}}} + +\def\@oalg#1[#2]#3{\expandafter\@ifdefinable\csname #1\endcsname + {\global\@namedef{the#1}{\@nameuse{the#2}}% +\global\@namedef{#1}{\@alg{#2}{#3}}% +\global\@namedef{end#1}{\@endalgorithm}}} + +\def\@alg#1#2{\refstepcounter + {#1}\@ifnextchar[{\@yalg{#1}{#2}}{\@xalg{#1}{#2}}} + +\def\@xalg#1#2{\@beginalgorithm{#2}{\csname the#1\endcsname}\ignorespaces} +\def\@yalg#1#2[#3]{\@opargbeginalgorithm{#2}{\csname + the#1\endcsname}{#3}\ignorespaces} + + + + +\def\@beginproof#1{\rm {\it #1.\ }} +\def\@endproof{\outerparskip 0pt\endtrivlist} + +\def\@begintheorem#1#2{\it {\sc #1\ #2.\ }} +\def\@opargbegintheorem#1#2#3{\it + {\sc #1\ #2\ (#3).\ }} +\def\@endtheorem{\outerparskip 0pt\endtrivlist} + +%\def\@begindefinition#1#2{\rm \trivlist \item[\hskip \labelsep{\sc #1\ #2.}]} +%\def\@opargbegindefinition#1#2#3{\rm \trivlist +% \item[\hskip \labelsep{\sc #1\ #2.\ (#3)}]} +%\def\@enddefinition{\outerparskip 0pt\endtrivlist} + + +\def\@beginalgorithm#1#2{\rm \trivlist \item[\hskip \labelsep{\sc #1\ #2.}]} +\def\@opargbeginalgorithm#1#2#3{\rm \trivlist + \item[\hskip \labelsep{\sc #1\ #2.\ (#3)}]} +\def\@endalgorithm{\outerparskip 6pt\endtrivlist} + + +\newskip\outerparskip + +\def\trivlist{\parsep\outerparskip + \@trivlist \labelwidth\z@ \leftmargin\z@ + \itemindent\parindent \def\makelabel##1{##1}} + +\def\@trivlist{\topsep=0pt\@topsepadd\topsep + \if@noskipsec \leavevmode \fi + \ifvmode \advance\@topsepadd\partopsep \else \unskip\par\fi + \if@inlabel \@noparitemtrue \@noparlisttrue + \else \@noparlistfalse \@topsep\@topsepadd \fi + \advance\@topsep \parskip + \leftskip\z@\rightskip\@rightskip \parfillskip\@flushglue + \@setpar{\if@newlist\else{\@@par}\fi}% + \global\@newlisttrue \@outerparskip\parskip} + + +\def\endtrivlist{\if@newlist\@noitemerr\fi + \if@inlabel\indent\fi + \ifhmode\unskip \par\fi + \if@noparlist \else + \ifdim\lastskip >\z@ \@tempskipa\lastskip \vskip -\lastskip + \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip + \vskip\@tempskipa + \fi\@endparenv\fi + \vskip\outerparskip} + + + + \newproof{@proof}{Proof} + \newenvironment{proof}{\begin{@proof}}{\end{@proof}} + + \newtheorem{@theorem}{Theorem}[section] + \newenvironment{theorem}{\begin{@theorem}}{\end{@theorem}} + +% \newalgorithm{@algorithm}{Algorithm}[section] +% \newenvironment{algorithm}{\begin{@algorithm}}{\end{@algorithm}} + + + +\newtheorem{lemma}{Lemma}[section] +\newtheorem{fact}{Fact}[section] +\newtheorem{corollary}{Corollary}[section] +\newtheorem{axiom}{Axiom}[section] +\newtheorem{cond}{Condition}[section] +\newtheorem{property}{Property}[section] +\newtheorem{proposition}{Proposition}[section] + +\newtheorem{Conjecture}{Conjecture}[section] +\newtheorem{Definition}{Definition}[section] +\newtheorem{Lemma}{Lemma}[section] +\newtheorem{Remark}{Remark}[section] + +\newproof{Example}{Example} +\newproof{Method}{Method} +\newproof{Exercise}{Exercise} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% TABLE AND FIGURE CAPTIONS % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \def\@figtxt{figure} +\long\def\@makecaption#1#2{\small +\setlength{\parindent}{18pt} +\baselineskip 14pt + \ifx\@captype\@figtxt + \vskip 10pt + \setbox\@tempboxa\hbox{{\sc #1} {\it #2}} + \ifdim \wd\@tempboxa >\hsize {\sc #1} {\it #2}\par \else \hbox +to\hsize{\hfil\box\@tempboxa\hfil}% + \fi\else\hbox to\hsize{\hfil{\sc #1}\hfil}% + \setbox\@tempboxa\hbox{{\it #2}}% + \ifdim \wd\@tempboxa >\hsize {\it #2}\par \else + \hbox to \hsize{\hfil\box\@tempboxa\hfil}\fi + \vskip 10pt + \fi} + + +%\newif\iftable \global\tablefalse + + +%\long\def\@makecaption#1#2{% +%\setlength{\parindent}{18pt} +% \vskip 12pt +% \iftable + % \hbox to \hsize{\hfil\sc #1\hfil} + % \hbox to \hsize{\hfil\it #2\hfil} + % \global\tablefalse + % \else + % \setbox\@tempboxa\hbox{{\small#1} {\small\it#2}} + % \ifdim \wd\@tempboxa >\hsize + % \indent{\small#1}{\small\it#2}\par + % \else + % \hbox to\hsize{\hfil\box\@tempboxa\hfil}\fi + % \fi} +% \vskip 6pt} + + + +%\def\figure{\global\tablefalse\@float{figure}} +\def\fnum@figure{\par\sc Fig. \thefigure.\ } +%\def\fnum@figure{\par\sc Fig. \thefigure\ } + +%\def\table{\global\tabletrue\@float{table}} +\def\fnum@table{\small \sc Table \thetable} + + + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% SECTIONS % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus + -.2ex}%{2.3ex plus .2ex} +{2pt}{\large\bf}} +\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus + -.2ex}%{1.5ex plus .2ex} +{2pt}{\large\bf}} +\def\subsubsection{\@startsection {subsubsection}{3}{\z@}{1.3ex plus .5ex minus + .2ex}{-.5em plus -.1em}{\normalsize\bf}} + + + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% BIBLIOGRAPHY %% +%% %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\def\thebibliography#1{% +%\cleardoublepage +\parindent 0em +\vspace{9pt} +\begin{flushleft}\large\bf {References}\end{flushleft} +\addvspace{3pt}\nopagebreak\list + %% default is no labels, for those not using \cite or BibTeX +{[\arabic{enumi}]} {\settowidth\labelwidth{[#1]} +%%{[\arabic{enumi}]}{\settowidth\labelwidth{mm} +\leftmargin\labelwidth +\leftmargin=17pt + \advance\leftmargin\labelsep + \usecounter{enumi}\@bibsetup} +\def\newblock{\hskip .11em plus .33em minus -.07em} + \sloppy\clubpenalty4000\widowpenalty4000 + \sfcode`\.=1000\relax} + + + +%% setup 8/10 type +\def\@bibsetup{%\itemindent=0pt +\itemsep=0pt \parsep=0pt +\small} + +\def\sameauthor{\leavevmode\vrule height 2pt depth -1.6pt width 23pt} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% INDEX % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%makeindex.sty official version 6.4 +%The second line came from /usr/misc/lib/tex82/report.sty. + +\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi +\columnseprule \z@ +\columnsep 35pt\twocolumn[\chapter*{Index}] + \parskip\z@ plus .3pt\relax\let\item\@idxitem} + + +\def\printindex{\cleardoublepage\markboth{INDEX}{INDEX} +\addcontentsline{toc}{chapter}{Index}\@input{\jobname.ind}} + +\ps@headings + + +%%% end of style file diff --git a/texmf-dist/tex/latex/siam/proc2e.sty b/texmf-dist/tex/latex/siam/proc2e.sty new file mode 100644 index 00000000..270777c3 --- /dev/null +++ b/texmf-dist/tex/latex/siam/proc2e.sty @@ -0,0 +1,366 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% This is proc2e.sty. +% This file may be freely distributed but may not be altered in any way. +% Any comments or questions regarding these macros should be directed to: + +% Corey Gray +% SIAM +% 3600 University City Science Center +% Philadelphia, PA 19104-2688 +% USA +% Telephone: (215) 382-9800 +% Fax: (215) 386-7999 +% e-mail: gray@siam.org + +% This is a file of macros and definitions for creating a chapter for +% publication in the SIAM Proceedings series using LaTeX2e. + +% Report the version. +\message{*** SIAM LaTeX2e Proceedings Series macro package, version 1.1, +October 28, 1996 ***} + +\pretolerance=800 +\tolerance=10000 +\sloppy + + +\vsize=56pc +\hsize=36pc +\baselineskip=13pt +\hoffset -.5in +\voffset -.5in +\footskip=18pt +\topmargin 24pt +\headheight 12pt +\headsep 15pt +\textheight 53.5pc \advance\textheight by \topskip +\textwidth 36pc +\parskip 0pt +\parindent 18pt +\def\topfraction{.9} +\def\textfraction{.1} +\def\topnumber{2} +%% footnotes to be set 8/10 +\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt + % \indent + \abovedisplayskip \z@ + \belowdisplayskip\z@ + \abovedisplayshortskip\abovedisplayskip + \belowdisplayshortskip\belowdisplayshortskip +\def\@listi{\leftmargin\leftmargini \topsep 3pt plus 1pt minus 1pt + \parsep 2pt plus 1pt minus 1pt + \itemsep \parsep}} + +\let\referencesize\footnotesize + +\footnotesep 0pt + +\skip\footins 12pt plus 12pt + +\def\footnoterule{\kern3\p@ \hrule width 3em\vspace{3pt}} % the \hrule is .4pt high + + +\def\ps@plain{\let\@mkboth\@gobbletwo + \def\@oddfoot{{\hfil\small\thepage\hfil}}% + \def\@oddhead{} + \def\@evenhead{}\def\@evenfoot{}} + + + +\def\ps@headings{\let\@mkboth\markboth + \def\@oddfoot{}\def\@evenfoot{}% + \def\@evenhead{{\rm\thepage}\hspace*{2pc}{\sc\leftmark}\hfil}% + \def\@oddhead{\hfil{\noindent\sc\rightmark}\hspace*{2pc}{\rm\thepage}}% + + + +\def\ps@myheadings{\let\@mkboth\@gobbletwo + \def\@oddfoot{}\def\@evenfoot{}% + \def\@oddhead{\hfil{\sc\rightmark}\hspace*{2pc}{\normalsize\rm\thepage}}% + \def\@evenhead{{\normalsize\rm\thepage}\hspace*{2pc}{\sc\leftmark}\hfil}% +% \def\chaptermark##1{}% + % \def\sectionmark##1{}\def\subsectionmark##1{}} +}} + + + +\def\theequation{\arabic{equation}} + +\def\abstract{\if@twocolumn +\section*{Abstract} +\else \small +\begin{center} +{\bf Abstract\vspace{-.5em}\vspace{3pt}} +\end{center} +\quotation +\fi} +\def\endabstract{\if@twocolumn\else\endquotation\fi} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% THEOREMS, PROOFS, ALGORITHMS % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%% defined proof environment by theorem model (took out counter) + +\def\qed{{\qquad \vbox{\hrule\hbox{% + \vrule height1.3ex\hskip0.8ex\vrule}\hrule + }}\par} + +\def\newproof#1{\@nprf{#1}} + +\def\@nprf#1#2{\@xnprf{#1}{#2}} + +\def\@xnprf#1#2{\expandafter\@ifdefinable\csname #1\endcsname +\global\@namedef{#1}{\@prf{#1}{#2}}\global\@namedef{end#1}{\@endproof}} + +\def\@prf#1#2{\@xprf{#1}{#2}} + +\def\@xprf#1#2{\@beginproof{#2}{\csname the#1\endcsname}\ignorespaces} + + + +%%% defined algorithm environment by theorem model + +\def\newalgorithm#1{\@ifnextchar[{\@oalg{#1}}{\@nalg{#1}}} + +\def\@nalg#1#2{% +\@ifnextchar[{\@xnalg{#1}{#2}}{\@ynalg{#1}{#2}}} + +\def\@xnalg#1#2[#3]{\expandafter\@ifdefinable\csname #1\endcsname +{\@definecounter{#1}\@addtoreset{#1}{#3}% +\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand + \csname the#3\endcsname \@thmcountersep \@thmcounter{#1}}% +\global\@namedef{#1}{\@alg{#1}{#2}}\global\@namedef{end#1}{\@endalgorithm}}} + +\def\@ynalg#1#2{\expandafter\@ifdefinable\csname #1\endcsname +{\@definecounter{#1}% +\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}% +\global\@namedef{#1}{\@alg{#1}{#2}}\global\@namedef{end#1}{\@endalgorithm}}} + +\def\@oalg#1[#2]#3{\expandafter\@ifdefinable\csname #1\endcsname + {\global\@namedef{the#1}{\@nameuse{the#2}}% +\global\@namedef{#1}{\@alg{#2}{#3}}% +\global\@namedef{end#1}{\@endalgorithm}}} + +\def\@alg#1#2{\refstepcounter + {#1}\@ifnextchar[{\@yalg{#1}{#2}}{\@xalg{#1}{#2}}} + +\def\@xalg#1#2{\@beginalgorithm{#2}{\csname the#1\endcsname}\ignorespaces} +\def\@yalg#1#2[#3]{\@opargbeginalgorithm{#2}{\csname + the#1\endcsname}{#3}\ignorespaces} + + + + +\def\@beginproof#1{\rm {\it #1.\ }} +\def\@endproof{\outerparskip 0pt\endtrivlist} + +\def\@begintheorem#1#2{\it {\sc #1\ #2.\ }} +\def\@opargbegintheorem#1#2#3{\it + {\sc #1\ #2\ (#3).\ }} +\def\@endtheorem{\outerparskip 0pt\endtrivlist} + +%\def\@begindefinition#1#2{\rm \trivlist \item[\hskip \labelsep{\sc #1\ #2.}]} +%\def\@opargbegindefinition#1#2#3{\rm \trivlist +% \item[\hskip \labelsep{\sc #1\ #2.\ (#3)}]} +%\def\@enddefinition{\outerparskip 0pt\endtrivlist} + + +\def\@beginalgorithm#1#2{\rm \trivlist \item[\hskip \labelsep{\sc #1\ #2.}]} +\def\@opargbeginalgorithm#1#2#3{\rm \trivlist + \item[\hskip \labelsep{\sc #1\ #2.\ (#3)}]} +\def\@endalgorithm{\outerparskip 6pt\endtrivlist} + + +\newskip\outerparskip + +%\def\trivlist{\parsep\outerparskip +% \@trivlist \labelwidth\z@ \leftmargin\z@ +% \itemindent\parindent \def\makelabel##1{##1}} +% +%\def\@trivlist{\topsep=0pt\@topsepadd\topsep +% \if@noskipsec \leavevmode \fi +% \ifvmode \advance\@topsepadd\partopsep \else \unskip\par\fi +% \if@inlabel \@noparitemtrue \@noparlisttrue +% \else \@noparlistfalse \@topsep\@topsepadd \fi +% \advance\@topsep \parskip +% \leftskip\z@\rightskip\@rightskip \parfillskip\@flushglue +% \@setpar{\if@newlist\else{\@@par}\fi}% +% \global\@newlisttrue \@outerparskip\parskip} +% +% +%\def\endtrivlist{\if@newlist\@noitemerr\fi +% \if@inlabel\indent\fi +% \ifhmode\unskip \par\fi +% \if@noparlist \else +% \ifdim\lastskip >\z@ \@tempskipa\lastskip \vskip -\lastskip +% \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip +% \vskip\@tempskipa +% \fi\@endparenv\fi +% \vskip\outerparskip} + + + + \newproof{@proof}{Proof} + \newenvironment{proof}{\begin{@proof}}{\end{@proof}} + + \newtheorem{@theorem}{Theorem}[section] + \newenvironment{theorem}{\begin{@theorem}}{\end{@theorem}} + +% \newalgorithm{@algorithm}{Algorithm}[section] +% \newenvironment{algorithm}{\begin{@algorithm}}{\end{@algorithm}} + + + +\newtheorem{lemma}{Lemma}[section] +\newtheorem{fact}{Fact}[section] +\newtheorem{corollary}{Corollary}[section] +\newtheorem{axiom}{Axiom}[section] +\newtheorem{cond}{Condition}[section] +\newtheorem{property}{Property}[section] +\newtheorem{proposition}{Proposition}[section] + +\newtheorem{Conjecture}{Conjecture}[section] +\newtheorem{Definition}{Definition}[section] +\newtheorem{Lemma}{Lemma}[section] +\newtheorem{Remark}{Remark}[section] + +\newproof{Example}{Example} +\newproof{Method}{Method} +\newproof{Exercise}{Exercise} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% TABLE AND FIGURE CAPTIONS % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \def\@figtxt{figure} +\long\def\@makecaption#1#2{\small +\setlength{\parindent}{18pt} +\baselineskip 14pt + \ifx\@captype\@figtxt + \vskip 10pt + \setbox\@tempboxa\hbox{{\sc #1} {\it #2}} + \ifdim \wd\@tempboxa >\hsize {\sc #1} {\it #2}\par \else \hbox +to\hsize{\hfil\box\@tempboxa\hfil}% + \fi\else\hbox to\hsize{\hfil{\sc #1}\hfil}% + \setbox\@tempboxa\hbox{{\it #2}}% + \ifdim \wd\@tempboxa >\hsize {\it #2}\par \else + \hbox to \hsize{\hfil\box\@tempboxa\hfil}\fi + \vskip 10pt + \fi} + + +%\newif\iftable \global\tablefalse + + +%\long\def\@makecaption#1#2{% +%\setlength{\parindent}{18pt} +% \vskip 12pt +% \iftable + % \hbox to \hsize{\hfil\sc #1\hfil} + % \hbox to \hsize{\hfil\it #2\hfil} + % \global\tablefalse + % \else + % \setbox\@tempboxa\hbox{{\small#1} {\small\it#2}} + % \ifdim \wd\@tempboxa >\hsize + % \indent{\small#1}{\small\it#2}\par + % \else + % \hbox to\hsize{\hfil\box\@tempboxa\hfil}\fi + % \fi} +% \vskip 6pt} + + + +%\def\figure{\global\tablefalse\@float{figure}} +\def\fnum@figure{\par\sc Fig. \thefigure.\ } +%\def\fnum@figure{\par\sc Fig. \thefigure\ } + +%\def\table{\global\tabletrue\@float{table}} +\def\fnum@table{\small \sc Table \thetable} + + + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% SECTIONS % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus + -.2ex}%{2.3ex plus .2ex} +{2pt}{\large\bf}} +\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus + -.2ex}%{1.5ex plus .2ex} +{2pt}{\large\bf}} +\def\subsubsection{\@startsection {subsubsection}{3}{\z@}{1.3ex plus .5ex minus + .2ex}{-.5em plus -.1em}{\normalsize\bf}} + + + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% %% +%% BIBLIOGRAPHY %% +%% %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\def\thebibliography#1{% +%\cleardoublepage +\parindent 0em +\vspace{9pt} +\begin{flushleft}\large\bf {References}\end{flushleft} +\addvspace{3pt}\nopagebreak\list + %% default is no labels, for those not using \cite or BibTeX +{[\arabic{enumi}]} {\settowidth\labelwidth{[#1]} +%%{[\arabic{enumi}]}{\settowidth\labelwidth{mm} +\leftmargin\labelwidth +\leftmargin=17pt + \advance\leftmargin\labelsep + \usecounter{enumi}\@bibsetup} +\def\newblock{\hskip .11em plus .33em minus -.07em} + \sloppy\clubpenalty4000\widowpenalty4000 + \sfcode`\.=1000\relax} + + + +%% setup 8/10 type +\def\@bibsetup{%\itemindent=0pt +\itemsep=0pt \parsep=0pt +\small} + +\def\sameauthor{\leavevmode\vrule height 2pt depth -1.6pt width 23pt} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% INDEX % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%makeindex.sty official version 6.4 +%The second line came from /usr/misc/lib/tex82/report.sty. + +\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi +\columnseprule \z@ +\columnsep 35pt\twocolumn[\chapter*{Index}] + \parskip\z@ plus .3pt\relax\let\item\@idxitem} + + +\def\printindex{\cleardoublepage\markboth{INDEX}{INDEX} +\addcontentsline{toc}{chapter}{Index}\@input{\jobname.ind}} + +\ps@headings + + +%%% end of style file diff --git a/texmf-dist/tex/latex/siam/ptexproc.sty b/texmf-dist/tex/latex/siam/ptexproc.sty new file mode 100644 index 00000000..6848b8f4 --- /dev/null +++ b/texmf-dist/tex/latex/siam/ptexproc.sty @@ -0,0 +1,320 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% This is ptexproc.sty +% This file may be freely distributed but may not be altered in any way. +% Any comments or questions regarding these macros should be directed to: + +% Corey Gray +% SIAM +% 3600 University City Science Center +% Philadelphia, PA 19104-2688 +% USA +% Telephone: (215) 382-9800 +% Fax: (215) 386-7999 +% e-mail: gray@siam.org + +% +% This is a file of macros and definitions for creating a chapter +% for publication in the SIAM Proceedings Series using Plain TeX. + +% Report the version. +\message{*** SIAM Plain TeX Proceedings Series macro package, version 1.0, +November 6, 1992.***} + +% Make the @ sign a letter for internal control sequences. +\catcode`\@=11 +% +% +% + +\overfullrule=0pt +\baselineskip=14truept + + +%%% DIMENSIONS %%% + +\hsize=36truepc +\vsize=55truepc +%\hoffset=.5in +\parindent=18truept +\def\firstpar{\parindent=0pt\global\everypar{\parindent=18truept}} +\parskip=0pt + + +%%% FONTS %%% + +\font\tenrm=cmr10 +\font\tenbf=cmbx10 +\font\tenit=cmti10 +\font\tensmc=cmcsc10 +\def\tenpoint{% + \def\rm{\tenrm}\def\bf{\tenbf}% + \def\it{\tenit}\def\smc{\tensmc} + \textfont0=\tenrm \scriptfont0=\sevenrm + \textfont1=\teni \scriptfont1=\seveni + \textfont2=\tensy \scriptfont2=\sevensy + \textfont3=\tenex \scriptfont3=\tenex +\baselineskip=12pt\rm}% + +\font\ninerm=cmr9 +\font\ninebf=cmbx9 +\font\nineit=cmti9 +\def\ninepoint{% + \def\rm{\ninerm}\def\bf{\ninebf}% + \def\it{\nineit}\baselineskip=11pt\rm}% + +\font\eightrm=cmr8 +\font\eightbf=cmbx8 +\font\eightit=cmti8 +\font\eighti=cmmi8 +\font\eightsy=cmsy8 +\def\eightpoint{% + \def\rm{\eightrm}\def\bf{\eightbf}% + \def\it{\eightit}\def\smc{\eightrm}\baselineskip=10pt\rm% + \textfont0=\eightrm \scriptfont0=\sixrm + \textfont1=\eighti \scriptfont1=\sixi + \textfont2=\eightsy \scriptfont2=\sixsy + \textfont3=\tenex \scriptfont3=\tenex +} + +\font\sixrm=cmr6 +\font\sixbf=cmbx6 +\font\sixi=cmmi6 +\font\sixsmc=cmr5 +\font\sixsy=cmsy6 +\def\sixpoint{% + \def\rm{\sixrm}\def\bf{\sixbf}% + \def\smc{\sixsmc}\baselineskip=8pt\rm}% + +\fontdimen13\tensy=2.6pt +\fontdimen14\tensy=2.6pt +\fontdimen15\tensy=2.6pt +\fontdimen16\tensy=1.2pt +\fontdimen17\tensy=1.2pt +\fontdimen18\tensy=1.2pt + +\font\eightrm=cmr8 +\font\ninerm=cmr9 +\font\elevenrm=cmr10 scaled\magstephalf +\font\fourteenrm=cmr10 scaled\magstep 1 +\font\eighteenrm=cmr10 scaled\magstep 3 +\font\twelvebf=cmbx10 scaled\magstep 1 +\font\elevenbf=cmbx10 scaled\magstephalf +\font\elevenit=cmti10 scaled\magstephalf +\font\elevensc=cmcsc10 scaled\magstephalf + +\def\theoremfont{\elevensc} +\def\textfont{\elevenrm} +\def\itfont{\elevenit} +\def\headfont{\twelvebf} +\def\smallheadfont{\elevenbf} +\def\titlefont{\eighteenrm} +\def\chapterfont{\fourteenrm} +\def\authorfont{\fourteenrm} +\def\rheadfont{\tenrm} +\def\abstractfont{\tenrm} +\def\smc{\tensmc} +\font\eightsmc=cmcsc8 + +\def\footnote#1{\baselineskip=11truept\edef\@sf{\spacefactor\the\spacefactor}#1\@sf + \insert\footins\bgroup\ninepoint\hsize=36pc + \interlinepenalty10000 \let\par=\endgraf + \leftskip=0pt \rightskip=0pt + \splittopskip=10pt plus 1pt minus 1pt \floatingpenalty=20000 +\smallskip +\item{#1}\bgroup\baselineskip=10pt\strut +\aftergroup\@foot\let\next} +\skip\footins=12pt plus 2pt minus 4pt +\dimen\footins=36pc + + + +%%% CHAPTER OPENING MACROS %%% + +\def\startchapter{\topinsert\vglue54pt\endinsert} + +\def\title#1\endtitle{\titlefont\centerline{#1}\vglue5pt}%\vskip40truept\tenrm} +\def\lasttitle#1\endlasttitle{\titlefont\centerline{#1}\vskip1.32truepc} +\def\author#1\endauthor{\authorfont\centerline{#1}\vglue8pt\textfont} +\def\lastauthor#1\endlastauthor{\authorfont\centerline{#1}\vglue2.56pc\textfont} +\def\abstract#1\endabstract{\baselineskip=12pt\leftskip=2.25pc + \rightskip=2.25pc\abstractfont{#1}\textfont} + +%%% COUNTERS FOR HEADINGS %%% + +\newcount\headcount +\headcount=1 +\newcount\seccount +\seccount=1 +\newcount\subseccount +\subseccount=1 +\def\secreset{\global\seccount=1} + \def\subsecreset{\global\subseccount=1} + +%%% HEADINGS %%% + +\def\headone#1{\baselineskip=14pt\leftskip=0pt\rightskip=0pt\vskip17truept\parindent=0pt +{\headfont\the\headcount\hskip14truept #1} +\par\nobreak\firstpar\global\advance\headcount by 0 + \global\advance\headcount by 1\secreset\vskip2truept\textfont} + +\def\headtwo#1{\advance\headcount by -1% + \vskip17truept\parindent=0pt{\headfont\the\headcount.% + \the\seccount\hskip14truept #1}%\enspace\ignorespaces\firstpar + \global\advance\headcount by 1\global\advance\seccount by 1 + \global\advance\subseccount by 1\subsecreset\vskip2pt\textfont} + + \def\headthree#1{\advance\headcount by -1\advance\seccount by -1 +% \advance\subseccount by -1% + \vskip17truept\parindent=0pt{\smallheadfont\the\headcount.% + \the\seccount.\the\subseccount\hskip11truept #1}\hskip6pt\ignorespaces + \firstpar\global\advance\headcount by 1\global\advance\seccount by 1 + \global\advance\subseccount by 1\textfont} + +%%% THEOREMS, PROOFS, DEFINITIONS, etc. %%% + +\def\thm#1{{\theoremfont +#1\enspace} +\hskip-5pt\begingroup\itfont\ignorespaces} + +\let\lem=\thm +\let\cor=\thm +\let\prop=\thm + +\def\endthm{\endgroup\textfont} +\let\endlem=\endthm +\let\endcor=\endthm +\let\endprop=\endthm + +\def\prf#1{{\itfont #1.}\textfont\enspace\ignorespaces} +\let\rem=\prf +\let\case=\prf + +\def\endprf{\textfont} +\let\endrem=\endprf +\let\endcase=\endprf + +\def\qed{{\qquad \vbox{\hrule\hbox{% + \vrule height1.3ex\hskip0.8ex\vrule}\hrule + }}\par} + +\def\dfn#1{{\theoremfont +#1\enspace} +\textfont\ignorespaces} + +\let\fact=\dfn + +\def\enddfn{\textfont} + +\let\endfact=\enddfn + +%%% FIGURES AND CAPTIONS %%% + + +\newcount\figcount +\figcount=1 + + +%\newcount\tablenumber +%\tablenumber=1 + +\def\\{\hfill\break} + +\newbox\TestBox +\newdimen\setwd +\newskip\belowcaptionskip +\belowcaptionskip=6pt plus 1pt + +\def\endinsert{\egroup % finish the \vbox + \if@mid \dimen@\ht\z@ \advance\dimen@\dp\z@ + \advance\dimen@12\p@ \advance\dimen@\pagetotal + \ifdim\dimen@>\pagegoal\@midfalse\p@gefalse\fi\fi + \if@mid\vskip\belowcaptionskip\box\z@\par \penalty-200\vskip\belowcaptionskip + \else\insert\topins{\penalty100 % floating insertion + \splittopskip\z@skip + \splitmaxdepth\maxdimen \floatingpenalty\z@ + \ifp@ge \dimen@\dp\z@ + \vbox to\vsize{\unvbox\z@\kern-\dimen@}% depth is zero + \else \box\z@\nobreak\vskip\belowcaptionskip\fi}\fi\endgroup} + + + + +\def\fig#1#2#3{% + \setbox\TestBox=\hbox{\tenpoint #3.}\setwd=\wd\TestBox + \topinsert + \vskip #1 + \vskip 12pt + \ifdim\setwd > 23pc + {\tenit{\smc #2.}\ \ #3} + \else + \centerline{\tenit\noindent + {\smc #2.}\ \ #3}\fi% + % \global\advance\figcount by 1 + \endinsert} + + + +%%% REFERENCES %%% + +\newdimen\refindent@ +\newdimen\refhangindent@ +\newbox\refbox@ +\setbox\refbox@=\hbox{\tenrm\baselineskip=11pt [00]}% Default 2 digits +\refindent@=\wd\refbox@ + +\def\resetrefindent#1{% + \setbox\refbox@=\hbox{\tenrm\baselineskip=11pt [#1]}% + \refindent@=\wd\refbox@} + +\def\Refs{% + \unskip\vskip1pc + \leftline{\noindent\headfont References}% + \penalty10000 + \vskip4pt + \penalty10000 + \refhangindent@=\refindent@ + \global\advance\refhangindent@ by .5em + \global\everypar{\hangindent\refhangindent@}% + \parindent=0pt\baselineskip=12pt\tenrm} + +\def\sameauthor{\leavevmode\vbox to 1ex{\vskip 0pt plus 100pt + \hbox to 2em{\leaders\hrule\hfil}\vskip 0pt plus 300pt}} + +\def\ref#1\\#2\endref{\leavevmode\hbox to \refindent@{\hfil[#1]}\enspace #2\par} + + +%%% OUTPUT %%% + +\def\rightheadline{\hfill\tensmc\rightrh\hskip2pc\tenrm\folio} +\def\leftheadline{\tenrm\folio\hskip2pc\tensmc\leftrh\hfill} + +\global\footline={\hss\tenrm\folio\hss}% first page + +\output{\plainoutput} +\def\plainoutput{\shipout\vbox{\makeheadline\pagebody\makefootline}% + \advancepageno + \ifnum\pageno>1 + \global\footline={\hfill}% + \fi + \ifodd\pageno + \global\headline={\rightheadline}% + \else + \global\headline={\leftheadline}% + \fi + \ifnum\outputpenalty>-\@MM \else\dosupereject\fi} +\def\pagebody{\vbox to\vsize{\boxmaxdepth\maxdepth \pagecontents}} +\def\makeheadline{\vbox to\z@{\vskip-22.5\p@ + \line{\vbox to8.5\p@{}\rheadfont\the\headline}\vss}% + \nointerlineskip} +\def\makefootline{\baselineskip24\p@\vskip-6\p@\line{\the\footline}} +\def\dosupereject{\ifnum\insertpenalties>\z@ % something is being held over + \line{}\kern-\topskip\nobreak\vfill\supereject\fi} + +\def\footnoterule{\vskip11pt\kern -4\p@\hrule width 3pc \kern 3.6\p@ } % rule = .4 pt high + +% Turn off @ as being a letter. +% +\catcode`\@=13 + +%end of style file -- cgit v1.2.3