The margin
option to this class has the effect of moving the left margin in an amount correspanding to \sectionwidth
. You need a way to provide either text in the left margin, like the section headings, or text sperading accross the full page. Here is some code to achieve this:
\documentclass[margin, 10pt]{res}
\usepackage{helvet}
\setlength{\textwidth}{5.1in}
\newcommand{\lmargintext}[1]{\hbox to 0pt{\hss \vtop{\hsize=\sectionwidth #1}}}
\newlength{\bodywidth}
\setlength{\bodywidth}{\textwidth}
\newenvironment{fullwidthtext}{\hbox to \textwidth\bgroup\hss
\vtop\bgroup\hsize=\sectionwidth\advance\hsize by \bodywidth}{\egroup\egroup}
\begin{document}
\moveleft.5\hoffset\centerline{\large\bf John Smith} % Your name at the top
\moveleft\hoffset\vbox{\hrule width\resumewidth height 1pt}\smallskip
\moveleft.5\hoffset\centerline{123 Broadway}
\moveleft.5\hoffset\centerline{City, State 12345}
\moveleft.5\hoffset\centerline{(000) 111-1111 or (111) 111-1112}
\begin{resume}
\section{EDUCATION}
\textsl{Bachelor of Science,} Interdisciplinary Science \\
Rensselaer Polytechnic Institute, Troy, NY, expected December 1990 \\
Concentration: Computer Science \\
Minor: Management
\lmargintext{My Name}
\medbreak
\begin{fullwidthtext}
Writing text accross the whole page is done as
follows. There may be several sentences containing plenty of text.
And new paragraphs with long text.
\end{fullwidthtext}
\end{resume}
\end{document}
The above commands mimic the way the class builds the section headings. The source code of the class notes that such commands remain to be defined.
The fullwidthtext
environemnt defined above packs its argument in to one box and so will not break across pages. This is probably exactly what you need for a signature. However, an alternative list based definition that does allow page breaks is:
\newenvironment{fullwidthtext}{\list{}{\leftmargin-\sectionwidth\itemindent0pt}\item[]}{\endlist}
\section
under res
is redefined in a strange way. From the source, it's usage is given as
% \section{text}
% This prints 'text' in the left hand margin.
% Its exact placement depends on what the style
% options has been set to. (overlapped or margin)
% You should use \\ to start a new line. If the
% style option is margin, the \\ is converted
% to a space.
% To use this in any of the list environments, put
% the \section after the \item[] but before the
% text.
% Eg.
% \begin{itemize}
% \item\section{text}
% text
% \end{itemize}
Under the margin
class option, the default width of the sections are 1.3in
, while the overlap
class option sets it to 0.5in
. You can adjust these settings manually via \newsectionwidth{<width>}
. In your case, perhaps using \newsectionwidth{1.5in}
would be sufficient. I'm not sure how this might affect the other document contents...
\documentclass[margin]{res}% http://www.rpi.edu/dept/arc/training/latex/resumes/res.cls
\newsectionwidth{1.5in}
\begin{document}
\section{ORGANIZATIONS}
Association Name \hfill \textbf{Fall 2011 - Current}
\end{document}
As a point of suggestion: Consider a more recent class for setting your résumé. Something like moderncv
, for example.
Best Answer
Add the following code to the preamble; instead of
logo
write the name of your photo:Then in the first address write
The two arguments to
\addphoto
are the vertical and horizontal displacements in millimeters. Just play with them until you're satisfied.