From 2a9cf2cc3dde336a80b55fa144329ac2d4ca8198 Mon Sep 17 00:00:00 2001 From: "Rifqi D. Panuluh" <69516665+nuluh@users.noreply.github.com> Date: Tue, 14 Oct 2025 05:09:39 +0000 Subject: [PATCH] fix(documentclass): consolidate watermark settings for improved clarity and customization --- latex/thesis.cls | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index b0479b8..f9366e0 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -80,11 +80,23 @@ % Conditionally load the watermark package and settings \if@draftmark \RequirePackage{draftwatermark} - \SetWatermarkText{nuluh/thesis (wip)[draft: \today)} - \SetWatermarkColor[gray]{0.8} - \SetWatermarkFontSize{1.5cm} - \SetWatermarkAngle{90} - \SetWatermarkHorCenter{1.5cm} + % All watermark settings in one place: + \DraftwatermarkOptions{% + text={\sffamily\bfseries + DRAFT + \href{https://github.com/nuluh/thesis}{% + \color{magenta}\fbox{\bfseries\normalsize\texttt{ver.\ 2025.j5}}% + }% + \ \normalsize{Copyright~\textcopyright~Rifqi D. Panuluh}% + }, + color={[gray]{0.8}}, + fontsize=1.5em, + angle=90, + % hanchor=c, + hpos=20cm, + % vanchor=m, + vpos=20cm + } \RequirePackage[left]{lineno} \linenumbers \fi