diff options
author | Marcin Chrzanowski <mc370754@students.mimuw.edu.pl> | 2021-08-07 13:58:37 -0400 |
---|---|---|
committer | Marcin Chrzanowski <mc370754@students.mimuw.edu.pl> | 2021-08-07 13:58:37 -0400 |
commit | c1885675cedfee307890c7a01ecc78cab5c0cb34 (patch) | |
tree | 10bf790540be992d75756404aaa4d61e9a767656 /definitions.sty | |
parent | 127c81cb5209241fc96c9d676bab6fd6e60186f6 (diff) |
Define queryproblem macro
Diffstat (limited to 'definitions.sty')
-rw-r--r-- | definitions.sty | 12 |
1 files changed, 12 insertions, 0 deletions
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 +} |