From 158d805fd4554aeefab4b047ca646e8c26adcf04 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sun, 16 Jun 2024 21:42:09 +0200 Subject: Style. Adjust paragraph and subparagraph --- tex/fripost.sty | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'tex') diff --git a/tex/fripost.sty b/tex/fripost.sty index 9c2cdd1..bd7b25e 100644 --- a/tex/fripost.sty +++ b/tex/fripost.sty @@ -64,7 +64,9 @@ \if@report\normalsize\fi} \postdate{% \par% - \if@bylaws\vspace{-1.4\baselineskip}\fi} + \if@minutes\vspace{-0.5\baselineskip}\fi% + \if@bylaws\vspace{-1.4\baselineskip}\fi% + \if@report\vspace{-0.5\baselineskip}\fi} \setlength{\droptitle}{-4\baselineskip} % \end{macrocode} %% Sections @@ -73,10 +75,18 @@ \RequirePackage{sectsty} \setcounter{secnumdepth}{3} % section numbering by default \allsectionsfont{% - \sffamily\mdseries\color{grayFri}} - \if@minutes - \allsectionsfont{\sffamily\mdseries\color{grayFri}\normalsize} - \fi + \sffamily\mdseries\color{grayFri}% + \if@minutes\normalsize\fi + \if@bylaws\normalsize\fi + } + \paragraphfont{\rmfamily\normalsize} + \subparagraphfont{\rmfamily\normalsize} + \def\@seccntformat#1{ % section formatting + \if@bylaws\S\ \fi % paragraph sign for policy + \csname the#1\endcsname % numbering + \quad % space + } + }{} \@ifclassloaded{leaflet}{ \RequirePackage{sectsty} -- cgit v1.2.3