Sharedwww / job / aps / empcover.texOpen in CoCalc
Author: William A. Stein
1%% @texfile{
2%%     filename="empcover.tex",
3%%     version="3.4",
4%%     date="16-AUG-1999",
5%%     filetype="TeX: template",
8%%            authorized only if either:
9%%            (1) you make absolutely no changes to your copy
10%%                including name; OR
11%%            (2) if you do make changes, you first rename it to some
12%%                other name.",
13%%     author="American Mathematical Society,
15%%            Electronic Products and Services,
16%%            P. O. Box 6248,
17%%            Providence, RI 02940,
18%%            USA",
19%%     telephone="401-455-4080 or (in the USA) 800-321-4AMS",
20%%     email="[email protected]",
21%%     codetable="ISO/ASCII",
22%%     keywords="employment,application,coversheet"
23%%     abstract="This file prompts the user for the various fields which
24%%               are to be inserted into a standardized coversheet for
25%%               an application for employment in Mathematics. It follows
26%%               the format for a coversheet provided by the AMS as an aid
27%%               to departments in processing job applications.
28%%
29%%               Instructions for use: Run the file through Plain TeX
30%%               (not LaTeX or AMS-TeX) and reply to the prompts."
31%%     }
32%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
33
34\newcount\infile
35\infile=-100
36\newcount\TempCount
37\newbox\SizeBox
38\catcode\@=11
39%% provide an alternate comment character to permit % signs in e-mail addresses
40\catcode\^^A=14
41^^A%%*************************************************************************
42^^A%% IF YOU MAKE ANY CHANGES TO THIS FILE, REMEMBER THAT THE COMMENT CHARACTER
43^^A%% IS NOW ^^A RATHER THAN %. FROM THIS POINT ON IN THIS FILE, % IS A
44^^A%% PRINTABLE CHARACTER.
45^^A%%*************************************************************************
46^^A%% make % and some other characters type "other" for e-mail address use
47\catcode\%=12
48\catcode\_=12
49\catcode\~=12
50\newlinechar=\^^J
51\def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}
52\ifundefined{LaTeX}\else
53\immediate\write16{^^J^^J**************************************************
54^^JYou are using LaTeX rather than Plain TeX.
55^^JPlease use Plain TeX for this file. ^^JIt cannot be run through LaTeX.
56^^JThe correct command is:  tex \jobname
57^^J**************************************************^^J^^J}
58\@@end\fi
59\ifundefined{AmSTeX}\else
60\immediate\write16{^^J^^J**************************************************
61^^JYou are using AMS-TeX rather than Plain TeX.
62^^JPlease use Plain TeX for this file. ^^JIt cannot be run through AMS-TeX.
63^^JThe correct command is:  tex \jobname
64^^J**************************************************^^J^^J}
65\end\fi
66\def\Instructions{\immediate\write16{^^A%
67This file will prompt you for data to be used in typesetting the
68^^Jstandard coversheet to accompany applications for employment in the
69^^JMathematical Sciences.  When you have entered all the information, it
70^^Jis written to a file so that you can use it again. You can also edit
71^^Jthe data file, or have several different data files which you create
72^^Jby editing the data file output by your original run.
73^^J
74^^JIf this is the first time that you are running this file, or if you do
75^^Jnot wish to use previous data, reply when asked, that you want to
76^^Jenter data from the keyboard.  If you make errors in typing, do not
77^^Jworry. You will be able to edit the data file produced by your initial
78^^Jrun, so that you can correct any errors (or make any updates) as you
79^^Jwish. You can name the file whatever you wish when you are prompted to
80^^Jdo so, but if you enter no filename the default will be \jobname.dat.
81^^J
82^^JThe TeX run will output a file called \jobname.dvi, which you can
83^^Jprint using the same software you use for printing other TeX jobs.
84^^J
85^^JIf you wish to edit the data file produced by running this, be sure
86^^Jthat you do not alter the format of the data file, just the contents
87^^Jof the rows which contain data.
88^^J
89^^JPress Enter'' to continue.}
91
92\immediate\write16{^^J^^JDo you want instructions for using this file?}
94\if y\TempFieldOne\Instructions\fi
95\if Y\TempFieldOne\Instructions\fi
96
97^^A%% predefine negative responses to avoid problems if responses are bypassed
98\def\WantTemp{N}
99\def\WantPostDoc{N}
100\def\WantTwoYear{N}
101\def\WantOneYear{N}
102\def\LetterOne{N}
103\def\LetterTwo{N}
104\def\LetterThree{N}
105\def\LetterFour{N}
106^^A%% initialize string of data to be written to output file.
107\def\OutData{^^A%
108%% This is a data file for the TeX file which typesets a coversheet for
109^^J%% applications for employment in the Mathematical Sciences. If you make
110^^J%% any changes to the data in this file, be sure that you DO NOT remove
111^^J%% any lines (except in the one case where you may be instructed to do so)
112^^J%% because when this file is input, the TeX file will expect all lines,
113^^J%% including those which look like comments, to be in the file. You may
114^^J%% edit the contents of the data lines however you wish. You may also
115^^J%% make several copies of this file with different data, to be used for
116^^J%% different runs of the TeX file.^^J}
117^^A% \TopcommentLines should give the number of lines in the above string.
118\def\TopCommentLines{9}
119^^A%%%%%%%%%%%%%%%%% Define the macros for reading input from user.
120\long\def\Extract#1#2\\{#1}
121\def\GetYN #1\\#2\\#3\\{^^A%
122    \ifnum\infile < 0 \immediate\write16{#1}
123      \setbox\SizeBox=\hbox{#2}
124      \ifdim\wd\SizeBox=0pt\edef\OutData{\OutData %%#1^^J}
125      \else\edef\OutData{\OutData %%#2^^J}
126      \fi
127    \else
129    \fi
131    \def\TempFieldTwo{\expandafter\Extract\TempFieldOne\\}
132    \if y\TempFieldTwo
133       \gdef #3{Y}
134    \else
135      \if Y\TempFieldTwo
136         \gdef #3{Y}
137      \fi
138    \fi
139    \ifnum\infile < 0 \edef\OutData{\OutData #3^^J}\fi
140    }
141
142^^A%% usage: \expandafter\EatChar\CharsNotEaten|
143\def\CharJustEaten{}
144\def\EatChar #1#2|{\gdef\CharJustEaten{#1}\gdef\CharsNotEaten{#2}}
145
147  \ifnum\infile < 0 \immediate\write16{#1}
148    \setbox\SizeBox=\hbox{#2}
149    \ifdim\wd\SizeBox=0pt\edef\OutData{\OutData %%#1^^J}
150    \else\edef\OutData{\OutData %%#2^^J}
151    \fi
152  \else
153^^A%% read in and throw away description of next data item from input file
155    \expandafter\EatChar \DummyData|
156    \expandafter\EatChar \CharsNotEaten|
157    \expandafter\EatChar \CharsNotEaten|
158    \if S\CharJustEaten
159        \expandafter\EatChar \CharsNotEaten|
160        \if o\CharJustEaten
161\immediate\write16{^^J^^JYOU HAVE USED A DATA FILE WHICH WAS PRODUCED BY A PREVIOUS
162^^JVERSION OF THIS TeX FILE. IT IS NOT COMPATIBLE WITH THIS VERSION. YOU MUST
163^^JENTER THE DATA MANUALLY THE FIRST TIME YOU USE THIS VERSION OF THE
164^^JCOVERSHEET TEX FILE. PLEASE START AGAIN AND ENTER THE DATA MANUALLY.
165^^JFOR FUTURE RUNS, YOU WILL BE ABLE TO USE THE DATA PRODUCED BY THIS RUN.}
166	YOU HAVE USED A DATA FILE WHICH WAS PRODUCED BY A PREVIOUS
167	VERSION OF THIS TeX FILE. IT IS NOT COMPATIBLE WITH THIS VERSION. YOU
168	MUST ENTER THE DATA MANUALLY THE FIRST TIME YOU USE THIS VERSION OF THE
169	COVERSHEET TEX FILE. PLEASE START AGAIN AND ENTER THE DATA MANUALLY.
170	FOR FUTURE RUNS, YOU WILL BE ABLE TO USE THE DATA PRODUCED BY THIS RUN.
171        \fi
172    \fi
173  \fi
175  \ifnum\infile < 0 \edef\OutData{\OutData #3^^J}\fi
176}
177^^A%%%%%%%%%%%%%%%%
178^^A%%%%%%%%%%%%%%%% Find out if input is to be taken from stdin or file.
179\immediate\write16{^^J^^JDo you wish to provide data from the keyboard, or is
180^^Jthere an existing data file from a previous run of this TeX file?
181^^JEnter 0 if input is to be from keyboard, 1 if from a file.}
182\loop
184  \if0\InputSource\infile=-1\else\if1\InputSource\infile=3\fi\fi
185^^A  \immediate\write16{infile is \infile; InputSource is \InputSource}
186  \def\DummyData{\infile}
187  \ifnum\infile < -1
188      \immediate\write16{Please enter either 0 or 1.}
189\repeat
190\ifnum\infile>0
191  \def\DataFile{\jobname.dat}
192  \loop
193    \immediate\write16{What is the name of the file which you wish to open?
194         ^^J(default is \jobname.dat): }\read-1 to \DataFile
195    \setbox\SizeBox=\hbox{\DataFile}
196    \ifdim\wd\SizeBox < 1pt
197        \openin\infile=\jobname.dat
198    \else
199        \openin\infile=\DataFile
200    \fi
201    \ifeof\infile\immediate\write16{I cannot open the file \DataFile.
202         ^^JEither it does not exist, or it is not in the current directory.}
203  \repeat
204  \TempCount=0
205  \loop
208    \ifnum\TempCount < 9
209  \repeat
210\else
211  \immediate\write16{
212  ^^J^^JPlease provide the following information for the coversheet.
213  ^^JThen, print out the resulting .dvi file and use it as the coversheet for
214  ^^Jyour applications for employment in Mathematics.
215  ^^JIf any fields are not relevant, leave them blank.^^J}
216\fi
217^^A%%%%*********************************************************************
218^^A%%%%*********************************************************************
219^^A%%%%*********************** get input from user
221\Ask Middle name or initial: \\\\\MiddleName\\
223^^A% Social security number removed 7/96
224^^A%%%\Ask Social Security Number (optional): \\\\\SocSecNumber\\
225\ifnum\infile<0
226  \immediate\write16{^^A%
227  You can now enter up to three address lines. If you need only two, you
228  ^^Jmay leave the last one blank.^^J}
229\fi
233\Ask Area code of work phone number: \\\\\WorkAreaCode\\
234\Ask Work phone number (no area code): \\\\\WorkPhone\\
235\Ask Area code of home phone number: \\\\\HomeAreaCode\\
236\Ask Home phone number (no area code): \\\\\HomePhone\\
238\Ask Current institutional affiliation (including department if appropriate):
239     \\\\\CurrentAffil\\
241\Ask Institution where Ph.D. was awarded (if it has been awarded):\\\\\SourceofPhD\\
244\Ask If the Ph.D. is not presently held, date on which you expect to receive it:
245     \\Expected date of Ph.D., if not presently held:\\\ExpectPhD\\
246\Ask Indicate the mathematical subject area(s) in which you
247have done ^^Jresearch using, if applicable, the 1991 Mathematics
248Subject Classification.
249^^JIf listing more than one number, list first the one number which best
250^^Jdescribes your current primary interest.^^JPrimary Interest:
251     \\Mathematics Subject Classification of primary interest:\\\PrimarySub\\
254interests ^^J(e.g. finite group actions on four-manifolds). ^^JAvoid
255special mathematical symbols, and do not use newline' characters.
256  \\Current Research:\\\CurrentResearch\\
257\Ask ^^JTitle of the most recent post-Ph.D. position you have held (if any):
258    \\Most recent post-Ph.D. position:\\\RecentTitle\\
259\Ask What is the university or company where you have held that position?
260     \\Employer of most recent post-Ph.D. position:\\\RecentEmployer\\
261\Ask What were the dates of that employment?\\\\\EmployDates\\
262\Ask Indicate the position for which you are applying,
263     ^^Jand position posting code if applicable:
264     \\Position for which you are applying:\\\Position\\
265\GetYN If unsuccessful for this position, would you like to be
266      considered for a^^Jtemporary position? (answer Y or N)
267      \\Want temp position? (If you change from Y to N,
268        delete next 3 items)\\\WantTemp\\
269\if Y\WantTemp
270\GetYN Please indicate whether you are interested in a temporary
271^^JPostdoctoral position, a 2+-year position, or a 1-year position.
272^^J1. Would you be interested in a temporary postdoctoral position? (Y or N)
273   \\Interested in temporary postdoctoral position?\\\WantPostDoc\\
274\GetYN 2. Would you be interested in a temporary 2+-year position? (Y or N)
275     \\Interested in temporary 2+-year position?\\\WantTwoYear\\
276\GetYN 3. Would you be interested in a temporary 1-year position? (Y or N)
277     \\Interested in temporary 1-year position? \\\WantOneYear\\
278\fi ^^A%% end if Y \WantTemp
279\ifnum\infile < 0
280  \immediate\write16{List the names, affiliations, and e-mail addresses of
281 ^^Jup to four individuals who will provide letters of recommendation if asked.}
282\fi
285     (Y or N)\\\\\LetterOne\\
288     (Y or N)\\\\\LetterTwo\\
291     (Y or N)\\\\\LetterThree\\
294     (Y or N)\\\\\LetterFour\\
295\ifnum\infile < 0
296  \immediate\write16{I will now write the data out to a file.
297       ^^JWhat filename do you wish to use? (default=\jobname.dat) }
299  \setbox\SizeBox=\hbox{\DataFile}
300  \ifdim\wd\SizeBox=0pt\def\DataFile{\jobname.dat}\fi
301  \openout4=\DataFile\write4{\OutData}
302  \closeout4
303\else
304  \closein\infile
305\fi
306^^A%%End data input
307^^A%%%%*********************************************************************
308^^A%%%%*********************************************************************
309^^A%% Build the page - First, set dimensions etc.
310\voffset-0.5in
311\vsize=10in
312\hsize=6.5in
313\parindent=0pt
314\parskip0pt
315\nopagenumbers
316\font\bigboldfont=cmbx10 scaled \magstep4
317\font\entryfont=cmti10
318\font\entryfontb=cmti9
319\font\emailfont=cmtt9
320\font\eightrm=cmr8
321\tenrm
322\def\entrybaseline{\baselineskip18pt}
323\def\textbaseline{\baselineskip12pt}
324\def\smallbaseline{\baselineskip10pt}
325\lineskip0pt
326\textbaseline
327\newdimen\labelwidth
328\labelwidth=9pc
329\def\Label#1{\hbox to \labelwidth{#1\hfill}}
330\def\AddressLine #1\\#2\\{\line{\hbox to 26pc{#1}\hfill\hbox to 12pc{#2}}}
331^^A%% checkbox
332\def\checkbox{\leavevmode\vbox to 9pt{\hrule \vss
333	\hbox to 9pt{\vrule height 9pt \hfil\vrule height 9pt}\vss
334	\hrule}\ }
335^^A%%\checkbox with the box checked off
336\def\checkedbox{\leavevmode\vbox to 9pt{\hrule \vss
337	\hbox to 9pt{\vrule height 9pt \hss
338		\raise 1.3pt\hbox{\kern 1.7pt\tt X}\hss
339		\vrule height 9pt}\vss \hrule}\ }
341^^A%%This underlines the entry, and puts it in the appropriate font.
342\def\entry#1{\ \ \ \underbar{\entryfont #1}}
343\def\entrya#1{\underbar{\entryfont #1}}
344
345^^A%%%%*********************************************************************
346^^A%%%%*********************************************************************
347^^A%%%%**   Typeset the data.
348
350\medskip
351\centerline{\bigboldfont AMS Standard Cover Sheet}
352\bigskip
353This cover sheet is provided as an aid to departments in processing job
354applications.  It should be included with your other application material.
355Please print or type.  Do not send this form to the AMS.
356
357\vskip0.5pc
358\entrybaseline
359\line{\Label{Last (Family) Name:}\entry {\LastName}\underfill\ }
360\line{\Label{First Name or Initial:}\entry {\FirstName}\underfill\ }
361\line{\Label{Middle Name or Initial:}\entry {\MiddleName}\underfill}
362
363^^A%%%\line{Social Security Number
364^^A%%%     ({\it optional\/}):\entry{\SocSecNumber}\underfill}
368\entrya {(\HomeAreaCode\unskip) \HomePhone}\underfill\\
371\entrya {\emailfont\Eddress}\underfill\\
372Current Institutional Affiliation:\par\vskip-9pt
375\entrya {(\WorkAreaCode\unskip) \WorkPhone}\underfill\\
376\line{Highest Degree and Source
378\line{Year of Ph.D. (optional)
379\entry{\entryfontb\YearOfPhD}\underfill}
381\line{If the Ph.D. is not presently held, date on which you expect to
383
384\medskip
385\smallbaseline
386{\eightrm
387Indicate the mathematical subject area(s) in which you have done research
388using, if applicable, the 1991 Mathematics Subject Classification.
389If listing more than one number, list first the one number
390which best describes your current primary interest.}
391
392\entrybaseline
393\smallskip
394\line{Primary Interest \entry {\PrimarySub }\underfill}
395\line{Secondary Interests (optional) \entry {\SecondarySub }\underfill}
396
397\medskip
398{\smallbaseline
399\vbox to 74pt{\hrule \vss\line{^^A%
400	\vrule height 6pc\hfill
401\vbox to 0pt{\vskip-5.5pc\hsize=38pc
402     {\eightrm\smallbaseline
403     Give a very brief synopsis of your current research interests in the box
404     below (e.g. finite group actions on four-manifolds).
405     Avoid special mathematical symbols.}
406     \vskip9pt
407     \entryfontb\smallbaseline \CurrentResearch \vfill}
408	\hfill\vrule height 6pc}^^A%
409	\vss \hrule}
410}
411
412Most recent position held, if any, post Ph.D.
413
414\line{\Label{University or Company}\entry {\RecentEmployer}\underfill}
415\line{\Label{Position Title}\entry {\RecentTitle}\underfill\
416          \hbox to 2in{Dates \entry{\EmployDates}\underfill}}
417Indicate the position for which you are applying and position posting code,
418if applicable
419
420\line{\entrya {\Position }\underfill}
421
422If unsuccessful for this position, would you like to be considered for a
423temporary position?
424
425\line{\Label{\if Y\WantTemp\checkedbox\ Yes\hfill\checkbox
426      \else \checkbox\ Yes\hfill\checkedbox\fi\ No}^^A%
427      If yes, please check the appropriate boxes.\hfill}
428
429\line{\Label{\hfill}
431  \if Y\WantTwoYear\checkedbox\else\checkbox\fi\ $2+$ Year Position\quad
432  \if Y\WantOneYear\checkedbox\else\checkbox\fi\ 1 Year Position\hfill}
433
434List the names and affiliations of up to four individuals who will provide
435letters of recommendation if asked.  Mark the box provided for each individual
`