texlive[60640] Master: uwa-pif (28sep21)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 28 22:43:01 CEST 2021


Revision: 60640
          http://tug.org/svn/texlive?view=revision&revision=60640
Author:   karl
Date:     2021-09-28 22:43:01 +0200 (Tue, 28 Sep 2021)
Log Message:
-----------
uwa-pif (28sep21)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/uwa-pif/
    trunk/Master/texmf-dist/doc/latex/uwa-pif/README
    trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif-example.tex
    trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif.pdf
    trunk/Master/texmf-dist/source/latex/uwa-pif/
    trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.dtx
    trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.ins
    trunk/Master/texmf-dist/tex/latex/uwa-pif/
    trunk/Master/texmf-dist/tex/latex/uwa-pif/uwa-pif.cls
    trunk/Master/tlpkg/tlpsrc/uwa-pif.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/uwa-pif/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uwa-pif/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uwa-pif/README	2021-09-28 20:43:01 UTC (rev 60640)
@@ -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.


Property changes on: trunk/Master/texmf-dist/doc/latex/uwa-pif/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif-example.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif-example.tex	2021-09-28 20:43:01 UTC (rev 60640)
@@ -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 at 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 at research.uwa.edu.au}{joe.bloggs at research.uwa.edu.au},
+\href{tel:+61-000-000-000}{+61 000 000 000}) or Dr John Smith (Supervisor,
+\href{mailto:john.smith at uwa.edu.au}{john.smith at 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}


Property changes on: trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif-example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif.pdf	2021-09-28 20:41:54 UTC (rev 60639)
+++ trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif.pdf	2021-09-28 20:43:01 UTC (rev 60640)

Property changes on: trunk/Master/texmf-dist/doc/latex/uwa-pif/uwa-pif.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.dtx	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.dtx	2021-09-28 20:43:01 UTC (rev 60640)
@@ -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 at IndexColumns = 2
+\renewcommand*{\uwalh at uwa}{\sffamily}
+\renewcommand{\uwalh at 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 at hreo}
+% \begin{macro}{\uwapif at closing}
+% \begin{macro}{\uwapif at calibrifont}
+% Define conditionals for the class options.
+%    \begin{macrocode}
+\newif\ifuwapif at hreo
+\newif\ifuwapif at closing
+\newif\ifuwapif at 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 at hreotrue
+}
+\DeclareOption{nohreo}{
+        \uwapif at hreofalse
+}
+%    \end{macrocode}
+%
+% The |closing| and |noclosing| options respectively enable and disable
+% the closing.
+%    \begin{macrocode}
+\DeclareOption{closing}{
+        \uwapif at closingtrue
+}
+\DeclareOption{noclosing}{
+        \uwapif at closingfalse
+}
+%    \end{macrocode}
+%
+% The |calibri| and |nocalibri| options respectively enable and disable
+% the Calibri typeface.
+%    \begin{macrocode}
+\DeclareOption{calibri}{
+        \uwapif at calibrifonttrue
+}
+\DeclareOption{nocalibri}{
+        \uwapif at 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 at 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 at footermbdp}{459}
+\renewcommand*{\uwalh at footerphone}{+61 8 6488 3703}
+\renewcommand*{\uwalh at mobile}{+61 000 000 000}
+\renewcommand*{\uwalh at footeremail}{humanethics at 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 at mbdp}{#1}}
+\renewcommand*{\university}[1]{\renewcommand*{\uwalh at university}{#1}}
+\renewcommand*{\phone}[1]{\renewcommand*{\uwalh at phone}{#1}}
+\renewcommand*{\mobile}[1]{}
+\renewcommand*{\email}[1]{\renewcommand*{\uwalh at email}{#1}}
+%    \end{macrocode}
+%
+% \begin{minipage}{\textwidth}
+% \begin{macro}{\uwapif at project}
+% \begin{macro}{\uwapif at researchers}
+% Set default values for the template fields.
+%    \begin{macrocode}
+\newcommand*{\uwapif at project}{}
+\newcommand*{\uwapif at 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 at project}{#1}}
+\newcommand{\researcher}[2]{#1 & (#2) \\}
+\newcommand{\researchers}[1]{\renewcommand{\uwapif at researchers}{%
+        \begin{tabular}{@{}ll@{}}
+                #1
+        \end{tabular}%
+}}
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{minipage}
+%
+% \subsection{Field Validation}
+%
+% \begin{macro}{\uwapif at checkfields}
+% Check that the required template fields are set.
+%    \begin{macrocode}
+\newcommand{\uwapif at checkfields}{%
+        \uwalh at checkfield{\uwapif at project}{\noexpand\project}
+        \uwalh at checkfield{\uwapif at researchers}{\noexpand\researchers}
+}
+%    \end{macrocode}
+% \end{macro}
+%
+% \subsection{Document Title}
+%
+% \begin{macro}{\uwapif at maketitle}
+% Generate the title of the Participant Information Form, including the
+% fields for the project title and researchers.
+%    \begin{macrocode}
+\newcommand{\uwapif at maketitle}{%
+        \uwapif at 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 at project{} \\
+        \vspace{-2\baselineskip}\vspace{0.477cm} \\
+        \textcolor{black}{\textbf{Name of Researchers:}} \\
+        \vspace{-2\baselineskip}\vspace{1.025cm} \\
+        \uwapif at researchers{}
+        \vspace{-0.045cm}
+}
+%    \end{macrocode}
+% \end{macro}
+%
+% \subsection{Closing}
+%
+% \begin{macro}{\uwapif at closingvspace}
+% The vertical space before the closing.
+%    \begin{macrocode}
+\newlength{\uwapif at closingvspace}
+\setlength{\uwapif at closingvspace}{2.6cm}
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapif at makeclosing}
+% Generate the closing.
+%    \begin{macrocode}
+\newcommand{\uwapif at makeclosing}{%
+        \vspace{\uwapif at closingvspace}%
+        {%
+                \color{black}%
+                Sincerely,
+
+                \@author
+        }
+}
+%    \end{macrocode}
+% \end{macro}
+%
+% \subsection{HREO Statement}
+%
+% \begin{macro}{\uwapif at hreovspace}
+% The vertical space before the HREO statement.
+%    \begin{macrocode}
+\newlength{\uwapif at hreovspace}
+\setlength{\uwapif at hreovspace}{2.55cm}
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\uwapif at hreostatement}
+% The statement required by the Human Research Ethics Office (HREO).
+%    \begin{macrocode}
+\newcommand{\uwapif at 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 at uwa.edu.au}{humanethics at 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 at makehreostatement}
+% Generate the HREO statement.
+%    \begin{macrocode}
+\newcommand{\uwapif at makehreostatement}{%
+        \vspace{\uwapif at hreovspace}%
+        \hrule%
+        \begin{minipage}{\textwidth}
+                {%
+                        \begin{spacing}{1.17}
+                        \fontsize{9}{10.8}\selectfont\color{black}%
+                        \uwapif at hreostatement{}%
+                        \end{spacing}
+                }%
+        \end{minipage}
+}
+%    \end{macrocode}
+% \end{macro}
+%
+% \subsection{Body Text Font}
+%
+% \begin{macro}{\uwapif at bodyfont}
+% Set the body text font and colour.
+%    \begin{macrocode}
+\newcommand*{\uwapif at 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 at bodyfont{}%
+        \uwapif at maketitle{}%
+}
+%    \end{macrocode}
+%
+% Automatically add the closing and HREO statement at the end
+% of the document.
+%    \begin{macrocode}
+\AtEndDocument{%
+        \ifuwapif at closing\uwapif at makeclosing{}\fi%
+        \ifuwapif at hreo\uwapif at makehreostatement{}\fi%
+}
+%    \end{macrocode}
+%
+% \Finale
+\endinput


Property changes on: trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.ins	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/uwa-pif/uwa-pif.ins	2021-09-28 20:43:01 UTC (rev 60640)
@@ -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

Added: trunk/Master/texmf-dist/tex/latex/uwa-pif/uwa-pif.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/uwa-pif/uwa-pif.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/uwa-pif/uwa-pif.cls	2021-09-28 20:43:01 UTC (rev 60640)
@@ -0,0 +1,197 @@
+%%
+%% This is file `uwa-pif.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% uwa-pif.dtx  (with options: `class')
+%% 
+%% 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.
+%% 
+\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+\ProvidesClass{uwa-pif}
+    [2021/09/28 1.0.1 UWA Participant Information Form]
+\newif\ifuwapif at hreo
+\newif\ifuwapif at closing
+\newif\ifuwapif at calibrifont
+\DeclareOption{hreo}{
+        \uwapif at hreotrue
+}
+\DeclareOption{nohreo}{
+        \uwapif at hreofalse
+}
+\DeclareOption{closing}{
+        \uwapif at closingtrue
+}
+\DeclareOption{noclosing}{
+        \uwapif at closingfalse
+}
+\DeclareOption{calibri}{
+        \uwapif at calibrifonttrue
+}
+\DeclareOption{nocalibri}{
+        \uwapif at calibrifontfalse
+}
+\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}
+}
+\DeclareOption*{
+        \ClassWarning{uwa-pif}{Unknown option '\CurrentOption'}
+}
+\ExecuteOptions{
+       hreo,
+       closing,
+       calibri
+}
+\ProcessOptions\relax
+\PassOptionsToClass{
+        a4paper,
+        11pt
+}{article}
+\LoadClass{article}
+\RequirePackage{uwa-letterhead}
+\RequirePackage[no-math]{fontspec}
+\sffamily
+\ifuwapif at calibrifont
+        \setmainfont{Calibri}
+        \setsansfont{Calibri}
+\fi
+\renewcommand{\familydefault}{\sfdefault}
+\RequirePackage{anyfontsize}
+\RequirePackage{setspace}
+\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}
+\setcounter{secnumdepth}{0}
+\RequirePackage[hyperref]{xcolor}
+\definecolor{UWAPIFBody}{RGB}{31, 73, 125}
+\renewcommand*{\uwalh at footermbdp}{459}
+\renewcommand*{\uwalh at footerphone}{+61 8 6488 3703}
+\renewcommand*{\uwalh at mobile}{+61 000 000 000}
+\renewcommand*{\uwalh at footeremail}{humanethics at uwa.edu.au}
+\renewcommand*{\mbdp}[1]{\renewcommand*{\uwalh at mbdp}{#1}}
+\renewcommand*{\university}[1]{\renewcommand*{\uwalh at university}{#1}}
+\renewcommand*{\phone}[1]{\renewcommand*{\uwalh at phone}{#1}}
+\renewcommand*{\mobile}[1]{}
+\renewcommand*{\email}[1]{\renewcommand*{\uwalh at email}{#1}}
+\newcommand*{\uwapif at project}{}
+\newcommand*{\uwapif at researchers}{}
+\newcommand*{\project}[1]{\renewcommand*{\uwapif at project}{#1}}
+\newcommand{\researcher}[2]{#1 & (#2) \\}
+\newcommand{\researchers}[1]{\renewcommand{\uwapif at researchers}{%
+        \begin{tabular}{@{}ll@{}}
+                #1
+        \end{tabular}%
+}}
+\newcommand{\uwapif at checkfields}{%
+        \uwalh at checkfield{\uwapif at project}{\noexpand\project}
+        \uwalh at checkfield{\uwapif at researchers}{\noexpand\researchers}
+}
+\newcommand{\uwapif at maketitle}{%
+        \uwapif at 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 at project{} \\
+        \vspace{-2\baselineskip}\vspace{0.477cm} \\
+        \textcolor{black}{\textbf{Name of Researchers:}} \\
+        \vspace{-2\baselineskip}\vspace{1.025cm} \\
+        \uwapif at researchers{}
+        \vspace{-0.045cm}
+}
+\newlength{\uwapif at closingvspace}
+\setlength{\uwapif at closingvspace}{2.6cm}
+\newcommand{\uwapif at makeclosing}{%
+        \vspace{\uwapif at closingvspace}%
+        {%
+                \color{black}%
+                Sincerely,
+
+                \@author
+        }
+}
+\newlength{\uwapif at hreovspace}
+\setlength{\uwapif at hreovspace}{2.55cm}
+\newcommand{\uwapif at 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 at uwa.edu.au}{humanethics at 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.
+}
+\newcommand{\uwapif at makehreostatement}{%
+        \vspace{\uwapif at hreovspace}%
+        \hrule%
+        \begin{minipage}{\textwidth}
+                {%
+                        \begin{spacing}{1.17}
+                        \fontsize{9}{10.8}\selectfont\color{black}%
+                        \uwapif at hreostatement{}%
+                        \end{spacing}
+                }%
+        \end{minipage}
+}
+\newcommand*{\uwapif at bodyfont}{%
+        \sffamily\fontsize{11}{15.5}\selectfont\color{UWAPIFBody}%
+}
+\AtBeginDocument{%
+        \uwapif at bodyfont{}%
+        \uwapif at maketitle{}%
+}
+\AtEndDocument{%
+        \ifuwapif at closing\uwapif at makeclosing{}\fi%
+        \ifuwapif at hreo\uwapif at makehreostatement{}\fi%
+}
+\endinput
+%%
+%% End of file `uwa-pif.cls'.


Property changes on: trunk/Master/texmf-dist/tex/latex/uwa-pif/uwa-pif.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2021-09-28 20:41:54 UTC (rev 60639)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2021-09-28 20:43:01 UTC (rev 60640)
@@ -828,7 +828,7 @@
     uptex-base uptex-fonts upzhkinsoku
     uri url urlbst urcls urwchancal usebib ushort uspace uspatent
     ut-thesis utexasthesis utf8add utf8mex utfsym
-    uwa-colours uwa-letterhead uwmslide uwthesis
+    uwa-colours uwa-letterhead uwa-pif uwmslide uwthesis
   vak vancouver variablelm variations varindex varisize
     varsfromjobname varwidth vaucanson-g vcell vdmlisting
     velthuis venn venndiagram venturisadf

Modified: trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc	2021-09-28 20:41:54 UTC (rev 60639)
+++ trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc	2021-09-28 20:43:01 UTC (rev 60640)
@@ -244,6 +244,7 @@
 depend utexasthesis
 depend uwa-colours
 depend uwa-letterhead
+depend uwa-pif
 depend uwthesis
 depend vancouver
 depend xduthesis

Added: trunk/Master/tlpkg/tlpsrc/uwa-pif.tlpsrc
===================================================================


More information about the tex-live-commits mailing list.