Theses, Books, Title pagesMastersDoctoralThesis template - how to turn off page number on a specific page?

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
tornado
Posts: 3
Joined: Fri May 13, 2022 8:37 am

MastersDoctoralThesis template - how to turn off page number on a specific page?

Post by tornado »

Hello,
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

Code, edit and compile here:
\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
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
In the .tex file i create the environment like this:

Code: Select all

Code, edit and compile here:
\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}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Can anyone please help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply