summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls')
-rw-r--r--macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls17
1 files changed, 9 insertions, 8 deletions
diff --git a/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls b/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
index 8efaef30f8..162e53b6f4 100644
--- a/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
+++ b/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
@@ -30,8 +30,8 @@
%% stb-thesis.cls
%% -------------------------------------------------------------------
%%
-\newcommand{\STBTfileversion}{v1.2}
-\newcommand{\STBTfiledate}{2023/08/10}
+\newcommand{\STBTfileversion}{v1.3}
+\newcommand{\STBTfiledate}{2023/09/01}
\NeedsTeXFormat{LaTeX2e}[2020/08/10]
\def\STB@basetype{book}
\ProvidesClass{stb-thesis}[\STBTfiledate
@@ -528,8 +528,8 @@
\thispagestyle{plain}%
\chapter*{\DeclarationName}%
\declaremark
- \phantomsection
- \addcontentsline{toc}{chapter}{\DeclarationName}%
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\DeclarationName}%
#1\par
\STB@putdecldate
\ifSTB@Copyright
@@ -555,8 +555,8 @@
\par
\chapter*{\AbstractName}%
\abstractmark
- \phantomsection
- \addcontentsline{toc}{chapter}{\AbstractName}%
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\AbstractName}%
\begin{center}
{\large\bfseries \@title \par}
\medskip
@@ -573,6 +573,7 @@
\end{center}
\if@restonecol\twocolumn\fi%
}{}
+
\renewcommand\tableofcontents{%
\if@twocolumn
\@restonecoltrue\onecolumn
@@ -581,8 +582,8 @@
\fi
\chapter*{\contentsname}%
\tocmark
- \phantomsection
- \addcontentsline{toc}{chapter}{\contentsname}%
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi}
\renewcommand\listoffigures{%