adds work-in-progress stamp
This commit is contained in:
parent
ac0ad2a895
commit
7ab6de3596
@ -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}
|
||||
}
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
\author{Arindy}
|
||||
\title{Template Book}
|
||||
\subtitle{--- Work in Progress ---}
|
||||
\subtitle{The adventures of awesome template}
|
||||
|
||||
%\removetitlebox
|
||||
|
||||
\workinprogress
|
||||
%-------------------------------------------
|
||||
|
||||
\begin{document}
|
||||
|
Loading…
x
Reference in New Issue
Block a user