aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2024-05-15 13:51:38 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-05-15 13:51:46 +0200
commitf8ecc5f2e8d86c46c56d6db3dae12efafe61a0d1 (patch)
treeab002c39ee88f2f44c144b97668f3d6b305f93eb
parent2c52bba0f1367fd516f25202f7d8aafbf765416c (diff)
Style. Adopt titling for policy documents
-rw-r--r--tex/fripost.sty32
1 files changed, 17 insertions, 15 deletions
diff --git a/tex/fripost.sty b/tex/fripost.sty
index b238641..fe47ebe 100644
--- a/tex/fripost.sty
+++ b/tex/fripost.sty
@@ -30,17 +30,6 @@
\newcommand \descriptionfont {\bfseries\color{grayFri}}
\newcommand \textestemate [1] {{\small\sffamily\mdseries\color{grayFri} #1}}
% \end{macrocode}
-%% Titling
-% \begin{macrocode}
-\RequirePackage{titling}
-\pretitle{\titlefont\centering}
-\posttitle{}
-\preauthor{\titlefont\centering--~}
-\postauthor{\\}
-\predate{\titlefont\centering}
-\postdate{\par}
-\setlength{\droptitle}{-4\baselineskip}
-% \end{macrocode}
%% Options
% \begin{macrocode}
%% \DeclareOption{standalone}{
@@ -49,12 +38,25 @@
\newif\if@minutes\@minutesfalse
\DeclareOption{minutes}{\@minutestrue}
-
-\DeclareOption{by-laws}{
-
-}
+\newif\if@bylaws\@bylawsfalse
+\DeclareOption{by-laws}{\@bylawstrue}
\ProcessOptions\relax
% \end{macrocode}
+%% Titling
+% \begin{macrocode}
+\RequirePackage{titling}
+\pretitle{\titlefont\centering}
+\posttitle{}
+\preauthor{\titlefont\centering--~}
+\postauthor{\\}
+\predate{
+ \titlefont\centering
+ \if@bylaws\color{white}\fi}
+\postdate{
+ \par
+ \if@bylaws\vspace{-1.5\baselineskip}\fi}
+\setlength{\droptitle}{-4\baselineskip}
+% \end{macrocode}
%% Sections
% \begin{macrocode}
\@ifclassloaded{article}{