I'm using the res
document class to create a simple resume. I'm going for something that looks like this Creating a Resume Using LaTeX however I have to have my name and contact information centered at the top of the document instead of at the right and left.
I used the center
environment, however it is only centering over the main content and ignoring the section headings. I understand that it is some sort of margin issue, however I am unsure of how to get it to center over the entire document. My source code is almost exactly like that in the link.
Best Answer
If you know the longest name of section, the following (not elegant) solution centers name over text of sections:
If you want more precise alingment, the initial value of
\maxmarg
should be enlarged by\sectionskip
, which inres
has the value 3.5ex plus 1ex minus -.2ex.