aboutsummaryrefslogtreecommitdiffstats
path: root/tex/fripost.sty
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2024-06-16 21:42:09 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-06-16 21:42:09 +0200
commit158d805fd4554aeefab4b047ca646e8c26adcf04 (patch)
treee82d844723ac28aa1fed4f2251aa48487e4df723 /tex/fripost.sty
parent73ccb80928c54c664570d1a3e7035c3be65303fc (diff)
Style. Adjust paragraph and subparagraphHEADmaster
Diffstat (limited to 'tex/fripost.sty')
-rw-r--r--tex/fripost.sty20
1 files changed, 15 insertions, 5 deletions
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}