From 137c84c7af572e8bf4a4bbfd080182ed9f083267 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Tue, 20 Sep 2016 23:52:42 +0200
Subject: Start Benton

---
 handouts.sty | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 handouts.sty

(limited to 'handouts.sty')

diff --git a/handouts.sty b/handouts.sty
new file mode 100644
index 0000000..8178b18
--- /dev/null
+++ b/handouts.sty
@@ -0,0 +1,25 @@
+\newif\ifshowpagenrs
+\newif\ifshowsummary
+\newif\ifshowcriticism
+
+\showpagenrstrue
+\showsummarytrue
+\showcriticismtrue
+
+\newcommand{\criticismStart}{\emph{Criticism:} }
+\newcommand{\criticismStyle}{\color{RedOrange}}
+
+\newcommand{\termStyle}{\it}
+
+\PassOptionsToPackage{dvipsnames}{xcolor}
+\RequirePackage{xcolor}
+
+\newcommand{\pagenr}[1]{%
+	\ifshowpagenrs\textcolor{gray}{~(p. #1)}\fi}
+\newcommand{\summary}[1]{%
+	\ifshowsummary #1\fi}
+\newcommand{\criticism}[1]{%
+	\ifshowpagenrs
+		\begingroup\criticismStyle\criticismStart{}#1\endgroup\fi}
+\newcommand{\term}[1]{%
+	\begingroup\termStyle #1\endgroup}
-- 
cgit v1.2.3

