Skip to content

Commit

Permalink
Fix styling of \section in epleval.cls + fix baseline of label
Browse files Browse the repository at this point in the history
Fixes Gp2mv3#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.
  • Loading branch information
Jimvy committed Jul 9, 2020
1 parent 12ced29 commit 204c995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/epleval.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 204c995

Please sign in to comment.