|
2 | 2 | % Copyright (C) 2010 by the R Foundation |
3 | 3 | % Copyright (C) 2013 by the R Journal |
4 | 4 | % |
5 | | -% Originally written by Kurt Hornik and Friedrich Leisch with subsequent |
| 5 | +% Originally written by Kurt Hornik and Friedrich Leisch with subsequent |
6 | 6 | % edits by the editorial board |
7 | 7 | % |
8 | 8 | % CAUTION: |
9 | 9 | % Do not modify this style file. Any changes to this file will be reset when your |
10 | 10 | % article is submitted. |
11 | | -% If you must modify the style or add LaTeX packages to the article, these |
| 11 | +% If you must modify the style or add LaTeX packages to the article, these |
12 | 12 | % should be specified in RJwrapper.tex |
13 | 13 |
|
14 | 14 | \NeedsTeXFormat{LaTeX2e}[1995/12/01] |
15 | | -\ProvidesPackage{RJournal}[2022/06/27 v0.14 RJournal package] |
| 15 | +\ProvidesPackage{RJournal}[2025/05/07 v0.15 RJournal package] |
16 | 16 |
|
17 | 17 | \RequirePackage{tikz} |
18 | 18 |
|
19 | 19 | % Overall page layout, fonts etc ----------------------------------------------- |
20 | 20 |
|
21 | 21 | % Issues of of \emph{The R Journal} are created from the standard \LaTeX{} |
22 | | -% document class \pkg{report}. |
| 22 | +% document class \pkg{report}. |
23 | 23 |
|
24 | 24 | \RequirePackage{geometry} |
25 | | -\geometry{a4paper, |
| 25 | +\geometry{a4paper, |
26 | 26 | textwidth=14cm, top=1cm, bottom=1cm, |
27 | 27 | includehead,includefoot,centering, |
28 | 28 | footskip=1.5cm} |
29 | 29 | \raggedbottom |
30 | 30 |
|
31 | 31 | \RequirePackage{fancyhdr} |
32 | 32 | \fancyhead{} |
33 | | -\fancyheadoffset{2cm} |
| 33 | +\fancyheadoffset{2cm} |
34 | 34 | \fancyhead[L]{\textsc{\RJ@sectionhead}} |
35 | 35 | \fancyhead[R]{\thepage} |
36 | 36 | \fancyfoot{} |
|
39 | 39 | \pagestyle{fancy} |
40 | 40 |
|
41 | 41 | % We use the following fonts (all with T1 encoding): |
42 | | -% |
| 42 | +% |
43 | 43 | % rm & palatino |
44 | 44 | % tt & inconsolata |
45 | 45 | % sf & helvetica |
|
97 | 97 | \renewcommand{\title} [1]{\def\RJ@title{#1}} |
98 | 98 | \newcommand {\subtitle} [1]{\def\RJ@subtitle{#1}} |
99 | 99 |
|
100 | | -% Control appearance of titles: make slightly smaller than usual, and |
| 100 | +% Control appearance of titles: make slightly smaller than usual, and |
101 | 101 | % suppress section numbering. See http://tex.stackexchange.com/questions/69749 |
102 | | -% for why we don't use \setcounter{secnumdepth}{-1} |
| 102 | +% for why we don't use \setcounter{secnumdepth}{-1} |
103 | 103 |
|
104 | 104 | \usepackage[medium]{titlesec} |
105 | 105 | \usepackage{titletoc} |
|
109 | 109 |
|
110 | 110 | % Article layout --------------------------------------------------------------- |
111 | 111 |
|
112 | | -% Environment |article| clears the article header information at its beginning. |
| 112 | +% Environment |article| clears the article header information at its beginning. |
113 | 113 | % We use |\FloatBarrier| from the placeins package to keep floats within |
114 | 114 | % the article. |
115 | 115 | \RequirePackage{placeins} |
|
118 | 118 | % Refereed articles should have an abstract, so we redefine |\abstract| to |
119 | 119 | % give the desired style |
120 | 120 |
|
121 | | -\renewcommand{\abstract}[1]{% |
122 | | -\setstretch{1}% |
123 | | -\noindent% |
124 | | -\small% |
125 | | -\textbf{Abstract} #1 |
126 | | -} |
| 121 | +\renewcommand{\abstract}[1]{\noindent\textbf{Abstract} #1} |
| 122 | +\renewenvironment{abstract}{\noindent\textbf{Abstract}~}{} |
127 | 123 |
|
128 | 124 | % The real work is done by a redefined version of |\maketitle|. Note |
129 | 125 | % that even though we do not want chapters (articles) numbered, we |
|
173 | 169 | } |
174 | 170 |
|
175 | 171 | % We want bibliographies as starred sections within articles. |
176 | | -% |
| 172 | +% |
177 | 173 | \RequirePackage[sectionbib,round]{natbib} |
178 | 174 | \bibliographystyle{abbrvnat} |
179 | 175 | \renewcommand{\bibsection}{\section*{References}} |
180 | 176 |
|
181 | 177 | % Equations, figures and tables are counted within articles, but we do |
182 | 178 | % not show the article number. For equations it becomes a bit messy to avoid |
183 | | -% having hyperref getting it wrong. |
| 179 | +% having hyperref getting it wrong. |
184 | 180 |
|
185 | 181 | % \numberwithin{equation}{chapter} |
186 | 182 | \renewcommand{\theequation}{\@arabic\c@equation} |
|
210 | 206 | \fontsize{50pt}{50pt}\selectfont |
211 | 207 | The \raisebox{-8pt}{\includegraphics[height=77pt]{Rlogo-5}}\hspace{10pt} |
212 | 208 | Journal |
213 | | - |
| 209 | + |
214 | 210 | \end{center} |
215 | 211 | {\large \hfill Volume \RJ@volume/\RJ@number, \RJ@month{} \RJ@year \quad} |
216 | 212 |
|
|
0 commit comments