From a2563463508c85738324a879973b48e4fe8fa5c4 Mon Sep 17 00:00:00 2001 From: novacto3 <tomas.novacek@fit.cvut.cz> Date: Mon, 17 Jun 2024 12:17:08 +0200 Subject: [PATCH] Fix of different layouts in oneside and twoside versions. Fix of unnumbered introduction chapter --- README.md | 2 +- changelog.md | 10 ++++++++++ ctufit-thesis.cls | 2 +- ctufit-thesis.tex | 2 +- text/text.tex | 4 ++-- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2d660fd..f5ff855 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Recommended template for theses submitted at [Faculty of Information Technology] Version -------- -1.2.0 (17. 6. 2024). The whole changelog can be found in the [Changelog file](changelog.md) +1.2.1 (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 766168b..587140f 100644 --- a/changelog.md +++ b/changelog.md @@ -4,7 +4,17 @@ 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.2.1] - 17. 6. 2024 +Sync of layout for oneside and twoside versions. + +### Changed +- The introduction chapter is numbered (as it should have been). + +### Fixed +- Fixed the problem that oneside and twoside versions had different layouts because of different margings. + ## [1.2.0] - 17. 6. 2024 Started versioning. diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls index 6e1690c..08a3f8a 100644 --- a/ctufit-thesis.cls +++ b/ctufit-thesis.cls @@ -61,7 +61,7 @@ \LoadClass[a4paper,11pt]{book}[2020/04/10] \RequirePackage{babel}[2021/03/03] \if@twoside - \RequirePackage[bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout + \RequirePackage[top=4.6cm,bottom=4cm,footskip=4em,inner=4.7cm,outer=3.25cm]{geometry}[2020/01/02] %page layout \else \RequirePackage[left=3.95cm,right=4.0cm,top=4.6cm,bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout \fi diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex index c01bb68..c4f0da5 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.2.0. build on 17. 6. 2024. +%% This is version 1.2.1. build on 17. 6. 2024. %% %% Get the newest version from %% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX diff --git a/text/text.tex b/text/text.tex index c8a077c..55a5703 100644 --- a/text/text.tex +++ b/text/text.tex @@ -1,8 +1,8 @@ % Do not forget to include Introduction %--------------------------------------------------------------- -% \chapter{Introduction} +\chapter{Introduction} % uncomment the following line to create an unnumbered chapter -\chapter*{Introduction}\addcontentsline{toc}{chapter}{Introduction}\markboth{Introduction}{Introduction} +%\chapter*{Introduction}\addcontentsline{toc}{chapter}{Introduction}\markboth{Introduction}{Introduction} %--------------------------------------------------------------- \setcounter{page}{1} -- GitLab