-
Notifications
You must be signed in to change notification settings - Fork 0
/
pnasmathematics.sty
48 lines (41 loc) · 1.4 KB
/
pnasmathematics.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%%% PNAS one column mathematics article style file
%%% For use with pnas-new.cls
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pnasmathematics}[2016/02/28 v1.2 PNAS one column mathematics article style]
%% Set whether the abstract is set into the first column
\setboolean{shortarticle}{false}
% true = set into first column
% false = spans page width
%% Set to single column style
\onecolumn
\setboolean{singlecolumn}{true}
%% Set colors
\definecolor{color2}{RGB}{130,0,0} % color
%% Set up the first page footnote/fact box here
\RequirePackage{float}
\floatstyle{plain}
\newfloat{sigstatement}{b!}{sst}
\additionalelement{%
\begin{sigstatement}
\sffamily
\mdfdefinestyle{pnassigstyle}{linewidth=0.7pt,backgroundcolor=pnasblueback,linecolor=pnasbluetext,fontcolor=pnasbluetext,innertopmargin=6pt,innerrightmargin=6pt,innerbottommargin=6pt,innerleftmargin=6pt}
\@ifundefined{@significancestatement}{}{%
\begin{mdframed}[style=pnassigstyle]%
\section*{Significance Statement}%
\@significancestatement
\end{mdframed}}
% \medskip
\scriptsize
\@ifundefined{@authorcontributions}{}{\@authorcontributions}
\vskip5pt%
\@ifundefined{@authordeclaration}{}{\@authordeclaration}
\vskip5pt%
\@ifundefined{@equalauthors}{}{\@equalauthors}
\vskip5pt%
\@ifundefined{@correspondingauthor}{}{\@correspondingauthor}
\end{sigstatement}
}
%% No additional elements nor pnasbreak required
%\additionalelement{}
\def\pnasbreak{}
\endinput