summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/vita/vita.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/vita/vita.cls')
-rw-r--r--Master/texmf-dist/tex/latex/vita/vita.cls30
1 files changed, 28 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/vita/vita.cls b/Master/texmf-dist/tex/latex/vita/vita.cls
index 6e5d117f556..45faec43c66 100644
--- a/Master/texmf-dist/tex/latex/vita/vita.cls
+++ b/Master/texmf-dist/tex/latex/vita/vita.cls
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{vita}[1995/02/07
+\ProvidesClass{vita}[1996/10/09
class file ``vita'' to create Curriculum Vitae]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
@@ -32,7 +32,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% - based on vita.sty by kcb@hss.caltech.edu
-%
+% - 1995/02/07: the first version
+% - 1996/10/09: if there is no business address the field is
+% left out
%
% User documentation: This class file only provides basic definitions
% =================== of environments, which are then used in class
@@ -138,6 +140,27 @@
%%%%
%
+% \maketitle command, which prints out the title and the name of person
+%---
+\renewcommand{\maketitle}{\newpage
+ \global\@topnum\z@ % Prevents figures from going at top of page.
+ \begin{center}
+ {\LARGE \@title}
+
+ \medskip
+
+ {\large \@author}
+ \end{center}
+
+ \bigskip
+
+ \thispagestyle{plain}
+
+ \gdef\@author{}\gdef\@title{}
+}
+
+%%%%
+%
% ``vita'' environment:
%---
\pagestyle{empty}
@@ -147,12 +170,15 @@
\ifx\@author\@empty\@warning{Missing name command}\fi
% next we start to layout information. First the title and the
% name,
+
\maketitle
% followed by both addresses,
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll@{}}
\begin{tabular}[t]{@{}l@{}}
+ \ifx\@businessAddress\@empty\mbox{}\else
{\small \@businessAddressHeader:}
\\ \@businessAddress
+ \fi
\end{tabular}
&
\ifx\@homeAddress\@empty\@warning{Missing home address}%