File: tpage.sty

package info (click to toggle)
mpich 4.3.0%2Breally4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 419,120 kB
  • sloc: ansic: 1,215,557; cpp: 74,755; javascript: 40,763; f90: 20,649; sh: 18,463; xml: 14,418; python: 14,397; perl: 13,772; makefile: 9,279; fortran: 8,063; java: 4,553; asm: 324; ruby: 176; lisp: 19; php: 8; sed: 4
file content (244 lines) | stat: -rw-r--r-- 5,984 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
%
% Title pages for ANL reports.  To allow for the inclusion of a graphics
% figure, \ANLG may be defined
\def\ANLG{\vskip 1.6 in minus 1in}
\def\ANLEDITED{by}
\newif\ifanltm
\anltmfalse
%\def\DefaultSupport{This work was supported in part by the Office of 
%Scientific Computing, U.S. Department of Energy\ifanltm\else, under Contract W-31-109-Eng-38\fi}
\def\DefaultSupport{This work was supported by the Mathematical, Information,
and Computational Sciences Division subprogram of the
Office of Computational and Technology Research, U.S. Department
of Energy\ifanltm\else, under Contract W-31-109-Eng-38\fi}

%
% Titlepage style for Argonne reports (TechReport)
% \ANLTitle{title}{Authors}{ReportNumber}{Date}
%
% This should really be done by putting together boxes of fixed height and
% width.
\long\def\ANLTitle#1#2#3#4{{\oddsidemargin 0pt \evensidemargin 0pt\relax
\leftskip0in\rightskip0in\relax
\voffset 0pt
\topmargin 0pt
\vbox to \vsize{%
\vsize=\TMPageHeight
\hsize=6.5in
\textwidth=\hsize
\setcounter{page}{0}
\thispagestyle{empty}
\vbox to \vsize{
\vskip-1in\hbox to \hsize{\hskip -.5in\vbox{%
{\advance\leftskip 4.0in
\noindent
Distribution Category: \\
Mathematics and \\ 
\null\nobreak\hspace{.25in} Computer Science (UC-405)
\par
}

\begin{center}

\vspace{.2in}
{\large
ARGONNE NATIONAL LABORATORY\\
}
9700 South Cass Avenue \\
Argonne, IL 60439
\end{center}

\vspace{.06in}
\begin{center}
{\large\bf
\vrule width 1.05in height .4pt\\
ANL-#3 \\
\vskip -8pt
\vrule width 1.05in height .4pt\\
}
\end{center}
\vskip .75 in
\begin{center}
{\Large\bf #1\par}
\end{center}
\vskip .1 in
\begin{center}
\ANLEDITED
\end{center}
\vskip .1in
\begin{center}
{\large #2\par}
\end{center}
\ANLG
\centerline{#4}
\vfill
\begin{center}

\parbox{4in}{
{\small \DefaultSupport.}}
\end{center}
\hss}}\vss}}\vfill\eject}}
%
% Use these for positioning.  This is a box of 0 size
\def\ZBox#1{\vbox to 0pt{\hbox to 0pt{#1\hss}\vss}}
% This is the PREPrint title page
% \ANLPreprintTitle{title}{Authors}{ReportNumber}{Date}
% Report number includes the MCS-Pxxx-mmyy
% Date should include Month, Year (January 1993)
% Change titlehoffset to move page left/right
\def\titlehoffset{0in}
\long\def\ANLPreprintTitle#1#2#3#4{\vbox to \vsize{%
%\vsize=9.5in
\hbox to \hsize{%
\hsize=7in
\vbox to 9.5in{\vskip -1.0in\hskip\titlehoffset\hbox to 7in{\vbox{%
\hoffset=-.4in
\voffset=-1.3in
\thispagestyle{empty}
\null
\ZBox{\hskip-.5in\vbox{\vskip .25in %
% Switch between two possible graphics packages (we want to move away
% from epsf)
\ifx\epsfbox\undefined
\resizebox{6in}{!}{\includegraphics{anlpre.eps}}}%
\else
\epsfxsize=6in\epsfbox{anlpre.eps}}}%
\fi
\ZBox{\vbox{\vskip 8in\vbox to 1.5in{\begin{center}\Large\bf
Mathematics and Computer Science Division\\Argonne National Laboratory
\end{center}}}}
\ifx\epsfbox\undefined
\ZBox{\hskip 6in\vbox{\vskip 8.8in\resizebox{.8in}{!}{\includegraphics{argonne.eps}}}%
\else
\ZBox{\hskip 6in\vbox{\vskip 8.8in\epsfxsize=.8in\epsfbox{argonne.eps}}}%
\fi
\hfill{\Large\bf PREPRINT #3}

%\vspace{.4in}
\begin{center}
\vbox to 2.0in{\vskip 0in plus .4in\hbox to \hsize{\hfill\vbox{\hbox to 4in{\hsize=4in
\vbox{
{\Large\bf #1}
\vskip .2in minus .3in
by
\vskip .2in minus .3in
{\large\em #2}\par}}}\hfill}
\vskip 0in plus .6in
}
%\parbox{4in}{\begin{center}
%{\Large\bf #1}\end{center}}
%
%\vspace{.3in}
%
%by
%
%\vspace{.3in}
%
%{\large\em #2}
%
\vspace{4in}

\hoffset=-.4in
{\large #4}
\end{center}
}\hss}\vss}\hss}\vss}
\clearpage
\setcounter{page}{1}
}

%
% Our color postscript printer doesn't print on all (or even that much of the
% paper).  If the output is for that printer, select \UseColorPrinter
\def\TMPageHeight{8.5in}
\def\UseColorPrinter{\gdef\TMPageHeight{8in}}
%
% Titlepage style for Argonne reports (TechMemo)
% \ANLTMTitle{title}{Authors}{ReportNumber}{Date}
%
% This should really be done by putting together boxes of fixed height and
% width.
%
% Default margins
\def\titleleftmargin{0pt}
\def\titletopmargin{0pt}
\long\def\ANLTMTitle#1#2#3#4{{\leftskip0in\rightskip0in\relax
%\oddsidemargin 0pt \evensidemargin 0pt\relax
\oddsidemargin \titleleftmargin \evensidemargin \titleleftmargin\relax
\voffset 0pt
\topmargin \titletopmargin
\vbox to \vsize{%
\vsize=\TMPageHeight
\hsize=6.5in
\textwidth=\hsize
\setcounter{page}{0}
\thispagestyle{empty}
\vbox to \vsize{
\vskip-1in\hbox to \hsize{\hfill\Large ANL/MCS-TM-#3}
\vskip 1.3in
\vbox to 5.5in{\vskip 0pt plus 10pt
\begin{center}
{\Large\bf #1\par}
\end{center}
\vskip .1 in
\begin{center}
\ANLEDITED
\end{center}
\vskip .1in
\begin{center}
{\large #2}
\end{center}
\ANLG
\vss
}
\vfill
\ifx\epsfbox\undefined
\ZBox{\resizebox{1.0in}{!}{\includegraphics{argonne.eps}}}%
\else
\ZBox{\epsfxsize=1.0in\epsfbox{argonne.eps}}%
\fi
\begin{flushright}
\Large
MATHEMATICS AND\\
COMPUTER SCIENCE\\
DIVISION
\end{flushright}
}\vss}\vfill\eject}}

%
% Preprint title page
% Title page macros
% generates an Argonne Preprint title page.
% use
%       \titlepagesupabst{title}{author}{report#}{support statement}
%
% title page with support and abstract
% the abstract is the 5th argument.
%
% Format of a title page is
%   5in x 6.5in for abst
%   2in x 6.5in block containing title insert:  The title insert
%       has the form
%           title paragraph
%           vfil
%           author paragraph
%           Research report #
%           month, year
%   vskip
%   support (and footnote) paragraph.  Footnotes may not work
% We are careful to turn off other formatting (head, foot lines,
% raggedbottom, \hsize, advancing page number, ...)
\long\def\ANLPPtitle#1#2#3#4{\null\medskip
    \vbox{\hbox to \hsize{
        \hss\vbox{%
        \hsize 5.5truein
        % title paragraph
        \vbox{\raggedcenter{\noindent\setfnt(size=L)#1\par}}%
        % skip
        \bigskip 
        % author paragraph
        \vbox{\raggedcenter{\noindent\setfnt(size=l)#2\par}}}%
        \hss}}%
     \vskip1in
     \centerline{\bf Abstract}
     \vfootnote{}{\vbox{\hbox{\hskip-\parindent{#4}}}}%
}