iam using the MastersDoctoralThesis template from https://www.latextemplates.com/template ... ral-thesis.
I want to add a page right after the cover with some informations on the book - and i dont want to show the page number on that page, but my current skills do not sufficient for this. In the .cls file i created an environment for the page like this to set the pagestyle to empty but the number still appears:
Code: Select all
\ifbool{consistentlayout}{
\DeclareDocumentCommand{\behindthecoverpage}{
\thispagestyle{empty}
m O{\vspace*{.7\textheight} } }{
\tttypeout{Dedicatory}
\markboth{}{}
#2
{\hfill\parbox{.4\textwidth}{\flushright#1\par}}
}
}{
\newcommand\behindthecoverpage[1]{
%\checktoopen
\null\vfil
\thispagestyle{empty}
#1
\vfil\null
}
}
Code: Select all
\behindthecoverpage{
\begin{minipage}[b]{0.9\textwidth}
\vspace{21cm}
\small\raggedright
\setlength{\parskip}{0.5\baselineskip}
{\scshape\small My Name: }\textsl{\ttitle}. \,Month 202X\par
{\scshape\small Supervisors:\par}
{\small Prof. Dr. XY}\\
{\small Prof. Dr. XY 2}
\end{minipage}
}