From 5e0cc1e9d0869a02ef0e6cbd6dc6f1fb8daaa8ee Mon Sep 17 00:00:00 2001
From: Gustav Eek <gustav.eek@fripost.org>
Date: Sun, 1 Sep 2019 13:10:26 +0200
Subject: [trivia] Sensommarfest Inital full quiz added

---
 trivia/sensommarfest/tex/header.tex | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 trivia/sensommarfest/tex/header.tex

(limited to 'trivia/sensommarfest/tex/header.tex')

diff --git a/trivia/sensommarfest/tex/header.tex b/trivia/sensommarfest/tex/header.tex
new file mode 100644
index 0000000..67a98b5
--- /dev/null
+++ b/trivia/sensommarfest/tex/header.tex
@@ -0,0 +1,15 @@
+\usepackage{enumitem}
+
+\makeatletter
+\newcommand*{\triviaenum}[1]{%
+  \expandafter\@triviaenum\csname c@#1\endcsname%
+}
+
+\newcommand*{\@triviaenum}[1]{%
+  $\ifcase #1 \or 1. \or \textrm{X}. \or 2. \or \textrm{\O}. %
+    \else\@ctrerr\fi$%
+}
+\AddEnumerateCounter{\triviaenum}{\@triviaenum}{3}
+\makeatother
+
+% Ø.%
-- 
cgit v1.2.3

