From c1885675cedfee307890c7a01ecc78cab5c0cb34 Mon Sep 17 00:00:00 2001
From: Marcin Chrzanowski <mc370754@students.mimuw.edu.pl>
Date: Sat, 7 Aug 2021 13:58:37 -0400
Subject: Define queryproblem macro

---
 definitions.sty | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 definitions.sty

(limited to 'definitions.sty')

diff --git a/definitions.sty b/definitions.sty
new file mode 100644
index 0000000..f6d2e94
--- /dev/null
+++ b/definitions.sty
@@ -0,0 +1,12 @@
+\newtheorem{definition}{Definition}[chapter]
+
+% #1: Name of query problem
+% #2: The structure to preprocess
+% #3: Queries to handle
+\newcommand{\queryproblem}[3]{
+    \textsc{#1}
+
+    \textbf{Given:} #2
+
+    \textbf{Queries:} #3
+}
-- 
cgit v1.2.3

