]> git.lyx.org Git - lyx.git/blob - lib/layouts/todonotes.module
Typos.
[lyx.git] / lib / layouts / todonotes.module
1 #\DeclareLyXModule[todonotes.sty]{TODO Notes}
2 #DescriptionBegin
3 #Provides custom insets to insert TODO items in your document
4 #(using the todonotes package). In order to generate a 'List of TODOs',
5 #the module provides a paragraph style.
6 #DescriptionEnd
7
8 # Authors: Stephen <stephen4mailinglists@googlemail.com>
9 #          Jürgen Spitzmüller <spitz@lyx.org>
10
11 Format 48
12
13 #
14 # List of TODOs
15 #
16
17 Style List_of_TODOs
18         KeepEmpty       1
19         LatexType       Command
20         LatexName       listoftodos
21         Margin          First_Dynamic
22         NextNoIndent    1
23         ParSkip         0
24         TopSep          0
25         BottomSep       0.25
26         ParSep          0
27         Align           Center
28         LabelType       Static
29         LabelBottomSep  0
30         LeftMargin      MMMMM
31         LabelString     "[List of TODOs]"
32
33         LabelFont
34             Family      typewriter
35             Series      Medium
36             Size        Small
37             Color       latex
38         EndFont
39
40         Argument 1
41                 LabelString     "Heading"
42                 MenuString      "List of TODOs Heading|s"
43                 Tooltip         "Enter a custom header for the List of TODOs here"
44         EndArgument
45         Requires        todonotes
46 End
47
48
49 #
50 # TODO Notes
51 #
52
53 InsetLayout Flex:TODO_Note_(Margin)
54         LyxType         custom
55         LabelString     "TODO (Margin)"
56         Decoration      classic
57         BgColor         blue
58         Font
59             Color       yellow
60             Family      Typewriter
61         EndFont
62         LabelFont
63             Color       blue
64             Family      Sans
65             Size        Small
66         EndFont
67         MultiPar        true
68         LatexType       command
69         LatexName       todo
70         Argument 1
71                 LabelString     "Options"
72                 MenuString      "TODO Note Options|s"
73                 Tooltip         "See the todonotes manual for possible options"
74         EndArgument
75         Requires        todonotes
76 End
77
78
79 InsetLayout Flex:TODO_Note_(inline)
80         CopyStyle       Flex:TODO_Note_(Margin)
81         LabelString     "TODO (Inline)"
82         Argument 1
83                 LabelString     "Options"
84                 MenuString      "TODO Note Options|s"
85                 PresetArg       inline
86         EndArgument
87 End
88
89
90 #
91 # Specific Notes
92 #
93
94 InsetLayout Flex:Missing_Figure
95         CopyStyle       Flex:TODO_Note_(Margin)
96         LabelString     "Missing Figure"
97         MultiPar        false
98         LatexName       missingfigure
99         Argument 1
100                 LabelString     "Options"
101                 MenuString      "Missing Figure Note Options|s"
102                 Tooltip         "See the todonotes manual for possible options"
103         EndArgument
104 End
105
106
107 #
108 # Backwards compatibility to user-provided
109 # modules on the LyX wiki
110 #
111 # FIXME: uncomment these when #9000 is fixed.
112
113 #InsetLayout TODO
114 #       ObsoletedBy           Flex:TODO_Note_(Margin)
115 #End
116 #
117 #InsetLayout MakeTableOfToDos
118 #       ObsoletedBy           List_of_TODOs
119 #End
120 #
121 #InsetLayout Todo[Inline]
122 #       ObsoletedBy           Flex:TODO_Note_(inline)
123 #End
124 #
125 #InsetLayout Todo[margin]
126 #       ObsoletedBy           Flex:TODO_Note_(Margin)
127 #End
128 #
129 #InsetLayout MissingFigure
130 #       ObsoletedBy           Flex:Missing_Figure
131 #End
132