Clean up Gonito and Autozoil commands
This commit is contained in:
parent
7ef22105cb
commit
590032c897
@ -411,6 +411,17 @@ zostanie cofni\k{e}ta.\endgraf }
|
|||||||
\newcommand{\english}[1]{\textit{#1}}
|
\newcommand{\english}[1]{\textit{#1}}
|
||||||
\newcommand{\turkish}[1]{\textit{#1}}
|
\newcommand{\turkish}[1]{\textit{#1}}
|
||||||
\newcommand{\code}[1]{\texttt{#1}}
|
\newcommand{\code}[1]{\texttt{#1}}
|
||||||
|
\newcommand{\noqa}[1]{}
|
||||||
|
\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}}
|
||||||
%
|
%
|
||||||
\endinput
|
\endinput
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
@ -11,20 +11,6 @@
|
|||||||
|
|
||||||
\newcommand\dbr{\discretionary{}{}{}}
|
\newcommand\dbr{\discretionary{}{}{}}
|
||||||
|
|
||||||
\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}}
|
|
||||||
|
|
||||||
\newcommand{\code}[1]{\texttt{#1}}
|
|
||||||
\newcommand{\noqa}[1]{}
|
|
||||||
|
|
||||||
\input{preamble}
|
\input{preamble}
|
||||||
|
|
||||||
\input{metadata}
|
\input{metadata}
|
||||||
|
Loading…
Reference in New Issue
Block a user