% resume.sty 08 Mar 89 % style option for formatting resumes. % This style option is designed to work with the article document % style of LaTeX version 2.09. Use % \documentstyle[resume]{article} % Copyright (c) 1987 by Stephen Gildea % Permission to copy all or part of this work is granted, provided % that the copies are not made or distributed for resale, and that % the copyright notice and this notice are retained. % % THIS WORK IS PROVIDED ON AN "AS IS" BASIS. THE AUTHOR PROVIDES NO % WARRANTY WHATSOEVER, EITHER EXPRESS OR IMPLIED, REGARDING THE WORK, % INCLUDING WARRANTIES WITH RESPECT TO ITS MERCHANTABILITY OR FITNESS % FOR ANY PARTICULAR PURPOSE. % If you make any improvements, I'd like to hear about them. % Stephen Gildea % MIT Earth Resources Lab % Cambridge, Mass. 02139 % mit-erl!gildea % gildea@erl.mit.edu % 23 May 87 version 1 % 08 Jun 88 center single \address lines % 02 Sep 88 enhancement to \employer from Jerry Leichter % LEICHTER-JERRY@cs.yale.edu or % 08 Mar 89 allow \\ in \sectiontitle to make multi-line titles \topmargin -37pt %\headheight 0.5in %\headsep 0pt \textheight 9in \pagestyle{headings} \parindent 0pt \parskip \baselineskip \oddsidemargin 0in \evensidemargin 0in \textwidth 6.25in \raggedbottom \setcounter{secnumdepth}{0} %% Eliminate page number in myheadings option. \def\ps@myheadings{\let\@mkboth\@gobbletwo \def\@oddhead{\hbox{}\sl\rightmark}\def\@oddfoot{}\def\@evenhead{ \sl\leftmark\hbox {}}\def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}} % use this to print your name at the top of the page \def\name#1{{{\Large\sc\centering{#1\\[15pt]}}}% \thispagestyle{empty}\markright{\sc#1}} % one address \def\address#1{{\centering{#1\\[10pt]}}} % two addresses (say, home and work). They get printed side by side \def\addresses#1#2{\hbox to \hsize{\@tablebox{#1}\hfil\@tablebox{#2}}} \def\@tablebox#1{\begin{tabular}[t]{@{}l@{}}#1\end{tabular}} \newbox\@title % Most of the resume goes inside a llist environment. Within it, use % the \sectiontitle{title} command to begin new sections. The title % of the section is put in the left margin. The section text begins % on the next line if the sectiontitle is too long. \newenvironment{llist}{\begin{list}{}{\setlength \labelwidth{1in}\setlength\leftmargin{\labelwidth}\addtolength \leftmargin{\labelsep} \itemsep 5pt plus 2pt minus 2pt \parsep 10pt plus 2pt minus 2pt % \parsep 0pt % \itemsep 10pt plus 2pt minus 2pt \partopsep 0pt \topsep 0pt %% Set the depth of the title to 0 in case more than one line. %% If the title takes more lines than the body, you lose. \def\sectiontitle##1{\pagebreak[3]\setbox\@title=\hbox{{\bf\@tablebox{##1}}}\dp\@title=0pt \item[\copy\@title]\ifdim\wd\@title>\labelwidth \leavevmode \\* \else \fi\nopagebreak} \def\makelabel##1{##1\hfill}}}{\end{list}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{subllist}{\begin{list}{}{\setlength \labelwidth{1in}\setlength \leftmargin{0pt} \itemsep -.5\baselineskip \parsep \baselineskip \setlength{\topsep}{-.5\baselineskip} \setlength{\partopsep}{.5\baselineskip} %% Set the depth of the title to 0 in case more than one line. %% If the title takes more lines than the body, you lose. \def\sitem##1{\setbox\@title=\hbox{{\@tablebox{##1}}}\dp\@title=0pt \ifdim\wd\@title>\labelwidth\vspace{.5\baselineskip}\fi \item[\copy\@title]\ifdim\wd\@title>\labelwidth \leavevmode \\* \else \fi} \def\makelabel##1{##1\hfill}}}{\end{list}} % like itemize but bullets are at the left margin \newenvironment{items}{\begin{list}{$\bullet$} {\setlength\labelwidth{.5em}\setlength\leftmargin{1em} \def\makelabel##1{##1\hfill}}}{\end{list}} % Use the \employer and \location commands to print the names and % cities of your employers. \employer always starts a new paragraph, % and should be followed by \location. % % \employer* is like \employer but is used for additional information % about the employer. It does NOT start a new paragraph, must % NOT be followed by \location, and always forces a new line after itself. \def\employer{\@ifstar{\@semployer}{\@employer}} \def\@employer#1{{\bf #1}} \def\@semployer#1{{\bf #1}\\} % The location is always flush right. It is moved to the next % line if there is not room left on this one. % See the TeXbook Chapter 14. \def\location#1{{\unskip\nobreak\hfill\penalty50\hskip2em \hbox{}\nobreak\hfill \hbox{#1}\finalhyphendemerits=0\nopagebreak}} % This prints the date flush left. % The major shortcoming of this file: % There needs to be an option to print the date in the left margin, % because many people like to do it that way. \def\dates#1{#1\\[2pt]} \def\summary#1{\vspace*{1em}\begin{center} {\Large\bf #1}\\[1em]{\large Thesis Summary}\end{center}% \list{}{\listparindent=1.5em% \itemindent\listparindent\rightmargin\leftmargin}\item[]\ignorespaces \noindent} \def\endsummary{\endlist\clearpage}