]> git.lyx.org Git - lyx.git/blob - lib/layouts/RJournal.layout
6f11bc0f7396027ad3ea3fc264cf5a22bffffaba
[lyx.git] / lib / layouts / RJournal.layout
1 #  \DeclareLaTeXClass[report,RJournal.sty,booktabs.sty,natbib.sty]{report (R Journal)}
2
3 Format 35
4
5 Input stdclass.inc
6
7 Provides natbib-internal 1
8
9 ClassOptions
10         Other             a4paper
11 End
12
13 DefaultModule   knitr
14
15 AddToPreamble
16         \usepackage{RJournal}
17         \usepackage[round]{natbib}
18         \bibliographystyle{abbrvnat}
19         \usepackage{booktabs}
20
21         % use Schunk, Sinput and Soutput environments defined by RJournal
22         <<include=FALSE>>=
23         render_sweave()
24         set_header(highlight = '')
25         knit_hooks$set(document = hook_rjournal)
26         @
27
28         \fancyhf{}
29         \fancyhead[LO,RE]{\textsc{Contributed Article}}
30         \fancyhead[RO,LE]{\thepage}
31         \fancyfoot[L]{The R Journal Vol. X/Y, Month, Year}
32         \fancyfoot[R]{ISSN 2073-4859}
33 EndPreamble
34
35 InsetLayout "Flex:Abstract"
36         LabelString           "Abstract"
37         LatexType             Command
38         LaTexName             abstract
39         LyXType               Custom
40         LabelFont
41           Color               latex
42         EndFont
43 End
44
45 InsetLayout "Flex:Address"
46         LabelString           "Address"
47         LatexType             Command
48         LaTexName             address
49         LyXType               Custom
50         LabelFont
51           Color               latex
52         EndFont
53 End
54
55 InsetLayout "Flex:Email"
56         LabelString           "Email"
57         LatexType             Command
58         LaTexName             email
59         LyXType               Custom
60         LabelFont
61           Color               latex
62         EndFont
63 End