Skip to content

Commit 0c705bf

Browse files
authored
Merge pull request #147 from compgeolab/preprint-tweaks
Include license and DOI in the preprint PDF
2 parents aaabb4c + 2d77d99 commit 0c705bf

File tree

2 files changed

+45
-23
lines changed

2 files changed

+45
-23
lines changed

manuscript/preprint.tex

Lines changed: 41 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,24 @@
2121
\urlstyle{same}
2222

2323
% Configure column separation and page geometry
24-
%\usepackage[hmargin=2cm, vmargin=3cm]{geometry}
25-
%\setlength{\columnsep}{2\columnsep}
24+
\usepackage[hmargin=2cm,vmargin=2.9cm]{geometry}
2625

2726
% Import variables
2827
\input{variables.tex}
2928

3029

31-
% Define title, authors, affiliations and DOI
32-
% ===========================================
30+
% Define authors and affiliations
31+
% ===============================
3332
\newcommand{\Author}{%
34-
\SolerShort{} and \UiedaShort{}
33+
\SolerShort{} \& \UiedaShort
34+
}
35+
\newcommand{\AuthorLong}{%
36+
\Soler{} and \Uieda
3537
}
3638
\newcommand{\AuthorAffil}{%
3739
{\large
38-
\Soler$^{1,2}$\orcidlink{\SolerORCID} and
39-
\Uieda$^{3}$\orcidlink{\UiedaORCID}
40+
\Soler$^{1,2}$ \orcidlink{\SolerORCID} and
41+
\Uieda$^{3}$ \orcidlink{\UiedaORCID}
4042
}
4143
\\[0.4cm]
4244
{\small $^{1}$\CONICET (\SolerMail)} \\
@@ -45,22 +47,41 @@
4547
}
4648

4749

48-
% Configure header and hypersetup
49-
% ===============================
50+
% Configure header and footer
51+
% ===========================
52+
\newcommand{\Footer}{%
53+
\Author{} (\the\year{}). \Title{}. EarthArXiv.
54+
doi:\href{https://doi.org/\PreprintDOI}{\PreprintDOI}
55+
}
56+
\newcommand{\Header}{%
57+
This is a non-peer reviewed preprint submitted to EarthArXiv
58+
}
59+
5060
\pagestyle{fancy}
5161
\fancyhf{}
52-
\lhead{
53-
\fontsize{9pt}{12pt}\selectfont
54-
\Author{} (\the\year{}). \Title{}.
62+
\lhead{\Header{}}
63+
\rfoot{\thepage}
64+
\lfoot{\Footer{}}
65+
\renewcommand{\footrulewidth}{0.1pt}
66+
\renewcommand{\headrulewidth}{0.1pt}
67+
\fancypagestyle{plain}{%
68+
\fancyhf{}
69+
\rfoot{\thepage}
70+
\lfoot{\Footer{}}
71+
\renewcommand{\footrulewidth}{0.1pt}
72+
\renewcommand{\headrulewidth}{0pt}
5573
}
56-
\rhead{\fontsize{9pt}{12pt}\selectfont \thepage}
57-
\renewcommand{\headrulewidth}{0pt}
74+
75+
76+
% Configure hypersetup
77+
% ====================
5878
\hypersetup{
5979
allcolors=blue,
6080
pdftitle={\Title},
6181
pdfauthor={\Author},
6282
}
6383

84+
6485
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6586

6687
\begin{document}
@@ -77,6 +98,12 @@
7798
\textbf{Disclaimer:}
7899
This is a non-peer reviewed preprint submitted to EarthArXiv.
79100
It is currently under review at \textit{Geophysical Journal International}.
101+
\\[0.5cm]
102+
\noindent
103+
\textbf{License:}
104+
\textcopyright{} \the\year{} \AuthorLong{}.
105+
Available under a Creative Commons Attribution 4.0 International license
106+
(\href{https://creativecommons.org/licenses/by/4.0/}{CC-BY}).
80107

81108
%Accepted 2016 October 13. Received in original form 2016 March 24.
82109
%\\[0.4cm]

manuscript/variables.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
% Title, authors and affiliations
22
\newcommand{\Title}{Gradient-boosted equivalent sources}
33
\newcommand{\Soler}{Santiago R. Soler}
4-
\newcommand{\SolerShort}{S.R. Soler}
4+
\newcommand{\SolerShort}{Soler}
55
\newcommand{\SolerMail}{[email protected]}
66
\newcommand{\SolerORCID}{0000-0001-9202-5317}
77
\newcommand{\Uieda}{Leonardo Uieda}
8-
\newcommand{\UiedaShort}{L. Uieda}
8+
\newcommand{\UiedaShort}{Uieda}
99
\newcommand{\UiedaORCID}{0000-0001-6123-9515}
1010
\newcommand{\CONICET}{%
1111
CONICET, Argentina
@@ -18,13 +18,8 @@
1818
Sciences, University of Liverpool, UK
1919
}
2020

21-
% DOI
22-
\newcommand{\DOI}{%
23-
doi:\href{https://doi.org/xxx.xxx/xxxxxx}{xxx.xxx/xxxxxx}
24-
}
25-
\newcommand{\DOILink}{%
26-
\href{https://doi.org/xxx.xxx/xxxxxx}{doi.org/xxx.xxx/xxxxxx}
27-
}
21+
% DOIs
22+
\newcommand{\PreprintDOI}{10.31223/X58G7C}
2823

2924
% Keywords for GJI
3025
\newcommand{\keywordsGJI}{%

0 commit comments

Comments
 (0)