mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
9d7d7c3816
This looks more consistent with other templates to me.
86 lines
1.7 KiB
Plaintext
86 lines
1.7 KiB
Plaintext
# \DeclareLaTeXClass[report,RJournal.sty,booktabs.sty,natbib.sty]{report (R Journal)}
|
|
|
|
Format 35
|
|
|
|
Input stdclass.inc
|
|
|
|
Provides natbib-internal 1
|
|
|
|
ClassOptions
|
|
Other a4paper
|
|
End
|
|
|
|
DefaultModule knitr
|
|
|
|
AddToPreamble
|
|
\usepackage{RJournal}
|
|
\usepackage[round]{natbib}
|
|
\bibliographystyle{abbrvnat}
|
|
\usepackage{booktabs}
|
|
|
|
% use Schunk, Sinput and Soutput environments defined by RJournal
|
|
<<include=FALSE>>=
|
|
render_sweave()
|
|
set_header(highlight = '')
|
|
knit_hooks$set(document = hook_rjournal)
|
|
@
|
|
|
|
\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
|
|
|
|
InsetLayout "Flex:Address"
|
|
LabelString "Address"
|
|
LatexType Command
|
|
LaTexName address
|
|
LyXType Custom
|
|
LabelFont
|
|
Color latex
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout "Flex:Email"
|
|
LabelString "Email"
|
|
LatexType Command
|
|
LaTexName email
|
|
LyXType Custom
|
|
LabelFont
|
|
Color latex
|
|
EndFont
|
|
End
|