File tree 5 files changed +20
-2
lines changed
5 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,16 @@ format:
47
47
` ` `
48
48
49
49
You can view a preview of the rendered template at <https://mike.quarto.pub/quarto-arxiv-template/>.
50
+
51
+ This template provides a few custom YAML header options to control the PDF output:
52
+
53
+ ` ` ` yaml
54
+ linenumbers : false # Add (continuous) line numbers?
55
+ doublespacing : false # Double space the PDF output?
56
+ runninghead : " A Preprint" # The text on the top of each page of the output
57
+ ` ` `
58
+
59
+ Both ` linenumbers` and `doublespacing` are booleans, defaulting to `false`,
60
+ and were added in version 0.2.0. `runninghead` can be any text and was added
61
+ in version 0.2.1. You can define these either as top-level options, or under
62
+ ` arxiv-pdf` ; they only impact the generated PDF.
Original file line number Diff line number Diff line change 1
1
title : ArXiv Template
2
2
author : Mike Mahoney
3
- version : 0.2.0
3
+ version : 0.2.1
4
4
contributes :
5
5
formats :
6
6
common :
Original file line number Diff line number Diff line change 29
29
\pagestyle {fancy}
30
30
\renewcommand {\headrulewidth }{0pt}
31
31
\fancyheadoffset {0pt}
32
- \rhead {\scshape A preprint - \today }
32
+ \rhead {\scshape \runninghead - \today }
33
33
\cfoot {\thepage }
34
34
35
35
% font sizes with reduced leading
Original file line number Diff line number Diff line change 16
16
$ if(date)$
17
17
\renewcommand {\today }{$ date$ }
18
18
$ endif$
19
+ \newcommand {\runninghead }{A Preprint }
20
+ $ if(runninghead)$
21
+ \renewcommand {\runninghead }{$ runninghead$ }
22
+ $ endif$
19
23
$ if(title)$
20
24
\title {$ title$ $ if(thanks)$ \thanks {$ thanks$ }$ endif$ }
21
25
$ endif$
Original file line number Diff line number Diff line change 5
5
keep-tex : true
6
6
linenumbers : false
7
7
doublespacing : false
8
+ runninghead : " A Preprint"
8
9
arxiv-html : default
9
10
author :
10
11
- name : Michael J Mahoney
You can’t perform that action at this time.
0 commit comments