From a67f1ffbc566ca2710a60dffc5622d41e9c8c684 Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Wed, 6 Mar 2024 18:53:28 +0100 Subject: [PATCH 1/4] Fix conflict with microtype and this package --- latex/ugent2016-title.sty | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/latex/ugent2016-title.sty b/latex/ugent2016-title.sty index 64db8c1..b94aa7e 100644 --- a/latex/ugent2016-title.sty +++ b/latex/ugent2016-title.sty @@ -41,9 +41,6 @@ % Used to adjust margins of the title page \PassOptionsToPackage{pass}{geometry} \RequirePackage{geometry} - % Fix compat with KomaScript - % Sets the spacing between lines. - \RequirePackage{setspace} % Used for underlining the titles \RequirePackage[normalem]{ulem} % Position things within tikz. @@ -369,10 +366,8 @@ \begin{minipage}[c][\dimexpr0.37\pageheight-2\smallblock\relax][s]{\dimexpr0.61\pagewidth-2\smallblock\relax} \raggedright \color{white} - \begin{spacing}{3} - {\fontsize{35bp}{42bp}\selectfont\bfseries\panno\ugenttitle@maybeUppercase{\ugenttitle@maybeUnderline{\@title}}} \par - {\fontsize{30bp}{36bp}\selectfont\bfseries\panno\@subtitle} - \end{spacing} + {\fontsize{35bp}{42bp}\selectfont\bfseries\panno\ugenttitle@maybeUppercase{\ugenttitle@maybeUnderline{\@title}}} \par + {\fontsize{30bp}{36bp}\selectfont\bfseries\panno\@subtitle} \vfill {\fontsize{18bp}{22bp}\selectfont\panno\@author} \par \vspace{\smallblock} From 0ec08221e04b0092625a870c621302fd695dd37b Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Wed, 6 Mar 2024 18:53:51 +0100 Subject: [PATCH 2/4] Fix overfull hbox --- latex/ugent2016-title.sty | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/latex/ugent2016-title.sty b/latex/ugent2016-title.sty index b94aa7e..9a06bd8 100644 --- a/latex/ugent2016-title.sty +++ b/latex/ugent2016-title.sty @@ -235,12 +235,12 @@ \vspace{\fill} \noindent - \begin{minipage}{\textwidth} - \raggedright + {% + \raggedright% \fontsize{2.5\@basesize}{3\@basesize}\selectfont\bfseries\panno\color{ugent-blue}\ugenttitle@maybeUppercase{\ugenttitle@maybeUnderline{\@title}} \par - \vspace{0.3\baselineskip} - \fontsize{1.5\@basesize}{1.8\@basesize}\selectfont\panno\color{ugent-blue}\ugenttitle@maybeUppercase{\@subtitle} - \end{minipage} + \vspace{0.3\baselineskip}% + \fontsize{1.5\@basesize}{1.8\@basesize}\selectfont\panno\color{ugent-blue}\ugenttitle@maybeUppercase{\@subtitle}% + } % Add word count if necessary \ifdefempty{\@wordcount}{% From 4d242e5cfafe91439584110182186c2ee3109327 Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Wed, 6 Mar 2024 18:54:00 +0100 Subject: [PATCH 3/4] Bump version --- latex/ugent2016-title.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex/ugent2016-title.sty b/latex/ugent2016-title.sty index 9a06bd8..2889f48 100644 --- a/latex/ugent2016-title.sty +++ b/latex/ugent2016-title.sty @@ -13,7 +13,7 @@ % This package provides the three officially defined styles [1]: notes/report, thesis (any kind) and book. % % [1]: https://styleguide.ugent.be/sjablonen/drukwerk.html -\ProvidesPackage{ugent2016-title}[2020/05/28 package ugent2016-title] +\ProvidesPackage{ugent2016-title}[2024/03/06 package ugent2016-title] % Load our stuff at the end of the preamble. This allows the user to override loaded packages. \RequirePackage{etoolbox} From 1ddb0de699b819a498b4bb1c338a5ce2346e43fc Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Wed, 6 Mar 2024 18:55:41 +0100 Subject: [PATCH 4/4] Also remove setspace from list of packages --- texlive/texlive_packages | 1 - 1 file changed, 1 deletion(-) diff --git a/texlive/texlive_packages b/texlive/texlive_packages index 473ef90..f8a71f2 100644 --- a/texlive/texlive_packages +++ b/texlive/texlive_packages @@ -12,7 +12,6 @@ fontspec pgf textcase geometry -setspace ulem lm babel