|
|
1.1 root 1: % Support for the Article style of DISS.STY (do not explicitly load...)
2:
3:
4: \catcode`\@=11 % for a little while
5:
6:
7: \oddpagesfalse
8: \singlespace
9:
10: % usage: \@title text\end@title
11: \def\@title#1\end@title{%
12: \null\vskip .8in plus .1in minus .1in
13: \begingroup
14: \titlefont
15: \let\\=\cr
16: \tabskip=0pt
17: \halign to\hsize{\centerline{\ignorespaces##\unskip}\cr#1\cr}%
18: \endgroup
19: \bigskip
20: \def\banner{\bop\chapter#1\endchapter}%
21: }
22:
23: % usage: \report text\title text\author text\date text\mail text\number
24: \outer\def\report#1\title#2\author#3\date#4\mail#5\number{%
25: \@title#1\end@title
26: \centerline{\authorfont#2}%
27: \centerline{Department of Information and Computer Science}%
28: \centerline{University of California, Irvine}%
29: \begingroup
30: \let\\=\cr
31: \tabskip=0pt
32: \halign to\hsize{\centerline{\ignorespaces##\unskip}\cr#3\cr}%
33: \endgroup
34: \medskip
35: \centerline{Computer Mail: #4}%
36: \bigskip
37: \centerline{Technical Report Number #5}%
38: \vskip .5in plus .1in
39: }
40:
41: % usage: \header text\title text\author text\date text\mail
42: \outer\def\header#1\title#2\author#3\date#4\mail{%
43: \@title#1\end@title
44: \centerline{\authorfont#2}%
45: \centerline{Department of Information and Computer Science}%
46: \centerline{University of California, Irvine}%
47: \begingroup
48: \let\\=\cr
49: \tabskip=0pt
50: \halign to\hsize{\centerline{\ignorespaces##\unskip}\cr#3\cr}%
51: \endgroup
52: \medskip
53: \centerline{Computer Mail: #4}%
54: \vskip .5in plus .1in
55: }
56:
57:
58: % Software documentation
59:
60: % usage: \example text1\\ text2\\ ... textN\endexample
61:
62: \def\example#1\endexample{%
63: \smallskip
64: \begingroup
65: \let\\=\cr
66: \tabskip=0pt
67: \halign to\hsize{%
68: \leftline{\tt\hskip 2\parindent\ignorespaces##\unskip}\cr
69: #1\cr}%
70: \endgroup
71: \smallskip
72: \noindent
73: }
74:
75: \def\pgm#1{{\it#1}} % UNIX programs
76: \def\man#1(#2){\pgm{#1\/}(#2)} % Manual entries
77: \def\arg#1{\hbox{\sl\`{}#1\'{}}} % arguments to programs
78: \def\switch#1{\hbox{\`{}\tt-\sl#1\'{}}} % switches to programs
79: \def\eg#1{\hbox{\tt#1}} % example
80: \def\file#1{\hbox{\sl#1}} % filename
81: \def\bq#1{\`{}#1\`{}} % back-quoted command
82:
83:
84: \catcode`\@=12 % back to normal
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.