X-Git-Url: https://git.distorted.org.uk/~mdw/doc/wrestlers/blobdiff_plain/a6e375a6211f5c082a45c9424a96820054219a55..dff0fad2fb0c4edacbe668fdd72030e7e8ac5db7:/wrslides.cls

diff --git a/wrslides.cls b/wrslides.cls
index 1d7913e..aa82096 100644
--- a/wrslides.cls
+++ b/wrslides.cls
@@ -1,4 +1,11 @@
-\PassOptionsToClass{a4, article}{mdwslides}
+\newif\ifwrslides \wrslidestrue
+\InputIfFileExists{wr.cfg}\relax\relax
+
+\ifwrslides
+  \PassOptionsToClass{a4, slidesonly}{mdwslides}
+\else
+  \PassOptionsToClass{a4, article, twoside}{mdwslides}
+\fi
 \LoadClass{mdwslides}
 
 \newif\ifpdf
@@ -17,7 +24,6 @@
   \pdftrue
 \fi
 
-
 \RequirePackage{mdwlist}
 \RequirePackage[T1]{fontenc}
 \RequirePackage{colour}
@@ -29,6 +35,7 @@
 \RequirePackage{graphicx}
 \RequirePackage[palatino, helvetica, courier, maths = cmr]{mdwfonts}
 \RequirePackage{mdwthm}
+\RequirePackage{multicol}
 
 \def\Nupto#1{\{0, 1, \ldots, #1 - 1\}}
 \def\Bin{\{0, 1\}}
@@ -65,7 +72,7 @@
 \newcommand{\E}{{\mathcal{E}}}
 
 \def\Wident{\Xid{W}{ident}}
-\def\Wkw{\Xid{W}{kx}}
+\def\Wkx{\Xid{W}{kx}}
 
 \def\other{\colour{blue}}
 \def\diff{\colour{red}}
