diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f3da48e5eb4be744c6630e93fbf5b1fe8dfc452d..bc009b2ae0f9573b421c92495d584758766f8465 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: texlive/texlive +image: texlive/texlive:latest LuaLaTeX: script: @@ -7,6 +7,11 @@ LuaLaTeX: - latexmk -pdflua ctufit-thesis.tex - latexmk -pdflua ctufit-thesis-en.tex - latexmk -pdflua ctufit-thesis-sk.tex + artifacts: + paths: + - ctufit-thesis.pdf + - ctufit-thesis-en.pdf + - ctufit-thesis-sk.pdf XeLaTeX: script: @@ -15,6 +20,11 @@ XeLaTeX: - latexmk -pdfxe ctufit-thesis.tex - latexmk -pdfxe ctufit-thesis-en.tex - latexmk -pdfxe ctufit-thesis-sk.tex + artifacts: + paths: + - ctufit-thesis.pdf + - ctufit-thesis-en.pdf + - ctufit-thesis-sk.pdf pdfLaTeX: script: diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls index 815548fcddba0dd106e9f486a86bf5ad1ea5188b..3769f46e802625ee4c670a10922c6b05a0bafdda 100644 --- a/ctufit-thesis.cls +++ b/ctufit-thesis.cls @@ -267,13 +267,6 @@ {} {} - -% \titleformat{\subsection} -% {\frontsubsectionfont\color{heading}}{{{\color{black}\thesubsection}}}{1em}{}[\vskip -1em] - -% \titleformat{\subsubsection} -% {\frontsubsubsectionfont\color{heading}}{{{\color{black}\thesubsubsection}}}{1em}{}[\vskip -1em] - % \makeatletter \@openrightfalse % \makeatother @@ -288,6 +281,9 @@ \def\frontsectionfont{\large\bfseries} \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 % frontmatter pseudochapters: named part without printing actual chapter heading @@ -308,7 +304,7 @@ \renewcommand*{\l@chapter}[2]{% \stdl@chapter{\textcolor{heading}{#1}}{\textcolor{heading}{#2}}} % \makeatother -% table of contents colored chapters end +% table of contents coloured chapters end % headers and footers % \makeatletter @@ -529,6 +525,7 @@ }{}% \@ifpackageloaded{minted}{% \DeclareRobustCommand{\listingscaption}{\thectufitlistinglabel}% + \SetupFloatingEnvironment{listing}{name=\listingscaption} \DeclareRobustCommand{\listoflistingscaption}{\thectufitlollabel}% \DeclareRobustCommand{\listlistingname}{\thectufitlollabel}% \DeclareRobustCommand{\thectufitlistingscommand}{\listoflistings}% diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex index 7cd4c2f25e12a6ff39ac66e91ccdc9b89121c0a6..626f4676e7d63cbbbadcec32bacc08a0a93ba064 100644 --- a/ctufit-thesis.tex +++ b/ctufit-thesis.tex @@ -82,10 +82,6 @@ \RequirePackage{pdfpages}[2020/01/28] -\setcounter{secnumdepth}{4} % numbering sections; 4: subsubsection - - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % CUSTOMIZATION of this template END %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%