aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tex/fripost.sty40
1 files changed, 25 insertions, 15 deletions
diff --git a/tex/fripost.sty b/tex/fripost.sty
index fe47ebe..4c25e4e 100644
--- a/tex/fripost.sty
+++ b/tex/fripost.sty
@@ -32,29 +32,39 @@
% \end{macrocode}
%% Options
% \begin{macrocode}
-%% \DeclareOption{standalone}{
-
-%% }
-
\newif\if@minutes\@minutesfalse
-\DeclareOption{minutes}{\@minutestrue}
\newif\if@bylaws\@bylawsfalse
-\DeclareOption{by-laws}{\@bylawstrue}
+\newif\if@report\@reportfalse
+\newcommand\resetopts{\@minutesfalse\@bylawsfalse\@reportfalse}
+\DeclareOption{standalone}{\resetopts}
+\DeclareOption{minutes}{\resetopts\@minutestrue}
+\DeclareOption{by-laws}{\resetopts\@bylawstrue}
+\DeclareOption{report}{\resetopts\@reporttrue}
+\ExecuteOptions{report}
\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}
+\posttitle{%
+ \if@minutes~--~\fi%
+ \if@bylaws~--~\fi%
+ \if@report\\[.2\baselineskip]\fi}
+\preauthor{%
+ \titlefont\centering%
+ \if@report\normalsize\fi}
+\postauthor{
+ \if@minutes\\\fi%
+ \if@bylaws\\\fi%
+ \if@report~--~\fi}
+\predate{%
+ \titlefont\centering%
+ \if@bylaws\color{white}\fi%
+ \if@report\normalsize\fi}
+\postdate{%
+ \par%
+ \if@bylaws\vspace{-1.4\baselineskip}\fi}
\setlength{\droptitle}{-4\baselineskip}
% \end{macrocode}
%% Sections