2011-06-21 12:55:20 +00:00
|
|
|
#\DeclareLyXModule[sweave->latex,fancyvrb.sty]{Sweave}
|
2009-05-13 21:23:05 +00:00
|
|
|
#DescriptionBegin
|
2011-08-23 09:52:21 +00:00
|
|
|
#Allows to use the statistical language S/R as a literate programming tool via the Sweave() function.
|
2011-09-06 03:14:51 +00:00
|
|
|
#For more info see the LyX example file sweave.lyx.
|
2009-05-13 21:23:05 +00:00
|
|
|
#DescriptionEnd
|
2009-08-14 15:20:11 +00:00
|
|
|
#Category: literate
|
2011-03-30 00:32:11 +00:00
|
|
|
#Excludes: lilypond
|
2009-05-13 21:23:05 +00:00
|
|
|
|
2012-10-10 17:24:02 +00:00
|
|
|
Format 40
|
2010-04-01 21:34:22 +00:00
|
|
|
OutputType literate
|
2009-05-28 08:59:25 +00:00
|
|
|
OutputFormat sweave
|
2009-05-13 21:23:05 +00:00
|
|
|
|
2010-04-01 21:34:22 +00:00
|
|
|
ClassOptions
|
|
|
|
Other "noae"
|
|
|
|
End
|
|
|
|
|
2011-04-17 18:12:31 +00:00
|
|
|
AddToPreamble
|
2010-12-12 21:25:57 +00:00
|
|
|
<<echo=F>>=
|
2011-08-23 09:52:21 +00:00
|
|
|
if(exists(".orig.enc")) options(encoding = .orig.enc)
|
2010-12-12 21:25:57 +00:00
|
|
|
@
|
|
|
|
EndPreamble
|
|
|
|
|
2009-05-13 21:23:05 +00:00
|
|
|
Style Chunk
|
|
|
|
Category Sweave
|
|
|
|
LatexType Paragraph
|
|
|
|
LatexName dummy
|
|
|
|
Margin static
|
|
|
|
Align Left
|
|
|
|
AlignPossible Block, Left, Right, Center
|
2011-08-23 09:52:21 +00:00
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
2009-05-13 21:23:05 +00:00
|
|
|
NewLine 0
|
|
|
|
FreeSpacing 1
|
|
|
|
PassThru 1
|
2010-08-09 21:20:29 +00:00
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
## What is LabelType used for?
|
|
|
|
LabelType Static
|
|
|
|
TextFont
|
|
|
|
Color latex
|
|
|
|
Family Typewriter
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Scrap
|
|
|
|
ObsoletedBy Chunk
|
|
|
|
End
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:Sweave Options"
|
2009-05-13 21:23:05 +00:00
|
|
|
LabelString "Sweave opts"
|
|
|
|
LatexType Command
|
|
|
|
LaTexName SweaveOpts
|
|
|
|
LyXType Custom
|
|
|
|
Decoration Classic
|
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
2010-11-06 15:06:19 +00:00
|
|
|
PassThru 1
|
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
FreeSpacing true
|
|
|
|
ForceLTR true
|
|
|
|
End
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:S/R expression"
|
2009-05-13 21:23:05 +00:00
|
|
|
LabelString "S/R expr"
|
|
|
|
LatexType Command
|
|
|
|
LaTexName Sexpr
|
|
|
|
LyXType Custom
|
|
|
|
Decoration Conglomerate
|
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
2010-11-06 15:06:19 +00:00
|
|
|
PassThru 1
|
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
FreeSpacing true
|
|
|
|
ForceLTR true
|
|
|
|
End
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:Sweave Input File"
|
2009-05-13 21:23:05 +00:00
|
|
|
LabelString "Sweave Input File"
|
|
|
|
LatexType Command
|
|
|
|
LaTexName SweaveInput
|
|
|
|
LyXType Custom
|
|
|
|
Decoration Classic
|
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
2010-11-06 15:06:19 +00:00
|
|
|
PassThru 1
|
|
|
|
ParbreakIsNewline 1
|
2011-01-25 14:17:07 +00:00
|
|
|
Spellcheck 0
|
2009-05-13 21:23:05 +00:00
|
|
|
FreeSpacing true
|
|
|
|
ForceLTR true
|
|
|
|
End
|