2020-11-24 08:33:07 +01:00
|
|
|
|
|
|
|
{% raw %}
|
2022-01-17 17:43:32 +01:00
|
|
|
|
|
|
|
% DO NOT MODIFY THIS FILE UNLESS YOU KNOW WHAT YOU'RE DOING
|
|
|
|
% IF YOU NEED PAPER-SPECIFIC PACKAGES/DEFINITIONS, ADD THEM TO preamble.tex
|
|
|
|
|
|
|
|
% various custom definitions
|
|
|
|
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usepackage[textsize=tiny]{todonotes}
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\usepackage{booktabs}
|
|
|
|
\usepackage{latexsym}
|
2024-09-09 18:19:50 +02:00
|
|
|
\usepackage{microtype}
|
2022-01-17 17:43:32 +01:00
|
|
|
|
|
|
|
% so that footnotes in tables would work
|
|
|
|
% https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment
|
|
|
|
|
|
|
|
\usepackage{footnote}
|
|
|
|
\makesavenoteenv{tabular}
|
|
|
|
\makesavenoteenv{table}
|
|
|
|
\makesavenoteenv{table*}
|
|
|
|
|
|
|
|
% for better typesetting of URLs
|
|
|
|
|
|
|
|
\usepackage{xurl}
|
|
|
|
|
|
|
|
% input without unwanted end-of-line characters
|
|
|
|
|
|
|
|
\newcommand\minput[1]{%
|
|
|
|
\input{#1}%
|
|
|
|
\ifhmode\ifnum\lastnodetype=11 \unskip\fi\fi}
|
|
|
|
|
|
|
|
% Gonito stuff
|
|
|
|
\usepackage{hyperref}
|
|
|
|
\usepackage{xstring}
|
|
|
|
% Format a reference to a Gonito submission
|
|
|
|
\newcommand{\gonitoref}[1]{\{\href{https://gonito.net/q/#1}{\StrMid{#1}{1}{6}}\}}
|
|
|
|
% A bare score from Gonito
|
|
|
|
\newcommand{\gonitobarescore}[1]{\minput{scores/#1.txt}}
|
|
|
|
% A score from Gonito along with a reference
|
|
|
|
\newcommand{\gonitoscore}[1]{\gonitobarescore{#1} \gonitoref{#1}}
|
|
|
|
% A reference and a score as two cells in a table
|
|
|
|
\newcommand{\gonitoentry}[1]{\gonitoref{#1} & \minput{scores/#1.txt}}
|
|
|
|
% A reference and a score as two cells in a table, the score will be
|
|
|
|
% marked as the best (typeset in bold)
|
|
|
|
\newcommand{\gonitobestentry}[1]{\gonitoref{#1} & \textbf{\minput{scores/#1.txt}}}
|
|
|
|
|
|
|
|
% Autozoil-related commands
|
2022-10-29 13:17:19 +02:00
|
|
|
\providecommand{\code}[1]{\texttt{#1}}
|
2022-01-17 17:43:32 +01:00
|
|
|
\newcommand{\noqa}[1]{}
|
|
|
|
\newcommand{\noqall}[1]{}
|
|
|
|
\newcommand{\eng}[1]{\textit{#1}}
|
|
|
|
|
2020-11-24 08:33:07 +01:00
|
|
|
%%% Local Variables:
|
|
|
|
%%% mode: latex
|
|
|
|
{% endraw %}
|
|
|
|
%%% TeX-master: "{{cookiecutter.paper_id}}"
|
|
|
|
%%% End:
|