summaryrefslogtreecommitdiff
path: root/macros/unicodetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-09-29 03:02:14 +0000
committerNorbert Preining <norbert@preining.info>2021-09-29 03:02:14 +0000
commit0396814223158484c2f424d382bcd670de158d82 (patch)
treea29575da4ec01f8ac3611b6c2e632c45de465dcf /macros/unicodetex
parenta2b2d914413ee324c82473e97eab978f2dff8a5f (diff)
CTAN sync 202109290302
Diffstat (limited to 'macros/unicodetex')
-rw-r--r--macros/unicodetex/latex/uwa-letterhead/README3
-rw-r--r--macros/unicodetex/latex/uwa-letterhead/uwa-letterhead-example.tex (renamed from macros/unicodetex/latex/uwa-letterhead/example.tex)4
-rw-r--r--macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.dtx54
-rw-r--r--macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.ins6
-rw-r--r--macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.pdfbin58265 -> 58508 bytes
-rw-r--r--macros/unicodetex/latex/uwa-pcf/README24
-rw-r--r--macros/unicodetex/latex/uwa-pcf/uwa-pcf-example.tex47
-rw-r--r--macros/unicodetex/latex/uwa-pcf/uwa-pcf.dtx735
-rw-r--r--macros/unicodetex/latex/uwa-pcf/uwa-pcf.ins58
-rw-r--r--macros/unicodetex/latex/uwa-pcf/uwa-pcf.pdfbin0 -> 53157 bytes
-rw-r--r--macros/unicodetex/latex/uwa-pif/README24
-rw-r--r--macros/unicodetex/latex/uwa-pif/uwa-pif-example.tex92
-rw-r--r--macros/unicodetex/latex/uwa-pif/uwa-pif.dtx646
-rw-r--r--macros/unicodetex/latex/uwa-pif/uwa-pif.ins58
-rw-r--r--macros/unicodetex/latex/uwa-pif/uwa-pif.pdfbin0 -> 50323 bytes
15 files changed, 1736 insertions, 15 deletions
diff --git a/macros/unicodetex/latex/uwa-letterhead/README b/macros/unicodetex/latex/uwa-letterhead/README
index 5aa003f531..15b9f212d2 100644
--- a/macros/unicodetex/latex/uwa-letterhead/README
+++ b/macros/unicodetex/latex/uwa-letterhead/README
@@ -20,4 +20,5 @@ This work has the LPPL maintenance status `maintained'.
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.
diff --git a/macros/unicodetex/latex/uwa-letterhead/example.tex b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead-example.tex
index 9168e2d7d1..3a467e0eeb 100644
--- a/macros/unicodetex/latex/uwa-letterhead/example.tex
+++ b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead-example.tex
@@ -13,7 +13,8 @@
% 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.
\documentclass[a4paper,11pt]{article}
\usepackage{uwa-letterhead}
@@ -22,7 +23,6 @@
\school{School of Psychological Science}
\mbdp{000}
\phone{+61 8 6488 0000}
-\mobile{+61 000 000 000}
\email{john.smith@uwa.edu.au}
\begin{document}
diff --git a/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.dtx b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.dtx
index 87f044cc85..7f3a1e4073 100644
--- a/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.dtx
+++ b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.dtx
@@ -14,7 +14,8 @@
% 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.
% \fi
%
% \iffalse
@@ -24,7 +25,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<package>\ProvidesPackage{uwa-letterhead}
%<*package>
- [2019/08/31 1.0.0 UWA Letterhead]
+ [2021/09/13 1.0.1 UWA Letterhead]
%</package>
%
%<*driver>
@@ -38,7 +39,7 @@
regular,
nouwafont,
noarial
-]{uwa-letterhead}[2019/08/31]
+]{uwa-letterhead}[2021/09/13]
\GetFileInfo{uwa-letterhead.dtx}
\setcounter{secnumdepth}{3}
\geometry{
@@ -59,7 +60,7 @@
\DisableCrossrefs
\CodelineIndex
\RecordChanges
-\CheckSum{545}
+\CheckSum{561}
\begin{document}
\DocInput{uwa-letterhead.dtx}
\end{document}
@@ -83,6 +84,7 @@
% Right brace \} Tilde \~}
%
% \changes{1.0.0}{2019/08/31}{Initial version}
+% \changes{1.0.1}{2021/09/13}{Make first-page footer optional}
%
% \maketitle
%
@@ -104,7 +106,7 @@
% typeface for the first-page footer and the
% \href{https://www.brand.uwa.edu.au/}{UWA Slab} typeface for headings.
% The fonts must be installed on the system for this to work. Arial is
-% available as part of Microsoft's TypeType core fonts for the web
+% available as part of Microsoft's TrueType core fonts for the web
% (\url{https://sourceforge.net/projects/mscorefonts2/}), and UWA Slab is
% available from the UWA website
% (\url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/fonts/uwa/}).
@@ -132,6 +134,13 @@
% \item |nouwafont|: Use the body text typeface for headings.
% \end{itemize}
%
+% You can pass the following options to specify whether to include the
+% first-page footer:
+% \begin{itemize}
+% \item |footer|: Include the first-page footer.
+% \item |nofooter|: Do not include the first-page footer (default).
+% \end{itemize}
+%
% You can pass the following options to specify whether to use Arial
% for the first-page footer:
% \begin{itemize}
@@ -241,14 +250,17 @@
%
% \begin{minipage}{\textwidth}
% \begin{macro}{\uwalh@uwafont}
+% \begin{macro}{\uwalh@footer}
% \begin{macro}{\uwalh@arialfont}
% Define conditionals for the package options.
% \begin{macrocode}
\newif\ifuwalh@uwafont
+\newif\ifuwalh@footer
\newif\ifuwalh@arialfont
% \end{macrocode}
% \end{macro}
% \end{macro}
+% \end{macro}
% \end{minipage}
%
% The |uwafont| and |nouwafont| options respectively enable and disable
@@ -262,6 +274,17 @@
}
% \end{macrocode}
%
+% The |footer| and |nofooter| options respectively enable and disable
+% the first-page footer.
+% \begin{macrocode}
+\DeclareOption{footer}{
+ \uwalh@footertrue
+}
+\DeclareOption{nofooter}{
+ \uwalh@footerfalse
+}
+% \end{macrocode}
+%
% The |arial| and |noarial| options respectively enable and disable
% using Arial for the first-page footer.
% \begin{macrocode}
@@ -301,14 +324,17 @@
}{sourcecodepro}
}
% \end{macrocode}
-% Use the |uwafont|, |arial|, and |light| options by default.
+%
+% Use the |uwafont|, |nofooter|, |arial|, and |light| options by default.
% \begin{macrocode}
\ExecuteOptions{
uwafont,
+ nofooter,
arial,
light
}
% \end{macrocode}
+%
% Complete option processing.
% \begin{macrocode}
\ProcessOptions\relax
@@ -355,8 +381,12 @@
%
% Set font for first-page footer.
% \begin{macrocode}
-\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
@@ -385,6 +415,7 @@
\titlespacing*{\section}{0em}{2\baselineskip}{0em}
\titlespacing*{\subsection}{0em}{\baselineskip}{0em}
% \end{macrocode}
+%
% Disable section numbering.
% \begin{macrocode}
\setcounter{secnumdepth}{0}
@@ -424,11 +455,13 @@
% \begin{macrocode}
\RequirePackage{stringstrings}
% \end{macrocode}
+%
% Use |textpos| in |absolute| mode to place letterhead elements
% at arbitrary positions on the page.
% \begin{macrocode}
\RequirePackage[absolute]{textpos}
% \end{macrocode}
+%
% Use |graphicx| to add the university logo.
% \begin{macrocode}
\RequirePackage{graphicx}
@@ -590,6 +623,7 @@
% \begin{macro}{\address}
% \begin{macro}{\phone}
% \begin{macro}{\mobile}
+% \changes{1.0.1}{2021/09/13}{Make mobile optional without first-page footer}
% \begin{macro}{\email}
% \begin{macro}{\website}
% \begin{macro}{\footeraddress}
@@ -858,7 +892,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}
}
% \end{macrocode}
@@ -874,7 +908,7 @@
\uwalh@bar{}%
\uwalh@logo{}%
\uwalh@addressblock{}%
- \uwalh@firstpagefooter{}%
+ \ifuwalh@footer\uwalh@firstpagefooter{}\fi%
\vspace*{\uwalh@vspaceatstart}%
}
% \end{macrocode}
diff --git a/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.ins b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.ins
index fbf81d2c00..914719e130 100644
--- a/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.ins
+++ b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.ins
@@ -13,7 +13,8 @@
%% 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.
\input docstrip.tex
\keepsilent
@@ -37,7 +38,8 @@ This work has the LPPL maintenance status `maintained'.
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.
\endpreamble
diff --git a/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.pdf b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.pdf
index 1325f7aa0d..cdc994b8cd 100644
--- a/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.pdf
+++ b/macros/unicodetex/latex/uwa-letterhead/uwa-letterhead.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/uwa-pcf/README b/macros/unicodetex/latex/uwa-pcf/README
new file mode 100644
index 0000000000..4af4f788fe
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pcf/README
@@ -0,0 +1,24 @@
+This package generates a Participant Consent Form (PCF) for a
+human research protocol at the University of Western Australia.
+
+It requires the UWA logo in PDF format, which is available in SVG format at
+https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/,
+and uses the Arial (https://docs.microsoft.com/en-us/typography/font-list/arial)
+and UWA Slab (https://www.brand.uwa.edu.au/) fonts by default.
+
+Copyright 2019, 2021 Anthony Di Pietro
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Anthony Di Pietro.
+
+This work consists of the files uwa-pcf.dtx, uwa-pcf.ins, and
+uwa-pcf-example.tex and the derived files uwa-pcf.cls and uwa-pcf.pdf.
diff --git a/macros/unicodetex/latex/uwa-pcf/uwa-pcf-example.tex b/macros/unicodetex/latex/uwa-pcf/uwa-pcf-example.tex
new file mode 100644
index 0000000000..a39fa7100c
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pcf/uwa-pcf-example.tex
@@ -0,0 +1,47 @@
+% Copyright 2019, 2021 Anthony Di Pietro
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Anthony Di Pietro.
+%
+% This work consists of the files uwa-pcf.dtx, uwa-pcf.ins, and
+% uwa-pcf-example.tex and the derived files uwa-pcf.cls and uwa-pcf.pdf.
+
+\documentclass{uwa-pcf}
+
+\author{John Smith}
+\school{School of Psychological Science}
+\mbdp{000}
+\phone{+61 8 6488 0000}
+\email{john.smith@uwa.edu.au}
+\project{My Research Project}
+
+\begin{document}
+
+I, \theparticipant, have read the information provided and any
+questions I have asked have been answered to my satisfaction. I agree
+to participate in this research project but withdrawal is not possible
+once data are submitted.
+
+I understand that all identifiable (attributable) information that I
+provide is treated as strictly confidential and will not be released
+by the investigator in any form that may identify me. The only
+exception to this principle of confidentiality is if documents are
+required by law.
+
+I have been advised as to what data is being collected, the purpose
+for collecting the data, and what will be done with the data upon
+completion of the research.
+
+I agree that research data gathered for the study may be published
+provided my name or other identifying information is not used.
+
+\end{document}
diff --git a/macros/unicodetex/latex/uwa-pcf/uwa-pcf.dtx b/macros/unicodetex/latex/uwa-pcf/uwa-pcf.dtx
new file mode 100644
index 0000000000..d8c52a147b
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pcf/uwa-pcf.dtx
@@ -0,0 +1,735 @@
+% \iffalse meta-comment
+% Copyright 2019, 2021 Anthony Di Pietro
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Anthony Di Pietro.
+%
+% This work consists of the files uwa-pcf.dtx, uwa-pcf.ins, and
+% uwa-pcf-example.tex and the derived files uwa-pcf.cls and uwa-pcf.pdf.
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{uwa-pcf.dtx}
+%</driver>
+%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+%<class>\ProvidesClass{uwa-pcf}
+%<*class>
+ [2021/09/28 1.0.1 UWA Participant Consent Form]
+%</class>
+%
+%<*driver>
+\documentclass[
+ a4paper,
+ 10pt
+]{ltxdoc}
+\usepackage{hypdoc}
+\PassOptionsToPackage{scale=0.9}{sourcecodepro}
+\usepackage[regular]{uwa-letterhead}[2021/09/13]
+\GetFileInfo{uwa-pcf.dtx}
+\setcounter{secnumdepth}{3}
+\geometry{
+ left=5cm,
+ right=2cm
+}
+\hypersetup{colorlinks=true}
+\date{}
+\makeatletter
+\title{%
+ {The UWA Participant Consent Form Class} \\
+ {\Large uwa-pcf \fileversion{} (\filedate{})}%
+}
+\c@IndexColumns = 2
+\renewcommand*{\uwalh@uwa}{\sffamily}
+\renewcommand{\uwalh@makeletterhead}{}
+\makeatother
+\DoNotIndex{\newcommand, \newenvironment}
+\DisableCrossrefs
+\CodelineIndex
+\RecordChanges
+\CheckSum{328}
+\begin{document}
+ \DocInput{uwa-pcf.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \changes{1.0.0}{2019/08/31}{Initial version}
+% \changes{1.0.1}{2021/09/28}{Make HREO statement and signature lines optional}
+%
+% \maketitle
+%
+% \section{Introduction}
+%
+% This class generates a Participant Consent Form (PCF) for a
+% human research protocol at the University of Western Australia.
+%
+% \section{Usage}
+%
+% \subsection{External Dependencies}
+%
+% You must supply the university logo (as |uwacrest-blue.pdf| by default).
+% It is available in SVG format at
+% \href{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}
+% {https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}.
+%
+% In accordance with the official PCF template, this class uses the
+% \href{https://docs.microsoft.com/en-us/typography/font-list/arial}{Arial}
+% typeface by default. The fonts must be installed on the system for this to
+% work. Arial is available as part of Microsoft's TrueType core fonts for the
+% web (\url{https://sourceforge.net/projects/mscorefonts2/}). Alternatively,
+% you can use the |noarial| package option to substitute it with
+% \href{https://adobe-fonts.github.io/source-sans/}{Source Sans Pro}, the usual
+% typeface used for university correspondence.
+%
+% \subsection{Class Options}
+%
+% \DescribeMacro{\documentclass}
+% To select the class, add this to your preamble:
+% \begin{quote}
+% |\documentclass{uwa-pcf}|
+% \end{quote}
+%
+% This class supports the |draft|, |final|, |leqno|, and |fleqn| options
+% from the |article| base class and the |footer|, |nofooter|, |arial|, and
+% |noarial| options from the |uwa-letterhead| package.
+%
+% You can pass the following options to specify whether to include the
+% mandatory Human Ethics Research Office (HREO) statement:
+% \begin{itemize}
+% \item |hreo|: Include HREO statement (default).
+% \item |nohreo|: Do not include HREO statement.
+% \end{itemize}
+%
+% You can pass the following options to specify whether to include the
+% signature and date lines:
+% \begin{itemize}
+% \item |signature|: Include signature and date lines (default).
+% \item |nosignature|: Do not include signature and date lines.
+% \end{itemize}
+%
+% \subsection{Letterhead Fields}
+%
+% Use the following commands in the preamble to set the letterhead fields:
+%
+% \DescribeMacro{\author}
+% \begin{minipage}[t]{\textwidth}
+% |\author|\marg{author} \\
+% The author of the document. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\school}
+% \begin{minipage}[t]{\textwidth}
+% |\school|\marg{school} \\
+% The author's school within the university. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\mbdp}
+% \begin{minipage}[t]{\textwidth}
+% |\mbdp|\marg{mbdp} \\
+% The author's \href{http://www.staff.uwa.edu.au/facilities/mail/mbdp}
+% {mailbag delivery point (MBDP)}. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\university}
+% \begin{minipage}[t]{\textwidth}
+% |\university|\marg{university} \\
+% The name of the university. \\
+% Default: \textit{The University of Western Australia}
+% \end{minipage}
+%
+% \DescribeMacro{\address}
+% \begin{minipage}[t]{\textwidth}
+% |\address|\marg{address} \\
+% The university's address. \\
+% Default: \textit{35 Stirling Highway, Crawley WA 6009}
+% \end{minipage}
+%
+% \DescribeMacro{\phone}
+% \begin{minipage}[t]{\textwidth}
+% |\phone|\marg{phone} \\
+% The author's phone number. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\mobile}
+% \begin{minipage}[t]{\textwidth}
+% |\mobile|\marg{mobile} \\
+% The author's mobile number. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\email}
+% \begin{minipage}[t]{\textwidth}
+% |\email|\marg{email} \\
+% The author's email address. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\website}
+% \begin{minipage}[t]{\textwidth}
+% |\website|\marg{website} \\
+% The author's website, or their school's website. \\
+% Omit the scheme (|https://|) and path (|/|). \\
+% Default: \textit{www.uwa.edu.au}
+% \end{minipage}
+%
+% \DescribeMacro{\footeraddress}
+% \begin{minipage}[t]{\textwidth}
+% |\footeraddress|\marg{footeraddress} \\
+% The university's address, shortened for the first-page footer. \\
+% Default: \textit{Perth WA 6009 Australia}
+% \end{minipage}
+%
+% \DescribeMacro{\cricos}
+% \begin{minipage}[t]{\textwidth}
+% |\cricos|\marg{cricos} \\
+% The university's \href{http://cricos.education.gov.au/}{CRICOS} provider code. \\
+% Default: \textit{00126G}
+% \end{minipage}
+%
+% \DescribeMacro{\uwacrest}
+% \begin{minipage}[t]{\textwidth}
+% |\uwacrest|\marg{uwacrest} \\
+% The filename of the UWA crest in PDF format (available in SVG format at
+% \href{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}
+% {https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}). \\
+% Default: \textit{uwacrest-blue.pdf}
+% \end{minipage}
+%
+% \subsection{Project Fields}
+%
+% Use the following commands in the preamble to set the project fields:
+%
+% \DescribeMacro{\project}
+% \begin{minipage}[t]{\textwidth}
+% |\project|\marg{project} \\
+% The project's title. \\
+% Required
+% \end{minipage}
+%
+% \subsection{Participant Name}
+%
+% \DescribeMacro{\theparticipant}
+% Use |\theparticipant| to generate the line for the participant's name.
+% For example:
+%
+% \begin{quote}
+% \begin{verbatim}
+% I, \theparticipant, have read the information provided and
+% any questions I have asked have been answered to my satisfaction.
+% I agree to participate in this research project but withdrawal
+% is not possible once data are submitted.
+% \end{verbatim}
+% \end{quote}
+%
+% \StopEventually{\PrintChanges\PrintIndex}
+%
+% \section{Implementation}
+%
+% \subsection{Class Options}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\uwapcf@hreo}
+% \begin{macro}{\uwapcf@signature}
+% Define conditionals for the class options.
+% \begin{macrocode}
+\newif\ifuwapcf@hreo
+\newif\ifuwapcf@signature
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{minipage}
+%
+% The |hreo| and |nohreo| options respectively enable and disable
+% the HREO statement.
+% \begin{macrocode}
+\DeclareOption{hreo}{
+ \uwapcf@hreotrue
+}
+\DeclareOption{nohreo}{
+ \uwapcf@hreofalse
+}
+% \end{macrocode}
+%
+% The |signature| and |nosignature| options respectively enable and disable
+% the signature and date lines.
+% \begin{macrocode}
+\DeclareOption{signature}{
+ \uwapcf@signaturetrue
+}
+\DeclareOption{nosignature}{
+ \uwapcf@signaturefalse
+}
+% \end{macrocode}
+%
+% Pass the |draft|, |final|, |leqno|, and |fleqn| options through to the
+% |article| base class, and pass the |footer|, |nofooter|, |arial|, and
+% |noarial| options through to the |uwa-letterhead| package.
+% \begin{macrocode}
+\DeclareOption{draft}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{final}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{leqno}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{fleqn}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{footer}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+\DeclareOption{nofooter}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+\DeclareOption{arial}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+\DeclareOption{noarial}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+% \end{macrocode}
+%
+% Show a warning for unknown options.
+% \begin{macrocode}
+\DeclareOption*{
+ \ClassWarning{uwa-pcf}{Unknown option '\CurrentOption'}
+}
+% \end{macrocode}
+%
+% Use the |hreo| and |signature| options by default.
+% \begin{macrocode}
+\ExecuteOptions{
+ hreo,
+ signature
+}
+% \end{macrocode}
+%
+% Complete option processing.
+% \begin{macrocode}
+\ProcessOptions\relax
+% \end{macrocode}
+%
+% Load the |article| base class with the |a4paper| and |11pt| options.
+% \begin{macrocode}
+\PassOptionsToClass{
+ a4paper,
+ 11pt
+}{article}
+\LoadClass{article}
+% \end{macrocode}
+%
+% \subsection{Page Configuration}
+%
+% Use |uwa-letterhead| to configure the page.
+% \begin{macrocode}
+\RequirePackage[regular]{uwa-letterhead}
+% \end{macrocode}
+%
+% Adjust paragraph spacing.
+% \begin{macrocode}
+\setlength{\parskip}{0.83\baselineskip}
+% \end{macrocode}
+%
+% \subsection{Font Configuration}
+%
+% Use |fontspec| for access to OpenType and TrueType fonts.
+% \begin{macrocode}
+\RequirePackage[no-math]{fontspec}
+% \end{macrocode}
+%
+% Set default fonts.
+% \begin{macrocode}
+\uwalh@arial
+\ifuwalh@arialfont
+ \setmainfont{Arial}
+ \setsansfont{Arial}
+\fi
+\renewcommand{\familydefault}{\sfdefault}
+% \end{macrocode}
+%
+% Use |anyfontsize| to support the irregular font sizes required.
+% \begin{macrocode}
+\RequirePackage{anyfontsize}
+% \end{macrocode}
+%
+% \subsection{Letterhead}
+%
+% Adjust the address block of the letterhead to match the PCF template.
+% \begin{macro}{\uwalh@addresstop}
+% \begin{macro}{\uwalh@addressblock}
+% \begin{macrocode}
+\setlength{\uwalh@addresstop}{2.07cm}
+\renewcommand{\uwalh@addressblock}{%
+ \begin{textblock*}%
+ {\uwalh@addresswidth}(\uwalh@addressleft, \uwalh@addresstop)
+ \begin{minipage}[t]{\uwalh@addresswidth}
+ \color{UWAPCFBody}%
+ \sffamily\fontsize{9}{10.4}\selectfont%
+ \@author{} \\
+ \uwalh@school{}, M\uwalh@mbdp{} \\
+ \uwalh@university{} \\
+ \uwalh@address{} \\
+ \noblanks[q]{\uwalh@phone}%
+ Tel: \href{tel:\thestring}{\uwalh@phone} \\
+ Email: \href{mailto:\uwalh@email}{\uwalh@email} \\
+ \href{https://\uwalh@website/}{\uwalh@website}
+ \end{minipage}
+ \end{textblock*}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsection{Heading Configuration}
+%
+% Use |titlesec| to configure headings.
+% \begin{macrocode}
+\RequirePackage[sf]{titlesec}
+\titleformat{\section}{\color{black}\bfseries}{\thesection}{1em}{}
+\titleformat{\subsection}{\color{black}\bfseries\small}{\thesubsection}{1em}{}
+\titlespacing*{\section}{0pt}{-0.07em}{-0.07em}
+\titlespacing*{\subsection}{0pt}{-0.07em}{-0.07em}
+% \end{macrocode}
+% Disable section numbering.
+% \begin{macrocode}
+\setcounter{secnumdepth}{0}
+% \end{macrocode}
+%
+% \subsection{Colour Configuration}
+%
+% Use |xcolor| for colour support, and enable |hyperref| compatibility.
+% \begin{macrocode}
+\RequirePackage[hyperref]{xcolor}
+% \end{macrocode}
+% Define body text colour.
+% \begin{macrocode}
+\definecolor{UWAPCFBody}{RGB}{77, 77, 79}
+% \end{macrocode}
+%
+% \subsection{Template Fields}
+%
+% Set default values for the letterhead template fields.
+% \begin{macrocode}
+\renewcommand*{\uwalh@footermbdp}{459}
+\renewcommand*{\uwalh@footerphone}{+61 8 6488 3703}
+\renewcommand*{\uwalh@mobile}{+61 000 000 000}
+\renewcommand*{\uwalh@footeremail}{humanethics@uwa.edu.au}
+% \end{macrocode}
+%
+% Redefine macros to set the letterhead template fields
+% without affecting the first-page footer.
+% \begin{macrocode}
+\renewcommand*{\mbdp}[1]{\renewcommand*{\uwalh@mbdp}{#1}}
+\renewcommand*{\university}[1]{\renewcommand*{\uwalh@university}{#1}}
+\renewcommand*{\phone}[1]{\renewcommand*{\uwalh@phone}{#1}}
+\renewcommand*{\mobile}[1]{}
+\renewcommand*{\email}[1]{\renewcommand*{\uwalh@email}{#1}}
+% \end{macrocode}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\uwapcf@project}
+% Set default values for the template fields.
+% \begin{macrocode}
+\newcommand*{\uwapcf@project}{}
+% \end{macrocode}
+% \end{macro}
+% \end{minipage}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\project}
+% Define macros to set the template fields.
+% \begin{macrocode}
+\newcommand*{\project}[1]{\renewcommand*{\uwapcf@project}{#1}}
+% \end{macrocode}
+% \end{macro}
+% \end{minipage}
+%
+% \subsection{Field Validation}
+%
+% \begin{macro}{\uwapcf@checkfields}
+% Check that the required template fields are set.
+% \begin{macrocode}
+\newcommand{\uwapcf@checkfields}{%
+ \uwalh@checkfield{\uwapcf@project}{\noexpand\project}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Document Title}
+%
+% \begin{macro}{\uwapcf@maketitle}
+% Generate the title of the Participant Consent Form, including the
+% fields for the project title and researchers.
+% \begin{macrocode}
+\newcommand{\uwapcf@maketitle}{%
+ \uwapcf@checkfields{}%
+ \vspace{-1\parskip}\vspace{-0.310cm}%
+ \begin{center}%
+ \uwalh@arial%
+ \fontsize{16}{16.96}\selectfont%
+ \textbf{Participant Consent Form}%
+ \normalsize%
+ \end{center}%
+ \vspace{-1\parskip}\vspace{-0.120cm}%
+ \begin{center}%
+ \uwalh@arial%
+ \fontsize{12}{12.72}\selectfont%
+ \uwapcf@project{}%
+ \normalsize%
+ \end{center}%
+ \uwalh@arial%
+ \fontsize{10}{11.6}\selectfont%
+ \vspace{-1\parskip}\vspace{0.860cm}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Signature Lines}
+%
+% \begin{macro}{\uwapcf@sig@vspace}
+% The vertical space before the signature lines.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@vspace}
+\setlength{\uwapcf@sig@vspace}{1.3cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@sig@rulewidth}
+% The width of the signature lines.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@rulewidth}
+\setlength{\uwapcf@sig@rulewidth}{0.0227cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@sig@offset}
+% The horizontal offset of the leftmost signature line.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@offset}
+\setlength{\uwapcf@sig@offset}{0.095cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@sig@labeloffset}
+% The horizontal offset of the signature line labels.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@labeloffset}
+\setlength{\uwapcf@sig@labeloffset}{0.008cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@siglabelvspace}
+% The vertical space added before the signature line labels.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@labelvspace}
+\setlength{\uwapcf@sig@labelvspace}{-0.0675cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@sig@gutter}
+% The horizontal space between the signature lines.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@gutter}
+\setlength{\uwapcf@sig@gutter}{3cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@sig@siglinelength}
+% The length of the line for the signature.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@siglinelength}
+\setlength{\uwapcf@sig@siglinelength}{4.905cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@sig@datelinelength}
+% The length of the line for the date.
+% \begin{macrocode}
+\newlength{\uwapcf@sig@datelinelength}
+\setlength{\uwapcf@sig@datelinelength}{2.946cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@makesignature}
+% Generate the signature lines.
+% \begin{macrocode}
+\newcommand{\uwapcf@makesignature}{%
+ \vspace{\uwapcf@sig@vspace}%
+ \hspace{\uwapcf@sig@offset}%
+ \begin{minipage}[t]{\uwapcf@sig@siglinelength}
+ \rule{\textwidth}{\uwapcf@sig@rulewidth} \\
+ \vspace{-1\baselineskip}\vspace{\uwapcf@sig@labelvspace} \\
+ \hspace*{\uwapcf@sig@labeloffset}%
+ Participant signature
+ \end{minipage}%
+ \hspace{\uwapcf@sig@gutter}%
+ \begin{minipage}[t]{\uwapcf@sig@datelinelength}
+ \rule{\textwidth}{\uwapcf@sig@rulewidth} \\
+ \vspace{-1\baselineskip}\vspace{\uwapcf@sig@labelvspace} \\
+ \hspace*{\uwapcf@sig@labeloffset}%
+ Date
+ \end{minipage}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{HREO Statement}
+%
+% \begin{macro}{\uwapcf@hreo@vspace}
+% The vertical space before the HREO statement.
+% \begin{macrocode}
+\newlength{\uwapcf@hreo@vspace}
+\setlength{\uwapcf@hreo@vspace}{1.843cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@hreo@font}
+% The font for the HREO statement.
+% \begin{macrocode}
+\newcommand*{\uwapcf@hreo@font}{%
+ \uwalh@arial%
+ \fontsize{9}{10.4}\selectfont%
+ \color{black}%
+ \bfseries\itshape%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@hreo@parvspace}
+% The vertical space between paragraphs for the HREO statement.
+% \begin{macrocode}
+\newlength{\uwapcf@hreo@parvspace}
+\setlength{\uwapcf@hreo@parvspace}{0.5\baselineskip}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@hreo@statement}
+% The statement required by the Human Research Ethics Office (HREO).
+% \begin{macrocode}
+\newcommand{\uwapcf@hreo@statement}{%
+ \begin{minipage}{\textwidth}
+ Approval to conduct this research has been provided by the
+ University of Western Australia, in accordance with its ethics
+ review and approval procedures. Any person considering
+ participation in this research project, or agreeing to
+ participate, may raise any questions or issues with the
+ researchers at any time.
+ \end{minipage}
+
+ \vspace*{\uwapcf@hreo@parvspace}
+
+ \begin{minipage}{\textwidth}
+ In addition, any person not satisfied with the response of
+ researchers may raise ethics issues or concerns, and may make
+ any complaints about this research project by contacting the
+ Human Ethics office at UWA on
+ \href{tel:+61-8-6488-4703}{(08)~6488~4703} or by emailing to
+ \href{mailto:humanethics@uwa.edu.au}{humanethics@uwa.edu.au}.
+ \end{minipage}
+
+ \vspace*{\uwapcf@hreo@parvspace}
+
+ \begin{minipage}{\textwidth}
+ All research participants are entitled to retain a copy of any
+ Participant Information Form and/or Participant Consent Form
+ relating to this research project.
+ \end{minipage}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapcf@makehreostatement}
+% Generate the HREO statement.
+% \begin{macrocode}
+\newcommand{\uwapcf@makehreostatement}{%
+ \vspace{\uwapcf@hreo@vspace} \\
+ \begin{minipage}{\textwidth}
+ {%
+ \uwapcf@hreo@font{}%
+ \uwapcf@hreo@statement{}%
+ }%
+ \end{minipage}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Body Text Font}
+%
+% \begin{macro}{\uwapcf@bodyfont}
+% Set the body text font and colour.
+% \begin{macrocode}
+\newcommand*{\uwapcf@bodyfont}{%
+ \sffamily%
+ \fontsize{11}{15.5}\selectfont%
+ \color{UWAPCFBody}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Form Generation}
+%
+% Automatically generate the title and set the body text font at
+% the beginning of the document.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \uwapcf@bodyfont{}%
+ \uwapcf@maketitle{}%
+}
+% \end{macrocode}
+%
+% Automatically add the signature lines and HREO statement at the end
+% of the document.
+% \begin{macrocode}
+\AtEndDocument{%
+ \ifuwapcf@signature\uwapcf@makesignature{}\fi%
+ \ifuwapcf@hreo\uwapcf@makehreostatement{}\fi%
+}
+% \end{macrocode}
+%
+% \subsection{Participant Name}
+%
+% \begin{macro}{\theparticipant}
+% Generate the line for the participant's name.
+% \begin{macrocode}
+\newcommand{\theparticipant}{%
+ \begin{minipage}[t]{9.415cm}
+ \vspace*{0.048cm}%
+ \rule{\textwidth}{0.0227cm}%
+ \end{minipage}%
+}
+% \end{macrocode}
+% \end{macro}
+% \Finale
+\endinput
diff --git a/macros/unicodetex/latex/uwa-pcf/uwa-pcf.ins b/macros/unicodetex/latex/uwa-pcf/uwa-pcf.ins
new file mode 100644
index 0000000000..501f6ce4a1
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pcf/uwa-pcf.ins
@@ -0,0 +1,58 @@
+%% Copyright 2019 Anthony Di Pietro
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Anthony Di Pietro.
+%%
+%% This work consists of the files uwa-pcf.dtx, uwa-pcf.ins, and
+%% uwa-pcf-example.tex and the derived files uwa-pcf.cls and uwa-pcf.pdf.
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/uwa-pcf}
+
+\preamble
+
+Copyright 2019 Anthony Di Pietro
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Anthony Di Pietro.
+
+This work consists of the files uwa-pcf.dtx, uwa-pcf.ins, and
+uwa-pcf-example.tex and the derived files uwa-pcf.cls and uwa-pcf.pdf.
+
+\endpreamble
+
+\askforoverwritefalse
+\generate{\file{uwa-pcf.cls}{\from{uwa-pcf.dtx}{class}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To complete the installation, move uwa-pcf.cls *}
+\Msg{* into a directory searched by LaTeX. *}
+\Msg{* *}
+\Msg{* To produce the documentation, run uwa-pcf.dtx *}
+\Msg{* through pdfLaTeX. *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/macros/unicodetex/latex/uwa-pcf/uwa-pcf.pdf b/macros/unicodetex/latex/uwa-pcf/uwa-pcf.pdf
new file mode 100644
index 0000000000..978fa44120
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pcf/uwa-pcf.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/uwa-pif/README b/macros/unicodetex/latex/uwa-pif/README
new file mode 100644
index 0000000000..6b84099d33
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pif/README
@@ -0,0 +1,24 @@
+This package generates a Participant Information Form (PIF) for a
+human research protocol at the University of Western Australia.
+
+It requires the UWA logo in PDF format, which is available in SVG format at
+https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/,
+and uses the Calibri (https://docs.microsoft.com/en-us/typography/font-list/calibri)
+fonts by default.
+
+Copyright 2019, 2021 Anthony Di Pietro
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Anthony Di Pietro.
+
+This work consists of the files uwa-pif.dtx, uwa-pif.ins, and
+uwa-pif-example.tex and the derived files uwa-pif.cls and uwa-pif.pdf.
diff --git a/macros/unicodetex/latex/uwa-pif/uwa-pif-example.tex b/macros/unicodetex/latex/uwa-pif/uwa-pif-example.tex
new file mode 100644
index 0000000000..137c3eb108
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pif/uwa-pif-example.tex
@@ -0,0 +1,92 @@
+% Copyright 2019, 2021 Anthony Di Pietro
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Anthony Di Pietro.
+%
+% This work consists of the files uwa-pif.dtx, uwa-pif.ins, and
+% uwa-pif-example.tex and the derived files uwa-pif.cls and uwa-pif.pdf.
+
+\documentclass{uwa-pif}
+
+\author{John Smith}
+\school{School of Psychological Science}
+\mbdp{000}
+\phone{+61 8 6488 0000}
+\email{john.smith@uwa.edu.au}
+\project{My Research Project}
+\researchers{Joe Bloggs (PhD Student) \\ John Smith (Supervisor)}
+
+\begin{document}
+
+\section{Invitation:}
+
+You are invited to participate in a research project. You are asked
+to take part in this project because you are registered as a research
+participant in our database.
+
+\section{Aim of the Study (What is the project about?)}
+
+This project examines how people think and behave.
+
+\section{What does participation involve?}
+
+You will be asked to complete a task. You may also be asked to complete
+surveys that provide demographic information about yourself. This information
+will be anonymised, and so will not be linked to your identity.
+
+We estimate that participating in this study will take 15~minutes.
+
+\section{Voluntary Participation and Withdrawal from the Study}
+
+Participation in this study is entirely voluntary, and does not
+prejudice any right to compensation, which you may be entitled to
+under statute or common law. Should you wish to withdraw from the study
+before completing it, your responses will be discarded. Your data will
+be stored in a deidentified fashion, meaning that no identifying information
+will be associated with the data we collect from you in the experiment.
+Accordingly, you will not be able to withdraw your consent for us to
+use your data once the study has been completed.
+
+\section{Your privacy}
+
+On publication of this work, your responses (without any personally
+identifying information) will be made publicly available by banking
+the data from the entire study on data sharing websites.
+
+\section{Possible Benefits}
+
+The data from this project may allow researchers (including us) to better
+understand how people think and behave.
+
+\section{Possible Risks and Risk Management Plan}
+
+There are no foreseeable risks associated with this study.
+
+\section{Reimbursement}
+
+You will receive a payment of £2 as reimbursement for your participation.
+
+\section{Contacts}
+
+If you would like to participate or discuss any aspect of this study,
+please feel free to contact Mr Joe Bloggs (PhD Student,
+\href{mailto:joe.bloggs@research.uwa.edu.au}{joe.bloggs@research.uwa.edu.au},
+\href{tel:+61-000-000-000}{+61 000 000 000}) or Dr John Smith (Supervisor,
+\href{mailto:john.smith@uwa.edu.au}{john.smith@uwa.edu.au},
+\href{tel:+61-8-6488-000}{+61 8 6488 000}).
+
+\section{About This Document}
+
+You are entitled to retain a copy of this document. If you would prefer
+a PDF copy, email the above contacts to obtain one.
+
+\end{document}
diff --git a/macros/unicodetex/latex/uwa-pif/uwa-pif.dtx b/macros/unicodetex/latex/uwa-pif/uwa-pif.dtx
new file mode 100644
index 0000000000..7bd0944453
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pif/uwa-pif.dtx
@@ -0,0 +1,646 @@
+% \iffalse meta-comment
+% Copyright 2019, 2021 Anthony Di Pietro
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Anthony Di Pietro.
+%
+% This work consists of the files uwa-pif.dtx, uwa-pif.ins, and
+% uwa-pif-example.tex and the derived files uwa-pif.cls and uwa-pif.pdf.
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{uwa-pif.dtx}
+%</driver>
+%<class>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+%<class>\ProvidesClass{uwa-pif}
+%<*class>
+ [2021/09/28 1.0.1 UWA Participant Information Form]
+%</class>
+%
+%<*driver>
+\documentclass[
+ a4paper,
+ 10pt
+]{ltxdoc}
+\usepackage{hypdoc}
+\PassOptionsToPackage{scale=0.9}{sourcecodepro}
+\usepackage[regular]{uwa-letterhead}[2021/09/13]
+\GetFileInfo{uwa-pif.dtx}
+\setcounter{secnumdepth}{3}
+\geometry{
+ left=5cm,
+ right=2cm
+}
+\hypersetup{colorlinks=true}
+\date{}
+\makeatletter
+\title{%
+ {The UWA Participant Information Form Class} \\
+ {\Large uwa-pif \fileversion{} (\filedate{})}%
+}
+\c@IndexColumns = 2
+\renewcommand*{\uwalh@uwa}{\sffamily}
+\renewcommand{\uwalh@makeletterhead}{}
+\makeatother
+\DoNotIndex{\newcommand, \newenvironment}
+\DisableCrossrefs
+\CodelineIndex
+\RecordChanges
+\CheckSum{220}
+\begin{document}
+ \DocInput{uwa-pif.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \changes{1.0.0}{2019/08/31}{Initial version}
+% \changes{1.0.1}{2021/09/28}{
+% Make HREO statement, closing, and Calibri optional
+% }
+%
+% \maketitle
+%
+% \section{Introduction}
+%
+% This class generates a Participant Information Form (PIF) for a
+% human research protocol at the University of Western Australia.
+%
+% \section{Usage}
+%
+% \subsection{External Dependencies}
+%
+% You must supply the university logo (as |uwacrest-blue.pdf| by default).
+% It is available in SVG format at
+% \href{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}
+% {https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}.
+%
+% In accordance with the official PIF template, this class uses the
+% \href{https://docs.microsoft.com/en-us/typography/font-list/calibri}{Calibri}
+% typeface by default. The fonts must be installed on the system for this to
+% work. Calibri is available as part of Microsoft's TrueType core fonts for the
+% web (\url{https://sourceforge.net/projects/mscorefonts2/}). Alternatively,
+% you can use the |nocalibri| class option to substitute it with
+% \href{https://adobe-fonts.github.io/source-sans/}{Source Sans Pro}, the usual
+% typeface used for university correspondence.
+%
+% With the |footer| option, this class uses the
+% \href{https://docs.microsoft.com/en-us/typography/font-list/arial}{Arial}
+% typeface by default. The fonts must be installed on the system for this to
+% work. Arial is also available as part of Microsoft's TrueType core fonts
+% for the web, and you can use the |noarial| class option to substitute it
+% with Source Sans Pro.
+%
+% \subsection{Class Options}
+%
+% \DescribeMacro{\documentclass}
+% To select the class, add this to your preamble:
+% \begin{quote}
+% |\documentclass{uwa-pif}|
+% \end{quote}
+%
+% This class supports the |draft|, |final|, |leqno|, and |fleqn| options
+% from the |article| base class and the |footer|, |nofooter|, |arial|, and
+% |noarial| options from the |uwa-letterhead| package.
+%
+% You can pass the following options to specify whether to include the
+% mandatory Human Ethics Research Office (HREO) statement:
+% \begin{itemize}
+% \item |hreo|: Include HREO statement (default).
+% \item |nohreo|: Do not include HREO statement.
+% \end{itemize}
+%
+% You can pass the following options to specify whether to include the
+% closing:
+% \begin{itemize}
+% \item |closing|: Include closing (default).
+% \item |noclosing|: Do not include closing.
+% \end{itemize}
+%
+% You can pass the following options to specify whether to use the
+% Calibri typeface:
+% \begin{itemize}
+% \item |calibri|: Use Calibri (default).
+% \item |nocalibri|: Do not use Calibri.
+% \end{itemize}
+%
+% \subsection{Letterhead Fields}
+%
+% Use the following commands in the preamble to set the letterhead fields:
+%
+% \DescribeMacro{\author}
+% \begin{minipage}[t]{\textwidth}
+% |\author|\marg{author} \\
+% The author of the document. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\school}
+% \begin{minipage}[t]{\textwidth}
+% |\school|\marg{school} \\
+% The author's school within the university. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\mbdp}
+% \begin{minipage}[t]{\textwidth}
+% |\mbdp|\marg{mbdp} \\
+% The author's \href{http://www.staff.uwa.edu.au/facilities/mail/mbdp}
+% {mailbag delivery point (MBDP)}. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\university}
+% \begin{minipage}[t]{\textwidth}
+% |\university|\marg{university} \\
+% The name of the university. \\
+% Default: \textit{The University of Western Australia}
+% \end{minipage}
+%
+% \DescribeMacro{\address}
+% \begin{minipage}[t]{\textwidth}
+% |\address|\marg{address} \\
+% The university's address. \\
+% Default: \textit{35 Stirling Highway, Crawley WA 6009}
+% \end{minipage}
+%
+% \DescribeMacro{\phone}
+% \begin{minipage}[t]{\textwidth}
+% |\phone|\marg{phone} \\
+% The author's phone number. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\mobile}
+% \begin{minipage}[t]{\textwidth}
+% |\mobile|\marg{mobile} \\
+% The author's mobile number. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\email}
+% \begin{minipage}[t]{\textwidth}
+% |\email|\marg{email} \\
+% The author's email address. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\website}
+% \begin{minipage}[t]{\textwidth}
+% |\website|\marg{website} \\
+% The author's website, or their school's website. \\
+% Omit the scheme (|https://|) and path (|/|). \\
+% Default: \textit{www.uwa.edu.au}
+% \end{minipage}
+%
+% \DescribeMacro{\footeraddress}
+% \begin{minipage}[t]{\textwidth}
+% |\footeraddress|\marg{footeraddress} \\
+% The university's address, shortened for the first-page footer. \\
+% Default: \textit{Perth WA 6009 Australia}
+% \end{minipage}
+%
+% \DescribeMacro{\cricos}
+% \begin{minipage}[t]{\textwidth}
+% |\cricos|\marg{cricos} \\
+% The university's \href{http://cricos.education.gov.au/}{CRICOS} provider code. \\
+% Default: \textit{00126G}
+% \end{minipage}
+%
+% \DescribeMacro{\uwacrest}
+% \begin{minipage}[t]{\textwidth}
+% |\uwacrest|\marg{uwacrest} \\
+% The filename of the UWA crest in PDF format (available in SVG format at
+% \href{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}
+% {https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/}). \\
+% Default: \textit{uwacrest-blue.pdf}
+% \end{minipage}
+%
+% \subsection{Project Fields}
+%
+% Use the following commands in the preamble to set the project fields:
+%
+% \DescribeMacro{\project}
+% \begin{minipage}[t]{\textwidth}
+% |\project|\marg{project} \\
+% The project's title. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\researchers}
+% \begin{minipage}[t]{\textwidth}
+% |\researchers|\marg{researchers} \\
+% The project's researchers. Use |\researcher| for each researcher. \\
+% Required
+% \end{minipage}
+%
+% \DescribeMacro{\researcher}
+% \begin{minipage}[t]{\textwidth}
+% |\researcher|\marg{name}\marg{role} \\
+% Define a researcher by name and role.
+% \end{minipage}
+%
+% For example, a student project might define its researchers as follows:
+% \begin{quote}
+% \begin{verbatim}
+% \researchers{
+% \researcher{John Doe}{PhD Student}
+% \researcher{Jane Doe}{Supervisor}
+% }
+% \end{verbatim}
+% \end{quote}
+%
+% \StopEventually{\PrintChanges\PrintIndex}
+%
+% \section{Implementation}
+%
+% \subsection{Class Options}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\uwapif@hreo}
+% \begin{macro}{\uwapif@closing}
+% \begin{macro}{\uwapif@calibrifont}
+% Define conditionals for the class options.
+% \begin{macrocode}
+\newif\ifuwapif@hreo
+\newif\ifuwapif@closing
+\newif\ifuwapif@calibrifont
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{minipage}
+%
+% The |hreo| and |nohreo| options respectively enable and disable
+% the HREO statement.
+% \begin{macrocode}
+\DeclareOption{hreo}{
+ \uwapif@hreotrue
+}
+\DeclareOption{nohreo}{
+ \uwapif@hreofalse
+}
+% \end{macrocode}
+%
+% The |closing| and |noclosing| options respectively enable and disable
+% the closing.
+% \begin{macrocode}
+\DeclareOption{closing}{
+ \uwapif@closingtrue
+}
+\DeclareOption{noclosing}{
+ \uwapif@closingfalse
+}
+% \end{macrocode}
+%
+% The |calibri| and |nocalibri| options respectively enable and disable
+% the Calibri typeface.
+% \begin{macrocode}
+\DeclareOption{calibri}{
+ \uwapif@calibrifonttrue
+}
+\DeclareOption{nocalibri}{
+ \uwapif@calibrifontfalse
+}
+% \end{macrocode}
+%
+% Pass the |draft|, |final|, |leqno|, and |fleqn| options through to the
+% |article| base class, and pass the |footer|, |nofooter|, |arial|, and
+% |noarial| options through to the |uwa-letterhead| package.
+% \begin{macrocode}
+\DeclareOption{draft}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{final}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{leqno}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{fleqn}{
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+\DeclareOption{footer}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+\DeclareOption{nofooter}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+\DeclareOption{arial}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+\DeclareOption{noarial}{
+ \PassOptionsToPackage{\CurrentOption}{uwa-letterhead}
+}
+% \end{macrocode}
+%
+% Show a warning for unknown options.
+% \begin{macrocode}
+\DeclareOption*{
+ \ClassWarning{uwa-pif}{Unknown option '\CurrentOption'}
+}
+% \end{macrocode}
+%
+% Use the |hreo|, |closing|, and |calibri| options by default.
+% \begin{macrocode}
+\ExecuteOptions{
+ hreo,
+ closing,
+ calibri
+}
+% \end{macrocode}
+%
+% Complete option processing.
+% \begin{macrocode}
+\ProcessOptions\relax
+% \end{macrocode}
+%
+% Load the |article| base class with the |a4paper| and |11pt| options.
+% \begin{macrocode}
+\PassOptionsToClass{
+ a4paper,
+ 11pt
+}{article}
+\LoadClass{article}
+% \end{macrocode}
+%
+% \subsection{Page Configuration}
+%
+% Use |uwa-letterhead| to configure the page.
+% \begin{macrocode}
+\RequirePackage{uwa-letterhead}
+% \end{macrocode}
+%
+% \subsection{Font Configuration}
+%
+% Use |fontspec| for access to OpenType and TrueType fonts.
+% \begin{macrocode}
+\RequirePackage[no-math]{fontspec}
+% \end{macrocode}
+%
+% Set default fonts.
+% \begin{macrocode}
+\sffamily
+\ifuwapif@calibrifont
+ \setmainfont{Calibri}
+ \setsansfont{Calibri}
+\fi
+\renewcommand{\familydefault}{\sfdefault}
+% \end{macrocode}
+%
+% Use |anyfontsize| to support the irregular font sizes required.
+% \begin{macrocode}
+\RequirePackage{anyfontsize}
+% \end{macrocode}
+%
+% Use |setspace| to adjust line spacing of HREO statement.
+% \begin{macrocode}
+\RequirePackage{setspace}
+% \end{macrocode}
+%
+% \subsection{Heading Configuration}
+%
+% Use |titlesec| to configure headings.
+% \begin{macrocode}
+\RequirePackage[sf]{titlesec}
+\titleformat{\section}{\color{black}\bfseries}{\thesection}{1em}{}
+\titleformat{\subsection}{\color{black}\bfseries\small}{\thesubsection}{1em}{}
+\titlespacing*{\section}{0pt}{-0.07em}{-0.07em}
+\titlespacing*{\subsection}{0pt}{-0.07em}{-0.07em}
+% \end{macrocode}
+% Disable section numbering.
+% \begin{macrocode}
+\setcounter{secnumdepth}{0}
+% \end{macrocode}
+%
+% \subsection{Colour Configuration}
+%
+% Use |xcolor| for colour support, and enable |hyperref| compatibility.
+% \begin{macrocode}
+\RequirePackage[hyperref]{xcolor}
+% \end{macrocode}
+% Define body text colour.
+% \begin{macrocode}
+\definecolor{UWAPIFBody}{RGB}{31, 73, 125}
+% \end{macrocode}
+%
+% \subsection{Template Fields}
+%
+% Set default values for the letterhead template fields.
+% \begin{macrocode}
+\renewcommand*{\uwalh@footermbdp}{459}
+\renewcommand*{\uwalh@footerphone}{+61 8 6488 3703}
+\renewcommand*{\uwalh@mobile}{+61 000 000 000}
+\renewcommand*{\uwalh@footeremail}{humanethics@uwa.edu.au}
+% \end{macrocode}
+%
+% Redefine macros to set the letterhead template fields
+% without affecting the first-page footer.
+% \begin{macrocode}
+\renewcommand*{\mbdp}[1]{\renewcommand*{\uwalh@mbdp}{#1}}
+\renewcommand*{\university}[1]{\renewcommand*{\uwalh@university}{#1}}
+\renewcommand*{\phone}[1]{\renewcommand*{\uwalh@phone}{#1}}
+\renewcommand*{\mobile}[1]{}
+\renewcommand*{\email}[1]{\renewcommand*{\uwalh@email}{#1}}
+% \end{macrocode}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\uwapif@project}
+% \begin{macro}{\uwapif@researchers}
+% Set default values for the template fields.
+% \begin{macrocode}
+\newcommand*{\uwapif@project}{}
+\newcommand*{\uwapif@researchers}{}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{minipage}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\project}
+% \begin{macro}{\researcher}
+% \begin{macro}{\researchers}
+% Define macros to set the template fields.
+% \begin{macrocode}
+\newcommand*{\project}[1]{\renewcommand*{\uwapif@project}{#1}}
+\newcommand{\researcher}[2]{#1 & (#2) \\}
+\newcommand{\researchers}[1]{\renewcommand{\uwapif@researchers}{%
+ \begin{tabular}{@{}ll@{}}
+ #1
+ \end{tabular}%
+}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{minipage}
+%
+% \subsection{Field Validation}
+%
+% \begin{macro}{\uwapif@checkfields}
+% Check that the required template fields are set.
+% \begin{macrocode}
+\newcommand{\uwapif@checkfields}{%
+ \uwalh@checkfield{\uwapif@project}{\noexpand\project}
+ \uwalh@checkfield{\uwapif@researchers}{\noexpand\researchers}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Document Title}
+%
+% \begin{macro}{\uwapif@maketitle}
+% Generate the title of the Participant Information Form, including the
+% fields for the project title and researchers.
+% \begin{macrocode}
+\newcommand{\uwapif@maketitle}{%
+ \uwapif@checkfields{}%
+ \vspace{-1\baselineskip}\vspace{0.450cm}%
+ \begin{center}%
+ \fontsize{16}{16.96}\selectfont%
+ \textcolor{black}{\textbf{Participant Information Form}}%
+ \normalsize%
+ \end{center}%
+ \vspace{-1\baselineskip}\vspace{0.935cm}
+ \textcolor{black}{\textbf{Project title:}} \uwapif@project{} \\
+ \vspace{-2\baselineskip}\vspace{0.477cm} \\
+ \textcolor{black}{\textbf{Name of Researchers:}} \\
+ \vspace{-2\baselineskip}\vspace{1.025cm} \\
+ \uwapif@researchers{}
+ \vspace{-0.045cm}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Closing}
+%
+% \begin{macro}{\uwapif@closingvspace}
+% The vertical space before the closing.
+% \begin{macrocode}
+\newlength{\uwapif@closingvspace}
+\setlength{\uwapif@closingvspace}{2.6cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapif@makeclosing}
+% Generate the closing.
+% \begin{macrocode}
+\newcommand{\uwapif@makeclosing}{%
+ \vspace{\uwapif@closingvspace}%
+ {%
+ \color{black}%
+ Sincerely,
+
+ \@author
+ }
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{HREO Statement}
+%
+% \begin{macro}{\uwapif@hreovspace}
+% The vertical space before the HREO statement.
+% \begin{macrocode}
+\newlength{\uwapif@hreovspace}
+\setlength{\uwapif@hreovspace}{2.55cm}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapif@hreostatement}
+% The statement required by the Human Research Ethics Office (HREO).
+% \begin{macrocode}
+\newcommand{\uwapif@hreostatement}{%
+ Approval to conduct this research has been provided by the University
+ of Western Australia, in accordance with its ethics review and
+ approval procedures. Any person considering participation in this
+ research project, or agreeing to participate, may raise any questions
+ or issues with the researchers at any time. In addition, any person
+ not satisfied with the response of researchers may raise ethics issues
+ or concerns, and may make any complaints about this research project
+ by contacting the Human Ethics office at UWA on
+ \href{tel:+61-8-6488-4703}{(08)~6488~4703} or by emailing to
+ \href{mailto:humanethics@uwa.edu.au}{humanethics@uwa.edu.au}. All
+ research participants are entitled to retain a copy of any Participant
+ Information Form and/or Participant Consent Form relating to this
+ research project.
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapif@makehreostatement}
+% Generate the HREO statement.
+% \begin{macrocode}
+\newcommand{\uwapif@makehreostatement}{%
+ \vspace{\uwapif@hreovspace}%
+ \hrule%
+ \begin{minipage}{\textwidth}
+ {%
+ \begin{spacing}{1.17}
+ \fontsize{9}{10.8}\selectfont\color{black}%
+ \uwapif@hreostatement{}%
+ \end{spacing}
+ }%
+ \end{minipage}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Body Text Font}
+%
+% \begin{macro}{\uwapif@bodyfont}
+% Set the body text font and colour.
+% \begin{macrocode}
+\newcommand*{\uwapif@bodyfont}{%
+ \sffamily\fontsize{11}{15.5}\selectfont\color{UWAPIFBody}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Form Generation}
+%
+% Automatically generate the title and set the body text font at
+% the beginning of the document.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \uwapif@bodyfont{}%
+ \uwapif@maketitle{}%
+}
+% \end{macrocode}
+%
+% Automatically add the closing and HREO statement at the end
+% of the document.
+% \begin{macrocode}
+\AtEndDocument{%
+ \ifuwapif@closing\uwapif@makeclosing{}\fi%
+ \ifuwapif@hreo\uwapif@makehreostatement{}\fi%
+}
+% \end{macrocode}
+%
+% \Finale
+\endinput
diff --git a/macros/unicodetex/latex/uwa-pif/uwa-pif.ins b/macros/unicodetex/latex/uwa-pif/uwa-pif.ins
new file mode 100644
index 0000000000..b0ff82713e
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pif/uwa-pif.ins
@@ -0,0 +1,58 @@
+%% Copyright 2019 Anthony Di Pietro
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Anthony Di Pietro.
+%%
+%% This work consists of the files uwa-pif.dtx, uwa-pif.ins, and
+%% uwa-pif-example.tex and the derived files uwa-pif.cls and uwa-pif.pdf.
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/uwa-pif}
+
+\preamble
+
+Copyright 2019 Anthony Di Pietro
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Anthony Di Pietro.
+
+This work consists of the files uwa-pif.dtx, uwa-pif.ins, and
+uwa-pif-example.tex and the derived files uwa-pif.cls and uwa-pif.pdf.
+
+\endpreamble
+
+\askforoverwritefalse
+\generate{\file{uwa-pif.cls}{\from{uwa-pif.dtx}{class}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To complete the installation, move uwa-pif.cls *}
+\Msg{* into a directory searched by LaTeX. *}
+\Msg{* *}
+\Msg{* To produce the documentation, run uwa-pif.dtx *}
+\Msg{* through pdfLaTeX. *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/macros/unicodetex/latex/uwa-pif/uwa-pif.pdf b/macros/unicodetex/latex/uwa-pif/uwa-pif.pdf
new file mode 100644
index 0000000000..82e051f648
--- /dev/null
+++ b/macros/unicodetex/latex/uwa-pif/uwa-pif.pdf
Binary files differ