diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-09 22:08:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-09 22:08:16 +0000 |
commit | e1378d48a2e7d9c329f0073d8ce4ad98e6206284 (patch) | |
tree | 8070987d2feb824d2e81f3cb995476c4624939fb /Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenletter.cls | |
parent | e5c432b3237839bafdb4af7a892daac9540f0bfd (diff) |
uantwerpendocs (9jan17)
git-svn-id: svn://tug.org/texlive/trunk@42912 c570f23f-e606-0410-a88d-b1316a301751
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 |