diff --git a/imperial-common.sty b/imperial-common.sty index 1b56296..393c66f 100755 --- a/imperial-common.sty +++ b/imperial-common.sty @@ -7,9 +7,10 @@ % Define logo \RequirePackage{graphicx} -\newcommand{\placelogocmd}{\includegraphics{\placelogo}} \ifx\placelogo\undefined -\renewcommand{\placelogocmd}{} +\newcommand{\placelogocmd}{ } +\else +\newcommand{\placelogocmd}{\includegraphics{\placelogo}} \fi % Define colors diff --git a/leene-resume.cls b/leene-resume.cls index bd127a3..7b4b4bc 100644 --- a/leene-resume.cls +++ b/leene-resume.cls @@ -120,13 +120,18 @@ Last Updated on \today } % Last Updated text %---------------------------------------------------------------------------------------- % FOOT NOTE COMMAND %---------------------------------------------------------------------------------------- +\ifx\noheader\undefined + \pagestyle{fancy} + \fancyhf{} + \renewcommand{\headrulewidth}{0pt} + \lfoot{\Salutation~\FirstName~\LastName --- \mainsubject} + \rfoot{\hfill Page: \thepage{} | \pageref*{LastPage}} + \fancyheadoffset[loh,reh]{20mm} +\else + \pagestyle{empty} + \cfoot{} +\fi -\pagestyle{fancy} -\fancyhf{} -\renewcommand{\headrulewidth}{0pt} -\lfoot{\Salutation~\FirstName~\LastName --- \mainsubject} -\rfoot{\hfill Page: \thepage{} | \pageref*{LastPage}} -\fancyheadoffset[loh,reh]{20mm} \newcommand{\tailsection}{} diff --git a/letter.preamble.cls b/letter.preamble.cls index 69690c3..c9f682f 100644 --- a/letter.preamble.cls +++ b/letter.preamble.cls @@ -7,7 +7,7 @@ % % Information about who sent the letter \dept{\Organisation} -\address{\Address} +\address{\Address} \telephone{\Telephone} %\fax{+44 (0)20 7584 8120} \email{\Email} @@ -15,7 +15,7 @@ \web{\Website} \nametitle{\Salutation} \author{\FirstName~\LastName} -\postnoms{\Creditation} +\postnoms{\Creditation} \jobtitle{\JobTitle} %\signature{signature.png} % % % % % % % % % % % % % % % % % % % % % % % % % % % %