diff options
-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}{ |