]> git.lyx.org Git - lyx.git/blob - lib/layouts/RJournal.layout
baecd65561cf5e6a5fd05bdf9d132bbc0d6c39b0
[lyx.git] / lib / layouts / RJournal.layout
1 #  \DeclareLaTeXClass[report,RJournal.sty,booktabs.sty,natbib.sty]{report (R Journal)}
2
3 Format 48
4
5 Input stdclass.inc
6
7 Provides natbib-internal 1
8 Provides url             1
9
10 ClassOptions
11         Other             a4paper
12 End
13
14 DefaultModule   knitr
15
16 AddToPreamble
17         \usepackage{RJournal}
18         \usepackage[round]{natbib}
19         \bibliographystyle{abbrvnat}
20         \usepackage{booktabs}
21
22         \fancyhf{}
23         \fancyhead[LO,RE]{\textsc{Contributed Article}}
24         \fancyhead[RO,LE]{\thepage}
25         \fancyfoot[L]{The R Journal Vol. X/Y, Month, Year}
26         \fancyfoot[R]{ISSN 2073-4859}
27
28         \AtBeginDocument{%
29           \begin{article}
30         }
31
32         \AtEndDocument{%
33           \end{article}
34         }
35 EndPreamble
36
37 Style Abstract
38         Margin                First_Dynamic
39         LatexType             Command
40         InTitle               0
41         LatexName             abstract
42         LeftMargin            MMM
43         LabelIndent           MMM
44         RightMargin           MMM
45         ParIndent             MM
46         TopSep                0.7
47         BottomSep             0.7
48         Align                 Block
49         LabelType             Static
50         LabelString           "Abstract."
51         LabelSep              M
52         Font
53           Size                Small
54         EndFont
55         LabelFont
56           Shape               Smallcaps
57           Color               latex
58         EndFont
59 End
60
61 Style Address
62         Category              FrontMatter
63         Margin                Static
64         LatexType             Command
65         LatexName             address
66         ParSkip               0.4
67         BottomSep             1.5
68         ParSep                1.5
69         Align                 Left
70         AlignPossible         Block, Left, Right, Center
71         LabelType             No_Label
72 End
73
74 InsetLayout "Flex:Email"
75         LabelString           "Email"
76         LatexType             Command
77         Decoration            Classic
78         LaTexName             email
79         LyXType               Custom
80         ForcePlain            1
81         LabelFont
82           Color               latex
83         EndFont
84 End