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
\RequirePackage{graphicx}
\newcommand{\placelogocmd}{\includegraphics{\placelogo}}
\ifx\placelogo\undefined
\renewcommand{\placelogocmd}{}
\newcommand{\placelogocmd}{ }
\else
\newcommand{\placelogocmd}{\includegraphics{\placelogo}}
\fi
% Define colors

View File

@ -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
\newcommand{\tailsection}{}