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