diff --git a/src/.formats/structure.tex b/src/.formats/structure.tex index 9712836..ea7b5a1 100644 --- a/src/.formats/structure.tex +++ b/src/.formats/structure.tex @@ -144,6 +144,10 @@ \newcommand{\rtb}{} } +\newcommand{\workinprogress}{ + \newcommand{\wip}{} +} + \newcommand{\coverpage}[2][violet]{ \thispagestyle{empty} \ifthenelse{\equal{#2}{}}{}{\ThisTileWallPaper{1\paperwidth}{1\paperheight}{#2}} @@ -156,6 +160,9 @@ \thesubtitle }; } + \ifthenelse{\isundefined{\wip}}{}{ + \node[anchor=east, red, xshift=1.3cm, yshift=0.8cm, text width=12.9cm, font=\sffamily\bfseries\scshape\HUGE] at (box.east){--- WORK IN PROGRESS ---}; % "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle + } \node[anchor=west, #1, xshift=-6.2cm, yshift=-2.2cm, text width=12.9cm, font=\sffamily\bfseries\scshape\HUGE] at (box.north){\thetitle}; % "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle \ifthenelse{\isundefined{\theauthor}}{}{ @@ -164,6 +171,11 @@ \end{tikzpicture} }{ \begin{tikzpicture}[remember picture,overlay] + + \ifthenelse{\isundefined{\wip}}{}{ + \node [rectangle, rounded corners, fill=white, opacity=0.75, anchor=center, minimum width=13cm, minimum height=2.2cm] (box) at (5.5,-10) (box){}; + \node[anchor=east, red, xshift=1.3cm, yshift=0cm, text width=12.9cm, font=\sffamily\bfseries\scshape\HUGE] at (box.east){--- WORK IN PROGRESS ---}; % "Text width" adjusts the wrapping width, "xshift/yshift" adjust the position relative to the white rectangle + } \end{tikzpicture} } diff --git a/src/book.tex b/src/book.tex index bb5d544..7e81b77 100755 --- a/src/book.tex +++ b/src/book.tex @@ -2,10 +2,10 @@ \author{Arindy} \title{Template Book} -\subtitle{--- Work in Progress ---} +\subtitle{The adventures of awesome template} %\removetitlebox - +\workinprogress %------------------------------------------- \begin{document}