From 6ced86b30c53536076fb45741435a24fedec2345 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 18 Nov 2008 00:44:59 +0000 Subject: add old plain package resumemac (tex-live 17 Nov 2008 07:56:19) git-svn-id: svn://tug.org/texlive/trunk@11338 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/plain/resumemac/README | 3 + .../doc/plain/resumemac/sample_resume.tex | 56 +++++ .../texmf-dist/tex/plain/resumemac/resumemac.tex | 270 +++++++++++++++++++++ 3 files changed, 329 insertions(+) create mode 100644 Master/texmf-dist/doc/plain/resumemac/README create mode 100644 Master/texmf-dist/doc/plain/resumemac/sample_resume.tex create mode 100644 Master/texmf-dist/tex/plain/resumemac/resumemac.tex (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/plain/resumemac/README b/Master/texmf-dist/doc/plain/resumemac/README new file mode 100644 index 00000000000..78147db365d --- /dev/null +++ b/Master/texmf-dist/doc/plain/resumemac/README @@ -0,0 +1,3 @@ +resumemac provides plain TeX macros for typesetting a resume. The package was originally written by Dan Hoesk and is public domain. + +This README added by Clea F. Rees 2008/11/16. diff --git a/Master/texmf-dist/doc/plain/resumemac/sample_resume.tex b/Master/texmf-dist/doc/plain/resumemac/sample_resume.tex new file mode 100644 index 00000000000..32f4100705a --- /dev/null +++ b/Master/texmf-dist/doc/plain/resumemac/sample_resume.tex @@ -0,0 +1,56 @@ +% This file is public domain. +% Originally written 1992, Don Hosek. +% This declaration added by Clea F. Rees 2008/11/16 with the permission of Dan Hosek. +% +\input resumemac +\heading{center} +\name{Donald A. Hosek} +\address{\bf Home:\\ + 3916 Elmwood Avenue\\ + Stickney, IL 60402} +\address{\bf School:\\ + Platt Campus Center\\ + Harvey Mudd College\\ + Claremont, CA 91711} +\tag{Job Objective} +Employment for the period from May, 1987 to August, 1987 doing technical writing +and/or programming +\endtag +\tag{Previous Employment} +Jobs held were: +\(Nov.~1986--Present)\TeX\ consultant, Harvey Mudd College Mathematics +Department. Duties: answering questions about the \TeX\ computer typesetting +system; writing special macros; and creating documentation.\\ +\(June~1986--Aug.~1986)Word processing consultant, University of Illinois at +Chicago. Duties: Answering questions about the word processing packages +supported by the University of Illinois Computer Center (SCRIPT, GML, \TeX); +and writing macro packages for \TeX.\\ +\(Jan.~1986--Aug.~1986)General Consultant, University of Illinois at Chicago. +Duties: Answering questions from users about the computer center's IBM mainframe +running VM/CMS and MVS---support included FORTRAN, PL/1, Pascal, 370 Assembler, +C, and JCL; tending the Xerox~8700, IBM~3270, and General Electric printers; and +programming projects to augment system software.\\ +\endtag +\tag{Education} +Eventual educational goal is to have doctorates in English and mathematics. +\(Sep.~1986--Present)Harvey Mudd College. Currently working on B.~S. degree in +a double major of mathematics and English.\\ +\(Sep.~1985--Aug.~1986)University of Illinois at Chicago. Additional studies. +Coursework consisted of mathematics and humanities classes.\\ +\endtag +\tag{Additional work} +Since January, 1987, I have been publishing an electronic ``magazine'', +\TeX MaG, distributed through the BITNET and InterNET electronic networks. The +magazine is intended to distribute macros, product information, etc., to users +of the \TeX\ computer typeseting system. It is distributed to nearly two hundred +people around the world. + +Since September, 1984, I have been involved in student journalism. My +involvement has included photography (taking, developing, and printing +pictures), and writing (including a bi-weekly column written for a year). +\endtag +\tag{Hobbies} +Music (I play bass, piano, guitar, and sing), writing, and photography. +\endtag +\bye + G'Day diff --git a/Master/texmf-dist/tex/plain/resumemac/resumemac.tex b/Master/texmf-dist/tex/plain/resumemac/resumemac.tex new file mode 100644 index 00000000000..27ea4839572 --- /dev/null +++ b/Master/texmf-dist/tex/plain/resumemac/resumemac.tex @@ -0,0 +1,270 @@ +% This file is public domain. +% Originally written 1992, Don Hosek. +% This declaration added by Clea F. Rees 2008/11/16 with the permission of Dan Hosek. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Resume macro file for plain.TeX. +% +% To Use: +% \input resumemac +% \magnification=\magstep0 % (Or whatever size is desired) +% % Setting \magnification is optional. +% \name{Your Name Here} +% \address{Separated by \\ +% Type your address\\ +% In this space.} +% \date{Either type it yourself, or use \today} +% \tag{Whatever the category is} +% Information for this item... +% . +% . +% . +% \endtag +% Repeat \tag...\endtag as necessary. +% Inside of \tag...\endtag, you may use \(dates)what happened then\\ for +% itemized lists. +% +% To set the heading format say: +% \centerheading (for centered headings) +% \leftheading (for left justified headings) +% \rightheading (for right justified headings) or +% \specialheading (for a special ``letterhead'' style heading.) +% Before you enter the heading commands +% +% Use \magnification to modify text sizes. +% +% Written By Don Hosek +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%% +%%% Initializations... +%%% +\catcode`\@=11 + +\newskip\interTAGskip + +\newbox\TAGbox \newbox\INFObox +\newdimen\TAGboxhsize \newdimen\INFOboxhsize \newdimen\INFOboxlength +\newdimen\DATEhsize \newdimen\DATEINFOhsize \newdimen\@datesepamount +\hsize=6.5truein \vsize=9.0truein \interTAGskip=12pt +\parindent=0pt +\TAGboxhsize=0.9truein \INFOboxhsize=5.3truein % Take care that TAGboxhsize + + % INFOboxhsize = hsize - 0.1in +\DATEhsize=.75truein \DATEINFOhsize=4.4truein % Take care that DATEhsize + +\@datesepamount=.15truein % DATEINFOhsize is <= + % INFOboxhsize +\let\wheretoputit=c \let\\=\cr +\nopagenumbers + +%%% +%%% Fonts... +%%% Change am.. to cm.. if you are using that series of fonts. +%%% System wizards may modify this section to conform to system needs and +%%% user desires. +%%% +\font\NAMEfont=cmbx10 scaled 1200 \font\TAGfont=cmbxsl10 +\font\smallADDRESSfont=cmr9 + +%%% +%%% The top macros... +%%% +%%% First off is the ever-popular \today macro... +%%% (cribbed from LaTeX's Letter format.) Basically a long \ifcase on the +%%% \month register. +%%% +\def\today{\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \ \number\day, \number\year} + +%%% +%%% \specialline is a special version of \line that permits you to select +%%% centered, right or left adjusting via an option in []s. We call this in +%%% the right-, left-, and centerheadings styles. +%%% +\def\specialline[#1]#2{ + \ifx#1l\leftline{#2} + \else\ifx#1r\rightline{#2} + \else\centerline{#2} + \fi + \fi} + +%%% +%%% \name, \address, \date put the parameter information into \@ whatever +%%% +\def\name#1{\def\@name{#1}} +\def\address#1{\ifx\@address\undefined % allow multiple addresses... + \def\@address{#1} + \else + \def\@@address{#1} + \fi} +\def\date#1{\def\@date{#1}} + +%%% +%%% Now for the meat and potatoes macro: \tag...\endtag +%%% +%%% \tag +%%% Check to see if this is the first tag... If it is, then we want to +%%% print the header information at the top. +%%% We put the first parameter in \TAGinfo, to be used later, and then +%%% begin to put the remainder of the text in a box (the box will be removed +%%% later on for flexibility in making page breaks). +%%% +\def\tag#1{\ifx\@headerprinted\undefined % check to see if this is the first tag + \let\@headerprinted=X %change status of @headerprinted + \printheader % print the header + \fi + \def\TAGinfo{#1} % Communication to \endtag + \setbox\INFObox=\vbox\bgroup\hsize=\INFOboxhsize} + +%%% +%%% \endtag +%%% \endtag finishes off the box begun by \tag and and prints the entry +%%% in the resume using valign. +%%% +\def\endtag{\egroup + \vskip\interTAGskip + \setbox\TAGbox=\vbox{\hsize=\TAGboxhsize + \raggedright\hyphenchar\TAGfont=-1 + \tolerance=20000 % Don't get uptight about lines. + \hbadness=10000 % And don't talk about it either. + \TAGfont \TAGinfo \vfill} + \valign{##\vfill\cr + \unvbox\TAGbox\cr + \noalign{\hfill} + \unvbox\INFObox\cr}} + +%%% +%%% Now that wasn't too bad, now was it? +%%% Next we create the \(...)... macro to make a few other things +%%% easier +%%% + +%%% +%%% \(dates) +%%% whatever happened during that time\\ +%%% This macro also uses valign to align its text. +%%% +\def\(#1)#2\\{\par + {\tabskip=0pt %change tabskip only inside this macro. + \vskip4pt plus 2pt minus3pt + \valign{##\vfill\cr + \vbox{\hsize=\DATEhsize\leftskip=0pt plus1fill#1}\cr + \noalign{\hskip\@datesepamount} + \vbox{\hsize=\DATEINFOhsize#2}\cr + \noalign{\hfill}}} + \par} + +%%% +%%% Heading options: +%%% +%%% \leftheading +%%% +\def\leftheading{\let\@hstyle=l} + +%%% +%%% \rightheading +%%% +\def\rightheading{\let\@hstyle=r} + +%%% +%%% \centerheading +%%% +\def\centerheading{\let\@hstyle=c} + +%%% +%%% \specialheading +%%% +\def\specialheading{\let\@hstyle=s} + +%%% +%%% \heading{heading_type} +%%% +%%% LaTeX-style command for specifying headig type... use something +%%% along the lines of \heading{right} to set the heading type. +\def\heading#1{\csname#1heading\endcsname} + +%%% +%%% \printheader +%%% internal macro for printing the header. Should not be called by user! +%%% uses information set by the heading commands. +%%% +\def\printheader{\ifx\@date\undefined + \def\@date{\today} %if date was not specified, use today's date. + \fi + \ifx\@hstyle s + \begingroup + \def\\{, } + \line{{\NAMEfont\@name}\hfil{\smallADDRESSfont\@address}} + \ifx\@@address\undefined\relax\else %two addresses ! + \line{\hfil{\smallADDRESSfont\@@address}} + \fi + \endgroup + \smallskip + \hrule + \smallskip + \rightline{\@date} + \else\ifx\@hstyle r + \begingroup + \let\\=\cr + \halign{\hbox to\hsize{\hfill##\hfil}\cr + \NAMEfont\@name\cr + \@address\cr + \noalign{\smallskip} + \ifx\@@address\undefined\relax\else + \@@addresscr + \noalign{\smallskip} + \fi + \@date\crcr} + \endgroup + \else\ifx\@hstyle l + \begingroup + \let\\=\cr + \halign{##\hfil\cr + \NAMEfont\@name\cr + \@address\cr + \noalign{\smallskip} + \ifx\@@address\undefined\relax\else + \@@addresscr + \noalign{\smallskip} + \fi + \@date\crcr} + \endgroup + \else\ifx\@hstyle c + \centerline{\NAMEfont\@name} % The easy way to do it. + \ifx\@@address\undefined + \centeroneaddress + \else + \centertwoaddresses + \fi + \centerline{\@date} + \fi\fi\fi\fi} + +\def\@@addresscr{\@@address\cr} %hack to fool ifx + +\def\centeroneaddress{\begingroup + \let\\=\cr + \tabskip=0pt plus1fill + \halign to \hsize{\hfil##\hfil\cr + \@address\crcr} + \smallskip + \endgroup} + +\def\centertwoaddresses{\begingroup + \let\\=\cr + \tabskip=0pt + \valign{##\vfill\cr + \noalign{\hfill} + \vbox{\hsize=.4\hsize\tabskip=0ptplus1fill + \halign to\hsize{\hfil##\hfil\cr + \@address\crcr}}\cr + \vbox{\hsize=.4\hsize\tabskip=0ptplus1fill + \halign to\hsize{\hfil##\hfil\cr + \@@address\crcr}}\cr + \noalign{\hfill}} + \smallskip + \endgroup} + +\catcode`\@=12 -- cgit v1.2.3