pnasmathematics.sty 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. %% Set whether the abstract is set into the first column
  6. \setboolean{shortarticle}{false}
  7. % true = set into first column
  8. % false = spans page width
  9. %% Set to single column style
  10. \onecolumn
  11. \setboolean{singlecolumn}{true}
  12. %% Set colors
  13. \definecolor{color2}{RGB}{130,0,0} % color
  14. %% Set up the first page footnote/fact box here
  15. \RequirePackage{float}
  16. \floatstyle{plain}
  17. \newfloat{sigstatement}{b!}{sst}
  18. \additionalelement{%
  19. \begin{sigstatement}
  20. \sffamily
  21. \mdfdefinestyle{pnassigstyle}{linewidth=0.7pt,backgroundcolor=pnasblueback,linecolor=pnasbluetext,fontcolor=pnasbluetext,innertopmargin=6pt,innerrightmargin=6pt,innerbottommargin=6pt,innerleftmargin=6pt}
  22. \@ifundefined{@significancestatement}{}{%
  23. \begin{mdframed}[style=pnassigstyle]%
  24. \section*{Significance Statement}%
  25. \@significancestatement
  26. \end{mdframed}}
  27. % \medskip
  28. \scriptsize
  29. \@ifundefined{@authorcontributions}{}{\@authorcontributions}
  30. \vskip5pt%
  31. \@ifundefined{@authordeclaration}{}{\@authordeclaration}
  32. \vskip5pt%
  33. \@ifundefined{@equalauthors}{}{\@equalauthors}
  34. \vskip5pt%
  35. \@ifundefined{@correspondingauthor}{}{\@correspondingauthor}
  36. \end{sigstatement}
  37. }
  38. %% No additional elements nor pnasbreak required
  39. %\additionalelement{}
  40. \def\pnasbreak{}
  41. \endinput