Fixed bug in letter when not using logo

This commit is contained in:
lleene 2019-09-09 11:33:45 +01:00
parent 15caab74de
commit 2615bee1c8
No known key found for this signature in database
GPG Key ID: 3C14B06FB8AA5BBB
3 changed files with 16 additions and 10 deletions

View File

@ -7,9 +7,10 @@
% Define logo % Define logo
\RequirePackage{graphicx} \RequirePackage{graphicx}
\newcommand{\placelogocmd}{\includegraphics{\placelogo}}
\ifx\placelogo\undefined \ifx\placelogo\undefined
\renewcommand{\placelogocmd}{} \newcommand{\placelogocmd}{ }
\else
\newcommand{\placelogocmd}{\includegraphics{\placelogo}}
\fi \fi
% Define colors % Define colors

View File

@ -120,13 +120,18 @@ Last Updated on \today } % Last Updated text
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% FOOT NOTE COMMAND % 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}{} \newcommand{\tailsection}{}

View File

@ -7,7 +7,7 @@
% %
% Information about who sent the letter % Information about who sent the letter
\dept{\Organisation} \dept{\Organisation}
\address{\Address} \address{\Address}
\telephone{\Telephone} \telephone{\Telephone}
%\fax{+44 (0)20 7584 8120} %\fax{+44 (0)20 7584 8120}
\email{\Email} \email{\Email}
@ -15,7 +15,7 @@
\web{\Website} \web{\Website}
\nametitle{\Salutation} \nametitle{\Salutation}
\author{\FirstName~\LastName} \author{\FirstName~\LastName}
\postnoms{\Creditation} \postnoms{\Creditation}
\jobtitle{\JobTitle} \jobtitle{\JobTitle}
%\signature{signature.png} %\signature{signature.png}
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %