|
1 | 1 | \documentclass[floats,floatfix,showpacs,amssymb,prd,twocolumn,superscriptaddress,nofootinbib,nolongbibliography,reprint]{revtex4-2} |
2 | 2 |
|
3 | | -\usepackage{amssymb,amsmath,verbatim,mathtools,needspace,enumitem,etoolbox,graphicx,physics,microtype,afterpage,bigints,gensymb,tabularx,xspace} |
| 3 | +\usepackage{amssymb,amsmath,verbatim,mathtools,needspace,enumitem,etoolbox,graphicx,physics,microtype,afterpage,bigints,gensymb,tabularx,xspace,bbm} |
4 | 4 |
|
5 | 5 | \usepackage[dvipsnames, usenames]{xcolor} |
6 | 6 | \definecolor{linkcolor}{rgb}{0.0,0.3,0.5} |
7 | | -\definecolor{dodgerblue}{HTML}{1E90FF} |
8 | 7 | \usepackage[unicode, colorlinks=true, linkcolor=linkcolor, citecolor=linkcolor, filecolor=linkcolor,urlcolor=linkcolor, pdfusetitle]{hyperref} |
9 | 8 | \usepackage[all]{hypcap} |
10 | 9 | \usepackage[T1]{fontenc} |
11 | 10 | \usepackage[utf8]{inputenc} |
12 | 11 | \usepackage{orcidlink} |
13 | 12 | \usepackage{bibunits} |
| 13 | +\usepackage{overpic,makecell,multirow} |
| 14 | +\usepackage{xtab,afterpage,longtable} |
| 15 | +\usepackage[normalem]{ulem} |
14 | 16 |
|
15 | 17 | \interfootnotelinepenalty=10000 |
16 | 18 | \newcommand{\ssim}{\mathchar"5218\relax\,} |
|
22 | 24 | \newcommand*{\balancecolsandclearpage}{\close@column@grid \cleardoublepage \twocolumngrid} |
23 | 25 | \makeatother |
24 | 26 |
|
25 | | -%\usepackage{draftwatermark}\SetWatermarkText{Draft} \SetWatermarkScale{4} \SetWatermarkAngle{30} |
| 27 | +\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 28 | +\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 29 | +\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} |
| 30 | + |
26 | 31 | \newcommand{\sm}{Supplemental Material\xspace} |
| 32 | +\newcommand{\prltitle}{My Awesome Paper} |
27 | 33 |
|
28 | 34 | \newcommand\prlsec[1]{\vspace{2mm}\noindent \textbf{\textit{#1}}\,---} |
29 | 35 |
|
30 | | -\newcommand{\milan}{\affiliation{Dipartimento di Fisica ``G. Occhialini'', Universit\'a degli Studi di Milano-Bicocca, Piazza della Scienza 3, 20126 Milano, Italy}} |
| 36 | +\newcommand{\milan}{\affiliation{Dipartimento di Fisica ``G. Occhialini'', Universit\`a degli Studi di Milano-Bicocca, Piazza della Scienza 3, 20126 Milano, Italy}} |
31 | 37 | \newcommand{\infn}{\affiliation{INFN, Sezione di Milano-Bicocca, Piazza della Scienza 3, 20126 Milano, Italy}} |
32 | 38 |
|
| 39 | +\newcommand{\dg}[1]{{\color{RedOrange}DG: #1}} |
| 40 | +\newcommand{\vdr}[1]{{\color{Cyan}VDR: #1}} |
| 41 | +\newcommand{\costa}[1]{{\color{Magenta}CP: #1}} |
| 42 | +\newcommand{\mm}[1]{{\color{ForestGreen}MM: #1}} |
33 | 43 |
|
| 44 | +\newcommand{\new}[1]{{\color{RedOrange}#1}} |
34 | 45 |
|
| 46 | +\makeatletter |
| 47 | +\def\maketitle{ |
| 48 | +\@author@finish |
| 49 | +\title@column\titleblock@produce |
| 50 | +\suppressfloats[t]} |
| 51 | +\makeatother |
35 | 52 |
|
36 | | -\newcommand{\dg}[1]{{\color{RedOrange}DG: #1}} |
37 | 53 |
|
38 | 54 |
|
39 | 55 | \begin{document} |
40 | 56 |
|
41 | | -\title{Write a paper} |
| 57 | +\newcommand{\titleprl}{Write a paper} |
| 58 | +\title{\titleprl} |
42 | 59 |
|
43 | 60 | \author{Davide Gerosa$\,$\orcidlink{0000-0002-0933-3579}} |
44 | 61 | \email{davide.gerosa@unimib.it} |
45 | | - |
46 | 62 | \milan \infn |
47 | 63 |
|
48 | | - |
49 | 64 | \author{friends} |
50 | 65 |
|
51 | 66 | \pacs{} |
|
60 | 75 |
|
61 | 76 | \maketitle |
62 | 77 |
|
63 | | -%%%SUPMAT |
64 | | -\defaultbibliography{draft} |
| 78 | +\defaultbibliography{semisup} |
65 | 79 | \defaultbibliographystyle{apsrev4-2} |
66 | 80 | \begin{bibunit} |
67 | | -%%%SUPMAT |
68 | 81 |
|
69 | 82 | \prlsec{Introduction} |
70 | 83 |
|
71 | 84 | I'm a section \cite{2016PhRvL.116f1102A}. |
72 | 85 |
|
73 | | -\prlsec{Acknowledgements} |
74 | | - |
75 | | - |
76 | | -%%%NOSUPMAT |
77 | | -%\bibliography{draft} |
78 | | -%%%NOSUPMAT |
79 | 86 |
|
| 87 | +\prlsec{Acknowledgements} |
80 | 88 |
|
81 | 89 |
|
82 | | -%%%SUPMAT |
83 | 90 | \putbib |
84 | 91 | \end{bibunit} |
85 | 92 | \begin{bibunit} |
86 | 93 | \setcounter{equation}{0} |
87 | 94 | \setcounter{figure}{0} |
88 | 95 | \setcounter{table}{0} |
89 | | -%\setcounter{page}{1} |
| 96 | +\clearpage \pagebreak |
90 | 97 | \renewcommand{\theequation}{S\arabic{equation}} |
91 | 98 | \renewcommand{\thefigure}{S\arabic{figure}} |
92 | 99 | \renewcommand{\bibnumfmt}[1]{[S#1]} |
93 | 100 | \renewcommand{\citenumfont}[1]{S#1} |
94 | | -%%%SUPMAT |
95 | 101 |
|
96 | | -\onecolumngrid |
97 | | -\clearpage |
| 102 | +%%%%%%% |
| 103 | +% For submitting to PRL |
| 104 | +%\setcounter{page}{1} |
| 105 | +%\title{{\sc \sm} \\ \titleprl} |
98 | 106 |
|
99 | | -\section*{\sm} |
| 107 | +% For the arxiv |
| 108 | +{\sc \sm} |
| 109 | +%%%%%%% |
100 | 110 |
|
101 | | -These are the \sm \cite{2016PhRvL.116f1102A}. |
| 111 | +\prlsec{Something} |
102 | 112 |
|
103 | | -To compile separate bibliographies, comment our the bibliography line and uncomment the lines tagged with SUPMAT. Then compile using the makefile provided |
104 | 113 |
|
105 | 114 |
|
106 | | -%%%SUPMAT |
107 | 115 | \putbib |
108 | 116 | \end{bibunit} |
109 | | -%%%SUPMAT |
110 | 117 |
|
111 | 118 |
|
112 | 119 |
|
113 | 120 | \end{document} |
114 | | - |
|
0 commit comments