diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2024-05-15 13:51:38 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2024-05-15 13:51:46 +0200 |
commit | f8ecc5f2e8d86c46c56d6db3dae12efafe61a0d1 (patch) | |
tree | ab002c39ee88f2f44c144b97668f3d6b305f93eb /tex | |
parent | 2c52bba0f1367fd516f25202f7d8aafbf765416c (diff) |
Style. Adopt titling for policy documents
Diffstat (limited to 'tex')
-rw-r--r-- | tex/fripost.sty | 32 |
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}{ |