diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls index 00284556fec..882a2d02fb3 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls @@ -25,8 +25,8 @@ %% The Current Maintainer of this work is Walter Daems. %% \ProvidesClass{uantwerpenletter} -\def\fileversion{1.7} -\def\filedate{2016/05/01} +\def\fileversion{1.8} +\def\filedate{2017/01/08} \newif\if@filled \DeclareOption{filled}{\@filledtrue} @@ -42,6 +42,8 @@ \RequirePackage[normalem]{ulem} \RequirePackage{atbegshi} \RequirePackage{ifthen} +\RequirePackage{ifmtarg} +\RequirePackage{shellesc} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} \RequirePackage{color} @@ -186,6 +188,8 @@ \renewcommand*{\opening}[1]{#1} \newcommand{\@closing}{<specify a closing formula using \tbs closing\{\}>} \renewcommand*{\closing}[1]{\renewcommand{\@closing}{#1}} +\newcommand{\@signature}{\vspace*{8ex}} +\renewcommand*{\signature}[1]{\renewcommand{\@signature}{#1}} \newcommand{\@carboncopy}{} \newcommand{\carboncopy}[1]{\renewcommand{\@carboncopy}{#1}} \newcommand{\@enclosed}{} @@ -232,8 +236,8 @@ {\includegraphics{\footername}}; \end{tikzpicture} ~\\[3ex] - \textcolor{uacorpblue}{\bf \@sender}\\* - \@senderrole\\[1.75ex] + \textcolor{uacorpblue}{\bf \@sender} + \ifx\@senderrole\@emptymacro\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi \@faculty \ifx\@unit\@emptymacro\else\\* \@unit\fi~\\[1.75ex] \@address\\[1.75ex] @@ -253,12 +257,12 @@ \end{tikzpicture}~\\[4ex] } \AtEndDocument{ - \@closing\\*[12ex] - \@sender\\* - \@senderrole + \@closing\\*[3ex]\@signature~\\[3ex] + \@sender + \ifx\@senderrole\@emptymacro\\[8ex]\else\\*\@senderrole\\[8ex]\fi \setlength{\parskip}{0em} - \ifx\@carboncopy\@emptymacro\else ~\\[4ex] CC: \@carboncopy\fi - \ifx\@enclosed\@emptymacro\else ~\\[4ex] ENCL: \@enclosed\fi + \ifx\@carboncopy\@emptymacro\else CC: \@carboncopy\\[4ex]\fi + \ifx\@enclosed\@emptymacro\else ENCL: \@enclosed\fi \label{lastpage} } \endinput |