From 204c995d011a05642809fc821cc37c982d568d14 Mon Sep 17 00:00:00 2001 From: Jean-Martin Vlaeminck Date: Thu, 9 Jul 2020 23:55:47 +0200 Subject: [PATCH] Fix styling of \section in epleval.cls + fix baseline of label Fixes #841 Styling unified to that of sans-serif fonts for all section titles. Label (in a shadow box) aligned such that the lower bound of the white box is aligned with the baseline of the section title. --- src/epleval.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/epleval.cls b/src/epleval.cls index 868a7ba95..2785cb58b 100644 --- a/src/epleval.cls +++ b/src/epleval.cls @@ -58,8 +58,8 @@ \titleformat {\section} % command [hang] % shape -{\bfseries} % format -{\shadowbox{~\thesection~}} % label +{\mdseries\Large\sffamily\upshape} % format +{\raisebox{-\shadowsize}{\shadowbox{\bfseries\rmfamily\normalsize~\thesection~}}} % label ; note: \fboxsep is the padding {0.5ex} % sep {} % before-code