]> git.lyx.org Git - lyx.git/blob - lib/layouts/noweb.module
Now update layout format.
[lyx.git] / lib / layouts / noweb.module
1 #\DeclareLyXModule[literate->latex,noweb.sty]{Noweb literate programming}
2 #DescriptionBegin
3 #Allows to use Noweb as a literate programming tool.
4 #DescriptionEnd
5 #Category: literate
6
7 # Suggested style to write your code:
8 # Within same scrap, lines are separated by newlines (Ctrl-Return), use:
9 #  ItemSep               0.4
10 #    . disavantage: must type ctrl-return every single line
11 #    . advantage:   looks better (IMHO)
12 #                   resembles more closely the produced paper doc (more WYSIWYG)
13 #
14
15 Format 29
16 OutputType              literate
17
18 # FIXME: Use the Chunk layout from the sweave module? 
19 Style Scrap
20         Margin                First_Dynamic
21         LatexType             Paragraph
22         LatexName             dummy
23         NewLine               0
24         LeftMargin            MMM
25         ParSep                0.4
26         TopSep                0.4
27         BottomSep             0.4
28         ItemSep               0.4
29         Align                 Left
30         AlignPossible         Block,Left
31         FreeSpacing           1
32         PassThru              1
33         ParbreakIsNewline     1
34         LabelType             Static
35         LabelFont
36           Color               magenta
37         EndFont
38         TextFont
39           Color               latex
40           Family              Typewriter
41         EndFont
42 End