Skip to content
Snippets Groups Projects
Commit d52751ee authored by Tomáš Nováček's avatar Tomáš Nováček
Browse files

Improvements of frontmatter, table of contents entries and sectioning

parent 0c5f065f
No related branches found
No related tags found
1 merge request!27[v1.3.1] Improvements of frontmatter, table of contents entries and sectioning
Pipeline #448857 passed
...@@ -12,7 +12,7 @@ Recommended template for theses submitted at [Faculty of Information Technology] ...@@ -12,7 +12,7 @@ Recommended template for theses submitted at [Faculty of Information Technology]
   
Version Version
-------- --------
1.3.0, built 17. 6. 2024. The whole changelog can be found in the [Changelog file](changelog.md). 1.3.1, built 17. 6. 2024. The whole changelog can be found in the [Changelog file](changelog.md).
   
   
Bugs and support Bugs and support
......
...@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file. ...@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
   
## [1.3.1] - 17. 6. 2024
Improvements of frontmatter, table of contents entries and sectioning.
### Changed
- Changed order of front matter entries (acknowledgements, dedications, etc.) to match standard sectioning.
- Excluding frontmatter entries from table of contents.
### Fixed
- Fixed missing empty page after titlepage.
- Fixed numbering/toc of subsubsection.
## [1.3.0] - 17. 6. 2024 ## [1.3.0] - 17. 6. 2024
Dropped older compilers that do not support computer-read PDFs (e.g., the text could not be copy-pasted). Now, only XeLaTeX and LuaLaTeX can be used. Dropped older compilers that do not support computer-read PDFs (e.g., the text could not be copy-pasted). Now, only XeLaTeX and LuaLaTeX can be used.
......
...@@ -281,10 +281,16 @@ ...@@ -281,10 +281,16 @@
\def\frontsubsectionfont{\large} \def\frontsubsectionfont{\large}
\def\frontsubsubsectionfont{\bfseries} \def\frontsubsubsectionfont{\bfseries}
   
\setcounter{secnumdepth}{4} % numbering sections; 4: subsubsection \setcounter{secnumdepth}{3} % numbering sections; 3: subsubsection
\setcounter{tocdepth}{4} % table of content depth; 4: subsubsection
% frontmatter headings end \newcommand{\stopTOCentries}{
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
}
   
\newcommand{\resumeTOCentries}{
\addtocontents{toc}{\protect\setcounter{tocdepth}{3}} % table of content depth; 3: subsubsection
}
% frontmatter headings end
% frontmatter pseudochapters: named part without printing actual chapter heading % frontmatter pseudochapters: named part without printing actual chapter heading
% \makeatletter % \makeatletter
\newcommand{\frontchapternotprinted}[1]{% \newcommand{\frontchapternotprinted}[1]{%
......
%% This is the ctufit-thesis example file. It is used to produce theses %% This is the ctufit-thesis example file. It is used to produce theses
%% for submission to Czech Technical University, Faculty of Information Technology. %% for submission to Czech Technical University, Faculty of Information Technology.
%% %%
%% This is version 1.3.0, built 17. 6. 2024. %% This is version 1.3.1, built 17. 6. 2024.
%% %%
%% Get the newest version from %% Get the newest version from
%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX %% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
...@@ -108,23 +108,12 @@ ...@@ -108,23 +108,12 @@
\begin{document} \begin{document}
\frontmatter\frontmatterinit % do not remove these two commands \frontmatter\frontmatterinit % do not remove these two commands
   
\thispagestyle{empty}\cleardoublepage\maketitle % do not remove these three commands \thispagestyle{empty}\maketitle\thispagestyle{empty}\cleardoublepage % do not remove these four commands
   
\includepdf[pages={1-}]{assignment-include.pdf} % replace this file with your thesis assignment generated from ProjectsFIT \includepdf[pages={1-}]{assignment-include.pdf} % replace this file with your thesis assignment generated from ProjectsFIT
   
\imprintpage % do not remove this command \imprintpage % do not remove this command
\stopTOCentries
\tableofcontents % do not remove this command
%%%%%%%%%%%%%%%%%%%%%%
% list of other contents: figures, tables, code listings, algorithms, etc.
% add/remove commands accordingly
%%%%%%%%%%%%%%%%%%%%%%
\listoffigures % list of figures
\begingroup
\let\clearpage\relax
\listoftables % list of tables
\thectufitlistingscommand
\endgroup
%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%
% list of other contents END % list of other contents END
%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%
...@@ -191,6 +180,18 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hen ...@@ -191,6 +180,18 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hen
% SUMMARY END % SUMMARY END
%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%
   
\tableofcontents % do not remove this command
%%%%%%%%%%%%%%%%%%%%%%
% list of other contents: figures, tables, code listings, algorithms, etc.
% add/remove commands accordingly
%%%%%%%%%%%%%%%%%%%%%%
\listoffigures % list of figures
\begingroup
\let\clearpage\relax
\listoftables % list of tables
\thectufitlistingscommand
\endgroup
%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%
% ABBREVIATIONS % ABBREVIATIONS
% FILL IN / MODIFY % FILL IN / MODIFY
...@@ -213,9 +214,8 @@ W3C & World Wide Web Consortium ...@@ -213,9 +214,8 @@ W3C & World Wide Web Consortium
%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%
% ABBREVIATIONS END % ABBREVIATIONS END
%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%
\resumeTOCentries
\mainmatter\mainmatterinit % do not remove these two commands \mainmatter\mainmatterinit % do not remove these two commands
%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%
% THE THESIS % THE THESIS
% MODIFY ANYTHING BELOW THIS LINE % MODIFY ANYTHING BELOW THIS LINE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment