]> git.lyx.org Git - lyx.git/blob - lib/layouts/RJournal.layout
19e49b644dff027f66caa00910957a025d99bd0b
[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         \fancyhf{}
22         \fancyhead[LO,RE]{\textsc{Contributed Article}}
23         \fancyhead[RO,LE]{\thepage}
24         \fancyfoot[L]{The R Journal Vol. X/Y, Month, Year}
25         \fancyfoot[R]{ISSN 2073-4859}
26
27         \AtBeginDocument{%
28           \begin{article}
29         }
30
31         \AtEndDocument{%
32           \end{article}
33         }
34 EndPreamble
35
36 Style Abstract
37         Margin                First_Dynamic
38         LatexType             Command
39         InTitle               0
40         LatexName             abstract
41         LeftMargin            MMM
42         LabelIndent           MMM
43         RightMargin           MMM
44         ParIndent             MM
45         TopSep                0.7
46         BottomSep             0.7
47         Align                 Block
48         LabelType             Static
49         LabelString           "Abstract."
50         LabelSep              M
51         Font
52           Size                Small
53         EndFont
54         LabelFont
55           Shape               Smallcaps
56           Color               latex
57         EndFont
58 End
59
60 Style Address
61         Category              FrontMatter
62         Margin                Static
63         LatexType             Command
64         LatexName             address
65         ParSkip               0.4
66         BottomSep             1.5
67         ParSep                1.5
68         Align                 Left
69         AlignPossible         Block, Left, Right, Center
70         LabelType             No_Label
71 End
72
73 InsetLayout "Flex:Email"
74         LabelString           "Email"
75         LatexType             Command
76         Decoration            Classic
77         LaTexName             email
78         LyXType               Custom
79         ForcePlain            1
80         LabelFont
81           Color               latex
82         EndFont
83 End