Skip to content

Commit

Permalink
Include topic declaration as external PDF file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcserep committed Apr 30, 2022
1 parent a1ec9b3 commit d54fc84
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 24 deletions.
28 changes: 6 additions & 22 deletions elteikthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@
\newcommand{\lstnomencl}{Jelölésjegyzék}
\newcommand{\todolabel}{Teendők listája}
\newcommand{\acklabel}{Köszönyetnyilvánítás}

\newcommand{\declarationplaceholder}{Az eredeti szakdolgozati / diplomamunka témabejelentő helye.}
}
{ % English
\newcommand{\authorlabel}{Author}
Expand All @@ -146,8 +144,6 @@
\newcommand{\lstnomencl}{List of Symbols}
\newcommand{\todolabel}{Todo list}
\newcommand{\acklabel}{Acknowledgements}

\newcommand{\declarationplaceholder}{This page should be the original Thesis Topic Declaration.}
}
}
% ------------------------------
Expand Down Expand Up @@ -383,6 +379,12 @@
%\RequirePackage{mpfnmark}
% ------------------------------

% ------------------------------
% Include PDF documents
% For topic declaration page
\RequirePackage{pdfpages}
% ------------------------------

% ------------------------------
% Appendix
\RequirePackage{appendix}
Expand Down Expand Up @@ -535,24 +537,6 @@
}
% ------------------------------

% ------------------------------
% Topic declaration page
\newcommand{\topicdeclaration}{
\thispagestyle{empty}
\begin{center}
\vspace*{\fill}

{\large \declarationplaceholder}

\vspace*{\fill}
\end{center}


\cleardoublepage
\setcounter{page}{1}
}
% ------------------------------

\AtBeginDocument{
% If the minted package is loaded, then provide a default for the formatting,
% and set the labels for the listings
Expand Down
Binary file modified elteikthesis_en.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion elteikthesis_en.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@

% Title page (mandatory)
\maketitle
\topicdeclaration
% Topic declaration page (mandatory) - can also be attached instead
%\includepdf{topicdeclaration.pdf}

% Table of contents (mandatory)
\tableofcontents
Expand Down
Binary file modified elteikthesis_hu.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion elteikthesis_hu.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@

% Title page (mandatory)
\maketitle
\topicdeclaration
% Topic declaration page (mandatory) - can also be attached instead
%\includepdf{temabejelento.pdf}

% Table of contents (mandatory)
\tableofcontents
Expand Down

0 comments on commit d54fc84

Please sign in to comment.