]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/RJournal.layout
Remove debugging code.
[lyx.git] / lib / layouts / RJournal.layout
index 57a5cb3def812f0c64a25e29bb9ed36ec7e828ff..43c02b411ba36ebde584abee9350811dd7666a1b 100644 (file)
@@ -1,10 +1,15 @@
-#  \DeclareLaTeXClass[report,RJournal.sty,booktabs.sty,natbib.sty]{report (R Journal)}
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[report,RJournal.sty,booktabs.sty,natbib.sty]{R Journal}
+#  \DeclareCategory{Reports}
+# Author: Yihui Xie
+# Modified by: Scott Kostyshak
 
-Format 35
+Format 60
 
 Input stdclass.inc
 
 Provides natbib-internal 1
+Provides url             1
 
 ClassOptions
        Other             a4paper
@@ -14,17 +19,8 @@ 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}
@@ -80,8 +76,10 @@ End
 InsetLayout "Flex:Email"
        LabelString           "Email"
        LatexType             Command
+       Decoration            Classic
        LaTexName             email
        LyXType               Custom
+       ForcePlain            1
        LabelFont
          Color               latex
        EndFont