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

Merge branch 'novacek/front-matter-fixes' into 'master'

[v1.3.1] Improvements of frontmatter, table of contents entries and sectioning

See merge request !27
parents 0c5f065f d52751ee
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 #448860 passed
......@@ -12,7 +12,7 @@ Recommended template for theses submitted at [Faculty of Information Technology]
 
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
......
......@@ -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/)
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
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 @@
\def\frontsubsectionfont{\large}
\def\frontsubsubsectionfont{\bfseries}
 
\setcounter{secnumdepth}{4} % numbering sections; 4: subsubsection
\setcounter{tocdepth}{4} % table of content depth; 4: subsubsection
% frontmatter headings end
\setcounter{secnumdepth}{3} % numbering sections; 3: subsubsection
\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
% \makeatletter
\newcommand{\frontchapternotprinted}[1]{%
......
%% This is the ctufit-thesis example file. It is used to produce theses
%% 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
%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
......@@ -108,23 +108,12 @@
\begin{document}
\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
 
\imprintpage % do not remove this command
\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
\stopTOCentries
%%%%%%%%%%%%%%%%%%%%%%
% list of other contents END
%%%%%%%%%%%%%%%%%%%%%%
......@@ -191,6 +180,18 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hen
% 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
% FILL IN / MODIFY
......@@ -213,9 +214,8 @@ W3C & World Wide Web Consortium
%%%%%%%%%%%%%%%%%%%
% ABBREVIATIONS END
%%%%%%%%%%%%%%%%%%%
\resumeTOCentries
\mainmatter\mainmatterinit % do not remove these two commands
%%%%%%%%%%%%%%%%%%%
% THE THESIS
% 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