Move draft up to snhu.sty

This commit is contained in:
Kenwood 2025-03-24 14:04:42 -04:00
parent 6556353049
commit a98b9ed6ca
2 changed files with 8 additions and 9 deletions

View File

@ -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]{

View File

@ -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