[tex-live] Centering section
David Collins
davidcollins001 at gmail.com
Thu Apr 22 11:58:58 CEST 2010
Hi,
I have been using tex for a while but only so far as writing documents
and using other peoples style files.
Anyway, I am trying to write my CV. I have found a style that I like
but it is doing something funny with the address that I don't like.
The following section of code:
\def\@printcentername{\begingroup
% print the name centered
\leavevmode\hbox to \textwidth{\hfil\@tablebox{\namefont\@name}\hfil}\par
% address
\leavevmode\hbox to \textwidth{\hfil\@tablebox{\@addressone}\hfil}\par
\endgroup}
produces an address that is centered on the page but not with respect
to itself, i.e.,
\address{Road Name\\City\\postcode}
produces (centered on the page):
Road Name
City
postcode
but I want something like the following:
Road Name
City
postcode
but I cannot figure out how to make this happen in the style file, any
help would be much appreciated.
David
More information about the tex-live
mailing list