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