summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uwa-letterhead
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-28 20:40:23 +0000
committerKarl Berry <karl@freefriends.org>2021-09-28 20:40:23 +0000
commitfe334028b5c254c919a4ee67103800aba1f481e4 (patch)
treef9dea53a01b422004f800b4bd9542ccb243f4cb4 /Master/texmf-dist/tex/latex/uwa-letterhead
parentf06a5f0f23c5ab37c64380544148471b59c35a91 (diff)
uwa-letterhead (28sep21)
git-svn-id: svn://tug.org/texlive/trunk@60635 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uwa-letterhead')
-rw-r--r--Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty25
1 files changed, 19 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty b/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty
index 0a4ed8a2ded..58cd87d7512 100644
--- a/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty
+++ b/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty
@@ -21,12 +21,14 @@
%% The Current Maintainer of this work is Anthony Di Pietro.
%%
%% This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-%% example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
+%% uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+%% uwa-letterhead.pdf.
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{uwa-letterhead}
- [2019/08/31 1.0.0 UWA Letterhead]
+ [2021/09/13 1.0.1 UWA Letterhead]
\newif\ifuwalh@uwafont
+\newif\ifuwalh@footer
\newif\ifuwalh@arialfont
\DeclareOption{uwafont}{
\uwalh@uwafonttrue
@@ -34,6 +36,12 @@
\DeclareOption{nouwafont}{
\uwalh@uwafontfalse
}
+\DeclareOption{footer}{
+ \uwalh@footertrue
+}
+\DeclareOption{nofooter}{
+ \uwalh@footerfalse
+}
\DeclareOption{arial}{
\uwalh@arialfonttrue
}
@@ -64,6 +72,7 @@
}
\ExecuteOptions{
uwafont,
+ nofooter,
arial,
light
}
@@ -84,8 +93,12 @@
\else
\newcommand*{\uwalh@uwa}{\sffamily}
\fi
-\ifuwalh@arialfont
- \newfontfamily{\uwalh@arial}{Arial}
+\ifuwalh@footer
+ \ifuwalh@arialfont
+ \newfontfamily{\uwalh@arial}{Arial}
+ \else
+ \newcommand*{\uwalh@arial}{\sffamily}
+ \fi
\else
\newcommand*{\uwalh@arial}{\sffamily}
\fi
@@ -322,7 +335,7 @@
\uwalh@checkfield{\uwalh@school}{\noexpand\school}
\uwalh@checkfield{\uwalh@mbdp}{\noexpand\mbdp}
\uwalh@checkfield{\uwalh@phone}{\noexpand\phone}
- \uwalh@checkfield{\uwalh@mobile}{\noexpand\mobile}
+ \ifuwalh@footer\uwalh@checkfield{\uwalh@mobile}{\noexpand\mobile}\fi
\uwalh@checkfield{\uwalh@email}{\noexpand\email}
}
\newcommand{\uwalh@makeletterhead}{%
@@ -330,7 +343,7 @@
\uwalh@bar{}%
\uwalh@logo{}%
\uwalh@addressblock{}%
- \uwalh@firstpagefooter{}%
+ \ifuwalh@footer\uwalh@firstpagefooter{}\fi%
\vspace*{\uwalh@vspaceatstart}%
}
\AtBeginDocument{\uwalh@makeletterhead}