]> git.lyx.org Git - lyx.git/blob - lib/layouts/sweave.module
Update layouts to format 25.
[lyx.git] / lib / layouts / sweave.module
1 #\DeclareLyXModule[sweave->latex]{Sweave}
2 #DescriptionBegin
3 #Allows to use the statistical language S/R as a literate programming tool.
4 #DescriptionEnd
5 #Category: literate
6
7 # Within the chunk, lines are separated by newlines (Ctrl-Return)!
8
9 # To add :
10 # - \setkeys{Gin}{width=0.8\textwidth} How to add such a "beast"? This is used to define
11 #   the size of produced plots.
12
13 Format 25
14 OutputType              literate
15 OutputFormat           sweave
16
17 Style Chunk
18         Category              Sweave
19         LatexType             Paragraph
20         LatexName             dummy
21         Margin                static
22         ParSep                0.4
23         TopSep                0.4
24         BottomSep             0.4
25         ItemSep               0.4
26         Align                 Left
27         AlignPossible         Block, Left, Right, Center
28         NewLine               0
29         FreeSpacing           1
30         PassThru              1
31         ## What is LabelType used for?
32         LabelType             Static
33         TextFont
34           Color               latex
35           Family              Typewriter
36         EndFont
37 End
38
39 Style Scrap
40         ObsoletedBy           Chunk
41 End
42
43 InsetLayout "Sweave Options"
44         LabelString           "Sweave opts"
45         LatexType             Command
46         LaTexName             SweaveOpts
47         LyXType               Custom
48         Decoration            Classic
49         Font
50           Color               latex
51           Family              typewriter
52         EndFont
53         LabelFont
54           Color               latex
55           Size                Small
56         EndFont
57         MultiPar              false
58         PassThru              true
59         FreeSpacing           true
60         ForceLTR              true
61 End
62
63 InsetLayout "S/R expression"
64         LabelString           "S/R expr"
65         LatexType             Command
66         LaTexName             Sexpr
67         LyXType               Custom
68         Decoration            Conglomerate
69         Font
70           Color               latex
71           Family              typewriter
72         EndFont
73         LabelFont
74           Color               latex
75           Size                Small
76         EndFont
77         MultiPar              false
78         PassThru              true
79         FreeSpacing           true
80         ForceLTR              true
81 End
82
83 InsetLayout "Sweave Input File"
84         LabelString           "Sweave Input File"
85         LatexType             Command
86         LaTexName             SweaveInput
87         LyXType               Custom
88         Decoration            Classic
89         Font
90           Color               latex
91           Family              typewriter
92         EndFont
93         LabelFont
94           Color               latex
95           Size                Small
96         EndFont
97         MultiPar              false
98         PassThru              true
99         FreeSpacing           true
100         ForceLTR              true
101 End