2021-02-11 20:48:16 +11:00
\makeatletter
2021-02-03 01:20:41 +11:00
% Typographic improvements
\usepackage{microtype}
% Disable numbering of body headings
\setcounter{secnumdepth}{0}
% Styling
\def\sphinxcrossref#1{#1} % no italicised references
\def\sphinxstyleindexentry#1{#1} % no monospaced index entries
\def\sphinxstyleindexextra#1{ (#1)} % no italics
2021-02-11 20:48:16 +11:00
% Allow line breaks in URLs
\usepackage{seqsplit}
\protected\def\sphinxurl#1{{%
\sphinxunactivateextrasandspace %
\endlinechar\m@ne\everyeof{}%
\scantokens{\href{#1}{\seqsplit{#1}}}%
}}
2021-02-03 01:20:41 +11:00
% Fonts
\setmainfont{EB Garamond}
%\setsansfont{IBM Plex Sans}[BoldFont={* Medium},BoldItalicFont={* Medium Italic}]
\setsansfont{Source Sans Pro}[BoldFont={* Semibold},BoldItalicFont={* Semibold Italic}]
\usepackage{newunicodechar}\newfontface{\libserif}{Liberation Serif}\newunicodechar{¶}{{\libserif ¶\hspace{0.1ex}}} % use filled in ¶
2021-02-10 17:34:38 +11:00
% Colours/formatting by output mode
\ifpoprint
\definecolor{TitleColor}{cmyk}{0,0,0,1}
\definecolor{InnerLinkColor}{cmyk}{0,0,0,1}
\definecolor{OuterLinkColor}{cmyk}{0,0,0,1}
\geometry{paperwidth=6in,paperheight=9in,margin=0.5in,bottom=0.75in,inner=0.625in} % Add bleed, gutter, etc.
%\usepackage[width=6.25truein,height=9.25truein,center,cam,noinfo]{crop}
\usepackage[width=6.25truein,height=9.25truein,center,noinfo]{crop} % No crop marks for Lulu
\else
\geometry{paperwidth=5.875in,paperheight=9in,margin=0.5in,bottom=0.75in,inner=0.5in} % Deduct 0.125in from width to account for gutter
\fi
2021-02-03 01:20:41 +11:00
% Footnote style
\usepackage[hang,bottom]{footmisc}
\setlength{\footnotemargin}{0.4cm}
% Header/footer style
\fancypagestyle{normal}{
\fancyhead[RO,LE]{}
\fancyfoot[RO]{{\footnotesize\py@HeaderFamily\nouppercase{\leftmark} | \thepage}}
\fancyfoot[LE]{{\footnotesize\py@HeaderFamily\thepage}}
%\renewcommand{\headrulewidth}{0.4pt}
}
% Back of title page content
\newcommand{\sphinxbackoftitlepage}{
2021-02-10 17:34:38 +11:00
\begingroup\footnotesize
Edition 0.1 first published 2018 \\
2021-02-03 01:20:41 +11:00
Edition 0.2 first published 2021
2021-02-10 17:34:38 +11:00
\vspace{1cm}
\sphinxhref{https://yingtongli.me/pointsoforder}{https://yingtongli.me/pointsoforder}
2021-02-03 01:20:41 +11:00
\vspace*{\fill}
Copyright © 2021 Lee Yingtong Li. You may use this book, at your option, under either of the following licences:
{\parskip=0pt\begin{itemize}
\item the \sphinxhref{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International licence}
\item the \sphinxhref{https://www.gnu.org/licenses/fdl-1.3.en.html}{GNU Free Documentation License, version 1.3}
\end{itemize}}
2021-02-10 17:34:38 +11:00
Authored in \sphinxhref{https://www.sphinx-doc.org/}{Sphinx} and typeset using \LaTeX{} in EB Garamond 12pt and Source Sans Pro
\ifpoprint
Cover image courtesy of Breather Products Inc., licensed under the \sphinxhref{https://creativecommons.org/publicdomain/zero/1.0/}{Creative Commons CC0 1.0 Universal Public Domain Dedication}
Printed by Lulu Press
\fi
2021-02-20 22:31:20 +11:00
\vspace{0.5cm}
\includegraphics[trim=18mm 10mm 18mm 12mm,clip,height=12mm]{NLA_PDS}
2021-02-03 01:20:41 +11:00
\endgroup
}
% Fix list spacing in tables
\usepackage{enumitem}
\def\sphinxattablestart{\par\vskip\dimexpr\sphinxtablepre\relax\setlist[itemize]{leftmargin=2.5ex,before=\vspace*{-1.3em},after=\vspace*{-1.3em}}}
% Override Sphinx title page
\usepackage[iso]{isodate}
\renewcommand{\sphinxmaketitle}{%
\let\sphinxrestorepageanchorsetting\relax
\ifHy@pageanchor\def\sphinxrestorepageanchorsetting{\Hy@pageanchortrue}\fi
\hypersetup{pageanchor=false}% avoid duplicate destination warnings
\begin{titlepage}%
\let\footnotesize\small
\let\footnoterule\relax
\noindent\rule{\textwidth}{1pt}\par
\begingroup % for PDF information dictionary
\def\endgraf{ }\def\and{\& }%
\pdfstringdefDisableCommands{\def\\{, }}% overwrite hyperref setup
2021-02-10 17:34:38 +11:00
\hypersetup{pdfauthor={\@author}, pdftitle={Points of Order}}%
2021-02-03 01:20:41 +11:00
\endgroup
\begin{flushright}%
\sphinxlogo
\py@HeaderFamily
2021-02-10 17:34:38 +11:00
{\Huge Points of Order \\\vspace{0.2cm}\normalfont\sffamily\LARGE Meeting procedure in Australia and the UK\vspace{0.5cm} \par} % ADD SUBHEADING
2021-02-03 01:20:41 +11:00
{\itshape\LARGE \py@release\releaseinfo \par}
\vfill
{\LARGE
\begin{tabular}[t]{c}
\@author
\end{tabular}\kern-\tabcolsep
\par}
\vfill\vfill
{\large
\today \par % USE ISO DATE
\vfill
\py@authoraddress \par
}%
\end{flushright}%\par
\@thanks
\end{titlepage}%
\setcounter{footnote}{0}%
\let\thanks\relax\let\maketitle\relax
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
\clearpage
\ifdefined\sphinxbackoftitlepage\sphinxbackoftitlepage\fi
\if@openright\cleardoublepage\else\clearpage\fi
\sphinxrestorepageanchorsetting
}
2021-02-11 20:48:16 +11:00
2021-02-03 01:20:41 +11:00
\makeatother