mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
0ccde6590d
This fixes an option conflict error when using RJournal.sty v0.12 (the newest). Previous versions of the .sty also provided 'url' so they should still work with the layout.
85 lines
1.7 KiB
Plaintext
85 lines
1.7 KiB
Plaintext
# \DeclareLaTeXClass[report,RJournal.sty,booktabs.sty,natbib.sty]{report (R Journal)}
|
|
|
|
Format 48
|
|
|
|
Input stdclass.inc
|
|
|
|
Provides natbib-internal 1
|
|
Provides url 1
|
|
|
|
ClassOptions
|
|
Other a4paper
|
|
End
|
|
|
|
DefaultModule knitr
|
|
|
|
AddToPreamble
|
|
\usepackage{RJournal}
|
|
\usepackage[round]{natbib}
|
|
\bibliographystyle{abbrvnat}
|
|
\usepackage{booktabs}
|
|
|
|
\fancyhf{}
|
|
\fancyhead[LO,RE]{\textsc{Contributed Article}}
|
|
\fancyhead[RO,LE]{\thepage}
|
|
\fancyfoot[L]{The R Journal Vol. X/Y, Month, Year}
|
|
\fancyfoot[R]{ISSN 2073-4859}
|
|
|
|
\AtBeginDocument{%
|
|
\begin{article}
|
|
}
|
|
|
|
\AtEndDocument{%
|
|
\end{article}
|
|
}
|
|
EndPreamble
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LatexType Command
|
|
InTitle 0
|
|
LatexName abstract
|
|
LeftMargin MMM
|
|
LabelIndent MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Abstract."
|
|
LabelSep M
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Shape Smallcaps
|
|
Color latex
|
|
EndFont
|
|
End
|
|
|
|
Style Address
|
|
Category FrontMatter
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName address
|
|
ParSkip 0.4
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
InsetLayout "Flex:Email"
|
|
LabelString "Email"
|
|
LatexType Command
|
|
Decoration Classic
|
|
LaTexName email
|
|
LyXType Custom
|
|
ForcePlain 1
|
|
LabelFont
|
|
Color latex
|
|
EndFont
|
|
End
|