From a98b9ed6cae1a82692dca82ac2bee7ac89196747 Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Mon, 24 Mar 2025 14:04:42 -0400 Subject: [PATCH] Move draft up to snhu.sty --- SNHU.sty | 7 +++++++ monk.sty | 10 +--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/SNHU.sty b/SNHU.sty index fef3419..0d5cadc 100644 --- a/SNHU.sty +++ b/SNHU.sty @@ -92,6 +92,13 @@ \noindent\textbf{Part (#1)}% } +% Enable, or Disable showing a DRAFT watermark +\newcommand{\showdraft}{% + \usepackage{draftwatermark} + \SetWatermarkText{DRAFT} + \SetWatermarkScale{5} + \SetWatermarkColor[gray]{0.8} +} % Default revision command \providecommand{\revision}[1]{ diff --git a/monk.sty b/monk.sty index 8393d0b..262971a 100644 --- a/monk.sty +++ b/monk.sty @@ -1,7 +1,7 @@ % monk.sty - Custom style file for Professor Monk's coursework % Version variable -\def\monkversion{v1.8} +\def\monkversion{v1.9} \usepackage {snhu} \ProvidesPackage{monk}[\monkversion Custom package for Professor Monk] @@ -84,14 +84,6 @@ \fi% } -% This is just to make it easier to configure/disable the draft mode with a toggle -\newcommand{\showdraft}{% - \usepackage{draftwatermark} - \SetWatermarkText{DRAFT} - \SetWatermarkScale{5} - \SetWatermarkColor[gray]{0.8} -} - % Custom version command to print revision and compile date in footer \renewcommand{\revision}[2][false]{ \clearpage