From 0d1de20fb36516bf09b549befaa3a2d8d29147d8 Mon Sep 17 00:00:00 2001 From: novacto3 <tomas.novacek@fit.cvut.cz> Date: Mon, 17 Jun 2024 14:46:41 +0200 Subject: [PATCH] Fixed header overflow warning --- README.md | 2 +- changelog.md | 10 ++++++++++ ctufit-thesis.cls | 2 ++ ctufit-thesis.tex | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a912dd..07b8fa8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/changelog.md b/changelog.md index 4a8bb3a..fe9b6b3 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,16 @@ 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 + +Fixed warning about header height. + +### Fixed +- Fixed "Package fancyhdr Warning: \headheight..." warning. + + + ## [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. diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls index 08a3f8a..d0bcc47 100644 --- a/ctufit-thesis.cls +++ b/ctufit-thesis.cls @@ -326,6 +326,8 @@ \fi \fancyhead[RO]{\leavevmode\smash{\rlap{\hspace*{0em}\color{headgray}\bfseries\thepage}}} \fancyhead[LO]{\color{headgray}\bfseries\nouppercase{\rightmark}} +\setlength{\headheight}{14.05pt} +\addtolength{\topmargin}{-2.05pt} \renewcommand{\headrulewidth}{0pt} % headers and footers end diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex index c26f42c..2bd154a 100644 --- a/ctufit-thesis.tex +++ b/ctufit-thesis.tex @@ -1,7 +1,7 @@ %% 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 -- GitLab