|
|
BSD 4.3
% Support for the Article style of DISS.STY (do not explicitly load...)
\catcode`\@=11 % for a little while
\oddpagesfalse
\singlespace
% usage: \@title text\end@title
\def\@title#1\end@title{%
\null\vskip .8in plus .1in minus .1in
\begingroup
\titlefont
\let\\=\cr
\tabskip=0pt
\halign to\hsize{\centerline{\ignorespaces##\unskip}\cr#1\cr}%
\endgroup
\bigskip
\def\banner{\bop\chapter#1\endchapter}%
}
% usage: \report text\title text\author text\date text\mail text\number
\outer\def\report#1\title#2\author#3\date#4\mail#5\number{%
\@title#1\end@title
\centerline{\authorfont#2}%
\centerline{Department of Information and Computer Science}%
\centerline{University of California, Irvine}%
\begingroup
\let\\=\cr
\tabskip=0pt
\halign to\hsize{\centerline{\ignorespaces##\unskip}\cr#3\cr}%
\endgroup
\medskip
\centerline{Computer Mail: #4}%
\bigskip
\centerline{Technical Report Number #5}%
\vskip .5in plus .1in
}
% usage: \header text\title text\author text\date text\mail
\outer\def\header#1\title#2\author#3\date#4\mail{%
\@title#1\end@title
\centerline{\authorfont#2}%
\centerline{Department of Information and Computer Science}%
\centerline{University of California, Irvine}%
\begingroup
\let\\=\cr
\tabskip=0pt
\halign to\hsize{\centerline{\ignorespaces##\unskip}\cr#3\cr}%
\endgroup
\medskip
\centerline{Computer Mail: #4}%
\vskip .5in plus .1in
}
% Software documentation
% usage: \example text1\\ text2\\ ... textN\endexample
\def\example#1\endexample{%
\smallskip
\begingroup
\let\\=\cr
\tabskip=0pt
\halign to\hsize{%
\leftline{\tt\hskip 2\parindent\ignorespaces##\unskip}\cr
#1\cr}%
\endgroup
\smallskip
\noindent
}
\def\pgm#1{{\it#1}} % UNIX programs
\def\man#1(#2){\pgm{#1\/}(#2)} % Manual entries
\def\arg#1{\hbox{\sl\`{}#1\'{}}} % arguments to programs
\def\switch#1{\hbox{\`{}\tt-\sl#1\'{}}} % switches to programs
\def\eg#1{\hbox{\tt#1}} % example
\def\file#1{\hbox{\sl#1}} % filename
\def\bq#1{\`{}#1\`{}} % back-quoted command
\catcode`\@=12 % back to normal
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.