Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

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