\makeatletter % Typographic improvements \usepackage{microtype} \frenchspacing % 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 \def\sphinxtablecontinued#1{{\sffamily\footnotesize #1}} % add footnotesize \def\pageautorefname{p.} % Allow line breaks in URLs \usepackage{seqsplit} \protected\def\sphinxurl#1{{% \sphinxunactivateextrasandspace % \endlinechar\m@ne\everyeof{}% \scantokens{\href{#1}{\seqsplit{#1}}}% }} % Fonts \setmainfont{Crimson} %\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 ¶ % Colours/formatting by output mode \newlength{\trimwidth}\setlength{\trimwidth}{148mm} \newlength{\trimheight}\setlength{\trimheight}{210mm} \newlength{\stdmargin}\setlength{\stdmargin}{15mm} \newlength{\bottomadd}\setlength{\bottomadd}{5mm} \newlength{\gutteradd}\setlength{\gutteradd}{4mm} \ifpolulu \definecolor{TitleColor}{cmyk}{0,0,0,1} \definecolor{InnerLinkColor}{cmyk}{0,0,0,1} \definecolor{OuterLinkColor}{cmyk}{0,0,0,1} \geometry{paperwidth=\trimwidth,paperheight=\trimheight,margin=\stdmargin,bottom=\dimexpr\stdmargin+\bottomadd\relax,inner=\dimexpr\stdmargin+\gutteradd\relax} % Add bleed, gutter, etc. %\usepackage[center,cam,noinfo]{crop} \usepackage[center,noinfo]{crop} % No crop marks for Lulu \CROP@size{\dimexpr\trimwidth+0.25in\relax}{\dimexpr\trimheight+0.25in\relax} %\CROP@size{210mm}{297mm} \else \geometry{paperwidth=\dimexpr\trimwidth-\gutteradd\relax,paperheight=\trimheight,margin=\stdmargin,bottom=\dimexpr\stdmargin+\bottomadd\relax} % Deduct 4mm from width to account for gutter \fi % Heading style \titleformat{\section}{\Large\raggedright\py@HeaderFamily}{\py@TitleColor\thesection}{0.5em}{\py@TitleColor}{\py@NormalColor} % Add \raggedright % Footnote style \usepackage[hang,bottom]{footmisc} \setlength{\footnotemargin}{0.4cm} \def\sphinxfootnotemark[#1]{\ifx\thepage\relax\else\protect\spx@opt@BeforeFootnote\protect\footnotemark[#1]\fi} % Same definition as footnotehyper-sphinx but this is required for some reason % 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}{ \begingroup\footnotesize Edition 0.1 first published 2018 \\ Edition 0.2 first published 2021 \\ Edition 0.4.2 first published 2023 \vspace{1cm} \sphinxhref{https://yingtongli.me/pointsoforder}{https://yingtongli.me/pointsoforder} \vspace{\fill} Copyright © 2023 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}} Authored in \sphinxhref{https://www.sphinx-doc.org/}{Sphinx} and typeset using \LaTeX{} in Crimson 11pt and Source Sans Pro \ifpolulu Printed by Lulu Press %Printed in Australia by Finsbury Green for Lulu Press \fi \vspace{0.5cm} \includegraphics[trim=18mm 10mm 18mm 12mm,clip,height=12mm]{NLA_PDS} \endgroup } % Fix list spacing in tables and footnotes \usepackage{enumitem} \def\table@fixitemize{\setlist[itemize]{leftmargin=2.5ex,before=\vspace*{-1.7em},after=\vspace*{-1.3em}}} \let\orig@sphinxattablestart\sphinxattablestart \def\sphinxattablestart{\orig@sphinxattablestart\table@fixitemize} \let\orig@sphinxatlongtablestart\sphinxatlongtablestart \def\sphinxatlongtablestart{\orig@sphinxatlongtablestart\table@fixitemize} \let\orig@sphinxAtStartFootnote\sphinxAtStartFootnote \def\sphinxAtStartFootnote{\orig@sphinxAtStartFootnote\setlist[itemize]{leftmargin=7.5ex,before={},after=\vspace*{-0.7em}}} % 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 \hypersetup{pdfauthor={\@author}, pdftitle={Points of Order}}% \endgroup \begin{flushright}% \sphinxlogo \py@HeaderFamily {\Huge Points of Order \\\vspace{0.2cm}\normalfont\sffamily\LARGE Meeting procedure in Australia,\\New Zealand and the UK\vspace{0.5cm} \par} % ADD SUBHEADING {\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 } \def\sphinxhline{} % Need this for some reason, Sphinx bug? \makeatother