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